1 2004-11-24 Michael Koch <konqueror@gmx.de>
3 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
4 * java/nio/DirectByteBufferImpl.java:
5 Moved native methods to java.nio.VMDirectByteBuffer class.
6 * java/nio/MappedByteBufferImpl.java:
7 Use native methods from java.nio.VMDirectByteBuffer class.
8 * java/nio/VMDirectByteBuffer.java: New file,
9 * java/nio/natDirectByteBufferImpl.cc:
10 Moved all methods into java.nio.VMDirectByteBuffer class.
11 * java/nio/channels/spi/AbstractSelectableChannel.java
12 (register): Only re-use valid keys.
13 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
14 * Makefile.in: Regenerated.
16 2004-11-24 Michael Koch <konqueror@gmx.de>
18 * java/nio/DirectByteBufferImpl.java,
19 java/nio/MappedByteBufferImpl.java:
22 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
24 * testsuite/lib/libjava.exp,
25 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
27 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
29 * configure.host: Enable the interpreter for mips*-*-linux*.
31 2004-11-23 Michael Koch <konqueror@gmx.de>
33 * java/lang/String.java (rehash): Removed.
34 * java/lang/natString.cc (rehash): Made static.
35 (_Jv_NewStringUtf8Const): Use static rehash method.
37 2004-11-23 Michael Koch <konqueror@gmx.de>
39 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
40 include/Makefile.in, testsuite/Makefile.in: Regenerated.
42 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
45 * configure.ac (threading): Accept 'posix95'.
46 * configure: Regenerate.
48 2004-11-22 Michael Koch <konqueror@gmx.de>
50 * gnu/java/nio/SocketChannelImpl.java
51 (read): Made check for blocking un-ambiguous.
52 Removed wrong check for data array length.
54 2004-11-21 Michael Koch <konqueror@gmx.de>
56 * gnu/java/nio/SocketChannelImpl.java
57 (read): Only return 0 when no bytes for reading available in
59 * java/nio/channels/SocketChannel.java:
60 Added some missing @return tags.
62 2004-11-21 Michael Koch <konqueror@gmx.de>
64 * java/beans/PropertyChangeSupport.java
65 (propertyChangeSupportSerializedDataVersion): Made static.
66 * java/beans/VetoableChangeSupport.java
67 (propertyChangeSupportSerializedDataVersion): Likewise.
69 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
71 * java/net/URLStreamHandler.java
72 (parseURL): Fixed file path canonicalisation.
74 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
76 * java/net/URLStreamHandler.java
77 (parseURL): Fixed file path canonicalisation.
79 2004-11-18 Michael Koch <konqueror@gmx.de>
81 * java/net/URLClassLoader.java: Whitespace cleanup.
83 2004-11-18 Robert Schuster <address@bogus.example.com>
86 * java/beans/PropertyDescriptor.java:
87 (setReadMethod): New method
88 (setWriteMethod): New method
89 (equals): Implemented (1.4)
90 (checkMethods): operates on arguments now (private)
93 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
95 * java/net/Inet6Address.java (getHostAddress): Fix textual
96 representation of IPv6 address with embedded zeroes
97 to conform to RFC 2373.
99 2004-11-18 Jeroen Frijters <address@bogus.example.com>
101 * java/lang/StackTraceElement.java: Made final.
102 * java/nio/channels/Channels.java: Added private constructor.
103 * java/rmi/Naming.java: Added private constructor.
104 * java/rmi/registry/LocateRegistry.java: Added private constructor.
105 * java/rmi/server/RMIClassLoader.java: Added private constructor.
106 * java/security/KeyPairGeneratorSpi.java
107 (clone): Made protected and simplified implementation.
108 * java/text/DateFormat.java
109 (allFields): Made package accessible.
110 * java/text/DecimalFormat.java
111 (formatInternal): Made private.
112 * java/text/Format.java
113 (formatInternal): Made private.
114 * java/util/logging/Handler.java: Made constructor protected.
115 * java/util/regex/Matcher.java: Made final.
116 * java/util/regex/Pattern.java: Made final.
117 * javax/crypto/CipherInputStream.java
118 (mark): Corrected mark parameter type (from long to int).
119 * javax/crypto/ExemptionMechanism.java
121 * javax/crypto/Mac.java
122 (getMacLength): Made final.
124 * javax/imageio/ImageIO.java: Added private constructor.
125 * javax/imageio/stream/ImageInputStreamImpl.java
126 (checkClosed): Made final.
127 * javax/net/ssl/SSLPermission.java: Made final.
128 * javax/print/DocFlavor.java
129 (hostEncoding): Added work-around to prevent the field from being
130 a compile time constant.
131 * javax/print/attribute/AttributeSetUtilities.java: Added private
133 (UnmodifiableDocAttributeSet): Made private.
134 (UnmodifiablePrintJobAttributeSet): Made private.
135 (UnmodifiablePrintRequestAttributeSet): Made private.
136 (UnmodifiablePrintServiceAttributeSet): Made private.
137 (SynchronizedAttributeSet): Made private.
138 (SynchronizedDocAttributeSet): Made private.
139 (SynchronizedPrintJobAttributeSet): Made private.
140 (SynchronizedPrintRequestAttributeSet): Made private.
141 (SynchronizedPrintServiceAttributeSet): Made private.
142 * javax/security/auth/PrivateCredentialPermission.java: Made final.
144 2004-11-18 Craig Black <craig.black@aonix.com>
146 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
148 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
150 * Makefile.am: Correct friend function declaration.
151 * Makefile.in: Regenerated.
152 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
153 scope to function names. Declare functions directly.
154 * libjava/java/lang/Class.h
155 (java::lang::Class): Correct friend class declaration.
156 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
158 * libjava/java/lang/Class.h
159 (java::lang::Object): Correct friend class declaration.
161 2004-11-17 David Daney <ddaney@avtrex.com>
163 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
165 2004-11-17 Michael Koch <konqueror@gmx.de>
167 * java/net/Socket.java (getPort): Return 0 in error case.
169 2004-11-17 Michael Koch <konqueror@gmx.de>
171 * java/nio/DirectByteBufferImpl.java
172 (owner): Updated comment.
173 (allocate): New method.
175 2004-11-17 Michael Koch <konqueror@gmx.de>
177 * java/net/URL.java (URL): Handle case when argument is null.
179 2004-11-17 Michael Koch <konqueror@gmx.de>
181 * java/beans/Beans.java,
182 java/beans/PropertyChangeEvent.java,
183 java/beans/PropertyEditorSupport.java:
186 2004-11-17 Michael Koch <konqueror@gmx.de>
188 * java/util/Timer.java (DEFAULT_SIZE): Made static.
190 2004-11-17 Michael Koch <konqueror@gmx.de>
192 * java/net/InetAddress.java (getCanonicalHostName):
193 Support IPv6 addresses.
195 2004-11-16 Michael Koch <konqueror@gmx.de>
197 * java/lang/Object.java: Added javadocs all over (merged from GNU
200 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
202 * java/security/Security.java (Security): Silence the warning about no
203 providers found in the no debug case.
205 2004-11-16 Michael Koch <konqueror@gmx.de>
207 * java/net/InetAddress.java
208 (toString): Merged from GNU classpath.
210 2004-11-16 Michael Koch <konqueror@gmx.de>
212 * java/awt/geom/doc-files/Area-1.png,
213 java/awt/geom/doc-files/Ellipse-1.png,
214 java/awt/geom/doc-files/GeneralPath-1.png:
217 2004-11-16 Michael Koch <konqueror@gmx.de>
219 * java/util/Currency.java (cache): Fix modifier order.
221 2004-11-16 Michael Koch <konqueror@gmx.de>
223 * java/io/BufferedReader.java,
224 java/io/FileInputStream.java,
225 java/io/FileOutputStream.java,
226 java/io/FileWriter.java,
227 java/io/OutputStreamWriter.java,
228 java/io/PipedInputStream.java,
229 java/io/PipedOutputStream.java,
230 java/io/PipedReader.java,
231 java/io/PipedWriter.java,
232 java/io/PrintStream.java,
233 java/io/PushbackInputStream.java,
234 java/io/RandomAccessFile.java,
236 java/io/StreamTokenizer.java,
237 java/io/StringReader.java,
238 java/net/NetworkInterface.java,
239 java/net/URLClassLoader.java,
240 java/nio/ByteOrder.java,
241 java/nio/channels/Channel.java:
242 Fixed javadocs all over.
244 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
246 * Makefile.am: Add imported files.
247 * Makefile.in: Regenerate.
249 2004-10-24 Casey Marshall <csm@gnu.org>
251 * javax/security/auth/login/LoginContext.java: Implemented.
252 * javax/security/auth/login/Configuration.java (getConfig): New method.
253 * javax/security/auth/spi/LoginModule.java,
254 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
256 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
258 Import/Merge the X.509 certificate code from Classpath.
260 * Makefile.am: Add imported files.
261 * Makefile.in: Regenerate.
263 2004-11-07 Casey Marshall <csm@gnu.org>
265 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
266 priviliged action. Add new algorithms.
267 * gnu/java/security/provider/X509CertificateFactory.java
268 (engineGenerateCertificate): Chain exceptions.
269 (engineGenerateCertificates): Likewise.
270 (engineGenerateCRL): Likewise.
271 (engineGenerateCRLs): Likewise.
272 (engineGenerateCertPath): New methods.
273 (generateCert): Throw exception if 'inStream' is null.
274 (generateCRL): Likewise.
275 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
276 version from GNU Crypto CVS.
277 * gnu/java/security/x509/X509CRL.java: Likewise.
278 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
279 * gnu/java/security/x509/X509Certificate.java: Likewise.
280 * java/security/cert/TrustAnchor.java: Call 'toString' and not
282 * gnu/java/security/provider/CollectionCertStoreImpl.java,
283 * gnu/java/security/provider/EncodedKeyFactory.java,
284 * gnu/java/security/provider/GnuDHPublicKey.java,
285 * gnu/java/security/provider/GnuRSAPrivateKey.java,
286 * gnu/java/security/provider/GnuRSAPublicKey.java,
287 * gnu/java/security/provider/MD2withRSA.java,
288 * gnu/java/security/provider/MD4withRSA.java,
289 * gnu/java/security/provider/MD5withRSA.java,
290 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
291 * gnu/java/security/provider/RSA.java,
292 * gnu/java/security/provider/RSAKeyFactory.java,
293 * gnu/java/security/provider/SHA1withRSA.java,
294 * gnu/java/security/x509/GnuPKIExtension.java,
295 * gnu/java/security/x509/PolicyNodeImpl.java,
296 * gnu/java/security/x509/Util.java,
297 * gnu/java/security/x509/X509CRLSelectorImpl.java,
298 * gnu/java/security/x509/X509CertPath.java,
299 * gnu/java/security/x509/X509CertSelectorImpl.java,
300 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
301 * gnu/java/security/x509/ext/BasicConstraints.java,
302 * gnu/java/security/x509/ext/CRLNumber.java,
303 * gnu/java/security/x509/ext/CertificatePolicies.java,
304 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
305 * gnu/java/security/x509/ext/Extension.java,
306 * gnu/java/security/x509/ext/GeneralNames.java,
307 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
308 * gnu/java/security/x509/ext/KeyUsage.java,
309 * gnu/java/security/x509/ext/PolicyConstraint.java,
310 * gnu/java/security/x509/ext/PolicyMappings.java,
311 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
312 * gnu/java/security/x509/ext/ReasonCode.java,
313 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
314 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
316 2004-11-07 Casey Marshall <csm@gnu.org>
318 * gnu/java/security/x509/X509CRL.java:
319 Missed import statements in previous checkin.
321 2004-11-07 Casey Marshall <csm@gnu.org>
323 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
324 to 'X509CertificateImpl' from previous checkin.
326 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
329 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
331 2004-11-11 Casey Marshall <csm@gnu.org>
333 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
335 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
336 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
338 2004-11-11 Robert Schuster <thebohemian@gmx.net>
341 * gnu/java/beans/IntrospectionIncubator.java:
342 (addMethod): Corrected classification of normal and property methods.
343 (capitalize): Added documentation.
344 (DoubleKey): [class] Added documentation.
346 2004-11-09 Tom Tromey <tromey@redhat.com>
348 * include/jni.h: Added FIXME.
350 2004-11-08 Tom Tromey <tromey@redhat.com>
352 * java/util/GregorianCalendar.java: Removed unused imports.
353 * java/util/Vector.java: Removed unused import.
355 2004-11-07 Michael Koch <konqueror@gmx.de>
357 * java/lang/Process.java:
360 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
362 * java/util/zip/ZipEntry.java
363 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
365 2004-11-07 Robert Schuster <theBohemian@gmx.net>
368 * gnu/java/beans/IntrospectionIncubator.java:
369 (addMethod): static methods are discarded now, too.
371 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
373 * java/util/GregorianCalendar.java
374 Added/amended documentation.
376 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
378 * java/util/Collections.java
380 * java/util/SortedMap.java
381 Clarified some method examples.
382 * java/util/SortedSet.java
383 Clarified some method examples.
385 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
387 * java/util/Currency.java
388 Documented variables and methods more fully.
389 Caches the currency instances, so that a request
390 for a locale, l, only ever returns the same
391 instance (i.e. successive calls to getInstance(l)
392 are reference equivalent (==)).
394 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
396 * java/util/Date.java
397 Added missing documentation.
399 2004-11-06 Michael Koch <konqueror@gmx.de>
401 * java/util/zip/CheckedInputStream.java,
402 java/util/zip/InflaterInputStream.java,
403 java/util/zip/ZipFile.java,
404 java/util/zip/ZipInputStream.java:
407 2004-11-06 Tom Tromey <tromey@redhat.com>
409 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
411 (connections): Likewise.
412 (scavenger): Likewise.
413 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
415 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
418 * gnu/classpath/ServiceFactory.java (log): Now package-private.
420 2004-11-06 Tom Tromey <tromey@redhat.com>
422 * javax/naming/directory/BasicAttributes.java (attributes): Now
424 * javax/imageio/spi/ServiceRegistry.java (categories): Now
427 2004-11-06 Tom Tromey <tromey@redhat.com>
429 * java/net/URLClassLoader.java (URLClassLoader): Now
431 * java/nio/charset/CoderResult.java (CoderResult): Now
434 (Cache): Likewise. Don't synchronize on `this'.
435 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
437 * java/util/TimeZone.java (timezones): Now package-private.
439 2004-11-06 Tom Tromey <tromey@redhat.com>
441 * java/security/Permissions.java (perms): Now package-private.
442 * java/security/UnresolvedPermission.java (permissions): Now
445 2004-11-06 Tom Tromey <tromey@redhat.com>
447 * java/io/FilePermission.java: Reindented.
449 2004-11-06 Tom Tromey <tromey@redhat.com>
451 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
453 (setBlockDataMode): Likewise.
455 2004-11-06 Tom Tromey <tromey@redhat.com>
457 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
460 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
462 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
466 2004-11-06 Mark Wielaard <mark@klomp.org>
468 * Makefile.am: Add new javax.imageio files.
469 * Makefile.in: Regenerated.
471 2004-11-06 Michael Koch <konqueror@gmx.de>
473 * javax/imageio/event/IIOReadProgressListener.java,
474 javax/imageio/event/IIOReadUpdateListener.java,
475 javax/imageio/event/IIOReadWarningListener.java,
476 javax/imageio/event/IIOWriteProgressListener.java,
477 javax/imageio/event/IIOWriteWarningListener.java,
478 javax/imageio/metadata/IIOMetadataFormat.java,
479 javax/imageio/stream/FileCacheImageInputStream.java,
480 javax/imageio/stream/FileCacheImageOutputStream.java,
481 javax/imageio/stream/ImageInputStreamImpl.java:
483 * javax/imageio/metadata/package.html: New file.
485 2004-11-06 Michael Koch <konqueror@gmx.de>
487 * javax/imageio/spi/ImageReaderSpi.java
488 (isOwnReader): New method.
489 * javax/imageio/spi/ImageWriterSpi.java
490 (isOwnWriter): Likewise.
492 2004-11-06 Michael Koch <konqueror@gmx.de>
494 * javax/imageio/ImageWriter.java
495 (convertImageMetadata): New abstract method.
496 (convertStreamMetadata): Likewise.
498 * javax/imageio/stream/FileCacheImageInputStream.java
499 (close): Fixed setting of stream to null.
500 (checkStreamClosed): Throws IOException.
502 2004-11-06 Michael Koch <konqueror@gmx.de>
504 * javax/imageio/stream/FileCacheImageInputStream.java,
505 javax/imageio/stream/FileCacheImageOutputStream.java,
506 javax/imageio/stream/FileImageInputStream.java,
507 javax/imageio/stream/FileImageOutputStream.java,
508 javax/imageio/stream/MemoryCacheImageInputStream.java,
509 javax/imageio/stream/MemoryCacheImageOutputStream.java:
512 2004-11-06 Michael Koch <konqueror@gmx.de>
514 * javax/imageio/metadata/IIOInvalidTreeException.java,
515 javax/imageio/metadata/IIOMetadataFormatImpl.java,
516 javax/imageio/metadata/IIOMetadataNode.java:
519 2004-11-06 Michael Koch <konqueror@gmx.de>
521 * javax/imageio/stream/ImageInputStreamImpl.java,
522 javax/imageio/stream/ImageOutputStreamImpl.java:
525 2004-11-06 Michael Koch <konqueror@gmx.de>
527 * javax/imageio/ImageIO.java:
528 Added much new methods.
530 2004-11-06 Michael Koch <konqueror@gmx.de>
532 * javax/imageio/ImageReader.java,
533 javax/imageio/ImageWriter.java,
534 javax/imageio/spi/ImageWriterSpi.java:
535 Add SOME new methods.
537 2004-11-06 Michael Koch <konqueror@gmx.de>
539 * javax/imageio/IIOParam.java,
540 javax/imageio/ImageReadParam.java,
541 javax/imageio/ImageReader.java,
542 javax/imageio/ImageWriter.java:
544 * javax/imageio/spi/ImageReaderSpi.java,
545 javax/imageio/spi/ImageWriterSpi.java:
548 2004-11-06 Michael Koch <konqueror@gmx.de>
550 * javax/imageio/ImageWriteParam.java,
551 javax/imageio/metadata/IIOMetadataFormat.java:
554 2004-11-06 Michael Koch <konqueror@gmx.de>
556 * javax/imageio/ImageTypeSpecifier.java:
559 2004-11-06 Michael Koch <konqueror@gmx.de>
561 * javax/imageio/metadata/IIOMetadata.java:
564 2004-11-06 Michael Koch <konqueror@gmx.de>
566 * javax/imageio/IIOImage.java,
567 javax/imageio/ImageReadParam.java,
568 javax/imageio/metadata/IIOMetadataController.java,
569 javax/imageio/metadata/IIOMetadataFormat.java:
571 * javax/imageio/stream/ImageOutputStream.java:
574 2004-11-06 Michael Koch <konqueror@gmx.de>
576 * javax/imageio/IIOParam.java,
577 javax/imageio/IIOParamController.java,
578 javax/imageio/ImageTypeSpecifier.java,
579 javax/imageio/ImageWriteParam.java,
580 javax/imageio/metadata/IIOMetadata.java:
582 * javax/imageio/ImageTranscoder.java:
585 2004-11-06 Michael Koch <konqueror@gmx.de>
587 * javax/imageio/spi/ImageInputStreamSpi.java,
588 javax/imageio/spi/ImageOutputStreamSpi.java:
589 Reworked import startments.
590 * javax/imageio/spi/ServiceRegistry.java:
591 Reworked import startments. Fixed XHTML in javadocs.
592 (ServiceRegistry): Added @param tag to javadoc.
593 * javax/imageio/stream/ImageInputStream.java
594 (mark): Doesn't throws IOException;
596 2004-11-06 Michael Koch <konqueror@gmx.de>
598 * javax/imageio/ImageIO.java:
601 2004-11-06 Michael Koch <konqueror@gmx.de>
603 * javax/imageio/spi/IIORegistry.java
604 (static): Don't register ImageReaderSpi.class and
605 ImageWriterSpi.class yet.
607 2004-11-06 Michael Koch <konqueror@gmx.de>
609 * javax/imageio/spi/IIORegistry.java:
612 2004-11-06 Noa Resare <noa@resare.com>
614 * java/net/Socket.java (getPort): Return 0 instead of -1 on
617 2004-11-06 Michael Koch <konqueror@gmx.de>
619 * java/lang/StringBuffer.java,
620 java/lang/Throwable.java,
621 java/security/spec/DSAParameterSpec.java,
622 java/util/zip/ZipEntry.java,
623 java/util/zip/ZipFile.java,
624 java/util/zip/ZipInputStream.java,
625 java/util/zip/ZipOutputStream.java:
626 Removed redundant and reordered modifiers.
628 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
630 * java/io/Vector.java
631 (writeObject): New function to serialized output thread safe.
633 * java/io/ObjectOutputStream.java
634 (writeObject): Move the assignment of the class handle to after
635 the assignment of class descriptor handle.
637 2004-11-06 Robert Schuster <thebohemian@gmx.net>
639 Fixes documentation and indentation
640 * java/beans/PropertyEditorSupport.java:
641 reworked initial API doc
642 (value): changed name from val
644 2004-11-06 Robert Schuster <thebohemian@gmx.net>
647 * java/beans/PropertyEditorSupport.java
648 (PropertyEditorSupport()): Changed modifier to public
649 (PropertyEditorSupport(Object): Changed modifier to public
650 (setSource): New method
651 (getSource): New method
653 2004-11-06 Robert Schuster <thebohemian@gmx.net>
656 * java/beans/PropertyEditorSupport.java
657 (setValue): Fire property change event
659 2004-11-03 Tom Tromey <tromey@redhat.com>
661 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
662 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
663 returns jobjectArray.
664 (_Jv_JNIEnv::NewObjectArray): Likewise.
666 2004-11-01 Tom Tromey <tromey@redhat.com>
668 * verify.cc (state::check_no_uninitialized_objects): Removed.
669 (push_jump): Updated.
670 (push_exception_jump): Likewise.
671 (handle_ret_insn): Likewise.
672 (handle_jsr_insn): Likewise.
674 2004-10-30 Mark Wielaard <mark@klomp.org>
677 * java/lang/Runtime.java (static): Call init().
678 (Runtime): Remove call to init().
681 2004-10-28 David Daney <ddaney@avtrex.com>
683 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
684 * Makefile.am: Build it.
685 * Makefile.in: Regenerate.
687 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
690 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
692 * Makefile.in: Regenerate.
693 * configure: Regenerate.
694 * configure.ac (CLASSPATH_SEPARATOR): Define.
695 * gcj/Makefile.in: Regenerate.
696 * include/Makefile.in: Regenerate.
697 * testsuite/Makefile.in: Regenerate.
698 * testsuite/lib/libjava.exp (libjava_arguments): Fix
699 CLASSPATH separator handling for Windows.
701 2004-10-26 Michael Koch <konqueror@gmx.de>
703 * gnu/java/net/protocol/http/Connection.java
704 (getOutputStream): Implicitely switch to POST method.
706 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
708 * libjava/java/lang/Class.h
709 (java::lang::Class): Correct friend class declaration.
711 2004-10-25 Geoffrey Keating <geoffk@apple.com>
713 * Makefile.am (DARWIN_CRT_SRC): New.
714 (libgcj_la_SOURCES): Use it.
715 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
716 * darwin.cc: New file.
717 * include/jvm.h (_Jv_RegisterClasses): Constify.
718 (_Jv_RegisterClasses_Counted): New prototype.
719 * java/lang/Class.h: Include stddef.h.
720 (_Jv_RegisterClasses): Constify.
721 (_Jv_RegisterClasses_Counted): New prototype.
722 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
723 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
724 (_Jv_RegisterClasses_Counted): New function.
725 * configure: Regenerate.
726 * Makefile.in: Regenerate.
727 * gcj/Makefile.in: Regenerate.
728 * include/Makefile.in: Regenerate.
729 * testsuite/Makefile.in: Regenerate.
731 2004-10-25 Tom Tromey <tromey@redhat.com>
733 * java/util/ResourceBundle.java (tryBundle): Use
734 Class.isAssignableFrom rather than catching ClassCastException.
736 2004-10-25 Tom Tromey <tromey@redhat.com>
738 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
740 * gnu/java/text/SentenceBreakIterator.java
741 (SentenceBreakIterator): Don't initialize `iter'.
742 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
744 * gnu/java/text/CharacterBreakIterator.java
745 (CharacterBreakIterator): Don't initialize `iter'.
746 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
748 * java/text/BreakIterator.java: Updated documentation.
750 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
753 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
755 2004-10-23 Michael Koch <konqueror@gmx.de>
757 * javax/print/DocFlavor.java,
758 javax/print/attribute/standard/JobStateReason.java,
759 javax/print/attribute/standard/MultipleDocumentHandling.java:
760 Added missing constants.
762 2004-10-22 Tom Tromey <tromey@redhat.com>
764 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
767 2004-10-22 Michael Koch <konqueror@gmx.de>
770 * gnu/java/net/protocol/http/Connection.java
771 (sendRequest): Handle case when url.getFile() returns an empty string.
773 2004-10-22 Michael Koch <konqueror@gmx.de>
775 * java/lang/Math.java,
776 java/lang/StackTraceElement.java,
777 java/nio/Buffer.java,
778 java/nio/ByteBuffer.java,
779 java/nio/CharBuffer.java,
780 java/nio/DoubleBuffer.java,
781 java/nio/FloatBuffer.java,
782 java/nio/IntBuffer.java,
783 java/nio/LongBuffer.java,
784 java/nio/ShortBuffer.java,
785 java/nio/charset/Charset.java,
786 java/rmi/server/RMIClassLoader.java,
787 java/rmi/server/RMISocketFactory.java,
788 java/security/Policy.java,
789 java/text/ChoiceFormat.java,
790 java/text/CollationElementIterator.java,
791 java/text/DateFormat.java,
792 java/text/DecimalFormat.java,
793 java/text/DecimalFormatSymbols.java,
794 java/text/MessageFormat.java,
795 java/text/NumberFormat.java,
796 java/text/RuleBasedCollator.java,
797 java/text/SimpleDateFormat.java,
798 java/util/BitSet.java,
799 java/util/Calendar.java,
800 java/util/Collections.java,
801 java/util/IdentityHashMap.java,
802 java/util/Locale.java,
803 java/util/TreeMap.java,
804 java/util/logging/LogRecord.java,
805 java/util/logging/XMLFormatter.java,
806 java/util/prefs/AbstractPreferences.java,
807 java/util/prefs/Preferences.java,
808 javax/crypto/interfaces/DHPrivateKey.java,
809 javax/crypto/interfaces/DHPublicKey.java,
810 javax/crypto/interfaces/PBEKey.java,
811 javax/net/ssl/HandshakeCompletedEvent.java,
812 javax/security/auth/Subject.java:
813 Removed redundant and reordered modifiers.
815 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
817 * gnu/java/net/natPlainSocketImplPosix.cc
818 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
819 with 'int *' argument instead of 'long *'.
821 2004-10-21 Michael Koch <konqueror@gmx.de>
823 * java/net/NetworkInterface.java,
824 java/text/Format.java,
825 javax/security/auth/x500/X500Principal.java,
826 javax/security/auth/x500/X500PrivateCredential.java,
827 javax/security/cert/X509CertBridge.java,
828 javax/security/sasl/Sasl.java,
829 javax/sql/XAConnection.java:
832 2004-10-21 Michael Koch <konqueror@gmx.de>
834 * javax/net/ssl/HandshakeCompletedEvent.java,
835 javax/net/ssl/KeyManagerFactory.java,
836 javax/net/ssl/SSLContext.java,
837 javax/net/ssl/SSLServerSocketFactory.java,
838 javax/net/ssl/SSLSession.java,
839 javax/net/ssl/SSLSocketFactory.java,
840 javax/net/ssl/TrustManagerFactory.java:
843 2004-10-21 Michael Koch <konqueror@gmx.de>
845 * javax/naming/directory/BasicAttribute.java,
846 javax/naming/directory/BasicAttributes.java,
847 javax/naming/directory/InitialDirContext.java,
848 javax/naming/event/NamingEvent.java,
849 javax/naming/ldap/ControlFactory.java,
850 javax/naming/ldap/ExtendedRequest.java,
851 javax/naming/ldap/InitialLdapContext.java,
852 javax/naming/ldap/LdapReferralException.java,
853 javax/naming/spi/DirObjectFactory.java,
854 javax/naming/spi/DirStateFactory.java,
855 javax/naming/spi/DirectoryManager.java,
856 javax/naming/spi/InitialContextFactory.java,
857 javax/naming/spi/InitialContextFactoryBuilder.java,
858 javax/naming/spi/NamingManager.java,
859 javax/naming/spi/ObjectFactory.java,
860 javax/naming/spi/ObjectFactoryBuilder.java,
861 javax/naming/spi/StateFactory.java:
864 2004-10-21 Michael Koch <konqueror@gmx.de>
866 * javax/crypto/Cipher.java,
867 javax/crypto/EncryptedPrivateKeyInfo.java,
868 javax/crypto/ExemptionMechanism.java,
869 javax/crypto/KeyAgreement.java,
870 javax/crypto/KeyGenerator.java,
871 javax/crypto/Mac.java,
872 javax/crypto/SecretKeyFactory.java,
873 javax/crypto/SecretKeyFactorySpi.java,
874 javax/crypto/spec/SecretKeySpec.java:
877 2004-10-21 Michael Koch <konqueror@gmx.de>
879 * java/security/AlgorithmParameterGenerator.java,
880 java/security/AlgorithmParameters.java,
881 java/security/AlgorithmParametersSpi.java,
882 java/security/AllPermission.java,
883 java/security/BasicPermission.java,
884 java/security/Certificate.java,
885 java/security/CodeSource.java,
886 java/security/DigestInputStream.java,
887 java/security/DigestOutputStream.java,
888 java/security/GuardedObject.java,
889 java/security/KeyFactory.java,
890 java/security/KeyFactorySpi.java,
891 java/security/KeyPairGenerator.java,
892 java/security/KeyStore.java,
893 java/security/KeyStoreSpi.java,
894 java/security/Permissions.java,
895 java/security/Security.java,
896 java/security/Signature.java,
897 java/security/UnresolvedPermission.java,
898 java/security/cert/CertPathBuilder.java,
899 java/security/cert/CertPathValidator.java,
900 java/security/cert/CertStore.java,
901 java/security/cert/Certificate.java,
902 java/security/cert/CertificateFactory.java,
903 java/security/cert/PolicyQualifierInfo.java,
904 java/security/cert/TrustAnchor.java,
905 java/security/cert/X509CRL.java,
906 java/security/cert/X509CRLSelector.java,
907 java/security/cert/X509CertSelector.java:
910 2004-10-21 Michael Koch <konqueror@gmx.de>
912 * java/rmi/MarshalledObject.java,
913 java/rmi/Naming.java,
914 java/rmi/activation/Activatable.java,
915 java/rmi/activation/ActivationGroup.java,
916 java/rmi/activation/ActivationGroupDesc.java,
917 java/rmi/activation/ActivationInstantiator.java,
918 java/rmi/activation/ActivationMonitor.java,
919 java/rmi/activation/ActivationSystem.java,
920 java/rmi/activation/Activator.java,
921 java/rmi/registry/LocateRegistry.java,
922 java/rmi/registry/Registry.java,
923 java/rmi/server/LogStream.java,
924 java/rmi/server/ObjID.java,
925 java/rmi/server/RMIClientSocketFactory.java,
926 java/rmi/server/RMIServerSocketFactory.java,
927 java/rmi/server/RMISocketFactory.java,
928 java/rmi/server/RemoteCall.java,
929 java/rmi/server/RemoteServer.java,
930 java/rmi/server/ServerRef.java,
931 java/rmi/server/UID.java,
932 java/rmi/server/UnicastRemoteObject.java:
935 2004-10-21 Tom Tromey <tromey@redhat.com>
937 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
938 exception if we hit EOF of `in'.
939 (read): Handle case where inflating returns -1.
941 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
943 * gnu/java/nio/channels/natFileChannelPosix.cc
944 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
945 argument instead of 'long *'.
947 2004-10-21 Tom Tromey <tromey@redhat.com>
949 * java/util/ResourceBundle.java (tryBundle): Also ignore
952 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
954 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
955 for all sh*-*-linux* targets.
956 * configure: Regenerate.
957 * include/sh-signal.h: New file.
959 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
961 * java/lang/ieeefp.h: Add m32r support.
963 2004-10-20 Andreas Schwab <schwab@suse.de>
965 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
967 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
970 2004-10-20 Michael Koch <konqueror@gmx.de>
972 * javax/print/attribute/standard/ColorSupported.java,
973 javax/print/attribute/standard/Compression.java,
974 javax/print/attribute/standard/Copies.java,
975 javax/print/attribute/standard/CopiesSupported.java,
976 javax/print/attribute/standard/DateTimeAtCompleted.java,
977 javax/print/attribute/standard/DateTimeAtCreation.java,
978 javax/print/attribute/standard/DateTimeAtProcessing.java,
979 javax/print/attribute/standard/DocumentName.java,
980 javax/print/attribute/standard/Fidelity.java,
981 javax/print/attribute/standard/Finishings.java,
982 javax/print/attribute/standard/JobHoldUntil.java,
983 javax/print/attribute/standard/JobImpressions.java,
984 javax/print/attribute/standard/JobImpressionsCompleted.java,
985 javax/print/attribute/standard/JobImpressionsSupported.java,
986 javax/print/attribute/standard/JobKOctets.java,
987 javax/print/attribute/standard/JobKOctetsProcessed.java,
988 javax/print/attribute/standard/JobKOctetsSupported.java,
989 javax/print/attribute/standard/JobMediaSheets.java,
990 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
991 javax/print/attribute/standard/JobMediaSheetsSupported.java,
992 javax/print/attribute/standard/JobMessageFromOperator.java,
993 javax/print/attribute/standard/JobName.java,
994 javax/print/attribute/standard/JobOriginatingUserName.java,
995 javax/print/attribute/standard/JobPriority.java,
996 javax/print/attribute/standard/JobPrioritySupported.java,
997 javax/print/attribute/standard/JobSheets.java,
998 javax/print/attribute/standard/JobState.java,
999 javax/print/attribute/standard/JobStateReason.java,
1000 javax/print/attribute/standard/JobStateReasons.java,
1001 javax/print/attribute/standard/Media.java,
1002 javax/print/attribute/standard/MultipleDocumentHandling.java,
1003 javax/print/attribute/standard/NumberOfDocuments.java,
1004 javax/print/attribute/standard/NumberOfInterveningJobs.java,
1005 javax/print/attribute/standard/NumberUp.java,
1006 javax/print/attribute/standard/NumberUpSupported.java,
1007 javax/print/attribute/standard/OrientationRequested.java,
1008 javax/print/attribute/standard/OutputDeviceAssigned.java,
1009 javax/print/attribute/standard/PDLOverrideSupported.java,
1010 javax/print/attribute/standard/PageRanges.java,
1011 javax/print/attribute/standard/PagesPerMinute.java,
1012 javax/print/attribute/standard/PagesPerMinuteColor.java,
1013 javax/print/attribute/standard/PrintQuality.java,
1014 javax/print/attribute/standard/PrinterInfo.java,
1015 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1016 javax/print/attribute/standard/PrinterLocation.java,
1017 javax/print/attribute/standard/PrinterMakeAndModel.java,
1018 javax/print/attribute/standard/PrinterMessageFromOperator.java,
1019 javax/print/attribute/standard/PrinterMoreInfo.java,
1020 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1021 javax/print/attribute/standard/PrinterName.java,
1022 javax/print/attribute/standard/PrinterStateReason.java,
1023 javax/print/attribute/standard/PrinterStateReasons.java,
1024 javax/print/attribute/standard/PrinterURI.java,
1025 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1026 javax/print/attribute/standard/RequestingUserName.java:
1027 Reorganized imports and removed redundant final modifiers.
1029 2004-10-20 Michael Koch <konqueror@gmx.de>
1031 * javax/security/sasl/SaslClient.java,
1032 javax/security/sasl/SaslClientFactory.java,
1033 javax/security/sasl/SaslException.java,
1034 javax/security/sasl/SaslServer.java,
1035 javax/security/sasl/SaslServerFactory.java:
1038 2004-10-20 Michael Koch <konqueror@gmx.de>
1040 * javax/security/auth/login/NullConfiguration.java,
1041 javax/security/auth/x500/X500Principal.java,
1042 javax/security/cert/X509Certificate.java,
1043 javax/security/sasl/AuthenticationException.java,
1044 javax/security/sasl/AuthorizeCallback.java,
1045 javax/security/sasl/RealmCallback.java,
1046 javax/security/sasl/RealmChoiceCallback.java,
1047 javax/security/sasl/Sasl.java,
1048 javax/security/sasl/SaslClient.java,
1049 javax/security/sasl/SaslClientFactory.java,
1050 javax/security/sasl/SaslException.java,
1051 javax/security/sasl/SaslServer.java,
1052 javax/security/sasl/SaslServerFactory.java:
1053 Cleaned up import statements and copyright notices.
1055 2004-10-20 Michael Koch <konqueror@gmx.de>
1057 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1059 2004-10-20 Michael Koch <konqueror@gmx.de>
1061 * java/sql/Timestamp.java,
1062 java/text/AttributedCharacterIterator.java,
1063 java/text/AttributedString.java,
1064 java/util/zip/CheckedOutputStream.java,
1065 java/util/zip/DeflaterOutputStream.java,
1066 java/util/zip/ZipFile.java,
1067 javax/crypto/Cipher.java,
1068 javax/crypto/ExemptionMechanismException.java,
1069 javax/crypto/SecretKey.java,
1070 javax/crypto/SecretKeyFactory.java,
1071 javax/naming/directory/ModificationItem.java,
1072 javax/naming/directory/SearchControls.java,
1073 javax/naming/event/NamingListener.java,
1074 javax/naming/ldap/Control.java,
1075 javax/naming/ldap/ExtendedResponse.java,
1076 javax/net/ssl/SSLSocketFactory.java:
1077 Reorganized imports and fixed copyright headers.
1079 2004-10-20 Michael Koch <konqueror@gmx.de>
1081 * java/util/logging/ConsoleHandler.java,
1082 java/util/logging/ErrorManager.java,
1083 java/util/logging/FileHandler.java,
1084 java/util/logging/Filter.java,
1085 java/util/logging/Formatter.java,
1086 java/util/logging/Handler.java,
1087 java/util/logging/Level.java,
1088 java/util/logging/LogManager.java,
1089 java/util/logging/LogRecord.java,
1090 java/util/logging/Logger.java,
1091 java/util/logging/LoggingPermission.java,
1092 java/util/logging/MemoryHandler.java,
1093 java/util/logging/SimpleFormatter.java,
1094 java/util/logging/SocketHandler.java,
1095 java/util/logging/StreamHandler.java,
1096 java/util/logging/XMLFormatter.java:
1097 Standardized copyrigth header.
1099 2004-10-20 Michael Koch <konqueror@gmx.de>
1101 * java/security/AlgorithmParameterGenerator.java,
1102 java/security/AlgorithmParameters.java,
1103 java/security/DigestInputStream.java,
1104 java/security/Identity.java,
1105 java/security/KeyFactory.java,
1106 java/security/KeyPairGenerator.java,
1107 java/security/KeyStore.java,
1108 java/security/MessageDigest.java,
1109 java/security/MessageDigestSpi.java,
1110 java/security/Policy.java,
1111 java/security/SecureRandom.java,
1112 java/security/Security.java,
1113 java/security/Signature.java,
1114 java/security/SignatureSpi.java,
1115 java/security/cert/CertPathBuilder.java,
1116 java/security/cert/CertPathValidator.java,
1117 java/security/cert/CertStore.java,
1118 java/security/cert/Certificate.java,
1119 java/security/cert/CertificateFactory.java,
1120 java/security/cert/PolicyQualifierInfo.java,
1121 java/security/cert/TrustAnchor.java,
1122 java/security/cert/X509CRL.java,
1123 java/security/cert/X509CRLEntry.java,
1124 java/security/cert/X509Certificate.java,
1125 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1126 Import statements reorganized, some little formatting issues,
1127 used java-style array declarations, added comments in empty catch
1130 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1132 * java/security/Security.java
1133 (static): Use AccessController.doPrivileged to get system property.
1135 2004-10-18 Sven de Marothy <sven@physto.se>
1137 * java/nio/ByteBufferHelper.java
1138 (putDouble): Use Double.toRawLongBits instead.
1140 2004-10-18 Mark Wielaard <mark@klomp.org>
1141 Andrew Haley <aph@redhat.com>
1143 * testsuite/libjava.lang/ExtraClassLoader.java: New.
1145 2004-10-18 Andrew Haley <aph@redhat.com>
1148 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1149 and correct logic used to find interpreter.
1151 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1153 * java/util/logging/LogManager.java
1154 (findAncestor): Fixed IndexOutOfBoundsException.
1156 2004-10-18 Michael Koch <konqueror@gmx.de>
1158 * java/io/BufferedInputStream.java: Fixed @author tag.
1159 (read): Simplified expression.
1160 (read): Merged javadoc a bit more.
1161 (read): Renamed 'remain' to 'totalBytesRead'.
1162 * java/io/DataInputStream.java,
1163 java/io/DataOutputStream.java,
1164 java/io/ObjectInputStream.java,
1165 java/io/ObjectOutputStream.java:
1166 Reworked modifier order.
1168 2004-10-18 Michael Koch <konqueror@gmx.de>
1170 * java/net/Inet4Address.java: Merged file header and javadocs.
1171 * java/net/Inet6Address.java: Likewise.
1172 * java/net/InetAddress.java
1173 (getCanonicalHostName): Create Inet4Address object instead of
1174 InetAddress and add comment regarding IPv6.
1175 (toString): Simplified.
1177 2004-10-18 Michael Koch <konqueror@gmx.de>
1179 * gnu/java/net/protocol/http/Connection.java,
1180 java/nio/MappedByteBufferImpl.java,
1181 java/text/RuleBasedCollator.java,
1182 java/util/ResourceBundle.java:
1183 Reworked import statements.
1185 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1187 * java/security/IdentityScope.java
1188 (systemScope): Removed useless initializer.
1189 * java/security/Policy.java
1190 (currentPolicy): Likewise.
1192 2004-10-18 Michael Koch <konqueror@gmx.de>
1194 * java/lang/System.java: Revert accidential change.
1196 2004-10-18 Michael Koch <konqueror@gmx.de>
1198 * java/lang/Math.java,
1199 java/lang/Package.java,
1200 java/lang/Runtime.java,
1201 java/lang/StrictMath.java,
1202 java/lang/System.java,
1203 java/lang/Thread.java,
1204 java/lang/ThreadLocal.java,
1205 java/lang/Void.java:
1206 Reworked import statements, HTML in javadocs and modifier orders.
1208 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1210 * java/util/Timer.java
1211 (nr): Removed useless initializer.
1212 * java/util/logging/LogRecord.java
1213 (lastSeqNum): Likewise.
1214 * javax/naming/spi/NamingManager.java
1215 (icfb, ofb): Likewise.
1217 2004-10-18 Michael Koch <konqueror@gmx.de>
1219 * gnu/java/net/PlainDatagramSocketImpl.java:
1220 Reworked import statements.
1221 * gnu/java/security/provider/DSAParameters.java:
1222 Fixed copyrigth years.
1223 * java/net/JarURLConnection.java:
1224 Fixed HTML in @author tags.
1227 2004-10-18 Michael Koch <konqueror@gmx.de>
1229 * java/rmi/activation/ActivationSystem.java
1230 (SYSTEM_PORT): Initialize with correct port number.
1232 2004-10-18 Michael Koch <konqueror@gmx.de>
1234 * java/lang/reflect/Proxy.java: Improved javadocs.
1236 2004-10-18 Michael Koch <konqueror@gmx.de>
1238 * java/lang/reflect/AccessibleObject.java
1239 (checkPermission): Removed redundant final modifier.
1240 (secureSetAccessible): Likewise.
1241 * java/lang/reflect/Proxy.java:
1242 Reworked import statements.
1243 (generate): Removed redundant final modifier.
1244 * java/lang/reflect/ReflectPermission.java:
1245 Reorder package declaration and import statement.
1247 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1249 * java/lang/reflect/Proxy.java
1250 (count): Removed useless initializer.
1252 2004-10-17 Michael Koch <konqueror@gmx.de>
1254 * java/net/BindException.java,
1255 java/net/ConnectException.java,
1256 java/net/ContentHandler.java,
1257 java/net/ContentHandlerFactory.java,
1258 java/net/DatagramPacket.java,
1259 java/net/DatagramSocket.java,
1260 java/net/DatagramSocketImpl.java,
1261 java/net/DatagramSocketImplFactory.java,
1262 java/net/FileNameMap.java,
1263 java/net/HttpURLConnection.java,
1264 java/net/MalformedURLException.java,
1265 java/net/MulticastSocket.java,
1266 java/net/NetworkInterface.java,
1267 java/net/NoRouteToHostException.java,
1268 java/net/PasswordAuthentication.java,
1269 java/net/PortUnreachableException.java,
1270 java/net/ProtocolException.java,
1271 java/net/ServerSocket.java,
1272 java/net/Socket.java,
1273 java/net/SocketException.java,
1274 java/net/SocketImpl.java,
1275 java/net/SocketImplFactory.java,
1276 java/net/SocketOptions.java,
1277 java/net/SocketPermission.java,
1278 java/net/SocketTimeoutException.java,
1280 java/net/URISyntaxException.java,
1282 java/net/URLDecoder.java,
1283 java/net/URLEncoder.java,
1284 java/net/URLStreamHandler.java,
1285 java/net/URLStreamHandlerFactory.java,
1286 java/net/UnknownHostException.java,
1287 java/net/UnknownServiceException.java:
1288 Big import statement and @author tag cleanup.
1290 2004-10-17 Michael Koch <konqueror@gmx.de>
1292 * gnu/java/security/OID.java,
1293 gnu/java/security/provider/DSAParameters.java,
1294 gnu/java/security/provider/DSASignature.java,
1295 gnu/java/security/x509/X500DistinguishedName.java,
1296 gnu/java/security/x509/X509CRL.java:
1297 Import statements cleaned up.
1299 2004-10-16 Michael Koch <konqueror@gmx.de>
1301 * gnu/java/nio/NIODatagramSocket.java,
1302 gnu/java/nio/ServerSocketChannelImpl.java:
1303 Reorganized import statements.
1305 2004-10-16 Michael Koch <konqueror@gmx.de>
1307 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1308 gnu/java/rmi/rmic/RMIC.java,
1309 gnu/java/rmi/server/RMIHashes.java,
1310 gnu/java/rmi/server/RMIObjectInputStream.java,
1311 gnu/java/rmi/server/RMIObjectOutputStream.java,
1312 gnu/java/rmi/server/UnicastConnection.java,
1313 gnu/java/rmi/server/UnicastConnectionManager.java,
1314 gnu/java/rmi/server/UnicastRemoteCall.java,
1315 gnu/java/rmi/server/UnicastServer.java,
1316 gnu/java/rmi/server/UnicastServerRef.java,
1317 java/rmi/MarshalledObject.java,
1318 java/rmi/Naming.java,
1319 java/rmi/RMISecurityManager.java,
1320 java/rmi/Remote.java,
1321 java/rmi/activation/Activatable.java,
1322 java/rmi/activation/ActivationDesc.java,
1323 java/rmi/activation/ActivationGroup.java,
1324 java/rmi/activation/ActivationGroupDesc.java,
1325 java/rmi/activation/ActivationGroupID.java,
1326 java/rmi/activation/ActivationID.java,
1327 java/rmi/activation/ActivationInstantiator.java,
1328 java/rmi/activation/ActivationMonitor.java,
1329 java/rmi/activation/ActivationSystem.java,
1330 java/rmi/activation/Activator.java,
1331 java/rmi/dgc/DGC.java,
1332 java/rmi/dgc/Lease.java,
1333 java/rmi/dgc/VMID.java,
1334 java/rmi/registry/LocateRegistry.java,
1335 java/rmi/registry/Registry.java,
1336 java/rmi/registry/RegistryHandler.java,
1337 java/rmi/server/LoaderHandler.java,
1338 java/rmi/server/LogStream.java,
1339 java/rmi/server/ObjID.java,
1340 java/rmi/server/Operation.java,
1341 java/rmi/server/RMIClassLoader.java,
1342 java/rmi/server/RMIClassLoaderSpi.java,
1343 java/rmi/server/RMIClientSocketFactory.java,
1344 java/rmi/server/RMIFailureHandler.java,
1345 java/rmi/server/RMIServerSocketFactory.java,
1346 java/rmi/server/RMISocketFactory.java,
1347 java/rmi/server/RemoteCall.java,
1348 java/rmi/server/RemoteObject.java,
1349 java/rmi/server/RemoteRef.java,
1350 java/rmi/server/RemoteServer.java,
1351 java/rmi/server/RemoteStub.java,
1352 java/rmi/server/ServerRef.java,
1353 java/rmi/server/Skeleton.java,
1354 java/rmi/server/SkeletonMismatchException.java,
1355 java/rmi/server/UID.java,
1356 java/rmi/server/UnicastRemoteObject.java,
1357 java/rmi/server/Unreferenced.java:
1358 File headers and import statements cleaned up.
1360 2004-10-16 Michael Koch <konqueror@gmx.de>
1362 * libjava/gnu/java/nio/charset/UTF_16.java,
1363 libjava/gnu/java/nio/charset/UTF_16BE.java,
1364 libjava/gnu/java/nio/charset/UTF_16LE.java,
1365 libjava/java/nio/ByteOrder.java,
1366 libjava/java/nio/MappedByteBuffer.java,
1367 libjava/java/nio/channels/Channels.java,
1368 libjava/java/nio/channels/spi/SelectorProvider.java,
1369 libjava/java/nio/charset/Charset.java:
1372 2004-10-16 Michael Koch <konqueror@gmx.de>
1374 * gnu/java/nio/charset/UTF_16Encoder.java
1375 (UTF_16Encoder): Fixed maxBytesPerChar handling.
1377 2004-10-16 Michael Koch <konqueror@gmx.de>
1379 * java/math/BigDecimal.java, java/math/BigInteger.java:
1380 Reorganized import statements, removed redundant and
1381 reorganized modifiers.
1383 2004-10-16 Michael Koch <konqueror@gmx.de>
1385 * gnu/java/beans/ExplicitBeanInfo.java:
1386 Explicitely import java.awt.Image.
1387 (getIcon): Fixed off-by-one error.
1389 2004-10-15 Andrew Haley <aph@redhat.com>
1391 * Makefile.am (nat_files, xlib_nat_files): New.
1392 * Makefile.in: Regenerate.
1394 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
1396 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1397 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1399 2004-10-13 Andrew Haley <aph@redhat.com>
1401 * interpret.cc (_Jv_InterpMethod::run): Initialize
1402 _Jv_StartOfInterpreter.
1403 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1404 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1405 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1406 _Unwind_FindEnclosingFunction to discover whether PC is within the
1409 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
1412 * testsuite/libjava.lang/md5test.java: New file.
1413 * testsuite/libjava.lang/md5test.out: Likewise.
1414 * testsuite/libjava.lang/shatest.java: Likewise.
1415 * testsuite/libjava.lang/shatest.out: Likewise.
1417 2004-10-11 Richard Henderson <rth@redhat.com>
1419 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1420 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1422 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1424 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1425 field as a DST boundary may have been crossed.
1426 * java/util/GregorianCalendar.java (add): Throw
1427 IllegalArgumentException on attempt to add to DST_OFFSET or
1428 ZONE_OFFSET fields. Update javadoc.
1430 2004-10-09 Michael Koch <konqueror@gmx.de>
1432 * java/io/CharArrayWriter.java
1433 (resize): Removed redundant 'final' modifier.
1434 * java/io/DataInputStream.java
1435 (readFully): Throw IndexOutOfBoundsException of len < 0.
1436 * java/io/FileDescriptor.java,
1437 java/io/FileInputStream.java,
1438 java/io/FileOutputStream.java,
1439 java/io/ObjectOutputStream.java,
1440 java/io/ObjectStreamClass.java,
1441 java/io/PipedInputStream.java,
1442 java/io/RandomAccessFile.java:
1443 Reorganized import statements.
1445 2004-10-09 Michael Koch <konqueror@gmx.de>
1447 * gnu/java/rmi/rmic/RMIC.java,
1448 gnu/java/rmi/server/RMIHashes.java,
1449 gnu/java/rmi/server/RMIObjectInputStream.java,
1450 gnu/java/rmi/server/UnicastConnection.java,
1451 gnu/java/rmi/server/UnicastConnectionManager.java,
1452 gnu/java/rmi/server/UnicastRemoteCall.java,
1453 gnu/java/rmi/server/UnicastServerRef.java:
1454 Reworked import statements and fixed file headers.
1456 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1458 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1460 * configure: Rebuilt.
1462 2004-09-30 Tom Tromey <tromey@redhat.com>
1464 * java/text/MessageFormat.java (Field): Constructor now
1467 2004-09-30 Tom Tromey <tromey@redhat.com>
1469 * javax/crypto/MacSpi.java: Fixed typo.
1471 2004-09-30 Michael Koch <konqueror@gmx.de>
1473 * java/net/InetAddress.java: Reformatted.
1474 (loopback): Initialize with Inet4Address object.
1475 (static): Initialize ANY_IF with Inet4Address object.
1476 (InetAddress): Removed unused package-private constructor.
1478 2004-09-30 Michael Koch <konqueror@gmx.de>
1480 * java/beans/Beans.java,
1481 java/beans/EventHandler.java,
1482 java/beans/EventSetDescriptor.java,
1483 java/beans/Introspector.java,
1484 java/beans/PropertyEditorManager.java,
1485 java/beans/beancontext/BeanContext.java,
1486 java/beans/beancontext/BeanContextChild.java,
1487 java/beans/beancontext/BeanContextChildSupport.java,
1488 java/beans/beancontext/BeanContextMembershipEvent.java:
1489 Reordered import statements and removed redundant modifiers.
1491 2004-09-29 Tom Tromey <tromey@redhat.com>
1494 * Makefile.in: Rebuilt.
1495 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1497 (all_property_files): New macro.
1499 * Makefile.in: Rebuilt.
1500 * Makefile.am (ordinary_java_source_files): Re-sorted.
1501 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1503 2004-09-28 Tom Tromey <tromey@redhat.com>
1505 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1508 * Makefile.am (libgcj.la): Restored.
1509 * Makefile.in: Rebuilt.
1511 2004-09-28 Michael Koch <konqueror@gmx.de>
1513 * java/net/URLConnection.java: Reformatted.
1514 * java/net/URLClassLoader.java: Reformatted.
1515 (getContent): Reordered return of content.
1516 (getContentHandler): Don't check for null explicitely.
1518 2004-09-27 Michael Koch <konqueror@gmx.de>
1520 * java/io/BufferedInputStream.java
1521 (BufferedInputStream): Added Jeroen Frijters to authors.
1522 (count): Don't explicitely initialize with default value.
1524 (marklimit): Likewise.
1525 (read): Changed boolean expression to match GNU classpath' version.
1526 (reset): Add proper message to exception.
1527 (skip): Check for closed stream.
1530 2004-09-26 Per Bothner <per@bothner.com>
1532 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1533 avoid warnings in the non-POSIX_VERSION case.
1534 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1535 so place it inside an #if block.
1536 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1537 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1538 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1539 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1541 2004-09-26 Per Bothner <per@bothner.com>
1543 * prims.cc (process_gcj_properties): Optimization.
1545 2004-09-26 Per Bothner <per@bothner.com>
1547 * java/util/Collections.java (sort): Copy from array in forwards
1548 order, rather than reverse order which may be much less efficient.
1550 2004-09-26 Mark Wielaard <mark@klomp.org>
1552 * java/lang/System.java (properties): Make package private.
1553 * java/lang/Throwable.java (StaticData.nl): Initialize through
1554 directly accessing System.properties.getProperty().
1556 * java/lang/Throwable.java (nl): Remove static field.
1557 (StaticData): New private static inner class.
1558 (stackTraceStringBuffer): Use StaticData.nl.
1560 2004-09-26 Casey Marshall <csm@gnu.org>
1562 * java/security/ProtectionDomain.java
1563 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1566 * java/security/SecureClassLoader.java
1567 (defineClass): make protection domain dynamically bound.
1568 (getPermissions): call `getCurrentPolicy' to avoid permission
1571 2004-09-25 Mark Wielaard <mark@klomp.org>
1573 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1574 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1575 * Makefile.in: Regenerated.
1577 * gcj/javaprims.h: Regenerated.
1579 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1580 (getDefaultTimeZone): Make package private. Check that GMToffset
1581 contains at least one digit.
1582 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1584 * util/VMTimeZone.java: New file with above methods.
1586 * java/util/natTimeZone.cc: Removed (renamed).
1587 * java/util/natVMTimeZone.cc: Added (renamed).
1589 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1591 * java/util/TimeZone.java
1592 (getDefaultTimeZone): Fixed test to distinguish between hours and
1593 minutes in specified timezone.
1595 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1597 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1598 handling of default package. (generate): Removed confused comments
1599 and code about making Method and Field accessible.
1601 2004-09-25 Tom Tromey <tromey@redhat.com>
1604 * testsuite/libjava.compile/pr17500.java: New file.
1606 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1607 Mark Wielaard <mark@klomp.org>
1609 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1610 * gnu/regexp/RETokenLookAhead.java: New file.
1612 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1613 * Makefile.in: Regenerated.
1615 2004-09-25 Michael Koch <konqueror@gmx.de>
1617 * java/io/ObjectStreamField.java:
1618 Removed unused import statement.
1620 2004-09-24 Tom Tromey <tromey@redhat.com>
1623 * testsuite/libjava.compile/pr15656.xfail: New file.
1624 * testsuite/libjava.compile/pr15656.java: new file.
1627 * testsuite/libjava.lang/pr16789.out: New file.
1628 * testsuite/libjava.lang/pr16789.java: New file.
1630 2004-09-24 Andrew Haley <aph@redhat.com>
1633 * testsuite/libjava.compile/AssertBug.java: New file.
1635 2004-09-24 Casey Marshall <csm@gnu.org>
1637 * java/util/PropertyPermissionCollection.java
1638 (implies): avoid infinite loop.
1640 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1642 * javax/security/auth/PrivateCredentialPermission.java
1643 (PrivateCredentialPermission): added serialization UID
1646 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1648 * gnu/java/rmi/server/UnicastServer.java
1649 (incomingMessageCall): Added code to handle Errors.
1650 * gnu/java/rmi/server/UnicastServerRef.java
1651 (incomingMessageCall): Added code to handle Errors.
1654 2004-09-24 Tom Tromey <tromey@redhat.com>
1656 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1657 (definedPackages): Likewise.
1659 2004-09-24 Michael Koch <konqueror@gmx.de>
1661 * java/io/ObjectInputStream.java:
1664 2004-09-24 Casey Marshall <csm@gnu.org>
1666 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1667 `ClassNotFoundException'.
1669 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1671 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1672 of Externalizable classes to ObjectStreamClass.
1673 * java/io/ObjectStreamClass.java (newInstance): New method to
1674 instantiate Externalizable (while ignoring the accessibility of
1675 the constructor). (constructor): New field to cache the constructor.
1677 2004-09-24 Mark Wielaard <mark@klomp.org>
1679 * java/net/URL.java (systemClassLoader): New static field.
1680 (getURLStreamHandler): Always use system/application classloader
1681 for finding URLStreamhandler. Remove unecessary instanceof checks.
1683 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1686 (set): This method now matches the behaviour of the JDK.
1687 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1689 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1691 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1693 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1695 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1696 Don't set authority if host isn't specified.
1698 2004-09-24 Michael Koch <konqueror@gmx.de>
1700 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1701 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1702 * gnu/java/nio/VMPipe.java,
1703 gnu/java/nio/VMSelector.java:
1705 * gnu/java/nio/natPipeImplEcos.cc,
1706 gnu/java/nio/natPipeImplPosix.cc,
1707 gnu/java/nio/natPipeImplWin32.cc:
1709 * gnu/java/nio/natSelectorImplEcos.cc,
1710 gnu/java/nio/natSelectorImplPosix.cc,
1711 gnu/java/nio/natSelectorImplWin32.cc:
1712 Ported to VMSelector.
1713 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1714 gnu/java/nio/VMSelector.java.
1715 * Makefile.in: Regenerated.
1717 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1719 * java/lang/StackTraceElement.java
1720 (className): Renamed field to declaringClass to be compatible
1721 with Sun serialization format.
1723 2004-09-23 Michael Koch <konqueror@gmx.de>
1725 * java/applet/AppletContext.java,
1726 java/applet/Applet.java,
1727 java/applet/AppletStub.java,
1728 java/applet/AudioClip.java:
1729 Jalopied and checkstyle clean.
1731 2004-09-23 Mark Wielaard <mark@klomp.org>
1733 * java/util/Collections.java
1734 (binarySearch(List, Object, Comparator)): Explicitly
1735 reverse direction in list iterator.
1736 (rotate): Just return when list is empty.
1738 2004-09-23 Tom Tromey <tromey@redhat.com>
1741 * testsuite/libjava.compile/pr17329.java: New file.
1744 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1747 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1749 * Makefile.am: Run aclocal with -I ../config
1750 * acinclude.m4: Delete macros picked up from ../config and tidy.
1751 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1752 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1753 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1755 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1757 * aclocal.m4: Regenerate with aclocal 1.9.2.
1758 * configure: Regenerate.
1759 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1760 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1762 2004-09-22 David Daney <ddaney@avtrex.com>
1765 * java/net/URL.java (URL): Copy userInfo from context.
1766 (getUserInfo): Return cached userInfo if present.
1768 2004-09-22 Tom Tromey <tromey@redhat.com>
1771 * mauve-libgcj: Enable java.lang.Character tests.
1773 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1775 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1777 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1778 * Makefile.in: Regenerated.
1780 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1782 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1783 * configure: Regenerate.
1784 * include/config.h.in: Likewise.
1785 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1789 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1790 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1795 2004-09-22 Tom Tromey <tromey@redhat.com>
1798 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1799 when comparing CRCs.
1800 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1802 (read()): New overload.
1804 2004-09-21 Tom Tromey <tromey@redhat.com>
1806 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1809 2004-09-21 Michael Koch <konqueror@gmx.de>
1811 * java/net/Socket.java
1812 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1814 2004-09-21 Casey Marshall <csm@gnu.org>
1816 * javax/crypto/MacSpi.java (clone): Provide meaningful
1819 2004-09-21 Tom Tromey <tromey@redhat.com>
1822 * Makefile.in: Rebuilt.
1823 * Makefile.am (MOSTLYCLEANFILES): Removed.
1824 (mostlyclean-local): Remove header files.
1826 2004-09-21 Casey Marshall <csm@gnu.org>
1828 * java/security/cert/X509CRLSelector.java:
1829 (match): remove unreachable try-catch clauses.
1830 Reported by: Dalibor Topic <robilad@kaffe.org>
1832 2004-09-21 Mark Wielaard <mark@klomp.org>
1834 * java/util/TreeMap.java (root): Don't initialize.
1835 (TreeMap(Comparator)): Call fabricateTree(0).
1836 (fabricateTree): Initialize root and size when count is 0.
1838 2004-09-21 Sven de Marothy <sven@physto.se>
1840 * java/nio/ByteBuffer.java (hashCode): Implemented.
1841 * java/nio/CharBuffer.java: Likewise.
1842 * java/nio/DoubleBuffer.java: Likewise.
1843 * java/nio/FloatBuffer.java: Likewise.
1844 * java/nio/LongBuffer.java: Likewise.
1845 * java/nio/IntBuffer.java: Likewise.
1846 * java/nio/ShortBuffer.java: Likewise.
1848 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1850 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1852 2004-09-21 Michael Koch <konqueror@gmx.de>
1854 * javax/net/ssl/SSLServerSocket.java:
1855 Removed comment about "Do not edit this file, it's generated.".
1857 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1859 Import the big Crypto/Jessie/Security merge from Classpath.
1861 * Makefile.am: Add imported files.
1862 * Makefile.in: Regenerate.
1864 2004-08-14 Casey Marshall <csm@gnu.org>
1866 The Big Crypto Merge of 2004.
1868 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1871 Files imported from GNU Crypto.
1872 * javax/crypto/BadPaddingException.java
1873 * javax/crypto/Cipher.java
1874 * javax/crypto/CipherInputStream.java
1875 * javax/crypto/CipherOutputStream.java
1876 * javax/crypto/CipherSpi.java
1877 * javax/crypto/EncryptedPrivateKeyInfo.java
1878 * javax/crypto/ExemptionMechanism.java
1879 * javax/crypto/ExemptionMechanismException.java
1880 * javax/crypto/ExemptionMechanismSpi.java
1881 * javax/crypto/IllegalBlockSizeException.java
1882 * javax/crypto/KeyAgreement.java
1883 * javax/crypto/KeyAgreementSpi.java
1884 * javax/crypto/KeyGenerator.java
1885 * javax/crypto/KeyGeneratorSpi.java
1886 * javax/crypto/Mac.java
1887 * javax/crypto/MacSpi.java
1888 * javax/crypto/Makefile.am
1889 * javax/crypto/NoSuchPaddingException.java
1890 * javax/crypto/NullCipher.java
1891 * javax/crypto/NullCipherImpl.java
1892 * javax/crypto/SealedObject.java
1893 * javax/crypto/SecretKey.java
1894 * javax/crypto/SecretKeyFactory.java
1895 * javax/crypto/SecretKeyFactorySpi.java
1896 * javax/crypto/ShortBufferException.java
1897 * javax/crypto/interfaces/DHKey.java
1898 * javax/crypto/interfaces/DHPrivateKey.java
1899 * javax/crypto/interfaces/DHPublicKey.java
1900 * javax/crypto/interfaces/PBEKey.java
1901 * javax/crypto/spec/DESKeySpec.java
1902 * javax/crypto/spec/DESedeKeySpec.java
1903 * javax/crypto/spec/DHGenParameterSpec.java
1904 * javax/crypto/spec/DHParameterSpec.java
1905 * javax/crypto/spec/DHPrivateKeySpec.java
1906 * javax/crypto/spec/DHPublicKeySpec.java
1907 * javax/crypto/spec/IvParameterSpec.java
1908 * javax/crypto/spec/PBEKeySpec.java
1909 * javax/crypto/spec/PBEParameterSpec.java
1910 * javax/crypto/spec/RC2ParameterSpec.java
1911 * javax/crypto/spec/RC5ParameterSpec.java
1912 * javax/crypto/spec/SecretKeySpec.java
1913 * javax/security/auth/AuthPermission.java
1914 * javax/security/auth/DestroyFailedException.java
1915 * javax/security/auth/Destroyable.java
1916 * javax/security/auth/Policy.java
1917 * javax/security/auth/PrivateCredentialPermission.java
1918 * javax/security/auth/RefreshFailedException.java
1919 * javax/security/auth/Refreshable.java
1920 * javax/security/auth/Subject.java
1921 * javax/security/auth/SubjectDomainCombiner.java
1922 * javax/security/auth/callback/Callback.java
1923 * javax/security/auth/callback/CallbackHandler.java
1924 * javax/security/auth/callback/ChoiceCallback.java
1925 * javax/security/auth/callback/ConfirmationCallback.java
1926 * javax/security/auth/callback/LanguageCallback.java
1927 * javax/security/auth/callback/NameCallback.java
1928 * javax/security/auth/callback/PasswordCallback.java
1929 * javax/security/auth/callback/TextInputCallback.java
1930 * javax/security/auth/callback/TextOutputCallback.java
1931 * javax/security/auth/callback/UnsupportedCallbackException.java
1932 * javax/security/auth/login/AccountExpiredException.java
1933 * javax/security/auth/login/AppConfigurationEntry.java
1934 * javax/security/auth/login/Configuration.java
1935 * javax/security/auth/login/CredentialExpiredException.java
1936 * javax/security/auth/login/FailedLoginException.java
1937 * javax/security/auth/login/LoginContext.java
1938 * javax/security/auth/login/LoginException.java
1939 * javax/security/auth/login/NullConfiguration.java
1940 * javax/security/auth/x500/X500PrivateCredential.java
1941 * javax/security/sasl/AuthenticationException.java
1942 * javax/security/sasl/AuthorizeCallback.java
1943 * javax/security/sasl/RealmCallback.java
1944 * javax/security/sasl/RealmChoiceCallback.java
1945 * javax/security/sasl/Sasl.java
1946 * javax/security/sasl/SaslClient.java
1947 * javax/security/sasl/SaslClientFactory.java
1948 * javax/security/sasl/SaslException.java
1949 * javax/security/sasl/SaslServer.java
1950 * javax/security/sasl/SaslServerFactory.java
1951 * org/ietf/jgss/ChannelBinding.java
1952 * org/ietf/jgss/GSSContext.java
1953 * org/ietf/jgss/GSSCredential.java
1954 * org/ietf/jgss/GSSException.java
1955 * org/ietf/jgss/GSSManager.java
1956 * org/ietf/jgss/GSSName.java
1957 * org/ietf/jgss/MessageProp.java
1958 * org/ietf/jgss/Oid.java
1959 * org/ietf/jgss/MessagesBundle.properties
1961 Files imported from Jessie <http://www.nongnu.org/jessie/>
1962 * javax/net/ServerSocketFactory.java
1963 * javax/net/SocketFactory.java
1964 * javax/net/VanillaServerSocketFactory.java
1965 * javax/net/VanillaSocketFactory.java
1966 * javax/net/ssl/HandshakeCompletedEvent.java
1967 * javax/net/ssl/HandshakeCompletedListener.java
1968 * javax/net/ssl/HostnameVerifier.java
1969 * javax/net/ssl/HttpsURLConnection.java
1970 * javax/net/ssl/KeyManager.java
1971 * javax/net/ssl/KeyManagerFactory.java
1972 * javax/net/ssl/KeyManagerFactorySpi.java
1973 * javax/net/ssl/ManagerFactoryParameters.java
1974 * javax/net/ssl/SSLContext.java
1975 * javax/net/ssl/SSLContextSpi.java
1976 * javax/net/ssl/SSLException.java
1977 * javax/net/ssl/SSLHandshakeException.java
1978 * javax/net/ssl/SSLKeyException.java
1979 * javax/net/ssl/SSLPeerUnverifiedException.java
1980 * javax/net/ssl/SSLPermission.java
1981 * javax/net/ssl/SSLProtocolException.java
1982 * javax/net/ssl/SSLServerSocket.java
1983 * javax/net/ssl/SSLServerSocketFactory.java
1984 * javax/net/ssl/SSLSession.java
1985 * javax/net/ssl/SSLSessionBindingEvent.java
1986 * javax/net/ssl/SSLSessionBindingListener.java
1987 * javax/net/ssl/SSLSessionContext.java
1988 * javax/net/ssl/SSLSocket.java
1989 * javax/net/ssl/SSLSocketFactory.java
1990 * javax/net/ssl/TrivialHostnameVerifier.java
1991 * javax/net/ssl/TrustManager.java
1992 * javax/net/ssl/TrustManagerFactory.java
1993 * javax/net/ssl/TrustManagerFactorySpi.java
1994 * javax/net/ssl/X509KeyManager.java
1995 * javax/net/ssl/X509TrustManager.java
1996 * javax/security/cert/Certificate.java
1997 * javax/security/cert/CertificateEncodingException.java
1998 * javax/security/cert/CertificateException.java
1999 * javax/security/cert/CertificateExpiredException.java
2000 * javax/security/cert/CertificateNotYetValidException.java
2001 * javax/security/cert/CertificateParsingException.java
2002 * javax/security/cert/X509CertBridge.java
2003 * javax/security/cert/X509Certificate.java
2005 2004-08-20 Casey Marshall <csm@gnu.org>
2007 * java/security/cert/X509CRLSelector.java: New file.
2008 * java/security/cert/X509CertSelector.java: New file.
2010 2004-09-15 Michael Koch <konqueror@gmx.de>
2012 * gnu/java/net/protocol/file/Handler.java
2013 (openConnection): Don't throw exception if host part for file: URI is
2014 present. setURL() keeps file: protocol if ftp: protocol is not
2017 2004-09-14 Richard Henderson <rth@redhat.com>
2019 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2020 value of sigsuspend.
2022 2004-09-12 Tom Tromey <tromey@redhat.com>
2024 * javax/naming/CompoundName.java (CompoundName): Don't check for
2025 separator in "flat" case.
2027 2004-09-12 Michael Koch <konqueror@gmx.de>
2029 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2030 AM_CONFIG_HEADER by AC_CONFIG_FILES.
2031 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2034 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
2037 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2038 handle in newly-allocated _Jv_Thread_t.
2039 (_Jv_ThreadDestroyData): Close thread handle.
2040 (_Jv_ThreadStart): Remove obsolete comment.
2041 Store handle of newly-created thread in _Jv_Thread_t.
2042 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2043 before including <windows.h>
2044 #define _Jv_HaveCondDestroy
2046 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
2048 * java/lang/natThread.cc (finalize_native): Destroy
2049 join conditional variable and mutex if these destroy
2050 operations are supported.
2052 2004-09-10 Dalibor Topic <robilad@kaffe.org>
2054 * gnu/java/net/protocol/file/Connection.java (permission): New field.
2055 (DEFAULT_PERMISSION): New constant.
2056 (Connection): Create a FilePermission with permission to read file.
2058 2004-09-10 Michael Koch <konqueror@gmx.de>
2060 * gnu/java/net/protocol/file/Connection.java
2061 (getLastModified): Moved around.
2062 (getPermission): Return stored permission.
2064 2004-09-10 Michael Koch <konqueror@gmx.de>
2066 * Makefile.in: Regenerate.
2068 2004-09-10 Michael Koch <konqueror@gmx.de>
2070 * Makefile.am: Reverted accidently commited stuff.
2071 * configure: Regenerated.
2073 2004-09-10 Michael Koch <konqueror@gmx.de>
2075 * gnu/java/net/protocol/file/Connection.java
2076 (lineSeparator): Made non-final.
2078 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2079 instead of StringBufferInputStream.
2081 2004-09-10 Michael Koch <konqueror@gmx.de>
2083 * gnu/java/net/protocol/file/Connection.java
2084 (connect): Handle file is a directory case.
2086 2004-09-10 Michael Koch <konqueror@gmx.de>
2089 (xlib_includes): Removed.
2090 (AM_CPPFLAGS): Renamed from INCLUDES.
2091 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2092 * Makefile.in: Regenerate.
2094 2004-09-09 Michael Koch <konqueror@gmx.de>
2096 * java/security/ProtectionDomain.java,
2097 * java/util/PropertyPermissionCollection.java:
2098 Fixed javadocs all over.
2100 2004-09-09 Sven de Marothy <sven@physto.se>
2102 Patch from David Gilbert <david.gilbert@object-refinery.com>
2103 * java/lang/Comparable.java: Fixed documentation errors.
2104 * java/util/Arrays.java: Likewise.
2106 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2108 * java/net/Inet4Address.java
2109 (Inet4Address): Added comment to serialization UID.
2110 * java/text/Format.java
2111 (Format): Added comment to serialization UID.
2113 2004-09-09 Michael Koch <konqueror@gmx.de>
2115 * java/lang/System.java
2116 (err): Fixed javadoci to point to setErr() and not setOut().
2118 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
2120 (normalizePath): Added special case for windows systems.
2122 2004-09-09 Michael Koch <konqueror@gmx.de>
2125 (dupSeparator): Made private.
2126 (File(URI)): New constructor.
2127 (getParentFile): Fixed javadoc.
2128 (createTempFile): Reformated.
2129 (setReadOnly): Added comment.
2130 (deleteOnExit): Merged javadoc with classpath version.
2132 2004-09-09 Michael Koch <konqueror@gmx.de>
2134 * Makefile.am: Don't try to include deps.mk.
2135 * Makefile.in: Regenerated.
2137 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
2139 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2141 * configure: Rebuilt.
2143 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
2145 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2146 Changed pfn from static local to local.
2148 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
2149 H.J. Lu <hongjiu.lu@intel.com>
2152 * Makefile.am (GCJCOMPILE): Remove definition.
2153 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2154 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2155 * Makefile.in: Rebuilt.
2157 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
2159 * configure.ac (enable-gc-debug): Update help for new syntax.
2160 * configure: Regenerate.
2162 2004-09-03 David Daney <ddaney@avtrex.com>
2164 * include/mips-signal.h: Update copyright.
2166 2004-09-03 David Daney <ddaney@avtrex.com>
2168 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2169 * include/mips-signal.h: Added HANDLE_FPE support.
2171 2004-08-31 Michael Koch <konqueror@gmx.de>
2173 * javax/swing/plaf/basic/BasicTextAreaUI.java
2174 (create): New method.
2175 * javax/swing/text/DefaultHighlighter.java
2176 (DefaultHighlightPainter.debugRect): Removed.
2177 * javax/swing/text/StyleContext.java
2178 (DEFAULT_STYLE): New field.
2180 2004-08-31 Michael Koch <konqueror@gmx.de>
2182 * javax/swing/plaf/basic/BasicLookAndFeel.java
2183 (initComponentDefaults): Add keybindings for selection.backward and
2184 selection-forward for text components.
2185 * javax/swing/plaf/basic/BasicTextUI.java
2186 (paintSafely): Paint highlight only when something is actually
2188 * javax/swing/text/DefaultCaret.java
2189 (handleHighlight): New method.
2190 (setSelectionVisible): Don't do anything when nothing changes.
2192 (moveDot): Reimplemented. Handle highlight.
2193 (setDot): Set mark too. Handle highlight.
2194 (getSelectionPainter): New method.
2195 * javax/swing/text/DefaultEditorKit.java
2196 (defaultActions): Added new actions for text selection.
2197 * javax/swing/text/DefaultHighlighter.java
2198 (DefaultHighlightPainter): New inner class.
2199 (DefaultPainter): New field.
2200 (paint): Implemented.
2201 * javax/swing/text/PlainView.java
2202 (paint): Don't draw background here again.
2203 * javax/swing/text/Utilities.java
2204 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2205 (drawTabbedText): Likewise.
2207 2004-08-31 Graydon Hoare <graydon@redhat.com>
2209 * javax/swing/JComponent.java
2210 (resetKeyboardActions): Add null checks.
2212 2004-08-31 Graydon Hoare <graydon@redhat.com>
2214 * javax/swing/DefaultButtonModel.java:
2215 Skip group notification when no group is set.
2217 2004-08-31 Graydon Hoare <graydon@redhat.com>
2219 * javax/swing/JColorChooser.java:
2220 Make a couple inner classes static, for jikes.
2222 2004-08-31 Michael Koch <konqueror@gmx.de>
2224 * javax/swing/plaf/basic/BasicTextUI.java
2225 (RottView.modelToView): New method.
2226 (UpdateHandler): Renamed from EventHandler.
2227 (updateHandler): Renamed from eventHandler.
2228 (modelToView): Implemented.
2229 * javax/swing/text/AbstractDocument.java
2230 (BranchElement.getElement): Return null for non-existing indeces.
2231 (BranchElement.getElementIndex): Return 0 in some corner cases.
2232 * javax/swing/text/FieldView.java
2233 (modelToView): New method.
2234 * javax/swing/text/PlainView.java
2235 (modelToView): Made public.
2237 2004-08-31 Kim Ho <kho@redhat.com>
2239 * Makefile.am: New files.
2240 * Makefile.in: Regenerate.
2241 * gcj/Makefile.in: Regenerate.
2242 * include/Makefile.in: Regenerate.
2243 * java/awt/Color.java: Fix documentation.
2244 (RGBtoHSB): Use floats for conversions.
2245 * javax/swing/ButtonGroup.java: Run Jalopy.
2246 (setSelected): Reimplement.
2247 * javax/swing/DefaultButtonModel.java: Run Jalopy.
2248 (changeState): Let ButtonGroup know that the button
2250 * javax/swing/JColorChooser.java: Implement.
2251 * javax/swing/JLabel.java: Run Jalopy.
2252 * javax/swing/JSpinner.java: Run Jalopy.
2253 (setValue): New method.
2254 * javax/swing/JTabbedPane.java: Run Jalopy.
2255 (removeTabAt): Call correct remove method.
2256 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2257 (getPreviousValue): Compare minimum value.
2258 * javax/swing/Timer.java: Run Jalopy.
2259 (run): Comment out println.
2260 * javax/swing/ToolTipManager.java:
2261 (mouseMoved): Get new tooltip text for location.
2262 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2264 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2266 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2268 (setSelectedColor): Fire ChangeEvent.
2269 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2270 New file. Implement.
2271 * javax/swing/colorchooser/DefaultPreviewPanel.java:
2273 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2275 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2277 * javax/swing/plaf/basic/BasicArrowButton.java:
2278 (getArrow): Fix size of upward pointing button.
2279 * javax/swing/plaf/basic/BasicColorChooserUI.java:
2281 * javax/swing/plaf/basic/BasicSliderUI.java:
2282 (getWidthOfWidestLabel): Use preferred dimensions.
2283 (getHeightOfTallestLabel): Ditto.
2284 * javax/swing/plaf/basic/BasicSpinnerUI.java:
2286 (mousePressed): Disable changes to spinner if it is not enabled.
2287 * testsuite/Makefile.in: Regenerate.
2290 2004-08-31 Michael Koch <konqueror@gmx.de>
2292 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2293 javax/swing/plaf/basic/BasicTableUI.java:
2294 Added copyright notice.
2296 2004-08-31 Olga Rodimina <rodimina@redhat.com>
2298 * Makefile.am: Added new files.
2299 * Makefile.in: Regenerate.
2300 * javax/swing/ComboBoxEditor.java: Added javadocs.
2301 * javax/swing/ComboBoxModel.java: Likewise.
2302 * javax/swing/DefaultComboBoxModel.java: Implemented.
2303 * javax/swing/DefaultListCellRenderer.java: Added javadocs
2304 and ran through jalopy to fix formatting style.
2305 (getListCellRendererComponent): Use appropriate border
2306 if renderer has focus and use noFocusBorder when it doesn't.
2307 * javax/swing/JComboBox.java: Implemented.
2308 * javax/swing/JList.java:
2309 (locationToIndex): New Method. Implemented.
2310 (indexToLocation): New Method.
2311 * javax/swing/JPopupMenu.java:
2312 (visible): New field.
2313 (isVisible): Changed to use new field above.
2314 (setVisible): Likewise.
2315 * javax/swing/MutableComboBoxModel.java: Added javadocs.
2316 * javax/swing/plaf/basic/BasicArrowButton.java:
2317 (shadow): Changed default color to Color.gray.
2318 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2319 UI delegate for JComboBox.
2320 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2321 Popup menu containing list of JComboBox's items.
2322 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2323 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2324 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2325 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2326 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2327 (popupMenuWillBecomeVisible): Set selected path to the first
2328 element only if it is of type MenuElement. Also fix formatting
2330 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2333 2004-08-31 Michael Koch <konqueror@gmx.de>
2335 * javax/swing/text/AbstractDocument.java
2336 (createBranchElement): Use new constructor of BranchElement.
2337 (createLeafElement): Renamed arguments.
2338 (getRootElements): Implemented.
2339 (BranchElement.start): Removed.
2340 (BranchElement.end): Likewise.
2341 (BranchElement.BranchElement): Fixed arguments.
2342 (BranchElement.getEndOffset): Reimplemented.
2343 (BranchElement.getStartOffset): Likewis.
2344 * javax/swing/text/DefaultCaret.java
2345 (paint): Draw simple vertical line as caret instead of a rectangle.
2346 * javax/swing/text/JTextComponent.java
2347 (setText): Use doc directly.
2348 * javax/swing/text/PlainView.java
2349 (nextTabStop): Implemented.
2350 * javax/swing/text/Utilities.java
2351 (drawTabbedText): nextTabStop() returns an absolute x position.
2352 (getTabbedTextWidth): Likewise.
2354 2004-08-31 Graydon Hoare <graydon@redhat.com>
2356 * java/awt/Component.java
2357 (isFocusTraversable): Predicate on isLightweight()
2358 (setFocusable): Set isFocusTraversableOverridden.
2359 (requestFocus): Predicate peer dispatch on !isLightweight()
2360 (requestFocusInWindow): Likewise.
2361 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2362 * java/awt/Container.java
2363 (dispatchEventImpl): Predicate on event mask.
2364 (LightweightDispatcher): Remove focus machinery.
2365 * java/awt/DefaultFocusTraversalPolicy.java
2366 (accept): Expand predicate to include isFocusable().
2367 * java/awt/DefaultKeyboardFocusManager.java:
2368 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2369 * java/awt/KeyboardFocusManager.java
2370 (redispatchEvent): Synchronize on event to prevent feedback.
2371 * javax/swing/AbstractButton.java
2372 (ButtonFocusListener): Remove class.
2373 (init): Set focusPainted, focusable.
2374 * javax/swing/ActionMap.java (get): Check parent for null.
2375 * javax/swing/InputMap.java (get): Likewise.
2376 * javax/swing/JComponent.java
2377 (inputMap_whenFocused): New InputMap.
2378 (inputMap_whenAncestorOfFocused): Likewise.
2379 (inputMap_whenInFocusedWindow): Likewise.
2380 (getActionForKeyStroke): Rewrite.
2381 (getConditionForKeystroke): Likewise.
2382 (ActionListenerProxy): New private class.
2383 (setInputMap): Implement.
2384 (getInputMap): Likewise.
2385 (setActionMap): Likewise.
2386 (getActionMap): Likewise.
2387 (processComponentKeyEvent): New empty method.
2388 (processKeyEvent): Implement.
2389 (processKeyBinding): Likewise.
2390 (resetKeyboardActions): Rewrite.
2391 * javax/swing/KeyStroke.java: Rewrite.
2392 * javax/swing/SwingUtilities.java
2393 (notifyAction): Implement.
2394 (replaceUIActionMap): Likewise.
2395 (replaceUIInputMap): Likewise.
2396 * javax/swing/plaf/basic/BasicButtonListener.java
2397 (focusGained): Implement.
2398 (focusLost): Repaint if focusPainted().
2399 (installKeyboardActions): Install pressed / released actions.
2400 (uninstallKeyboardActions): Implement.
2401 * javax/swing/plaf/basic/BasicButtonUI.java
2402 (focusColor): New field.
2403 (installDefaults): Load focus color, install input map.
2404 (installKeyboardActions): Implement.
2405 (uninstallKeyboardActions): Likewise.
2406 (paintFocus): Rewrite.
2407 * javax/swing/plaf/basic/BasicLookAndFeel.java
2408 (Button.focus): New default, midPurple.
2409 * javax/swing/plaf/basic/BasicTextUI.java
2411 (installUI): Get doc from kit, load defaults.
2412 (getKeymapName): Implement.
2413 (createKeymap): Likewise.
2414 (installKeyboardActions): Likewise.
2415 (getInputMap): Likewise.
2416 (getActionMap): Likewise.
2417 (createActionMap): Likewise.
2418 * javax/swing/text/AbstractDocument.java
2419 (getStartPosition): Implement.
2420 (getEndPosition): Likewise.
2421 * javax/swing/text/DefaultEditorKit.java
2422 (CopyAction): New class.
2423 (CutAction): Likewise.
2424 (DefaultKeyTypedAction): Likewise.
2425 (InsertBreakAction): Likewise.
2426 (InsertContentAction): Likewise.
2427 (InsertTabAction): Likewise.
2428 (PasteAction): Likewise.
2429 (defaultActions): New static table.
2430 (createCaret): Implement.
2431 (getActions): Likewise.
2432 * javax/swing/text/JTextComponent.java
2433 (KeymapWrapper): New private class.
2434 (KeymapActionMap): Likewise.
2435 (DefaultKeymap): New class.
2436 (keymaps): New static table.
2437 (keymap): New field.
2438 (getKeymap): Implement.
2439 (removeKeymap): Likewise.
2440 (addKeymap): Likewise.
2441 (setKeymap): Likewise.
2442 (loadKeymap): Likewise.
2443 (getActions): Likewise.
2444 (margin): New field.
2445 (JTextComponent): Build and install default keymap.
2446 * javax/swing/text/TextAction.java
2447 (textAction): Call super properly.
2448 (getTextComponent): Implement.
2449 * javax/swing/text/Utilities.java
2450 (drawTabbedText): Adjust position by ascent.
2452 2004-08-31 David Jee <djee@redhat.com>
2456 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2457 (setEnabled): Make it a native method.
2458 * java/awt/DefaultKeyboardFocusManager.java
2459 (postProcessKeyEvent): Only post event if the menu item
2461 * java/awt/MenuItem.java:
2462 Private field 'enabled' should be true by default.
2463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2464 (setEnabled): New function.
2466 2004-08-31 David Jee <djee@redhat.com>
2470 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2471 (nativeSetHelpMenu): New native method declaration.
2472 (addHelpMenu): Call nativeSetHelpMenu().
2474 * java/awt/MenuBar.java
2475 (setHelpMenu): Call addNotify() on the new help menu.
2476 (add): Call addNotify() on the new menu.
2477 (addNotify): Set the help menu if one exists.
2478 * java/awt/peer/MenuBarPeer.java
2480 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2481 (nativeSetHelpMenu): New method.
2483 2004-08-31 Graydon Hoare <graydon@redhat.com>
2485 * Makefile.am: Add new files.
2486 * Makefile.in: Regenerate.
2487 * javax/swing/Box.java: Fix setting of layout in ctor.
2488 * javax/swing/JScrollPane.java: Scroll headers as well.
2489 * javax/swing/JTable.java: Reimplement.
2490 * javax/swing/JViewPort.java: Only add non-null children.
2491 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2492 * javax/swing/Timer.java: Fix stopping null waker.
2493 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2494 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2495 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2496 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2497 * javax/swing/table/DefaultTableModel.java: Clean up.
2498 * javax/swing/table/JTableHeader.java: Implement.
2500 2004-08-31 Mark Wielaard <mark@klomp.org>
2502 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2505 2004-08-31 Mark Wielaard <mark@klomp.org>
2507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2508 Declare variables at top of functions/block.
2509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2511 2004-08-31 Mark Wielaard <mark@klomp.org>
2513 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2516 2004-08-31 Michael Koch <konqueror@gmx.de>
2518 * javax/swing/text/PlainView.java
2519 (selectedColor): New field.
2520 (unselectedColor): Likewise.
2522 (updateMetrics): New method.
2523 (lineToRect): Likewise.
2524 (modelToView): Likewise.
2525 (drawSelectedText): Use color from JTextComponent ad draw with
2527 (drawUnselectedText): Likewise.
2528 (paint): Initialize helper fields.
2529 * javax/swing/text/View.java
2530 (getChildAllocation): New method.
2531 (getViewIndex): Likewise.
2532 (getToolTipText): Likewise.
2534 2004-08-31 Michael Koch <konqueror@gmx.de>
2536 * javax/swing/text/Utilities.java
2537 (drawTabbedText): Reimplemented.
2538 (getTabbedTextWidth): Likewise.
2540 2004-08-31 Michael Koch <konqueror@gmx.de>
2542 * javax/swing/plaf/basic/BasicTextUI.java
2543 (installDefaults): Install caret and highlighter.
2544 (modelToView): Use Bias.Forward when calling sibling.
2545 * javax/swing/text/AbstractDocument.java
2546 (ElementEdit): Implements DocumentEvent.ElementChange.
2547 (ElementEdit.ElementEdit): New method.
2548 (ElementEdit.getChildrenAdded): Likewise.
2549 (ElementEdit.getChildrenRemoved): Likewise.
2550 (ElementEdit.getElement): Likewise.
2551 (ElementEdit.getIndex): Likewise.
2552 * javax/swing/text/DefaultCaret.java
2554 (textComponent): Renamed from parent, made private.
2555 (selectionVisible): Renamed from vis_sel, made private.
2556 (blinkRate): Renamed from blink, made private.
2557 (magicCaretPosition): Renamed from magic, made private.
2558 (visible): Renamed from vis, made private.
2559 (dot): Made private.
2561 (deinstall): Remove as MouseMotionListener.
2562 (install): Initialize textComponent first. Add as MouseMotionListener.
2563 (paint): Reimplemented.
2564 * javax/swing/text/JTextComponent.java
2565 (setCaret): Deinstall old caret, install new one and fire property
2566 change after setting property.
2567 (setHighlighter): Deinstall old highlighter, install new one and fire
2568 property change after setting property.
2569 (setCaretColor): Fire property change after setting property.
2570 (setDisabledTextColor): Likewise.
2571 (setSelectedTextColor): Likewise.
2572 (setSelectionColor): Likewise.
2573 (modelToView): New method.
2575 2004-08-31 Michael Koch <konqueror@gmx.de>
2577 * javax/swing/text/AbstractDocument.java
2578 (getText): Simplified.
2579 * javax/swing/text/Segment.java
2580 (current): New field.
2581 (current): Reimplemented.
2583 (getIndex): Likewise.
2586 (previous): Likewise.
2587 (setIndex): Likewise.
2589 2004-08-31 Michael Koch <konqueror@gmx.de>
2591 * javax/swing/plaf/basic/BasicButtonUI.java
2592 (defaultTextIconGap): Made protected.
2593 (defaultTextShiftOffset): Likewise.
2594 (textShiftOffset): New field.
2595 (clearTextShiftOffset): New method.
2596 (getTextShiftOffset): Likewise.
2597 (setTextShiftOffset): Likewise.
2599 2004-08-31 Michael Koch <konqueror@gmx.de>
2601 * javax/swing/plaf/basic/BasicTextUI.java
2602 (installUI): Add eventHandler as property listener.
2603 (uninstallUI): remove eventHandler as propert listener.
2604 (installDefaults): Added comment.
2605 (installListeners): Likewise.
2606 (installKeyboardActions): Likewise.
2607 (uninstallDefaults): Likewise.
2608 (uninstallListeners): Likewise.
2609 (uninstallKeyboardActions): Likewise.
2611 2004-08-31 Michael Koch <konqueror@gmx.de>
2613 * javax/swing/text/AbstractDocument.java:
2614 Fixed some typos in comments.
2615 (insertString): Reimplemented.
2617 (replace): New method.
2618 (children): Dont use fully qualified class name.
2619 (DefaultDocumentEvent.offset): Renamed from off.
2620 (DefaultDocumentEvent.length): Renamed from len.
2621 (DefaultDocumentEvent.type): New field.
2622 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2623 (DefaultDocumentEvent.getType): Implemented.
2625 2004-08-31 Michael Koch <konqueror@gmx.de>
2627 * javax/swing/plaf/basic/BasicTextUI.java
2628 (RootView.textComponent): Removed.
2629 (RootView.RootView): Don't initialize textComponent.
2630 (RootView.getViewFactory): New method.
2631 (EventHandler): New inner class.
2632 (rootView): Initialize at instance creation.
2633 (eventHandler): New field.
2634 (installUI): Don't create view hierarchy directly,
2635 call modelChanged() instead.
2636 (modelChanged): New method.
2637 * javax/swing/text/JTextComponent.java
2638 (setDocument): Fire property change event.
2640 2004-08-31 Michael Koch <konqueror@gmx.de>
2642 * javax/swing/plaf/basic/BasicTextUI.java
2643 (RootView.paint): Removed debug output.
2644 (paintSafely): Draw highlighter before text.
2645 (paintBackground): Use background color of text component.
2646 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2649 2004-08-31 Michael Koch <konqueror@gmx.de>
2651 * javax/swing/plaf/basic/BasicToolBarUI.java
2652 (BasicToolBarUI): Fixed arguments for constructor.
2653 (createUI): Fixed creation of object.
2655 2004-08-31 Michael Koch <konqueror@gmx.de>
2657 * javax/swing/DefaultListSelectionModel.java
2658 (fireValueChanged): Renamed from fireSelectionValueChanged,
2661 2004-08-31 Michael Koch <konqueror@gmx.de>
2663 * javax/swing/text/TabSet.java
2664 (TabSet): Implements java.io.Serializable.
2665 * javax/swing/text/TabStop.java
2666 (TabStop): Implements java.io.Serializable.
2667 (TabStop): Made public.
2669 2004-08-31 Michael Koch <konqueror@gmx.de>
2671 * javax/swing/JComponent.java
2672 (setUI): Fire PropertyChange.
2673 * javax/swing/JLabel.java
2674 (text): Renamed from labelText.
2675 (horizontalAlignment): New default vlaue.
2676 (icon): Renamed from activeIcon.
2677 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2678 (displayedMnemonicIndex): Renamed from underlineChar.
2679 (setDisplayedMnemonic): Reimplemented.
2680 * javax/swing/JRadioButton.java
2681 (JRadioButton): New constructors.
2682 * javax/swing/JTextField.java
2683 (JTextField): Throw exception if colums < 0, initialitialz
2684 this.columns directly and initialize document with text conditionally.
2686 2004-08-31 Michael Koch <konqueror@gmx.de>
2688 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2689 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2690 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2691 * javax/swing/text/FieldView.java
2692 (paint): Just call super method for now.
2693 * Makefile.am: Added new files.
2694 * Makefile.in: Regenerated.
2696 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2698 * javax/swing/AbstractSpinnerModel.java,
2699 javax/swing/JSpinner.java,
2700 javax/swing/SpinnerNumberModel.java,
2701 javax/swing/plaf/basic/BasicSpinnerUI.java:
2703 * javax/swing/plaf/basic/BasicLookAndFeel.java
2704 (initClassDefaults): Added defaults for BasicSpinnerUI.
2706 2004-08-31 Michael Koch <konqueror@gmx.de>
2708 * Makefile.am: Added new files.
2709 * Makefile.in: Regenerated.
2711 2004-08-31 Michael Koch <konqueror@gmx.de>
2713 * javax/swing/TransferHandler.java,
2714 javax/swing/plaf/basic/ComboPopup.java: New files
2715 * Makefile.am: Added javax/swing/TransferHandler.java and
2716 javax/swing/plaf/basic/ComboPopup.java
2717 * Makefile.in: Regenerated.
2719 2004-08-31 Roman Kennke <roman@ontographics.com>
2721 * javax/swing/text/Utilities.java: New file.
2723 2004-08-31 Michael Koch <konqueror@gmx.de>
2725 * Makefile.am: Added javax/swing/text/Utilities.java.
2726 * Makefile.in: Regenerated.
2728 2004-08-31 Graydon Hoare <graydon@redhat.com>
2730 * javax/swing/text/SimpleAttributeSet.java: New file.
2731 * javax/swing/text/StyleConstants.java: New file.
2732 * javax/swing/text/StyleContext.java: New file.
2733 * javax/swing/text/TabSet.java: New file.
2734 * javax/swing/text/TabStop.java: New file.
2735 * javax/swing/text/AbstactDocument.java:
2736 (AbstractElement): Implement attribute support.
2737 * javax/swing/text/AttributeSet.java
2738 (NameAttribute): New static field.
2739 (ResolveAttribute): New static field.
2740 * Makefile.am: Update for new files.
2741 * Makefile.in: Regenerate.
2743 2004-08-31 Craig Black <craig.black@aonix.com>
2745 * gnu/java/awt/peer/gtk/GdkGraphics.java
2746 (drawImage): Add support for scaling pixmaps.
2747 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2748 (copyAndScalePixmap): New native method.
2750 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2753 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2754 type-punning compiler warnings using unions.
2755 (throw): Replace bzero with memset.
2757 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2758 Thomas Fitzsimmons <fitzsim@redhat.com>
2760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2761 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2762 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2764 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2766 2004-08-31 Mark Wielaard <mark@klomp.org>
2768 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2769 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2770 and stdlib.h, not gtkpeer.h.
2771 (*vm): New static variable.
2772 (areaPreparedID): Make static.
2773 (areaUpdatedID): Likewise.
2774 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2775 (area_prepared): Likewise.
2776 (area_updated): Likewise.
2778 (initStaticState): Initialize *vm javaVM.
2779 (pumpBytes): Use given env, not global gdk_env.
2781 2004-08-31 Mark Wielaard <mark@klomp.org>
2783 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2786 2004-08-31 Sven de Marothy <sven@physto.se>
2788 * java/awt/geom/CubicCurve2D.java: Reindent.
2789 (contains): Implemented.
2790 (intersects): Implemented.
2791 * java/awt/geom/QuadCurve2D.java: Likewise.
2792 * java/awt/geom/GeneralPath.java: Reindent and document.
2793 Fully (re)implemented using separate xpoints and ypoints
2795 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2797 2004-08-31 Michael Koch <konqueror@gmx.de>
2799 * javax/swing/JMenuItem.java
2800 (getMenuDragMouseListeners): New method.
2801 (getMenuKeyListeners): Likewise.
2803 2004-08-31 Michael Koch <konqueror@gmx.de>
2805 * javax/swing/AbstractButton.java
2806 (model): Made protected.
2807 (actionListener): Likewise.
2808 (changeListener): Likewise.
2809 (itemListener): Likewise.
2810 (multiClickThreshhold): New field.
2811 (getActionListeners): New method.
2812 (getChangeListeners): Likewise.
2813 (getItemListeners): Likewise.
2814 (fireItemStateChanged): Simplified implementation.
2815 (fireActionPerformed): Likewise.
2816 (fireStateChanged): Likewise.
2817 (getMultiClickThreshhold): New method.
2818 (setMultiClickThreshhold): Likewise.
2820 2004-08-31 Tom Tromey <tromey@redhat.com>
2822 * java/awt/image/Kernel.java (clone): Use super.clone().
2824 2004-08-31 David Jee <djee@redhat.com>
2827 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2828 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2829 (nativeSetIconImageFromData): New native method declaration.
2830 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2831 * gnu/java/awt/peer/gtk/GtkImage.java
2832 (getPixelCache): New method.
2833 (getColorModel): New method.
2834 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2835 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2836 (free_pixbuf_data): New helper function.
2837 (nativeSetIconImageFromData): New function.
2839 2004-08-31 Graydon Hoare <graydon@redhat.com>
2842 * javax/swing/JLayeredPane.java
2843 (setLayer): Permit changing layer after addition.
2844 (setPosition): Permit over-length positions.
2845 (layerToRange): Compare intValue()s.
2846 * javax/swing/Box.java (createHorizontalBox): Implement.
2847 (createRigidArea): Likewise.
2848 (createVerticalBox): Likewise.
2850 2004-08-31 Kim Ho <kho@redhat.com>
2852 * java/awt/Component.java:
2853 (processMouseEvent): Consume event after
2854 listeners process it.
2855 (processMouseMotionEvent): ditto.
2856 (processMouseWheelEvent): ditto.
2857 * java/awt/Container.java:
2858 (acquireComponentForMouseEvent):
2859 Do not dispatch to events that have been
2860 removed from the Container.
2861 (handleEvent): Consume the MouseEvents.
2862 * javax/swing/RepaintManager.java:
2863 (paintDirtyRegions): Do not add to list of
2864 damaged areas if the component has no root.
2866 2004-08-31 Michael Koch <konqueror@gmx.de>
2868 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2870 2004-08-31 Mark Wielaard <mark@klomp.org>
2872 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2873 null when a MissingResourceException is thrown. Should never happen.
2875 2004-08-31 Mark Wielaard <mark@klomp.org>
2877 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2878 when argument is null.
2880 2004-08-31 Mark Wielaard <mark@klomp.org>
2882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2883 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2884 Define hid at start of function.
2885 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2888 2004-08-31 Mark Wielaard <mark@klomp.org>
2890 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2891 * javax/swing/JButton.java: Reindent.
2892 * javax/swing/JCheckBox.java: Reindent.
2894 2004-08-31 Mark Wielaard <mark@klomp.org>
2896 * Makefile.am (gtk_c_source_files): Added
2897 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2898 (gtk_awt_peer_sources): Added
2899 gnu/java/awt/peer/gtk/GThreadMutex.java and
2900 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2901 * Makefile.in: Regenerated.
2903 2004-08-31 Archie Cobbs <archie@dellroad.org>
2905 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2907 2004-08-31 Steven Augart <augart@watson.ibm.com>
2909 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2910 Added jfieldID, jmethodID.
2912 2004-08-31 Mark Wielaard <mark@klomp.org>
2914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2915 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2916 gdk_env before calling any gdk or gtk function.
2918 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2919 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2920 (run): Set gtkInitCalled.
2922 2004-08-31 Steven Augart <augart@watson.ibm.com>
2924 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2925 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2928 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2929 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2931 (init_glib_threads): New function.
2933 2004-08-31 Mark Wielaard <mark@klomp.org>
2935 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2936 PRIORITY when not already defined in header file.
2938 2004-08-31 Mark Wielaard <mark@klomp.org>
2940 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2941 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2943 2004-08-31 Steven Augart <augart@watson.ibm.com>
2945 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2946 Implemented missing functions for GTK2.
2947 Added error handling.
2948 Renamed static functions out of the g_ namespace.
2949 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2950 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2951 Rewrote global-reference code.
2952 Eliminated cascading errors.
2953 (mutex_trylock_jni_impl) Fully implemented.
2954 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2956 (setup_cache) New function.
2957 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2958 bug where they were not unlocking the GMutex associated with the
2959 condition variable during the wait on that condition variable.
2961 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2962 native/jni/gtk-peer/gthread-jni.c,
2963 native/jni/gtk-peer/gthread-jni.h
2964 (g_thread_jni_functions): Renamed to ...
2965 (portable_native_sync_jni_functions): this name.
2966 (gdk_vm): Renamed to...
2967 (the_vm): this name.
2969 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2970 (gdk_vm): Removed duplicate definition.
2971 (gtkInit): Removed stray message to stdout.
2972 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2973 (gtkInit): Fix a const assignment bug.
2974 (gtkInit): Simplified code.
2976 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2977 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2978 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2979 gnu/java/awt/peer/gtk/GThreadMutex.java:
2982 2004-08-31 Mark Wielaard <mark@klomp.org>
2984 * javax/swing/Box.java: Put FIXME comment above class declaration.
2985 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2986 * javax/swing/JCheckBox.java: Likewise.
2987 * javax/swing/JDialog.java: Likewise.
2988 * javax/swing/JRadioButton.java: Likewise.
2989 * javax/swing/JToggleButton.java: Likewise.
2990 * javax/swing/UIManager.java: Likewise.
2991 * javax/swing/border/TitledBorder.java: Likewise.
2992 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2993 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2994 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2995 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2996 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2997 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2998 * javax/swing/text/JTextComponent.java: Likewise.
3000 2004-08-31 David Jee <djee@redhat.com>
3003 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3004 (setIconImage): Add a FIXME for unhandled cases.
3006 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3009 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3010 getModifiers. Replace old button masks with new ones.
3011 * gnu/awt/xlib/XEventLoop.java: Likewise.
3012 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3013 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3014 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3015 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3016 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3017 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3018 * java/awt/Component.java: Replace old modifier masks with new
3020 * java/awt/Container.java: Call getModifiersEx, not
3022 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
3024 * javax/swing/JMenuItem.java: Replace old button masks with new
3026 * javax/swing/KeyStroke.java: Call getModifiersEx, not
3028 * javax/swing/SwingUtilities.java: Likewise.
3029 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3030 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3032 mask macros with new ones.
3033 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3034 macros with new ones representing new masks.
3036 2004-08-31 Craig Black <craig.black@aonix.com>
3038 * gnu/java/awt/peer/gtk/GdkGraphics.java
3039 (drawRoundRect): Implemented.
3040 (fillRoundRect): Implemented.
3041 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3042 (drawRoundRect): Reimplemented to match GdkGraphics.
3043 (fillRoundRect): Reimplemented to match GdkGraphics.
3045 2004-08-31 Mark Wielaard <mark@klomp.org>
3047 * Makefile.in: Regenerated.
3049 2004-08-31 Michael Koch <konqueror@gmx.de>
3051 * gnu/java/awt/EmbeddedWindow.java
3052 (addNotify): Use AccessController to allow execution of privileged
3055 2004-08-31 Michael Koch <konqueror@gmx.de>
3057 * gnu/java/awt/EmbeddedWindow.java
3059 (addNotify): Set peer via reflection.
3060 (setWindowPeer): Removed.
3061 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3062 * Makefile.am (nat_source_files):
3063 Removed gnu/java/awt/natEmbeddedWindow.cc.
3065 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3067 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3068 and gnu/java/security/action/SetAccessibleAction.java.
3070 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3072 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3073 Renamed from 'setName'. New 2-argument form with default value.
3074 (run): Pass default 'value' parameter to System.getProperty().
3075 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3078 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3080 * gnu/java/security/action/GetPropertyAction.java: New class.
3081 * gnu/java/security/action/SetAccessibleAction.java: New class.
3083 2004-08-31 David Jee <djee@redhat.com>
3085 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3086 (setIconImage): Check if image is null.
3088 2004-08-31 David Jee <djee@redhat.com>
3090 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3091 (create): Set the icon image.
3092 (nativeSetIconImage): New native method declaration.
3093 (setIconImage): Implement.
3094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3095 (nativeSetIconImage): New function.
3097 2004-08-31 Dalibor Topic <robilad@kaffe.org>
3099 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3100 (filenameFilterCallback): Declare local variable accepted before use.
3102 2004-08-31 Dalibor Topic <robilad@kaffe.org>
3104 * gnu/java/awt/ComponentDataBlitOp.java:
3107 2004-08-31 Tom Tromey <tromey@redhat.com>
3109 * gnu/java/awt/peer/GLightweightPeer.java,
3110 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3111 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3112 javax/swing/JScrollPane.java: Removed
3115 2004-08-31 David Jee <djee@redhat.com>
3117 * java/awt/DefaultKeyboardFocusManager.java
3118 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3119 event. Fix shift modifier checking.
3120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3121 (accel_attach): Remove.
3122 (setupAccelGroup): Remove calls to accel_attach.
3124 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3126 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3127 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3129 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3131 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3132 * Makefile.in: Regenerate.
3133 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3135 (create(String)): New method.
3136 (create): Call new create method.
3137 (getArgs): Remove method.
3138 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3139 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3140 (nativeCreate): Rename to create.
3141 (gtkSetLabel): Rename to gtkButtonSetLabel.
3142 (gtkToggleButtonSetActive): New method.
3143 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3144 (setState): Replace set call with gtkToggleButtonSetActive.
3145 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3146 (getArgs): Remove method.
3147 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3148 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3149 (gtkWidgetSetSensitive): New method.
3150 (gtkWidgetSetParent): Likewise.
3151 (GtkComponentPeer): Call setParent, setComponentBounds and
3152 setVisibleAndEnabled.
3153 (setParent): New method.
3154 (setComponentBounds): New method.
3155 (setVisibleAndEnabled): New method.
3156 (setEnabled): Call gtkWidgetSetSensitive.
3157 (getArgs): Remove method.
3158 Remove all set methods.
3159 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3160 gtkWindowSetModal, setTitle and setResizable.
3161 (getArgs): Remove method.
3162 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3163 (setComponentBounds): New method.
3164 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3165 Replace set call with gtkWindowSetResizable.
3166 (getArgs): Remove method.
3167 (create): Call setTitle and setResizable.
3168 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3169 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3170 (gtkWindowSetTitle): New method.
3171 (gtkWindowSetResizable): New method.
3172 (gtkWindowSetModal): New method.
3173 (setParent): New method.
3174 (setVisibleAndEnabled): New method.
3175 (getArgs): Remove method.
3176 (setTitle): Call gtkWindowSetTitle.
3177 (setResizable): Call gtkWindowSetResizable.
3178 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3179 and off locking instrumentation.
3181 2004-08-31 Kim Ho <kho@redhat.com>
3183 * Makefile.am: Add new file.
3184 * Makefile.in: Regenerate.
3185 * gcj/Makefile.in: Regenerate
3186 * include/Makefile.in:
3187 * java/awt/Container.java:
3188 (acquireComponentForMouseEvent): Respect
3189 the event mask when looking for candidate.
3190 * javax/swing/JComponent.java:
3191 Remove toolTip field.
3192 (createToolTip): Create a tooltip on demand.
3193 (setToolTipText): Register with the ToolTipManager.
3194 (getToolTipText(MouseEvent)): Return getToolTipText().
3195 * javax/swing/JToolTip.java: Implement.
3196 * javax/swing/Timer.java: Jalopy.
3197 (restart): Call stop, then start.
3198 (stop): Interrupt the timer rather than wait for
3199 the timer to come to a stop naturally.
3200 * javax/swing/ToolTipManager.java: Implement.
3201 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3202 Change ToolTip.background color.
3203 * javax/swing/plaf/basic/BasicToolTipUI.java:
3205 * testsuite/Makefile.in: Regenerate
3207 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
3209 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3210 constructor param comments.
3212 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3214 * java/awt/Component.java: Document AWT 1.0 event handler
3217 2004-08-31 Roman Kennke <roman@ontographics.com>
3219 * javax/swing/Box.java:
3220 (createGlue): Implemented
3221 (createHorizontalGlue): Implemented
3222 (createHorizontalStrut): Implemented
3223 (createVerticalGlue): Implemented
3224 (createVerticalStrut): Implemented
3226 2004-08-31 David Jee <djee@redhat.com>
3228 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3229 (GtkChoicePeer): Do not automatically select first item.
3230 (getHistory): Remove.
3231 (nativeGetSelected): New method.
3232 (nativeRemoveAll): New method.
3233 (add): Use nativeGetSelected() instead of getHistory().
3235 (removeAll): Call nativeRemoveAll().
3236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3237 (create): Migrate to GtkComboBox.
3239 (nativeAdd): Likewise.
3240 (nativeRemove): Likewise.
3242 (nativeRemoveAll): New method.
3243 (nativeGetSelected): New method.
3244 (selection_changed): New method.
3245 (getHistory): Remove.
3246 (item_activate): Remove.
3247 (item_removed): Remove.
3248 (connect_choice_item_selectable_hook): Remove.
3250 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3252 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3253 variable in setEditable call.
3255 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3256 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3257 (gtkWidgetSetBackground): New method.
3258 (gtkWidgetSetForeground): Likewise.
3259 (create): Set peer's editable state based on awtComponent's.
3261 * java/awt/Button.java (Button()): Use empty string rather than
3262 null in no-label constructor.
3264 2004-08-31 Roman Kennke <roman@ontographics.com>
3266 * javax/swing/BoxLayout.java: Reimplement.
3268 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3270 * gnu/java/awt/peer/gtk/GdkGraphics.java,
3271 gnu_java_awt_peer_gtk_GdkGraphics.c
3272 (initState(GtkComponentPeer)): Don't return array of colour
3274 (GdkGraphics(int,int)): Set default font to size 12.
3275 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3276 component's foreground colour.
3277 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3278 gnu_java_awt_peer_gtk_GdkGraphics2D.c
3279 (initState(GtkComponentPeer)): Don't return array of colour
3281 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3282 colours to component's colours.
3283 (current_colors_of_widget): Remove function.
3284 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3285 Return a new graphics object.
3286 * java/awt/Font.java (toString): Fix format.
3287 * java/awt/Graphics.java (toString): Likewise.
3289 2004-08-31 Craig Black <craig.black@aonix.com>
3291 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3292 (addTearOff): New function.
3293 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3295 (init): Call addTearOff() when menu.isTearOff().
3297 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3299 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3300 Default implementation.
3301 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3302 Implement using GdkPixbufDecoder.
3304 2004-08-31 David Jee <djee@redhat.com>
3306 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3307 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3308 setting the size of GtkFileDialogPeers.
3309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3310 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3311 use their default sizes rather than their natural requisitions.
3313 2004-08-31 Michael Koch <konqueror@gmx.de>
3315 * javax/swing/JFormattedTextField.java
3316 (JFormattedTextField): Implemented.
3317 * javax/swing/text/DefaultEditorKit.java
3318 (BeepAction): New inner class.
3319 * javax/swing/text/Segment.java
3320 (partialReturn): New field.
3321 (setPartialReturn): New method.
3322 (isPartialReturn): Likewise.
3323 * javax/swing/text/View.java
3324 (createFragment): Fixed typo.
3325 (getStartOffset): New method.
3326 (getEndOffset): Likewise.
3328 2004-08-31 Michael Koch <konqueror@gmx.de>
3330 * javax/swing/table/DefaultTableColumnModel.java
3331 (serialVersionUID): Made private.
3332 (listenerList): Initialize.
3333 (changeEvent): Initialize.
3334 * javax/swing/table/JTableHeader.java
3335 (JTableHeader): New constructors.
3336 (createDefaultColumnModel): New method.
3337 * javax/swing/table/TableColumn.java
3338 (setHeaderRenderer): Simplified code.
3339 (setCellRenderer): Likewise.
3340 (setWidth): Likewise.
3342 2004-08-31 Tom Tromey <tromey@redhat.com>
3344 * java/text/AttributedString.java (AttributedString): Use
3345 ArrayList to build array of attribute ranges. Don't use
3346 `attribs' before it is set.
3348 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3350 * HACKING: Remove reference to special automake. No longer needed.
3352 2004-08-30 Tom Tromey <tromey@redhat.com>
3354 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3355 return result from `add'.
3357 2004-08-30 Tom Tromey <tromey@redhat.com>
3359 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3361 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3363 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3365 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
3367 * java/io/File.java File(String,String): Fixed handling of empty
3370 2004-08-30 Casey Marshall <csm@gnu.org>
3372 Author e-mail updated for all files.
3373 * gnu/java/security/OID.java (equals): Test if the aurgment is an
3375 (compareTo): Use `equals'.
3376 * gnu/java/security/der/BitString.java (equals): Test if the
3377 argument is an instance of BitString.
3378 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
3379 class final. Made fields private.
3380 (<init>): New constructor.
3382 (makeString): Made static; don't use NIO.
3383 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3384 * gnu/java/security/der/DERWriter.java: Fixed imports.
3385 (writeString): Don't use NIO.
3386 (toIso88591, toUtf16Be, toUtf8): New methods.
3387 * gnu/java/security/der/DERValue.java: Formatting changes only.
3388 * gnu/java/security/der/DER.java: Likewise.
3390 2004-08-30 Tom Tromey <tromey@redhat.com>
3392 * java/nio/CharBuffer.java (put): Fix typo.
3393 * java/nio/DoubleBuffer.java (put): Fix typo.
3394 * java/nio/FloatBuffer.java (put): Fix typo.
3395 * java/nio/IntBuffer.java (put): Fix typo.
3396 * java/nio/LongBuffer.java (put): Fix typo.
3397 * java/nio/ShortBuffer.java (put): Fix typo.
3399 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
3401 * java/nio/ByteBuffer.java (put): Fix typo.
3403 2004-08-30 Casey Marshall <csm@gnu.org>
3405 * java/security/DummyKeyPairGenerator.java (clone): Removed
3406 useless instanceof check.
3407 * java/security/DummyMessageDigest.java (clone): Likewise.
3408 * java/security/DummySignature.java (clone): Likewise.
3409 * java/security/MessageDigest.java (clone): Remove useless
3411 * java/security/MessageDigestSpi.java (clone): Likewise.
3412 * java/security/Signature.java (clone): Provide meaningful
3414 * java/security/SignatureSpi.java (clone): Likewise.
3416 2004-08-29 Mark Wielaard <mark@klomp.org>
3418 * java/util/Arrays.java
3419 (sort(byte[], int, int)): Check fromIndex < 0.
3420 (sort(char[], int, int)): Likewise.
3421 (sort(short[], int, int)): Likewise.
3422 (sort(int[], int, int)): Likewise.
3423 (sort(long[], int, int)): Likewise.
3424 (sort(float[], int, int)): Likewise.
3425 (sort(double[], int, int)): Likewise.
3426 (sort(Object[], int, int, Comparator)): Likewise.
3427 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3428 (qsort(char[], int, int)): Likewise.
3429 (qsort(short[], int, int)): Likewise.
3430 (qsort(int[], int, int)): Likewise.
3431 (qsort(long[], int, int)): Likewise.
3432 (qsort(float[], int, int)): Likewise.
3433 (qsort(double[], int, int)): Likewise.
3435 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3437 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3438 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3439 java/util/ArrayList.java, java/util/Arrays.java,
3440 java/util/BitSet.java, java/util/Calendar.java,
3441 java/util/Collection.java, java/util/ListIterator.java,
3442 java/util/Map.java, java/util/SortedSet.java:
3443 Added additional exceptions to documentation, along
3444 with some additions and corrections.
3446 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3448 * configure.ac: Handle --enable-gc-debug.
3449 * configure: Regenerate.
3450 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3451 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3452 Rearrange include file order.
3453 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3454 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3455 (disable_gc_mutex): Delete along with all references.
3456 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3457 adjust for debug header size.
3458 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3460 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3461 (gcj_describe_type_fn): New.
3462 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3463 Register gcj_describe_type_fn.
3464 * include/boehm-gc.h:
3465 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3466 Don't define, but declare, for debug case.
3467 * java/lang/natObject.cc:
3468 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3470 2004-08-26 Mark Wielaard <mark@klomp.org>
3472 Fixes PR libgcj/17002:
3473 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3474 a TimeZoneId string and then try to convert that to a TimeZone with
3475 getDefaultSystemTimeZone(String).
3476 (timezones0): Changed type from Hashtable to HashMap.
3477 (timezones): Create HashMap, not Hashtable.
3478 (getDefaultTimeZone): New method, rewritten from CNI version.
3479 (readTimeZoneFile): New method.
3480 (readtzFile): Likewise.
3481 (skipFully): Likewise.
3482 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3483 getDefaultTimeZoneId and rewritten.
3484 (getDefaultTimeZoneId): Rewritten in java.
3486 2004-08-25 David Daney <daney@avtrex.com>
3488 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3489 * Makefile.in: Regenerated.
3491 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3493 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3494 only if jvmpi is enabled.
3495 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3496 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3497 (_Jv_AllocString): Likewise.
3498 (_Jv_AllocPtrFreeObject): Likewise.
3500 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
3502 * defineclass.cc: Include <stdio.h>.
3503 * java/lang/natClassLoader.cc: Include <stdio.h>.
3505 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3506 Michael Koch <konqueror@gmx.de>
3508 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3509 * Makefile.in: Regenerated.
3511 2004-08-20 Michael Koch <konqueror@gmx.de>
3513 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3514 AC_COMPILE_IFELSE macros.
3516 2004-08-20 Michael Koch <konqueror@gmx.de>
3518 * configure.in: Renamed to configure.ac.
3519 * configure.ac: New file.
3520 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3521 include/config.h.in, testsuite/Makefile.in: Regenerated.
3523 2004-08-20 Michael Koch <konqueror@gmx.de>
3525 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3526 * aclocal.m4, configure: Regenerated.
3528 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3529 Michael Koch <konqueror@gmx.de>
3531 * configure.in, Makefile.am: Ported to automake 1.9.
3532 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3533 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3536 2004-08-19 Tom Tromey <tromey@redhat.com>
3538 * java/net/DatagramSocket.java: Fixed typo.
3540 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3543 * java/net/URI.java (string): New field. Make all other fields
3545 (readObject): Implemented.
3546 (writeObject): Implemented.
3547 (URI): Set 'string'.
3549 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3552 * java/util/logging/Handler.java (isLoggable): Accept record if its
3553 log level equals the threshold level. From Robin Green.
3555 2004-08-18 David Daney <ddaney@avtrex.com>
3557 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3560 2004-08-17 Michael Koch <konqueror@gmx.de>
3562 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3563 * Makefile.in: Regenerated.
3565 2004-08-16 Tom Tromey <tromey@redhat.com>
3568 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3570 2004-08-16 Michael Koch <konqueror@gmx.de>
3573 (math_c_files): Renamed from c_files.
3574 (math_c_source_files): Renamed from c_source_files.
3577 include/Makefile.in,
3578 testsuite/Makefile.in: Regenerated.
3580 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3582 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3583 to avoid autoconf warning.
3584 * configure: Rebuilt.
3586 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3588 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3589 localhostAddress to loopbackAddress.
3590 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3592 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3594 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3595 boehm-gc's include dirs.
3596 * configure: Rebuilt.
3597 * include/boehm-gc.h: Include gc_config.h.
3599 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3601 * java/net/InetAddress.java (loopbackAddress): Renamed from
3603 (getByName): Return loopback address for null hostname, without
3604 security check. Use lookup(), not getAllByName.
3605 (getAllByName): Return loopback address for null hostname, without
3607 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3610 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3613 Reported by Robin Green.
3614 * defineclass.cc (handleField): Don't throw exception on unrecognised
3615 modifier. Add FIXME comments for spec compliance.
3616 (handleMethod): Likewise.
3618 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3621 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3622 (Almost everywhere): add LOG calls, fix, add comments.
3623 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3624 Add explicit check for LOCKED bit in slow case (PR 16662).
3625 (_Jv_MonitorExit): Add casts in debug-only code.
3626 Always release LOCKED bit before throwing exception.
3627 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3628 isn't. Handle easy cases without lock acquisition.
3629 (Object::wait): Use NotifyAll for lock inflation.
3631 2004-08-12 David Daney <ddaney@avtrex.com>
3633 * testsuite/libjava.lang/Process_1.java: New test.
3634 * testsuite/libjava.lang/Process_2.java: New test.
3635 * testsuite/libjava.lang/Process_3.java: New test.
3636 * testsuite/libjava.lang/Process_4.java: New test.
3637 * testsuite/libjava.lang/Process_5.java: New test.
3638 * testsuite/libjava.lang/Process_6.java: New test.
3639 * testsuite/libjava.lang/Process_1.out: Expected result.
3640 * testsuite/libjava.lang/Process_2.out: Expected result.
3641 * testsuite/libjava.lang/Process_3.out: Expected result.
3642 * testsuite/libjava.lang/Process_4.out: Expected result.
3643 * testsuite/libjava.lang/Process_5.out: Expected result.
3644 * testsuite/libjava.lang/Process_6.out: Expected result.
3646 2004-08-12 David Daney <ddaney@avtrex.com>
3649 * java/lang/PosixProcess.java: Rewrote.
3650 * java/lang/natPosixProcess.cc: Rewrote.
3651 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3652 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3653 * posix-threads.cc (block_sigchld) New function.
3654 (_Jv_ThreadRegister) Use it.
3655 (_Jv_ThreadStart) Use it.
3656 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3657 * Makefile.am: ... to specify extra native headers.
3658 * configure: Regenerated.
3659 * include/config.h: Regenerated.
3660 * Makefile.in: Regenerated.
3661 * gcj/Makefile.in: Regenerated.
3662 * include/Makefile.in: Regenerated.
3663 * testsuite/Makefile.in: Regenerated.
3665 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3667 PR tree-optimization/16867
3668 * testsuite/libjava.lang/PR16867.java: New test.
3670 2004-08-09 Per Bothner <per@bothner.com>
3672 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3673 with private fields and access methods.
3674 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3675 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3676 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3677 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3678 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3679 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3681 * resolve.cc: Likewise.
3682 * gcj/field.h: Likewise.
3683 * include/jvm.h: Likewise.
3684 * java/lang/Class.h: Likewise.
3685 * java/lang/natClass.cc: Likwise.
3686 * java/lang/natClassLoader.cc: Likewise
3687 * java/lang/reflect/natMethod.cc: Likewise
3688 * verify.cc: Likewise.
3689 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3690 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3692 2004-08-10 Andrew Haley <aph@redhat.com>
3694 * testsuite/libjava.lang/err14.java: New file.
3695 * testsuite/libjava.lang/err14.out: New file.
3697 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3699 * Makefile.am: Fix missing rename from x_nat_headers to
3701 * Makefile.in: Regenerated.
3703 2004-08-04 Andrew Haley <aph@redhat.com>
3705 * java/security/BasicPermission.java: Don't check wildcards.
3707 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3708 Michael Koch <konqueror@gmx.de>
3710 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3711 * configure.in: Replaced all usages of AC_LINK_FILES by
3714 configure: Regenerated.
3716 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3717 Michael Koch <konqueror@gmx.de>
3719 * acconfig.h: Removed.
3720 * Makefile.am: Rename variables for xlib peer to include xlib and
3721 gtk_c_headers to gtk_jni_headers.
3722 * Makefile.in: Regenerated.
3724 2004-08-04 Andrew Haley <aph@redhat.com>
3726 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3729 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3731 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3732 Replace most top level 'dnl' comments with '#' comments, conforming
3733 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3735 * configure: Rebuilt.
3737 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3739 * acinclude.m4: Include no-executables.m4.
3740 * aclocal.m4: Rebuild.
3741 * configure.in: Convert to the autoconf 2.59 version of
3742 of the no-executables hack, and also of the nonstandard CXX
3743 hack and the multilibbed CC and CXX hack. Change prerequisite
3745 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3746 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3747 testsuite/Makefile.in: Regenerate.
3749 2004-08-03 Tom Tromey <tromey@redhat.com>
3751 * jni.cc: Reindented.
3753 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3755 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3757 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3759 * testsuite/libjava.compile/PR16701.java: New test.
3761 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3763 * java/util/Collection.java, java/util/List.java,
3764 java/util/Map.java, java/util/Set.java,
3765 java/util/SortedMap.java, java/util/SortedSet.java:
3766 Added additional exceptions to documentation.
3768 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3771 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3772 * configure. Regenerate.
3773 * include/win32.h: Explicitly include winsock2.h
3774 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3777 2004-07-30 Michael Koch <konqueror@gmx.de>
3779 * java/util/zip/GZIPInputStream.java
3780 (GZIPInputStream): Increase buffer size to 4k.
3781 * java/util/zip/GZIPOutputStream.java
3782 (GZIPOutputStream): Likewise.
3783 * java/util/zip/Inflater.java
3784 (setInput): Merged formating with GNU classpath.
3785 * java/util/zip/InflaterInputStream.java
3786 (InflaterInputStream): Increase buffer size to 4k.
3787 (fill): Throw exception if stream ends early.
3788 (read): Merged endless-loop with GNU classpath.
3789 (skip): Increase buffer size to 2k.
3791 2004-07-30 Michael Koch <konqueror@gmx.de>
3793 * gnu/java/awt/EmbeddedWindow.java
3794 (addNotify): Use AccessController to allow execution of privileged
3797 2004-07-29 Michael Koch <konqueror@gmx.de>
3799 * gnu/java/lang/MainThread.java:
3800 Explicitely import used classes.
3801 (args): Make it type String[].
3803 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3805 * gnu/java/awt/ComponentDataBlitOp.java,
3806 gnu/java/beans/ExplicitBeanInfo.java,
3807 gnu/java/beans/IntrospectionIncubator.java,
3808 gnu/java/beans/editors/ColorEditor.java,
3809 gnu/java/beans/editors/FontEditor.java,
3810 gnu/java/beans/editors/NativeBooleanEditor.java,
3811 gnu/java/beans/editors/NativeByteEditor.java,
3812 gnu/java/beans/editors/NativeDoubleEditor.java,
3813 gnu/java/beans/editors/NativeFloatEditor.java,
3814 gnu/java/beans/editors/NativeIntEditor.java,
3815 gnu/java/beans/editors/NativeLongEditor.java,
3816 gnu/java/beans/editors/NativeShortEditor.java,
3817 gnu/java/beans/editors/StringEditor.java,
3818 gnu/java/io/ClassLoaderObjectInputStream.java,
3819 gnu/java/io/decode/Decoder.java,
3820 gnu/java/io/encode/Encoder.java,
3821 gnu/java/lang/ClassHelper.java,
3822 gnu/java/locale/Calendar.java,
3823 gnu/java/locale/Calendar_de.java,
3824 gnu/java/locale/Calendar_en.java,
3825 gnu/java/locale/Calendar_nl.java,
3826 gnu/java/locale/LocaleInformation_de.java,
3827 gnu/java/locale/LocaleInformation_en.java,
3828 gnu/java/locale/LocaleInformation_nl.java:
3831 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3833 * README: Remove obsolete info. Update bug URL.
3835 * NEWS: Updated with news up to GCC 3.4 release.
3837 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3839 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3840 Renamed from 'setName'. New 2-argument form with default value.
3841 (run): Pass default 'value' parameter to System.getProperty().
3842 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3844 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3847 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3849 * configure.in: Check for minimum GTK version 2.4 requirement.
3850 * configure: Rebuilt.
3852 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3854 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3855 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3857 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3859 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3860 address. Reduce sleep times. Synchronize with target threads before
3861 attempting to interrupt them. Don't try to calibrate yeild count,
3862 instead, always loop for a fixed time.
3863 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3864 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3865 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3866 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3867 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3868 * testsuite/libjava.lang/pr179.java: Likewise.
3869 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3870 time. Remove upper bounds check on sleep time.
3872 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3874 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3875 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3877 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3879 * java/io/File.java (toURI): Throw RuntimeException, not
3881 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3882 class name, not instance.
3884 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3886 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3887 and gnu/java/security/action/SetAccessibleAction.java.
3888 * Makefile.in: Rebuilt.
3890 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3892 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3893 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3895 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3896 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3897 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3899 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3901 * Makefile.am: Replace jar, rmic and rmiregistry references with
3902 gjar, grmic and grmiregistry.
3903 * configure.in: Likewise.
3904 * Makefile.in: Regenerate.
3905 * configure: Likewise.
3906 * gcj/Makefile.in: Likewise.
3907 * include/Makefile.in: Likewise.
3908 * testsuite/Makefile.in: Likewise.
3910 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3912 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3913 for privileged getProperty calls.
3914 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3915 SetAccessibleAction instead of anonymous class for doPrivileged call.
3916 (getMethod): Likewise.
3917 (setAccessible): New field. PrivilegedAction object to use when
3918 calling setAccessible.
3919 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3920 SetAccessibleAction instead of anonymous class for diPrivileged call.
3921 (setFields): Likewise.
3922 (getClassUID): Likewise.
3923 (findMethod): Likewise.
3924 * gnu/java/security/action/GetPropertyAction.java: New class.
3925 * gnu/java/security/action/SetAccessibleAction.java: New class.
3927 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3929 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3931 * testsuite/libjava.lang/Serialization.java: New test.
3932 * testsuite/libjava.lang/Serialization.out: New.
3934 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3936 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3937 missed in last commit.
3939 2004-07-23 Mark Wielaard <mark@klomp.org>
3941 * java/lang/System.java (static): Set http.agent system property when
3943 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3944 from system property inside AccessController.doPrivileged() call.
3945 (proxyPort): Made package private.
3946 (proxyInUse): Likewise.
3947 (proxyHost): Likewise.
3948 (userAgent): Likewise.
3950 2004-07-23 Mark Wielaard <mark@klomp.org>
3952 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3955 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3957 * Makefile.am (ordinary_java_source_files): Add
3958 DefaultContentHandlerFactory.java.
3959 * Makefile.in: Rebuilt.
3960 * java/net/URLConnection.java (defaultFactory): New field.
3962 (getContentHandler): Renamed from 'setContentHandler'. Try
3963 defaultFactory after user-set factory, if any. Search for content
3964 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3965 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3967 (getLastModified): Implemented.
3968 (getPermission): Create file permission here, instead of in
3970 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3972 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3974 (getLastModified): Implemented.
3975 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3976 Default implementation.
3977 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3978 Implement using GdkPixbufDecoder.
3980 2004-07-21 Michael Koch <konqueror@gmx.de>
3982 * javax/swing/JTextArea.java
3983 (setLineWrap): Fire property change event after new value is set.
3984 (setTabSize): Likewise.
3986 2004-07-21 Michael Koch <konqueror@gmx.de>
3988 * javax/swing/JTable.java
3989 (autoCreateColumnsFromModel): New field.
3990 (autoResizeMode): Likewise.
3991 (cellEditor): Likewise.
3992 (cellSelectionEnabled): Likewise.
3993 (columnModel): Likewise.
3994 (dataModel): Likewise.
3995 (defaultEditorsByColumnClass): Likewise.
3996 (defaultRenderersByColumnClass): Likewise.
3997 (editingColumn): Likewise.
3998 (editingRow): Likewise.
3999 (gridColor): Likewise.
4000 (preferredViewportSize): Likewise.
4001 (rowHeight): Likewise.
4002 (rowMargin): Likewise.
4003 (rowSelectionAllowed): Likewise.
4004 (selectionBackground): Likewise.
4005 (selectionForeground): Likewise.
4006 (selectionModel): Likewise.
4007 (showHorizontalLines): Likewise.
4008 (showVerticalLines): Likewise.
4009 (tableHeader): Likewise.
4010 (JTable): Implemented.
4011 (getColumnModel): Likewise.
4012 (getSelectedRow): Likewise.
4013 (getSelectionModel): Likewise.
4014 (setModel): Likewise.
4015 (setSelectionModel): Likewise.
4016 (createScrollPaneForTable): New method.
4017 (createDefaultDataModel): Likewise.
4018 (createDefaultListSelectionModel): Likewise.
4019 (getModel): Likewise.
4020 (getTableHeader): Likewise.
4021 (setTableHeader): Likewise.
4022 (getColumnSelectionAllowed): Likewise.
4023 (setColumnSelectionAllowed): Likewise.
4024 (getRowSelectionAllowed): Likewise.
4025 (setRowSelectionAllowed): Likewise.
4026 (getAutoResizeMode): Likewise.
4027 (setAutoResizeMode): Likewise.
4028 (getColumnCount): Likewise.
4029 (getRowCount): Likewise.
4030 (getCellRenderer): Likewise.
4031 * javax/swing/JTree.java
4032 (cellRenderer): New field.
4033 (editable): Likewise.
4034 (rootVisible): Likewise.
4035 (showsRootHandles): Likewise.
4036 (getModel): New method.
4037 (setModel): Likewise.
4038 (isEditable): Likewise.
4039 (setEditable): Likewise.
4040 (isRootVisbile): Likewise.
4041 (setRootVisible): Likewise.
4042 (getShowsRootHandles): Likewise.
4043 (setShowRootHandles): Likewise.
4044 (getCellRenderer): Likewise.
4045 (setCellRenderer): Likewise.
4047 2004-07-21 Michael Koch <konqueror@gmx.de>
4049 * javax/swing/JFormattedTextField.java
4050 (setDocument): Implemented.
4051 * javax/swing/JRootPane.java:
4053 * javax/swing/JTable.java
4054 (getDefaultRenderer): New method.
4055 * javax/swing/JTextField.java
4056 (setFont): Likewise.
4057 (getPreferredSize): Likewise.
4058 * javax/swing/JToggleButton.java
4059 (getAccessibleContext): Fix javadoc.
4060 * javax/swing/JTree.java:
4062 * javax/swing/JViewport.java:
4065 2004-07-21 David Jee <djee@redhat.com>
4067 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4068 Collect all native method declaration at the top.
4069 (create): Set the filename filter if necessary.
4070 (setDirectory): Call nativeSetDirectory().
4071 (setFilenameFilter): Implement.
4072 (filenameFilterCallback): New method.
4073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4074 (create): Configure dialog to show hidden files.
4075 (filenameFilterCallback): New function.
4076 (nativeSetFilenameFilter): New function.
4077 (nativeSetDirectory): New function.
4079 2004-07-21 Kim Ho <kho@redhat.com>
4081 * javax/swing/plaf/basic/BasicSliderUI.java:
4083 (paintTrack): Fill the track before painting
4086 2004-07-21 Graydon Hoare <graydon@redhat.com>
4088 patch from Roman Kennke <roman@ontographics.com>
4089 * javax/swing/Spring.java: New file.
4090 * javax/swing/SpringLayout.java: New file.
4091 * Makefile.am: Add new files.
4092 * Makefile.in: Regenerate.
4094 2004-07-21 Graydon Hoare <graydon@redhat.com>
4096 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4097 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4098 * javax/swing/ScrollPaneLayout.java: Likewise.
4100 2004-07-21 Kim Ho <kho@redhat.com>
4102 * javax/swing/DefaultDesktopManager.java:
4103 (findMinimum): Removed.
4104 (resizeFrame): Trust the UI to pass valid
4106 * javax/swing/JOptionPane.java:
4107 Implemented showInternalXXXDialog methods.
4108 (startModal): New method.
4109 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4110 (BorderListener::mouseDragged): Verify that the new
4111 bounds are valid before passing them to the DesktopManager.
4112 (preferredLayoutSize): Delegate
4114 (minimumLayoutSize): Ditto.
4115 (getSize): New method.
4116 (GlassPaneDispatcher): Reimplemented by copying
4117 a stripped down LightweightDispatcher from Container.
4118 (getMinimumSize): Call minimumLayoutSize.
4119 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4121 (mousePressed): Add ability to properly close
4123 * javax/swing/plaf/basic/BasicToolBarUI.java:
4124 (DragWindow): Set owner for DragWindow.
4126 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4128 * java/awt/image/ShortLookupTable.java: New file.
4129 * java/awt/image/ByteLookupTable.java: New file.
4130 * Makefile.am: Added new files.
4131 * Makefile.in: Regenerated.
4133 2004-07-21 David Jee <djee@redhat.com>
4135 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4136 (create(GtkContainerPeer)): New native method.
4137 (create()): Call native create(), passing in the parent frame
4138 as the paramter. Natively set the current file and directory.
4139 (setFile): Construct an absolute filename before passing it to
4141 (nativeGetDirectory): New method.
4142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4143 (window_closed): Removed.
4144 (ok_clicked): Likewise.
4145 (cancel_clicked): Likewise.
4146 (handle_response): New method.
4147 (create): Use GtkFileChooserDialog.
4148 (connectSignals): Connect to handle_response.
4149 (nativeGetDirectory): New method.
4150 (nativeSetFile): Use GtkFileChooserDialog.
4152 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4154 * java/awt/image/LookupTable.java: New file.
4155 * Makefile.am: Added new file.
4156 * Makefile.in: Regenerated.
4158 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4160 * java/awt/image/Kernel.java: New file.
4161 * Makefile.am: Added new file.
4162 * Makefile.in: Regenerated.
4164 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4166 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4167 * javax/swing/JMenu.java: Likewise.
4168 * javax/swing/JMenuBar.java: Likewise.
4169 (MARGIN_CHANGED_PROPERTY): New property.
4170 (setMargin): Implemented.
4171 * javax/swing/JMenuItem.java: Fixed javadocs.
4172 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4173 (LABEL_CHANGED_PROPERTY): New property.
4174 (add): changed to use createActionComponent.
4175 (createActionComponent): Implemented.
4176 (setLabel): Fire PropertyChangeEvent if label property
4178 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4179 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4180 (ContainerHandler): Repaint if margin property has changed.
4181 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4182 (installUI): Call installComponents().
4183 (uninstallUI): Call uinstallComponents().
4184 * javax/swing/plaf/basic/BasicMenuUI.java:
4186 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4189 2004-07-21 Kim Ho <kho@redhat.com>
4191 * javax/swing/plaf/basic/BasicToolBarUI.java:
4192 (DragWindow): Use the right constructor.
4194 2004-07-21 Kim Ho <kho@redhat.com>
4196 * javax/swing/JToolBar.java:
4197 (layoutContainer): Use getComponents.
4198 * javax/swing/plaf/basic/BasicToolBarUI.java:
4199 (DragWindow): Don't use SwingUtilities'
4201 (ToolBarDialog): ditto.
4203 2004-07-21 Kim Ho <kho@redhat.com>
4205 * javax/swing/JRootPane.java:
4207 (layoutContainer): Set the glasspane's size to
4208 be the same as the content pane.
4209 (createGlassPane): Set opaque property to false.
4211 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4213 * java/awt/Component.java (requestFocus()): Don't handle Panels
4215 (requestFocus(boolean)): Likewise.
4216 (requestFocusInWindow(boolean)): Likewise.
4217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4218 Set GTK_CAN_FOCUS flag.
4220 2004-07-21 Kim Ho <kho@redhat.com>
4222 * Makefile.am: Added new file.
4223 * Makefile.in: Regenerated.
4224 * gcj/Makefile.in: Regenerated.
4225 * include/Makefile.in: Regenerated.
4226 * javax/swing/AbstractButton.java:
4227 Add rollOverEnabled property.
4228 (setRolloverEnabled): Use new property.
4229 (isRolloverEnabled): Use new property.
4230 * javax/swing/JTabbedPane.java:
4231 (setComponent): Remove useless JTabbedPane.this.
4232 * javax/swing/JToolBar.java: Finish implementation.
4233 * javax/swing/plaf/basic/BasicArrowButton.java:
4234 (paint): Moved border painting to a border.
4235 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4236 Change JToolBar look and feel defaults.
4237 * javax/swing/plaf/basic/BasicOptionPaneUI.java
4238 (actionPerformed): Return Integer index instead of name.
4239 (addButtonComponents): Check to see if component is
4241 (createMessageArea): Don't use components that are not
4243 (getIconForType): Use temporary icons.
4244 * javax/swing/plaf/basic/BasicSliderUI.java:
4245 (mousePressed): Do not return if it's on thumb.
4246 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4247 (paintMinorTickForVertSlider): ditto.
4248 (paintMajorTickForHorizSlider): ditto.
4249 (paintMajorTickForVertSlider): ditto.
4250 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4251 Add a border around the SplitPaneDivider.
4252 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4254 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4255 New file. Implemented.
4256 * javax/swing/plaf/basic/BasicToolBarUI.java:
4258 * testsuite/Makefile.in: Regenerated.
4260 2004-07-21 Graydon Hoare <graydon@redhat.com>
4262 * javax/swing/Timer.java (run): Queue events each time cycle.
4264 2004-07-21 David Jee <djee@redhat.com>
4266 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4267 (imageComplete): Call image.imageComplete().
4268 * java/awt/image/MemoryImageSource.java:
4269 Reimplement consumers as a Vector instead of a Hashtable. This is
4270 because enumeration on a Hashtable is not thread-safe.
4271 (addConsumer): Adapt to Vector consumers.
4272 (isConsumer): Adapt to Vector consumers.
4273 (removeConsumer): Adapt to Vector consumers.
4274 (startProduction): Adapt to Vector consumers. Call imageComplete()
4275 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4276 (newPixels): Adapt to Vector consumers.
4277 (sendPicture): Set the color model of the image consumer.
4278 (newPixels(IIII)): Adapt to Vector consumers.
4279 (newPixels(IIIIB)): Adapt to Vector consumers.
4281 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4283 * java/awt/Component.java (deliverEvent): Implement.
4284 (postEvent): Implement.
4285 (handleEvent): Implement.
4286 (translateEvent): New method.
4287 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
4288 * java/awt/Container.java (deliverEvent): Implement.
4289 * java/awt/Event.java (paramString): Fix formatting.
4290 * java/awt/Font.java (toString): Likewise.
4291 * java/awt/Window.java (postEvent): Implement.
4293 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4295 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4296 Set window's focus owner upon receiving a FOCUS_LOST event.
4297 * java/awt/Window.java (Window()): Refocus the previously
4298 focused component within the window when the window regains the
4300 (setFocusOwner): New method.
4301 * java/awt/Component.java (requestFocus): Add FIXME.
4303 * libgcj.pc.in: Remove library flags.
4305 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4307 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4308 MOUSE_PRESSED event.
4309 * java/awt/Component.java (requestFocus()): Handle Panel
4310 specially. Post FOCUS_LOST event on opposite component.
4311 (requestFocus(boolean)): Likewise.
4312 (requestFocusInWindow(boolean)): Likewise.
4313 (paramString): Reorder dimension fields.
4314 * java/awt/Container.java (paramString): Fix string format.
4315 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4316 Handle FOCUS_LOST events. Don't handle Windows specially. Only
4317 process key events if the focus owner is non-null.
4318 (dispatchKeyEvent): Likewise.
4319 * java/awt/Frame.java (paramString): Fix formatting.
4320 (generateName): New method.
4321 (getUniqueLong): Likewise.
4322 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4323 the temporary focus owner is null. If so, return the permanent
4325 * java/awt/Panel.java (generateName): New method.
4326 (getUniqueLong): Likewise.
4327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4328 signal handling to make callbacks more specific.
4330 2004-07-21 Michael Koch <konqueror@gmx.de>
4332 * javax/swing/text/Position.java
4333 (Bias): Implemented.
4335 2004-07-21 Michael Koch <konqueror@gmx.de>
4337 * javax/swing/LookAndFeel.java
4338 (provideErrorFeedback): New method.
4340 2004-07-21 Michael Koch <konqueror@gmx.de>
4342 * javax/swing/JTextArea.java
4343 (tabSize): New field.
4344 (getTabSize): New method.
4345 (setTabSize): Likewise.
4347 2004-07-21 Michael Koch <konqueror@gmx.de>
4349 * javax/swing/ActionMap.java:
4350 Fixed javadocs all over.
4351 (serialVersionUID): Made private.
4352 (parent): Don't explicitely initialize with default value.
4354 (keys): Reimplemented.
4355 (allKeys): Likewise.
4356 (convertSet): Removed.
4357 * javax/swing/ComponentInputMap.java:
4358 Fixed javadocs all over.
4359 (ComponentInputMap): Implemented.
4363 (SetParent): Likewise.
4364 (getComponent): Likewise.
4365 * javax/swing/InputMap.java:
4366 Fixed javadocs all over.
4367 (serialVersionUID): Made private.
4368 (parent): Don't explicitely initialize with default value.
4370 (keys): Reimplemented.
4371 (allKeys): Likewise.
4372 (convertSet): Removed.
4374 2004-07-21 Michael Koch <konqueror@gmx.de>
4376 * javax/swing/ActionMap.java,
4377 javax/swing/ComponentInputMap.java,
4378 javax/swing/InputMap.java,
4379 javax/swing/table/DefaultTableColumnModel.java,
4380 javax/swing/table/TableColumn.java,
4381 javax/swing/table/TableColumnModel.java,
4382 javax/swing/table/TableModel.java,
4383 javax/swing/text/AbstractDocument.java,
4384 javax/swing/text/TextAction.java:
4387 2004-07-21 Graydon Hoare <graydon@redhat.com>
4389 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
4390 Make method non-static.
4391 * javax/swing/AbstractButton.java:
4392 Rename fields to match property names where possible.
4393 (iconTextGap): New property.
4394 * javax/swing/JCheckBox.java: Match AbstractButton changes.
4395 (init) New method, call from after various constructors.
4396 * javax/swing/JComponent.java (revalidate):
4397 Invalidate before queueing repair.
4398 * javax/swing/JList.java (getPreferredScrollableViewportSize):
4399 Reimplement in terms of visibleRowCount property.
4400 * javax/swing/JMenuButton.java: Match AbstractButton changes.
4401 * javax/swing/JScrollPane.java (createScrollListener):
4402 Remove tracing chatter.
4403 * javax/swing/JToggleButton.java: Match AbstractButton changes.
4404 * javax/swing/RepaintManager.java (addInvalidComponent):
4406 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4408 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
4409 Mimic sun behavior on top left/right positioning.
4410 * javax/swing/ViewportLayout.java (preferredLayoutSize):
4411 Remove mistaken use of preferredScrollableViewportSize here.
4412 (layoutContainer): Use view's preferred size as basis.
4413 * javax/swing/plaf/basic/BasicButtonUI.java:
4414 Set, get, and use textIconGap property.
4415 (paint) Paint text returned from layout (with ellipsis).
4416 * javax/swing/plaf/basic/BasicListUI.java:
4417 Remove tracing chatter, correct various minor calculations.
4418 (getCellBounds): Update layout state before calculating.
4419 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4420 Use margin default similar to sun's.
4421 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4422 (createIncreaseIcon): Center icon, minimize margins.
4423 (createDecreaseIcon): Likewise.
4424 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4426 (installUI): Call it.
4427 (uninstallDefaults): Implement.
4428 (uninstallUI): Call it.
4429 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4430 Call existing Window constructor.
4431 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4432 Set clip before painting.
4434 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4436 * javax/swing/JMenuItem.java:
4437 (processMouseEvent): Reimplemented to deal with
4439 (createMenuDragMouseEvent): New private helper method.
4440 Creates MenuDragMouseEvent.
4441 * javax/swing/MenuSelectionManager.java
4442 (componentForPoint): Implemented.
4443 (isComponentPartOfCurrentMenu): Made public.
4444 (processMouseEvent): Reimplemented to deal with
4446 (setSelectedPath): Corrected small mistake that caused
4447 path to be set incorrectly.
4448 (getPath): If given component is JMenu then also add this
4449 menu's popup menu to the selected path.
4450 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4452 (getPreferredSize): Call getPreferredMenuItemSize().
4453 (getPreferredItemSize): Moved code from getPreferredSize to here.
4454 (installListeners): Install MouseMotionListeners.
4455 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4456 if mouse wasn't released in the bounds of this menu item.
4457 (MenuDragMouseHandler): Implemented.
4458 * javax/swing/plaf/basic/BasicMenuUI.java:
4459 (installListeners): Install MouseMotionListener and
4460 MenuDrageMouseListener.
4461 (MenuDragMouseHandler): Implemented.
4462 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4463 (uninstallListeners): Implemented.
4465 2004-07-21 Michael Koch <konqueror@gmx.de>
4467 * javax/swing/JCheckBox.java: Reformated.
4468 (JCheckBox): Fixed all constructors.
4469 (isBorderPaintedFlat): New method.
4470 (setBorderPaintedFlat): New method.
4471 * javax/swing/JEditorPane.java
4472 (createEditorKitForContentType): Made public.
4473 (scrollToReference): Likewise.
4474 * javax/swing/JTextArea.java
4475 (setLineWrap): Fire property change.
4476 * javax/swing/JToggleButton.java
4477 (JToggleButton): New constructor.
4478 (JToggleButton): Simplified.
4479 * javax/swing/text/AttributeSet.java
4480 (FontAttribute): Renamed from FontCharacterAttribute.
4481 * javax/swing/text/JTextComponent.java
4482 (KeyBinBinding): Added javadoc.
4483 (JTextComponent): Likewise.
4484 (getAccessibleContext): Fixed javadoc.
4485 * javax/swing/text/View.java
4486 (View): Added javadoc.
4487 * javax/swing/text/TabableView.java: New file.
4488 * Makefile.am: Added javax/swing/text/TabableView.java.
4489 * Makefile.in: Regenerated.
4491 2004-07-21 Graydon Hoare <graydon@redhat.com>
4493 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4494 * gnu/java/awt/peer/gtk/GtkToolkit.java
4495 (GtkErrorImage): New helper class.
4496 (bufferedImageOrError): New helper method.
4497 (createImage): Use it.
4499 2004-07-21 David Jee <djee@redhat.com>
4501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4502 (setCaretPosition): Scroll the text view so the new caret position
4503 is visible on screen.
4505 2004-07-21 David Jee <djee@redhat.com>
4507 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4508 (setBounds): Do not validate awtComponent here.
4509 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4510 (getPreferredSize): New method.
4511 * java/awt/ScrollPane.java
4512 (ScrollPane): Set default size to 100x100.
4513 (addNotify): If child is not a Panel, wrap it with a new Panel.
4514 (paramString): Implement.
4516 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4518 * javax/swing/JMenu.java:
4519 (setSelected): Display popup menu only if this menu
4520 is showing on the screen.
4521 * javax/swing/JPopupMenu.java:
4522 (processMouseEvent): Added comment.
4523 (processKeyEvent): Likewise.
4524 * javax/swing/MenuSelectionManager.java:
4525 (clearSelectedPath): Only fireStateChanged() after
4526 selected path was changed, not before.
4527 (setSelectedPath): Likewise.
4528 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4529 (paintMenuItem): Corrected position of menu item's
4531 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4532 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4533 (popupMenuCanceled): Reimplemented.
4534 (popupMenuWillBecomeVisible): Select first menu item by default
4535 when displaying free floating popup menus.
4536 (TopWindowListener): Reimplemented.
4538 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4540 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4541 Panel from being painted twice when it is first shown.
4543 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4545 * java/awt/Window.java: Reverted changes from my
4546 previous patch for creating window without an owner.
4547 * javax/swing/SwingUtilities.java:
4548 (SwingUtilities.OwnerFrame): made static.
4549 (OwnerFrame.setVisible): New method. Overridden with
4550 empty implementation.
4551 (OwnerFrame.isShowing): New method. Ovverridden
4552 to return always true.
4554 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4556 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4557 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4558 (GtkComponentPeer): Remove temporary try/catch block.
4559 (setVisible): Call show and hide.
4560 (show): Make native.
4562 (getArgs): Don't add "visible" argument.
4563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4564 (property_notify_predicate): Return Bool instead of int.
4565 (find_layout): New function.
4566 (connectJObject): Call find_layout.
4567 (connectSignals): Likewise.
4568 (moveLayout): Likewise.
4569 (gtkLayoutSetVisible): Likewise.
4571 2004-07-21 Mark Wielaard <mark@klomp.org>
4573 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4574 on notifier object before calling notifyAll().
4576 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4578 * java/awt/Window.java: Changed constructors to use new
4579 method that is described below. Constructors call this
4580 methods only if newly created window should have an owner.
4581 (setWindowOwner): New method. Implementation for
4582 this method is moved from this(owner,configuration).
4583 * javax/swing/JWindow.java:
4584 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4586 * javax/swing/SwingUtilities.java:
4587 (ownerFrame): Change type of this field to OwnerFrame.
4588 (getOwnerFrame): Changed to return object of type OwnerFrame.
4589 (SwingUtilities.OwnerFrame): New class. Represents owner
4590 of a Window that is not provided with one.
4592 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4594 * javax/swing/AbstractButton.java:
4595 (configurePropertiesFromAction): Set action command
4596 to button's text by default if action command is not
4597 explicitely specified.
4598 * javax/swing/JMenu.java: Remove unnecessary listener
4599 and methods relevant to it.
4600 (setSelected): Reimplemented.
4601 (menuSelectionChanged): Moved most part of implementation to
4602 setSelected() and call it instead.
4603 * javax/swing/JMenuItem.java:
4604 (init): Comment out statement that sets paint_border to false.
4605 (configurePropertiesFromAction): Do not set accelerator
4607 (menuSelectionChanged): Change selected index in the selection
4608 model of menu item's parent.
4609 * javax/swing/JPopupMenu.java:
4610 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4611 instead of GridBagConstraints.HORIZONTAL.
4613 (createActionChangeListener): Implemented.
4614 (setVisible): Correct location of HeavyWeightMenu and
4615 don't firePopupMenuCanceled().
4616 (menuSelectionChanged): Implemented.
4617 (ActionChangeListener): New Listener. Implemented.
4618 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4619 (BasicMenuBarUI.ContainerHandler): Implemented.
4620 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4621 (paintMenuItem): Uncommented out code that paints
4622 icon, now that icons are working properly.
4623 (PropertyChangeListener): Implemented.
4624 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4626 (topWindowListener): New field.
4627 (Constructor): initialize topWindowListener.
4628 (BasicPopupMenuUI.TopWindowListener): Implemented.
4629 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4630 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4633 2004-07-21 Michael Koch <konqueror@gmx.de>
4635 * javax/swing/plaf/basic/BasicButtonUI.java
4636 (paintFocus): Fixed method signature.
4637 (paintButtonPressed): Likewise.
4638 (paintButtonNormal): Likewise.
4639 (paintText): New method.
4640 * javax/swing/plaf/basic/BasicLabelUI.java
4641 (paint): Re-indented.
4642 * javax/swing/plaf/basic/BasicTextUI.java
4643 (installUI): Set parent textComponent to opaque.
4644 * javax/swing/text/DefaultHighlighter.java
4645 (checkPositions): New helper method.
4646 (addHighlight): Throws BadLocationException, check positions.
4647 (changeHighlight): Likewise.
4648 * javax/swing/text/EditorKit.java
4649 (EditorKit): Implements Serializable.
4650 * javax/swing/text/JTextComponent.java
4651 (getUI): Added javadoc.
4653 (upadteUI): Added javadoc, don't revalidate and repaint.
4655 2004-07-21 David Jee <djee@redhat.com>
4657 * java/awt/GridBagLayout.java
4658 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4659 * javax/swing/AbstractButton.java
4660 (setText): Reindent.
4661 * javax/swing/RepaintManager.java
4662 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4664 2004-07-21 Michael Koch <konqueror@gmx.de>
4666 * javax/swing/JFormattedTextField.java
4668 (JFormattedTextField): Implemented.
4669 (getValue): Likewise.
4670 (setValue): Likewise.
4671 * javax/swing/LookAndFeel.java
4672 (getSupportsWindowDecorations): New method.
4673 * javax/swing/UIDefaults.java:
4674 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4675 (addPropertyChangeListener): Made public.
4676 (addResourceBundle): Likewise.
4677 (removeResourceBundle): Likewise.
4678 (setDefaultLocale): Likewise.
4679 * javax/swing/plaf/basic/BasicRootPaneUI.java
4680 (BasicRootPaneUI): Implements PropertyChangeListener.
4681 (propertyChange): New method.
4682 * javax/swing/plaf/basic/BasicTextUI.java
4683 (BasicHighlighter): New inner class.
4684 (createHighlighter): New method.
4685 * javax/swing/plaf/basic/BasicToolBarUI.java
4686 (DragWindow): Extends java.awt.Window.
4687 * javax/swing/text/JTextComponent.java
4688 (getDocument): Removed debug output.
4689 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4690 javax/swing/text/DefaultHighlighter.java,
4691 javax/swing/text/FieldView.java,
4692 javax/swing/text/PlainView.java: New files.
4693 * Makefile.am: Added new files.
4694 * Makefile.in: Regenerated.
4696 2004-07-21 Michael Koch <konqueror@gmx.de>
4698 * javax/swing/JEditorPane.java
4699 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4700 (createEditorKitForContentType): Likewise.
4701 * javax/swing/text/DefaultEditorKit.java
4702 (serialVersionUID): Added constant field.
4703 (EndOfLineStringPropery): Fixed typo.
4704 (DefaultEditorKit): New constructor.
4705 * javax/swing/text/Segment.java:
4706 Import java.text.CharacterIterator.
4707 * javax/swing/text/CharacterIterator.java,
4708 javax/swing/text/PlainEditorKit.java: Removed.
4709 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4710 javax/swing/text/PlainEditorKit.java.
4711 * Makefile.in: Regenerated.
4713 2004-07-21 Michael Koch <konqueror@gmx.de>
4715 * javax/swing/JButton.java,
4716 javax/swing/text/DefaultEditorKit.java,
4717 javax/swing/text/EditorKit.java,
4718 javax/swing/text/Segment.java,
4719 javax/swing/text/StyledEditorKit.java:
4722 2004-07-21 Michael Koch <konqueror@gmx.de>
4724 * javax/swing/ImageIcon.java
4726 (description): Renamed from descr.
4727 (ImageIcon): Added missing constructors.
4728 (setParent): Removed.
4729 (setImageObserver): New method.
4730 (getImageObserver): New method.
4731 (paintIcon): Handle observer = null.
4732 * javax/swing/JButton.java
4733 (removeNotify): Fixed javadoc.
4734 (updateUI): Simplified.
4735 * javax/swing/JRootPane.java
4736 (serialVersionUID): New constant field.
4737 * javax/swing/UIManager.java:
4738 Fixed javadocs all over.
4739 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4740 * javax/swing/text/AbstractDocument.java
4741 (createPosition): Throws BadLocationException.
4742 (getText): Likewise.
4744 * javax/swing/text/ComponentView.java
4745 (modelToView): Likewise.
4746 * javax/swing/text/DefaultEditorKit.java:
4747 Made all public methods public.
4748 (read): Throws BadLocationException and IOException.
4750 * javax/swing/text/EditorKit.java:
4751 Made all public methods public.
4752 (serialVersionUID): New constant field.
4753 (clone): New method.
4754 (read): Throws BadLocationException and IOException.
4756 * javax/swing/text/Segment.java
4757 (array): Made public.
4760 (Segment): New constructors.
4761 (clone): Reimplemented.
4762 * javax/swing/text/StyledEditorKit.java
4763 (serialVersionUID): New constant field.
4765 2004-07-21 Graydon Hoare <graydon@redhat.com>
4767 * java/awt/image/BufferedImage.java
4768 (getSource): Implement.
4769 * javax/swing/ImageIcon.java
4770 (ImageIcon): Implement ctor.
4771 * javax/swing/ScrollPaneLayout.java
4772 (preferredLayoutSize): Be more careful about nulls.
4774 2004-07-21 Michael Koch <konqueror@gmx.de>
4776 * javax/swing/text/AttributeSet.java
4777 (CharacterAttribute): New interface
4778 (ColorAttribute): Likewise.
4779 (FontCharacterAttribute): Likewise.
4780 (ParagraphAttribute): Likewise.
4781 * javax/swing/text/DefaultCaret.java
4782 (moveCaret): New method.
4783 (positionCaret): Likewise.
4784 (repaint): Made protected.
4785 * javax/swing/text/JTextComponent.java
4786 (KeyBinding): Made it static.
4787 * javax/swing/text/View.java
4788 (getContainer): Honor parent == null.
4790 2004-07-21 Michael Koch <konqueror@gmx.de>
4792 * javax/swing/text/AbstractDocument.java:
4795 2004-07-21 Michael Koch <konqueror@gmx.de>
4797 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4798 Import javax.swing.UIManager explicitely.
4799 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4800 (ScrollingButton): Made it static.
4802 2004-07-21 Michael Koch <konqueror@gmx.de>
4804 * javax/swing/UIDefaults.java
4805 (ActiveValue): Made public.
4806 (LazyValue): Likewise.
4807 * javax/swing/plaf/basic/BasicTextUI.java
4808 (RootView): Reintroduced.
4810 (rootView): New field.
4811 (installUI): Create document if needed, initialize rootView.
4812 (uninstallUI): Hanle rootView.
4814 (getRootView): Likewise.
4815 (setView): Likewise.
4816 * javax/swing/text/DefaultCaret.java:
4817 Renamed all "evt" variables to "event".
4819 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4821 * libgcj.spec.in: Add -l-java-util-logging.
4823 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4825 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4826 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4827 gtk-xft-dpi can no calculate the right value.
4828 (dpi_changed_cb): Mark *pspec as unsused.
4830 2004-07-21 David Jee <djee@redhat.com>
4832 * java/awt/Component.java
4833 (move): Delegate to setBounds().
4835 (reshape): Fix so it repaints parent and self only when necessary.
4837 2004-07-21 David Jee <djee@redhat.com>
4839 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4840 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4841 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4842 (setVisible): Likewise.
4845 (getArgs): Likewise.
4846 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4847 (property_notify_predicate): Likewise.
4848 (find_layout): Likewise.
4849 (connectJObject): Likewise.
4850 (connectSignals): Likewise.
4851 (moveLayout): Likewise.
4852 (gtkLayoutSetVisible): Likewise.
4854 2004-07-21 Graydon Hoare <graydon@redhat.com>
4860 (rmiregistry_LDADD): Add lib-java-util-logging.la
4861 * Makefile.in: Regenerate.
4863 2004-07-21 Michael Koch <konqueror@gmx.de>
4865 * javax/swing/text/AbstractDocument.java
4866 (replace): Dont use protected method of java.util.Vector directly.
4868 2004-07-21 Michael Koch <konqueror@gmx.de>
4870 * javax/swing/plaf/basic/BasicTextUI.java
4871 (installUI): Call specialized install methods.
4872 (installDefaults): New method.
4873 (installListeners): Likewise.
4874 (installKeyboardActions): Likewise.
4875 (uninstallUI): Likewise.
4876 (uninstallDefaults): New method.
4877 (uninstallListeners): Likewise.
4878 (uninstallKeyboardActions): Likewise.
4879 (getPropertyPrefix): New abstract method.
4880 (paint): Made final, just call paintSafely().
4881 (paintSavely): New method.
4882 (paintBackground): Likewise.
4883 (getVisibleEditorRect): Likewise.
4884 * javax/swing/text/LayeredHighlighter.java,
4885 javax/swing/text/TabExpander.java: New files.
4886 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4887 and javax/swing/text/TabExpander.java.
4888 * Makefile.in: Regenerated.
4890 2004-07-21 Michael Koch <konqueror@gmx.de>
4892 * javax/swing/plaf/basic/BasicTextUI.java
4893 (BasicTextUI): Made abstract.
4894 (BasicCaret): New inner class.
4895 (view): Don't explicitely initialize with "null".
4896 (textComponent): New field.
4897 (textColor): Removed.
4898 (disabledTextColor): Removed.
4899 (normalBackgroundColor): Removed.
4900 (RootView): Removed commented out inner class.
4901 (createUI): Removed.
4902 (createCaret): New method.
4903 (getComponent): Likewise.
4904 (installUI): Initialize textComponent only.
4905 (getPreferredSize): Use installed JTextComponent.
4906 (setView): New method.
4908 * javax/swing/text/JTextComponent.java
4909 (highlighter): New field.
4910 (caretColor): Likewise.
4911 (disabledTextColor): Likewise.
4912 (seletedTextColor): Likewise.
4913 (selectionColor): Likewise.
4914 (setUI): New method.
4915 (getCaretColor): Likewise.
4916 (setCaretColor): Likewise.
4917 (getDisabledColor): Likewise.
4918 (setDisabledColor): Likewise.
4919 (getSelectedTextColor): Likewise.
4920 (setSelectedTextColor): Likewise.
4921 (getSelectionColor): Likewise.
4922 (setSelectionColor): Likewise.
4923 (getHighlighter): Likewise.
4924 (setHighlighter): Likewise.
4925 (replaceSelection): Likewise.
4927 2004-07-21 Michael Koch <konqueror@gmx.de>
4929 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4930 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4931 * javax/swing/plaf/basic/BasicToolBarUI.java
4932 (BasicToolBarUI): Implements SwingConstants.
4934 2004-07-21 Michael Koch <konqueror@gmx.de>
4936 * javax/swing/JPopupMenu.java: Removed CVS tags.
4937 * javax/swing/UIDefaults.java: Reformatted.
4938 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4939 Explicitely import used classes.
4941 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4943 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4944 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4945 (GtkComponentPeer): Remove temporary try/catch block.
4946 (setVisible): Call show and hide.
4947 (show): Make native.
4949 (getArgs): Don't add "visible" argument.
4950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4951 (property_notify_predicate): Return Bool instead of int.
4952 (find_layout): New function.
4953 (connectJObject): Call find_layout.
4954 (connectSignals): Likewise.
4955 (moveLayout): Likewise.
4956 (gtkLayoutSetVisible): Likewise.
4958 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4960 * javax/swing/AbstractButton.java:
4961 (setDisplayedMnemonicIndex): Check if button
4962 text is not null before checking its length.
4963 * javax/swing/JMenuItem.java:
4964 (processMouseEvent): Disarm menu item if mouse has
4966 * javax/swing/plaf/basic/BasicMenuUI.java:
4967 (MouseInputHandler.mouseEntered): Do not raise
4968 popup menu if this menu is already selected.
4969 (MouseInputHandler.mousePressed): Do not fire
4971 (MenuHandler): Implemented.
4973 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4975 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4976 (getSelectedObjects): Implemented.
4977 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4978 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4979 Added javadoc for few methods.
4980 (processMouseEvent): Made public.
4981 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4982 (processMouseEvent): Likewise.
4984 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4986 * javax/swing/AbstractButton.java:
4987 (init): Set display mnemonic index to -1.
4988 (setMnemonic(char)): Use setMnemonic(int).
4989 (setMnemonic(int)): Set display mnemonic index.
4990 (getDisplayedMnemonicIndex): Change method signature
4991 by removing 'index' parameter.
4992 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4993 Added default for Menu.selectionBackground.
4994 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4995 (paintMenuItem): Change background color of the selected
4997 (paintText): Paint differently when menu item is disabled.
4998 Also paint mnemonic if it appears in the menu item's label.
4999 (paintAccelerator): Paint accelerator differently
5000 if menu item is disabled.
5001 * javax/swing/plaf/basic/BasicMenuUI.java:
5002 (installDefaults): Install defaults for
5003 selectionForeground and selectionBackground.
5004 (uninstallDefaults): Uninstall defauls for
5005 selectionForeground and selectionBackground.
5007 2004-07-21 Michael Koch <konqueror@gmx.de>
5009 * javax/swing/text/AbstractDocument.java
5010 (BranchElement): Implemented.
5011 (LeafElement): Implemented.
5012 * javax/swing/text/DefaultCaret.java:
5013 Import used classes.
5014 (serialVersionUID): New constant.
5015 * javax/swing/text/JTextComponent.java
5016 (AccessibleJTextComponent): Removed dead declaration.
5017 (caretPos): Removed.
5018 (setCaret): New method.
5019 * javax/swing/text/PlainDocument.java
5020 (rootElement): New field.
5021 (PlainDocument): Initialize rootElement.
5022 (createDefaultRoot): New method.
5023 (getDefaultRootElement): Implemented.
5024 * javax/swing/text/View.java: Reformatted.
5025 * javax/swing/text/ViewFactory.java
5026 (create): Added javadoc.
5028 2004-07-21 Michael Koch <konqueror@gmx.de>
5030 * javax/swing/ToolTipManager.java: Reformatted.
5032 2004-07-21 Rodimina Olga <rodimina@redhat.com>
5034 * javax/swing/AbstractButton.java
5035 (changeEvent): New field.
5036 (fireItemStateChanged): Change source of the event
5037 to 'this' before firing it to button listeners.
5038 (fireActionPerformed): Likewise.
5039 (fireStateChanged): Likewise.
5040 (createActionListener): Do not set source
5041 of the event to AbstractButton.
5042 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5043 (ContainerHandler.componentAdded): Removed
5044 print out statement.
5045 (ContainerHandler.componentRemoved): Likewise.
5047 2004-07-21 Michael Koch <konqueror@gmx.de>
5049 * javax/swing/text/Highlighter.java: New file.
5050 * Makefile.am: Added javax/swing/text/Highlighter.java.
5051 * Makefile.in: Regenerated.
5053 2004-07-21 Michael Koch <konqueror@gmx.de>
5055 * javax/swing/ToolTipManager.java
5056 (stillInsideTimerAction): Fixed constructor arguments.
5057 (outsideTimerAction): Likewise.
5058 (insideTimerAction): Likewise.
5060 2004-07-21 Michael Koch <konqueror@gmx.de>
5062 * javax/swing/JButton.java: Reformatted.
5063 * javax/swing/JFormattedTextField.java
5064 (getUIClassID): Implemented.
5065 * javax/swing/JRootPane.java
5066 (serialVersionUID): New constant.
5067 * javax/swing/JTextField.java
5069 (JTextField): Simplified.
5070 (getUIClassID): New method.
5071 (getActionListeners): Added @since tag.
5072 (setColumns): Invalidate layout and repaint.
5073 (getHorizontalAlignment): New method.
5074 (setHorizontalAlignment): New method.
5075 (selectAll): Removed.
5076 * javax/swing/SwingUtilities.java
5077 (getAncestorOfClass): Removed redundant @see tag.
5078 (isLeftMouseButton): Fixed implementation.
5079 (isMiddleMouseButton): Likewise.
5080 (isRightMouseButton): Likewise.
5081 * javax/swing/text/AbstractDocument.java
5082 (AttributeContext.addAttribute): New method.
5083 (AttributeContext.addAttributes): New method.
5084 (AttributeContext.getEmptySet): New method.
5085 (AttributeContext.reclaim): New method.
5086 (AttributeContext.removeAttribute): New method.
5087 (AttributeContext.removeAttributes): New method.
5088 * javax/swing/text/Document.java
5089 (createPosition): Throws BadLocationException.
5090 (getText): Likewise.
5092 * javax/swing/text/JTextComponent.java
5093 (getText): Return null if no document is set. Catch
5094 BadLocationException.
5096 (updateUI): Simplified.
5098 2004-07-21 Michael Koch <konqueror@gmx.de>
5100 * javax/swing/JButton.java
5101 (removeNotify): Fixed javadoc.
5102 (updateUI): Simplified.
5104 2004-07-21 David Jee <djee@redhat.com>
5106 * gnu/java/awt/image/ImageDecoder.java
5107 (startProduction): Only add consumer if it's not added yet.
5108 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5109 (GdkPixbufDecoder): Don't call initState() here.
5110 (produce): Call initState() here, to ensure area_prepared and
5111 area_updated signals are properly connected.
5112 * gnu/java/awt/peer/gtk/GtkImage.java
5113 (setColorModel): Use equals() to compare ColorModel objects.
5114 (setPixels): Likewise.
5115 * java/awt/image/ColorModel.java
5116 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5117 * java/awt/image/RGBImageFilter.java
5118 (setColorModel): Set consumer's color model.
5119 (setPixels): Use equals() to compare ColorModel objects.
5121 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
5123 * java/net/URLConnection.java (position): New field.
5124 (dateFormat1, dateFormat2, dateFormat3): Removed.
5125 (dateFormats): New field.
5126 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5127 each time instead of re-allocating.
5128 (initializeDateFormats): Initialize 'dateFormats'.
5130 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5133 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5136 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5138 * java/net/Socket.java (getImpl): Now private. Remove comment.
5140 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5142 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5143 of chained Writer when calling super-constructor.
5144 * java/io/FilterWriter.java (FilterWriter): Likewise.
5145 * java/io/PrintWriter.java (PrintWriter): Likewise.
5147 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
5149 * prims.cc (process_gcj_properties): Don't increment i within LHS
5152 2004-07-19 Per Bothner <per@bothner.com>
5154 Print -verbose:message on "loading", not initialization.
5155 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
5156 * defineclass.cc (_Jv_ClassReader::parse): Print message if
5157 gcj::verbose_class_flag.
5158 * java/lang/natClass.cc (initializeClass): Don't print message here.
5159 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
5160 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5161 (_Jv_PrepareCompiledClass): Likewise.
5163 2004-07-18 Matthias Klose <doko@debian.org>
5165 * configure.in: Substitute target_noncanonical.
5166 * configure: Regenerate
5168 2004-07-17 Michael Koch <konqueror@gmx.de>
5170 * java/lang/String.java: Fixed javadocs all over.
5172 2004-07-17 Mark Wielaard <mark@klomp.org>
5174 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5175 when size is smaller.
5176 * java/io/RandomAccessFile.java (setLength): Use truncate for
5177 shrinking the file and seek plus write for expanding the file.
5179 2004-07-17 Michael Koch <konqueror@gmx.de>
5181 * gnu/java/nio/channels/natFileChannelPosix.cc
5182 (implTruncate): Always save current position. Only reposition file
5183 pointer to where we started if not beyond new lenght. Reposition file
5184 pointer to file length if it points beyond the end of file.
5186 2004-07-17 Mark Wielaard <mark@klomp.org>
5188 * javax/swing/Box.java: Put FIXME comment above class declaration.
5189 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5190 * javax/swing/JCheckBox.java: Likewise.
5191 * javax/swing/JDialog.java: Likewise.
5192 * javax/swing/JRadioButton.java: Likewise.
5193 * javax/swing/JToggleButton.java: Likewise.
5194 * javax/swing/UIManager.java: Likewise.
5195 * javax/swing/border/TitledBorder.java: Likewise.
5196 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5197 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5198 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5199 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5200 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5201 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5202 * javax/swing/text/JTextComponent.java: Likewise.
5204 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
5206 * java/net/DatagramPacket.java (setAddress): Removed check for
5209 2004-07-17 Michael Koch <konqueror@gmx.de>
5211 * java/net/DatagramSocket.java
5212 (getLocalAddress): Check if socket is bound or not.
5213 * java/net/Socket.java
5214 (getLocalAddrss): Check if socket is bound or not.
5215 (getPort): Return -1 when not connected. Dont check getImpl() for
5217 (setReuseAddress): Check if socket is closed.
5218 (isConnected): Check if getImpl() returns null.
5220 2004-07-17 Mark Wielaard <mark@klomp.org>
5222 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5223 on notifier object before calling notifyAll().
5225 2004-07-17 Michael Koch <konqueror@gmx.de>
5227 * gnu/java/nio/channels/FileChannelImpl.java
5228 (finalize): Added javadoc.
5230 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
5232 * java/text/CollationElementIterator.java
5233 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5234 (setText): Use ArrayList instead of Vector.
5236 2004-07-17 Michael Koch <konqueror@gmx.de>
5238 * java/nio/ByteOrder.java
5239 (static): Removed. Not needed.
5240 Thanks to Patrick Reali for noticing.
5241 * java/nio/charset/CharsetDecoder.java
5242 (decode): Fix for classpath bug #9177: Reset state before flipping.
5244 2004-07-17 Michael Koch <konqueror@gmx.de>
5246 * java/security/Security.java: Fixed javadocs all over.
5248 2004-07-17 Michael Koch <konqueror@gmx.de>
5250 * gnu/java/awt/EmbeddedWindow.java
5252 (addNotify): Set peer via reflection.
5253 (setWindowPeer): Removed.
5254 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5255 * Makefile.am (nat_source_files):
5256 Removed gnu/java/awt/natEmbeddedWindow.cc.
5257 * Makefile.in: Regenerated.
5259 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
5261 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5263 * configure: Regenerated.
5265 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
5267 * configure.in: Use build_noncanonical rather than build_alias.
5268 * configure: Rebuild.
5270 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5271 by logic refactoring. Move default definition of NATIVE closer
5272 to first alternate definition.
5273 * configure: Regenerate.
5275 * Makefile.am: Set ZIP and GCJH directly using autoconf.
5276 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5277 gcj/Makefile.in: Regenerate.
5278 * configure.in: Set ZIP and GCJH. Remove redundant condition
5279 in AM_CONDITIONAL(NATIVE,...)
5280 * configure: Regenerate.
5282 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
5284 * configure.in: Use target_noncanonical rather than
5285 target_alias for forward-compatibility with autoconf 2.59.
5286 * configure: Regenerate.
5287 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5288 testsuite/Makefile.am: Substitute target_noncanonical.
5289 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5290 testsuite/Makefile.in: Regenerate.
5292 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5293 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5294 * acinclude.m4: Include acx.m4.
5295 * aclocal.m4: Regenerate.
5296 * configure: Regenerate.
5298 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
5301 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5302 (decimalFormat): New static variable.
5304 (getTime): New. Override Date.getTime().
5305 (toString): Synchronize. Use decimalFormat to format nanos value
5306 correctly. Truncate extra zeros.
5307 (before): Compare getNanos() only if getTime() is equal.
5310 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5312 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5313 * configure.in: ...here.
5314 * aclocal.m4: Regenerate.
5315 * configure: Regenerate.
5317 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5318 * configure: Rebuilt with autoconf 2.13.
5319 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5320 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5322 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
5325 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5327 * Makefile.in: Rebuilt.
5328 * testsuite/libjava.lang/LargeFile.java: New test case.
5329 * testsuite/libjava.lang/LargeFile.out: New file.
5331 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5333 * java/beans/EventHandler.java: Remove debugging statements.
5335 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5337 * java/beans/EventHandler.java: New file.
5338 * Makefile.am (awt_java_source_files): Add EventHandler.java.
5339 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5340 testsuite/Makefile.in: Regenerate.
5342 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
5344 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5345 flag to the gcj_setup.
5346 (gcj_jacks_run): Check tclsh version and launch jacks directly with
5348 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5349 deprecation flag change. 58 XFAILS removed.
5351 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
5353 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
5354 -fno-use-divide-subroutine.
5355 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5356 (HANDLE_FPE): Define.
5357 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5358 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5359 (HANDLE_DIVIDE_OVERFLOW): Define.
5361 2004-07-14 Michael Koch <konqueror@gmx.de>
5362 Matthias Klose <doko@debian.org>
5364 * java/awt/im/InputContext.java: Initialize in, line.
5366 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
5368 * interpret.cc (run): Correctly access libffi return values of
5369 integral smaller-than-int type; these are implicitly promoted.
5371 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
5374 * interpret.cc (compile_mutex): New.
5375 (_Jv_InitInterpreter): New. Initialize compile_mutex.
5376 (run): Lock compile_mutex before calling compile() if compilation is
5378 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5379 * include/java-interp.h (_Jv_InitInterpreter): Declare.
5381 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
5384 * include/jvm.h (_Jv_value): New union type.
5385 * gcj/field.h (_Jv_Field): Add new _addr union field variants
5386 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
5389 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
5391 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5392 * gnu/awt/xlib/XOffScreenImage.java
5393 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5394 constructor argument. Add constructor using ImageProducer.
5395 (getSource): Implement.
5396 (imageComplete): New method.
5397 (setColorModel): New method.
5398 (setDimensions): New method.
5399 (setHints): New method.
5400 (setPixels): New method.
5401 (setProperties): New method.
5402 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
5403 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5405 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
5408 * prims.cc (_Jv_CreateJavaVM): Fix comment.
5409 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5410 (finalizerReady): Now native.
5412 (runFinalizers): Removed.
5413 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5414 a primitive lock, and don't hold it while running the finalizers.
5415 (runFinalizers): Implement. Don't aquire any Java lock.
5416 (finalizerReady): Use lock primitives to signal finalizer thread.
5418 2004-07-11 Mark Wielaard <mark@klomp.org>
5420 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5421 * java/net/URLStreamHandler.java (parseURL): When url file part
5422 doesn't contain a '/' just ignore context.
5424 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5426 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5427 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5428 (MAKE_THROW_FRAME): Do not modify PSW address.
5429 (INIT_SEGV): Install SIGINFO-style signal handler.
5430 (INIT_FPE): Likewise.
5432 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5434 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5435 status. 21 xfail's removed, 1 added.
5437 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5439 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5441 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5443 * java/text/MessageFormat.java
5444 (formatInternal): Append "{n}" if argument n is unavailable.
5445 (format(Object, StringBuffer, FieldPosition)): This
5446 should be equivalent to format(Object[],
5447 StringBuffer, FieldPosition).
5449 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5451 * java.util.Calendar.java (cache): New private static field. Cached
5452 mappings of locales->calendar classes.
5453 (ctorArgTypes): New private static field. Singleton argument for
5454 calendar class constructor lookup.
5455 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5456 Optimize by bypassing reflection instantiation for the
5457 GregorianCalendar case.
5459 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5461 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5462 ResourceBundle.getBundle() calls.
5463 * java/util/GregorianCalendar.java: Likewise.
5464 * java/util/Currency.java: Likewise.
5465 * java/text/BreakIterator.java: Likewise.
5466 * java/text/Collator.java: Likewise.
5467 * java/text/DateFormat.java: Likewise.
5468 * java/text/DateFormatSymbols.java: Likewise.
5469 * java/text/DecimalFormatSymbols.java: Likewise.
5470 * java/text/NumberFormat.java: Likewise.
5471 * java/awt/Window.java: Likewise.
5473 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5475 * java/util/ResourceBundle.java (bundleCache): Renamed from
5476 resourceBundleCache. Update comments.
5477 (getObject): Don't catch MissingResourceException.
5478 (getBundle(String)): Remove 'final'. Use system classloader if
5479 getCallingClassLoader returned null.
5480 (getBundle(String, Locale)): Likewise.
5481 (BundleKey): New private class. HashMap key for bundle cache lookup.
5482 (lookupKey): New. Singleton instance of BundleKey.
5483 (nullEntry): New. Cache entry to represent failed lookups.
5484 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5485 caching strategy, no-allocation lookup, and new tryBundle methods.
5486 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5487 name using given classloader.
5488 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5489 baseName for given Locale and attempt to load bundle.
5491 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5493 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5494 illegal protected method calls.
5496 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5498 Fix or remove some bogus test cases.
5499 * testsuite/libjava.compile/pr10459_2.java: Removed.
5500 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5502 * testsuite/libjava.compile/inner_data.java: Test against its own
5505 2004-07-09 Michael Koch <konqueror@gmx.de>
5507 * scripts/unicode-muncher.pl: Updated to version 2.1
5508 from GNU classpath. Added some clarifications on where to find the
5509 needed files from www.unicode.org.
5510 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5511 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5512 Removed, these can directly be downloaded from www.unicode.org if
5514 * gnu/java/lang/CharData.java: Regenerated.
5515 * include/java-chartables.h: Regenerated.
5516 * Makefile.am (ordinary_java_source_files):
5517 Removed gnu/java/lang/CharData.java.
5518 * Makefile.in: Regenerated.
5520 2004-07-09 Michael Koch <konqueror@gmx.de>
5522 * java/security/AccessControlContext.java,
5523 java/security/SecureClassLoader.java:
5526 2004-07-09 Michael Koch <konqueror@gmx.de>
5528 * java/io/ObjectInputStream.java (readFields): Use long datatype
5529 when shifting byte values more then 24 bits left.
5531 2004-07-09 Michael Koch <konqueror@gmx.de>
5533 * java/util/zip/DeflaterOutputStream.java,
5534 java/util/zip/GZIPInputStream.java,
5535 java/util/zip/GZIPOutputStream.java,
5536 java/util/zip/InflaterInputStream.java:
5537 Reformatted. Added javadocs. Reordered all stuff.
5538 Renamed variables to be more clear.
5540 2004-07-09 Michael Koch <konqueror@gmx.de>
5542 * javax/imageio/IIOException.java,
5543 javax/imageio/event/IIOReadProgressListener.java,
5544 javax/imageio/event/IIOReadUpdateListener.java,
5545 javax/imageio/event/IIOReadWarningListener.java,
5546 javax/imageio/event/IIOWriteProgressListener.java,
5547 javax/imageio/event/IIOWriteWarningListener.java:
5549 * Makefile.am: Added new files.
5550 * Makefile.in: Regenerated.
5552 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5554 * java/text/RuleBasedCollator.java
5555 (mergeRules): Use ArrayList instead of Vector.
5556 (subParseString): likewise.
5557 (parseString): likewise.
5558 (buildCollationVector): likewise.
5559 (getCollationKey): likewise.
5561 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5563 * java/text/DateFormat.java (parse):
5564 Improved javadoc. Improved exception message.
5566 2004-07-09 Mark Wielaard <mark@klomp.org>
5568 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5569 interrupted() method to clear interupt flag of our Thread.
5571 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5573 * java/nio/Buffer.java,
5574 java/nio/ByteBuffer.java,
5575 java/nio/ByteBufferHelper.java,
5576 java/nio/ByteBufferImpl.java,
5577 java/nio/CharBuffer.java,
5578 java/nio/CharBufferImpl.java,
5579 java/nio/CharViewBufferImpl.java,
5580 java/nio/DirectByteBufferImpl.java,
5581 java/nio/DoubleBuffer.java,
5582 java/nio/DoubleBufferImpl.java,
5583 java/nio/DoubleViewBufferImpl.java,
5584 java/nio/FloatBuffer.java,
5585 java/nio/FloatBufferImpl.java,
5586 java/nio/FloatViewBufferImpl.java,
5587 java/nio/IntBuffer.java,
5588 java/nio/IntBufferImpl.java,
5589 java/nio/IntViewBufferImpl.java,
5590 java/nio/LongBuffer.java,
5591 java/nio/LongBufferImpl.java,
5592 java/nio/LongViewBufferImpl.java,
5593 java/nio/MappedByteBufferImpl.java,
5594 java/nio/ShortBuffer.java,
5595 java/nio/ShortBufferImpl.java,
5596 java/nio/ShortViewBufferImpl.java:
5597 Fixed javadocs all over. Improved input error
5600 * java/nio/Buffer.java
5601 (checkForUnderflow, checkForOverflow, checkIndex,
5602 checkIfReadOnly, checkArraySize): New helper methods
5605 * java/nio/ByteBufferHelper.java
5606 (checkRemainingForRead, checkRemainingForWrite,
5607 checkAvailableForRead, checkAvailableForWrite): Removed
5608 no longer needed methods.
5610 2004-07-09 Michael Koch <konqueror@gmx.de>
5612 * gnu/regexp/CharIndexedInputStream.java:
5613 Reordered imports to match classpath.
5615 2004-07-09 Michael Koch <konqueror@gmx.de>
5617 * gnu/java/awt/EmbeddedWindow.java:
5618 Load native library for setWindowPeer method.
5620 2004-07-08 Randolph Chung <tausq@debian.org>
5622 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5623 * configure: Regenerate.
5624 * configure.host: Set can_unwind_signal for hppa*-linux.
5625 * include/pa-signal.h: New file.
5627 2004-07-07 Per Bothner <per@bothner.com>
5629 * Makefile.am: Add rules to build libgij from just gij.cc.
5631 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5632 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5633 (initializeClass): If verbose_class_flag, print message.
5634 * gij.cc (main): Handle -verbose:class flag.
5636 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5638 * configure.host: Enable hash synchronization on Darwin.
5639 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5640 ';', since this is a comment on Darwin.
5641 (compare_and_swap_release): Likewise.
5643 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5645 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5646 file portion of URL in addition to spec for file: protocol.
5648 2004-07-05 Anthony Green <green@redhat.com>
5650 * java/io/File.java (toURI): Merge from Classpath.
5652 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5654 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5655 before passing to URL constructor. Rethrow any MalformedURLException
5656 as a RuntimeException. Catch MalformedURLException specifically, not
5659 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5661 * java/util/Locale.java (readObject): Intern strings read from object
5664 2004-07-04 Michael Koch <konqueror@gmx.de>
5666 * gnu/gcj/runtime/FirstThread.java,
5667 gnu/gcj/runtime/natFirstThread.cc: Removed.
5668 * gnu/java/lang/MainThread.java,
5669 gnu/java/lang/natMainThread.cc: New files.
5670 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5671 * Makefile.am: Added new files and removed deleted ones.
5672 * Makefile.in: Regenerated.
5674 2004-07-03 Mark Wielaard <mark@klomp.org>
5675 Anthony Green <green@redhat.com>
5677 * java/net/URL.java (getFile): Clarify return value doc.
5678 (getPath): Return null if file is empty - not empty String.
5679 (set): Convert protocol to lower case before doing anything.
5680 Only change the protocol handler if it's different.
5682 2004-07-03 Anthony Green <green@redhat.com>
5684 * java/net/URL.java (URL): Convert protocol to lower case before
5685 doing anything, so we getURLStreamHandler() with the proper value.
5687 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5689 * java/util/Locale.java (hashcode): Made transient.
5690 (hashCode): No longer synchronized.
5691 (equals): Remove comment.
5692 (writeObject): No longer synchronized. Implement using writeObject
5693 calls instead of tweaking hashCode field. Update doc.
5694 (readObject): Implement using readObject calls.
5696 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5697 Andreas Tobler <a.tobler@schweiz.ch>
5699 * configure.host (powerpc-*-darwin*): New case, define
5701 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5702 * configure: Regenerate.
5703 * include/darwin-signal.h: New.
5705 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5707 * java/beans/Statement.java (doExecute): Fix formatting.
5709 2004-06-29 Per Bothner <per@bothner.com>
5711 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5712 etc etc): Remove needless parenthesis, which causes __stdcall__
5713 attribute on MinGW to get ignored.
5715 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5717 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5719 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5721 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5723 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5725 * java/beans/Expression.java: New file.
5726 * java/beans/Statement.java: New file.
5727 * Makefile.am: Added new files.
5728 * Makefile.in: Re-generate.
5730 2004-06-27 Mark Wielaard <mark@klomp.org>
5732 * java/io/FilePermission.java (usingPerms): Removed.
5733 (actionsString): Made final.
5734 (cachePerms): Renamed to checkPerms.
5735 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5737 (FilePermission): Check arguments, call checkPerms().
5738 (equals): Remove cachePerms() call.
5739 (implies): Likewise.
5741 2004-06-27 Mark Wielaard <mark@klomp.org>
5743 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5745 (sendRequest): Use new field in user-agent http agent.
5747 2004-06-27 Mark Wielaard <mark@klomp.org>
5749 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5750 when argument is null.
5752 2004-06-26 Mark Wielaard <mark@klomp.org>
5754 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5755 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5757 (cancel_clicked): Likewise.
5759 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5762 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5763 can not calculate the right value.
5764 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5766 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5768 * testsuite/libjava.jacks/jacks.xfail: Remove
5769 15.9.1-qualified-concrete-20.
5771 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5773 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5774 encoding name to iconv.
5775 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5777 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5780 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5781 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5782 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5784 2004-06-21 Andrew Haley <aph@redhat.com>
5786 * java/io/ObjectOutputStream.java: Add DEBUG statements
5788 (dumpElementln): New method.
5790 * java/io/ObjectInputStream.java
5791 (currentClassLoader): Make native.
5792 (callersClassLoader): New field.
5794 (readObject): ENDBLOCKDATA is generated if the class has a write
5795 method, not if it has a read method.
5796 (readObject): Save and restore this.currentObject and
5797 this.currentObjectStreamClass around calls to callReadMethod().
5798 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5801 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5803 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5806 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5808 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5809 if desired, before the default class loader is initialised.
5810 Call INIT_SEGV only if HANDLE_SEGV is defined.
5812 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5814 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5815 directory only if it actually exists.
5817 2004-06-18 Graydon Hoare <graydon@redhat.com>
5819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5820 Fix up non-ansi comments.
5822 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5824 * javax/swing/text/AbstractDocument.java: Adding missing import
5825 for javax.swing.event.EventListenerList.
5826 * javax/swing/text/DefaultCaret.java: Likewise.
5828 2004-06-17 Michael Koch <konqueror@gmx.de>
5830 * javax/swing/JToolBar.java
5832 (JToolBar): Use Component.setName(String) instead of doing it all
5834 * javax/swing/Timer.java
5835 (queueEvent): Added missing modifier.
5837 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5839 * Makefile.am: Added new file.
5840 * Makefile.in: Re-generate.
5841 * javax/swing/JMenu.java:
5842 (insertSeparator): Implemented.
5843 * javax/swing/JPopupMenu.java:
5844 (JPopupMenu.Separator): Implemented.
5845 * javax/swing/MenuSelectionManager.java:
5846 (processMouseEvent): Use java.awt.Component
5847 for event source instead of javax.swing.JComponent.
5848 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5849 New File. Implemented.
5851 2004-06-16 David Jee <djee@redhat.com>
5853 * java/awt/GridBagLayout.java
5854 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5855 Make sure pos_x and pos_y are never negative.
5857 2004-04-16 Andrew Overholt <overholt@redhat.com>
5859 * Makefile.am: Add new file.
5860 * Makefile.in: Re-generate.
5861 * javax/swing/JToolBar.java
5862 Partially implemented.
5863 * javax/swing/plaf/basic/BasicToolBarUI.java
5864 New file. Partially implemented.
5866 2004-06-16 Graydon Hoare <graydon@redhat.com>
5868 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5869 (setComposite): Accept AlphaComposite arguments.
5870 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5871 (createBufferedImage): Add new overloads.
5872 * gnu/java/awt/peer/gtk/GtkToolkit.java
5873 (createImage): Use GdkPixbufDecoder.createBufferedImage
5874 when useGraphics2D() is true.
5875 (getImage): Delegate to createImage.
5876 * javax/swing/JList.java
5878 (getFirstVisibleIndex):
5879 (getLastVisibleIndex):
5881 (ensureIndexIsVisible): New methods.
5882 * javax/swing/Timer.java: Reimplement.
5884 2004-06-16 Michael Koch <konqueror@gmx.de>
5886 * javax/swing/text/AbstractDocument.java
5887 (AbstracElement): Made public, implements java.io.Serializable.
5888 (AttributeContext): Made public.
5889 (BranchElement): Likewise.
5890 (Content): Likewise.
5891 (DefaultDocumentEvent): Made public, extends
5892 javax.swing.undo.CompoundEdit.
5893 (ElementEdit): Made public, extends
5894 javax.swing.undo.AbstractUndoableEdit.
5895 (LeafElement): Made public.
5896 (LeafElement.LeafElement): Made public.
5898 2004-06-16 Michael Koch <konqueror@gmx.de>
5900 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5901 methods (that were obviously never be intended to get included hi this
5902 class. Added some methods too.
5904 2004-06-16 Michael Koch <konqueror@gmx.de>
5906 * javax/swing/text/PlainDocument.java
5907 (serialVersionUID): New constant.
5908 (lineLimitAttribute): Likewise.
5909 (tabSizeAttribute): Likewise.
5910 (tabSize): New field.
5911 (PlainDocument): Made public.
5912 (PlainDocument): New constructor.
5914 2004-06-16 Michael Koch <konqueror@gmx.de>
5916 * javax/swing/text/AbstractDocument.java
5917 (insertString): Throws BadLocationException.
5918 * javax/swing/text/Document.java
5919 (insertString): Likewise.
5920 * javax/swing/text/JTextComponent.java:
5921 Javadocs and comments cleaned up.
5923 2004-06-16 Michael Koch <konqueror@gmx.de>
5925 * javax/swing/event/UndoableEditListener.java: Reformatted.
5926 * javax/swing/text/AbstractDocument.java
5927 (AbstractDocument): Implements java.io.Serializable.
5928 (doc_list): Removed.
5929 (undo_list): Removed.
5930 (AbstractElement.serialVerionUID): New field.
5931 (BranchElement.serialVerionUID): Likewise.
5932 (DefaultDocumentEvent.serialVerionUID): Likewise.
5933 (ElementEdit.serialVerionUID): Likewise.
5934 (LeafElement.serialVerionUID): Likewise.
5935 (serialVerionUID): Likewise.
5936 (BAD_LOCATION): New constant.
5937 (BidiElementName): Likewise.
5938 (ContentElementName): Likewise.
5939 (ParagraphElementName): Likewise.
5940 (SectionElementName): Likewise.
5941 (ElementNameAttribute): Likewise.
5942 (AbstractDocument): Made protected.
5943 (AbstractDocument): New construtor.
5944 (listenerList): New field.
5945 (fireChangedUpdate): Implemented.
5946 (fireInsertUpdate): Likewise.
5947 (fireRemoveUpdate): Likewise.
5948 (fireUndoableEditUpdate): Likewise.
5949 (getListeners): Likewise.
5950 (addDocumentListener): Likewise.
5951 (removeDocumentListener): Likewise.
5952 (addUndoableEditListener): Likewise.
5953 (removeUndoableEditListener): Likewise.
5954 (getDocumentListeners): New method.
5955 (getUndoableEditListeners): Likewise.
5956 (getAsynchronousLoadPriority): Made public.
5957 (getBidiRootElement): Likewise.
5958 (setAsynchronousLoadPriority): Likewise.
5959 (setDocumentProperties): Likewise.
5960 * javax/swing/text/BadLocationException.java
5961 (serialVerionUID): New field.
5962 * javax/swing/text/DefaultCaret.java
5963 (changeEvent): New field.
5964 (listenerList): Likewise.
5966 (addChangeListener): Reimplemented.
5967 (removeChangeListener): Likewise.
5968 (getListeners): New method.
5969 (getChangeListeners): Likwise.
5970 (getComponent): Likewise.
5971 * javax/swing/text/GapContent.java
5972 (GapContent): Implements java.io.Serializable.
5973 (serialVerionUID): New field.
5975 2004-06-16 Michael Koch <konqueror@gmx.de>
5977 * javax/swing/JTree.java
5978 (treeModel): New field.
5979 (JTree): New constructors, one existing one made public.
5980 (createTreeModel): New method.
5981 (addTreeExpansionListener): Likewise.
5982 (removeTreeExpansionListener): Likewise.
5983 (getTreeExpansionListeners): Likewise.
5984 (fireTreeCollapsed): Likewise.
5985 (fireTreeExpanded): Likewise.
5986 (addTreeSelectionListener): Likewise.
5987 (removeTreeSelectionListener): Likewise.
5988 (getTreeSelectionListeners): Likewise.
5989 (fireValueChanged): Likewise.
5990 (addTreeWillExpandListener): Likewise.
5991 (removeTreeWillExpandListener): Likewise.
5992 (getTreeWillExpandListeners): Likewise.
5993 (fireTreeWillCollapse): Likewise.
5994 (fireTreeWillExpand): Likewise.
5996 2004-06-16 Michael Koch <konqueror@gmx.de>
5998 * javax/swing/JTree.java: Reformatted.
6000 2004-06-16 Michael Koch <konqueror@gmx.de>
6002 * javax/swing/JTextArea.java: New file.
6003 * javax/swing/JTextField.java
6005 (notifyAction): New constant.
6006 (columns): New field.
6007 (JTextField): New constructors.
6008 (createDefaultModel): New method.
6009 (addActionListener): Reimplmemented.
6010 (removeActionListener): Reimplemented.
6011 (getActionListeners): New method.
6012 (fireActionPerformed): New method.
6013 (getColumns): New method.
6014 (setColumne): New method.
6015 * javax/swing/text/JTextComponent.java
6016 (AccessibleJTextComponent.serialVersionUID): New field.
6017 (serialVersionUID): Likewise.
6018 (DEFAULT_KEYMAP): Likewise.
6019 (FOCUS_ACCELERATOR_KEY): Likewise.
6020 (doc): Made private.
6021 (icon_gap): Likewise.
6024 (JTextComponent): Some constructors removed.
6025 (getScrollableTracksViewportHeight): New method.
6026 (getScrollableTracksViewportWidth): Likewise.
6027 * Makefile.am: Added javax/swing/JTextArea.java.
6028 * Makefile.in: Regenerated.
6030 2004-06-15 Graydon Hoare <graydon@redhat.com>
6032 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6033 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6034 * javax/swing/JViewport.java
6035 (getExtentSize): Return size rather than preferred size.
6036 (toViewCoordinates): New methods.
6037 (getViewSize): Return size rather than preferred size.
6038 (setViewSize): Note view size as set.
6039 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6040 * javax/swing/plaf/basic/BasicScrollBarUI.java
6041 (getPreferredSize): Don't redo layout.
6042 * javax/swing/plaf/basic/BasicViewportUI.java
6043 (paint): Translate image properly and eat exceptions.
6045 2004-06-15 Kim Ho <kho@redhat.com>
6047 * javax/swing/JTabbedPane.java
6048 (setComponent): Remove old component and
6050 (setSelectedIndex): Don't operate on the
6051 components if they're null. Don't set index
6052 on the model if the index is the same.
6053 (insertTab): Don't add or hide the component
6054 if it's null. Repaint the container.
6055 * javax/swing/plaf/basic/BasicLookAndFeel.java
6056 Change colors for TabbedPane.
6057 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6058 (mousePressed): Re-layout and paint the component.
6059 (layoutContainer): Don't set location on the view.
6060 (ScrollingViewport::paint): Remove.
6062 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6065 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6068 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6069 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
6071 (drawLine): Call gdk_flush before leaving GDK critical region.
6072 (fillRect): Likewise.
6073 (drawRect): Likewise.
6074 (copyArea): Likewise.
6075 (copyPixmap): Likewise.
6076 (clearRect): Likewise.
6077 (drawArc): Likewise.
6078 (drawPolyline): Likewise.
6079 (drawPolygon): Likewise.
6080 (fillPolygon): Likewise.
6081 (fillArc): Likewise.
6082 (drawOval): Likewise.
6083 (fillOval): Likewise.
6085 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6087 (GdkFontMetrics): Add style argument to initState call.
6088 (stringWidth(String,int,int,String)): Add style parameter.
6089 (stringWidth(String)): Add style argument to stringWidth call.
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6091 (initState): Set pango font style and weight based on AWT style
6092 parameter. Pass default GTK language to
6093 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
6094 simply dividing by PANGO_SCALE.
6095 (stringWidth): Set pango font style and weight based on AWT style
6098 * java/awt/Button.java (next_button_number): New field.
6099 (paramString): Change output.
6100 (generateName): New method.
6101 (getUniqueLong): New method.
6103 2004-06-14 Kim Ho <kho@redhat.com>
6105 * javax/swing/JTabbedPane.java:
6106 (setComponentAt): Set the component, not
6108 * javax/swing/plaf/basic/BasicDesktopIconUI.java
6109 (actionPerformed): Let deiconize catch exception.
6111 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6113 * javax/swing/JPopupMenu.java:
6114 (setVisible): Corrected location of a
6115 heavyweight popup menu.
6117 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6119 * javax/swing/MenuSelectionManager.java:
6120 Ran through jalopy to fix formatting style.
6122 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6124 * javax/swing/JLayeredPane.java:
6125 (remove): Revalidate and repaint layered pane after
6126 the component was removed.
6127 javax/swing/JMenu.java:
6128 (setVisible): Display popup menu at the user location,
6129 if one was set by the user.
6130 (setMenuLocation): Reimplemented. Fixed javadoc.
6131 * javax/swing/JMenuBar.java: Added javadoc.
6132 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6133 (MODEL_CHANGED_PROPERTY): New Property.
6134 (isSelected): Implemented.
6135 (setBorderPainted): Fire PropertyChangeEvent
6136 if paintBorder property changes.
6137 (setSelected): Implemented.
6138 (setSelectionModel): Implemented.
6139 * javax/swing/JPopupMenu.java: Added Javadoc
6140 (pack): Implemented.
6141 (setVisible): Reimplemented.
6142 (show): Fixed location.
6143 (JPopupMenu.LigthWeightPopup): Reimplemented to use
6144 Container instead of JPanel.
6145 * javax/swing/MenuSelectionManager.java: Added Javadocs.
6146 (clearSelectedPath): Reimplemented to clear selectedPath
6148 (processMouseEvent): Reimplemented.
6149 (setSelectedPath): Fire stateChange event indicating that
6150 selected menu path has changed.
6151 (getPath): Change to use ArrayList instead of Vector.
6152 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6153 (installUI): call installKeyboardActions().
6154 (uninstallUI): call uninstallKeyboardActions().
6156 2004-06-13 Michael Koch <konqueror@gmx.de>
6158 * javax/swing/text/DefaultCaret.java,
6159 javax/swing/text/BadLocationException.java:
6162 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6164 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6165 DEFAULT_COLS): New variables.
6166 (create): Don't allow 0 rows or 0 columns. Instead, set the
6167 values to DEFAULT_ROWS or DEFAULT_COLS.
6168 (getMinimumSize): Likewise.
6169 (getPreferredSize): Likewise.
6170 (minimumSize): Likewise.
6171 (preferredSize): Likewise.
6172 (create): Set peer's editable state.
6173 * java/awt/TextArea.java (TextArea()): Set rows and columns to
6174 zero. Update javadocs.
6175 (TextArea(String)): Likewise.
6176 (TextArea(int,int)): Fix javadocs.
6177 (TextArea(String,int,int,int)): Only throw exception if one of
6178 rows or columns is zero. Fix javadocs.
6180 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6182 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6183 addition to Components.
6185 * java/awt/MenuItem.java (dispatchEventImpl): If the event
6186 wasn't consumed by normal processing, send it to the parent
6189 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6190 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6193 2004-06-11 David Jee <djee@redhat.com>
6195 * java/awt/MediaTracker.java
6196 (addImage(Image,int)): Call imageUpdate() to udpate image status.
6197 (addImage(Image,int,int,int)): Likewise.
6199 2004-06-11 Michael Koch <konqueror@gmx.de>
6201 * javax/swing/text/AbstractDocument.java,
6202 javax/swing/text/Document.java,
6203 javax/swing/text/GapContent.java,
6204 javax/swing/text/JTextComponent.java,
6205 javax/swing/text/PlainDocument.java:
6208 2004-06-11 Michael Koch <konqueror@gmx.de>
6210 * javax/swing/JRootPane.java
6211 (AccessibleJRootPane.serialVersionUID): New field.
6212 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6213 (AccessibleJRootPane.getAccessibleRole): New method.
6214 (RootLayout): Implements Serializable.
6215 (RootLayout.serialVersionUID): New field.
6216 (RootLayout.RootLayout): New constructor.
6217 (setJMenuBar): Made public.
6218 (getJMenuBar): Likewise.
6219 (JRootPane): Likewise.
6220 (createContentPane): Likewise.
6221 (createGlassPane): Likewise.
6222 (createLayeredPane): Likewise.
6224 2004-06-11 Michael Koch <konqueror@gmx.de>
6226 * javax/swing/SwingUtilities.java
6227 (isLeftMouseButton): Fixed javadoc.
6228 (isMiddleMouseButton): Likewise.
6229 (isRightMouseButton): Likewise.
6231 2004-06-11 Michael Koch <konqueror@gmx.de>
6233 * javax/swing/JScrollPane.java
6234 (serialVersionUID): New field.
6235 (columnHeader): Made protected.
6236 (rowHeader): Likewise.
6237 (lowerLeft): Likewise.
6238 (lowerRight): Likewise.
6239 (upperLeft): Likewise.
6240 (upperRight): Likewise.
6241 (horizontalScrollBar): Likewise.
6242 (horizontalScrollBarPolicy): Likewise.
6243 (verticalScrollBar): Likewise.
6244 (verticalScrollBarPolicy): Likewise.
6245 (viewport): Likewise.
6247 2004-06-11 Michael Koch <konqueror@gmx.de>
6249 * javax/swing/LookAndFeel.java: Fixed javadocs.
6251 2004-06-11 Michael Koch <konqueror@gmx.de>
6253 * javax/swing/JEditorPane.java: Fixed javadocs.
6254 (JEditorPane): Removed redundant call to to this().
6255 (fireHyperlinkUpdate): Implemented.
6257 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6259 * javax/swing/JMenu.java: Fixed file name
6260 in the file comment.
6262 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6264 * javax/swing/JMenu.java: Added javadoc.
6265 (JMenu): Added MenuChangeListener to listen to
6266 ChangeEvents occuring in menu's model.
6267 (insert): Throw IllegalArgumentException if
6268 index is less than 0
6269 (setSelected): Reimplement.
6270 (setPopupMenuVisible): Call menu's model isEnabled()
6271 (setDelay): Throw IllegalArgumentException if
6272 given amount of delay is less than 0.
6273 (createActionComponent): Implemented.
6274 (createActionChangeListener): Implemented.
6275 (addSeparator): Implemented.
6276 (getItem): Throw IllegalArgumentException if index is
6278 (getItemCount): Implemented.
6279 (fireMenuSelected): Changed to use menuEvent.
6280 (fireMenuDeselected): Likewise.
6281 (fireMenuCanceled): Likewise.
6282 (setAccelerator): Changed to throw an error if this
6284 (doClick): Implemented.
6285 (JMenu.ActionChangedListener): New inner class to handle
6286 PropertyChangeEvents occuring in the actions associated with menu.
6287 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6288 (BasicMenuUI): Added PropertyChangeListener to the menu.
6289 (createChangeListener): Implemented.
6290 (createMenuDragMouseListener): Likewise.
6291 (createMenuKeyListener): Likewise.
6292 (createPropertyChangeListener): Likewise.
6293 (uninstallListeners): Likewise.
6294 (BasicMenuUI.MouseInputHandler): Reimplemented.
6295 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6296 (BasicMenuUI.ChangeHandler): Likewise.
6297 (BasicMenuUI.MenuDragMouseHandler): Likewise.
6298 (BasicMenuUI.MenuKeyHandler): Likewise.
6300 2004-06-10 David Jee <djee@redhat.com>
6302 * java/awt/MediaTracker.java
6303 (imageUpdate): Only do notifyAll() if the image is complete.
6305 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6307 * javax/swing/JApplet.java:
6308 (getJMenuBar): Made public.
6309 (setJMenuBar): Likewise.
6310 * javax/swing/JFrame.java:
6311 (getJMenuBar): Made public.
6312 (setJMenuBar): Likewise.
6313 * javax/swing/JWindow.java:
6314 (getJMenuBar): Removed.
6315 (setJMenuBar): Removed.
6317 2004-06-10 Michael Koch <konqueror@gmx.de>
6319 * javax/swing/JEditorPane.java
6320 (createEditorKitForContentType): Fixed visibility.
6321 (fireHyperlinkUpdate): Likewise.
6322 (getContentType): Likewise.
6323 (getEditorKit): Likewise.
6324 (getEditorKitForContentType): Likewise.
6325 (getPage): Likewise.
6327 (registerEditorKitForContentTyoe): Likewise.
6328 (replaceSelection): Likewise.
6329 (setContentType): Likewise.
6330 (setEditorKit): Likewise.
6331 (setPage): Likewise.
6333 2004-06-10 Michael Koch <konqueror@gmx.de>
6335 * javax/swing/Timer.java
6336 (Timer): New constructor.
6337 * javax/swing/plaf/basic/BasicProgressBarUI.java
6338 (animationTimer): Don't initialize at construction.
6339 (startAnimationTimer): Added since tag.
6340 (stopAnimationTimer): Likewise.
6341 (installUI): Use new Timer constructor.
6342 * javax/swing/plaf/basic/BasicScrollBarUI.java
6343 (installUI): Likewise.
6344 * javax/swing/plaf/basic/BasicSliderUI.java
6345 (installUI): Likewise.
6347 2004-06-10 Michael Koch <konqueror@gmx.de>
6349 * javax/swing/ButtonGroup.java
6350 (serialVersionUID): Made private.
6351 (buttons): Renamed from v, added javadoc.
6352 (sel): Added javadoc.
6353 (ButtonGroup): Likewise.
6356 (getElements): Likewise.
6357 (getSelection): Likewise.
6358 (setSelected): Likewise.
6359 (isSelected): Likewise.
6360 (getButtonCount): Likewise.
6362 2004-06-10 Michael Koch <konqueror@gmx.de>
6364 * javax/swing/ButtonGroup.java,
6365 javax/swing/ImageIcon.java,
6366 javax/swing/JEditorPane.java,
6367 javax/swing/JRootPane.java,
6368 javax/swing/JTextField.java,
6369 javax/swing/LookAndFeel.java,
6370 javax/swing/plaf/basic/BasicTextUI.java:
6373 2004-06-10 Michael Koch <konqueror@gmx.de>
6375 * javax/swing/text/Style.java: Added javadocs.
6377 2004-06-10 Michael Koch <konqueror@gmx.de>
6379 * javax/swing/JComponent.java
6380 (fireVetoableChange): Removed redundant cast.
6381 * javax/swing/JLabel.java
6382 (getDisabledIcon): Save icon for next call.
6384 2004-06-10 Michael Koch <konqueror@gmx.de>
6386 * javax/swing/KeyStroke.java
6387 (getKeyStroke(char,boolean)): Marked deprecated.
6389 2004-06-10 Michael Koch <konqueror@gmx.de>
6391 * javax/swing/DefaultCellEditor.java,
6392 javax/swing/GrayFilter.java,
6393 javax/swing/event/DocumentEvent.java,
6394 javax/swing/text/JTextComponent.java,
6395 javax/swing/text/MutableAttributeSet.java:
6398 2004-06-10 Michael Koch <konqueror@gmx.de>
6400 * javax/swing/plaf/BorderUIResource.java:
6401 Added serialVersionUID all over.
6403 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
6405 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6407 2004-06-10 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/table/DefaultTableCellRenderer.java
6410 (noFocusBorder): Initialize directly.
6412 2004-06-10 Michael Koch <konqueror@gmx.de>
6414 * javax/swing/plaf/basic/BasicArrowButton.java
6415 (setDirection): Use method argument.
6417 2004-06-10 Michael Koch <konqueror@gmx.de>
6419 * javax/swing/plaf/BorderUIResource.java,
6420 javax/swing/plaf/ComponentUI.java,
6421 javax/swing/undo/CompoundEdit.java,
6422 javax/swing/undo/StateEdit.java:
6423 Fixed javadocs all over.
6425 2004-06-10 Michael Koch <konqueror@gmx.de>
6427 * javax/swing/DefaultButtonModel.java
6428 (ARMED): Made public final, fixed value.
6429 (ENABLED): Likewise.
6430 (PRESSED): Likewise.
6431 (ROLLOVER): Likewise.
6432 (SELECTED): Likewise.
6433 (stateMask): Initialize directly.
6434 (listenerList): Likewise.
6435 (mnemonic): Likewise.
6436 (fireStateChanged): Removed argument, use changeEvent as event.
6437 All places where this method is called are fixed too.
6438 (getActionCommant): Fixed javadoc.
6439 (setGroup): Fixed javadoc.
6440 (getGroup): New method.
6442 2004-06-09 Olga Rodimina <rodimina@redhat.com>
6444 * javax/swing/AbstractButton.java
6445 (AbstractButton): Use init() to initialize the button.
6446 (init): New Method. Initializes AbstractButton.
6447 * javax/swing/JMenuItem.java: Documented.
6448 (JMenuItem): Reimplemented.
6449 (init): Implemented.
6450 (setEnabled): Changed to call super.setEnabled()
6451 (processMouseEvent): Reimplemented.
6452 (fireMenuKeyPressed): Implemented.
6453 (fireMenuKeyReleased): Implemented.
6454 (fireMenuKeyTyped): Implemented.
6455 (menuSelectionChanged): disarm the model if the menu item was
6457 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6458 (getPath): Change to use ArrayList instead of Vector.
6459 (getPreferredSize): Renamed variable.
6460 (paintMenuItem): Paint margin area of menu item.
6461 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6462 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6463 menu item's bounds before clearing the selection.
6465 2004-06-09 David Jee <djee@redhat.com>
6467 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6468 (GtkTextComponentPeer): Set caret position to 0.
6469 * java/awt/TextComponent.java
6470 (setText): Set caret position to 0.
6471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6472 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6473 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6474 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6477 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6480 2004-06-09 Kim Ho <kho@redhat.com>
6482 * Makefile.am: New files
6483 * Makefile.in: Regenerated
6484 * java/awt/Container.java
6485 (getComponentAt): Removed.
6486 * javax/swing/AbstractAction.java
6487 (ENABLED_PROPERTY): New property.
6488 (putValue): Fire PropertyChangeEvents.
6489 (setEnabled): ditto.
6490 (firePropertyChange): Javadoc and implement
6492 * javax/swing/AbstractButton.java
6493 (setAction): Don't create PropertyChangeListener
6494 if new Action is null.
6495 (setIcon): Don't set icon till after comparing
6497 (configurePropertiesFromAction): Check mnemonic
6498 key before calling intValue().
6499 (createActionPropertyChangeListener): Check
6500 properties rather than bulk change.
6501 * javax/swing/DefaultDesktopManager.java:
6503 * javax/swing/DesktopManager.java:
6505 * javax/swing/JComponent.java
6506 (fireVetoableChange): Implement.
6507 (paintImmediately): Use root component.
6508 * javax/swing/JDesktopPane.java: Implement
6509 * javax/swing/JInternalFrame.java: Implement
6510 * javax/swing/JLabel.java
6511 (getDisabledIcon): Return grayscaled icon if
6512 no disabled icon specified.
6513 * javax/swing/JMenuBar.java
6514 (getComponentAtIndex): Use getComponent
6515 * javax/swing/JOptionPane.java
6516 (getDesktopPaneForComponent): Use SwingUtilities'
6518 (getFrameForComponent): ditto.
6519 * javax/swing/JSplitPane.java
6520 (remove): Use getComponent.
6521 * javax/swing/SwingUtilities.java
6522 (convertPoint): Implement.
6523 * javax/swing/plaf/basic/BasicButtonUI.java
6524 (paintButtonNormal): Check opaqueness before
6526 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6528 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6530 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6532 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6534 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6535 Change InternalFrame and Desktop colors.
6537 2004-06-09 David Jee <djee@redhat.com>
6539 * java/awt/Container.java
6540 (remove): Do not set component to invisible.
6542 2004-06-09 Michael Koch <konqueror@gmx.de>
6544 * javax/swing/tree/DefaultMutableTreeNode.java
6545 (getLeafCount): Renamed enum to e.
6547 2004-06-09 Michael Koch <konqueror@gmx.de>
6549 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6550 (positionForMouseEvent): Removed redundant semicolon.
6551 (continueDrag): Use method arguments.
6553 2004-06-09 Michael Koch <konqueror@gmx.de>
6555 * javax/swing/border/TitledBorder.java,
6556 javax/swing/filechooser/FileSystemView.java,
6557 javax/swing/plaf/basic/BasicButtonListener.java,
6558 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6559 javax/swing/plaf/basic/BasicLabelUI.java,
6560 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6561 javax/swing/plaf/basic/BasicScrollBarUI.java,
6562 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6563 javax/swing/plaf/basic/BasicSliderUI.java,
6564 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6565 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6566 javax/swing/table/JTableHeader.java,
6567 javax/swing/text/AbstractDocument.java,
6568 javax/swing/text/DefaultCaret.java,
6569 javax/swing/text/StyledEditorKit.java,
6570 javax/swing/tree/DefaultTreeCellEditor.java:
6571 Reworked import statements.
6573 2004-06-08 Graydon Hoare <graydon@redhat.com>
6575 * javax/swing/Box.java: Temporarily comment out code
6576 broken due to visibility bug.
6578 2004-06-09 Michael Koch <konqueror@gmx.de>
6580 * javax/swing/ImageIcon.java
6581 (ImageIcon): Added missing constructor.
6583 2004-06-08 Michael Koch <konqueror@gmx.de>
6585 * javax/swing/JToggleButton.java
6586 (JToggleButton): New constructor.
6587 (getAccessibleContext): Moved documentation into javadoc.
6588 (getUIClassID): Likewise.
6590 2004-06-08 Michael Koch <konqueror@gmx.de>
6592 * javax/swing/AbstractButton.java
6593 (getDisabledIcon): Create disabled icon if none exists yet.
6595 2004-06-08 Michael Koch <konqueror@gmx.de>
6597 * javax/swing/plaf/basic/BasicLookAndFeel.java
6598 (initClassDefaults): Added FormattedTextFieldUI.
6599 (loadResourceBundle): Renamed enum to e.
6601 2004-06-08 Michael Koch <konqueror@gmx.de>
6603 * javax/swing/plaf/basic/BasicButtonUI.java
6604 (paintIcon): Simplified.
6605 (paintText): Paint disabled button correctly.
6607 2004-06-08 Michael Koch <konqueror@gmx.de>
6609 * javax/swing/JComponent.java
6610 (createToolTip): Use official JToolTip API.
6612 2004-06-08 Michael Koch <konqueror@gmx.de>
6614 * javax/swing/JToolTip.java
6615 (JToolTip): No arguments in API.
6616 (setTipText): New method.
6618 2004-06-08 Michael Koch <konqueror@gmx.de>
6620 * javax/swing/SwingUtilities.java
6621 (isLeftMouseButton): New method.
6622 (isMiddleMouseButton): New method.
6623 (isRightMouseButton): New method.
6625 2004-06-08 Michael Koch <konqueror@gmx.de>
6627 * javax/swing/AbstractButton.java,
6628 javax/swing/CellRendererPane.java,
6629 javax/swing/JCheckBoxMenuItem.java,
6630 javax/swing/JColorChooser.java,
6631 javax/swing/JComboBox.java,
6632 javax/swing/JComponent.java,
6633 javax/swing/JDesktopPane.java,
6634 javax/swing/JFileChooser.java,
6635 javax/swing/JMenu.java,
6636 javax/swing/JMenuItem.java,
6637 javax/swing/JOptionPane.java,
6638 javax/swing/JPasswordField.java,
6639 javax/swing/JPopupMenu.java,
6640 javax/swing/JProgressBar.java,
6641 javax/swing/JRadioButtonMenuItem.java,
6642 javax/swing/JScrollBar.java,
6643 javax/swing/JSeparator.java,
6644 javax/swing/JSlider.java,
6645 javax/swing/JSplitPane.java,
6646 javax/swing/JTabbedPane.java,
6647 javax/swing/JTextField.java,
6648 javax/swing/JToolBar.java,
6649 javax/swing/text/JTextComponent.java:
6650 Fixed all constructors of accessibility classes.
6652 2004-06-08 Michael Koch <konqueror@gmx.de>
6654 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6657 2004-06-08 Michael Koch <konqueror@gmx.de>
6659 * javax/swing/Box.java
6660 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6661 (AccessibleBoxFiller.serialVersionUID): New member variable.
6662 * javax/swing/DefaultButtonModel.java
6663 (stateMask): Made protected.
6664 (listenerList): Likewise.
6665 (changeEvent): Likewise.
6667 (mnemonic): Likewise.
6668 (actionCommand): Likewise.
6669 (getListeners): New method.
6670 (getActionListeners): New method.
6671 (getItemListeners): New method.
6672 (getChangeListeners): New method.
6673 (fireItemStateChanged): Simplified.
6674 (fireActionPerformed): Simplified.
6675 (fireStateChanged): Simplified.
6676 * javax/swing/JFrame.java
6677 (JFrame): Implements WindowContants.
6678 (HIDE_ON_CLOSE): Removed.
6679 (EXIT_ON_CLOSE): Removed.
6680 (DISPOSE_ON_CLOSE): Removed.
6681 (DO_NOTHING_ON_CLOSE): Removed.
6682 (processWindowEvent): Exit with code 0.
6683 (setDefaultCloseOperation): Do security check before setting value.
6684 * javax/swing/JOptionPane.java
6685 (message): Initialize only in constructor.
6686 * javax/swing/JToolTip.java: Removed unused imports.
6687 * javax/swing/JViewport.java
6688 (serialVersionUID): New member variable.
6689 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6690 (BLIT_SCROLL_MODE): Likewise.
6691 (BACKINGSTORE_SCROLL_MODE): Likewise.
6692 (scrollUnderway): Made protected.
6693 (isViewSizeSet): Likewise.
6694 * javax/swing/ListModel.java: Fixed javadoc.
6695 * javax/swing/Popup.java: Likewise.
6696 * javax/swing/RepaintManager.java
6697 (paintDirtyRegions): Don't use internal classes of
6698 java.util.AbstractMap.
6699 * javax/swing/ScrollPaneConstants.java: Reindented.
6700 * javax/swing/ScrollPaneLayout.java
6701 (viewport): Made protected.
6702 (verticalScrollBar): Made protected, renamed to vsb.
6703 (horizontalScrollBar): Made protected, renamed to hsb.
6704 (rowHeader): Made protected, renamed to rowHead.
6705 (columnHeader): Made protected, renamed to colHead.
6706 (lowerLeft): Made protected.
6707 (lowerRight): Made protected.
6708 (upperLeft): Made protected.
6709 (upperRight): Made protected.
6710 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6711 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6713 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6715 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6716 LOADING if flags has SOMEBITS set.
6718 2004-06-07 Michael Koch <konqueror@gmx.de>
6720 * javax/swing/AbstractButton.java: Reorganized imports.
6721 * javax/swing/ActionMap.java: Likewise.
6722 * javax/swing/DefaultButtonModel.java: Likewise.
6723 * javax/swing/DefaultListModel.java: Likewise.
6724 * javax/swing/ImageIcon.java: Likewise.
6725 (serialVersionUID): New member variable.
6726 * javax/swing/JComboBox.java: Reorganized imports.
6727 * javax/swing/JComponent.java: Likewise.
6728 (ui): Made protected.
6729 (listenerList): Made protected.
6730 (TOOL_TIP_TEXT_KEY): New constant.
6731 (scrollRectToVisible): Removed redundant null check.
6732 * javax/swing/JFrame.java: Reorganized imports.
6733 * javax/swing/JInternalFrame.java: Reorganized imports.
6734 * javax/swing/JProgressBar.java: Likewise.
6735 * javax/swing/JRootPane.java: Likewise.
6736 * javax/swing/JScrollBar.java: Likewise.
6737 * javax/swing/JSeparator.java: Likewise.
6738 * javax/swing/JSlider.java: Likewise.
6739 * javax/swing/JTabbedPane.java: Likewise.
6740 * javax/swing/JTextField.java: Likewise.
6741 * javax/swing/JToolBar.java: Likewise.
6742 * javax/swing/JTree.java: Likewise.
6743 * javax/swing/JViewport.java: Likewise.
6744 * javax/swing/JWindow.java: Likewise.
6745 * javax/swing/KeyStroke.java: Likewise.
6746 * javax/swing/LookAndFeel.java: Likewise.
6747 * javax/swing/MenuSelectionManager.java: Likewise.
6748 * javax/swing/SwingUtilities.java: Likewise.
6749 * javax/swing/Timer.java: Likewise.
6750 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6751 * javax/swing/JList.java
6752 (HORIZONTAL_WRAP): Made final, fixed value.
6753 (VERTICAL): Likewise.
6754 (VERTICAL_WRAP): Likewise.
6756 2004-06-07 Michael Koch <konqueror@gmx.de>
6758 * javax/swing/AbstractButton.java
6759 (serialVersionUID): New member variable.
6760 (AccessibleAbstractButton.serialVersionUID): Likewise.
6761 (AbstractButton): Made public.
6762 * javax/swing/Box.java
6763 (AccessibleBox.serialVersionUID): New member variable.
6764 (Filler.serialVersionUID): Likewise.
6765 * javax/swing/DefaultListSelectionModel.java
6766 (serialVersionUID): Likewise.
6767 * javax/swing/JApplet.java
6768 (serialVersionUID): Likewise.
6769 * javax/swing/JCheckBox.java
6770 (serialVersionUID): Likewise.
6771 * javax/swing/JCheckBoxMenuItem.java
6772 (serialVersionUID): Likewise.
6773 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6774 * javax/swing/JColorChooser.java
6775 (serialVersionUID): Likewise.
6776 (AccessibleJColorChooser.serialVersionUID): Likewise.
6777 * javax/swing/JComponent.java
6778 (serialVersionUID): Made private.
6779 (AccessibleJComponent.serialVersionUID): New member variable.
6780 * javax/swing/JDesktopPane.java
6781 (serialVersionUID): Likewise.
6782 * javax/swing/JDialog.java
6783 (serialVersionUID): Likewise.
6784 * javax/swing/JFormattedTextField.java
6785 (serialVersionUID): Fixed value.
6786 * javax/swing/JFrame.java
6787 (serialVersionUID): New member variable.
6788 (getDefaultCloseOpertation): Made public.
6789 * javax/swing/JLayeredPane.java
6790 (serialVersionUID): Likewise.
6791 (LAYER_PROPERTY): Made final, fixed value.
6792 (JLayeredPane): Made public.
6793 * javax/swing/JMenu.java
6794 (AccessibleJMenu.serialVersionUID): New member variable.
6795 (WinListener.serialVersionUID): Likewise.
6796 * javax/swing/JMenuBar.java
6797 (serialVersionUID): Likewise.
6798 (getComponentAtIndex): Added @deprecated tag.
6799 * javax/swing/JMenuItem.java
6800 (serialVersionUID): New member variable.
6801 (AccessibleJMenuItem.serialVersionUID): Likewise.
6802 * javax/swing/JOptionPane.java
6803 (serialVersionUID): Likewise.
6804 (AccessibleJOptionPane.serialVersionUID): Likewise.
6805 * javax/swing/JPopupMenu.java
6806 (serialVersionUID): Likewise.
6807 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6808 (getPopupMenuListeners): New method.
6809 (getComponentAtIndex): Added @deprecated tag.
6810 * javax/swing/JProgressBar.java
6811 (serialVersionUID): New member variable.
6812 (AccessibleJProgressBar.serialVersionUID): Likewise.
6813 * javax/swing/JRadioButton.java
6814 (serialVersionUID): Likewise.
6815 * javax/swing/JRadioButtonMenuItem.java
6816 (serialVersionUID): Likewise.
6817 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6818 * javax/swing/JScrollBar.java
6819 (serialVersionUID): Likewise.
6820 (AccessibleJScrollBar.serialVersionUID): Likewise.
6821 * javax/swing/JSeparator.java
6822 (serialVersionUID): Likewise.
6823 (AccessibleJSeparator.serialVersionUID): Likewise.
6824 * javax/swing/JSlider.java: Fixed javadocs.
6825 (AccessibleJSlider.serialVersionUID): New member variable.
6826 * javax/swing/JSplitPane.java: Added copyright statement.
6827 (serialVersionUID): New member variable.
6828 (AccessibleJSplitPane.serialVersionUID): Likewise.
6829 * javax/swing/JTabbedPane.java
6830 (serialVersionUID): Likewise.
6831 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6832 (ModelListener.serialVersionUID): Likewise.
6833 (ModelListener.ModelListener): New constructor.
6834 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6835 (WRAP_TAB_LAYOUT): Likewise.
6836 * javax/swing/JTable.java
6837 (serialVersionUID): New member variable.
6838 * javax/swing/JToggleButton.java
6839 (serialVersionUID): Likewise.
6840 (ToggleButtonModel): Made static.
6841 (ToggleButtonModel.serialVersionUID): New member variable.
6842 * javax/swing/JToolTip.java
6843 (serialVersionUID): Likewise.
6844 * javax/swing/JTree.java
6845 (serialVersionUID): Likewise.
6846 * javax/swing/JWindow.java
6847 (serialVersionUID): Likewise.
6848 * javax/swing/Timer.java
6849 (serialVersionUID): Likewise.
6851 2004-06-06 Michael Koch <konqueror@gmx.de>
6853 * javax/swing/SwingConstants.java
6854 (NEXT): New constant.
6855 (PREVIOUS): Likewise.
6856 * javax/swing/UIManager.java
6857 (LookAndFeel): Made public.
6858 (LookAndFeel.getClassName): Likewise.
6859 (LookAndFeel.getName): Likewise.
6861 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6863 * javax/swing/JCheckBoxMenuItem.java:
6865 * javax/swing/JMenu.java: Likewise.
6866 * javax/swing/JMenuBar.java: Likewise.
6867 * javax/swing/JMenuItem.java: Likewise.
6868 * javax/swing/JPopupMenu.java: Likewise.
6869 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6870 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6871 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6872 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6873 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6874 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6875 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6877 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6879 * javax/swing/plaf/basic/BasicMenuUI.java:
6880 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6881 Call getPath() from super class instead.
6883 2004-05-31 David Jee <djee@redhat.com>
6885 * java/awt/Container.java
6886 (remove): Set component visibility to false after removing it.
6888 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6890 * java/awt/Component.java (getForeground): Return SystemColor if
6892 (getBackground): Likewise.
6894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6895 (item_highlighted): New function.
6896 (connectSignals): Set item_highlighted as list's select
6899 * java/applet/Applet.java: Revert changes from 2004-04-29,
6900 2004-03-15 and 2004-03-14.
6902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6903 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6906 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6907 "Dialog" as the default font.
6908 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6910 * java/awt/Component.java (getFont): Return "Dialog" font by
6912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6913 Multiply size argument to pango_font_description_set_size by the
6914 DPI conversion factor rather than by PANGO_SCALE.
6915 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6919 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6921 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6922 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6925 Divide baseline y coordinate by DPI conversion factor rather
6926 than by PANGO_SCALE.
6927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6928 (area_prepared): Fix typo.
6929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6930 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6932 (dpi_conversion_factor): New global variable.
6933 (init_dpi_conversion_factor): New function to calculate and
6934 track DPI conversion factor.
6935 (dpi_changed_cb): New callback.
6936 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6938 2004-05-27 David Jee <djee@redhat.com>
6940 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6941 (getGraphics): Return a new GdkGraphics instance.
6942 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6943 (getGraphics): Call super.getGraphics().
6945 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6948 (setNativeBounds): Clamp width and height values to >= 0.
6950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6951 (find_fg_color_widget): Handle GtkOptionMenu specially.
6953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6954 (pre_event_handler): Only post configure events to visible
6957 2004-05-26 David Jee <djee@redhat.com>
6959 * java/awt/BorderLayout.java
6960 (layoutContainer): Fix size calculations.
6962 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6965 (window_wm_protocols_filter): Remove function.
6966 (create): Remove filter that removes WM_TAKE_FOCUS client
6969 2004-06-17 Anthony Green <green@redhat.com>
6971 * java/util/zip/ZipFile.java (getInputStream): Return null if
6974 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6975 directory contents to the class path.
6977 2004-06-15 Andrew Haley <aph@redhat.com>
6979 * java/lang/natSystem.cc (getenv0): Don't assume environment
6980 variable is Latin 1 coded.
6982 2004-06-14 Andreas Jaeger <aj@suse.de>
6984 * configure.in: Support --enable-version-specific-runtime-libs.
6985 * configure: Regenerated.
6987 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6989 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6990 to pass ClassLoader argument.
6991 * java/util/GregorianCalendar.java: Likewise.
6992 * java/util/Currency.java: Likewise.
6993 * java/text/BreakIterator.java: Likewise.
6994 * java/text/Collator.java: Likewise.
6995 * java/text/DateFormat.java: Likewise.
6996 * java/text/DateFormatSymbols.java: Likewise.
6997 * java/text/DecimalFormatSymbols.java: Likewise.
6998 * java/text/NumberFormat.java: Likewise.
6999 * java/awt/Window.java: Likewise.
7001 2004-06-14 Andrew Haley <aph@redhat.com>
7003 * java/lang/System.java: (getenv0): New method.
7004 (getenv): Add security check. Do the right thing.
7005 * java/lang/natSystem.cc (getenv0): New method.
7007 2004-06-12 Mark Wielaard <mark@klomp.org>
7009 * javax/swing/RepaintManager.java
7010 (paintDirtyRegions): Use entrySet(), not values().
7012 2004-06-10 Mark Wielaard <mark@klomp.org>
7014 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7017 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
7019 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
7020 when we already know the answer.
7021 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7022 (setStartRule,setEndRule): Don't take abs of day number.
7023 (getOffset): Clarify docs. Add argument checks.
7024 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7025 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7028 2004-06-10 Tom Tromey <tromey@redhat.com>
7030 * interpret.cc (run): Handle wide fload.
7032 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
7034 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7036 2004-06-05 Michael Koch <konqueror@gmx.de>
7038 * javax/swing/SwingConstants.java
7039 (NEXT): New constant.
7040 (PREVIOUS): Likewise.
7042 2004-06-05 Michael Koch <konqueror@gmx.de>
7044 * javax/swing/UIManager.java
7045 (LookAndFeel): Made public.
7046 (LookAndFeel.getName): Likewise.
7047 (LookAndFeel.getClassName): Likewise.
7049 2004-06-03 Michael Koch <konqueror@gmx.de>
7051 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7052 (requestFocus): Revert last changes.
7053 (gtkRequestFocus): Removed.
7054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7055 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7057 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7058 Reverted last patch.
7059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7060 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7061 Reverted comment change.
7063 2004-06-02 Olga Rodimina <rodimina@redhat.com>
7065 * javax/swing/JCheckBoxMenuItem.java:
7067 * javax/swing/JMenu.java: Likewise.
7068 * javax/swing/JMenuBar.java: Likewise.
7069 * javax/swing/JMenuItem.java: Likewise.
7070 * javax/swing/JPopupMenu.java: Likewise.
7071 * javax/swing/JRadioButtonMenuItem.java: Likewise.
7072 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7073 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7074 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7075 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7076 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7077 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7079 2004-06-01 Tom Tromey <tromey@redhat.com>
7081 * java/io/ObjectStreamField.java: Cleaned up imports.
7083 2004-06-01 Michael Koch <konqueror@gmx.de>
7085 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7087 2004-06-01 Mark Wielaard <mark@klomp.org>
7089 * java/io/Writer.java (Writer(Object)): Fixed API doc.
7091 2004-06-01 Michael Koch <konqueror@gmx.de>
7093 * java/security/Security.java
7094 (insertProviderAt): Use equals() instead of ==.
7095 (removeProvicer): Likewise.
7096 (getProvider): Likewise.
7097 * java/security/Signature.java
7098 (sign): Don't set state to UNINITIALIZED.
7101 2004-06-01 Mark Wielaard <mark@klomp.org>
7103 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7104 Implement by calling gtkRequestFocus.
7105 (gtkRequestFocus): New native method.
7106 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7107 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7109 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7111 (filter_expose_event_handler):
7113 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7114 (menu_pos): Mark static.
7116 2004-06-01 Michael Koch <konqueror@gmx.de>
7118 * java/text/CollationElementIterator.java,
7119 java/text/CollationKey.java,
7120 java/text/RuleBasedCollator.java: New versions from GNU classpath.
7121 * testsuite/libjava.mauve/xfails: Removed all
7122 java.text.CollationElementIterator tests.
7124 2004-06-01 Michael Koch <konqueror@gmx.de>
7126 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7128 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7129 Java 1.5 keyword usage.
7131 2004-05-31 Olga Rodimina <rodimina@redhat.com>
7133 * javax/swing/plaf/basic/BasicMenuUI.java:
7134 (MouseEntered): Do not call getPath() from MenuSelectionManager.
7135 Call getPath() from super class instead.
7137 2004-05-31 Michael Koch <konqueror@gmx.de>
7139 * java/io/SequenceInputStream.java:
7140 Rename enum to e because enum is a keyword in Java 1.5.
7142 2004-05-31 Michael Koch <konqueror@gmx.de>
7144 * gnu/java/rmi/rmic/CompilerProcess.java:
7145 Fixed javadoc to by XHTML compliant.
7147 2004-05-30 Mark Wielaard <mark@klomp.org>
7149 * java/awt/Toolkit.java (loadSystemColors): Implement.
7151 2004-05-30 Michael Koch <konqueror@gmx.de>
7153 * java/lang/System.java: Reordered imports.
7155 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
7157 * java/text/DecimalFormat.java
7158 (parse): Fixed parsing of decimal strings. Number of maximum
7159 digits to be read should now work.
7160 * java/text/SimpleDateFormat.java
7161 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7162 formatter. This fixes DateFormatTest.
7164 2004-05-30 Michael Koch <konqueror@gmx.de>
7166 * java/nio/Buffer.java
7167 (limit): Fixed off by one error.
7168 * java/nio/CharBuffer.java
7169 (wrap): Fixed arguments, added javadocs.
7171 2004-05-30 Michael Koch <konqueror@gmx.de>
7173 * gnu/java/beans/BeanInfoEmbryo.java,
7174 java/awt/im/InputContext.java,
7175 javax/swing/tree/DefaultMutableTreeNode.java:
7176 Rename enum to e because enum is a keyword in Java 1.5.
7178 2004-05-30 Michael Koch <konqueror@gmx.de>
7180 * gnu/java/math/MPN.java,
7181 java/awt/geom/Arc2D.java:
7182 Fixed javadocs all over.
7184 2004-05-30 Michael Koch <konqueror@gmx.de>
7186 * java/awt/DefaultKeyboardFocusManager.java
7187 (dispatchEvent): Call method to get key event dispatchers.
7188 (dispatchKeyEvent): Call method to get key event post processors.
7189 * javax/swing/JComponent.java
7190 (listenerList): Made protected.
7191 * javax/swing/JOptionPane.java
7192 (message): Don't initialize.
7193 (JOptionPane): Set message text.
7194 * javax/swing/JPopupMenu.java
7195 (show): Fixed typo in argument name.
7196 * javax/swing/RepaintManager.java
7197 (paintDirtyRegions): Use public API of java.util.Map.
7198 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7199 (positionForMouseEvent): Removed redundant ';'.
7200 (continueDrag): Use method arguments.
7202 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
7204 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7207 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
7209 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7211 * gnu/gcj/RawDataManaged.java: New file.
7212 * java/lang/Thread.java (data): Declare as RawDataManaged.
7213 * java/lang/natThread.cc (init_native): Cast natThread data to
7214 RawDataManaged, not jobject.
7215 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7216 * Makefile.in: Rebuilt.
7218 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
7220 * java/util/SimpleTimeZone.java: Reverting my last change until I
7221 can fix it properly.
7223 2004-05-27 Michael Koch <konqueror@gmx.de>
7225 * javax/swing/JPopupMenu.java
7226 (isVisible): Do not use visible directly.
7227 (setVisible): Likewise.
7228 * javax/swing/JWindow.java
7229 (JWindow): call accessible constructor.
7230 * javax/swing/RepaintManager.java
7231 (paintDirtyRegions): Use public methods to obtain iterator.
7233 2004-05-25 David Jee <djee@redhat.com>
7235 * java/awt/Container.java
7236 (remove): Set component's parent to null only after we removed the
7237 component from its parent's layout manager.
7239 2004-05-25 David Jee <djee@redhat.com>
7241 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7242 (GtkComponentPeer): Set bounds regardless of whether awtComponent
7244 * gnu/java/awt/peer/gtk/GtkListPeer.java
7245 (getSize): Change native method declaration.
7246 (minimumSize): Pass visible row count into getSize().
7247 (preferredSize): Likewise.
7248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7249 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7250 natural size. Use visible row count to determine the final height
7253 2004-05-21 Graydon Hoare <graydon@redhat.com>
7255 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7256 (setClip): Minor correction to order of operations.
7258 * javax/swing/JScrollPane.java: Extend sketchy implementation.
7259 * javax/swing/ScrollPaneLayout.java: Likewise.
7260 * javax/swing/JViewPort.java: Likewise.
7261 * javax/swing/ViewportLayout.java: Likewise.
7263 * javax/swing/JComponent.java: Rewrite.
7264 * javax/swing/RepaintManager.java: Likewise.
7266 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7267 * javax/swing/JList.java
7268 (setSelectedIndices):
7269 (getSelectedIndices):
7270 (getSelectedValues): New functions.
7271 (getPreferredScrollableViewportSize): Return preferred size.
7272 (getScrollableUnitIncrement):
7273 (getScrollableBlockIncrement): Initial implementations.
7274 * javax/swing/JRootPane.java: Clean up slightly.
7279 (isValidateRoot): Add overrides from JComponent.
7280 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7281 * javax/swing/UIManager.java (getDimension): Return the dimension.
7283 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7284 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7285 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7286 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7287 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7288 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7289 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7290 * javax/swing/plaf/basic/BasicRootPaneUI.java:
7291 Likewise, and set background.
7292 * javax/swing/plaf/basic/BasicListUI.java:
7293 Likewise, and improve a bit.
7294 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7295 Likewise, and adjust calculations.
7296 * javax/swing/plaf/basic/BasicViewportUI.java:
7297 Likewise, and improve a bit.
7298 * javax/swing/plaf/basic/BasicLookAndFeel.java
7299 (Button.margin): Shrink.
7301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7302 Hack to set horizontal always, workaround pango.
7304 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7306 Synchronize more often, check cairo status after ops,
7307 handle changes to cairo pattern API, check for disposal.
7309 2004-05-21 Olga Rodimina <rodimina@redhat.com>
7311 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7312 (BasicMenuItemUI): Create propertyChangeListener.
7313 (getPath):Implemented.
7314 (installListeners): Add propertyChangeListener to menuItem.
7315 (uninstallListeners): Remove propertyChangeListener from menuItem.
7316 (update): Implemented.
7317 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7318 (mouseEntered): Take insets of popup menu into account when
7319 calculating position of popup menu.
7321 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7323 * Makefile.am: Added new file.
7324 * Makefile.in: Regenerate.
7325 * javax/swing/JMenuBar.java:
7326 Started implementation.
7327 * javax/swing/JPopupMenu.java:
7328 (setVisible): Fixed location of lightweight/mediumweight
7330 (show): Fixed location of PopupMenu.
7331 * javax/swing/plaf/basic/BasicMenuBarUI.java:
7332 New file. UI Delegate for JMenuBar.
7333 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7334 (mouseEntered): Corrected position of the submenu.
7336 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7339 to _gtk_accel_group_attach.
7340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7343 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7344 package access. Don't override setFont.
7345 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7346 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7347 gtkWidgetRequestFocus package access.
7348 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7350 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7351 Give gtkWidgetRequestFocus package access.
7352 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7353 gtkWidgetRequestFocus package access. Don't override setFont.
7354 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7357 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7359 (gtkSetFont): Likewise.
7360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7363 (gtkSetFont): Whitespace fix.
7365 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7366 (gtkWidgetSetUsize): Remove method.
7368 2004-05-18 David Jee <djee@redhat.com>
7370 * java/awt/image/MemoryImageSource.java
7371 (newPixels(int,int,int,int,boolean)): Set only the specified
7372 rectangle of pixels.
7373 (newPixels(byte[],ColorModel,int,int)): Implement.
7374 (newPixels(int[],ColorModel,int,int)): Implement.
7376 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7378 * Makefile.am: Added new file.
7379 * Makefile.in: Regenerate.
7380 * javax/swing/JMenu.java: Started
7382 * javax/swing/JPopupMenu.java:
7383 (insert): If specified index is -1, then
7384 add component at the end.
7385 (isPopupTrigger): Reimplemented.
7386 (JPopupMenu.LightWeightPopup): setBounds
7387 of the lightWeightPopup before adding it
7389 (javax/swing/plaf/basic/BasicIconFactory.java):
7390 (getMenuArrowIcon): Implemented.
7391 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7392 (getPreferredSize): Add size of the arrow icon
7393 if this menu item is instance of JMenu.
7394 (paintMenuItem): Paint arrow icon if this
7395 menu item is a submenu.
7396 * javax/swing/plaf/basic/BasicMenuUI.java:
7397 New File. UI Delegate for JMenu.
7399 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7401 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7402 Post KEY_TYPED events.
7403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7404 (generates_key_typed_event): Remove function.
7406 2004-05-17 Olga Rodimina <rodimina@redhat.com>
7408 * javax/swing/JRootPane.java
7409 (JRootPane.RootLayout): Reimplemented to
7410 set bounds of contentPane and menuBar.
7411 (setJMenuBar): Add menu bar to the layered pane.
7412 (createLayeredPane): Set layout of layeredPane
7414 * javax/swing/JLayeredPane.java:
7415 (addImpl): Calculate index of the component in the
7416 layeredPane according to the specified position within
7419 2004-05-17 David Jee <djee@redhat.com>
7421 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7422 (setPixels): Change color model to the default model after
7424 * java/awt/image/MemoryImageSource.java
7425 (newPixels): Set only the specified rectangle of pixels.
7427 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7429 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7430 -l-java-beans -l-javax-accessibility -l-javax-swing.
7432 * java/awt/AWTEvent.java (toString): Print source's name rather
7433 than the source itself.
7435 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7437 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7440 (gdk_color_to_java_color): New function.
7441 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7443 2004-05-12 David Jee <djee@redhat.com>
7445 * java/awt/image/RGBImageFilter.java:
7446 Initialize origmodel as null.
7447 (makeColor): Fix pixel component order.
7448 (filterRGBPixels): Fix pixel iteration.
7449 (setPixels): Add extra checks for index color model. Convert pixels
7450 to default color model if necessary.
7451 (convertColorModelToDefault): New override method for byte pixels.
7452 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7453 (makeColorbyDefaultCM): New override method for byte pixels.
7454 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7455 (makeColor): Fix pixel component order.
7457 2004-05-11 Kim Ho <kho@redhat.com>
7459 * javax/swing/Box.java:
7460 Comment out more parts of Box.Filler.
7462 2004-05-11 Kim Ho <kho@redhat.com>
7464 * javax/swing/Box.java:
7465 Remove reference to AccessibleAWTComponent so
7468 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7470 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7471 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7472 implementation of list peer to use GtkTreeView instead of
7473 deprecated GtkCList.
7475 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7477 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7478 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7479 (handleEvent): Remove keyChar argument to
7480 gtkWidgetDispatchKeyEvent calls.
7481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7483 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7484 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7485 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7488 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7490 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7491 (gtkWidgetRequestFocus): Mark protected.
7492 (GtkComponentPeer): Only set the peer's bounds if its component
7494 * java/awt/Component.java (static): Set the default keyboard
7496 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7497 requestFocusInWindow(temporary)): Don't request focus if the
7498 component is not showing. Get tree lock before traversing
7499 component hierarchy.
7500 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7501 Only set the global focus owner if it is not a Window.
7502 (processKeyEvent): Consume keystrokes associated with the focus
7503 traversal keystroke.
7504 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7505 downFocusCycle): Call requestFocusInWindow instead of
7507 * java/awt/EventDispatchThread.java (run): Move setting of
7508 default keyboard focus manager to Component.java.
7509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7510 (awt_keycode_to_keysym): New function.
7511 (gtkWidgetDispatchKeyEvent): Finish implementation.
7512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7513 (pre_event_handler): Add FIXME comment.
7515 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7516 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7517 (gtkWidgetRequestFocus): New method.
7518 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7519 disable Tab and Shift-Tab keystrokes.
7520 (addNotify, appendText, insertText, replaceText): Simplify peer
7522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7523 (connectSignals): Remove connections to "commit" signals.
7524 Remove C++-style comments.
7526 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7527 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7528 (handleEvent): Activate GTK button when the space bar key is
7530 (gtkActivate): New method.
7532 2004-05-06 David Jee <djee@redhat.com>
7534 * java/awt/image/CropImageFilter.java
7535 (setPixels): Implement for byte array pixels.
7536 * java/awt/image/ReplicateScaleFilter.java
7537 (setPixels): Implement for byte array pixels.
7538 (replicatePixels): Overload for byte array pixels.
7540 2004-05-06 Kim Ho <kho@redhat.com>
7542 * javax/swing/Box.java:
7543 (getAccessibleContext): Return an instance of the
7546 2004-05-05 David Jee <djee@redhat.com>
7548 * gnu/java/awt/peer/gtk/GdkGraphics.java
7549 (drawImage): When component is null, use SystemColor.window as
7550 the default bgcolor.
7551 * gnu/java/awt/peer/gtk/GtkImage.java
7552 (setPixels): We can avoid iterating through the pixel rows only
7554 * java/awt/Image.java
7555 (getScaledInstance): Partially implement.
7556 * java/awt/image/CropImageFilter.java
7557 (setProperties): Fix "filter" property.
7558 (setPixels): Implement.
7559 * java/awt/image/ReplicateScaleFilter.java
7560 (setDimensions): Use scaled dimensions.
7561 (setPixels): Implement.
7562 (replicatePixels): New method.
7564 2004-05-05 David Jee <djee@redhat.com>
7566 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7567 (convertPixels): If either pixels or model is null, return null.
7568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7569 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7570 is null, do nothing and return.
7572 2004-05-03 Kim Ho <kho@redhat.com>
7574 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7575 (getGraphics): Like GtkFramePeer, the Graphics
7576 object needs to be translate to account for
7578 (postMouseEvent): New method. Account for
7580 (postExposeEvent): ditto.
7581 * javax/swing/Box.java: Stubbed.
7582 * javax/swing/JDialog.java: Ran through jalopy
7584 (JDialog): Call SwingUtilities' getOwnerFrame
7586 (setLayout): Check isRootPaneCheckingEnabled
7587 * javax/swing/JOptionPane.java: Re-implemented.
7588 * javax/swing/SwingUtilities.java:
7589 (getOwnerFrame): Static method to grab a default
7590 owner frame for Dialogs that don't specify owners.
7591 * javax/swing/event/SwingPropertyChangeSupport.java:
7592 (firePropertyChange): Fix early exit condition.
7593 * javax/swing/plaf/basic/BasicLabelUI.java:
7594 (paint): Avoid painting text if it is null
7596 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7599 2004-05-03 Olga Rodimina <rodimina@redhat.com>
7601 * Makefile.am: Added new file.
7602 * Makefile.in: Regenerate.
7603 * javax/swing/JPopupMenu.java:
7604 Started implementation.
7605 * javax/swing/JWindow.java
7606 (JWindow): call super() if parent for window
7608 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7609 New File. UI Delegate for JPopupMenu.
7611 2004-04-30 Olga Rodimina <rodimina@redhat.com>
7613 * javax/swing/JApplet.java: Indicated that JApplet
7614 implements RootPaneContainer and made method of this
7616 * javax/swing/JFrame.java: Ditto.
7617 * javax/swing/JWindow.java: Ditto.
7619 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7622 (nativeSetBounds): Call gdk_window_move in addition to
7625 * java/applet/Applet.java (preferredSize): Call parent's
7626 preferredSize if the applet stub is null.
7627 (minimumSize): Likewise for parent's minimumSize.
7629 2004-04-27 Olga Rodimina <rodimina@redhat.com>
7631 * javax/swing/JMenuItem.java
7632 (createActionPropertyChangeListener): Implemented.
7633 (processMouseEvent): Ditto.
7634 (fireMenuDragMouseEntered): Ditto.
7635 (fireMenuDragMouseExited): Ditto.
7636 (fireMenuDragMouseDragged): Ditto.
7637 (fireMenuDragMouseReleased): Ditto.
7638 (menuSelectionChanged): Ditto.
7639 (getSubElements): Ditto.
7640 (getComponent): Ditto.
7641 (addMenuDragMouseListener): Ditto.
7642 (removeMenuDragMouseListener):Ditto.
7643 (addMenuKeyListener): Ditto.
7644 (removeMenuKeyListener): Ditto.
7645 * javax/swing/plaf/basic/BasicMenuItemUI.java
7646 (doClick): Imlemented.
7647 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7648 Don't handle mouse events here. Pass them to
7649 MenuSelectionManager.
7651 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7652 Used correct version of jalopy configuration
7653 file to fix style in the files below.
7655 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7657 * javax/swing/JCheckBoxMenuItem.java:
7658 Fixed style and removed unnecessary comments.
7659 * javax/swing/JMenuItem.java: Ditto.
7660 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7661 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7662 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7663 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7665 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7667 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7670 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7672 * java/awt/ContainerOrderFocusTraversalPolicy.java
7673 (getComponentAfter): Start from current component and work up
7674 the component hierarchy until an acceptable component is found.
7675 Synchronize on tree lock.
7676 (getComponentBefore): Likewise.
7678 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7680 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7681 focus-related debugging messages.
7682 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7683 * java/awt/EventDispatchThread.java: Likewise.
7684 * java/awt/KeyboardFocusManager.java: Likewise.
7685 * java/awt/Window.java: Likewise.
7686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7690 new C++-style comments to C-style comments.
7691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7693 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7694 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7695 (handleEvent): Dispatch key press and key release events to
7697 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7698 (gtkWidgetRequestFocus): New method.
7699 (gtkWidgetDispatchKeyEvent): Likewise.
7700 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7701 requestFocusInWindow, requestFocusInWindow(boolean),
7702 getFocusCycleRootAncestor, nextFocus, transferFocus,
7703 transferFocusBackward, transferFocusUpCycle, hasFocus,
7704 isFocusOwner): Implement and document focus-handling methods.
7705 (setFocusTraversalKeys): Inherit focus traversal keys when
7706 keystrokes argument is null. Fix focus-handling documentation
7708 * java/awt/Container.java (setFocusTraversalKeys,
7709 getFocusTraversalKeys, areFocusTraversalKeysSet,
7710 isFocusCycleRoot, setFocusTraversalPolicy,
7711 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7712 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7713 Implement and document focus-handling methods.
7714 (transferFocusBackward): Remove method.
7715 (readObject, writeObject): Implement and document serialization
7717 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7719 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7721 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7723 * java/awt/EventDispatchThread.java (run): Set default keyboard
7724 focus manager. Attempt to dispatch each event to the keyboard
7725 focus manager before normal dispatch.
7726 * java/awt/KeyboardFocusManager.java: Implement and partially
7728 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7729 (show): Focus initial component when window is shown for the
7731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7732 (pre_event_handler): Replace complex key press and key release
7733 logic with simple callbacks into GtkComponentPeer.
7734 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7736 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7738 * javax/swing/MenuSelectionManager.java
7739 (componentForPoint): Added new method.
7740 (defaultManager): New Method. Implemented.
7741 (getSelectedPath): Ditto.
7742 (isComponentPartOfCurrentMenu): Ditto.
7743 (processKeyEvent): Added new method.
7744 (processMouseEvent): New Method. Implemented.
7745 (setSelectedPath): Ditto.
7748 2004-04-19 Kim Ho <kho@redhat.com>
7750 * java/awt/Container.java:
7751 (remove): Set the component's parent to null.
7752 (getComponentAt): Implement.
7753 * javax/swing/JComponent.java:
7754 (JComponent): Initialize defaultLocale
7755 (getDefaultLocale): Implement.
7756 (setDefaultLocale): ditto.
7757 * javax/swing/JSlider.java:
7758 (JSlider): Fix calculation of value.
7759 * javax/swing/JSplitPane.java: Implement.
7760 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7761 Change SplitPane's default divider size.
7762 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7763 (paint): Remove unused code.
7764 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7765 Added comments and ran through jalopy.
7766 (setBasicSplitPaneUI): Get reference to hidden divider
7767 and set up one touch buttons if necessary.
7768 (setBorder): Fire propertyChangeEvent only if
7769 borders are different.
7770 (getPreferredSize): Defer to layout manager.
7771 (propertyChange): Implement.
7772 (oneTouchExpandableChanged): ditto.
7773 (createLeftOneTouchButton): Use BasicArrowButton.
7774 (createRightOneTouchButton): ditto.
7775 (moveDividerTo): New method. Moves the divider
7776 to a set location based on the last divider location.
7777 (BasicSplitPaneDivider::MouseHandler): Implement.
7778 (BasicSplitPaneDivider::OneTouchButton): Removed.
7779 (BasicSplitPaneDivider::DragController): Implement.
7780 (BasicSplitPaneDivider::VerticalDragController):
7782 (BasicSplitPaneDivider::DividerLayout): ditto.
7783 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7784 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7785 (calculateLayoutInfo): Don't show component if it's
7787 (paintTab): Fix title paint logic.
7789 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7792 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7793 (setStartRule,setEndRule): Don't take abs of day number.
7794 (getOffset): Clarify docs. Add argument checks.
7795 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7796 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7798 * testsuite/libjava.mauve/xfails
7799 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7801 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7803 Layout interfaces during preparation, not initialization.
7804 * java/lang/natClass.cc (initializeClass): Move
7805 _Jv_LayoutInterfaceMethods call...
7806 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7808 2004-05-19 Anthony Green <green@localhost.localdomain>
7810 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7812 * Makefile.in: Rebuilt.
7813 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7814 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7815 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7816 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7817 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7818 gnu/javax/rmi/CORBA/DelegateFactory.java,
7819 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7820 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7821 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7822 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7823 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7824 gnu/javax/rmi/PortableServer.java: Remove files.
7826 2004-05-19 Anthony Green <green@redhat.com>
7828 * Makefile.am: Define JAVA_EXT_DIRS.
7829 * Makefile.in: Rebuilt.
7830 * java/lang/natRuntime.cc (insertSystemProperties): Set
7831 java.ext.dirs property.
7833 2004-05-16 Mark Wielaard <mark@klomp.org>
7835 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7837 2004-05-15 Mark Wielaard <mark@klomp.org>
7839 * doc/cni.sgml: Removed, merged into gcj.texi.
7841 2004-05-15 Mark Wielaard <mark@klomp.org>
7843 * Makefile.am (ordinary_java_source_files): Add new javax.print
7845 * Makefile.in: Regenerated.
7847 2004-05-15 Michael Koch <konqueror@gmx.de>
7849 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7850 javax/print/attribute/standard/DateTimeAtCreation.java,
7851 javax/print/attribute/standard/DateTimeAtProcessing.java,
7852 javax/print/attribute/standard/DocumentName.java,
7853 javax/print/attribute/standard/JobHoldUntil.java,
7854 javax/print/attribute/standard/JobImpressionsCompleted.java,
7855 javax/print/attribute/standard/JobMessageFromOperator.java,
7856 javax/print/attribute/standard/JobName.java,
7857 javax/print/attribute/standard/JobOriginatingUserName.java,
7858 javax/print/attribute/standard/JobPriority.java,
7859 javax/print/attribute/standard/JobPrioritySupported.java,
7860 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7861 javax/print/attribute/standard/OutputDeviceAssigned.java,
7862 javax/print/attribute/standard/PrinterInfo.java,
7863 javax/print/attribute/standard/PrinterLocation.java,
7864 javax/print/attribute/standard/PrinterMakeAndModel.java,
7865 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7866 javax/print/attribute/standard/PrinterName.java,
7867 javax/print/attribute/standard/QueuedJobCount.java,
7868 javax/print/attribute/standard/RequestingUserName.java:
7869 Fixed javadocs all over.
7871 2004-05-15 Michael Koch <konqueror@gmx.de>
7873 * javax/print/DocFlavor.java,
7874 javax/print/attribute/standard/ColorSupported.java,
7875 javax/print/attribute/standard/Compression.java,
7876 javax/print/attribute/standard/CopiesSupported.java,
7877 javax/print/attribute/standard/Fidelity.java,
7878 javax/print/attribute/standard/Finishings.java,
7879 javax/print/attribute/standard/JobImpressionsSupported.java,
7880 javax/print/attribute/standard/JobKOctetsSupported.java,
7881 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7882 javax/print/attribute/standard/JobSheets.java,
7883 javax/print/attribute/standard/JobState.java,
7884 javax/print/attribute/standard/JobStateReason.java,
7885 javax/print/attribute/standard/JobStateReasons.java,
7886 javax/print/attribute/standard/Media.java,
7887 javax/print/attribute/standard/MediaSizeName.java,
7888 javax/print/attribute/standard/MultipleDocumentHandling.java,
7889 javax/print/attribute/standard/NumberUpSupported.java,
7890 javax/print/attribute/standard/OrientationRequested.java,
7891 javax/print/attribute/standard/PDLOverrideSupported.java,
7892 javax/print/attribute/standard/PageRanges.java,
7893 javax/print/attribute/standard/PresentationDirection.java,
7894 javax/print/attribute/standard/PrintQuality.java,
7895 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7896 javax/print/attribute/standard/PrinterMoreInfo.java,
7897 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7898 javax/print/attribute/standard/PrinterResolution.java,
7899 javax/print/attribute/standard/PrinterState.java,
7900 javax/print/attribute/standard/PrinterStateReason.java,
7901 javax/print/attribute/standard/PrinterStateReasons.java,
7902 javax/print/attribute/standard/PrinterURI.java,
7903 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7904 javax/print/attribute/standard/Severity.java,
7905 javax/print/attribute/standard/SheetCollate.java,
7906 javax/print/attribute/standard/Sides.java:
7907 Added serialVersionUID and removed final keyword where it doenst
7910 2004-05-15 Michael Koch <konqueror@gmx.de>
7912 * javax/print/PrintServiceLookup.java: New file.
7914 2004-05-15 Michael Koch <konqueror@gmx.de>
7916 * javax/print/DocFlavor.java:
7917 Implemented all flavor classes.
7919 2004-05-15 Michael Koch <konqueror@gmx.de>
7921 * javax/print/attribute/standard/ColorSupported.java,
7922 javax/print/attribute/standard/Compression.java,
7923 javax/print/attribute/standard/CopiesSupported.java,
7924 javax/print/attribute/standard/Fidelity.java,
7925 javax/print/attribute/standard/Finishings.java,
7926 javax/print/attribute/standard/JobImpressionsSupported.java,
7927 javax/print/attribute/standard/JobKOctetsSupported.java,
7928 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7929 javax/print/attribute/standard/JobSheets.java,
7930 javax/print/attribute/standard/JobState.java,
7931 javax/print/attribute/standard/JobStateReason.java,
7932 javax/print/attribute/standard/JobStateReasons.java,
7933 javax/print/attribute/standard/Media.java,
7934 javax/print/attribute/standard/MediaSizeName.java,
7935 javax/print/attribute/standard/MultipleDocumentHandling.java,
7936 javax/print/attribute/standard/NumberUpSupported.java,
7937 javax/print/attribute/standard/OrientationRequested.java,
7938 javax/print/attribute/standard/PDLOverrideSupported.java,
7939 javax/print/attribute/standard/PageRanges.java,
7940 javax/print/attribute/standard/PresentationDirection.java,
7941 javax/print/attribute/standard/PrintQuality.java,
7942 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7943 javax/print/attribute/standard/PrinterMoreInfo.java,
7944 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7945 javax/print/attribute/standard/PrinterResolution.java,
7946 javax/print/attribute/standard/PrinterState.java,
7947 javax/print/attribute/standard/PrinterStateReason.java,
7948 javax/print/attribute/standard/PrinterStateReasons.java,
7949 javax/print/attribute/standard/PrinterURI.java,
7950 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7951 javax/print/attribute/standard/Severity.java,
7952 javax/print/attribute/standard/SheetCollate.java,
7953 javax/print/attribute/standard/Sides.java: New files.
7955 2004-05-15 Michael Koch <konqueror@gmx.de>
7957 * javax/print/Doc.java
7958 (getPrintData): Throws IOException.
7959 (getReaderForText): Likewise.
7960 (getStreamForBytes): Likewise.
7961 * javax/print/DocFlavor.java:
7962 Fixed filename in copyright.
7963 (serialVersionUID): New field.
7964 * javax/print/ServiceUIFactory.java:
7965 Made all constants final.
7966 * javax/print/AttributeException.java
7967 javax/print/MultiDoc.java
7968 javax/print/MultiDocPrintJob.java
7969 javax/print/MultiDocPrintService.java
7970 javax/print/StreamPrintService.java
7971 javax/print/URIException.java: New files.
7972 * javax/print/Makefile.am
7973 (EXTRA_DIST): Added all new files.
7975 2004-05-15 Michael Koch <konqueror@gmx.de>
7977 * javax/print/attribute/standard/Copies.java,
7978 javax/print/attribute/standard/DateTimeAtCompleted.java,
7979 javax/print/attribute/standard/DateTimeAtCreation.java,
7980 javax/print/attribute/standard/DateTimeAtProcessing.java,
7981 javax/print/attribute/standard/DocumentName.java,
7982 javax/print/attribute/standard/JobHoldUntil.java,
7983 javax/print/attribute/standard/JobImpressions.java,
7984 javax/print/attribute/standard/JobImpressionsCompleted.java,
7985 javax/print/attribute/standard/JobKOctets.java,
7986 javax/print/attribute/standard/JobKOctetsProcessed.java,
7987 javax/print/attribute/standard/JobMediaSheets.java,
7988 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7989 javax/print/attribute/standard/JobMessageFromOperator.java,
7990 javax/print/attribute/standard/JobName.java,
7991 javax/print/attribute/standard/JobOriginatingUserName.java,
7992 javax/print/attribute/standard/JobPriority.java,
7993 javax/print/attribute/standard/JobPrioritySupported.java,
7994 javax/print/attribute/standard/NumberOfDocuments.java,
7995 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7996 javax/print/attribute/standard/NumberUp.java,
7997 javax/print/attribute/standard/OutputDeviceAssigned.java,
7998 javax/print/attribute/standard/PagesPerMinute.java,
7999 javax/print/attribute/standard/PagesPerMinuteColor.java:
8000 Fixed @return tag all over.
8002 2004-05-15 Michael Koch <konqueror@gmx.de>
8004 * javax/print/attribute/AttributeSetUtilities.java
8005 (verifyCategoryForValue): Fixed typo in javadoc.
8006 * javax/print/attribute/HashAttributeSet.java
8007 (containsKey): Fixed @return tag.
8008 (comtainsValue): Likewise.
8010 * javax/print/attribute/IntegerSyntax.java
8012 * javax/print/attribute/ResolutionSyntax.java
8014 (getCrossFeedResolution): Removed unused code.
8015 (getFeedResolution): Likewise.
8016 * javax/print/attribute/SetOfIntegerSyntax.java
8017 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8018 (equals): Fixed @return tag.
8019 * javax/print/attribute/TextSyntax.java
8020 (TextSyntax): Take locale into account.
8021 (hashCode): Better implementation.
8023 2004-05-15 Michael Koch <konqueror@gmx.de>
8025 * javax/print/CancelablePrintJob.java,
8026 javax/print/Doc.java,
8027 javax/print/DocFlavor.java,
8028 javax/print/DocPrintJob.java,
8029 javax/print/FlavorException.java,
8030 javax/print/PrintException.java,
8031 javax/print/PrintService.java,
8032 javax/print/ServiceUIFactory.java: New files.
8034 2004-05-15 Mark Wielaard <mark@klomp.org>
8036 * gnu/regexp/CharIndexedReader.java: Removed.
8037 * gnu/regexp/REFilterReader.java: Likewise.
8038 * gnu/regexp/RETokenLookAhead.java: Likewise.
8039 * Makefile.am (ordinary_java_source_files): Remove above classes.
8040 * Makefile.in: Regenerated.
8042 2004-05-14 Tom Tromey <tromey@redhat.com>
8044 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8045 not `XGraphicsConfiguration.XOffScreenImage'.
8047 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
8049 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8051 2004-05-14 Steven Augart <augart@watson.ibm.com>
8053 * include/jni.h (_Jv_func): Removed.
8054 (struct JNINativeInterface): Use `void *' for reserved slots.
8055 (struct JNIInvokeInterface): Likewise.
8057 2004-05-11 Michael Koch <konqueror@gmx.de>
8059 * gnu/java/net/natPlainSocketImplPosix.cc
8060 (read): Fixed typo in expression.
8062 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
8064 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8065 ld_library_additions. Adjust all calls to libjava_invoke to match
8068 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8069 path to cxxflagslist.
8070 Pass path of libstdc++ to libjava_invoke.
8072 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8073 libjava_invoke arguments.
8075 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
8077 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8080 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
8082 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8083 main binary against the JNI shared library.
8085 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
8087 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8088 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8089 (SimpleTimeZone): Tweak docs. Add new variation.
8090 (setStartRule,setEndRule): Add new variations. Use
8091 startTimeMode and endTimeMode.
8093 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
8095 * java/util/Calendar.java (getActualMinimum,
8096 getActualMaximum): Remove abstract. Implement.
8098 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8100 Run the jni tests using the interpreter.
8101 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8102 options_cxx to shared lib compile command.
8103 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8104 they are used to link the shared lib, not the main binary.
8105 Use libjava_invoke to run gij.
8107 2004-05-06 Michael Koch <konqueror@gmx.de>
8109 * java/util/logging/Level.java
8110 (parse): Use == instead of String.equals().
8112 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8114 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
8115 verify_field_signature and verify_method_signature, not
8116 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8117 (_Jv_ClassReader::handleField): Likewise.
8118 (_Jv_ClassReader::handleMethod): Likewise.
8120 2004-05-06 Michael Koch <konqueror@gmx.de>
8122 * javax/swing/table/TableColumn.java:
8125 2004-05-06 Michael Koch <konqueror@gmx.de>
8127 * javax/imageio/spi/ImageReaderWriterSpi.java
8128 (ImageReaderWriterSpi): Made it public.
8129 * javax/imageio/stream/ImageInputStream.java:
8132 2004-05-06 Michael Koch <konqueror@gmx.de>
8134 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8137 2004-05-06 Michael Koch <konqueror@gmx.de>
8139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8140 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8143 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8145 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8146 their own source file.
8147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8148 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8149 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8151 (create): Define variable on top of function.
8152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8153 (menu_pos): Prototyped.
8154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8155 (setTitle): Removed.
8156 * jni/gtk-peer/gthread-jni.c
8157 (gdk_threads_wake): Removed.
8158 * Makefile.am (gtk_c_source_files): Added new files
8159 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8160 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8161 * Makefile.in: Regenerated.
8163 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
8165 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8168 2004-05-05 Mark Wielaard <mark@klomp.org>
8170 * javax/swing/AbstractButton.java: Replace special HTML entities with
8172 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8173 * javax/swing/DefaultButtonModel.java: Likewise.
8174 * javax/swing/DefaultListModel.java: Likewise.
8175 * javax/swing/JList.java: Likewise.
8176 * javax/swing/JSlider.java: Likewise.
8177 * javax/swing/ListModel.java: Likewise.
8178 * javax/swing/Popup.java: Likewise.
8179 * javax/swing/SwingUtilities.java: Likewise.
8181 2004-05-05 Michael Koch <konqueror@gmx.de>
8183 * javax/swing/AbstractButton.java,
8184 javax/swing/ActionMap.java,
8185 javax/swing/DefaultButtonModel.java,
8186 javax/swing/DefaultListModel.java,
8187 javax/swing/ImageIcon.java,
8188 javax/swing/JComboBox.java,
8189 javax/swing/JComponent.java,
8190 javax/swing/JFrame.java,
8191 javax/swing/JInternalFrame.java,
8192 javax/swing/JMenuBar.java,
8193 javax/swing/JMenuItem.java,
8194 javax/swing/JOptionPane.java,
8195 javax/swing/JProgressBar.java,
8196 javax/swing/JRootPane.java,
8197 javax/swing/JScrollBar.java,
8198 javax/swing/JScrollPane.java,
8199 javax/swing/JSeparator.java,
8200 javax/swing/JSlider.java,
8201 javax/swing/JTabbedPane.java,
8202 javax/swing/JTable.java,
8203 javax/swing/JTextField.java,
8204 javax/swing/JToolBar.java,
8205 javax/swing/JToolTip.java,
8206 javax/swing/JTree.java,
8207 javax/swing/JViewport.java,
8208 javax/swing/JWindow.java,
8209 javax/swing/KeyStroke.java,
8210 javax/swing/LookAndFeel.java,
8211 javax/swing/SwingUtilities.java,
8212 javax/swing/Timer.java,
8213 javax/swing/ToolTipManager.java,
8214 javax/swing/UIDefaults.java,
8215 javax/swing/border/TitledBorder.java,
8216 javax/swing/filechooser/FileSystemView.java,
8217 javax/swing/plaf/basic/BasicButtonListener.java,
8218 javax/swing/plaf/basic/BasicButtonUI.java,
8219 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8220 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8221 javax/swing/plaf/basic/BasicLabelUI.java,
8222 javax/swing/plaf/basic/BasicMenuItemUI.java,
8223 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8224 javax/swing/plaf/basic/BasicRootPaneUI.java,
8225 javax/swing/plaf/basic/BasicScrollBarUI.java,
8226 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8227 javax/swing/plaf/basic/BasicSliderUI.java,
8228 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8229 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8230 javax/swing/table/JTableHeader.java,
8231 javax/swing/text/AbstractDocument.java,
8232 javax/swing/text/DefaultCaret.java,
8233 javax/swing/text/StyledEditorKit.java,
8234 javax/swing/tree/DefaultTreeCellEditor.java:
8237 2004-05-05 Michael Koch <konqueror@gmx.de>
8239 * java/util/prefs/AbstractPreferences.java
8240 (AbstractPreferences): Added parenthesis for clarity.
8241 Closes classpath bug #7940.
8243 2004-05-05 Tom Tromey <tromey@redhat.com>
8245 * javax/naming/CompoundName.java (endsWith): Look at correct
8246 element of source name.
8248 2004-05-05 Mark Wielaard <mark@klomp.org>
8250 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8251 * java/util/HashMap.java (rehash): Add entry at start of bucket.
8253 2004-05-05 Tom Tromey <tromey@redhat.com>
8255 * java/io/BufferedReader.java (skip): Removed unused
8258 2004-05-05 Michael Koch <konqueror@gmx.de>
8260 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8262 2004-05-05 Dalibor Topic <robilad@kaffe.org>
8264 * java/text/AttributedString.java,
8265 java/text/AttributedStringIterator.java,
8266 java/text/Collator.java,
8267 java/text/DecimalFormatSymbols.java,
8268 java/text/NumberFormat.java,
8269 java/text/RuleBasedCollator.java:
8272 2004-05-05 Tom Tromey <tromey@redhat.com>
8274 * java/text/Format.java: Cleaned up imports.
8275 * java/text/DecimalFormat.java: Cleaned up imports.
8276 * java/security/SecureRandom.java: Cleaned up imports.
8277 (SecureRandom): Removed unused variable.
8278 * java/security/UnresolvedPermission.java: Cleaned up imports.
8279 * java/util/Date.java (parse): Removed unused variable.
8280 * java/util/ResourceBundle.java: Cleaned up imports.
8281 (getBundle): Removed unused variable.
8282 (tryBundle): Likewise.
8283 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8285 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8287 * java/text/SimpleDateFormat.java:
8288 (formatWithAttribute): New method. It implements
8289 the formatting process with attributes.
8290 (format): Use formatWithAttribute.
8291 (formatToCharacterIterator): New method. Use
8292 formatWithAttribute.
8294 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8296 * java/text/MessageFormat.java:
8297 (class Field): New class.
8298 (formatToCharacterIterator): New method.
8299 (format): Use formatInternal now.
8300 (formatInternal): New method. String formatter should
8301 be done here (with attributes). Attributes merging supported.
8302 (parse): More documentation.
8303 (getFormatsByArgumentIndex): New method.
8304 (setFormatByArgumentIndex): New method.
8305 (setFormatsByArgumentIndex): New method.
8307 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8309 * java/text/DecimalFormat.java
8310 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8311 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8312 (parse): Fixed handling of exponentiation notation and grouping.
8314 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8316 * java/text/DecimalFormat.java
8317 (scanFix): Build attribute array. Fixed error reporting.
8318 (applyPatternWithSymbols): Store attributes for the prefix and
8320 (formatInternal): New method. Changed the way the string is
8321 computed. Implemented attributes. Cleant up rounding in
8322 exponential notation.
8323 (format): Use formatInternal.
8324 (formatToCharacterIterator): New method.
8325 (exponentRound, negativePrefixRanges, positivePrefixRanges,
8326 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8327 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8330 2004-05-04 Dalibor Topic <robilad@kaffe.org>
8332 * java/security/interfaces/DSAKeyPairGenerator.java,
8333 java/security/interfaces/DSAPrivateKey.java,
8334 java/security/interfaces/DSAPublicKey.java,
8335 java/security/interfaces/RSAPrivateKey.java,
8336 java/security/interfaces/RSAPublicKey.java:
8339 2004-05-04 Michael Koch <konqueror@gmx.de>
8341 * java/nio/ByteBuffer.java,
8342 java/nio/CharBuffer.java,
8343 java/nio/DoubleBuffer.java,
8344 java/nio/FloatBuffer.java,
8345 java/nio/IntBuffer.java,
8346 java/nio/LongBuffer.java,
8347 java/nio/ShortBuffer.java:
8348 (compareTo): Fixed bogus implementation in all buffer classes.
8350 2004-05-04 Ingo Proetel <proetel@aicas.com>
8352 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8353 32 bit pixels not 8 bit pixels.
8354 (isCompatibleRaster): Added javadoc comment.
8356 2004-05-04 Ingo Proetel <proetel@aicas.com>
8358 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8361 2004-05-04 Ingo Proetel <proetel@aicas.com>
8363 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8364 (getColorModel): Return the actual color model.
8365 (getRaster): Implemented.
8366 (ColorRaster): New inner class.
8367 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8369 * java/awt/Color.java (<init>): Make exception more verbose.
8370 (createContext): Use ColorModel when creating a PaintContext.
8372 2004-05-04 Michael Koch <konqueror@gmx.de>
8374 * gnu/java/text/CharacterBreakIterator.java
8375 (previous): Removed unused variable.
8377 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
8379 * gnu/java/text/FormatBuffer.java,
8380 gnu/java/text/AttributedFormatBuffer.java,
8381 gnu/java/text/StringFormatBuffer.java: New classes to implement
8382 attributed iterators in java.text.
8383 * gnu/java/text/FormatCharacterIterator.java: Moved
8384 from java/text as it is an internal class.
8385 * java/text/FormatCharacterIterator.java: Removed.
8386 * java/text/Format.java:
8387 Import gnu.java.text.FormatCharacterIterator.
8388 * Makefile.am (java_source_files): Added new files.
8389 * Makefile.in: Regenerated.
8392 2004-05-04 Mark Wielaard <mark@klomp.org>
8394 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8396 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
8398 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8399 * Makefile.in: Rebuilt.
8401 2004-05-03 Mark Wielaard <mark@klomp.org>
8403 * gnu/java/security/der/DERReader.java: Call static methods staticly.
8404 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8406 (set(String, String, int, String, String, String, String, String)):
8407 Assign this.file to path or path + "?" + query.
8408 * java/util/Arrays.java: Call static methods staticly.
8409 * java/util/zip/ZipEntry.java: Likewise.
8410 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8411 dir to this.direction.
8412 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8413 Assign static field only once.
8414 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8416 2004-05-03 Mark Wielaard <mark@klomp.org>
8418 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8419 unused variables hScrollbarHeight and vScrollbarWidth.
8420 (preferredSize): Likewise.
8421 * gnu/java/security/provider/DSAParameters.java (engineToString):
8422 Removed unused call to System.getProperty("line.seperator");
8423 * java/security/Security.java (loadProviders): Return result.
8425 2004-05-03 Tom Tromey <tromey@redhat.com>
8427 * java/net/URLStreamHandler.java (toExternalForm): Removed
8430 * java/math/BigDecimal.java (divide): Removed unused variable.
8431 * java/lang/Throwable.java: Cleaned up imports.
8432 * java/lang/ClassLoader.java: Cleaned up imports.
8433 * java/io/FilePermission.java (implies): Removed unused
8435 * java/awt/TextComponent.java: Removed unused import.
8436 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8437 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8438 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8439 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8441 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8442 * gnu/java/text/CharacterBreakIterator.java: Removed
8444 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8446 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8447 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8449 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8450 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8451 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8452 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8453 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8454 (lookupProviders): Removed unused variable.
8455 (loadNextServiceProvider): Likewise.
8456 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8458 2004-05-03 Michael Koch <konqueror@gmx.de>
8460 Fixes PR libgcj/14695:
8461 * java/net/NetworkInterface.java
8462 (getByName): Return null when no interface was found.
8464 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8465 Tom Tromey <tromey@redhat.com>
8467 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8468 additional option "-Wmissing-prototypes" for compiling C sources.
8469 Print actual filename for pass/fail rather than $name.c.
8470 * testsuite/libjava.jni/PR15133.java: New testcase file.
8471 * testsuite/libjava.jni/PR15133.c: Likewise.
8472 * testsuite/libjava.jni/PR15133.out: Likewise.
8474 2004-04-30 Roger Sayle <roger@eyesopen.com>
8476 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8479 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8481 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8482 limit the maximum heap size to avoid unnecessary thrashing.
8484 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
8486 * java/text/CollationElementIterator.java (reset): Reset
8487 lookahead variables.
8489 2004-04-23 Mark Wielaard <mark@klomp.org>
8491 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8493 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8495 * java/sql/DriverManager.java:
8498 2004-04-23 Michael Koch <konqueror@gmx.de>
8501 (hashcode): Don't initialize with default value explicitely.
8502 (getContent): Removed redundant "final" keyword.
8503 (openStream): Likewise.
8504 (getURLStreamHandler): Fixed coding style.
8505 * java/net/URLConnection.java
8506 (defaultAllowUserInteraction): Don't initialize with default value
8508 (connected): Likewise.
8509 (doOutput): Likewise.
8510 (ifModifiedSince): Likewise.
8511 (dateformats_initialized): Likewise.
8512 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8514 2004-04-23 Michael Koch <konqueror@gmx.de>
8516 * gnu/java/nio/channels/FileChannelImpl.java
8517 (SET, CUR): Unused, removed.
8518 (read): Implement here directly.
8519 (implRead): Removed.
8520 (write): Implement here directly.
8521 (implWrite): Removed.
8523 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8525 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8526 javax/rmi/CORBA/Stub.java,
8527 javax/rmi/CORBA/Util.java,
8528 javax/rmi/CORBA/ValueHandler.java,
8529 javax/rmi/CORBA/ValueHandler.java,
8530 javax/rmi/PortableRemoteObject.java:
8533 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8535 * java/util/jar/JarFile.java,
8536 java/util/jar/JarInputStream.java,
8537 java/util/jar/JarOutputStream.java,
8538 java/util/jar/Manifest.java:
8541 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8543 * java/util/ArrayList.java,
8544 java/util/Calendar.java,
8545 java/util/Currency.java,
8546 java/util/HashMap.java,
8547 java/util/HashSet.java,
8548 java/util/Hashtable.java,
8549 java/util/LinkedList.java,
8550 java/util/Properties.java,
8551 java/util/PropertyPermission.java,
8552 java/util/TimeZone.java,
8553 java/util/TreeMap.java,
8554 java/util/TreeSet.java,
8555 java/util/Vector.java,
8556 java/util/WeakHashMap.java:
8559 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8561 * java/util/logging/FileHandler.java,
8562 java/util/logging/Formatter.java,
8563 java/util/logging/Handler.java,
8564 java/util/logging/Logger.java,
8565 java/util/logging/SimpleFormatter.java,
8566 java/util/logging/XMLFormatter.java:
8569 2004-04-22 Mark Wielaard <mark@klomp.org>
8571 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8572 -Wno-long-long flags variable.
8573 (gtk_c_files): Use PEDANTIC_CFLAGS.
8574 * Makefile.in: Regenerated.
8576 2004-04-22 Mark Wielaard <mark@klomp.org>
8578 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8579 Changed C++ comments into C comments.
8580 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8583 2004-04-22 Michael Koch <konqueror@gmx.de>
8585 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8586 Merged copyright year with GNU classpath.
8588 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8590 * javax/security/auth/x500/X500Principal.java:
8593 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8595 * javax/swing/JSlider.java:
8596 Fixed HTML tags in comments.
8598 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8600 * javax/accessibility/AccessibleText.java:
8603 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8605 * java/net/URLStreamHandler.java
8606 (parseURL): Convert the file path to using '/' instead of native
8609 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8612 (userInfo): New field.
8613 (URL): Set authority to the right value.
8614 (setURL): Fixed authority and file initialization.
8615 * java/net/URLStreamHandler.java
8616 (parseURL): Take care of the query tag. Build authority.
8617 (toExternalForm): Fixed URL building using authority.
8619 2004-04-22 Michael Koch <konqueror@gmx.de>
8621 * java/net/Socket.java
8622 (impl): Made package-private.
8623 * java/net/ServerSocket.java
8624 (implAccept): Access Socket.impl field directly.
8626 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8628 * java/util/prefs/Preferences.java,
8629 java/util/prefs/InvalidPreferencesFormatException.java,
8630 java/util/prefs/BackingStoreException.java,
8631 java/util/prefs/AbstractPreferences.java:
8634 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8636 * java/util/regex/Matcher.java,
8637 java/util/regex/Pattern.java:
8640 2004-04-22 Michael Koch <konqueror@gmx.de>
8642 * java/nio/charset/IllegalCharsetNameException.java
8643 (charsetName): Made private.
8644 (IllegalCharsetNameException): Added @param tag to javadoc.
8645 (getCharsetName): Added @return tag to javadoc.
8646 * java/nio/charset/MalformedInputException.java
8647 (MalformedInputException): Added @param tag to javadoc.
8648 (getInputLength): Revised method description, added @return tag.
8649 (getMessage): Added @return tag.
8651 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8653 * java/awt/Font.java (deriveFont): Implement missing variants.
8654 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8657 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8659 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8660 Set method->index values for interface methods to their itable index.
8661 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8663 2004-04-21 Michael Koch <konqueror@gmx.de>
8665 * java/nio/DirectByteBufferImpl.java
8666 (shiftDown): Made static, give address as argument and
8667 provide a convenience method that overwrites shiftDown in
8668 ByteBufferImpl and calls the native shiftDown.
8669 * java/nio/MappedByteBufferImpl.java
8670 (): Use optimized method in DirectByteBufferImpl.
8671 * java/nio/natDirectByteBufferImpl.cc
8672 (shiftDown): Changed method signature. Removed usage of array_offset.
8674 2004-04-21 Michael Koch <konqueror@gmx.de>
8676 * gnu/java/net/natPlainSocketImplPosix.cc
8677 (SocketInputStream::read): Make sure returned data is a byte value.
8679 2004-04-21 Michael Koch <konqueror@gmx.de>
8681 * gnu/classpath/ServiceFactory.java,
8682 gnu/classpath/ServiceProviderLoadingAction.java,
8683 javax/imageio/ImageReader.java,
8684 javax/imageio/ImageTranscoder.java,
8685 javax/imageio/ImageWriter.java,
8686 javax/imageio/package.html,
8687 javax/imageio/spi/IIOServiceProvider.java,
8688 javax/imageio/spi/ImageInputStreamSpi.java,
8689 javax/imageio/spi/ImageOutputStreamSpi.java,
8690 javax/imageio/spi/ImageReaderWriterSpi.java,
8691 javax/imageio/spi/ImageTranscoderSpi.java,
8692 javax/imageio/spi/RegisterableService.java,
8693 javax/imageio/spi/ServiceRegistry.java,
8694 javax/imageio/spi/package.html,
8695 javax/imageio/stream/IIOByteBuffer.java,
8696 javax/imageio/stream/ImageInputStream.java,
8697 javax/imageio/stream/ImageOutputStream.java,
8698 javax/imageio/stream/package.html:
8701 (ordinary_java_source_files): Added
8702 gnu/classpath/ServiceFactory.java and
8703 gnu/classpath/ServiceProviderLoadingAction.java.
8704 (javax_source_files): Added
8705 javax/imageio/ImageReader.java,
8706 javax/imageio/ImageTranscoder.java,
8707 javax/imageio/ImageWriter.java,
8708 javax/imageio/spi/IIOServiceProvider.java,
8709 javax/imageio/spi/ImageInputStreamSpi.java,
8710 javax/imageio/spi/ImageOutputStreamSpi.java,
8711 javax/imageio/spi/ImageReaderWriterSpi.java,
8712 javax/imageio/spi/ImageTranscoderSpi.java,
8713 javax/imageio/spi/RegisterableService.java,
8714 javax/imageio/spi/ServiceRegistry.java,
8715 javax/imageio/stream/IIOByteBuffer.java,
8716 javax/imageio/stream/ImageInputStream.java and
8717 javax/imageio/stream/ImageOutputStream.java.
8718 * Makefile.in: Regenerated.
8720 2004-04-21 Michael Koch <konqueror@gmx.de>
8722 * java/util/Properties.java
8723 (load): Fix wrongly merged fix.
8725 2004-04-21 Mark Wielaard <mark@klomp.org>
8727 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8728 malloc and free buf.
8730 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8732 * javax/naming/AuthenticationException.java,
8733 javax/naming/AuthenticationNotSupportedException.java,
8734 javax/naming/CannotProceedException.java,
8735 javax/naming/CommunicationException.java,
8736 javax/naming/CompoundName.java,
8737 javax/naming/ConfigurationException.java,
8738 javax/naming/ContextNotEmptyException.java,
8739 javax/naming/InitialContext.java,
8740 javax/naming/InsufficientResourcesException.java,
8741 javax/naming/InterruptedNamingException.java,
8742 javax/naming/LimitExceededException.java,
8743 javax/naming/LinkException.java,
8744 javax/naming/LinkLoopException.java,
8745 javax/naming/LinkRef.java,
8746 javax/naming/MalformedLinkException.java,
8747 javax/naming/Name.java,
8748 javax/naming/NameAlreadyBoundException.java,
8749 javax/naming/NameNotFoundException.java,
8750 javax/naming/NamingSecurityException.java,
8751 javax/naming/NoInitialContextException.java,
8752 javax/naming/NoPermissionException.java,
8753 javax/naming/NotContextException.java,
8754 javax/naming/PartialResultException.java,
8755 javax/naming/ReferralException.java,
8756 javax/naming/ServiceUnavailableException.java,
8757 javax/naming/SizeLimitExceededException.java,
8758 javax/naming/TimeLimitExceededException.java,
8759 javax/naming/directory/Attribute.java,
8760 javax/naming/directory/Attributes.java,
8761 javax/naming/directory/SearchResult.java,
8762 javax/naming/event/NamingExceptionEvent.java,
8763 javax/naming/spi/ResolveResult.java:
8766 2004-04-21 Mark Wielaard <mark@klomp.org>
8768 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8769 Changed C++ comments into C comments. Removed commented out code.
8770 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8772 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8774 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8776 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8778 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8780 * native/jni/gtk-peer/gthread-jni.c:
8783 2004-04-21 Mark Wielaard <mark@klomp.org>
8785 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8786 static fields defined in interface.
8787 * javax/awt/JDialog.java: Likewise.
8788 (JDialog): Make constructors public.
8789 (getDefaultCloseOperation): Make public.
8790 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8791 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8792 * javax/swing/JViewport.java (JViewport): Make constructor public.
8794 2004-04-21 Michael Koch <konqueror@gmx.de>
8796 * java/util/Map.java
8797 (Entry): Removed redundant "static" modifier.
8798 * java/text/AttributedCharacterIterator.java:
8799 Updated copyright year.
8801 2004-04-20 Michael Koch <konqueror@gmx.de>
8803 * javax/naming/directory/SearchControls.java:
8804 Don't explicitely extend java.lang.Object.
8805 * javax/naming/spi/DirStateFactory.java:
8806 Merged copyright year with GNU classpath.
8808 2004-04-20 Michael Koch <konqueror@gmx.de>
8810 * java/nio/channels/Channels.java:
8811 Merged coding style with GNU classpath.
8813 2004-04-20 Michael Koch <konqueror@gmx.de>
8815 * java/net/ServerSocket.java
8816 Merged coding style from GNU classpath.
8818 2004-04-20 Michael Koch <konqueror@gmx.de>
8820 * java/io/BufferedWriter.java:
8821 Reordered variables to be at top of the class.
8822 (localFlush): Removed redundant final keyword.
8824 2004-04-20 Ingo Proetel <proetel@aicas.com>
8826 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8828 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8830 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8831 for percent and permill check.
8833 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8835 * java/text/FieldPosition.java
8836 (FieldPosition) Constructor now behaves as it should according
8837 to the java documentation.
8839 2004-04-20 Mark Wielaard <mark@klomp.org>
8841 * java/util/Properties.java: Use the word umlaut, not ä in api
8844 2004-04-20 Michael Koch <konqueror@gmx.de>
8846 * java/nio/Buffer.java,
8847 java/nio/channels/AlreadyConnectedException.java,
8848 java/nio/channels/AsynchronousCloseException.java,
8849 java/nio/channels/ByteChannel.java,
8850 java/nio/channels/CancelledKeyException.java,
8851 java/nio/channels/Channel.java,
8852 java/nio/channels/Channels.java,
8853 java/nio/channels/ClosedByInterruptException.java,
8854 java/nio/channels/ClosedChannelException.java,
8855 java/nio/channels/ClosedSelectorException.java,
8856 java/nio/channels/ConnectionPendingException.java,
8857 java/nio/channels/DatagramChannel.java,
8858 java/nio/channels/FileChannel.java,
8859 java/nio/channels/FileLock.java,
8860 java/nio/channels/FileLockInterruptionException.java,
8861 java/nio/channels/GatheringByteChannel.java,
8862 java/nio/channels/IllegalBlockingModeException.java,
8863 java/nio/channels/IllegalSelectorException.java,
8864 java/nio/channels/InterruptibleChannel.java,
8865 java/nio/channels/NoConnectionPendingException.java,
8866 java/nio/channels/NonReadableChannelException.java,
8867 java/nio/channels/NonWritableChannelException.java,
8868 java/nio/channels/NotYetBoundException.java,
8869 java/nio/channels/NotYetConnectedException.java,
8870 java/nio/channels/OverlappingFileLockException.java,
8871 java/nio/channels/Pipe.java,
8872 java/nio/channels/ReadableByteChannel.java,
8873 java/nio/channels/ScatteringByteChannel.java,
8874 java/nio/channels/SelectableChannel.java,
8875 java/nio/channels/SelectionKey.java,
8876 java/nio/channels/Selector.java,
8877 java/nio/channels/ServerSocketChannel.java,
8878 java/nio/channels/SocketChannel.java,
8879 java/nio/channels/UnresolvedAddressException.java,
8880 java/nio/channels/UnsupportedAddressTypeException.java,
8881 java/nio/channels/WritableByteChannel.java,
8882 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8883 java/nio/channels/spi/AbstractSelectableChannel.java,
8884 java/nio/channels/spi/AbstractSelectionKey.java,
8885 java/nio/channels/spi/AbstractSelector.java,
8886 java/nio/channels/spi/SelectorProvider.java,
8887 java/nio/charset/spi/CharsetProvider.java:
8888 Fixed javadocs and jalopied all over java.nio.
8890 2004-04-20 Michael Koch <konqueror@gmx.de>
8892 * java/nio/ByteBufferImpl.java,
8893 java/nio/CharBufferImpl.java,
8894 java/nio/DirectByteBufferImpl.java,
8895 java/nio/DoubleBufferImpl.java,
8896 java/nio/DoubleViewBufferImpl.java,
8897 java/nio/FloatBufferImpl.java,
8898 java/nio/FloatViewBufferImpl.java,
8899 java/nio/IntBufferImpl.java,
8900 java/nio/IntViewBufferImpl.java,
8901 java/nio/LongBufferImpl.java,
8902 java/nio/LongViewBufferImpl.java,
8903 java/nio/MappedByteBufferImpl.java,
8904 java/nio/ShortBufferImpl.java,
8905 java/nio/ShortViewBufferImpl.java:
8906 Made sure all classes are final and removed final keyword from all
8909 2004-04-20 Michael Koch <konqueror@gmx.de>
8911 * java/rmi/MarshalledObject.java,
8912 java/rmi/Naming.java,
8913 java/rmi/RemoteException.java,
8914 java/rmi/activation/ActivationException.java,
8915 java/rmi/server/ServerCloneException.java,
8916 java/security/AccessController.java,
8917 java/security/AlgorithmParameterGenerator.java,
8918 java/security/AlgorithmParameters.java,
8919 java/security/CodeSource.java,
8920 java/security/Identity.java,
8921 java/security/IdentityScope.java,
8922 java/security/KeyPairGenerator.java,
8923 java/security/KeyStore.java,
8924 java/security/Security.java,
8925 java/security/Signature.java,
8926 java/security/SignatureSpi.java,
8927 java/security/SignedObject.java,
8928 java/security/spec/DSAParameterSpec.java,
8929 java/security/spec/DSAPrivateKeySpec.java,
8930 java/security/spec/DSAPublicKeySpec.java,
8931 java/sql/Array.java,
8932 java/sql/DatabaseMetaData.java,
8933 java/sql/ResultSet.java,
8934 java/text/ChoiceFormat.java,
8935 java/text/CollationElementIterator.java,
8936 java/text/CollationKey.java,
8937 java/text/Collator.java,
8938 java/text/DateFormat.java,
8939 java/text/DateFormatSymbols.java,
8940 java/text/DecimalFormatSymbols.java,
8941 java/text/Format.java,
8942 java/text/ParsePosition.java,
8943 java/text/RuleBasedCollator.java,
8944 java/text/SimpleDateFormat.java,
8945 java/text/StringCharacterIterator.java,
8946 java/util/Collections.java,
8947 java/util/PropertyResourceBundle.java,
8948 java/util/ResourceBundle.java,
8949 java/util/StringTokenizer.java,
8950 java/util/jar/Attributes.java,
8951 java/util/logging/ConsoleHandler.java,
8952 java/util/logging/LogManager.java,
8953 java/util/logging/MemoryHandler.java,
8954 java/util/logging/SocketHandler.java,
8955 javax/naming/NamingException.java:
8956 Fixed javadoc, coding style and argument names all over.
8958 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8960 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8961 constructor. (valid) Added null check.
8963 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8965 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8966 * java/io/FileOutputStream.java
8967 (FileOutputStream) Reorganized constructors. Constructors now
8968 check whether the given path is directory.
8970 2004-04-20 Michael Koch <konqueror@gmx.de>
8972 * java/net/Authenticator.java,
8973 java/net/BindException.java,
8974 java/net/ConnectException.java,
8975 java/net/ContentHandler.java,
8976 java/net/ContentHandlerFactory.java,
8977 java/net/DatagramPacket.java,
8978 java/net/DatagramSocket.java,
8979 java/net/DatagramSocketImpl.java,
8980 java/net/DatagramSocketImplFactory.java,
8981 java/net/FileNameMap.java,
8982 java/net/HttpURLConnection.java,
8983 java/net/Inet4Address.java,
8984 java/net/Inet6Address.java,
8985 java/net/InetAddress.java,
8986 java/net/InetSocketAddress.java,
8987 java/net/JarURLConnection.java,
8988 java/net/MalformedURLException.java,
8989 java/net/MulticastSocket.java,
8990 java/net/NetPermission.java,
8991 java/net/NetworkInterface.java,
8992 java/net/NoRouteToHostException.java,
8993 java/net/PasswordAuthentication.java,
8994 java/net/PortUnreachableException.java,
8995 java/net/ProtocolException.java,
8996 java/net/ServerSocket.java,
8997 java/net/Socket.java,
8998 java/net/SocketAddress.java,
8999 java/net/SocketException.java,
9000 java/net/SocketImpl.java,
9001 java/net/SocketImplFactory.java,
9002 java/net/SocketOptions.java,
9003 java/net/SocketPermission.java,
9004 java/net/SocketTimeoutException.java,
9006 java/net/URISyntaxException.java,
9008 java/net/URLClassLoader.java,
9009 java/net/URLConnection.java,
9010 java/net/URLDecoder.java,
9011 java/net/URLEncoder.java,
9012 java/net/URLStreamHandler.java,
9013 java/net/URLStreamHandlerFactory.java,
9014 java/net/UnknownHostException.java,
9015 java/net/UnknownServiceException.java:
9016 Fixed javadocs, coding style and argument names all over.
9018 2004-04-20 Michael Koch <konqueror@gmx.de>
9020 * java/lang/Byte.java,
9021 java/lang/CharSequence.java,
9022 java/lang/ClassLoader.java,
9023 java/lang/Compiler.java,
9024 java/lang/Double.java,
9025 java/lang/Float.java,
9026 java/lang/Integer.java,
9027 java/lang/Long.java,
9028 java/lang/Math.java,
9029 java/lang/Number.java,
9030 java/lang/Package.java,
9031 java/lang/Runtime.java,
9032 java/lang/RuntimePermission.java,
9033 java/lang/SecurityManager.java,
9034 java/lang/Short.java,
9035 java/lang/StringBuffer.java,
9036 java/lang/System.java,
9037 java/lang/ThreadGroup.java,
9038 java/lang/Throwable.java,
9039 java/lang/reflect/InvocationHandler.java,
9040 java/lang/reflect/Proxy.java:
9041 Fixed javadocs, coding style and argument names all over.
9043 2004-04-20 Michael Koch <konqueror@gmx.de>
9045 * java/io/BufferedWriter.java,
9046 java/io/ByteArrayInputStream.java,
9047 java/io/CharArrayWriter.java,
9048 java/io/DataInput.java,
9049 java/io/DataInputStream.java,
9051 java/io/FilterInputStream.java,
9052 java/io/InputStream.java,
9053 java/io/InputStreamReader.java,
9054 java/io/ObjectInputStream.java,
9055 java/io/ObjectStreamClass.java,
9056 java/io/PipedInputStream.java,
9057 java/io/PipedReader.java,
9058 java/io/PushbackInputStream.java,
9059 java/io/PushbackReader.java,
9060 java/io/RandomAccessFile.java,
9061 java/io/SerializablePermission.java,
9062 java/io/StreamTokenizer.java,
9063 java/io/StringWriter.java,
9064 java/io/WriteAbortedException.java,
9065 java/io/Writer.java:
9066 Fixed javadocs all over, rename arguments to match javadocs,
9069 2004-04-20 Ingo Proetel <proetel@aicas.com>
9071 * java/awt/FontMetrics.java:
9072 (charsWidth): fixed accumulation of total_width
9073 (getWidth): simple default implementation
9074 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9075 in Rectangle constructor.
9076 * java/awt/image/Raster.java (toString): Added method.
9077 * java/awt/image/SampleModel.java (<init>): Added error cause
9078 information to thrown exception.
9079 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9081 (setDataElements): New method.
9082 (setPixels): New method.
9083 (toString): New method.
9085 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
9087 * java/awt/image/ComponentColorModel.java
9088 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9089 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9090 Mauve tests on this method. Improved documentation.
9092 2004-04-20 Michael Koch <konqueror@gmx.de>
9094 * javax/swing/JLayeredPane.java,
9095 javax/swing/plaf/BorderUIResource.java,
9096 javax/swing/plaf/ComponentUI.java,
9097 javax/swing/undo/CompoundEdit.java,
9098 javax/swing/undo/StateEdit.java:
9099 Fixed HTML tags in javadocs all over.
9101 2004-04-20 Michael Koch <konqueror@gmx.de>
9103 * javax/print/attribute/EnumSyntax.java
9104 (getOffset): Made protected.
9105 * javax/print/attribute/HashAttributeSet.java
9106 (HashAttributeSet): Likewise.
9107 * javax/print/attribute/ResolutionSyntax.java
9108 (getFeedResolution): Fixed typo in exception name.
9109 (getCrossFeedResolution): Likewise.
9110 * javax/print/attribute/SetOfIntegerSyntax.java
9111 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9112 * javax/print/attribute/TextSyntax.java
9113 (TextSyntax): Handle locale correctly.
9114 (hashCode): Calc better hashcode value.
9115 (equals): Fixed @return tag.
9116 (toString): New method.
9118 2004-04-20 Michael Koch <konqueror@gmx.de>
9120 * gnu/java/nio/FileLockImpl.java
9121 (static): Removed, not needed anymore.
9122 * gnu/java/nio/channels/FileChannelImpl.java
9123 (FileChannelImpl): Made final.
9124 (mode): Made private.
9125 (READ, WRITE, APPEND): Made public.
9126 (EXCL, SYNC, DSYNC): Likewise.
9127 (static): Load native JNI library, when needed.
9128 (length): Unused, removed.
9129 (available): Made public.
9130 (implPosition): Throws IOException.
9132 (implTruncate): Likewise.
9136 2004-04-20 Michael Koch <konqueror@gmx.de>
9138 * java/awt/AWTPermission.java,
9139 java/awt/Component.java,
9140 java/awt/ComponentOrientation.java,,
9141 java/awt/Dialog.java,
9142 java/awt/FontMetrics.java,
9143 java/awt/Graphics.java,
9144 java/awt/datatransfer/DataFlavor.java,
9145 java/beans/Introspector.java,
9146 java/beans/PropertyEditor.java,
9147 java/beans/PropertyEditorManager.java,
9148 java/beans/beancontext/BeanContextServiceProvider.java:
9149 Fixed HTML tags in javadocs all over.
9151 2004-04-20 Mark Wielaard <mark@klomp.org>
9153 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9154 MissingResourceException is thrown.
9155 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9156 null when a MissingResourceException is thrown. Should never happen.
9158 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
9160 * java/awt/image/DataBufferShort.java,
9161 java/awt/image/DataBufferFloat.java,
9162 java/awt/image/DataBufferDouble.java,
9163 java/awt/image/PixelInterleavedSampleModel.java: New files.
9164 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9165 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9167 2004-04-20 Michael Koch <konqueror@gmx.de>
9169 * Makefile.am (java_source_files): Added
9170 java/awt/image/DataBufferDouble.java,
9171 java/awt/image/DataBufferFloat.java,
9172 java/awt/image/DataBufferShort.java and
9173 java/awt/image/PixelInterleavedSampleModel.java.
9174 * Makefile.in: Regenerated.
9176 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
9178 * gcj/cni.h (JvAllocObject): Remove these obsolete,
9179 undocumented CNI calls.
9180 * include/java-interp.h (_Jv_InterpClass): No longer
9181 extends java.lang.Class.
9182 * java/lang/Class.h (Class): Add new field `aux_info'.
9183 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9184 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9185 Use Class->aux_info instead.
9186 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9187 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9188 Use Class->aux_info instead.
9189 * java/io/natObjectInputStream.cc (allocateObject): Use
9191 * java/lang/natClass.cc (newInstance): Likewise.
9192 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9193 * java/lang/natObject.cc (clone): Likewise.
9194 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9195 * java/lang/natVMClassLoader.cc (defineClass): Don't use
9196 JvAllocObject. Allocate klass->aux_info here for interpreted
9199 2004-04-17 Mark Wielaard <mark@klomp.org>
9201 * javax/swing/JToggleButton.java (ToggleButtonModel):
9202 Make public static inner class.
9203 * javax/swing/JTabbedPane.java (setComponentAt):
9204 Call Page.setComponent().
9205 (SCROLL_TAB_LAYOUT): Make public, value is 1.
9206 (WRAP_TAB_LAYOUT): Make public, value is 0.
9207 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9208 Make private static inner class.
9210 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
9212 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9213 arguments to match new signature. Remove FIXME comments.
9215 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
9217 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9222 2004-04-02 Olga Rodimina <rodimina@redhat.com>
9224 * Makefile.am: Added new file.
9225 * Makefile.in: Regenerate.
9226 * javax/swing/ImageIcon.java:
9227 (ImageIcon(file)): set description of the icon
9229 * javax/swing/JCheckBoxMenuItem.java:
9230 Mostly Implemented. Work in progress.
9231 * javax/swing/JRadioButtonMenuItem.java:
9232 Reimplement constructors to use JToggleButtonModel.
9233 * javax/swing/plaf/basic/BasicIconFactory.java:
9234 (getCheckBoxMenuItemIcon): return check box
9236 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9237 paint menu item selected only when it is armed and
9240 2004-04-02 David Jee <djee@redhat.com>
9242 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9243 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9244 * java/awt/Component.java
9245 (add): Set the parent of the popup as this component.
9246 * java/awt/PopupMenu.java
9247 (addNotify): Create popup menu when peer is null.
9248 (show): Call addNotify() if peer is null.
9249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9250 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9251 argument for gtk_menu_popup() as zero. This causes the popup menu to
9252 respond to any mouse button.
9254 2004-03-31 Olga Rodimina <rodimina@redhat.com>
9256 * Makefile.am: Added new file.
9257 * Makefile.in: Regenerate.
9258 * javax/swing/JRadioButtonMenuItem.java:
9260 * javax/swing/plaf/basic/BasicIconFactory.java:
9261 (getRadioButtonMenuItemIcon): Return
9263 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9264 (getPreferredSize): Add size of checkIcon if it
9266 (installDefaults): Don't initialize checkIcon.
9267 It's value will be set in subclasses.
9268 (uninstallDefaults): remove uninstallation of
9270 (paint): Moved code to paintMenuItem().
9271 (paintMenuItem): Implemented.
9272 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9273 UI delegate for JRadioButtonMenuItem.
9275 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9277 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9278 Corrected position of the accelerator.
9280 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9282 * Makefile.am: Added new file.
9283 * Makefile.in: Regenerate.
9284 * javax/swing/JMenuItem.java: Partly
9285 implemented. Work in progress
9286 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9287 Changed default value of acceleratorDelimiter.
9288 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9289 New class. Partly implemented.
9291 2004-03-26 Mark Wielaard <mark@klomp.org>
9293 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9294 (item_activate): Declare label before use.
9295 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9296 (gtkSetFont): Removed unused variable label.
9297 (addExposeFilter): Declare variables before use.
9298 (removeExposeFilter): Likewise.
9299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9300 (ok_clicked): Declare str_fileName before use.
9302 2004-03-26 David Jee <djee@redhat.com>
9304 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9305 (addSeparator): Remove.
9306 * java/awt/Menu.java
9307 (separator): Remove static final MenuItem field.
9308 (separatorLabel): New static final String field.
9309 (addSeparator): Do not use peer method; use add(MenuItem) instead.
9310 Use separatorLabel to denote that it is a separator.
9311 (insertSeparator): Create a new MenuItem with separatorLabel, instead
9312 of reusing the static separator instance, because a MenuItem instance
9313 can't be added more than once without being cloned.
9314 * java/awt/peer/MenuPeer.java
9315 (addSeparator): Remove from interface.
9317 2004-03-26 David Jee <djee@redhat.com>
9319 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9320 (connectSignals): New native method declaration.
9321 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9322 * java/awt/MenuItem.java
9323 (getActionCommand): Return the label if the action command is not set.
9324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9325 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9326 gtk_menu_shell_append().
9327 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9328 (item_activate): Fix argument type.
9329 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9331 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9334 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9335 given. Add the menu widget's top-level GtkWindow to the global window
9336 group, so it can grab the pointer.
9337 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9338 gtk_menu_shell_append().
9340 2004-03-23 Graydon Hoare <graydon@redhat.com>
9342 * java/text/AttributedString.java
9343 (addAttribute): Fix off-by-one.
9344 (getIterator): Likewise.
9345 * java/text/AttributedStringIterator.java
9346 (getRunLimit): Correct logic.
9347 (getRunStart): Likewise.
9348 (getAttribute): Fix inequality.
9349 (getAttributes): Likewise.
9350 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9352 2004-03-23 Kim Ho <kho@redhat.com>
9354 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9355 (calculateSizes): Return real width and height.
9357 2004-03-23 Kim Ho <kho@redhat.com>
9359 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9360 (calculateTabRects): Set the selectedRun before
9361 trying to rotate tabs.
9363 2004-03-23 Kim Ho <kho@redhat.com>
9365 * Makefile.am: New file
9366 * Makefile.in: Regenerate
9367 * java/awt/Graphics.java: (drawRect):
9368 Draw to the correct point.
9369 * javax/swing/DefaultSingleSelectionModel.java
9370 (isSelected): Return true if the selected index
9372 * javax/swing/JLabel.java: Do not change mnemonic
9373 index if text is null.
9374 * javax/swing/JProgressBar.java: Use JComponent's
9376 * javax/swing/JScrollBar.java: Ditto.
9377 * javax/swing/JSlider.java: Ditto.
9378 * javax/swing/JTabbedPane.java: Reimplement.
9379 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9380 Add defaults for TabbedPane.
9381 * javax/swing/plaf/basic/BasicArrowButton.java:
9383 * javax/swing/plaf/basic/BasicProgressBarUI.java:
9384 (paintDeterminate): Don't paint String if it's
9386 (paintIndeterminate): ditto.
9387 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9390 2004-03-19 Michael Koch <konqueror@gmx.de>
9392 * java/awt/image/AffineTransformOp.java
9393 (AffineTransformOp): Made public.
9394 * javax/swing/JComponent.java
9395 (listenerList): Made protected.
9396 (accessibleContext): Likewise.
9397 * javax/swing/JList.java
9398 (valueChanged): Dont use internal fields of ListSelectionEvent.
9399 * javax/swing/JViewport.java
9400 (getView): Dont use internal fields of Component.
9401 (addImpl): Likewise.
9402 * javax/swing/Timer.java
9403 (isRunning): Made public.
9406 * javax/swing/UIDefaults.java
9407 (getInt): Made public.
9408 * javax/swing/plaf/basic/BasicListUI.java
9409 (mousePressed): Dont use internal fields of MouseEvent.
9410 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9411 * javax/swing/plaf/basic/BasicScrollBarUI.java
9412 (arrowIcon): Made static.
9413 * javax/swing/plaf/basic/BasicViewportUI.java
9414 (stateChanged): Dont use internal field on ChangeEvent.
9415 * javax/swing/text/JTextComponent.java
9416 (getUI): Call UIManager.getUI().
9417 (updateUI): Use getUI().
9419 2004-03-19 Graydon Hoare <graydon@redhat.com>
9421 * javax/swing/JComponent.java: Turn off double buffer by default.
9422 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9423 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9424 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9425 Use cairo to copy areas.
9426 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9427 Initialize and set clip region.
9429 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9431 * java/applet/Applet.java (preferredSize): Override deprecated
9432 variant of getPreferredSize.
9433 (minimumSize): Override deprecated variant of getMinimumSize.
9435 2004-03-15 Olga Rodimina <rodimina@redhat.com>
9437 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9438 (drawImage(img,xform,bgcolor,obs)): New Method.
9439 Helper function that every drawImage method will
9441 (drawRaster): Added new parameter, bgcolor. All
9442 transparent pixels are changed to bgcolor before
9444 (drawRenderedImage): Fixed to use changed drawRaster().
9445 (drawImage(image,xform,obs): Fixed to use new helper function
9446 (drawImage(image,op,x,y)): Ditto.
9447 (drawImage (img,x,y,observer)): Ditto.
9448 ((PainterThread) bgcolor): New Field.
9449 ((PainterThread) (setPixels)): Changed all transparent pixels
9451 (drawImage(img,x,y,width,height,bgcolor,observer)):
9452 Fixed FIXME - all the transparent pixels are
9453 changed to the specified bgcolor.
9454 (drawImage(img, x, y, width, height, observer): Changed to
9456 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9457 Fixed FIXME- changed all transparent pixels to bgcolor.
9458 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9459 Changed to use function above.
9461 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9463 * java/applet/Applet.java (dimensions): New field.
9464 (getDimensions): New method.
9465 (getPreferredSize): Call getDimensions.
9466 (getMinimumSize): Likewise.
9468 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9470 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9471 * jni/classpath/jnilink.c: Likewise.
9473 * java/applet/Applet.java (getPreferredSize): New method.
9474 (getMinimumSize): New method.
9476 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9478 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9479 (_Jv_AllocObjectNoFinalizer): Likewise.
9480 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9481 (_Jv_AllocPtrFreeObject): Likewise.
9482 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9483 directly even in the JVMPI case.
9484 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9485 _Jv_AllocObject calls.
9486 * gcj/javaprims.h: Update prototypes.
9487 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9488 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9489 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9491 2004-04-14 Andrew Haley <aph@redhat.com>
9492 Bryce McKinlay <mckinlay@redhat.com>
9494 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9495 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9496 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9498 * testsuite/libjava.lang/InvokeInterface.java: New file.
9499 * testsuite/libjava.lang/InvokeInterface.out: New file.
9501 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9503 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9505 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9506 StackTraceElement directly.
9507 (newElement): New native helper method to create StackTraceElement
9508 bypassing Java access control.
9509 (createStackTraceElement): Use newElement() instead of directly
9510 calling StackTraceElement's constructor.
9511 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9513 2004-04-01 Michael Koch <konqueror@gmx.de>
9515 * java/lang/SecurityManager.java
9516 (checkAwtEventQueueAccess): Implemented.
9518 2004-04-01 Gary Benson <gbenson@redhat.com>
9520 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9521 (_Jv_SearchMethodInClass): Likewise.
9523 2004-03-26 Peter Moon <peterm@miraculum.com>
9525 * java/text/NumberFormat.java: Fix spelling of setCurrency
9528 2004-03-21 Anthony Green <green@redhat.com>
9530 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9531 recursion when searching for the system ClassLoader.
9533 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9535 * java/net/ServerSocket.java
9536 (accept): Close the socket when error occured.
9538 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
9540 * java/net/URI.java (parseURI): Added unquoting.
9541 (unquote): New method.
9542 (quoteAuthority): Implemented.
9543 (quote(String,String)): New method.
9544 (quotePath): Implemented.
9545 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9546 (getSchemeSpecificPart): Removed FIXME comment.
9547 (getRawAuthority): Return new rawAuthority field.
9548 (getAuthority): Removed FIXME comment.
9549 (getRawUserInfo): Return new rawUserInfo field.
9550 (getUserInfo): Removed FIXME comment.
9551 (getRawPath): Return new rawPath field.
9552 (getPath): Removed FIXME comment.
9553 (getRawQuery): Return new rawQuery field.
9554 (getQuery): Removed FIXME comment.
9555 (getRawFragment): Return new rawFragment field.
9556 (getFragment): Removed FIXME comment.
9558 2004-03-20 Michael Koch <konqueror@gmx.de>
9560 * java/net/URLConnection.java: Merged copyright year with classpath.
9562 2004-03-20 Norbert Frese <postfach@nfrese.net>
9564 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9565 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9566 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9568 (getObjectInputStream): Return object reference, throw IOException if null.
9569 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9570 (getObjectOutputStream): Return object reference, throw IOException if null.
9571 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9572 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9573 (UnicastConnectionManager): Throw RemoteException if port is not available.
9574 (getInstance): Throw RemoteException.
9575 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9576 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9577 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9578 Collect Exceptions which are returned by a rmi-call and fix void returns.
9579 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9580 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9581 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9582 (dispatch): Answer ping messages which are sent by other java implementions.
9583 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9584 for every rmi-message and fix void return problems.
9585 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9586 (UnicastServerRef): Throw RemoteException.
9587 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9588 In some situations it is necessary to export a subclass of the class which has the _Stub.
9589 For instance when the class with has the _Stub is abstract.
9590 (findStubSkelClass): New method which looks for the class which has the _Stub.
9591 (getClientHost): Implementated.
9592 * gcc/libjava/java/rmi/server/RemoteServer.java
9593 (getClientHost): Implementated.
9594 * gcc/libjava/Makefile.am (rmi_java_source_files):
9595 Added gnu/java/rmi/server/RMIIncomingThread.java.
9596 * Makefile.in: Regenerated.
9598 2004-03-20 Michael Koch <konqueror@gmx.de>
9600 * java/net/InetAddress.java
9601 (getLocalHostname): Added javadoc.
9603 2004-03-19 Per Bothner <per@bothner.com>
9605 * configure.in: FILE variable overrides FLATFORM when linking
9606 natFileChannelXXX.cc.
9608 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9609 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9611 2004-03-19 Per Bothner <per@bothner.com>
9613 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9614 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9615 * Makefile.am: Update accordingly.
9616 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9617 as aliases for UnicodeLittle and UnicodeBig.
9619 2004-03-20 Mark Wielaard <mark@klomp.org>
9621 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9622 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9623 Don't access ws when it is null.
9624 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9627 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
9629 * java/lang/ThreadGroup.java (list): Changed print to println.
9631 2004-03-19 Mark Wielaard <mark@klomp.org>
9633 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
9636 2004-02-10 Randolph Chung <tausq@debian.org>
9638 * configure.in: Build java for hppa target.
9639 * configure: Regenerate.
9640 * libjava/configure.host (hppa-*): Add target.
9641 * libjava/sysdeps/pa/lock.h: New file.
9643 2004-03-19 Mark Wielaard <mark@klomp.org>
9645 Reported by Stephen Crawley
9646 * java/io/FilePermission.java (implies): Use String.length() -1 to
9647 access last char of String.
9649 2004-03-19 Michael Koch <konqueror@gmx.de>
9651 * java/awt/image/AffineTransformOp.java
9652 (AffineTransformOp): Made public.
9653 * javax/swing/JComponent.java
9654 (listenerList): Made protected.
9655 (accessibleContext): Likewise.
9656 * javax/swing/JList.java
9657 (valueChanged): Dont use internal fields of ListSelectionEvent.
9658 * javax/swing/JViewport.java
9659 (getView): Dont use internal fields of Component.
9660 (addImpl): Likewise.
9661 * javax/swing/Timer.java
9662 (isRunning): Made public.
9665 * javax/swing/UIDefaults.java
9666 (getInt): Made public.
9667 * javax/swing/plaf/basic/BasicListUI.java
9668 (mousePressed): Dont use internal fields of MouseEvent.
9669 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9670 * javax/swing/plaf/basic/BasicScrollBarUI.java
9671 (arrowIcon): Made static.
9672 * javax/swing/plaf/basic/BasicViewportUI.java
9673 (stateChanged): Dont use internal field on ChangeEvent.
9674 * javax/swing/text/JTextComponent.java
9675 (getUI): Call UIManager.getUI().
9676 (updateUI): Use getUI().
9678 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9680 * verify.cc: Undef PC.
9682 2004-03-18 Michael Koch <konqueror@gmx.de>
9684 * java/nio/channels/spi/AbstractSelectableChannel.java
9685 (keys): Initialize at declaration.
9686 (locate): keys cant be null.
9688 (addSelectionKey): New method.
9689 (removeSelectionKey): New method.
9690 * java/nio/channels/spi/AbstractSelectionKey.java
9691 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9692 * java/nio/channels/spi/AbstractSelector.java
9693 (provider): Javadoc added.
9694 (cancelledKeys): Javadoc added.
9695 (cancelKey): Javadoc added, add key to cancelledKeys.
9696 (deregister): Implemented.
9698 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9700 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9701 MAP_FAILED to void *.
9703 2004-03-12 Graydon Hoare <graydon@redhat.com>
9705 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9706 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9707 * javax/swing/JList.java (ListListener): Revalidate on changes.
9708 * javax/swing/JScrollPane.java: Reimplement.
9709 * javax/swing/JViewport.java: Reimplement.
9710 * javax/swing/ScrollPaneLayout.java: Reimplement.
9711 * javax/swing/ViewportLayout.java: Tidy up.
9712 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9713 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9714 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9715 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9718 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9721 (window_wm_protocols_filter): New function.
9722 (window_focus_in_cb): Remove function.
9723 (window_focus_out_cb): Likewise.
9724 (window_focus_or_active_state_change_cb): New function.
9725 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9726 (connectSignals): Don't attach handlers to focus-in-event or
9727 focus-out-event signals. Handle notify signal.
9729 2004-03-11 David Jee <djee@redhat.com>
9731 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9732 (gtkSetLabel): New native method declaration.
9733 (setLabel): Use gtkSetLabel.
9734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9735 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9737 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9739 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9740 black when color argument is null.
9742 2004-03-10 Kim Ho <kho@redhat.com>
9744 * java/awt/Container.java: Remove check
9747 2004-03-10 Kim Ho <kho@redhat.com>
9749 * java/awt/Container.java: (visitChild):
9750 Remove candidate clip. Use the component
9752 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9753 (handleEvent): Use the PaintEvent's clip.
9755 2004-03-10 Kim Ho <kho@redhat.com>
9757 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9758 (handleEvent): Don't set the clip for the
9761 2004-03-09 Graydon Hoare <graydon@redhat.com>
9763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9764 Fix double <-> fixed macros, reset font transform.
9765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9768 2004-03-09Â Kim Ho <kho@redhat.com>
9770 * java/awt/Container.java: (visitChild): Move
9771 the x and y coordinate of the component rectangle
9772 to correct position.
9773 (handleEvent): Forward drag events to the pressed
9775 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9777 (ArrowButtonListener::mousePressed): Stop the
9779 (mouseDragged): Implement.
9780 (TrackListener::mousePressed): Only react if
9781 the press doesn't occur on the thumb, otherwise
9782 just set the offset.
9783 (TrackListener::mouseReleased): Unset the isAdjusting
9785 (createIncreaseIcon): Switch icon.
9786 (createDecreaseIcon): Switch icon.
9787 (calculatePreferredSize): Use width.
9788 (getThumbBounds): Use the top as the lower value.
9789 (layoutVScrollBar): Switch the button locations.
9790 (paintIncreaseHighlight): Paint correct side of thumb.
9791 (paintDecreaseHighlight): ditto.
9792 (valueForYPosition): Use top as the lower value.
9793 * javax/swing/plaf/basic/BasicSliderUI.java:
9795 (mouseDragged): Implement.
9796 (mousePressed): Only react when the thumb isn't
9797 pressed, otherwise just set offset.
9798 (mouseReleased): Handle a release of the thumb.
9799 (scrollDueToClickInTrack): Stop the timer first.
9800 * javax/swing/JProgressBar.java:
9801 (setString): Fix change condition.
9802 * javax/swing/JSeparator.java:
9805 2004-03-08 David Jee <djee@redhat.com>
9807 * java/awt/image/AffineTransformOp.java:
9808 (filter): Use Graphics2D interface instead of directly using the
9811 2004-03-05 David Jee <djee@redhat.com>
9813 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9814 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9815 * java/awt/Container.java
9816 (acquireComponentForMouseEvent): Fixed.
9817 (handleEvent): Fixed.
9818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9819 (state_to_awt_mods_with_button_states): New method.
9820 (pre_event_handler): Fixed mouse event generation.
9822 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9824 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9825 (GdkGraphics2D (BufferedImage)): Initialize
9826 pixmap associated with specified BufferedImage.
9827 (setPaint): Changed implementation of Texture
9828 Paint to use AffineTransformOp.
9829 * java/awt/image/AffineTransformOp.java
9830 (createCompatibleDestRaster): Throw RasterFormatException
9831 if resulting width or height of raster is 0.
9833 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9835 * java/awt/image/AffineTransformOp.java:
9836 Removed unnecessary field interpolationType.
9837 Formatted some of the lines to be consistent with
9839 (AffineTransformOp): Create new RenderingHints
9840 containing specified interpolation type.
9841 (createCompatibleDestImage): Implemented.
9842 (createCompatibleDestRaster): Implemented.
9843 (filter): Implemented.
9844 (getBounds2D(BufferedImage)): Implemented.
9845 (getBounds2D(Raster)): Implemented.
9846 (getInterpolationType): Get interpolation value from
9849 2004-03-04 David Jee <djee@redhat.com>
9851 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9852 (setFont): Check if child peers are null.
9854 2004-03-04 Graydon Hoare <graydon@redhat.com>
9856 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9858 (libjava_arguments): Add new libraries to argument list.
9860 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9862 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9863 * Makefile.in: Re-generated.
9864 * java/awt/image/AffineTransformOp.java: New Class.
9866 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9868 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9869 (setPaint): Interpret correctly TexturePaint's
9871 (drawImage): Fixed scale factors of the affine
9874 2004-02-27 David Jee <djee@redhat.com>
9876 * gnu/java/awt/peer/gtk/GdkGraphics.java
9877 (GdkGraphics(Component)): Inherit font from component.
9878 (drawString): Use font style.
9879 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9880 (gtkSetFont): New native method declaration.
9881 (setFont): New method.
9882 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9883 (gtkSetFont): New native method declaration.
9884 (setFont): Call new native method gtkSetFont.
9885 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9886 (setFont): For all child components who do not their fonts set,
9887 set their peers' fonts with this container's font.
9888 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9889 Move all native method declarations to the top for readability.
9890 (gtkSetFont): New native method declaration.
9891 (setFont): New method.
9892 * java/awt/Component.java
9893 (setFont): Invalidate after setting the font.
9894 * java/awt/Container.java
9895 (invalidateTree): New method.
9896 (setFont): Invalidate the container tree after setting the font.
9897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9898 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9900 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9901 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9902 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9903 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9904 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9906 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9908 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9909 (updateBufferedImage): New helper function.
9910 Updates BufferedImage in memory if it was changed.
9911 (draw): changed to update BufferedImage in memory after
9912 this drawing operation
9914 (draw3DRect): Ditto.
9915 (fill3DRect): Ditto.
9917 (drawRaster): Ditto.
9918 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9919 no affine transformation.
9920 (drawGlyphVector): Ditto.
9922 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9924 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9925 (isBufferedImageGraphics): New Helper function.
9926 Returns true if this graphics2d can be used to draw
9927 into buffered image and false otherwise.
9928 (updateImagePixels): New Helper function.
9929 Updates pixels in the BufferedImage.
9930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9931 (getImagePixels): New function. Returns pixels
9932 of the buffered image associated with
9935 2004-02-26 David Jee <djee@redhat.com>
9937 * java/awt/BorderLayout.java
9938 (layoutContainer): Fix width and height calculations to ensure
9939 that they're non-negative.
9940 * java/awt/Component.java
9941 (setBackground): If c is null, inherit from closest ancestor whose
9942 background color is set.
9944 2004-02-26 Kim Ho <kho@redhat.com>
9946 * Makefile.am: Add new files.
9947 * Makefile.in: Re-generate.
9948 * javax/swing/JProgressBar.java:
9949 (JProgressBar(int, int int)): Throw
9950 IllegalArgumentException if orientation is
9952 (JProgressBar(BoundedRangeModel)): Create
9953 ChangeListener and register it. UpdateUI.
9954 (getChangeListeners): Implement.
9955 (setModel): Reset ChangeListener.
9956 * javax/swing/JScrollBar.java: Implement.
9957 * javax/swing/JSeparator.java: Implement.
9958 * javax/swing/JSlider.java:
9959 (JSlider(int, int, int, int)): Throw
9960 IllegalArgumentException if orientation
9962 (getChangeListeners): Fix method name.
9963 * javax/swing/SwingUtilities.java:
9964 (layoutCompoundLabel): If there is no text,
9965 set the text rectangle dimensions to 0.
9966 * javax/swing/plaf/basic/BasicButtonUI.java:
9967 (paint): If there is no text, don't paint it.
9968 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9970 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9972 * javax/swing/plaf/basic/BasicSliderUI.java:
9973 (propertyChange): If the model changes, change
9974 the listeners accordingly.
9976 2004-02-25 Graydon Hoare <graydon@redhat.com>
9978 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9979 * javax/swing/JList.java: Reimplement.
9980 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9981 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9982 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9983 * javax/swing/ListModel.java: Javadoc.
9984 * javax/swing/ListSelectionModel.java: Add missing methods.
9985 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9986 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9987 * javax/swing/ListModel.java: Javadoc and corrections.
9988 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9990 2004-02-25 David Jee <djee@redhat.com>
9992 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9993 (GtkFontPeer): Change default size to 12.
9994 * gnu/java/awt/peer/gtk/GtkToolkit.java
9995 (getFontPeer): Change default size to 12.
9996 (getClasspathFontPeer): Likewise. Set default name to "Default".
9997 * java/awt/Font.java
9998 (Font(Map)): Call Font(String,Map).
9999 (Font(String,Map)): If attrs is null, initialize it as an empty
10000 HashMap, which will ensure that the Font will get default attributes.
10002 2004-02-25 David Jee <djee@redhat.com>
10004 * gnu/java/awt/peer/gtk/GtkFontPeer.java
10005 (GtkFontPeer(String,int)): Call the new constructor with size 1.
10006 (GtkFontPeer(String,int,int)): New constructor with size attribute.
10007 * gnu/java/awt/peer/gtk/GtkToolkit.java
10008 (getFontPeer(String,int)): Call the new overload method with size 1.
10009 (getFontPeer(String,int,int)): New method. Overloaded with size
10011 (getClasspathFontPeer): Set the size of the font.
10013 2004-02-24 Olga Rodimina <rodimina@redhat.com>
10015 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10016 (bimage): New field.
10017 (GdkGraphics2D): New Constructor. Constructs Graphics
10018 object that can be used to draw into the Buffered Image.
10019 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10020 (GdkGraphicsEnvironment): Fixed to include public
10022 (createGraphics): Implemented.
10023 * gnu/java/awt/peer/gtk/GtkToolkit.java
10024 (getLocalGraphicsEnvironment): Implemented.
10025 * java/awt/GraphicsEnvironment.java:
10026 (getLocalGraphicsEnvironment): Implemented.
10027 * java/awt/image/BufferedImage.java:
10028 (createGraphics): Implemented.
10030 2004-02-24 David Jee <djee@redhat.com>
10032 * java/awt/Component.java
10033 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10034 * java/awt/Container.java
10035 (addNotifyContainerChildren): Fix event enabling.
10037 2004-02-23 Olga Rodimina <rodimina@redhat.com>
10039 * Makefile.am: Added
10040 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10041 * Makefile.in: Re-generated.
10042 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10045 2004-02-19 Kim Ho <kho@redhat.com>
10047 * Makefile.am: Add BasicProgressBarUI
10048 * Makefile.in: Regenerate.
10049 * javax/swing/JProgressBar.java:
10051 * javax/swing/plaf/basic/BasicLookAndFeel.java
10052 Add constants for JProgressBar.
10053 * javax/swing/plaf/basic/BasicProgressBarUI.java
10055 * javax/swing/plaf/basic/BasicSliderUI.java
10057 (calculateGeometry): New method
10058 (paint): Remove unnecessary size calculations.
10060 2004-02-18 Olga Rodimina <rodimina@redhat.com>
10062 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10063 (drawRaster): Fixed small error that caused
10064 imageToUser transformation to be set incorrectly.
10065 (toString): Implemented.
10067 2004-02-18 David Jee <djee@redhat.com>
10069 * java/awt/CardLayout.java
10070 (addLayoutComponent): Show the first component added as the default.
10071 (removeLayoutComponent): After removing, show the next component.
10072 (gotoComponent): If there is only one component, show it and return.
10074 2004-02-18 Kim Ho <kho@redhat.com>
10076 * javax/swing/JSlider.java: Re-order
10078 * javax/swing/JLabel.java: Re-order
10080 * javax/swing/JComponent.java:
10081 (addPropertyChangeListener):
10083 (removePropertyChangeListener):
10085 (firePropertyChangeEvent):
10088 2004-02-17 David Jee <djee@redhat.com>
10090 * java/awt/Component.java
10091 (show): Dispatch ComponentEvent via system event queue.
10094 (resize): Likewise.
10095 (reshape): Likewise.
10096 * java/awt/Window.java
10097 (setBoundsCallback): Likewise.
10099 2004-02-17 David Jee <djee@redhat.com>
10101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10102 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10103 Use gtk_widget_set_size_request() instead of the deprecated
10104 gtk_widget_set_usize().
10106 2004-02-17 Kim Ho <kho@redhat.com>
10108 * javax/swing/JSlider.java: Fix comments and
10109 make property strings constants.
10110 (createStandardLabels): Use the labels
10111 preferred size as bounds.
10112 * javax/swing/plaf/basic/BasicSliderUI.java
10114 (ScrollHandler::actionPerformed): Don't
10115 calculate the timer stop value. Let the
10116 MouseListeners find the stop location.
10117 (getPreferredHorizontalSize): Re-implement.
10118 (getPreferredVerticalSize): ditto.
10119 (getMinimumHorizontalSize): ditto.
10120 (getMinimumVerticalSize): ditto.
10121 (getPreferredSize): ditto.
10122 (getMinimumSize): ditto.
10123 (getMaximumSize): ditto.
10124 (paintTicks): Use doubles to find the
10126 (paintHorizontalLabel):Â Use preferredSize
10127 as initial width and height.
10128 (paintVerticalLabel): ditto.
10130 2004-02-17 Kim Ho <kho@redhat.com>
10132 * javax/swing/JLabel.java: Changed
10133 property strings to constants.
10134 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10136 (setText): Change mnemonic index if
10138 (setDisplayedMnemonicIndex): Fire property
10140 (getDisplayedMnemonicIndex): Remove check
10141 against short text.
10143 2004-02-17 Olga Rodimina <rodimina@redhat.com>
10145 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10146 (drawImage(img,xform,obs)): Invert xform before
10147 passing the xform to cairo.
10148 (drawImage(img,x,y,bgcolor,obs)): Implemented.
10149 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
10151 (drawImage (img,x,y,w,h,obs)): Implemented.
10152 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
10153 bgcolor,obs)): Partly implemented.
10154 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
10156 * java/awt/image/BufferedImage.java:
10157 (copyData): if dest is null, create raster with same
10158 dimensions as the current image.
10160 2004-02-16 Graydon Hoare <graydon@redhat.com>
10162 * javax/swing/plaf/basic/BasicLabelUI.java
10163 (getPreferredSize): Use layoutCL.
10164 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10165 (getPreferredButtonSize): Start with empty view rect, layout using
10166 component's preferred alignment.
10167 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10170 2004-02-16 David Jee <djee@redhat.com>
10172 * java/awt/Component.java
10173 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10174 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10175 (move): Erase old bounds and repaint new bounds. Dispatch
10176 COMPONENT_MOVED ComponentEvent.
10177 (resize): Erase old bounds and repaint new bounds. Dispatch
10178 COMPONENT_RESIZED ComponentEvent.
10179 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10181 * java/awt/Window.java
10182 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10185 2004-02-16 Olga Rodimina <rodimina@redhat.com>
10187 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10188 (setRenderingHint): Added implementation of
10189 Interpolation rendering hints.
10190 (setRenderingHints): Ditto.
10191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10192 (drawPixels): fixed to allow user to choose type
10193 of filtering that should be used when displaying images.
10194 (cairoSurfaceSetFilter): New method. Sets filter type for
10195 interpolation of pixel values.
10197 2004-02-16 David Jee <djee@redhat.com>
10199 * java/awt/GridBagLayout.java
10200 (calcCellSizes): Rows or columns with zero sizes should still be
10201 considered for extra space distribution.
10203 2004-02-16 Kim Ho <kho@redhat.com>
10205 * javax/swing/JLabel.java: Re-implement.
10206 * javax/swing/plaf/basic/BasicLabelUI.java
10208 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10211 2004-02-16 Kim Ho <kho@redhat.com>
10213 * javax/swing/JSlider.java: Fix indentation and comments.
10214 (setModel): Remove null check to conform with Sun's.
10215 (setOrientation): Throw exception if not
10216 HORIZONTAL or VERTICAL.
10217 (getInverted): Use private variable instead of
10218 ComponentOrientation.
10219 (setInverted): ditto.
10220 * javax/swing/plaf/basic/BasicSliderUI.java:
10221 Fix indentation and comments.
10222 (propertyChange): Remove check for inverted slider, handle
10224 (getMinimumSize): Return preferred size.
10225 (getMaximumSize): ditto.
10226 (calculateFocusRect): Don't relocate rectangle.
10227 (drawInverted): Return XOR of the slider's inversion and
10228 the component's orientation.
10229 (paint): Update leftToRightCache
10231 2004-02-13 David Jee <djee@redhat.com>
10233 * java/awt/GridBagLayout.java
10234 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10235 code to helper methods.
10236 (sortBySpan): New helper method.
10237 (distributeSizeAndWeight): Likewise.
10238 (calcCellWeights): Likewise.
10239 (calcCellSizes): Add comments.
10241 2004-02-13 David Jee <djee@redhat.com>
10243 * java/awt/Component.java
10244 (show): Only do something if component is invisible at the moment.
10245 (hide): Only do something if component is visible at the moment.
10246 (reshape): If lightweight, erase old bounds and repaint new bounds.
10248 2004-02-13 Kim Ho <kho@redhat.com>
10250 * Makefile.am: Updated for new file.
10251 * Makefile.in: Regenerated.
10252 * javax/swing/JSlider.java: Reimplement.
10253 * javax/swing/SwingUtilities.java
10254 (layoutCompoundLabel): Use icon height
10256 (paintComponent): Implement.
10257 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10258 Add JSlider defaults.
10259 * javax/swing/plaf/basic/BasicSliderUI.java:
10260 Implement. New file.
10262 2004-03-17 Michael Koch <konqueror@gmx.de>
10264 * gnu/java/net/PlainDatagramSocketImpl.java
10265 (RECEIVE_LOCK): New member field.
10266 (SEND_LOCK): New member field.
10267 (send0): New method.
10268 (send): Synchronize on SEND_LOCK.
10269 (receive0): New method.
10270 (receive): Synchronize on RECEIVE_LOCK.
10271 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10272 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10273 gnu/java/net/natPlainDatagramSocketImplWin32.cc
10274 (send0): Renamed from send.
10275 (receive0): Renamed from receive.
10276 2004-03-17 Michael Koch <konqueror@gmx.de>
10278 * gnu/java/net/natPlainSocketImplPosix.cc
10279 (write): Just call write(jbyteArray, offset, len).
10280 (read): Just call read(jbyteArray, offset, len).
10282 2004-03-16 Michael Koch <konqueror@gmx.de>
10284 * javax/swing/JTabbedPane.java
10285 (serialVersionUID): New field.
10287 2004-03-16 Norbert Frese <postfach@nfrese.net>
10289 * java/net/InetAddress.java
10290 (getByName): Handle hostname == "" case.
10292 2004-03-16 Dalibor Topic <robilad@kaffe.org>
10294 Reported by: Adam Heath <doogie@debian.org>
10295 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10298 2004-03-15 Michael Koch <konqueror@gmx.de>
10300 * java/util/Locale.java: Reverting my last patch
10301 and add a comment why the original version was okay.
10303 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
10305 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10306 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10307 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10308 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10310 2004-03-12 Michael Koch <konqueror@gmx.de>
10312 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10314 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10316 * java/net/URI.java (toURL): Implemented.
10318 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10320 * java/net/URI.java
10321 (URI_REGEXP) updated to contain scheme specific part.
10322 (SCHEME_SPEC_PART_GROUP) new constant.
10323 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10324 updated to make room for SCHEME_SPEC_PART_GROUP.
10325 (parseURI) parse scheme specific part.
10326 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10327 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10328 getQuery, getFragment) implemented.
10330 2004-03-12 Dalibor Topic <robilad@kaffe.org>
10332 * libraries/javalib/java/net/URI.java
10333 partially implemented using java.util.regex.
10334 (URI_REGEXP) new constant. Used to parse URIs.
10335 (SCHEME_GROUP) new constant representing index of scheme group
10337 (AUTHORITY_GROUP) new constant representing index of authority
10338 group in parsed URI.
10339 (PATH_GROUP) new constant representing index of path group in
10341 (QUERY_GROUP) new constant representing index of query group in
10343 (FRAGMENT_GROUP) new constant representing index of fragment
10344 group in parsed URI.
10345 (getURIGroup) new static utility method.
10346 (parseURI) implemented.
10347 (quote) stub for new static utility method.
10348 (quoteAuthority) stub for new static utility method.
10349 (quoteHost) stub for new static utility method.
10350 (quotePath) stub for new static utility method.
10351 (quoteUserInfo) stub for new static utility method.
10353 (create) don't throw URISyntaxException. Implemented.
10354 (toString) implemented.
10356 2004-03-12 Michael Koch <konqueror@gmx.de>
10358 * java/net/HttpURLConnection.java
10359 (getResponseCode): Fix another typo in javadoc.
10361 2004-03-11 Michael Koch <konqueror@gmx.de>
10363 * java/util/logging/Level.java
10364 (parse): Use String.equals() instead of ==.
10366 2004-03-11 Michael Koch <konqueror@gmx.de>
10368 * gnu/java/net/protocol/jar/Connection.java
10369 (getContentLength): New method.
10371 2004-03-11 Michael Koch <konqueror@gmx.de>
10373 * gnu/java/net/PlainSocketImpl.java:
10374 Reformated to merge better with classpath's version.
10376 2004-03-11 Michael Koch <konqueror@gmx.de>
10378 * java/util/Locale.java
10379 (getISO3Language): Use String.equals() instead of ==.
10380 (getISO3Country): Likewise.
10382 2004-03-11 Dalibor Topic <robilad@kaffe.org>
10384 * java/text/AttributedString.java
10385 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10386 Use HashMap instead of Hashtable since value can be null, and
10387 you can not store a null value in a Hashtable.
10389 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10391 * java/text/AttributedStringIterator.java
10392 (getAllAttributesKey): Return only keys concerned
10393 by the current iterator.
10394 (getAttributes): Use strict inequality for
10397 2004-03-11 Michael Koch <konqueror@gmx.de>
10399 * java/net/HttpURLConnection.java:
10400 Fixed typo in javadoc.
10402 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10404 * java/io/BufferedInputStream.java (marktarget): New field for max
10406 (CHUNKSIZE): New constant for incremental mark buffer allocation.
10407 (mark): Use new fields.
10409 (read(byte[],int,int)): Likewise.
10411 (refill): Likewise.
10413 2004-03-11 Mark Wielaard <mark@klomp.org>
10415 * java/beans/BeanDescriptor.java (BeanDescriptor):
10416 Set the FeatureDescriptor programmatic name.
10418 2004-03-11 Michael Koch <konqueror@gmx.de>
10420 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10421 This file was was just copied form java/io/natFileDescriptorEcos.cc
10422 and never changed to compile correctly.
10424 2004-03-11 Michael Koch <konqueror@gmx.de>
10426 * gnu/java/nio/PipeImpl.java
10427 (SourceChannelImpl): Made final.
10428 (read): Implemented.
10429 (SinkChannelImpl): Made final.
10430 (write): Implemented.
10432 2004-03-11 Michael Koch <konqueror@gmx.de>
10434 * gnu/java/net/PlainDatagramSocketImpl.java:
10435 Reformated to match classpath's version more.
10437 2004-03-11 Michael Koch <konqueror@gmx.de>
10439 * gnu/java/awt/peer/ClasspathFontPeer.java:
10440 Fixed javadoc to be correct xhtml.
10441 * gnu/java/awt/peer/gtk/GtkArgList.java
10442 (add): Use Boolean.valueOf() instead of new Boolean().
10444 2004-03-09 Michael Koch <konqueror@gmx.de>
10446 * java/lang/Thread.java
10447 (runnable): Moved around.
10448 (daemon): Renamed from daemon_flag.
10449 (contextClassLoader): Renamed from context_class_loader.
10450 (Thread): Reordered constructors.
10451 (activeCount): Use group directly.
10452 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10453 (holdsLock): Reworked javadoc.
10454 (setDaemon): Reworked.
10455 * java/lang/natThread.cc
10456 (destroy): Removed.
10458 2004-03-08 Anthony Green <green@redhat.com>
10460 * Makefile.am: Build property resource files into libgcj.
10461 * Makefile.in: Rebuilt.
10462 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10463 java/util/regex/PatternSyntaxException.java,
10464 gnu/regexp/CharIndexed.java,
10465 gnu/regexp/CharIndexedCharArray.java,
10466 gnu/regexp/CharIndexedInputStream.java,
10467 gnu/regexp/CharIndexedReader.java,
10468 gnu/regexp/CharIndexedString.java,
10469 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10470 gnu/regexp/REException.java,
10471 gnu/regexp/REFilterInputStream.java,
10472 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10473 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10474 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10475 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10476 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10477 gnu/regexp/RETokenLookAhead.java,
10478 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10479 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10480 gnu/regexp/RETokenStart.java,
10481 gnu/regexp/RETokenWordBoundary.java,
10482 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10484 2004-03-03 Per Bothner <per@bothner.com>
10486 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10487 Optimize when argument is a FileChannelImpl.
10488 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10489 New native methods.
10490 * java/nio/channels/natChannels.cc: New file for new native methods.
10491 * Makefile.am: Update accordingly.
10493 2004-03-02 Jan Hubicka <jh@suse.cz>
10495 * configure.host: Pass -fno-omit-frame-pointer for i386.
10496 * configure.in: Likewise.
10497 * configure: Regenerate.
10499 2004-03-01 Per Bothner <per@bothner.com>
10501 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
10503 2004-02-29 Per Bothner <per@bothner.com>
10505 * java/nio/channels/FileChannelImpl.java: Moved to package
10506 gnu/java/nio/channels, since we need to refer to it from java.io.
10507 * java/nio/channels/natFileChannelImpl.cc: Removed file.
10508 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
10509 from java/nio/channels. Don't depend on FileDescriptor.
10510 (in, out, err): New static fields.
10512 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
10513 from FileDescriptor.
10514 (by): Removed MappedByteBuffer field.
10515 (map): New working implementation.
10516 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
10517 some code "ported" from natFileDescriptoPosix.cc.
10518 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
10519 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
10520 * java/io/FileDescriptor.java: Implement on top of FileChannel.
10521 Remove native methods.
10522 * Makefile.am, configure.in: Updated accordingly.
10524 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
10525 (ch): New FileChannelImpl field. Update constructor to match.
10526 (releaseImpl): Remove native method. Instead ...
10527 (release): Call unlock on channel.
10528 * gnu/java/nio/natFileLockImpl.cc: Removed file.
10530 * java/io/natFileDescriptorEcos.cc: Remove file.
10531 * java/io/natFileDescriptorPosix.cc: Remove file.
10532 * java/io/natFileDescriptorWin32.cc: Remove file.
10533 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
10534 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
10535 (<init>(FileChannelImpl)): New package-private constructor.
10536 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
10537 (available, close, read, skip): Implement using FileChannelImpl.
10538 (getFD): Allocate FileDescriptor if needed.
10539 (getChannel): Is now trivial.
10540 * java/io/FileOutputStream.java: Corresponding changes.
10541 * java/io/RandomAccessFile.java: Corresponding changes.
10543 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10544 unmapImpl): New dummy methods, to be overridden by subclass.
10545 (finalize, isLoaded, load, force): New methods.
10546 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
10547 Now works, at least for read mapping.
10549 * java/lang/natPosixProcess.cc (startProcess): Implement standard
10550 streams using FileChannelImpl, not FileDescriptor.
10551 * java/lang/natWin32Process.cc (startProcess): Likewise.
10553 2004-02-28 Michael Koch <konqueror@gmx.de>
10555 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10558 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
10560 * java/io/ObjectInputStream.java
10561 (readClassDescriptor): Keep elements of the mapping non null.
10562 (checkTypeConsistency): New method.
10563 (readFields): Fixed main loop and base logic. Small reindentation.
10564 * java/io/ObjectStreamField.java
10565 (lookupField): New method to update the field reference.
10566 (checkFieldType): New method.
10567 * java/io/ObjectStreamClass.java
10568 (setClass, setFields): Call lookupField when building the field
10569 database. Check the real field type.
10571 2004-02-28 Michael Koch <konqueror@gmx.de>
10573 * java/nio/ByteOrder.java
10574 (nativeOrder): Use equals() to compare strings.
10576 2004-02-26 Michael Koch <konqueror@gmx.de>
10578 * gnu/java/nio/FileLockImpl.java
10579 (finalize): Made protected.
10580 * java/nio/channels/FileChannel.java
10581 (MapMode.READ_ONLY): Made final.
10582 (MapMode.READ_WRITE): Made final.
10583 (MapMode.PRIVATE): Made final.
10584 * java/nio/channels/SocketChannel.java
10585 (open): Simplified code.
10586 * java/nio/channels/spi/AbstractSelectableChannel.java
10587 (registered): Unused, removed.
10588 (keyFor): Check channel is open, only locate key
10589 and not add a new one.
10590 (register): Don't delete attachments.
10592 2004-02-26 Michael Koch <konqueror@gmx.de>
10594 * gnu/java/awt/ComponentDataBlitOp.java
10595 (INSTANCE): Made final.
10596 * gnu/java/awt/image/ImageDecoder.java:
10598 (cm): Unused, removed.
10600 2004-02-26 Michael Koch <konqueror@gmx.de>
10602 * gnu/java/nio/DatagramChannelImpl.java
10603 (send): Check if target address is resolved.
10605 2004-02-26 Michael Koch <konqueror@gmx.de>
10607 * Makefile.am: Generate and install headers for inner classes in
10608 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10609 * Makefile.in: Regenerated.
10611 2004-02-24 Anthony Green <green@redhat.com>
10613 * java/lang/StringBuffer.java: No need to NULL out remainder of
10614 buffer since ensureCapacity_unsynchronized will have done this for
10617 2004-02-20 Michael Koch <konqueror@gmx.de>
10619 * gnu/java/net/protocol/jar/Handler.java
10620 (): Removed unneeded check for file != null. java.net.URL.getFile()
10621 returns an empty string but never null.
10623 2004-02-20 Michael Koch <konqueror@gmx.de>
10625 * gnu/gcj/convert/Convert.java
10626 (main): Use equals() to compare strings.
10628 2004-02-20 Michael Koch <konqueror@gmx.de>
10630 * javax/swing/AbstractButton.java: Made several constants final.
10631 (getRolloverSelectedIcon): Made public.
10632 (getSelectedIcon): Made public.
10634 2004-02-16 Per Bothner <per@bothner.com>
10636 * java/nio/CharBufferImpl.java: Inline super constructor.
10637 * java/nio/DoubleBufferImpl.java: Likewise.
10638 * java/nio/FloatBufferImpl.java: Likewise.
10639 * java/nio/IntBufferImpl.java: Likewise.
10640 * java/nio/LongBufferImpl.java: Likewise.
10641 * java/nio/ShortBufferImpl.java: Likewise.
10642 * java/nio/CharBuffer.java: Remove unused constructor.
10643 * java/nio/DoubleBuffer.java: Likewise.
10644 * java/nio/FloatBuffer.java: Likewise.
10645 * java/nio/IntBuffer.java: Likewise.
10646 * java/nio/LongBuffer.java: Likewise.
10647 * java/nio/ShortBuffer.java: Likewise.
10648 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10649 Fix buggy call to super constructor.
10650 * java/nio/DoubleViewBufferImpl.java: Likewise.
10651 * java/nio/FloatViewBufferImpl.java: Likewise.
10652 * java/nio/IntViewBufferImpl.java: Likewise.
10653 * java/nio/LongViewBufferImpl.java: Likewise.
10654 * java/nio/ShortViewBufferImpl.java: Likewise.
10656 * java/nio/ByteBuffer.java (endian): Make non-private so other
10657 java.nio classes can inherit it.
10658 (<init>): Don't bother clearing array_offset.
10659 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10660 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10661 Remove redundant test.
10663 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10664 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10665 Use new XxxViewBufferImpl constructors.
10666 * java/nio/MappedByteBufferImpl.java: Likewise.
10667 * java/nio/DirectByteBufferImpl.java: Likewise.
10669 * java/nio/ByteBufferImpl.java: Remove one constructor.
10670 Inline super in remaining constructor.
10671 * java/nio/ByteBuffer.java: Remove unused constructor.
10673 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10675 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10676 * java/nio/DirectByteBufferImpl.java (owner): New field.
10677 (offset): Remove unused field.
10678 (<init>): Modify one and add another constructor. Change callers.
10679 (allocateDirect): Removed - not used.
10680 (getImpl, putImpl): Make static and pass address explicitly,
10681 to make them useful for MappedByteBufferImpl.
10682 (get, put): Check for underflow. Modify for new getImpl.
10683 (getImpl): New native method where target is array.
10684 (get(byte[],int,int)): Use the above.
10685 (adjustAddress): New static native method.
10686 (slice, duplicate, asReadOnly): New implementations.
10687 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10688 adjustAddress): New or updated native methods.
10690 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10692 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10693 overflow of fieldmapping.
10695 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10697 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10699 2004-02-14 Per Bothner <per@bothner.com>
10701 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10702 Set closed before calling implCloseChannel, as in the spec.
10704 2004-02-09 Graydon Hoare <graydon@redhat.com>
10706 * javax/swing/ToggleButtonModel.java: Remove dead class.
10707 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10708 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10709 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10710 * Makefile.am: Update for new and removed files.
10711 * Makefile.in: Regenerate.
10713 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10714 * javax/swing/AbstractButton.java
10715 (AbstractButton): Initialize fields correctly in ctor.
10716 * javax/swing/JCheckbox.java
10717 (JCheckBox): Override painting flags.
10718 * javax/swing/DefaultButtonModel.java: Conform to sun.
10719 * javax/swing/JComponent.java (paint): Fill with background color
10721 (processComponentKeyEvent)
10722 (processFocusEvent)
10724 (processMouseMotionEvent): Remove event-consuming empty methods.
10725 (getUIClassID): Return "ComponentUI" not "JComponent"
10726 * javax/swing/JFrame.java: Remove some debugging chatter.
10727 (JFrame): Subscribe to window events.
10728 * javax/swing/JRadioButton.java
10729 (JRadioButton): Override painting flags.
10730 * javax/swing/JRootPane.java
10731 (JRootPane): Set background from UIDefaults.
10732 * javax/swing/JToggleButton.java
10733 (ToggleButtonModel): New inner class.
10734 (JToggleButton): Override layout alighment.
10735 * javax/swing/SwingUtilities.java:
10736 (getLocalBounds): Return width and height, not x and y.
10737 (calculateInnerArea): Use local bounds, not bounds.
10738 (layoutCompoundLabel): Provide overridden form.
10739 (layoutCompoundLabel): Correct bugs.
10740 * javax/swing/UIDefaults.java: Correct comment.
10741 * javax/swing/plaf/basic/BasicButtonUI.java:
10742 Move most logic into defaults, external listener.
10743 (paintIcon): Implement icon painting.
10744 (paint): Fix state painting to conform to changes in model.
10745 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10746 Remove most dead/wrong methods.
10747 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10748 * javax/swing/plaf/basic/BasicIconFactory.java:
10749 (DummyIcon): New class.
10750 (getMenuItemCheckIcon)
10751 (getMenuItemArrowIcon)
10753 (getCheckBoxMenuItemIcon)
10754 (getRadioButtonMenuItemIcon)
10755 (createEmptyFrameIcon): Return DummyIcons, not null.
10756 (getCheckBoxIcon): Implement an icon that looks like sun's.
10757 (getRadioButtonIcon): Implement an icon that looks like sun's.
10758 * javax/swing/plaf/basic/BasicLookAndFeel.java
10759 (initComponentDefaults): Fix impossible values, add some missing.
10760 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10761 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10762 Remove most dead/wrong methods.
10764 (getDefaultIcon): New method.
10765 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10766 Remove most dead/wrong methods.
10767 * javax/swing/plaf/metal/MetalLookAndFeel.java
10768 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10770 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10771 Implement "clearing" as drawing, when on pixmap drawables.
10773 * javax/swing/JButton.java (getUIClassID):
10774 * javax/swing/JCheckBox.java (getUIClassID):
10775 * javax/swing/JEditorPane.java (getUIClassID):
10776 * javax/swing/JLabel.java (getUIClassID):
10777 * javax/swing/JList.java (getUIClassID):
10778 * javax/swing/JOptionPane.java (getUIClassID):
10779 * javax/swing/JPanel.java (getUIClassID):
10780 * javax/swing/JPasswordField.java (uiClassID):
10781 * javax/swing/JRadioButton.java (getUIClassID):
10782 * javax/swing/JRootPane.java (getUIClassID):
10783 * javax/swing/JScrollPane.java (getUIClassID):
10784 * javax/swing/JTabbedPane.java (getUIClassID):
10785 * javax/swing/JToggleButton.java (getUIClassID):
10786 * javax/swing/JTree.java (getUIClassID):
10787 * javax/swing/JViewport.java (getUIClassID):
10788 * javax/swing/text/JTextComponent.java (getUIClassID):
10789 Return "fooUI" not "Jfoo"
10791 2004-02-11 Michael Koch <konqueror@gmx.de>
10793 * java/net/DatagramSocket.java
10794 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10796 (setBroadcast): Likewise.
10797 * java/net/MulticastSocket.java
10798 (setLoopbackMode): Likewise.
10799 * java/net/ServerSocket.java
10800 (setReuseAddress): Likewise.
10801 * java/net/Socket.java
10802 (setTcpNoDelay): Likewise.
10803 (setSoLinger): Likewise.
10804 (setOOBInline): Likewise.
10805 (setKeepAlive): Likewise.
10806 (setReuseAddress): Likewise.
10807 * java/net/URLConnection.java
10808 (setContentHandler): Replace == with equals().
10809 * java/net/URLStreamHandler.java
10810 (hostSEquals): Fix checking host addresses.
10811 (toExternalForm): Dont check protocol for null. We know already its
10814 2004-02-10 David Jee <djee@redhat.com>
10816 * java/awt/BorderLayout.java
10817 (calcCompSize): Invisible components get zero dimensions.
10818 * java/awt/Button.java
10819 (setLabel): Set actionCommand.
10820 * java/awt/Component.java
10821 (show): Invalidate component and parent container.
10824 2004-02-10 David Jee <djee@redhat.com>
10826 * java/awt/GridBagLayout.java
10827 (GridBagLayout): New private field, internalcomptable.
10828 (lookupInternalConstraints): New method.
10829 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10830 (GetLayoutInfo): Reimplement.
10831 (calcCellSizes): Ignore rows/columns with size 0.
10833 2004-02-10 Michael Koch <konqueror@gmx.de>
10835 * gnu/java/awt/EmbeddedWindow.java
10836 (setHandle): Use java.awt.Component.getPeer() instead of
10837 java.awt.Component.peer directly.
10839 2004-02-10 David Jee <djee@redhat.com>
10841 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10842 (gtkSetLabel): New native method definition.
10843 (setLabel): Use gtkSetLabel.
10844 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10845 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10847 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10849 * include/powerpc-signal.h: Revert 2004-01-21 change.
10850 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10851 from syscall for ppc32 versions.
10853 2004-02-08 Per Bothner <per@bothner.com>
10855 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10856 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10857 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10858 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10859 Pass ByteOrder parameter to most methods, since the underlying
10860 ByteBuffer's order isn't always what we should use.
10861 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10862 * java/nio/DirectByteBufferImpl.java: Likewise.
10863 Use ByteBufferHelper methods.
10864 * java/nio/MappedByteBufferImpl.java: Likewise.
10865 (compact): Use shiftDown.
10866 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10867 (get, put): Use ByteBufferHelper.
10868 (compact): Use new shiftDown method.
10869 (duplicate(boolean)): New helper method.
10870 (duplicate, asReadOnlyBuffer): Use it.
10871 (order): Return endian field.
10872 * java/nio/DoubleViewBufferImpl.java: Likewise.
10873 * java/nio/FloatViewBufferImpl.java: Likewise.
10874 * java/nio/IntViewBufferImpl.java: Likewise.
10875 * java/nio/LongViewBufferImpl.java: Likewise.
10876 * java/nio/ShortViewBufferImpl.java: Likewise.
10877 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10878 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10879 (compact): Re-implement using shiftDown.
10881 2004-02-08 Andreas Jaeger <aj@suse.de>
10883 * include/x86_64-signal.h: Fix typo.
10885 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10887 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10888 qualifier to _regs.
10889 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10891 2004-02-06 Michael Koch <konqueror@gmx.de>
10893 * java/io/ObjectInputStream.java
10894 (currentClassLoader): Reverted to old version of this method.
10896 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10898 * java/io/ObjectInputStream.java: Made all calls
10899 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10900 use cached info from ObjectStreamClass. (readClassDescriptor):
10901 Cache more information in ObjectStreamClass. (processResolution,
10902 readFields): Use cached info from ObjectStreamClass.
10903 (newObject): Throw exception instead of returning null for failure.
10904 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10905 setCharField, setDoubleField, setFloatField, setIntField,
10906 setLongField, setShortField, setObjectField, readObjectParams):
10907 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10909 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10910 (setClass): Added call to cacheMethods() (findMethod): New method.
10911 (cacheMethods): New method. (ObjectStreamClass): Added call to
10912 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10913 AccessController.doPrivileged to invoke setAccessible.
10914 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10915 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10917 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10918 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10919 isPrimitive): Made safe for cases where type == null.
10920 (setBooleanField, setByteField, setCharField, setShortField,
10921 setIntField, setLongField, setFloatField, setDoubleField,
10922 setObjectField): New methods.
10924 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10926 * java/awt/Component.java (getFont): Return a default font
10929 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10930 (Scrollbar (int, int, int, int, int)): Make default page
10932 (setValues): Only call peer.setValues if one of the values has
10934 (generateName): New method.
10935 (getUniqueLong): New method.
10936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10937 (range_scrollbar): Remove structure.
10938 (post_adjustment_event): Remove function.
10939 (post_change_event): Accept jobject argument.
10940 (create): Cast jints to gdoubles. Round scrollbar values to the
10941 nearest integer. Clamp min, max and value settings.
10942 (connectJObject): Connect hook to widget->window.
10943 (connectSignals): Remove range_scrollbar structure variables.
10944 Remove "move-slider" connection. Pass global peer reference to
10945 "value-changed" callback.
10946 (setLineIncrement): Cast jint value to gdouble.
10947 (setPageIncrement): Likewise.
10948 (setValues): Likewise. Clamp min, max and value settings.
10950 2004-02-05 Michael Koch <konqueror@gmx.de>
10952 * javax/swing/AbstractCellEditor.java
10953 (getCellEditorValue): Removed.
10954 * javax/swing/Box.java: Reformated.
10955 (serialVersionUID): New field.
10956 * javax/swing/ButtonGroup.java:
10957 Removed some weird whitespace.
10958 * javax/swing/CellEditor.java: Reformated.
10959 * javax/swing/CellRendererPane.java
10960 (serialVersionUID): New field.
10961 (AccessibleCellRendererPaneserialVersionUID): New field.
10962 * javax/swing/DefaultListModel.java
10963 (serialVersionUID): New field.
10964 * javax/swing/JEditorPane.java
10965 (serialVersionUID): New field.
10966 (setPage): Throws IOException.
10967 (addHyperlinkListener): Implemented.
10968 (removeHyperlinkListener): Implemented.
10969 (getHyperlinkListener): New method.
10970 * javax/swing/JFileChooser.java
10971 (serialVersionUID): New field.
10972 (AccessibleJFileChooser.serialVersionUID): New field.
10973 (addActionListener): Implemented.
10974 (removeActionListener): Implemented.
10975 (getActionListeners): New method.
10976 * javax/swing/JFormattedTextField.java
10977 (serialVersionUID): New field.
10978 (AbstractFormatter.serialVersionUID): New field.
10979 (clone): Throws CloneNotSupportedException
10980 (setEditValid): Add missing argument.
10981 (stringToValue): Throws ParseExcpetion.
10982 (valueToString): Throws ParseException.
10983 (commitEdit): Throws ParseException.
10984 * javax/swing/JLabel.java
10985 (serialVersionUID): New field.
10986 * javax/swing/JList.java
10987 (serialVersionUID): New field.
10988 (addListSelectionListener): Reformated.
10989 (removeListSelectionListener): Reformated.
10990 (getListSelectionListeners): New method.
10991 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10993 (serialVersionUID): New field.
10994 * javax/swing/table/AbstractTableModel.java
10995 (getValueAt): Removed.
10996 (getColumnCount): Removed.
10997 (getRowCount): Removed.
10999 2004-02-05 Michael Koch <konqueror@gmx.de>
11001 * java/awt/datatransfer/DataFlavor.java
11002 (imageFlavor): Javadoc added.
11003 (javaJVMLocalObjectType): Fixed.
11005 2004-02-05 Michael Koch <konqueror@gmx.de>
11007 * java/lang/Thread.java
11008 (Thread): Reordered.
11009 (setContextClassLoader): Fixed javadoc comment.
11010 (setPriority): Reordered.
11011 (yield): Reordered.
11012 (initialize_native): Reordered.
11013 (gen_name): Reordered.
11015 2004-02-05 Michael Koch <konqueror@gmx.de>
11017 * java/lang/Thread.java: Reordered fields, reformated much code,
11018 no functional changes, some variables renamed, javadoc comments
11021 2004-02-05 Michael Koch <konqueror@gmx.de>
11023 * java/util/zip/Deflater.java,
11024 java/util/zip/DeflaterOutputStream.java,
11025 java/util/zip/GZIPInputStream.java:
11026 Reformated and javadoc comments merged from classpath.
11028 2004-02-05 Michael Koch <konqueror@gmx.de>
11030 * gnu/java/nio/NIOServerSocket.java
11031 (impl): Unused, removed.
11032 * gnu/java/nio/SocketChannelImpl.java
11033 (finnishConnect): Don't throw NoConnectionPendingException if not
11034 connected or no connection pending.
11036 2004-02-02 Graydon Hoare <graydon@redhat.com>
11038 * javax/swing/SwingUtilities.java: Many new functions.
11039 * java/awt/Container.java (LightweightDispatcher): Reimplement.
11040 * javax/swing/basic/BasicGraphicsUtils.java
11041 (getPreferredButtonSize): Start layout from top-left corner.
11043 2004-02-04 Olga Rodimina <rodimina@redhat.com>
11045 * java/awt/geom/AffineTransform.java:
11046 Corrected comments on the field definitions for
11048 (shear): Fixed few errors that caused shear
11049 transformation to be performed incorrectly.
11050 (createInverse): Fixed to return correct
11051 inverse of the given matrix.
11053 2004-02-03 Tom Tromey <tromey@redhat.com>
11055 * java/lang/natPosixProcess.cc (startProcess): Handle case where
11056 PATH or LD_LIBRARY_PATH is not set in parent environment.
11058 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
11060 * gnu/java/awt/peer/gtk/GtkListPeer.java,
11061 java/awt/BorderLayout.java, java/awt/CardLayout.java,
11062 java/awt/CheckboxGroup.java, java/awt/Choice.java,
11063 java/awt/Component.java, java/awt/Container.java,
11064 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11065 java/awt/LayoutManager2.java, java/awt/List.java,
11066 java/awt/Menu.java, java/awt/MenuBar.java,
11067 java/awt/MenuItem.java, java/awt/Polygon.java,
11068 java/awt/Rectangle.java, java/awt/ScrollPane.java,
11069 java/awt/Scrollbar.java, java/awt/TextArea.java,
11070 java/awt/TextField.java,
11071 java/awt/image/renderable/RenderContext.java,
11072 javax/swing/JApplet.java: Fix handling of alias methods, where a
11073 method has been deprecated in favour of a new one with the same
11074 funtion but a different name. Put the method implementation in
11075 the deprecated method and have the new method call the
11076 deprecated one. Make all other code call the new method.
11078 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
11080 * gnu/java/nio/DatagramChannelImpl.java
11081 (inChannelOperation): New field.
11082 (isInChannelOperation): New accessor.
11083 (setInChannelOperation): New modifier.
11084 (receive): Use capacity() - position() of destination
11085 buffer instead of remaining(). Set and reset our "in
11086 channel operation indicator" before and after delegating
11087 the receive to our datagram socket. Removed testing code.
11088 Update destination buffer's current position if it is
11089 backed by a byte array (hasArray() is true).
11090 (send): Set and reset our "in channel operation indicator"
11091 before and after delegating the send to our datagram socket.
11092 Removed testing code. Update source buffer's current position
11093 if it is backed by a byte array (hasArray() is true).
11094 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11095 Use capacity() - position() of destination buffer instead
11097 * java/net/DatagramSocket.java (receive): Don't throw an
11098 IllegalBlockingModeException if we have a non-blocking
11099 channel which initiated this operation.
11102 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
11104 * configure.in: Add pkgconfig check for glib and gthread.
11105 * configure: Regenerate.
11107 2004-02-01 Michael Koch <konqueror@gmx.de>
11109 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11111 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11112 * verify.cc (debug_print): Mark 'fmt' unused.
11114 2004-01-30 Michael Koch <konqueror@gmx.de>
11116 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11117 * configure: Regenerated.
11118 * glib-2.0.m4: Removed.
11119 * gtk-2.0.m4: Removed.
11120 * libart.m4: Removed.
11121 * pkg.m4: New file.
11123 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
11125 * gnu/java/net/PlainSocketImpl.java
11126 (inChannelOperation): New field.
11127 (isInChannelOperation): New accessor.
11128 (setInChannelOperation): New modifier.
11129 * gnu/java/nio/ServerSocketChannelImpl.java
11130 (accept): Set and reset our server socket's PlainSocketImpl's
11131 "in channel operation" indicator before and after delegating
11132 the accept to our server socket.
11133 * gnu/java/nio/SocketChannelImpl.java
11134 (connect): Set and reset our socket's PlainSocketImpl's "in channel
11135 operation" indicator before and after delegating the operation to
11139 * java/net/ServerSocket.java (implAccept): Don't throw an
11140 IllegalBlockingModeException if we have a non-blocking
11141 channel which initiated this accept operation.
11142 * java/net/Socket.java (connect): Don't throw an
11143 IllegalBlockingModeException if we have a non-blocking
11144 channel which initiated this connect operation.
11145 * java/nio/channels/spi/AbstractSelectableChannel.java
11146 (configureBlocking): Only call implConfigureBlocking() if
11147 the desired blocking mode is different from our current one.
11149 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
11151 * java/io/BufferedReader.java (sbuf): New field.
11152 (readLine): Use String.valueOf instead of new String() as per
11153 Per Bothner's suggestion. Use instance sbuf field instead of a
11154 local StringBuffer instance.
11155 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
11156 caller's buffer to refill().
11157 (read(void)): Pass our internal work buffer to refill if our
11158 input queue is empty.
11159 (refill): Changed return type to int. Use the specified buffer
11160 instead of our work buffer as per Bryce McKinlay's suggestion.
11161 Return the number of characters read or -1 for EOF.
11163 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11165 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11167 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11169 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11170 * Makefile.in: Re-generated.
11171 * gnu/awt/xlib/XFontPeer.java: New file.
11172 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11173 (setClip): Commented out debug printout.
11174 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11175 (getFontPeer): Return XFontPeer.
11176 (getLocalGraphicsEnvironment): New method.
11177 (getClasspathFontPeer): New method.
11178 (createFont): New method.
11180 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11182 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11185 2004-01-29 Kim Ho <kho@redhat.com>
11187 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11188 (gtkLayoutSetVisible): New method
11189 (setMenuBar): Hide layout before setting MenuBar
11190 and reshow it after.
11191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11192 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11194 2004-01-28 Michael Koch <konqueror@gmx.de>
11196 * gnu/java/lang/ClassHelper.java
11197 (getPackagePortion): Removed.
11199 2004-01-28 Michael Koch <konqueror@gmx.de>
11201 * javax/swing/JComponent.java
11202 (listenerList): Initalize globally.
11203 (ancestor_list): Removed.
11204 (veto_list): Removed.
11205 (change_list): Removed.
11206 (get_veto_list): Removed.
11207 (get_change_list): Removed.
11208 (get_ancestor_list): Removed.
11209 (removeAncestorListener): Reimplemented.
11210 (removePropertyChangeListener): Likewise.
11211 (removeVetoableChangeListener): Likewise.
11212 (addAncestorListener): Likewise.
11213 (addPropertyChangeListener): Likewise.
11214 (addVetoableChangeListener): Likewise.
11215 (getListeners): New method.
11216 (getAncestorListeners): Likewise.
11217 (getVetoableChangeListeners): Likewise.
11218 (fireVetoableChange): Throws PropertyVetoException.
11219 * javax/swing/JEditorPane.java
11220 (JEditorPane): Throws IOException.
11222 2004-01-28 David Jee <djee@redhat.com>
11224 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11225 (create): Set the default foreground color to
11226 java.awt.SystemColor.windowText.
11228 2004-01-27 Michael Koch <konqueror@gmx.de>
11230 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11231 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11232 Reindented to merge with classpath.
11234 2004-01-27 David Jee <djee@redhat.com>
11236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11237 (addExposeFilter): Handle GtkFramePeer separately.
11238 (removeExposeFilter): Likewise.
11240 2004-01-27 Michael Koch <konqueror@gmx.de>
11242 * gnu/java/net/protocol/http/Connection.java
11243 (getOutputStream): Fixed typo.
11245 2004-01-27 Michael Koch <konqueror@gmx.de>
11247 * java/lang/Class.java
11248 (getConstructor): Removed SecurityException from throws clause.
11249 (_getConstructors): Likewise.
11250 (getConstructors): Likewise.
11251 (getDeclaredConstructor): Likewise.
11252 (getDeclaredClasses): Likewise.
11253 (getDeclaredConstructors): Likewise.
11254 (getDeclaredField): Likewise.
11255 (getDeclaredMethod): Likewise.
11256 (getDeclaredMethods): Likewise.
11257 (getField): Likewise.
11258 (getMethod): Likewise.
11259 (getMethods): Likewise.
11261 2004-01-27 Kim Ho <kho@redhat.com>
11263 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11264 (removeMenuBarPeer): Remove MenuBarPeer argument.
11265 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11266 (dispose): Call native method.
11267 * java/awt/Frame.java (setMenuBar): Create and remove
11268 MenuBar peers only if the Frame has a peer.
11269 (addNotify): Create the MenuBar peer if one exists.
11270 (removeNotify): Remove MenuBar peer if one exists.
11271 * java/awt/Menu.java: Fix imports.
11272 (addNotify): Don't use full class name.
11273 (removeNotify): Call removeNotify on all children.
11274 * java/awt/MenuBar.java (removeNotify): Call
11275 removeNotify on all children.
11276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11277 (removeMenuBarPeer): Remove MenuBarPeer argument.
11278 Iterate through children to find the Frame's MenuBar.
11279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11281 (dispose): Remove references to the MenuComponent.
11283 2004-01-27 Michael Koch <konqueror@gmx.de>
11285 * javax/swing/AbstractCellEditor.java: Reformated.
11286 * javax/swing/DefaultListSelectionModel.java
11287 (listenerList): Made protected.
11288 (addListSelectionListener): Javadoc added.
11289 (removeListSelectionListener): Likewise.
11290 (getListeners): Likewise.
11291 (getListSelectionListeners): Likewise.
11292 * javax/swing/JComboBox.java: Merged copyright year.
11293 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11295 2004-01-26 Andrew Haley <aph@redhat.com>
11297 * javax/swing/table/JTableHeader.java: Extend JComponent
11299 2004-01-26 Kim Ho <kho@redhat.com>
11301 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11304 2004-01-26 Kim Ho <kho@redhat.com>
11306 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11308 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11309 height and let the Layout Managers readjust anything that
11311 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11312 (moveLayout): New method. Shift everything in the Gtk
11313 layout in the Y direction by an offset.
11315 2004-01-26 David Jee <djee@redhat.com>
11317 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11318 (handleEvent): Implemented. Handles PaintEvents.
11319 (paint): Implemented. Use GTK native methods to queue updates
11320 for this heavyweight peer.
11321 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11322 (handleEvent): Removed.
11323 * java/awt/Component.java
11324 (paint): Implemented. Explictly paint the heavyweight peer.
11325 (update): Clear the background for heavyweight components.
11326 (paintAll): No need to call peer.paint() anymore.
11327 (processEvent): Don't process PaintEvents here. It's now done in
11328 the peer's handleEvent().
11329 (processPaintEvent): Removed.
11330 * java/awt/Container.java
11331 (paint): No need to call super.paint(). Visit heavyweight
11333 (update): Don't clear the background here. It's done in
11334 Component.update().
11335 (visitChildren): Added check to not recurse into Containers.
11336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11337 (filter_expose_event_handler): New method. Filter unwanted
11338 expose events while painting heavyweight peers.
11339 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11340 New method. Connect filter and block pre_event_handler.
11341 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11342 New method. Disconnect filter and unblock pre_event_handler.
11343 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11344 New method. Invalidate and update given area.
11345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11346 (pre_event_handler): Add checks for unwanted expose events.
11348 2004-01-26 David Jee <djee@redhat.com>
11350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11351 (find_bg_color_widget): For GtkButton, return its child.
11353 2004-01-26 Kim Ho <kho@redhat.com>
11355 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11357 (setMenuBar): Grab MenuBar height and change insets.
11358 (setBounds): Account for MenuBar height.
11359 (postInsetsChangedEvent): Ditto.
11360 (postSizeAllocateEvent): Remove.
11361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11362 (menubar_resize_cb): Remove
11363 (setMenuBarPeer): Remove callback.
11364 (getMenuBarHeight): Use size requisition instead of
11367 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11369 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
11370 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11372 (setColumns): Remove FIXME -- peer will retrieve number of
11373 columns by calling getColumns.
11374 (setRows): Likewise for number of rows.
11375 (next_text_number): New field.
11376 (paramString): Fix param string.
11377 (generateName): New method.
11378 (getUniqueLong): New method.
11380 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11382 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11383 image observer of image loading status.
11384 (getImage (String)): Start image production.
11385 (getImage (URL)): Likewise.
11387 2004-01-25 Michael Koch <konqueror@gmx.de>
11389 * java/lang/Class.java: Imports reworked, reformated.
11390 (Class): Javadoc added.
11391 (forName): Likewise.
11392 (getClasses): Likewise.
11393 (getClassLoader): Likewise.
11394 (getComponentType): Likewise.
11395 (getConstructor): Likewise.
11396 (getConstructors): Likewise.
11397 (getDeclaredConstructor): Likewise.
11398 (getDeclaredClasses): Likewise.
11399 (getDeclaredConstructors): Likewise.
11400 (getDeclaredField): Likewise.
11401 (getDeclaredMethod): Likewise.
11402 (getDeclaredMethods): Likewise.
11403 (getDeclaringClass): Likewise.
11404 (getField): Likewise.
11405 (getInterfaces): Likewise.
11406 (getMethod): Likewise.
11407 (getMethods): Likewise.
11408 (getModifiers): Likewise.
11409 (getName): Likewise.
11410 (getResource): Likewise.
11411 (getResourceAsStream): Likewise.
11412 (getSigners): Likewise.
11413 (setSigners): Likewise.
11414 (getSuperclass): Likewise.
11415 (isArray): Likewise.
11416 (isAssignableFrom): Likewise.
11417 (isInstance): Likewise.
11418 (isInterface): Likewise.
11419 (isPrimitive): Likewise.
11420 (newInstance): Likewise.
11421 (getProtectionDomain): Likewise.
11422 (toString): Likewise.
11424 (initializeClass): Likewise.
11425 (finalize): Likewise.
11427 2004-01-24 Michael Koch <konqueror@gmx.de>
11429 * gnu/java/net/protocol/jar/Connection.java
11430 (hdrHash): Removed.
11432 (gotHeaders): Removed.
11433 (getHeaderField): Removed.
11434 (getHeaderFields): Removed.
11435 (getHeaderFieldKey): Removed.
11437 (getField): Removed.
11438 (getHeaders): Removed.
11440 2004-01-24 Michael Koch <konqueror@gmx.de>
11442 * Makefile.am: Added library version to gtk peer lib.
11443 * Makefile.in: Regenerated.
11445 2004-01-24 Michael Koch <konqueror@gmx.de>
11447 * java/util/zip/InflaterInputStream.java: Merged class documentation
11450 2004-01-21 Jakub Jelinek <jakub@redhat.com>
11452 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11453 header. For __powerpc64__ provide the default-signal.h definitions
11455 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11456 instead of the dummy definitions.
11457 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11458 (powerpc64*-*): Remove with_libffi_default.
11459 Only add -mminimal-toc for 64-bit compilations.
11460 * configure.in: Use powerpc-signal.h on powerpc64 as well.
11461 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11462 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11463 * configure: Rebuilt.
11465 2004-01-23 Michael Koch <konqueror@gmx.de>
11467 * gnu/java/nio/FileLockImpl.java: Compile fixes.
11469 2004-01-23 Michael Koch <konqueror@gmx.de>
11471 * java/lang/VMClassLoader.java: Reworked imports.
11473 2004-01-23 Michael Koch <konqueror@gmx.de>
11475 * javax/swing/AbstractAction.java: Reformated.
11477 2004-01-23 Michael Koch <konqueror@gmx.de>
11479 * java/text/CollationElementIterator.java:
11480 (setText): New method.
11482 2004-01-23 Michael Koch <konqueror@gmx.de>
11484 * gnu/java/nio/FileLockImpl.java:
11485 Fixed filename in copyright.
11486 (released): Removed.
11487 (finalize): New method.
11488 * gnu/java/nio/natFileLockImpl.cc
11489 (releaseImpl): Implemented.
11490 * java/nio/channels/FileChannelImpl.java:
11492 (lock): Implemented.
11493 (lockImpl): New method.
11494 (tryLock): Implemented.
11495 (tryLockImpl): New method.
11496 * java/nio/channels/natFileChannelImpl.cc
11497 (lockImpl): New method.
11498 (tryLockImpl): New method.
11500 2004-01-23 Michael Koch <konqueror@gmx.de>
11502 * java/io/FileDescriptor.java
11503 (lock): New method.
11504 (tryLock): New method.
11505 (unlock): New method.
11506 * java/io/natFileDescriptorEcos.cc
11507 (lock): New method.
11508 (tryLock): New method.
11509 (unlock): New method.
11510 * java/io/natFileDescriptorPosix.cc
11511 (lock): New method.
11512 (tryLock): New method.
11513 (unlock): New method.
11514 * java/io/natFileDescriptorWin32.cc
11515 (lock): New method.
11516 (tryLock): New method.
11517 (unlock): New method.
11519 2004-01-23 Michael Koch <konqueror@gmx.de>
11521 * java/io/FileDescriptor.java
11522 (sync): Moved around, added javadoc.
11527 (setLength): Likewise.
11529 (getLength): Likewise.
11530 (getFilePointer): Likewise.
11532 (available): Likewise.
11533 (finalize): Likewise.
11535 2004-01-23 Michael Koch <konqueror@gmx.de>
11537 * javax/swing/AbstractAction.java: Reformated.
11538 (getPropertyChangeListeners): New method.
11539 * javax/swing/AbstractCellEditor.java: Reformated.
11540 (getCellEditorListeners): New method.
11541 * javax/swing/DefaultListSelectionModel.java
11542 (listenerList): New field.
11543 (listeners): Removed.
11544 (get_listeners): Removed.
11545 (addListSelectionListener): Rewritten.
11546 (removeListSelectionListener): Rewritten.
11547 (getListSelectionListeners): New method.
11548 (getListeners): New method.
11549 * javax/swing/JComboBox.java: Imports reworked.
11550 (addActionListener): Implemented.
11551 (removeActionListener): Implemented.
11552 (addItemListener): Implemented.
11553 (removeItemListener): Implemented.
11554 (addPopupMenuListener): Implemented.
11555 (removePopupMenuListener): Implemented.
11556 (getActionListeners): New method.
11557 (getItemListeners): New method.
11558 (getPopupMenuListeners): New method.
11560 2004-01-23 Michael Koch <konqueror@gmx.de>
11562 * gnu/java/net/protocol/http/Connection.java
11563 (connect): Don't initialize bufferedOutputStream if not needed.
11564 (sendRequest): Set property for content length if content is present.
11565 Write content only if present.
11566 (getOutputStream): Check if already connected, dont connect,
11567 initalize bufferedOutputStream if needed.
11569 2004-01-23 Michael Koch <konqueror@gmx.de>
11571 * java/io/FileDescriptor.java
11572 (in, out, err): Added javadoc.
11573 (static): Merged loading code.
11574 (fd, position): Moved around.
11576 2004-01-23 Michael Koch <konqueror@gmx.de>
11578 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11581 2004-01-23 Michael Koch <konqueror@gmx.de>
11583 * java/lang/Class.java,
11584 java/lang/Object.java,
11585 java/lang/Thread.java: Merged copyright with classpath.
11587 2004-01-23 Michael Koch <konqueror@gmx.de>
11589 * java/io/FileDescriptor.java: Merged copyright with classpath to
11590 start merging this class.
11592 2004-01-22 Tom Tromey <tromey@redhat.com>
11595 * testsuite/libjava.lang/pr13107_2.xfail: New file.
11596 * testsuite/libjava.lang/pr13107_3.xfail: New file.
11597 * testsuite/libjava.lang/pr13107_3.java: New file.
11598 * testsuite/libjava.lang/pr13107_3.out: New file.
11599 * testsuite/libjava.lang/pr13107_2.java: New file.
11600 * testsuite/libjava.lang/pr13107_2.out: New file.
11601 * testsuite/libjava.lang/pr13107.java: New file.
11602 * testsuite/libjava.lang/pr13107.out: New file.
11603 * verify.cc (jsr_ptrs): Removed.
11604 (entry_points): Likewise.
11605 (struct subr_info): Likewise.
11606 (struct subr_entry_info): Likewise.
11607 (type_val::unused_by_subroutine_type): Likewise.
11608 (type::merge): Don't handle unused_by_subroutine_type.
11609 (type::print): Likewise.
11610 (state::flags): Removed.
11611 (state::subroutine): Likewise.
11612 (state::seen_subrs): Likewise.
11613 (state::NO_STACK): Likewise.
11614 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11615 (state): Updated all methods.
11616 (state::clean_subrs): Removed.
11617 (state::state): Removed `ret_semantics' flag.
11618 (state::copy): Likewise.
11619 (state::add_subr): Removed.
11620 (state::enter_subroutine): Likewise.
11621 (type::set_return_address): New method.
11622 (handle_jsr_insn): Set return address on the type. Always
11623 invalidate PC after call.
11624 (check_nonrecursive_call): Removed.
11625 (~_Jv_BytecodeVerifier): Updated.
11626 (branch_prepass): Removed special handling of jsr.
11627 (note_branch_target): Likewise.
11628 (get_subroutine): Removed.
11629 (state::merge): Don't merge subroutines and don't handle
11630 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
11631 (state::note_variable): Removed.
11632 (state::is_unmerged_ret_state): Likewise.
11633 (state::print): Updated.
11634 (set_variable): Likewise.
11635 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11636 and jsr_semantics arguments. Updated for new reverification
11638 (pop_jump): Rewrote.
11639 (construct_primitive_array_type): Updated.
11640 (state::next): Removed.
11641 (INVALID_STATE): New define.
11642 (state::INVALID): Removed.
11643 (state::NO_NEXT): New value.
11644 (state::pc, state::next): New fields.
11645 (state::get_pc): New method.
11646 (next_verify_pc): Removed.
11647 (next_verify_state): New field.
11648 (verify_instructions_0): Always check for falling off end.
11649 (linked): New type.
11650 (linked_utf8): Removed.
11651 (states): Changed type.
11652 (type::state_mergeable_p): New method.
11653 (state::state_mergeable_p): Likewise.
11654 (handle_ret_insn): Removed most code.
11655 (state::reverify): New method.
11656 (add_new_state): Likewise.
11657 (state::set_pc): Likewise.
11659 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11662 * testsuite/libjava.compile/PR13733.java: New file.
11663 * testsuite/libjava.compile/PR13733.xfail: New file.
11665 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11666 Michael Koch <konqueror@gmx.de>
11668 * javax/swing/table/DefaultTableCellRenderer.java
11669 (DefaultTableCellRenderer): Added javadoc for the class and for
11670 the constructor, Border instance, create an EmptyBorder.
11671 (UIResource): Removed the comment at the end of the class
11672 (setForeground): New method.
11673 (setBackground): New method.
11674 (updateUI): New method.
11675 (getTableCellRendererComponent): Rewritten with the help of
11676 dvholten and Stephane Meslin-Weber.
11677 (validate): New method.
11678 (repaint): New method.
11679 (firePropertyChange): New method.
11680 (setValue): New method.
11682 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11685 (connectJObject): Replace printf calls with g_assert statements.
11686 Move property-notify-event signal connection to ...
11687 (connectSignals): Connect property-notify-event signal. Iterate
11688 through the vbox's children to find layout.
11690 2004-01-22 Graydon Hoare <graydon@redhat.com>
11692 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11693 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11694 Predicate static initialization on GtkToolkit.useGraphics2D().
11695 * java/awt/Component.java (processPaintEvent): Consume event.
11696 * javax/swing/AbstractButton.java: Reimplement, document.
11697 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11698 * javax/swing/JComponent.java (paint): Use double buffer.
11699 (listenerList): Enable member.
11700 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11701 * javax/swing/JToggleButton.java
11702 (JToggleButton): Modify model constructor.
11703 * javax/swing/SwingUtilities.java
11704 (layoutCompoundLabel): Adjust arithmetic.
11705 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11706 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11707 (getPreferredButtonSize): Include margins in calculation.
11708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11709 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11710 Receive up events from subordinate layout component.
11712 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11714 * java/awt/Component.java (show): Set visible to true before
11717 2004-01-21 Kim Ho <kho@redhat.com>
11719 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11721 (removeMenuBarPeer): Make package private.
11722 (setMenuBarPeer): Make package private.
11723 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11724 (menubar_resize_cb): Mark attributes unused.
11725 (getMenuBarHeight): ditto.
11727 2004-01-21 David Jee <djee@redhat.com>
11729 * java/awt/Container.java
11730 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11731 dispatching MOUSE_ENTERED event twice. Translate the point for
11732 the mouse event target before dispatching the event.
11734 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11736 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11737 lib_org_w3c_dom_la_LDFLAGS): New.
11738 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11739 * Makefile.in: Rebuilt.
11741 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11743 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11744 Calculate proper offsets for heavyweight components packed in
11745 lightweight containers.
11747 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11749 (native create): Add width parameter.
11750 (create): Calculate text entry width based on current font's
11751 metrics and number of columns. Set TextField's font if not
11752 already set. Call native create.
11753 (gtkEntryGetBorderWidth): New native method.
11754 (gtkEntryGetSize): Remove method.
11755 (getMinimumSize): Call minimumSize.
11756 (getPreferredSize): Call preferredSize.
11757 (minimumSize): Calculate minimum size based on backing
11758 GtkEntry's borders, font metrics and number of columns.
11759 (preferredSize): Likewise for preferred size.
11760 (get_border_width): New static function.
11762 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11763 Override GtkWindowPeer's setResizable method to account for menu
11764 bar height when setting the frame's size.
11766 2004-01-19 Matthias Klose <doko@debian.org>
11768 * libtool-version: Increased `current' to 6.
11770 2004-01-19 Kim Ho <kho@redhat.com>
11772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11773 (connectJObject): Iterate through the vbox's children to find layout.
11775 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11777 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11778 isDispatchThread method to replace wrong test condition.
11780 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11782 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11783 events to the queue out of order by acquiring locks in the proper
11784 order and not by releasing one before acquiring the other.
11786 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11788 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11789 visible so that dialog can be reused.
11791 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11793 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11794 events may be handled by any queue in the stack.
11796 2004-01-19 Kim Ho <kho@redhat.com>
11798 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11799 MenuBarPeer parameter.
11800 (removeMenuBarPeer): New native method.
11801 (setMenuBar): Call remove if menu bar is null. Adjust insets
11803 (postSizeAllocateEvent): New method. Called when menu bar size is
11804 allocated. Adjust insets and redo layout.
11805 (GtkFramePeer): Set menu bar during frame creation.
11806 (postConfigureEvent): Adjust position and size to accomodate
11808 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11809 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11810 (addNotify): Create the peer if it doesn't exist and call addNotify
11811 for the menu's items.
11812 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11813 * java/awt/MenuItem.java (addNotify): Create the peer if it
11815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11816 (removeMenuBarPeer): New method. Remove menu bar on the current
11818 (setMenuBarPeer): Add the menu bar to the current frame and the
11819 callback for size-allocate events on the menu bar.
11820 (getMenuBarHeight): Add menu bar parameter.
11821 (menubar_resize_cb): New callback method for postSizeAllocate events.
11823 Also: Fix indentation on last ChangeLog entry.
11825 2004-01-16 Kim Ho <kho@redhat.com>
11827 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11828 (gtkWidgetGetDimensions): Remove.
11829 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11830 (gtkWidgetGetDimensions): Remove.
11832 2004-01-16 Tom Tromey <tromey@redhat.com>
11834 * java/awt/Container.java: Typo and indentation fixes.
11836 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11837 * java/lang/natVMClassLoader.cc: ...here. New file.
11838 * Makefile.in: Rebuilt.
11839 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11841 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11844 Discard GDK_ENTER_NOTIFY related to ungrabs.
11846 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11848 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11849 is called for an intermediate queue.
11851 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11854 (window_property_changed_cb): Set id_set.
11856 2004-01-16 Kim Ho <kho@redhat.com>
11858 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11859 it is a FileDialog and has dimensions of 0 by 0, then the initial
11860 size is set to size request plus insets.
11861 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11862 (gtkWidgetGetDimensions): Override method.
11863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11864 (gtkWidgetGetDimensions): Override method. Returns size request plus
11867 2004-01-16 Andrew Haley <aph@redhat.com>
11869 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11870 * sysdep/i386/locks.h: Likewise.
11872 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11874 * java/awt/EventDispatchThread.java (run): Stop running when
11876 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11877 Reset the queue after transferring its contents.
11878 (push): Start a new dispatch thread if none is running.
11880 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11882 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11883 (doPolygon): set fill rule of polygon to
11884 WIND_EVEN_ODD by default.
11886 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11888 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11889 Implemented rendering hints related methods.
11890 (getDefaultHints): New helper method. Returns
11891 default rendering hints.
11892 (walkPath): changed to normalize path if
11893 the KEY_STROKE_CONTROL key is in "normalize" mode.
11894 (draw3DRect): changed coordinates of rectangle by +0.5
11895 if in "normalize" mode.
11897 2004-01-15 Tom Tromey <tromey@redhat.com>
11899 * Makefile.in: Rebuilt.
11900 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11901 (%.lo: %.java) Filter out StackTrace.lo.
11903 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11905 * configure.in: Add in AC_PREREQ(2.13)
11906 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11909 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11910 Tom Tromey <tromey@redhat.com>
11913 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11914 array to superclass.
11915 (init): Changed interface; add URLs here.
11916 (initialize): New static method.
11917 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11918 (_Jv_RunMain): ... not here.
11920 2004-01-14 Michael Koch <konqueror@gmx.de>
11922 * java/text/MessageFormat.java:
11923 Added descriptions to exceptions.
11924 This fixes PR libgcj/2429.
11926 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11928 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11929 (push): Make sure push is performed at the top of the thread stack.
11931 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11933 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11934 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11935 (native create): Add width and height parameters. Set text
11936 view's size request according to new parameters.
11937 (create): Calculate text view size based on current font's
11938 metrics and number of rows and columns. Set TextArea's font if
11939 not already set. Call native create.
11940 (getMinimumSize): Call minimumSize.
11941 (getPreferredSize): Call preferredSize.
11942 (getHScrollbarHeight): New method.
11943 (getVScrollbarWidth): New method.
11944 (minimumSize): Calculate minimum size based on scrollbar
11945 visibility, scrollbar sizes, font metrics and number of rows and
11947 (preferredSize): Likewise for preferred size.
11948 (gtkTextGetSize): Remove method.
11950 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11952 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11953 (initializeInsets): Remove method.
11954 (GtkComponentPeer): Initialize insets field. Remove call to
11956 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11958 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11960 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11961 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11962 (latestInsets): Remove field.
11963 (native create): Add insets parameter. Call
11964 window_get_frame_extents. Set the window's default size and
11965 size request based on its frame extents.
11966 (create): Initialize insets.
11967 (postInsetsChangedEvent): New method.
11968 (postConfigureEvent): Remove parameters top, left, bottom,
11969 right. Remove insets-related logic.
11970 (connectJObject): Handle property-notify-event.
11971 (window_get_frame_extents, request_frame_extents,
11972 property_notify_predicate, window_property_changed_cb): New
11974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11975 (pre_event_handler): Remove insets-related logic for configure
11977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11978 Update postConfigureEvent signature.
11980 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11982 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11983 to handle Window "Closing" events.
11985 2004-01-13 David Jee <djee@redhat.com>
11987 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11988 (setBackground): New method. Children with no explicitly-set
11989 background will be repainted with the parent container's new
11992 2004-01-13 David Jee <djee@redhat.com>
11994 * Makefile.am: Add BitwiseXORComposite.java.
11995 * Makefile.in: Regenerated.
11996 * gcj/Makefile.in: Regenerated.
11997 * include/Makefile.in: Regenerated.
11998 * testsuite/Makefile.in: Regenerated.
12000 2004-01-12 Fernando Nasser <fnasser@redhat.com>
12002 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12003 not show modal dialogs twice and so that it allows showing a modal
12004 dialog from another modal dialog.
12006 2004-01-12 Fernando Nasser <fnasser@redhat.com>
12008 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12009 and run secondary dispatch thread to process event queue while this
12012 2004-01-12 Graydon Hoare <graydon@redhat.com>
12014 * gnu/java/awt/gtk/GdkGraphics2D.java
12015 (static): Check GtkToolkit before initializing static state.
12016 (Graphics2D): Don't construct transform with 0.5 unit offset.
12018 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
12020 * gnu/java/awt/BitwiseXORComposite.java: Add.
12021 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12022 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12023 (BitwiseXORComposite): Remove inner class.
12025 2004-01-11 Michael Koch <konqueror@gmx.de>
12027 * gnu/java/lang/reflect/TypeSignature.java
12028 (getEncodingOfClass): Documentation fixed.
12029 (getClassForEncoding): Give class loader to Class.forName().
12030 Documentation fixed.
12032 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
12034 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12036 2004-01-11 Michael Koch <konqueror@gmx.de>
12038 * javax/swing/undo/StateEditable.java
12039 (RCSID): Removed redundant modifiers.
12041 2004-01-10 Michael Koch <konqueror@gmx.de>
12043 * javax/print/attribute/EnumSyntax.java
12044 (getStringTable): Made protected.
12045 (getEnumValueTable): Likewise.
12046 * javax/print/attribute/standard/JobKOctetsProcessed.java
12047 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12048 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12049 (JobMediaSheetsCompleted): Made class final.
12050 * javax/print/attribute/standard/OutputDeviceAssigned.java
12051 (getName): Fixed typo.
12052 * javax/print/attribute/standard/RequestingUserName.java
12053 (serialVersionUID): Fixed value.
12055 2004-01-10 Michael Koch <konqueror@gmx.de>
12057 * javax/swing/plaf/basic/BasicButtonUI.java,
12058 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12059 javax/swing/plaf/basic/BasicListUI.java,
12060 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12061 javax/swing/plaf/basic/BasicPanelUI.java,
12062 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12063 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12064 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12065 javax/swing/plaf/basic/BasicViewportUI.java:
12066 Fixed import statements.
12068 2004-01-10 Michael Koch <konqueror@gmx.de>
12070 * gnu/java/awt/image/ImageDecoder.java
12071 (produce): Made public.
12072 * gnu/java/awt/peer/GLightweightPeer.java,
12073 gnu/java/awt/peer/gtk/GtkToolkit.java:
12076 2004-01-10 Michael Koch <konqueror@gmx.de>
12078 * javax/swing/JRadioButtonMenuItem.java,
12079 javax/swing/JSeparator.java,
12080 javax/swing/JSplitPane.java,
12081 javax/swing/JTextPane.java,
12082 javax/swing/JToolBar.java,
12083 javax/swing/ListCellRenderer.java,
12084 javax/swing/ListModel.java,
12085 javax/swing/MenuElement.java,
12086 javax/swing/OverlayLayout.java,
12087 javax/swing/ProgressMonitor.java,
12088 javax/swing/ProgressMonitorInputStream.java,
12089 javax/swing/Renderer.java,
12090 javax/swing/RootPaneContainer.java,
12091 javax/swing/Scrollable.java,
12092 javax/swing/SingleSelectionModel.java,
12093 javax/swing/ToolTipManager.java,
12094 javax/swing/ViewportLayout.java,
12095 javax/swing/event/DocumentEvent.java,
12096 javax/swing/event/SwingPropertyChangeSupport.java,
12097 javax/swing/event/TreeSelectionEvent.java,
12098 javax/swing/event/UndoableEditEvent.java,
12099 javax/swing/text/AbstractDocument.java,
12100 javax/swing/text/AttributeSet.java,
12101 javax/swing/text/Caret.java,
12102 javax/swing/text/ComponentView.java,
12103 javax/swing/text/DefaultCaret.java,
12104 javax/swing/text/DefaultEditorKit.java,
12105 javax/swing/text/Document.java,
12106 javax/swing/text/EditorKit.java,
12107 javax/swing/text/GapContent.java,
12108 javax/swing/text/Keymap.java,
12109 javax/swing/text/MutableAttributeSet.java,
12110 javax/swing/text/PlainEditorKit.java,
12111 javax/swing/text/Segment.java,
12112 javax/swing/text/Style.java,
12113 javax/swing/text/StyledDocument.java,
12114 javax/swing/text/StyledEditorKit.java,
12115 javax/swing/text/TextAction.java,
12116 javax/swing/text/View.java: Fixed import statements.
12118 2004-01-08 Graydon Hoare <graydon@redhat.com>
12120 * javax/swing/JLayeredPane.java: Rewrite to accomodate
12121 djee@redhat.com's recent inverse ordering of Container elements.
12123 2004-01-09 Michael Koch <konqueror@gmx.de>
12125 * gnu/java/lang/ArrayHelper.java
12126 (equalsArray): Removed.
12128 2004-01-09 Andrew Haley <aph@redhat.com>
12130 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12131 a Utf8Const field before looking at its class.
12133 2004-01-09 Michael Koch <konqueror@gmx.de>
12135 * javax/print/attribute/standard/DocumentName.java,
12136 javax/print/attribute/standard/JobHoldUntil.java,
12137 javax/print/attribute/standard/JobMessageFromOperator.java,
12138 javax/print/attribute/standard/JobName.java,
12139 javax/print/attribute/standard/JobOriginatingUserName.java,
12140 javax/print/attribute/standard/OutputDeviceAssigned.java,
12141 javax/print/attribute/standard/PrinterInfo.java,
12142 javax/print/attribute/standard/PrinterLocation.java,
12143 javax/print/attribute/standard/PrinterMakeAndModel.java,
12144 javax/print/attribute/standard/PrinterMessageFromOperator.java,
12145 javax/print/attribute/standard/PrinterName.java,
12146 javax/print/attribute/standard/RequestingUserName.java: New files.
12147 * Makefile.am (javax_source_files): Added new files.
12148 * Makefile.in: Regenerated.
12150 2004-01-09 Michael Koch <konqueror@gmx.de>
12152 * javax/swing/AbstractAction.java,
12153 javax/swing/AbstractSet.java,
12154 javax/swing/Action.java,
12155 javax/swing/ActionMap.java,
12156 javax/swing/BoundedRangeModel.java,
12157 javax/swing/ButtonModel.java,
12158 javax/swing/CellEditor.java,
12159 javax/swing/CellRendererPane.java,
12160 javax/swing/ComboBoxEditor.java,
12161 javax/swing/DebugGraphics.java,
12162 javax/swing/DefaultCellEditor.java,
12163 javax/swing/DefaultCellRenderer.java,
12164 javax/swing/DefaultComboBoxModel.java,
12165 javax/swing/DefaultDesktopManager.java,
12166 javax/swing/DefaultFocusManager.java,
12167 javax/swing/DefaultListCellRenderer.java,
12168 javax/swing/Icon.java,
12169 javax/swing/JButton.java,
12170 javax/swing/JCheckBoxMenuItem.java,
12171 javax/swing/JDesktopPane.java,
12172 javax/swing/JEditorPane.java,
12173 javax/swing/JMenu.java,
12174 javax/swing/JPanel.java,
12175 javax/swing/JPasswordField.java,
12176 javax/swing/JPopupMenu.java,
12177 javax/swing/JProgressBar.java: Reworked imports.
12179 2004-01-09 Michael Koch <konqueror@gmx.de>
12181 * java/awt/geom/PathIterator.java
12182 (WIND_EVEN_ODD): Removed redundant modifiers.
12183 (WIND_NON_ZERO): Likewise.
12184 (SEG_MOVETO): Likewise.
12185 (SEG_LINETO): Likewise.
12186 (SEG_QUADTO): Likewise.
12187 (SEG_CUBICTO): Likewise.
12188 (SEG_CLOSE): Likewise.
12189 * java/awt/image/SinglePixelPackedSampleModel.java:
12190 Removed redundant semicolon.
12191 * java/io/ObjectInputStream.java
12192 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12193 * java/util/logging/Filter.java
12194 (isLoggable): Removed redundant modifier.
12195 * java/util/logging/LogManager.java:
12196 Removed redundant semicolon.
12197 * java/util/logging/XMLFormatter.java
12198 (format): Removed unused variable "key".
12200 2004-01-08 Fernando Nasser <fnasser@redhat.com>
12202 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12203 New name for the former setFile native method.
12204 (setFile): New method.
12205 (setDirectory): Implemented.
12206 (connectSignals): New native method.
12207 (setFilenameFilter): Improve comment.
12208 (getGraphics): Comment.
12209 (gtkHideFileDialog): New method.
12210 (gtkDisposeFileDialog): New method.
12211 (gtkSetFilename): New method.
12212 * java/awt/Dialog.java (show): Block on modal dialogs, but only
12213 for FileDialog for now.
12214 (hide): New method.
12215 (dispose): New method.
12216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12217 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12218 deprecated creation functions. Make dialog modal. Add it to the
12220 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12222 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12224 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12226 (window_closed): New function.
12227 (ok_clicked): New function.
12228 (cancel_clicked): New function.
12230 2004-01-08 Michael Koch <konqueror@gmx.de>
12232 * javax/swing/JLayeredPane.java: Revert changes to standard
12233 boilerplate, reworked imports.
12235 2004-01-07 Tom Tromey <tromey@redhat.com>
12238 * verify.cc (state::merge): Copy changed locals out of subroutine
12240 (state::FLAG_CHANGED): New const.
12241 (state::FLAG_UNUSED): Likewise.
12242 (state::local_changed): Removed. Updated all users.
12243 (state::flags): New field.
12244 (state::merge): Added jsr_semantics argument, more logic.
12245 (push_jump_merge): Added jsr_semantics argument.
12246 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12247 merging through the jsr instruction.
12249 2004-01-07 Tom Tromey <tromey@redhat.com>
12251 * scripts/MakeDefaultMimeTypes.java: Use \n, not
12254 2004-01-07 Graydon Hoare <graydon@redhat.com>
12256 * java/awt/Container.java (LightweightDispatcher): Implement.
12257 (visitChild): Reuse graphics object.
12258 (dispatchEventImpl): Optionally dispatch to lightweight.
12259 (addNotifyContainerChildren): Build LightweightDispatcher.
12261 2004-01-07 David Jee <djee@redhat.com>
12263 * java/awt/Container.java
12264 (update): Clear only the clipped region, instead of clearing the
12266 (visitChildren): Visit children in descending order.
12268 2004-01-07 Michael Koch <konqueror@gmx.de>
12270 * java/lang/reflect/Array.java: Merged documentation with classpath.
12272 2004-01-07 Michael Koch <konqueror@gmx.de>
12274 * java/text/CollationElementIterator.java
12275 (textIndex): Renamed from index.
12276 * java/text/CollationKey.java
12277 (collator): New member.
12278 (CollationKey): New argument for parent collator.
12279 (equals): Check for same collator, source string and key array.
12280 * java/text/RuleBasedCollator.java:
12282 (RuleBasedCollator): Don't re-initialize frenchAccents with default
12284 (getCollationElementIterator): Rewritten.
12285 (getCollationKey): Added new argument to CollationKey constructor.
12287 2004-01-07 Michael Koch <konqueror@gmx.de>
12289 * gnu/java/nio/DatagramChannelImpl.java
12290 (blocking): Removed.
12291 (DatagramChannelImpl): Call configureBlocking().
12292 (implConfigureBlocking): Dont initialize blocking.
12293 * gnu/java/nio/ServerSocketChannelImpl.java
12294 (blocking): Removed.
12295 (ServerSocketChannelImpl): Call configureBlocking().
12296 (implConfigureBlocking): Dont initialize blocking.
12297 * gnu/java/nio/SocketChannelImpl.java
12298 (blocking): Removed.
12299 (SocketChannelImpl): Call configureBlocking().
12300 (implConfigureBlocking): Dont initialize blocking.
12301 (connect): Use isBlocking().
12302 * java/nio/channels/spi/AbstractSelectableChannel.java
12303 (configureBlocking): Use blockingLock() instead of LOCK.
12304 Set blocking after successfully called implConfigureBlocking().
12305 (register): Use blockingLock() instead of LOCK.
12307 2004-01-07 Michael Koch <konqueror@gmx.de>
12309 * java/net/ServerSocket.java (isBound): Fixed documentation.
12311 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
12313 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12314 (changeEvent): Create event object on demand.
12315 (DefaultBoundedRangeModel, toString, setValue, setExtent,
12316 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12317 fireStateChanged): Re-written.
12318 * javax/swing/event/EventListenerList.java: Reformatted, document
12320 (toString): Implemented.
12321 (getListeners): Re-written.
12322 (remove): Re-written.
12324 (NO_LISTENERS): New singleton field.
12325 (listenerList): Declare as transient; document.
12326 (serialVersionUID): Document.
12327 (getListenerCount(Class)): More efficient implementation,
12328 also accepts null argument. Improve Javadoc.
12329 (getListenerCount()): Remove unnecessary cast; docfix.
12330 * javax/swing/undo/UndoableEditSupport.java:
12331 Re-format, document.
12332 (UndoableEditSupport): Set realSource field. Improve documentation.
12333 (_postEdit): Iterate over cloned listener vector.
12334 (toString): Don't emit realSource.
12335 (beginUpdate, endUpdate): Support nested updates.
12336 (postEdit): Use compound edit if present.
12338 2004-01-06 Graydon Hoare <graydon@redhat.com>
12340 * java/awt/Container.java (swapComponents): Add forgotten
12341 function, required for JLayeredPane change.
12343 2004-01-06 Michael Koch <konqueror@gmx.de>
12345 * java/text/CollationElementIterator.java: Reformated.
12346 (CollationElementIterator): Changed order of arguments.
12347 * java/text/RuleBasedCollator.java
12348 (RuleBasedCollator): Merged class documentation.
12349 (CollationElement): Added documentation.
12350 (compare): Reformated, renamed arguments.
12351 (equals): Likewise.
12352 (getCollationElementIterator): Likewise.
12353 (getCollationKey): Likewise.
12355 2004-01-06 Graydon Hoare <graydon@redhat.com>
12357 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12359 2004-01-06 Michael Koch <konqueror@gmx.de>
12361 * gnu/java/net/protocol/file/Connection.java:
12362 Reformated copyright.
12363 (hdrHash): Removed.
12365 (gotHeaders): Removed.
12366 (getHeaderField): Removed.
12367 (getHeaderField): Removed.
12368 (getHeaderFieldKey): Removed.
12370 (getField): Removed.
12371 (getHeaders): Removed.
12373 2004-01-06 Michael Koch <konqueror@gmx.de>
12375 * javax/print/attribute/standard/DateTimeAtCompleted.java,
12376 javax/print/attribute/standard/DateTimeAtCreation.java,
12377 javax/print/attribute/standard/DateTimeAtProcessing.java,
12378 javax/print/attribute/standard/JobImpressionsCompleted.java,
12379 javax/print/attribute/standard/JobKOctets.java,
12380 javax/print/attribute/standard/JobKOctetsProcessed.java,
12381 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12382 javax/print/attribute/standard/JobPrioritySupported.java: New files.
12383 * Makefile.am (javax_source_files): Added new files.
12384 * Makefile.in: Regenerated.
12386 2004-01-06 Michael Koch <konqueror@gmx.de>
12388 * java/net/URLConnection.java
12389 (contentHandler): Removed.
12391 (getHeaderFields): Return an empty map instead of null.
12392 (getContent): Connect if needed, renamed "cType" to "type" and
12393 "contentHandler" to "ch" and made it a local variable.
12394 (getPermission): Don't use package in class name.
12395 (setDefaultRequestProperty): Fixed typo in documentation.
12396 (initializeDateFormats): Made locale a local variable.
12398 2004-01-06 Michael Koch <konqueror@gmx.de>
12400 * java/lang/Package.java
12401 (getPackage): Get the current class loader directly.
12402 * java/lang/SecurityManager.java
12403 (currentLoadedClass): Dont iterate over class contexts.
12404 (classLoaderDepth): Don't check class loaders if everything is allowed.
12406 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12408 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12409 (pre_event_handler): Set all insets to 0 when a Configure event
12410 is received for a GtkPlug.
12411 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12412 Make handle long, not int.
12413 (EmbeddedWindow()): New constructor.
12414 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
12416 (setHandle): New method.
12417 (getHandle): Return long, not int.
12418 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12420 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12421 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12422 (create(long)): Take long parameter, not int. Cast gtk_plug_new
12423 argument to GdkNativeWindow.
12424 (construct): New method.
12425 (embed): New method.
12427 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12428 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12429 (create(int, int)): New method.
12430 (create): Call new create method.
12431 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12433 (childResized): Remove native implementation. Implement in
12435 (getHScrollbarHeight, getVScrollbarWidth): Call
12436 gtk_widget_size_request to get scrollbar dimensions.
12437 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
12438 call getVScrollbarWidth and getHScrollbarHeight when vertical
12439 and horizontal scrollbars respectively are needed.
12440 (doLayout): Enlarge child if it is smaller than the viewport.
12442 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12444 * java/awt/Dialog.java (constructor): Accept null title as per spec.
12445 * java/awt/FileDialog.java (constructor): Throw exception on invalid
12446 argument as per spec.
12448 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12450 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12452 (remove): Ditto. Also, Check for valid argument.
12453 (removeAll): Use peer interface method.
12454 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12455 native add function.
12456 (nativeRemove): New name for native remove function.
12457 (getHistory): New native function.
12458 (constructor): Generate ItemEvent.
12459 (add): Ditto, if selection is changed.
12460 (remove): Ditto, ditto.
12461 (removeAll): Add implementation.
12462 (handleEvent): Remove. Dead code.
12463 (choicePostItemEvent): Add comment.
12464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12465 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12466 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12467 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
12468 comments and fix condition to change selection.
12469 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12470 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
12471 remove all capability.
12472 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12473 (item_activate): Add cast to remove compiler warning.
12475 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12477 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12478 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12479 (getPreferredSize): Call preferredSize.
12480 (preferredSize): Call gtkWidgetGetPreferredDimensions.
12481 (getMinimumSize): Call minimumSize.
12482 (minimumSize): Call gtkWidgetGetPreferredDimensions.
12483 (gtkWidgetGetDimensions): Return the peer widget's current size
12485 (gtkWidgetGetPreferredDimensions): Return the peer widget's
12486 natural size request.
12488 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
12490 Thanks to Brian Gough <bjg@network-theory.com>
12491 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12492 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12494 2004-01-04 Matthias Klose <doko@debian.org>
12496 * aclocal.m4: Rebuilt using "aclocal -I .".
12497 * configure: Rebuilt.
12499 2004-01-03 Per Bothner <per@bothner.com>
12501 * java/util/Date.java (parse): Fix a number of problems.
12502 (skipParens): Remove no-longer-needed method.