1 2004-11-24 Michael Koch <konqueror@gmx.de>
3 * java/nio/DirectByteBufferImpl.java
4 (ReadWrite.ReadWrite): New constructor.
5 (DirectByteBufferImpl): Likewise.
6 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
7 Use DirectByteBufferImpl.ReadWrite.
9 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
10 * Makefile.in: Rgenerated.
12 2004-11-24 Jeroen Frijters <address@bogus.example.com>
14 * java/nio/DirectByteBufferImpl.java
15 (ReadOnly): New inner subclass.
16 (ReadWrite): New inner subclass.
17 (owner): Made final and private.
18 (address): Made final.
19 (DirectByteBufferImpl(int)): New constructor.
20 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
21 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
22 (allocate): Modified to instantiate ReadWrite subclass.
23 (finalize): Fixed to only free the buffer, if we own it.
24 (put): Removed read-only check.
25 (slice, duplicate): Modified to instantiate appropriate subclass.
26 (isReadOnly): Removed.
27 * java/nio/MappedByteBufferImpl.java
28 (slice, duplicate): Modified to instantiate appropriate
29 DirectByteBufferImpl subclass.
31 2004-11-24 Michael Koch <konqueror@gmx.de>
33 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
34 * java/nio/DirectByteBufferImpl.java:
35 Moved native methods to java.nio.VMDirectByteBuffer class.
36 * java/nio/MappedByteBufferImpl.java:
37 Use native methods from java.nio.VMDirectByteBuffer class.
38 * java/nio/VMDirectByteBuffer.java: New file,
39 * java/nio/natDirectByteBufferImpl.cc:
40 Moved all methods into java.nio.VMDirectByteBuffer class.
41 * java/nio/channels/spi/AbstractSelectableChannel.java
42 (register): Only re-use valid keys.
43 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
44 * Makefile.in: Regenerated.
46 2004-11-24 Michael Koch <konqueror@gmx.de>
48 * java/nio/DirectByteBufferImpl.java,
49 java/nio/MappedByteBufferImpl.java:
52 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
54 * testsuite/lib/libjava.exp,
55 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
57 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
59 * configure.host: Enable the interpreter for mips*-*-linux*.
61 2004-11-23 Michael Koch <konqueror@gmx.de>
63 * java/lang/String.java (rehash): Removed.
64 * java/lang/natString.cc (rehash): Made static.
65 (_Jv_NewStringUtf8Const): Use static rehash method.
67 2004-11-23 Michael Koch <konqueror@gmx.de>
69 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
70 include/Makefile.in, testsuite/Makefile.in: Regenerated.
72 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
75 * configure.ac (threading): Accept 'posix95'.
76 * configure: Regenerate.
78 2004-11-22 Michael Koch <konqueror@gmx.de>
80 * gnu/java/nio/SocketChannelImpl.java
81 (read): Made check for blocking un-ambiguous.
82 Removed wrong check for data array length.
84 2004-11-21 Michael Koch <konqueror@gmx.de>
86 * gnu/java/nio/SocketChannelImpl.java
87 (read): Only return 0 when no bytes for reading available in
89 * java/nio/channels/SocketChannel.java:
90 Added some missing @return tags.
92 2004-11-21 Michael Koch <konqueror@gmx.de>
94 * java/beans/PropertyChangeSupport.java
95 (propertyChangeSupportSerializedDataVersion): Made static.
96 * java/beans/VetoableChangeSupport.java
97 (propertyChangeSupportSerializedDataVersion): Likewise.
99 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
101 * java/net/URLStreamHandler.java
102 (parseURL): Fixed file path canonicalisation.
104 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
106 * java/net/URLStreamHandler.java
107 (parseURL): Fixed file path canonicalisation.
109 2004-11-18 Michael Koch <konqueror@gmx.de>
111 * java/net/URLClassLoader.java: Whitespace cleanup.
113 2004-11-18 Robert Schuster <address@bogus.example.com>
116 * java/beans/PropertyDescriptor.java:
117 (setReadMethod): New method
118 (setWriteMethod): New method
119 (equals): Implemented (1.4)
120 (checkMethods): operates on arguments now (private)
123 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
125 * java/net/Inet6Address.java (getHostAddress): Fix textual
126 representation of IPv6 address with embedded zeroes
127 to conform to RFC 2373.
129 2004-11-18 Jeroen Frijters <address@bogus.example.com>
131 * java/lang/StackTraceElement.java: Made final.
132 * java/nio/channels/Channels.java: Added private constructor.
133 * java/rmi/Naming.java: Added private constructor.
134 * java/rmi/registry/LocateRegistry.java: Added private constructor.
135 * java/rmi/server/RMIClassLoader.java: Added private constructor.
136 * java/security/KeyPairGeneratorSpi.java
137 (clone): Made protected and simplified implementation.
138 * java/text/DateFormat.java
139 (allFields): Made package accessible.
140 * java/text/DecimalFormat.java
141 (formatInternal): Made private.
142 * java/text/Format.java
143 (formatInternal): Made private.
144 * java/util/logging/Handler.java: Made constructor protected.
145 * java/util/regex/Matcher.java: Made final.
146 * java/util/regex/Pattern.java: Made final.
147 * javax/crypto/CipherInputStream.java
148 (mark): Corrected mark parameter type (from long to int).
149 * javax/crypto/ExemptionMechanism.java
151 * javax/crypto/Mac.java
152 (getMacLength): Made final.
154 * javax/imageio/ImageIO.java: Added private constructor.
155 * javax/imageio/stream/ImageInputStreamImpl.java
156 (checkClosed): Made final.
157 * javax/net/ssl/SSLPermission.java: Made final.
158 * javax/print/DocFlavor.java
159 (hostEncoding): Added work-around to prevent the field from being
160 a compile time constant.
161 * javax/print/attribute/AttributeSetUtilities.java: Added private
163 (UnmodifiableDocAttributeSet): Made private.
164 (UnmodifiablePrintJobAttributeSet): Made private.
165 (UnmodifiablePrintRequestAttributeSet): Made private.
166 (UnmodifiablePrintServiceAttributeSet): Made private.
167 (SynchronizedAttributeSet): Made private.
168 (SynchronizedDocAttributeSet): Made private.
169 (SynchronizedPrintJobAttributeSet): Made private.
170 (SynchronizedPrintRequestAttributeSet): Made private.
171 (SynchronizedPrintServiceAttributeSet): Made private.
172 * javax/security/auth/PrivateCredentialPermission.java: Made final.
174 2004-11-18 Craig Black <craig.black@aonix.com>
176 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
178 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
180 * Makefile.am: Correct friend function declaration.
181 * Makefile.in: Regenerated.
182 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
183 scope to function names. Declare functions directly.
184 * libjava/java/lang/Class.h
185 (java::lang::Class): Correct friend class declaration.
186 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
188 * libjava/java/lang/Class.h
189 (java::lang::Object): Correct friend class declaration.
191 2004-11-17 David Daney <ddaney@avtrex.com>
193 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
195 2004-11-17 Michael Koch <konqueror@gmx.de>
197 * java/net/Socket.java (getPort): Return 0 in error case.
199 2004-11-17 Michael Koch <konqueror@gmx.de>
201 * java/nio/DirectByteBufferImpl.java
202 (owner): Updated comment.
203 (allocate): New method.
205 2004-11-17 Michael Koch <konqueror@gmx.de>
207 * java/net/URL.java (URL): Handle case when argument is null.
209 2004-11-17 Michael Koch <konqueror@gmx.de>
211 * java/beans/Beans.java,
212 java/beans/PropertyChangeEvent.java,
213 java/beans/PropertyEditorSupport.java:
216 2004-11-17 Michael Koch <konqueror@gmx.de>
218 * java/util/Timer.java (DEFAULT_SIZE): Made static.
220 2004-11-17 Michael Koch <konqueror@gmx.de>
222 * java/net/InetAddress.java (getCanonicalHostName):
223 Support IPv6 addresses.
225 2004-11-16 Michael Koch <konqueror@gmx.de>
227 * java/lang/Object.java: Added javadocs all over (merged from GNU
230 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
232 * java/security/Security.java (Security): Silence the warning about no
233 providers found in the no debug case.
235 2004-11-16 Michael Koch <konqueror@gmx.de>
237 * java/net/InetAddress.java
238 (toString): Merged from GNU classpath.
240 2004-11-16 Michael Koch <konqueror@gmx.de>
242 * java/awt/geom/doc-files/Area-1.png,
243 java/awt/geom/doc-files/Ellipse-1.png,
244 java/awt/geom/doc-files/GeneralPath-1.png:
247 2004-11-16 Michael Koch <konqueror@gmx.de>
249 * java/util/Currency.java (cache): Fix modifier order.
251 2004-11-16 Michael Koch <konqueror@gmx.de>
253 * java/io/BufferedReader.java,
254 java/io/FileInputStream.java,
255 java/io/FileOutputStream.java,
256 java/io/FileWriter.java,
257 java/io/OutputStreamWriter.java,
258 java/io/PipedInputStream.java,
259 java/io/PipedOutputStream.java,
260 java/io/PipedReader.java,
261 java/io/PipedWriter.java,
262 java/io/PrintStream.java,
263 java/io/PushbackInputStream.java,
264 java/io/RandomAccessFile.java,
266 java/io/StreamTokenizer.java,
267 java/io/StringReader.java,
268 java/net/NetworkInterface.java,
269 java/net/URLClassLoader.java,
270 java/nio/ByteOrder.java,
271 java/nio/channels/Channel.java:
272 Fixed javadocs all over.
274 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
276 * Makefile.am: Add imported files.
277 * Makefile.in: Regenerate.
279 2004-10-24 Casey Marshall <csm@gnu.org>
281 * javax/security/auth/login/LoginContext.java: Implemented.
282 * javax/security/auth/login/Configuration.java (getConfig): New method.
283 * javax/security/auth/spi/LoginModule.java,
284 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
286 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
288 Import/Merge the X.509 certificate code from Classpath.
290 * Makefile.am: Add imported files.
291 * Makefile.in: Regenerate.
293 2004-11-07 Casey Marshall <csm@gnu.org>
295 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
296 priviliged action. Add new algorithms.
297 * gnu/java/security/provider/X509CertificateFactory.java
298 (engineGenerateCertificate): Chain exceptions.
299 (engineGenerateCertificates): Likewise.
300 (engineGenerateCRL): Likewise.
301 (engineGenerateCRLs): Likewise.
302 (engineGenerateCertPath): New methods.
303 (generateCert): Throw exception if 'inStream' is null.
304 (generateCRL): Likewise.
305 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
306 version from GNU Crypto CVS.
307 * gnu/java/security/x509/X509CRL.java: Likewise.
308 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
309 * gnu/java/security/x509/X509Certificate.java: Likewise.
310 * java/security/cert/TrustAnchor.java: Call 'toString' and not
312 * gnu/java/security/provider/CollectionCertStoreImpl.java,
313 * gnu/java/security/provider/EncodedKeyFactory.java,
314 * gnu/java/security/provider/GnuDHPublicKey.java,
315 * gnu/java/security/provider/GnuRSAPrivateKey.java,
316 * gnu/java/security/provider/GnuRSAPublicKey.java,
317 * gnu/java/security/provider/MD2withRSA.java,
318 * gnu/java/security/provider/MD4withRSA.java,
319 * gnu/java/security/provider/MD5withRSA.java,
320 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
321 * gnu/java/security/provider/RSA.java,
322 * gnu/java/security/provider/RSAKeyFactory.java,
323 * gnu/java/security/provider/SHA1withRSA.java,
324 * gnu/java/security/x509/GnuPKIExtension.java,
325 * gnu/java/security/x509/PolicyNodeImpl.java,
326 * gnu/java/security/x509/Util.java,
327 * gnu/java/security/x509/X509CRLSelectorImpl.java,
328 * gnu/java/security/x509/X509CertPath.java,
329 * gnu/java/security/x509/X509CertSelectorImpl.java,
330 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
331 * gnu/java/security/x509/ext/BasicConstraints.java,
332 * gnu/java/security/x509/ext/CRLNumber.java,
333 * gnu/java/security/x509/ext/CertificatePolicies.java,
334 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
335 * gnu/java/security/x509/ext/Extension.java,
336 * gnu/java/security/x509/ext/GeneralNames.java,
337 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
338 * gnu/java/security/x509/ext/KeyUsage.java,
339 * gnu/java/security/x509/ext/PolicyConstraint.java,
340 * gnu/java/security/x509/ext/PolicyMappings.java,
341 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
342 * gnu/java/security/x509/ext/ReasonCode.java,
343 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
344 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
346 2004-11-07 Casey Marshall <csm@gnu.org>
348 * gnu/java/security/x509/X509CRL.java:
349 Missed import statements in previous checkin.
351 2004-11-07 Casey Marshall <csm@gnu.org>
353 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
354 to 'X509CertificateImpl' from previous checkin.
356 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
359 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
361 2004-11-11 Casey Marshall <csm@gnu.org>
363 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
365 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
366 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
368 2004-11-11 Robert Schuster <thebohemian@gmx.net>
371 * gnu/java/beans/IntrospectionIncubator.java:
372 (addMethod): Corrected classification of normal and property methods.
373 (capitalize): Added documentation.
374 (DoubleKey): [class] Added documentation.
376 2004-11-09 Tom Tromey <tromey@redhat.com>
378 * include/jni.h: Added FIXME.
380 2004-11-08 Tom Tromey <tromey@redhat.com>
382 * java/util/GregorianCalendar.java: Removed unused imports.
383 * java/util/Vector.java: Removed unused import.
385 2004-11-07 Michael Koch <konqueror@gmx.de>
387 * java/lang/Process.java:
390 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
392 * java/util/zip/ZipEntry.java
393 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
395 2004-11-07 Robert Schuster <theBohemian@gmx.net>
398 * gnu/java/beans/IntrospectionIncubator.java:
399 (addMethod): static methods are discarded now, too.
401 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
403 * java/util/GregorianCalendar.java
404 Added/amended documentation.
406 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
408 * java/util/Collections.java
410 * java/util/SortedMap.java
411 Clarified some method examples.
412 * java/util/SortedSet.java
413 Clarified some method examples.
415 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
417 * java/util/Currency.java
418 Documented variables and methods more fully.
419 Caches the currency instances, so that a request
420 for a locale, l, only ever returns the same
421 instance (i.e. successive calls to getInstance(l)
422 are reference equivalent (==)).
424 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
426 * java/util/Date.java
427 Added missing documentation.
429 2004-11-06 Michael Koch <konqueror@gmx.de>
431 * java/util/zip/CheckedInputStream.java,
432 java/util/zip/InflaterInputStream.java,
433 java/util/zip/ZipFile.java,
434 java/util/zip/ZipInputStream.java:
437 2004-11-06 Tom Tromey <tromey@redhat.com>
439 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
441 (connections): Likewise.
442 (scavenger): Likewise.
443 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
445 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
448 * gnu/classpath/ServiceFactory.java (log): Now package-private.
450 2004-11-06 Tom Tromey <tromey@redhat.com>
452 * javax/naming/directory/BasicAttributes.java (attributes): Now
454 * javax/imageio/spi/ServiceRegistry.java (categories): Now
457 2004-11-06 Tom Tromey <tromey@redhat.com>
459 * java/net/URLClassLoader.java (URLClassLoader): Now
461 * java/nio/charset/CoderResult.java (CoderResult): Now
464 (Cache): Likewise. Don't synchronize on `this'.
465 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
467 * java/util/TimeZone.java (timezones): Now package-private.
469 2004-11-06 Tom Tromey <tromey@redhat.com>
471 * java/security/Permissions.java (perms): Now package-private.
472 * java/security/UnresolvedPermission.java (permissions): Now
475 2004-11-06 Tom Tromey <tromey@redhat.com>
477 * java/io/FilePermission.java: Reindented.
479 2004-11-06 Tom Tromey <tromey@redhat.com>
481 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
483 (setBlockDataMode): Likewise.
485 2004-11-06 Tom Tromey <tromey@redhat.com>
487 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
490 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
492 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
496 2004-11-06 Mark Wielaard <mark@klomp.org>
498 * Makefile.am: Add new javax.imageio files.
499 * Makefile.in: Regenerated.
501 2004-11-06 Michael Koch <konqueror@gmx.de>
503 * javax/imageio/event/IIOReadProgressListener.java,
504 javax/imageio/event/IIOReadUpdateListener.java,
505 javax/imageio/event/IIOReadWarningListener.java,
506 javax/imageio/event/IIOWriteProgressListener.java,
507 javax/imageio/event/IIOWriteWarningListener.java,
508 javax/imageio/metadata/IIOMetadataFormat.java,
509 javax/imageio/stream/FileCacheImageInputStream.java,
510 javax/imageio/stream/FileCacheImageOutputStream.java,
511 javax/imageio/stream/ImageInputStreamImpl.java:
513 * javax/imageio/metadata/package.html: New file.
515 2004-11-06 Michael Koch <konqueror@gmx.de>
517 * javax/imageio/spi/ImageReaderSpi.java
518 (isOwnReader): New method.
519 * javax/imageio/spi/ImageWriterSpi.java
520 (isOwnWriter): Likewise.
522 2004-11-06 Michael Koch <konqueror@gmx.de>
524 * javax/imageio/ImageWriter.java
525 (convertImageMetadata): New abstract method.
526 (convertStreamMetadata): Likewise.
528 * javax/imageio/stream/FileCacheImageInputStream.java
529 (close): Fixed setting of stream to null.
530 (checkStreamClosed): Throws IOException.
532 2004-11-06 Michael Koch <konqueror@gmx.de>
534 * javax/imageio/stream/FileCacheImageInputStream.java,
535 javax/imageio/stream/FileCacheImageOutputStream.java,
536 javax/imageio/stream/FileImageInputStream.java,
537 javax/imageio/stream/FileImageOutputStream.java,
538 javax/imageio/stream/MemoryCacheImageInputStream.java,
539 javax/imageio/stream/MemoryCacheImageOutputStream.java:
542 2004-11-06 Michael Koch <konqueror@gmx.de>
544 * javax/imageio/metadata/IIOInvalidTreeException.java,
545 javax/imageio/metadata/IIOMetadataFormatImpl.java,
546 javax/imageio/metadata/IIOMetadataNode.java:
549 2004-11-06 Michael Koch <konqueror@gmx.de>
551 * javax/imageio/stream/ImageInputStreamImpl.java,
552 javax/imageio/stream/ImageOutputStreamImpl.java:
555 2004-11-06 Michael Koch <konqueror@gmx.de>
557 * javax/imageio/ImageIO.java:
558 Added much new methods.
560 2004-11-06 Michael Koch <konqueror@gmx.de>
562 * javax/imageio/ImageReader.java,
563 javax/imageio/ImageWriter.java,
564 javax/imageio/spi/ImageWriterSpi.java:
565 Add SOME new methods.
567 2004-11-06 Michael Koch <konqueror@gmx.de>
569 * javax/imageio/IIOParam.java,
570 javax/imageio/ImageReadParam.java,
571 javax/imageio/ImageReader.java,
572 javax/imageio/ImageWriter.java:
574 * javax/imageio/spi/ImageReaderSpi.java,
575 javax/imageio/spi/ImageWriterSpi.java:
578 2004-11-06 Michael Koch <konqueror@gmx.de>
580 * javax/imageio/ImageWriteParam.java,
581 javax/imageio/metadata/IIOMetadataFormat.java:
584 2004-11-06 Michael Koch <konqueror@gmx.de>
586 * javax/imageio/ImageTypeSpecifier.java:
589 2004-11-06 Michael Koch <konqueror@gmx.de>
591 * javax/imageio/metadata/IIOMetadata.java:
594 2004-11-06 Michael Koch <konqueror@gmx.de>
596 * javax/imageio/IIOImage.java,
597 javax/imageio/ImageReadParam.java,
598 javax/imageio/metadata/IIOMetadataController.java,
599 javax/imageio/metadata/IIOMetadataFormat.java:
601 * javax/imageio/stream/ImageOutputStream.java:
604 2004-11-06 Michael Koch <konqueror@gmx.de>
606 * javax/imageio/IIOParam.java,
607 javax/imageio/IIOParamController.java,
608 javax/imageio/ImageTypeSpecifier.java,
609 javax/imageio/ImageWriteParam.java,
610 javax/imageio/metadata/IIOMetadata.java:
612 * javax/imageio/ImageTranscoder.java:
615 2004-11-06 Michael Koch <konqueror@gmx.de>
617 * javax/imageio/spi/ImageInputStreamSpi.java,
618 javax/imageio/spi/ImageOutputStreamSpi.java:
619 Reworked import startments.
620 * javax/imageio/spi/ServiceRegistry.java:
621 Reworked import startments. Fixed XHTML in javadocs.
622 (ServiceRegistry): Added @param tag to javadoc.
623 * javax/imageio/stream/ImageInputStream.java
624 (mark): Doesn't throws IOException;
626 2004-11-06 Michael Koch <konqueror@gmx.de>
628 * javax/imageio/ImageIO.java:
631 2004-11-06 Michael Koch <konqueror@gmx.de>
633 * javax/imageio/spi/IIORegistry.java
634 (static): Don't register ImageReaderSpi.class and
635 ImageWriterSpi.class yet.
637 2004-11-06 Michael Koch <konqueror@gmx.de>
639 * javax/imageio/spi/IIORegistry.java:
642 2004-11-06 Noa Resare <noa@resare.com>
644 * java/net/Socket.java (getPort): Return 0 instead of -1 on
647 2004-11-06 Michael Koch <konqueror@gmx.de>
649 * java/lang/StringBuffer.java,
650 java/lang/Throwable.java,
651 java/security/spec/DSAParameterSpec.java,
652 java/util/zip/ZipEntry.java,
653 java/util/zip/ZipFile.java,
654 java/util/zip/ZipInputStream.java,
655 java/util/zip/ZipOutputStream.java:
656 Removed redundant and reordered modifiers.
658 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
660 * java/io/Vector.java
661 (writeObject): New function to serialized output thread safe.
663 * java/io/ObjectOutputStream.java
664 (writeObject): Move the assignment of the class handle to after
665 the assignment of class descriptor handle.
667 2004-11-06 Robert Schuster <thebohemian@gmx.net>
669 Fixes documentation and indentation
670 * java/beans/PropertyEditorSupport.java:
671 reworked initial API doc
672 (value): changed name from val
674 2004-11-06 Robert Schuster <thebohemian@gmx.net>
677 * java/beans/PropertyEditorSupport.java
678 (PropertyEditorSupport()): Changed modifier to public
679 (PropertyEditorSupport(Object): Changed modifier to public
680 (setSource): New method
681 (getSource): New method
683 2004-11-06 Robert Schuster <thebohemian@gmx.net>
686 * java/beans/PropertyEditorSupport.java
687 (setValue): Fire property change event
689 2004-11-03 Tom Tromey <tromey@redhat.com>
691 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
692 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
693 returns jobjectArray.
694 (_Jv_JNIEnv::NewObjectArray): Likewise.
696 2004-11-01 Tom Tromey <tromey@redhat.com>
698 * verify.cc (state::check_no_uninitialized_objects): Removed.
699 (push_jump): Updated.
700 (push_exception_jump): Likewise.
701 (handle_ret_insn): Likewise.
702 (handle_jsr_insn): Likewise.
704 2004-10-30 Mark Wielaard <mark@klomp.org>
707 * java/lang/Runtime.java (static): Call init().
708 (Runtime): Remove call to init().
711 2004-10-28 David Daney <ddaney@avtrex.com>
713 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
714 * Makefile.am: Build it.
715 * Makefile.in: Regenerate.
717 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
720 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
722 * Makefile.in: Regenerate.
723 * configure: Regenerate.
724 * configure.ac (CLASSPATH_SEPARATOR): Define.
725 * gcj/Makefile.in: Regenerate.
726 * include/Makefile.in: Regenerate.
727 * testsuite/Makefile.in: Regenerate.
728 * testsuite/lib/libjava.exp (libjava_arguments): Fix
729 CLASSPATH separator handling for Windows.
731 2004-10-26 Michael Koch <konqueror@gmx.de>
733 * gnu/java/net/protocol/http/Connection.java
734 (getOutputStream): Implicitely switch to POST method.
736 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
738 * libjava/java/lang/Class.h
739 (java::lang::Class): Correct friend class declaration.
741 2004-10-25 Geoffrey Keating <geoffk@apple.com>
743 * Makefile.am (DARWIN_CRT_SRC): New.
744 (libgcj_la_SOURCES): Use it.
745 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
746 * darwin.cc: New file.
747 * include/jvm.h (_Jv_RegisterClasses): Constify.
748 (_Jv_RegisterClasses_Counted): New prototype.
749 * java/lang/Class.h: Include stddef.h.
750 (_Jv_RegisterClasses): Constify.
751 (_Jv_RegisterClasses_Counted): New prototype.
752 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
753 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
754 (_Jv_RegisterClasses_Counted): New function.
755 * configure: Regenerate.
756 * Makefile.in: Regenerate.
757 * gcj/Makefile.in: Regenerate.
758 * include/Makefile.in: Regenerate.
759 * testsuite/Makefile.in: Regenerate.
761 2004-10-25 Tom Tromey <tromey@redhat.com>
763 * java/util/ResourceBundle.java (tryBundle): Use
764 Class.isAssignableFrom rather than catching ClassCastException.
766 2004-10-25 Tom Tromey <tromey@redhat.com>
768 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
770 * gnu/java/text/SentenceBreakIterator.java
771 (SentenceBreakIterator): Don't initialize `iter'.
772 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
774 * gnu/java/text/CharacterBreakIterator.java
775 (CharacterBreakIterator): Don't initialize `iter'.
776 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
778 * java/text/BreakIterator.java: Updated documentation.
780 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
783 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
785 2004-10-23 Michael Koch <konqueror@gmx.de>
787 * javax/print/DocFlavor.java,
788 javax/print/attribute/standard/JobStateReason.java,
789 javax/print/attribute/standard/MultipleDocumentHandling.java:
790 Added missing constants.
792 2004-10-22 Tom Tromey <tromey@redhat.com>
794 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
797 2004-10-22 Michael Koch <konqueror@gmx.de>
800 * gnu/java/net/protocol/http/Connection.java
801 (sendRequest): Handle case when url.getFile() returns an empty string.
803 2004-10-22 Michael Koch <konqueror@gmx.de>
805 * java/lang/Math.java,
806 java/lang/StackTraceElement.java,
807 java/nio/Buffer.java,
808 java/nio/ByteBuffer.java,
809 java/nio/CharBuffer.java,
810 java/nio/DoubleBuffer.java,
811 java/nio/FloatBuffer.java,
812 java/nio/IntBuffer.java,
813 java/nio/LongBuffer.java,
814 java/nio/ShortBuffer.java,
815 java/nio/charset/Charset.java,
816 java/rmi/server/RMIClassLoader.java,
817 java/rmi/server/RMISocketFactory.java,
818 java/security/Policy.java,
819 java/text/ChoiceFormat.java,
820 java/text/CollationElementIterator.java,
821 java/text/DateFormat.java,
822 java/text/DecimalFormat.java,
823 java/text/DecimalFormatSymbols.java,
824 java/text/MessageFormat.java,
825 java/text/NumberFormat.java,
826 java/text/RuleBasedCollator.java,
827 java/text/SimpleDateFormat.java,
828 java/util/BitSet.java,
829 java/util/Calendar.java,
830 java/util/Collections.java,
831 java/util/IdentityHashMap.java,
832 java/util/Locale.java,
833 java/util/TreeMap.java,
834 java/util/logging/LogRecord.java,
835 java/util/logging/XMLFormatter.java,
836 java/util/prefs/AbstractPreferences.java,
837 java/util/prefs/Preferences.java,
838 javax/crypto/interfaces/DHPrivateKey.java,
839 javax/crypto/interfaces/DHPublicKey.java,
840 javax/crypto/interfaces/PBEKey.java,
841 javax/net/ssl/HandshakeCompletedEvent.java,
842 javax/security/auth/Subject.java:
843 Removed redundant and reordered modifiers.
845 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
847 * gnu/java/net/natPlainSocketImplPosix.cc
848 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
849 with 'int *' argument instead of 'long *'.
851 2004-10-21 Michael Koch <konqueror@gmx.de>
853 * java/net/NetworkInterface.java,
854 java/text/Format.java,
855 javax/security/auth/x500/X500Principal.java,
856 javax/security/auth/x500/X500PrivateCredential.java,
857 javax/security/cert/X509CertBridge.java,
858 javax/security/sasl/Sasl.java,
859 javax/sql/XAConnection.java:
862 2004-10-21 Michael Koch <konqueror@gmx.de>
864 * javax/net/ssl/HandshakeCompletedEvent.java,
865 javax/net/ssl/KeyManagerFactory.java,
866 javax/net/ssl/SSLContext.java,
867 javax/net/ssl/SSLServerSocketFactory.java,
868 javax/net/ssl/SSLSession.java,
869 javax/net/ssl/SSLSocketFactory.java,
870 javax/net/ssl/TrustManagerFactory.java:
873 2004-10-21 Michael Koch <konqueror@gmx.de>
875 * javax/naming/directory/BasicAttribute.java,
876 javax/naming/directory/BasicAttributes.java,
877 javax/naming/directory/InitialDirContext.java,
878 javax/naming/event/NamingEvent.java,
879 javax/naming/ldap/ControlFactory.java,
880 javax/naming/ldap/ExtendedRequest.java,
881 javax/naming/ldap/InitialLdapContext.java,
882 javax/naming/ldap/LdapReferralException.java,
883 javax/naming/spi/DirObjectFactory.java,
884 javax/naming/spi/DirStateFactory.java,
885 javax/naming/spi/DirectoryManager.java,
886 javax/naming/spi/InitialContextFactory.java,
887 javax/naming/spi/InitialContextFactoryBuilder.java,
888 javax/naming/spi/NamingManager.java,
889 javax/naming/spi/ObjectFactory.java,
890 javax/naming/spi/ObjectFactoryBuilder.java,
891 javax/naming/spi/StateFactory.java:
894 2004-10-21 Michael Koch <konqueror@gmx.de>
896 * javax/crypto/Cipher.java,
897 javax/crypto/EncryptedPrivateKeyInfo.java,
898 javax/crypto/ExemptionMechanism.java,
899 javax/crypto/KeyAgreement.java,
900 javax/crypto/KeyGenerator.java,
901 javax/crypto/Mac.java,
902 javax/crypto/SecretKeyFactory.java,
903 javax/crypto/SecretKeyFactorySpi.java,
904 javax/crypto/spec/SecretKeySpec.java:
907 2004-10-21 Michael Koch <konqueror@gmx.de>
909 * java/security/AlgorithmParameterGenerator.java,
910 java/security/AlgorithmParameters.java,
911 java/security/AlgorithmParametersSpi.java,
912 java/security/AllPermission.java,
913 java/security/BasicPermission.java,
914 java/security/Certificate.java,
915 java/security/CodeSource.java,
916 java/security/DigestInputStream.java,
917 java/security/DigestOutputStream.java,
918 java/security/GuardedObject.java,
919 java/security/KeyFactory.java,
920 java/security/KeyFactorySpi.java,
921 java/security/KeyPairGenerator.java,
922 java/security/KeyStore.java,
923 java/security/KeyStoreSpi.java,
924 java/security/Permissions.java,
925 java/security/Security.java,
926 java/security/Signature.java,
927 java/security/UnresolvedPermission.java,
928 java/security/cert/CertPathBuilder.java,
929 java/security/cert/CertPathValidator.java,
930 java/security/cert/CertStore.java,
931 java/security/cert/Certificate.java,
932 java/security/cert/CertificateFactory.java,
933 java/security/cert/PolicyQualifierInfo.java,
934 java/security/cert/TrustAnchor.java,
935 java/security/cert/X509CRL.java,
936 java/security/cert/X509CRLSelector.java,
937 java/security/cert/X509CertSelector.java:
940 2004-10-21 Michael Koch <konqueror@gmx.de>
942 * java/rmi/MarshalledObject.java,
943 java/rmi/Naming.java,
944 java/rmi/activation/Activatable.java,
945 java/rmi/activation/ActivationGroup.java,
946 java/rmi/activation/ActivationGroupDesc.java,
947 java/rmi/activation/ActivationInstantiator.java,
948 java/rmi/activation/ActivationMonitor.java,
949 java/rmi/activation/ActivationSystem.java,
950 java/rmi/activation/Activator.java,
951 java/rmi/registry/LocateRegistry.java,
952 java/rmi/registry/Registry.java,
953 java/rmi/server/LogStream.java,
954 java/rmi/server/ObjID.java,
955 java/rmi/server/RMIClientSocketFactory.java,
956 java/rmi/server/RMIServerSocketFactory.java,
957 java/rmi/server/RMISocketFactory.java,
958 java/rmi/server/RemoteCall.java,
959 java/rmi/server/RemoteServer.java,
960 java/rmi/server/ServerRef.java,
961 java/rmi/server/UID.java,
962 java/rmi/server/UnicastRemoteObject.java:
965 2004-10-21 Tom Tromey <tromey@redhat.com>
967 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
968 exception if we hit EOF of `in'.
969 (read): Handle case where inflating returns -1.
971 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
973 * gnu/java/nio/channels/natFileChannelPosix.cc
974 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
975 argument instead of 'long *'.
977 2004-10-21 Tom Tromey <tromey@redhat.com>
979 * java/util/ResourceBundle.java (tryBundle): Also ignore
982 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
984 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
985 for all sh*-*-linux* targets.
986 * configure: Regenerate.
987 * include/sh-signal.h: New file.
989 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
991 * java/lang/ieeefp.h: Add m32r support.
993 2004-10-20 Andreas Schwab <schwab@suse.de>
995 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
997 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
1000 2004-10-20 Michael Koch <konqueror@gmx.de>
1002 * javax/print/attribute/standard/ColorSupported.java,
1003 javax/print/attribute/standard/Compression.java,
1004 javax/print/attribute/standard/Copies.java,
1005 javax/print/attribute/standard/CopiesSupported.java,
1006 javax/print/attribute/standard/DateTimeAtCompleted.java,
1007 javax/print/attribute/standard/DateTimeAtCreation.java,
1008 javax/print/attribute/standard/DateTimeAtProcessing.java,
1009 javax/print/attribute/standard/DocumentName.java,
1010 javax/print/attribute/standard/Fidelity.java,
1011 javax/print/attribute/standard/Finishings.java,
1012 javax/print/attribute/standard/JobHoldUntil.java,
1013 javax/print/attribute/standard/JobImpressions.java,
1014 javax/print/attribute/standard/JobImpressionsCompleted.java,
1015 javax/print/attribute/standard/JobImpressionsSupported.java,
1016 javax/print/attribute/standard/JobKOctets.java,
1017 javax/print/attribute/standard/JobKOctetsProcessed.java,
1018 javax/print/attribute/standard/JobKOctetsSupported.java,
1019 javax/print/attribute/standard/JobMediaSheets.java,
1020 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
1021 javax/print/attribute/standard/JobMediaSheetsSupported.java,
1022 javax/print/attribute/standard/JobMessageFromOperator.java,
1023 javax/print/attribute/standard/JobName.java,
1024 javax/print/attribute/standard/JobOriginatingUserName.java,
1025 javax/print/attribute/standard/JobPriority.java,
1026 javax/print/attribute/standard/JobPrioritySupported.java,
1027 javax/print/attribute/standard/JobSheets.java,
1028 javax/print/attribute/standard/JobState.java,
1029 javax/print/attribute/standard/JobStateReason.java,
1030 javax/print/attribute/standard/JobStateReasons.java,
1031 javax/print/attribute/standard/Media.java,
1032 javax/print/attribute/standard/MultipleDocumentHandling.java,
1033 javax/print/attribute/standard/NumberOfDocuments.java,
1034 javax/print/attribute/standard/NumberOfInterveningJobs.java,
1035 javax/print/attribute/standard/NumberUp.java,
1036 javax/print/attribute/standard/NumberUpSupported.java,
1037 javax/print/attribute/standard/OrientationRequested.java,
1038 javax/print/attribute/standard/OutputDeviceAssigned.java,
1039 javax/print/attribute/standard/PDLOverrideSupported.java,
1040 javax/print/attribute/standard/PageRanges.java,
1041 javax/print/attribute/standard/PagesPerMinute.java,
1042 javax/print/attribute/standard/PagesPerMinuteColor.java,
1043 javax/print/attribute/standard/PrintQuality.java,
1044 javax/print/attribute/standard/PrinterInfo.java,
1045 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
1046 javax/print/attribute/standard/PrinterLocation.java,
1047 javax/print/attribute/standard/PrinterMakeAndModel.java,
1048 javax/print/attribute/standard/PrinterMessageFromOperator.java,
1049 javax/print/attribute/standard/PrinterMoreInfo.java,
1050 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
1051 javax/print/attribute/standard/PrinterName.java,
1052 javax/print/attribute/standard/PrinterStateReason.java,
1053 javax/print/attribute/standard/PrinterStateReasons.java,
1054 javax/print/attribute/standard/PrinterURI.java,
1055 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
1056 javax/print/attribute/standard/RequestingUserName.java:
1057 Reorganized imports and removed redundant final modifiers.
1059 2004-10-20 Michael Koch <konqueror@gmx.de>
1061 * javax/security/sasl/SaslClient.java,
1062 javax/security/sasl/SaslClientFactory.java,
1063 javax/security/sasl/SaslException.java,
1064 javax/security/sasl/SaslServer.java,
1065 javax/security/sasl/SaslServerFactory.java:
1068 2004-10-20 Michael Koch <konqueror@gmx.de>
1070 * javax/security/auth/login/NullConfiguration.java,
1071 javax/security/auth/x500/X500Principal.java,
1072 javax/security/cert/X509Certificate.java,
1073 javax/security/sasl/AuthenticationException.java,
1074 javax/security/sasl/AuthorizeCallback.java,
1075 javax/security/sasl/RealmCallback.java,
1076 javax/security/sasl/RealmChoiceCallback.java,
1077 javax/security/sasl/Sasl.java,
1078 javax/security/sasl/SaslClient.java,
1079 javax/security/sasl/SaslClientFactory.java,
1080 javax/security/sasl/SaslException.java,
1081 javax/security/sasl/SaslServer.java,
1082 javax/security/sasl/SaslServerFactory.java:
1083 Cleaned up import statements and copyright notices.
1085 2004-10-20 Michael Koch <konqueror@gmx.de>
1087 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
1089 2004-10-20 Michael Koch <konqueror@gmx.de>
1091 * java/sql/Timestamp.java,
1092 java/text/AttributedCharacterIterator.java,
1093 java/text/AttributedString.java,
1094 java/util/zip/CheckedOutputStream.java,
1095 java/util/zip/DeflaterOutputStream.java,
1096 java/util/zip/ZipFile.java,
1097 javax/crypto/Cipher.java,
1098 javax/crypto/ExemptionMechanismException.java,
1099 javax/crypto/SecretKey.java,
1100 javax/crypto/SecretKeyFactory.java,
1101 javax/naming/directory/ModificationItem.java,
1102 javax/naming/directory/SearchControls.java,
1103 javax/naming/event/NamingListener.java,
1104 javax/naming/ldap/Control.java,
1105 javax/naming/ldap/ExtendedResponse.java,
1106 javax/net/ssl/SSLSocketFactory.java:
1107 Reorganized imports and fixed copyright headers.
1109 2004-10-20 Michael Koch <konqueror@gmx.de>
1111 * java/util/logging/ConsoleHandler.java,
1112 java/util/logging/ErrorManager.java,
1113 java/util/logging/FileHandler.java,
1114 java/util/logging/Filter.java,
1115 java/util/logging/Formatter.java,
1116 java/util/logging/Handler.java,
1117 java/util/logging/Level.java,
1118 java/util/logging/LogManager.java,
1119 java/util/logging/LogRecord.java,
1120 java/util/logging/Logger.java,
1121 java/util/logging/LoggingPermission.java,
1122 java/util/logging/MemoryHandler.java,
1123 java/util/logging/SimpleFormatter.java,
1124 java/util/logging/SocketHandler.java,
1125 java/util/logging/StreamHandler.java,
1126 java/util/logging/XMLFormatter.java:
1127 Standardized copyrigth header.
1129 2004-10-20 Michael Koch <konqueror@gmx.de>
1131 * java/security/AlgorithmParameterGenerator.java,
1132 java/security/AlgorithmParameters.java,
1133 java/security/DigestInputStream.java,
1134 java/security/Identity.java,
1135 java/security/KeyFactory.java,
1136 java/security/KeyPairGenerator.java,
1137 java/security/KeyStore.java,
1138 java/security/MessageDigest.java,
1139 java/security/MessageDigestSpi.java,
1140 java/security/Policy.java,
1141 java/security/SecureRandom.java,
1142 java/security/Security.java,
1143 java/security/Signature.java,
1144 java/security/SignatureSpi.java,
1145 java/security/cert/CertPathBuilder.java,
1146 java/security/cert/CertPathValidator.java,
1147 java/security/cert/CertStore.java,
1148 java/security/cert/Certificate.java,
1149 java/security/cert/CertificateFactory.java,
1150 java/security/cert/PolicyQualifierInfo.java,
1151 java/security/cert/TrustAnchor.java,
1152 java/security/cert/X509CRL.java,
1153 java/security/cert/X509CRLEntry.java,
1154 java/security/cert/X509Certificate.java,
1155 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
1156 Import statements reorganized, some little formatting issues,
1157 used java-style array declarations, added comments in empty catch
1160 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1162 * java/security/Security.java
1163 (static): Use AccessController.doPrivileged to get system property.
1165 2004-10-18 Sven de Marothy <sven@physto.se>
1167 * java/nio/ByteBufferHelper.java
1168 (putDouble): Use Double.toRawLongBits instead.
1170 2004-10-18 Mark Wielaard <mark@klomp.org>
1171 Andrew Haley <aph@redhat.com>
1173 * testsuite/libjava.lang/ExtraClassLoader.java: New.
1175 2004-10-18 Andrew Haley <aph@redhat.com>
1178 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
1179 and correct logic used to find interpreter.
1181 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1183 * java/util/logging/LogManager.java
1184 (findAncestor): Fixed IndexOutOfBoundsException.
1186 2004-10-18 Michael Koch <konqueror@gmx.de>
1188 * java/io/BufferedInputStream.java: Fixed @author tag.
1189 (read): Simplified expression.
1190 (read): Merged javadoc a bit more.
1191 (read): Renamed 'remain' to 'totalBytesRead'.
1192 * java/io/DataInputStream.java,
1193 java/io/DataOutputStream.java,
1194 java/io/ObjectInputStream.java,
1195 java/io/ObjectOutputStream.java:
1196 Reworked modifier order.
1198 2004-10-18 Michael Koch <konqueror@gmx.de>
1200 * java/net/Inet4Address.java: Merged file header and javadocs.
1201 * java/net/Inet6Address.java: Likewise.
1202 * java/net/InetAddress.java
1203 (getCanonicalHostName): Create Inet4Address object instead of
1204 InetAddress and add comment regarding IPv6.
1205 (toString): Simplified.
1207 2004-10-18 Michael Koch <konqueror@gmx.de>
1209 * gnu/java/net/protocol/http/Connection.java,
1210 java/nio/MappedByteBufferImpl.java,
1211 java/text/RuleBasedCollator.java,
1212 java/util/ResourceBundle.java:
1213 Reworked import statements.
1215 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1217 * java/security/IdentityScope.java
1218 (systemScope): Removed useless initializer.
1219 * java/security/Policy.java
1220 (currentPolicy): Likewise.
1222 2004-10-18 Michael Koch <konqueror@gmx.de>
1224 * java/lang/System.java: Revert accidential change.
1226 2004-10-18 Michael Koch <konqueror@gmx.de>
1228 * java/lang/Math.java,
1229 java/lang/Package.java,
1230 java/lang/Runtime.java,
1231 java/lang/StrictMath.java,
1232 java/lang/System.java,
1233 java/lang/Thread.java,
1234 java/lang/ThreadLocal.java,
1235 java/lang/Void.java:
1236 Reworked import statements, HTML in javadocs and modifier orders.
1238 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1240 * java/util/Timer.java
1241 (nr): Removed useless initializer.
1242 * java/util/logging/LogRecord.java
1243 (lastSeqNum): Likewise.
1244 * javax/naming/spi/NamingManager.java
1245 (icfb, ofb): Likewise.
1247 2004-10-18 Michael Koch <konqueror@gmx.de>
1249 * gnu/java/net/PlainDatagramSocketImpl.java:
1250 Reworked import statements.
1251 * gnu/java/security/provider/DSAParameters.java:
1252 Fixed copyrigth years.
1253 * java/net/JarURLConnection.java:
1254 Fixed HTML in @author tags.
1257 2004-10-18 Michael Koch <konqueror@gmx.de>
1259 * java/rmi/activation/ActivationSystem.java
1260 (SYSTEM_PORT): Initialize with correct port number.
1262 2004-10-18 Michael Koch <konqueror@gmx.de>
1264 * java/lang/reflect/Proxy.java: Improved javadocs.
1266 2004-10-18 Michael Koch <konqueror@gmx.de>
1268 * java/lang/reflect/AccessibleObject.java
1269 (checkPermission): Removed redundant final modifier.
1270 (secureSetAccessible): Likewise.
1271 * java/lang/reflect/Proxy.java:
1272 Reworked import statements.
1273 (generate): Removed redundant final modifier.
1274 * java/lang/reflect/ReflectPermission.java:
1275 Reorder package declaration and import statement.
1277 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
1279 * java/lang/reflect/Proxy.java
1280 (count): Removed useless initializer.
1282 2004-10-17 Michael Koch <konqueror@gmx.de>
1284 * java/net/BindException.java,
1285 java/net/ConnectException.java,
1286 java/net/ContentHandler.java,
1287 java/net/ContentHandlerFactory.java,
1288 java/net/DatagramPacket.java,
1289 java/net/DatagramSocket.java,
1290 java/net/DatagramSocketImpl.java,
1291 java/net/DatagramSocketImplFactory.java,
1292 java/net/FileNameMap.java,
1293 java/net/HttpURLConnection.java,
1294 java/net/MalformedURLException.java,
1295 java/net/MulticastSocket.java,
1296 java/net/NetworkInterface.java,
1297 java/net/NoRouteToHostException.java,
1298 java/net/PasswordAuthentication.java,
1299 java/net/PortUnreachableException.java,
1300 java/net/ProtocolException.java,
1301 java/net/ServerSocket.java,
1302 java/net/Socket.java,
1303 java/net/SocketException.java,
1304 java/net/SocketImpl.java,
1305 java/net/SocketImplFactory.java,
1306 java/net/SocketOptions.java,
1307 java/net/SocketPermission.java,
1308 java/net/SocketTimeoutException.java,
1310 java/net/URISyntaxException.java,
1312 java/net/URLDecoder.java,
1313 java/net/URLEncoder.java,
1314 java/net/URLStreamHandler.java,
1315 java/net/URLStreamHandlerFactory.java,
1316 java/net/UnknownHostException.java,
1317 java/net/UnknownServiceException.java:
1318 Big import statement and @author tag cleanup.
1320 2004-10-17 Michael Koch <konqueror@gmx.de>
1322 * gnu/java/security/OID.java,
1323 gnu/java/security/provider/DSAParameters.java,
1324 gnu/java/security/provider/DSASignature.java,
1325 gnu/java/security/x509/X500DistinguishedName.java,
1326 gnu/java/security/x509/X509CRL.java:
1327 Import statements cleaned up.
1329 2004-10-16 Michael Koch <konqueror@gmx.de>
1331 * gnu/java/nio/NIODatagramSocket.java,
1332 gnu/java/nio/ServerSocketChannelImpl.java:
1333 Reorganized import statements.
1335 2004-10-16 Michael Koch <konqueror@gmx.de>
1337 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
1338 gnu/java/rmi/rmic/RMIC.java,
1339 gnu/java/rmi/server/RMIHashes.java,
1340 gnu/java/rmi/server/RMIObjectInputStream.java,
1341 gnu/java/rmi/server/RMIObjectOutputStream.java,
1342 gnu/java/rmi/server/UnicastConnection.java,
1343 gnu/java/rmi/server/UnicastConnectionManager.java,
1344 gnu/java/rmi/server/UnicastRemoteCall.java,
1345 gnu/java/rmi/server/UnicastServer.java,
1346 gnu/java/rmi/server/UnicastServerRef.java,
1347 java/rmi/MarshalledObject.java,
1348 java/rmi/Naming.java,
1349 java/rmi/RMISecurityManager.java,
1350 java/rmi/Remote.java,
1351 java/rmi/activation/Activatable.java,
1352 java/rmi/activation/ActivationDesc.java,
1353 java/rmi/activation/ActivationGroup.java,
1354 java/rmi/activation/ActivationGroupDesc.java,
1355 java/rmi/activation/ActivationGroupID.java,
1356 java/rmi/activation/ActivationID.java,
1357 java/rmi/activation/ActivationInstantiator.java,
1358 java/rmi/activation/ActivationMonitor.java,
1359 java/rmi/activation/ActivationSystem.java,
1360 java/rmi/activation/Activator.java,
1361 java/rmi/dgc/DGC.java,
1362 java/rmi/dgc/Lease.java,
1363 java/rmi/dgc/VMID.java,
1364 java/rmi/registry/LocateRegistry.java,
1365 java/rmi/registry/Registry.java,
1366 java/rmi/registry/RegistryHandler.java,
1367 java/rmi/server/LoaderHandler.java,
1368 java/rmi/server/LogStream.java,
1369 java/rmi/server/ObjID.java,
1370 java/rmi/server/Operation.java,
1371 java/rmi/server/RMIClassLoader.java,
1372 java/rmi/server/RMIClassLoaderSpi.java,
1373 java/rmi/server/RMIClientSocketFactory.java,
1374 java/rmi/server/RMIFailureHandler.java,
1375 java/rmi/server/RMIServerSocketFactory.java,
1376 java/rmi/server/RMISocketFactory.java,
1377 java/rmi/server/RemoteCall.java,
1378 java/rmi/server/RemoteObject.java,
1379 java/rmi/server/RemoteRef.java,
1380 java/rmi/server/RemoteServer.java,
1381 java/rmi/server/RemoteStub.java,
1382 java/rmi/server/ServerRef.java,
1383 java/rmi/server/Skeleton.java,
1384 java/rmi/server/SkeletonMismatchException.java,
1385 java/rmi/server/UID.java,
1386 java/rmi/server/UnicastRemoteObject.java,
1387 java/rmi/server/Unreferenced.java:
1388 File headers and import statements cleaned up.
1390 2004-10-16 Michael Koch <konqueror@gmx.de>
1392 * libjava/gnu/java/nio/charset/UTF_16.java,
1393 libjava/gnu/java/nio/charset/UTF_16BE.java,
1394 libjava/gnu/java/nio/charset/UTF_16LE.java,
1395 libjava/java/nio/ByteOrder.java,
1396 libjava/java/nio/MappedByteBuffer.java,
1397 libjava/java/nio/channels/Channels.java,
1398 libjava/java/nio/channels/spi/SelectorProvider.java,
1399 libjava/java/nio/charset/Charset.java:
1402 2004-10-16 Michael Koch <konqueror@gmx.de>
1404 * gnu/java/nio/charset/UTF_16Encoder.java
1405 (UTF_16Encoder): Fixed maxBytesPerChar handling.
1407 2004-10-16 Michael Koch <konqueror@gmx.de>
1409 * java/math/BigDecimal.java, java/math/BigInteger.java:
1410 Reorganized import statements, removed redundant and
1411 reorganized modifiers.
1413 2004-10-16 Michael Koch <konqueror@gmx.de>
1415 * gnu/java/beans/ExplicitBeanInfo.java:
1416 Explicitely import java.awt.Image.
1417 (getIcon): Fixed off-by-one error.
1419 2004-10-15 Andrew Haley <aph@redhat.com>
1421 * Makefile.am (nat_files, xlib_nat_files): New.
1422 * Makefile.in: Regenerate.
1424 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
1426 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
1427 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
1429 2004-10-13 Andrew Haley <aph@redhat.com>
1431 * interpret.cc (_Jv_InterpMethod::run): Initialize
1432 _Jv_StartOfInterpreter.
1433 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
1434 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
1435 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
1436 _Unwind_FindEnclosingFunction to discover whether PC is within the
1439 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
1442 * testsuite/libjava.lang/md5test.java: New file.
1443 * testsuite/libjava.lang/md5test.out: Likewise.
1444 * testsuite/libjava.lang/shatest.java: Likewise.
1445 * testsuite/libjava.lang/shatest.out: Likewise.
1447 2004-10-11 Richard Henderson <rth@redhat.com>
1449 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
1450 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
1452 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
1454 * java/util/Calendar.java (set): Invalidate DST_OFFSET
1455 field as a DST boundary may have been crossed.
1456 * java/util/GregorianCalendar.java (add): Throw
1457 IllegalArgumentException on attempt to add to DST_OFFSET or
1458 ZONE_OFFSET fields. Update javadoc.
1460 2004-10-09 Michael Koch <konqueror@gmx.de>
1462 * java/io/CharArrayWriter.java
1463 (resize): Removed redundant 'final' modifier.
1464 * java/io/DataInputStream.java
1465 (readFully): Throw IndexOutOfBoundsException of len < 0.
1466 * java/io/FileDescriptor.java,
1467 java/io/FileInputStream.java,
1468 java/io/FileOutputStream.java,
1469 java/io/ObjectOutputStream.java,
1470 java/io/ObjectStreamClass.java,
1471 java/io/PipedInputStream.java,
1472 java/io/RandomAccessFile.java:
1473 Reorganized import statements.
1475 2004-10-09 Michael Koch <konqueror@gmx.de>
1477 * gnu/java/rmi/rmic/RMIC.java,
1478 gnu/java/rmi/server/RMIHashes.java,
1479 gnu/java/rmi/server/RMIObjectInputStream.java,
1480 gnu/java/rmi/server/UnicastConnection.java,
1481 gnu/java/rmi/server/UnicastConnectionManager.java,
1482 gnu/java/rmi/server/UnicastRemoteCall.java,
1483 gnu/java/rmi/server/UnicastServerRef.java:
1484 Reworked import statements and fixed file headers.
1486 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
1488 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
1490 * configure: Rebuilt.
1492 2004-09-30 Tom Tromey <tromey@redhat.com>
1494 * java/text/MessageFormat.java (Field): Constructor now
1497 2004-09-30 Tom Tromey <tromey@redhat.com>
1499 * javax/crypto/MacSpi.java: Fixed typo.
1501 2004-09-30 Michael Koch <konqueror@gmx.de>
1503 * java/net/InetAddress.java: Reformatted.
1504 (loopback): Initialize with Inet4Address object.
1505 (static): Initialize ANY_IF with Inet4Address object.
1506 (InetAddress): Removed unused package-private constructor.
1508 2004-09-30 Michael Koch <konqueror@gmx.de>
1510 * java/beans/Beans.java,
1511 java/beans/EventHandler.java,
1512 java/beans/EventSetDescriptor.java,
1513 java/beans/Introspector.java,
1514 java/beans/PropertyEditorManager.java,
1515 java/beans/beancontext/BeanContext.java,
1516 java/beans/beancontext/BeanContextChild.java,
1517 java/beans/beancontext/BeanContextChildSupport.java,
1518 java/beans/beancontext/BeanContextMembershipEvent.java:
1519 Reordered import statements and removed redundant modifiers.
1521 2004-09-29 Tom Tromey <tromey@redhat.com>
1524 * Makefile.in: Rebuilt.
1525 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
1527 (all_property_files): New macro.
1529 * Makefile.in: Rebuilt.
1530 * Makefile.am (ordinary_java_source_files): Re-sorted.
1531 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
1533 2004-09-28 Tom Tromey <tromey@redhat.com>
1535 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
1538 * Makefile.am (libgcj.la): Restored.
1539 * Makefile.in: Rebuilt.
1541 2004-09-28 Michael Koch <konqueror@gmx.de>
1543 * java/net/URLConnection.java: Reformatted.
1544 * java/net/URLClassLoader.java: Reformatted.
1545 (getContent): Reordered return of content.
1546 (getContentHandler): Don't check for null explicitely.
1548 2004-09-27 Michael Koch <konqueror@gmx.de>
1550 * java/io/BufferedInputStream.java
1551 (BufferedInputStream): Added Jeroen Frijters to authors.
1552 (count): Don't explicitely initialize with default value.
1554 (marklimit): Likewise.
1555 (read): Changed boolean expression to match GNU classpath' version.
1556 (reset): Add proper message to exception.
1557 (skip): Check for closed stream.
1560 2004-09-26 Per Bothner <per@bothner.com>
1562 * prims.cc (unblock_signal): Annotate signum with __unused__ to
1563 avoid warnings in the non-POSIX_VERSION case.
1564 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
1565 so place it inside an #if block.
1566 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
1567 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
1568 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
1569 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
1571 2004-09-26 Per Bothner <per@bothner.com>
1573 * prims.cc (process_gcj_properties): Optimization.
1575 2004-09-26 Per Bothner <per@bothner.com>
1577 * java/util/Collections.java (sort): Copy from array in forwards
1578 order, rather than reverse order which may be much less efficient.
1580 2004-09-26 Mark Wielaard <mark@klomp.org>
1582 * java/lang/System.java (properties): Make package private.
1583 * java/lang/Throwable.java (StaticData.nl): Initialize through
1584 directly accessing System.properties.getProperty().
1586 * java/lang/Throwable.java (nl): Remove static field.
1587 (StaticData): New private static inner class.
1588 (stackTraceStringBuffer): Use StaticData.nl.
1590 2004-09-26 Casey Marshall <csm@gnu.org>
1592 * java/security/ProtectionDomain.java
1593 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
1596 * java/security/SecureClassLoader.java
1597 (defineClass): make protection domain dynamically bound.
1598 (getPermissions): call `getCurrentPolicy' to avoid permission
1601 2004-09-25 Mark Wielaard <mark@klomp.org>
1603 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
1604 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
1605 * Makefile.in: Regenerated.
1607 * gcj/javaprims.h: Regenerated.
1609 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
1610 (getDefaultTimeZone): Make package private. Check that GMToffset
1611 contains at least one digit.
1612 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
1614 * util/VMTimeZone.java: New file with above methods.
1616 * java/util/natTimeZone.cc: Removed (renamed).
1617 * java/util/natVMTimeZone.cc: Added (renamed).
1619 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1621 * java/util/TimeZone.java
1622 (getDefaultTimeZone): Fixed test to distinguish between hours and
1623 minutes in specified timezone.
1625 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
1627 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
1628 handling of default package. (generate): Removed confused comments
1629 and code about making Method and Field accessible.
1631 2004-09-25 Tom Tromey <tromey@redhat.com>
1634 * testsuite/libjava.compile/pr17500.java: New file.
1636 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
1637 Mark Wielaard <mark@klomp.org>
1639 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
1640 * gnu/regexp/RETokenLookAhead.java: New file.
1642 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
1643 * Makefile.in: Regenerated.
1645 2004-09-25 Michael Koch <konqueror@gmx.de>
1647 * java/io/ObjectStreamField.java:
1648 Removed unused import statement.
1650 2004-09-24 Tom Tromey <tromey@redhat.com>
1653 * testsuite/libjava.compile/pr15656.xfail: New file.
1654 * testsuite/libjava.compile/pr15656.java: new file.
1657 * testsuite/libjava.lang/pr16789.out: New file.
1658 * testsuite/libjava.lang/pr16789.java: New file.
1660 2004-09-24 Andrew Haley <aph@redhat.com>
1663 * testsuite/libjava.compile/AssertBug.java: New file.
1665 2004-09-24 Casey Marshall <csm@gnu.org>
1667 * java/util/PropertyPermissionCollection.java
1668 (implies): avoid infinite loop.
1670 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
1672 * javax/security/auth/PrivateCredentialPermission.java
1673 (PrivateCredentialPermission): added serialization UID
1676 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
1678 * gnu/java/rmi/server/UnicastServer.java
1679 (incomingMessageCall): Added code to handle Errors.
1680 * gnu/java/rmi/server/UnicastServerRef.java
1681 (incomingMessageCall): Added code to handle Errors.
1684 2004-09-24 Tom Tromey <tromey@redhat.com>
1686 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
1687 (definedPackages): Likewise.
1689 2004-09-24 Michael Koch <konqueror@gmx.de>
1691 * java/io/ObjectInputStream.java:
1694 2004-09-24 Casey Marshall <csm@gnu.org>
1696 * java/io/ObjectInputStream.java (callReadMethod): re-throw
1697 `ClassNotFoundException'.
1699 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1701 * java/io/ObjectInputStream.java (readObject): Delegate instantation
1702 of Externalizable classes to ObjectStreamClass.
1703 * java/io/ObjectStreamClass.java (newInstance): New method to
1704 instantiate Externalizable (while ignoring the accessibility of
1705 the constructor). (constructor): New field to cache the constructor.
1707 2004-09-24 Mark Wielaard <mark@klomp.org>
1709 * java/net/URL.java (systemClassLoader): New static field.
1710 (getURLStreamHandler): Always use system/application classloader
1711 for finding URLStreamhandler. Remove unecessary instanceof checks.
1713 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1716 (set): This method now matches the behaviour of the JDK.
1717 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1719 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1721 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1723 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1725 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1726 Don't set authority if host isn't specified.
1728 2004-09-24 Michael Koch <konqueror@gmx.de>
1730 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1731 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1732 * gnu/java/nio/VMPipe.java,
1733 gnu/java/nio/VMSelector.java:
1735 * gnu/java/nio/natPipeImplEcos.cc,
1736 gnu/java/nio/natPipeImplPosix.cc,
1737 gnu/java/nio/natPipeImplWin32.cc:
1739 * gnu/java/nio/natSelectorImplEcos.cc,
1740 gnu/java/nio/natSelectorImplPosix.cc,
1741 gnu/java/nio/natSelectorImplWin32.cc:
1742 Ported to VMSelector.
1743 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1744 gnu/java/nio/VMSelector.java.
1745 * Makefile.in: Regenerated.
1747 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1749 * java/lang/StackTraceElement.java
1750 (className): Renamed field to declaringClass to be compatible
1751 with Sun serialization format.
1753 2004-09-23 Michael Koch <konqueror@gmx.de>
1755 * java/applet/AppletContext.java,
1756 java/applet/Applet.java,
1757 java/applet/AppletStub.java,
1758 java/applet/AudioClip.java:
1759 Jalopied and checkstyle clean.
1761 2004-09-23 Mark Wielaard <mark@klomp.org>
1763 * java/util/Collections.java
1764 (binarySearch(List, Object, Comparator)): Explicitly
1765 reverse direction in list iterator.
1766 (rotate): Just return when list is empty.
1768 2004-09-23 Tom Tromey <tromey@redhat.com>
1771 * testsuite/libjava.compile/pr17329.java: New file.
1774 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1777 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1779 * Makefile.am: Run aclocal with -I ../config
1780 * acinclude.m4: Delete macros picked up from ../config and tidy.
1781 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1782 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1783 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1785 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1787 * aclocal.m4: Regenerate with aclocal 1.9.2.
1788 * configure: Regenerate.
1789 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1790 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1792 2004-09-22 David Daney <ddaney@avtrex.com>
1795 * java/net/URL.java (URL): Copy userInfo from context.
1796 (getUserInfo): Return cached userInfo if present.
1798 2004-09-22 Tom Tromey <tromey@redhat.com>
1801 * mauve-libgcj: Enable java.lang.Character tests.
1803 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1805 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1807 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1808 * Makefile.in: Regenerated.
1810 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1812 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1813 * configure: Regenerate.
1814 * include/config.h.in: Likewise.
1815 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1816 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1819 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1820 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1822 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1825 2004-09-22 Tom Tromey <tromey@redhat.com>
1828 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1829 when comparing CRCs.
1830 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1832 (read()): New overload.
1834 2004-09-21 Tom Tromey <tromey@redhat.com>
1836 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1839 2004-09-21 Michael Koch <konqueror@gmx.de>
1841 * java/net/Socket.java
1842 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1844 2004-09-21 Casey Marshall <csm@gnu.org>
1846 * javax/crypto/MacSpi.java (clone): Provide meaningful
1849 2004-09-21 Tom Tromey <tromey@redhat.com>
1852 * Makefile.in: Rebuilt.
1853 * Makefile.am (MOSTLYCLEANFILES): Removed.
1854 (mostlyclean-local): Remove header files.
1856 2004-09-21 Casey Marshall <csm@gnu.org>
1858 * java/security/cert/X509CRLSelector.java:
1859 (match): remove unreachable try-catch clauses.
1860 Reported by: Dalibor Topic <robilad@kaffe.org>
1862 2004-09-21 Mark Wielaard <mark@klomp.org>
1864 * java/util/TreeMap.java (root): Don't initialize.
1865 (TreeMap(Comparator)): Call fabricateTree(0).
1866 (fabricateTree): Initialize root and size when count is 0.
1868 2004-09-21 Sven de Marothy <sven@physto.se>
1870 * java/nio/ByteBuffer.java (hashCode): Implemented.
1871 * java/nio/CharBuffer.java: Likewise.
1872 * java/nio/DoubleBuffer.java: Likewise.
1873 * java/nio/FloatBuffer.java: Likewise.
1874 * java/nio/LongBuffer.java: Likewise.
1875 * java/nio/IntBuffer.java: Likewise.
1876 * java/nio/ShortBuffer.java: Likewise.
1878 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1880 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1882 2004-09-21 Michael Koch <konqueror@gmx.de>
1884 * javax/net/ssl/SSLServerSocket.java:
1885 Removed comment about "Do not edit this file, it's generated.".
1887 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1889 Import the big Crypto/Jessie/Security merge from Classpath.
1891 * Makefile.am: Add imported files.
1892 * Makefile.in: Regenerate.
1894 2004-08-14 Casey Marshall <csm@gnu.org>
1896 The Big Crypto Merge of 2004.
1898 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1901 Files imported from GNU Crypto.
1902 * javax/crypto/BadPaddingException.java
1903 * javax/crypto/Cipher.java
1904 * javax/crypto/CipherInputStream.java
1905 * javax/crypto/CipherOutputStream.java
1906 * javax/crypto/CipherSpi.java
1907 * javax/crypto/EncryptedPrivateKeyInfo.java
1908 * javax/crypto/ExemptionMechanism.java
1909 * javax/crypto/ExemptionMechanismException.java
1910 * javax/crypto/ExemptionMechanismSpi.java
1911 * javax/crypto/IllegalBlockSizeException.java
1912 * javax/crypto/KeyAgreement.java
1913 * javax/crypto/KeyAgreementSpi.java
1914 * javax/crypto/KeyGenerator.java
1915 * javax/crypto/KeyGeneratorSpi.java
1916 * javax/crypto/Mac.java
1917 * javax/crypto/MacSpi.java
1918 * javax/crypto/Makefile.am
1919 * javax/crypto/NoSuchPaddingException.java
1920 * javax/crypto/NullCipher.java
1921 * javax/crypto/NullCipherImpl.java
1922 * javax/crypto/SealedObject.java
1923 * javax/crypto/SecretKey.java
1924 * javax/crypto/SecretKeyFactory.java
1925 * javax/crypto/SecretKeyFactorySpi.java
1926 * javax/crypto/ShortBufferException.java
1927 * javax/crypto/interfaces/DHKey.java
1928 * javax/crypto/interfaces/DHPrivateKey.java
1929 * javax/crypto/interfaces/DHPublicKey.java
1930 * javax/crypto/interfaces/PBEKey.java
1931 * javax/crypto/spec/DESKeySpec.java
1932 * javax/crypto/spec/DESedeKeySpec.java
1933 * javax/crypto/spec/DHGenParameterSpec.java
1934 * javax/crypto/spec/DHParameterSpec.java
1935 * javax/crypto/spec/DHPrivateKeySpec.java
1936 * javax/crypto/spec/DHPublicKeySpec.java
1937 * javax/crypto/spec/IvParameterSpec.java
1938 * javax/crypto/spec/PBEKeySpec.java
1939 * javax/crypto/spec/PBEParameterSpec.java
1940 * javax/crypto/spec/RC2ParameterSpec.java
1941 * javax/crypto/spec/RC5ParameterSpec.java
1942 * javax/crypto/spec/SecretKeySpec.java
1943 * javax/security/auth/AuthPermission.java
1944 * javax/security/auth/DestroyFailedException.java
1945 * javax/security/auth/Destroyable.java
1946 * javax/security/auth/Policy.java
1947 * javax/security/auth/PrivateCredentialPermission.java
1948 * javax/security/auth/RefreshFailedException.java
1949 * javax/security/auth/Refreshable.java
1950 * javax/security/auth/Subject.java
1951 * javax/security/auth/SubjectDomainCombiner.java
1952 * javax/security/auth/callback/Callback.java
1953 * javax/security/auth/callback/CallbackHandler.java
1954 * javax/security/auth/callback/ChoiceCallback.java
1955 * javax/security/auth/callback/ConfirmationCallback.java
1956 * javax/security/auth/callback/LanguageCallback.java
1957 * javax/security/auth/callback/NameCallback.java
1958 * javax/security/auth/callback/PasswordCallback.java
1959 * javax/security/auth/callback/TextInputCallback.java
1960 * javax/security/auth/callback/TextOutputCallback.java
1961 * javax/security/auth/callback/UnsupportedCallbackException.java
1962 * javax/security/auth/login/AccountExpiredException.java
1963 * javax/security/auth/login/AppConfigurationEntry.java
1964 * javax/security/auth/login/Configuration.java
1965 * javax/security/auth/login/CredentialExpiredException.java
1966 * javax/security/auth/login/FailedLoginException.java
1967 * javax/security/auth/login/LoginContext.java
1968 * javax/security/auth/login/LoginException.java
1969 * javax/security/auth/login/NullConfiguration.java
1970 * javax/security/auth/x500/X500PrivateCredential.java
1971 * javax/security/sasl/AuthenticationException.java
1972 * javax/security/sasl/AuthorizeCallback.java
1973 * javax/security/sasl/RealmCallback.java
1974 * javax/security/sasl/RealmChoiceCallback.java
1975 * javax/security/sasl/Sasl.java
1976 * javax/security/sasl/SaslClient.java
1977 * javax/security/sasl/SaslClientFactory.java
1978 * javax/security/sasl/SaslException.java
1979 * javax/security/sasl/SaslServer.java
1980 * javax/security/sasl/SaslServerFactory.java
1981 * org/ietf/jgss/ChannelBinding.java
1982 * org/ietf/jgss/GSSContext.java
1983 * org/ietf/jgss/GSSCredential.java
1984 * org/ietf/jgss/GSSException.java
1985 * org/ietf/jgss/GSSManager.java
1986 * org/ietf/jgss/GSSName.java
1987 * org/ietf/jgss/MessageProp.java
1988 * org/ietf/jgss/Oid.java
1989 * org/ietf/jgss/MessagesBundle.properties
1991 Files imported from Jessie <http://www.nongnu.org/jessie/>
1992 * javax/net/ServerSocketFactory.java
1993 * javax/net/SocketFactory.java
1994 * javax/net/VanillaServerSocketFactory.java
1995 * javax/net/VanillaSocketFactory.java
1996 * javax/net/ssl/HandshakeCompletedEvent.java
1997 * javax/net/ssl/HandshakeCompletedListener.java
1998 * javax/net/ssl/HostnameVerifier.java
1999 * javax/net/ssl/HttpsURLConnection.java
2000 * javax/net/ssl/KeyManager.java
2001 * javax/net/ssl/KeyManagerFactory.java
2002 * javax/net/ssl/KeyManagerFactorySpi.java
2003 * javax/net/ssl/ManagerFactoryParameters.java
2004 * javax/net/ssl/SSLContext.java
2005 * javax/net/ssl/SSLContextSpi.java
2006 * javax/net/ssl/SSLException.java
2007 * javax/net/ssl/SSLHandshakeException.java
2008 * javax/net/ssl/SSLKeyException.java
2009 * javax/net/ssl/SSLPeerUnverifiedException.java
2010 * javax/net/ssl/SSLPermission.java
2011 * javax/net/ssl/SSLProtocolException.java
2012 * javax/net/ssl/SSLServerSocket.java
2013 * javax/net/ssl/SSLServerSocketFactory.java
2014 * javax/net/ssl/SSLSession.java
2015 * javax/net/ssl/SSLSessionBindingEvent.java
2016 * javax/net/ssl/SSLSessionBindingListener.java
2017 * javax/net/ssl/SSLSessionContext.java
2018 * javax/net/ssl/SSLSocket.java
2019 * javax/net/ssl/SSLSocketFactory.java
2020 * javax/net/ssl/TrivialHostnameVerifier.java
2021 * javax/net/ssl/TrustManager.java
2022 * javax/net/ssl/TrustManagerFactory.java
2023 * javax/net/ssl/TrustManagerFactorySpi.java
2024 * javax/net/ssl/X509KeyManager.java
2025 * javax/net/ssl/X509TrustManager.java
2026 * javax/security/cert/Certificate.java
2027 * javax/security/cert/CertificateEncodingException.java
2028 * javax/security/cert/CertificateException.java
2029 * javax/security/cert/CertificateExpiredException.java
2030 * javax/security/cert/CertificateNotYetValidException.java
2031 * javax/security/cert/CertificateParsingException.java
2032 * javax/security/cert/X509CertBridge.java
2033 * javax/security/cert/X509Certificate.java
2035 2004-08-20 Casey Marshall <csm@gnu.org>
2037 * java/security/cert/X509CRLSelector.java: New file.
2038 * java/security/cert/X509CertSelector.java: New file.
2040 2004-09-15 Michael Koch <konqueror@gmx.de>
2042 * gnu/java/net/protocol/file/Handler.java
2043 (openConnection): Don't throw exception if host part for file: URI is
2044 present. setURL() keeps file: protocol if ftp: protocol is not
2047 2004-09-14 Richard Henderson <rth@redhat.com>
2049 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
2050 value of sigsuspend.
2052 2004-09-12 Tom Tromey <tromey@redhat.com>
2054 * javax/naming/CompoundName.java (CompoundName): Don't check for
2055 separator in "flat" case.
2057 2004-09-12 Michael Koch <konqueror@gmx.de>
2059 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
2060 AM_CONFIG_HEADER by AC_CONFIG_FILES.
2061 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
2064 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
2067 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
2068 handle in newly-allocated _Jv_Thread_t.
2069 (_Jv_ThreadDestroyData): Close thread handle.
2070 (_Jv_ThreadStart): Remove obsolete comment.
2071 Store handle of newly-created thread in _Jv_Thread_t.
2072 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
2073 before including <windows.h>
2074 #define _Jv_HaveCondDestroy
2076 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
2078 * java/lang/natThread.cc (finalize_native): Destroy
2079 join conditional variable and mutex if these destroy
2080 operations are supported.
2082 2004-09-10 Dalibor Topic <robilad@kaffe.org>
2084 * gnu/java/net/protocol/file/Connection.java (permission): New field.
2085 (DEFAULT_PERMISSION): New constant.
2086 (Connection): Create a FilePermission with permission to read file.
2088 2004-09-10 Michael Koch <konqueror@gmx.de>
2090 * gnu/java/net/protocol/file/Connection.java
2091 (getLastModified): Moved around.
2092 (getPermission): Return stored permission.
2094 2004-09-10 Michael Koch <konqueror@gmx.de>
2096 * Makefile.in: Regenerate.
2098 2004-09-10 Michael Koch <konqueror@gmx.de>
2100 * Makefile.am: Reverted accidently commited stuff.
2101 * configure: Regenerated.
2103 2004-09-10 Michael Koch <konqueror@gmx.de>
2105 * gnu/java/net/protocol/file/Connection.java
2106 (lineSeparator): Made non-final.
2108 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
2109 instead of StringBufferInputStream.
2111 2004-09-10 Michael Koch <konqueror@gmx.de>
2113 * gnu/java/net/protocol/file/Connection.java
2114 (connect): Handle file is a directory case.
2116 2004-09-10 Michael Koch <konqueror@gmx.de>
2119 (xlib_includes): Removed.
2120 (AM_CPPFLAGS): Renamed from INCLUDES.
2121 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
2122 * Makefile.in: Regenerate.
2124 2004-09-09 Michael Koch <konqueror@gmx.de>
2126 * java/security/ProtectionDomain.java,
2127 * java/util/PropertyPermissionCollection.java:
2128 Fixed javadocs all over.
2130 2004-09-09 Sven de Marothy <sven@physto.se>
2132 Patch from David Gilbert <david.gilbert@object-refinery.com>
2133 * java/lang/Comparable.java: Fixed documentation errors.
2134 * java/util/Arrays.java: Likewise.
2136 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
2138 * java/net/Inet4Address.java
2139 (Inet4Address): Added comment to serialization UID.
2140 * java/text/Format.java
2141 (Format): Added comment to serialization UID.
2143 2004-09-09 Michael Koch <konqueror@gmx.de>
2145 * java/lang/System.java
2146 (err): Fixed javadoci to point to setErr() and not setOut().
2148 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
2150 (normalizePath): Added special case for windows systems.
2152 2004-09-09 Michael Koch <konqueror@gmx.de>
2155 (dupSeparator): Made private.
2156 (File(URI)): New constructor.
2157 (getParentFile): Fixed javadoc.
2158 (createTempFile): Reformated.
2159 (setReadOnly): Added comment.
2160 (deleteOnExit): Merged javadoc with classpath version.
2162 2004-09-09 Michael Koch <konqueror@gmx.de>
2164 * Makefile.am: Don't try to include deps.mk.
2165 * Makefile.in: Regenerated.
2167 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
2169 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
2171 * configure: Rebuilt.
2173 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
2175 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
2176 Changed pfn from static local to local.
2178 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
2179 H.J. Lu <hongjiu.lu@intel.com>
2182 * Makefile.am (GCJCOMPILE): Remove definition.
2183 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
2184 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
2185 * Makefile.in: Rebuilt.
2187 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
2189 * configure.ac (enable-gc-debug): Update help for new syntax.
2190 * configure: Regenerate.
2192 2004-09-03 David Daney <ddaney@avtrex.com>
2194 * include/mips-signal.h: Update copyright.
2196 2004-09-03 David Daney <ddaney@avtrex.com>
2198 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
2199 * include/mips-signal.h: Added HANDLE_FPE support.
2201 2004-08-31 Michael Koch <konqueror@gmx.de>
2203 * javax/swing/plaf/basic/BasicTextAreaUI.java
2204 (create): New method.
2205 * javax/swing/text/DefaultHighlighter.java
2206 (DefaultHighlightPainter.debugRect): Removed.
2207 * javax/swing/text/StyleContext.java
2208 (DEFAULT_STYLE): New field.
2210 2004-08-31 Michael Koch <konqueror@gmx.de>
2212 * javax/swing/plaf/basic/BasicLookAndFeel.java
2213 (initComponentDefaults): Add keybindings for selection.backward and
2214 selection-forward for text components.
2215 * javax/swing/plaf/basic/BasicTextUI.java
2216 (paintSafely): Paint highlight only when something is actually
2218 * javax/swing/text/DefaultCaret.java
2219 (handleHighlight): New method.
2220 (setSelectionVisible): Don't do anything when nothing changes.
2222 (moveDot): Reimplemented. Handle highlight.
2223 (setDot): Set mark too. Handle highlight.
2224 (getSelectionPainter): New method.
2225 * javax/swing/text/DefaultEditorKit.java
2226 (defaultActions): Added new actions for text selection.
2227 * javax/swing/text/DefaultHighlighter.java
2228 (DefaultHighlightPainter): New inner class.
2229 (DefaultPainter): New field.
2230 (paint): Implemented.
2231 * javax/swing/text/PlainView.java
2232 (paint): Don't draw background here again.
2233 * javax/swing/text/Utilities.java
2234 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
2235 (drawTabbedText): Likewise.
2237 2004-08-31 Graydon Hoare <graydon@redhat.com>
2239 * javax/swing/JComponent.java
2240 (resetKeyboardActions): Add null checks.
2242 2004-08-31 Graydon Hoare <graydon@redhat.com>
2244 * javax/swing/DefaultButtonModel.java:
2245 Skip group notification when no group is set.
2247 2004-08-31 Graydon Hoare <graydon@redhat.com>
2249 * javax/swing/JColorChooser.java:
2250 Make a couple inner classes static, for jikes.
2252 2004-08-31 Michael Koch <konqueror@gmx.de>
2254 * javax/swing/plaf/basic/BasicTextUI.java
2255 (RottView.modelToView): New method.
2256 (UpdateHandler): Renamed from EventHandler.
2257 (updateHandler): Renamed from eventHandler.
2258 (modelToView): Implemented.
2259 * javax/swing/text/AbstractDocument.java
2260 (BranchElement.getElement): Return null for non-existing indeces.
2261 (BranchElement.getElementIndex): Return 0 in some corner cases.
2262 * javax/swing/text/FieldView.java
2263 (modelToView): New method.
2264 * javax/swing/text/PlainView.java
2265 (modelToView): Made public.
2267 2004-08-31 Kim Ho <kho@redhat.com>
2269 * Makefile.am: New files.
2270 * Makefile.in: Regenerate.
2271 * gcj/Makefile.in: Regenerate.
2272 * include/Makefile.in: Regenerate.
2273 * java/awt/Color.java: Fix documentation.
2274 (RGBtoHSB): Use floats for conversions.
2275 * javax/swing/ButtonGroup.java: Run Jalopy.
2276 (setSelected): Reimplement.
2277 * javax/swing/DefaultButtonModel.java: Run Jalopy.
2278 (changeState): Let ButtonGroup know that the button
2280 * javax/swing/JColorChooser.java: Implement.
2281 * javax/swing/JLabel.java: Run Jalopy.
2282 * javax/swing/JSpinner.java: Run Jalopy.
2283 (setValue): New method.
2284 * javax/swing/JTabbedPane.java: Run Jalopy.
2285 (removeTabAt): Call correct remove method.
2286 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
2287 (getPreviousValue): Compare minimum value.
2288 * javax/swing/Timer.java: Run Jalopy.
2289 (run): Comment out println.
2290 * javax/swing/ToolTipManager.java:
2291 (mouseMoved): Get new tooltip text for location.
2292 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
2294 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
2296 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
2298 (setSelectedColor): Fire ChangeEvent.
2299 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
2300 New file. Implement.
2301 * javax/swing/colorchooser/DefaultPreviewPanel.java:
2303 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
2305 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
2307 * javax/swing/plaf/basic/BasicArrowButton.java:
2308 (getArrow): Fix size of upward pointing button.
2309 * javax/swing/plaf/basic/BasicColorChooserUI.java:
2311 * javax/swing/plaf/basic/BasicSliderUI.java:
2312 (getWidthOfWidestLabel): Use preferred dimensions.
2313 (getHeightOfTallestLabel): Ditto.
2314 * javax/swing/plaf/basic/BasicSpinnerUI.java:
2316 (mousePressed): Disable changes to spinner if it is not enabled.
2317 * testsuite/Makefile.in: Regenerate.
2320 2004-08-31 Michael Koch <konqueror@gmx.de>
2322 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
2323 javax/swing/plaf/basic/BasicTableUI.java:
2324 Added copyright notice.
2326 2004-08-31 Olga Rodimina <rodimina@redhat.com>
2328 * Makefile.am: Added new files.
2329 * Makefile.in: Regenerate.
2330 * javax/swing/ComboBoxEditor.java: Added javadocs.
2331 * javax/swing/ComboBoxModel.java: Likewise.
2332 * javax/swing/DefaultComboBoxModel.java: Implemented.
2333 * javax/swing/DefaultListCellRenderer.java: Added javadocs
2334 and ran through jalopy to fix formatting style.
2335 (getListCellRendererComponent): Use appropriate border
2336 if renderer has focus and use noFocusBorder when it doesn't.
2337 * javax/swing/JComboBox.java: Implemented.
2338 * javax/swing/JList.java:
2339 (locationToIndex): New Method. Implemented.
2340 (indexToLocation): New Method.
2341 * javax/swing/JPopupMenu.java:
2342 (visible): New field.
2343 (isVisible): Changed to use new field above.
2344 (setVisible): Likewise.
2345 * javax/swing/MutableComboBoxModel.java: Added javadocs.
2346 * javax/swing/plaf/basic/BasicArrowButton.java:
2347 (shadow): Changed default color to Color.gray.
2348 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2349 UI delegate for JComboBox.
2350 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2351 Popup menu containing list of JComboBox's items.
2352 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
2353 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
2354 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
2355 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
2356 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2357 (popupMenuWillBecomeVisible): Set selected path to the first
2358 element only if it is of type MenuElement. Also fix formatting
2360 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
2363 2004-08-31 Michael Koch <konqueror@gmx.de>
2365 * javax/swing/text/AbstractDocument.java
2366 (createBranchElement): Use new constructor of BranchElement.
2367 (createLeafElement): Renamed arguments.
2368 (getRootElements): Implemented.
2369 (BranchElement.start): Removed.
2370 (BranchElement.end): Likewise.
2371 (BranchElement.BranchElement): Fixed arguments.
2372 (BranchElement.getEndOffset): Reimplemented.
2373 (BranchElement.getStartOffset): Likewis.
2374 * javax/swing/text/DefaultCaret.java
2375 (paint): Draw simple vertical line as caret instead of a rectangle.
2376 * javax/swing/text/JTextComponent.java
2377 (setText): Use doc directly.
2378 * javax/swing/text/PlainView.java
2379 (nextTabStop): Implemented.
2380 * javax/swing/text/Utilities.java
2381 (drawTabbedText): nextTabStop() returns an absolute x position.
2382 (getTabbedTextWidth): Likewise.
2384 2004-08-31 Graydon Hoare <graydon@redhat.com>
2386 * java/awt/Component.java
2387 (isFocusTraversable): Predicate on isLightweight()
2388 (setFocusable): Set isFocusTraversableOverridden.
2389 (requestFocus): Predicate peer dispatch on !isLightweight()
2390 (requestFocusInWindow): Likewise.
2391 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
2392 * java/awt/Container.java
2393 (dispatchEventImpl): Predicate on event mask.
2394 (LightweightDispatcher): Remove focus machinery.
2395 * java/awt/DefaultFocusTraversalPolicy.java
2396 (accept): Expand predicate to include isFocusable().
2397 * java/awt/DefaultKeyboardFocusManager.java:
2398 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
2399 * java/awt/KeyboardFocusManager.java
2400 (redispatchEvent): Synchronize on event to prevent feedback.
2401 * javax/swing/AbstractButton.java
2402 (ButtonFocusListener): Remove class.
2403 (init): Set focusPainted, focusable.
2404 * javax/swing/ActionMap.java (get): Check parent for null.
2405 * javax/swing/InputMap.java (get): Likewise.
2406 * javax/swing/JComponent.java
2407 (inputMap_whenFocused): New InputMap.
2408 (inputMap_whenAncestorOfFocused): Likewise.
2409 (inputMap_whenInFocusedWindow): Likewise.
2410 (getActionForKeyStroke): Rewrite.
2411 (getConditionForKeystroke): Likewise.
2412 (ActionListenerProxy): New private class.
2413 (setInputMap): Implement.
2414 (getInputMap): Likewise.
2415 (setActionMap): Likewise.
2416 (getActionMap): Likewise.
2417 (processComponentKeyEvent): New empty method.
2418 (processKeyEvent): Implement.
2419 (processKeyBinding): Likewise.
2420 (resetKeyboardActions): Rewrite.
2421 * javax/swing/KeyStroke.java: Rewrite.
2422 * javax/swing/SwingUtilities.java
2423 (notifyAction): Implement.
2424 (replaceUIActionMap): Likewise.
2425 (replaceUIInputMap): Likewise.
2426 * javax/swing/plaf/basic/BasicButtonListener.java
2427 (focusGained): Implement.
2428 (focusLost): Repaint if focusPainted().
2429 (installKeyboardActions): Install pressed / released actions.
2430 (uninstallKeyboardActions): Implement.
2431 * javax/swing/plaf/basic/BasicButtonUI.java
2432 (focusColor): New field.
2433 (installDefaults): Load focus color, install input map.
2434 (installKeyboardActions): Implement.
2435 (uninstallKeyboardActions): Likewise.
2436 (paintFocus): Rewrite.
2437 * javax/swing/plaf/basic/BasicLookAndFeel.java
2438 (Button.focus): New default, midPurple.
2439 * javax/swing/plaf/basic/BasicTextUI.java
2441 (installUI): Get doc from kit, load defaults.
2442 (getKeymapName): Implement.
2443 (createKeymap): Likewise.
2444 (installKeyboardActions): Likewise.
2445 (getInputMap): Likewise.
2446 (getActionMap): Likewise.
2447 (createActionMap): Likewise.
2448 * javax/swing/text/AbstractDocument.java
2449 (getStartPosition): Implement.
2450 (getEndPosition): Likewise.
2451 * javax/swing/text/DefaultEditorKit.java
2452 (CopyAction): New class.
2453 (CutAction): Likewise.
2454 (DefaultKeyTypedAction): Likewise.
2455 (InsertBreakAction): Likewise.
2456 (InsertContentAction): Likewise.
2457 (InsertTabAction): Likewise.
2458 (PasteAction): Likewise.
2459 (defaultActions): New static table.
2460 (createCaret): Implement.
2461 (getActions): Likewise.
2462 * javax/swing/text/JTextComponent.java
2463 (KeymapWrapper): New private class.
2464 (KeymapActionMap): Likewise.
2465 (DefaultKeymap): New class.
2466 (keymaps): New static table.
2467 (keymap): New field.
2468 (getKeymap): Implement.
2469 (removeKeymap): Likewise.
2470 (addKeymap): Likewise.
2471 (setKeymap): Likewise.
2472 (loadKeymap): Likewise.
2473 (getActions): Likewise.
2474 (margin): New field.
2475 (JTextComponent): Build and install default keymap.
2476 * javax/swing/text/TextAction.java
2477 (textAction): Call super properly.
2478 (getTextComponent): Implement.
2479 * javax/swing/text/Utilities.java
2480 (drawTabbedText): Adjust position by ascent.
2482 2004-08-31 David Jee <djee@redhat.com>
2486 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
2487 (setEnabled): Make it a native method.
2488 * java/awt/DefaultKeyboardFocusManager.java
2489 (postProcessKeyEvent): Only post event if the menu item
2491 * java/awt/MenuItem.java:
2492 Private field 'enabled' should be true by default.
2493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
2494 (setEnabled): New function.
2496 2004-08-31 David Jee <djee@redhat.com>
2500 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
2501 (nativeSetHelpMenu): New native method declaration.
2502 (addHelpMenu): Call nativeSetHelpMenu().
2504 * java/awt/MenuBar.java
2505 (setHelpMenu): Call addNotify() on the new help menu.
2506 (add): Call addNotify() on the new menu.
2507 (addNotify): Set the help menu if one exists.
2508 * java/awt/peer/MenuBarPeer.java
2510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
2511 (nativeSetHelpMenu): New method.
2513 2004-08-31 Graydon Hoare <graydon@redhat.com>
2515 * Makefile.am: Add new files.
2516 * Makefile.in: Regenerate.
2517 * javax/swing/Box.java: Fix setting of layout in ctor.
2518 * javax/swing/JScrollPane.java: Scroll headers as well.
2519 * javax/swing/JTable.java: Reimplement.
2520 * javax/swing/JViewPort.java: Only add non-null children.
2521 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
2522 * javax/swing/Timer.java: Fix stopping null waker.
2523 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
2524 * javax/swing/plaf/basic/BasicTableUI.java: New file.
2525 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
2526 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
2527 * javax/swing/table/DefaultTableModel.java: Clean up.
2528 * javax/swing/table/JTableHeader.java: Implement.
2530 2004-08-31 Mark Wielaard <mark@klomp.org>
2532 * javax/swing/JSpinner.java (getChangeListeners): Remove double
2535 2004-08-31 Mark Wielaard <mark@klomp.org>
2537 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
2538 Declare variables at top of functions/block.
2539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
2541 2004-08-31 Mark Wielaard <mark@klomp.org>
2543 * java/lang/Rectangle.java (intersects): Check r.width and r.height
2546 2004-08-31 Michael Koch <konqueror@gmx.de>
2548 * javax/swing/text/PlainView.java
2549 (selectedColor): New field.
2550 (unselectedColor): Likewise.
2552 (updateMetrics): New method.
2553 (lineToRect): Likewise.
2554 (modelToView): Likewise.
2555 (drawSelectedText): Use color from JTextComponent ad draw with
2557 (drawUnselectedText): Likewise.
2558 (paint): Initialize helper fields.
2559 * javax/swing/text/View.java
2560 (getChildAllocation): New method.
2561 (getViewIndex): Likewise.
2562 (getToolTipText): Likewise.
2564 2004-08-31 Michael Koch <konqueror@gmx.de>
2566 * javax/swing/text/Utilities.java
2567 (drawTabbedText): Reimplemented.
2568 (getTabbedTextWidth): Likewise.
2570 2004-08-31 Michael Koch <konqueror@gmx.de>
2572 * javax/swing/plaf/basic/BasicTextUI.java
2573 (installDefaults): Install caret and highlighter.
2574 (modelToView): Use Bias.Forward when calling sibling.
2575 * javax/swing/text/AbstractDocument.java
2576 (ElementEdit): Implements DocumentEvent.ElementChange.
2577 (ElementEdit.ElementEdit): New method.
2578 (ElementEdit.getChildrenAdded): Likewise.
2579 (ElementEdit.getChildrenRemoved): Likewise.
2580 (ElementEdit.getElement): Likewise.
2581 (ElementEdit.getIndex): Likewise.
2582 * javax/swing/text/DefaultCaret.java
2584 (textComponent): Renamed from parent, made private.
2585 (selectionVisible): Renamed from vis_sel, made private.
2586 (blinkRate): Renamed from blink, made private.
2587 (magicCaretPosition): Renamed from magic, made private.
2588 (visible): Renamed from vis, made private.
2589 (dot): Made private.
2591 (deinstall): Remove as MouseMotionListener.
2592 (install): Initialize textComponent first. Add as MouseMotionListener.
2593 (paint): Reimplemented.
2594 * javax/swing/text/JTextComponent.java
2595 (setCaret): Deinstall old caret, install new one and fire property
2596 change after setting property.
2597 (setHighlighter): Deinstall old highlighter, install new one and fire
2598 property change after setting property.
2599 (setCaretColor): Fire property change after setting property.
2600 (setDisabledTextColor): Likewise.
2601 (setSelectedTextColor): Likewise.
2602 (setSelectionColor): Likewise.
2603 (modelToView): New method.
2605 2004-08-31 Michael Koch <konqueror@gmx.de>
2607 * javax/swing/text/AbstractDocument.java
2608 (getText): Simplified.
2609 * javax/swing/text/Segment.java
2610 (current): New field.
2611 (current): Reimplemented.
2613 (getIndex): Likewise.
2616 (previous): Likewise.
2617 (setIndex): Likewise.
2619 2004-08-31 Michael Koch <konqueror@gmx.de>
2621 * javax/swing/plaf/basic/BasicButtonUI.java
2622 (defaultTextIconGap): Made protected.
2623 (defaultTextShiftOffset): Likewise.
2624 (textShiftOffset): New field.
2625 (clearTextShiftOffset): New method.
2626 (getTextShiftOffset): Likewise.
2627 (setTextShiftOffset): Likewise.
2629 2004-08-31 Michael Koch <konqueror@gmx.de>
2631 * javax/swing/plaf/basic/BasicTextUI.java
2632 (installUI): Add eventHandler as property listener.
2633 (uninstallUI): remove eventHandler as propert listener.
2634 (installDefaults): Added comment.
2635 (installListeners): Likewise.
2636 (installKeyboardActions): Likewise.
2637 (uninstallDefaults): Likewise.
2638 (uninstallListeners): Likewise.
2639 (uninstallKeyboardActions): Likewise.
2641 2004-08-31 Michael Koch <konqueror@gmx.de>
2643 * javax/swing/text/AbstractDocument.java:
2644 Fixed some typos in comments.
2645 (insertString): Reimplemented.
2647 (replace): New method.
2648 (children): Dont use fully qualified class name.
2649 (DefaultDocumentEvent.offset): Renamed from off.
2650 (DefaultDocumentEvent.length): Renamed from len.
2651 (DefaultDocumentEvent.type): New field.
2652 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
2653 (DefaultDocumentEvent.getType): Implemented.
2655 2004-08-31 Michael Koch <konqueror@gmx.de>
2657 * javax/swing/plaf/basic/BasicTextUI.java
2658 (RootView.textComponent): Removed.
2659 (RootView.RootView): Don't initialize textComponent.
2660 (RootView.getViewFactory): New method.
2661 (EventHandler): New inner class.
2662 (rootView): Initialize at instance creation.
2663 (eventHandler): New field.
2664 (installUI): Don't create view hierarchy directly,
2665 call modelChanged() instead.
2666 (modelChanged): New method.
2667 * javax/swing/text/JTextComponent.java
2668 (setDocument): Fire property change event.
2670 2004-08-31 Michael Koch <konqueror@gmx.de>
2672 * javax/swing/plaf/basic/BasicTextUI.java
2673 (RootView.paint): Removed debug output.
2674 (paintSafely): Draw highlighter before text.
2675 (paintBackground): Use background color of text component.
2676 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
2679 2004-08-31 Michael Koch <konqueror@gmx.de>
2681 * javax/swing/plaf/basic/BasicToolBarUI.java
2682 (BasicToolBarUI): Fixed arguments for constructor.
2683 (createUI): Fixed creation of object.
2685 2004-08-31 Michael Koch <konqueror@gmx.de>
2687 * javax/swing/DefaultListSelectionModel.java
2688 (fireValueChanged): Renamed from fireSelectionValueChanged,
2691 2004-08-31 Michael Koch <konqueror@gmx.de>
2693 * javax/swing/text/TabSet.java
2694 (TabSet): Implements java.io.Serializable.
2695 * javax/swing/text/TabStop.java
2696 (TabStop): Implements java.io.Serializable.
2697 (TabStop): Made public.
2699 2004-08-31 Michael Koch <konqueror@gmx.de>
2701 * javax/swing/JComponent.java
2702 (setUI): Fire PropertyChange.
2703 * javax/swing/JLabel.java
2704 (text): Renamed from labelText.
2705 (horizontalAlignment): New default vlaue.
2706 (icon): Renamed from activeIcon.
2707 (displayedMnemonic): Renamed from mnemonicKey, added default value.
2708 (displayedMnemonicIndex): Renamed from underlineChar.
2709 (setDisplayedMnemonic): Reimplemented.
2710 * javax/swing/JRadioButton.java
2711 (JRadioButton): New constructors.
2712 * javax/swing/JTextField.java
2713 (JTextField): Throw exception if colums < 0, initialitialz
2714 this.columns directly and initialize document with text conditionally.
2716 2004-08-31 Michael Koch <konqueror@gmx.de>
2718 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2719 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2720 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2721 * javax/swing/text/FieldView.java
2722 (paint): Just call super method for now.
2723 * Makefile.am: Added new files.
2724 * Makefile.in: Regenerated.
2726 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2728 * javax/swing/AbstractSpinnerModel.java,
2729 javax/swing/JSpinner.java,
2730 javax/swing/SpinnerNumberModel.java,
2731 javax/swing/plaf/basic/BasicSpinnerUI.java:
2733 * javax/swing/plaf/basic/BasicLookAndFeel.java
2734 (initClassDefaults): Added defaults for BasicSpinnerUI.
2736 2004-08-31 Michael Koch <konqueror@gmx.de>
2738 * Makefile.am: Added new files.
2739 * Makefile.in: Regenerated.
2741 2004-08-31 Michael Koch <konqueror@gmx.de>
2743 * javax/swing/TransferHandler.java,
2744 javax/swing/plaf/basic/ComboPopup.java: New files
2745 * Makefile.am: Added javax/swing/TransferHandler.java and
2746 javax/swing/plaf/basic/ComboPopup.java
2747 * Makefile.in: Regenerated.
2749 2004-08-31 Roman Kennke <roman@ontographics.com>
2751 * javax/swing/text/Utilities.java: New file.
2753 2004-08-31 Michael Koch <konqueror@gmx.de>
2755 * Makefile.am: Added javax/swing/text/Utilities.java.
2756 * Makefile.in: Regenerated.
2758 2004-08-31 Graydon Hoare <graydon@redhat.com>
2760 * javax/swing/text/SimpleAttributeSet.java: New file.
2761 * javax/swing/text/StyleConstants.java: New file.
2762 * javax/swing/text/StyleContext.java: New file.
2763 * javax/swing/text/TabSet.java: New file.
2764 * javax/swing/text/TabStop.java: New file.
2765 * javax/swing/text/AbstactDocument.java:
2766 (AbstractElement): Implement attribute support.
2767 * javax/swing/text/AttributeSet.java
2768 (NameAttribute): New static field.
2769 (ResolveAttribute): New static field.
2770 * Makefile.am: Update for new files.
2771 * Makefile.in: Regenerate.
2773 2004-08-31 Craig Black <craig.black@aonix.com>
2775 * gnu/java/awt/peer/gtk/GdkGraphics.java
2776 (drawImage): Add support for scaling pixmaps.
2777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2778 (copyAndScalePixmap): New native method.
2780 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2783 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2784 type-punning compiler warnings using unions.
2785 (throw): Replace bzero with memset.
2787 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2788 Thomas Fitzsimmons <fitzsim@redhat.com>
2790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2791 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2792 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2794 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2796 2004-08-31 Mark Wielaard <mark@klomp.org>
2798 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2799 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2800 and stdlib.h, not gtkpeer.h.
2801 (*vm): New static variable.
2802 (areaPreparedID): Make static.
2803 (areaUpdatedID): Likewise.
2804 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2805 (area_prepared): Likewise.
2806 (area_updated): Likewise.
2808 (initStaticState): Initialize *vm javaVM.
2809 (pumpBytes): Use given env, not global gdk_env.
2811 2004-08-31 Mark Wielaard <mark@klomp.org>
2813 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2816 2004-08-31 Sven de Marothy <sven@physto.se>
2818 * java/awt/geom/CubicCurve2D.java: Reindent.
2819 (contains): Implemented.
2820 (intersects): Implemented.
2821 * java/awt/geom/QuadCurve2D.java: Likewise.
2822 * java/awt/geom/GeneralPath.java: Reindent and document.
2823 Fully (re)implemented using separate xpoints and ypoints
2825 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2827 2004-08-31 Michael Koch <konqueror@gmx.de>
2829 * javax/swing/JMenuItem.java
2830 (getMenuDragMouseListeners): New method.
2831 (getMenuKeyListeners): Likewise.
2833 2004-08-31 Michael Koch <konqueror@gmx.de>
2835 * javax/swing/AbstractButton.java
2836 (model): Made protected.
2837 (actionListener): Likewise.
2838 (changeListener): Likewise.
2839 (itemListener): Likewise.
2840 (multiClickThreshhold): New field.
2841 (getActionListeners): New method.
2842 (getChangeListeners): Likewise.
2843 (getItemListeners): Likewise.
2844 (fireItemStateChanged): Simplified implementation.
2845 (fireActionPerformed): Likewise.
2846 (fireStateChanged): Likewise.
2847 (getMultiClickThreshhold): New method.
2848 (setMultiClickThreshhold): Likewise.
2850 2004-08-31 Tom Tromey <tromey@redhat.com>
2852 * java/awt/image/Kernel.java (clone): Use super.clone().
2854 2004-08-31 David Jee <djee@redhat.com>
2857 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2858 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2859 (nativeSetIconImageFromData): New native method declaration.
2860 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2861 * gnu/java/awt/peer/gtk/GtkImage.java
2862 (getPixelCache): New method.
2863 (getColorModel): New method.
2864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2865 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2866 (free_pixbuf_data): New helper function.
2867 (nativeSetIconImageFromData): New function.
2869 2004-08-31 Graydon Hoare <graydon@redhat.com>
2872 * javax/swing/JLayeredPane.java
2873 (setLayer): Permit changing layer after addition.
2874 (setPosition): Permit over-length positions.
2875 (layerToRange): Compare intValue()s.
2876 * javax/swing/Box.java (createHorizontalBox): Implement.
2877 (createRigidArea): Likewise.
2878 (createVerticalBox): Likewise.
2880 2004-08-31 Kim Ho <kho@redhat.com>
2882 * java/awt/Component.java:
2883 (processMouseEvent): Consume event after
2884 listeners process it.
2885 (processMouseMotionEvent): ditto.
2886 (processMouseWheelEvent): ditto.
2887 * java/awt/Container.java:
2888 (acquireComponentForMouseEvent):
2889 Do not dispatch to events that have been
2890 removed from the Container.
2891 (handleEvent): Consume the MouseEvents.
2892 * javax/swing/RepaintManager.java:
2893 (paintDirtyRegions): Do not add to list of
2894 damaged areas if the component has no root.
2896 2004-08-31 Michael Koch <konqueror@gmx.de>
2898 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2900 2004-08-31 Mark Wielaard <mark@klomp.org>
2902 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2903 null when a MissingResourceException is thrown. Should never happen.
2905 2004-08-31 Mark Wielaard <mark@klomp.org>
2907 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2908 when argument is null.
2910 2004-08-31 Mark Wielaard <mark@klomp.org>
2912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2913 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2914 Define hid at start of function.
2915 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2918 2004-08-31 Mark Wielaard <mark@klomp.org>
2920 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2921 * javax/swing/JButton.java: Reindent.
2922 * javax/swing/JCheckBox.java: Reindent.
2924 2004-08-31 Mark Wielaard <mark@klomp.org>
2926 * Makefile.am (gtk_c_source_files): Added
2927 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2928 (gtk_awt_peer_sources): Added
2929 gnu/java/awt/peer/gtk/GThreadMutex.java and
2930 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2931 * Makefile.in: Regenerated.
2933 2004-08-31 Archie Cobbs <archie@dellroad.org>
2935 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2937 2004-08-31 Steven Augart <augart@watson.ibm.com>
2939 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2940 Added jfieldID, jmethodID.
2942 2004-08-31 Mark Wielaard <mark@klomp.org>
2944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2945 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2946 gdk_env before calling any gdk or gtk function.
2948 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2949 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2950 (run): Set gtkInitCalled.
2952 2004-08-31 Steven Augart <augart@watson.ibm.com>
2954 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2955 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2958 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2959 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2961 (init_glib_threads): New function.
2963 2004-08-31 Mark Wielaard <mark@klomp.org>
2965 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2966 PRIORITY when not already defined in header file.
2968 2004-08-31 Mark Wielaard <mark@klomp.org>
2970 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2971 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2973 2004-08-31 Steven Augart <augart@watson.ibm.com>
2975 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2976 Implemented missing functions for GTK2.
2977 Added error handling.
2978 Renamed static functions out of the g_ namespace.
2979 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2980 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2981 Rewrote global-reference code.
2982 Eliminated cascading errors.
2983 (mutex_trylock_jni_impl) Fully implemented.
2984 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2986 (setup_cache) New function.
2987 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2988 bug where they were not unlocking the GMutex associated with the
2989 condition variable during the wait on that condition variable.
2991 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2992 native/jni/gtk-peer/gthread-jni.c,
2993 native/jni/gtk-peer/gthread-jni.h
2994 (g_thread_jni_functions): Renamed to ...
2995 (portable_native_sync_jni_functions): this name.
2996 (gdk_vm): Renamed to...
2997 (the_vm): this name.
2999 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3000 (gdk_vm): Removed duplicate definition.
3001 (gtkInit): Removed stray message to stdout.
3002 (gtkInit): Use g_malloc and g_free instead of malloc and free.
3003 (gtkInit): Fix a const assignment bug.
3004 (gtkInit): Simplified code.
3006 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
3007 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
3008 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
3009 gnu/java/awt/peer/gtk/GThreadMutex.java:
3012 2004-08-31 Mark Wielaard <mark@klomp.org>
3014 * javax/swing/Box.java: Put FIXME comment above class declaration.
3015 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3016 * javax/swing/JCheckBox.java: Likewise.
3017 * javax/swing/JDialog.java: Likewise.
3018 * javax/swing/JRadioButton.java: Likewise.
3019 * javax/swing/JToggleButton.java: Likewise.
3020 * javax/swing/UIManager.java: Likewise.
3021 * javax/swing/border/TitledBorder.java: Likewise.
3022 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3023 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3024 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3025 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3026 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3027 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3028 * javax/swing/text/JTextComponent.java: Likewise.
3030 2004-08-31 David Jee <djee@redhat.com>
3033 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3034 (setIconImage): Add a FIXME for unhandled cases.
3036 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3039 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
3040 getModifiers. Replace old button masks with new ones.
3041 * gnu/awt/xlib/XEventLoop.java: Likewise.
3042 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
3043 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3044 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
3045 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
3046 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
3047 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
3048 * java/awt/Component.java: Replace old modifier masks with new
3050 * java/awt/Container.java: Call getModifiersEx, not
3052 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
3054 * javax/swing/JMenuItem.java: Replace old button masks with new
3056 * javax/swing/KeyStroke.java: Call getModifiersEx, not
3058 * javax/swing/SwingUtilities.java: Likewise.
3059 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
3060 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
3061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
3062 mask macros with new ones.
3063 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
3064 macros with new ones representing new masks.
3066 2004-08-31 Craig Black <craig.black@aonix.com>
3068 * gnu/java/awt/peer/gtk/GdkGraphics.java
3069 (drawRoundRect): Implemented.
3070 (fillRoundRect): Implemented.
3071 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
3072 (drawRoundRect): Reimplemented to match GdkGraphics.
3073 (fillRoundRect): Reimplemented to match GdkGraphics.
3075 2004-08-31 Mark Wielaard <mark@klomp.org>
3077 * Makefile.in: Regenerated.
3079 2004-08-31 Michael Koch <konqueror@gmx.de>
3081 * gnu/java/awt/EmbeddedWindow.java
3082 (addNotify): Use AccessController to allow execution of privileged
3085 2004-08-31 Michael Koch <konqueror@gmx.de>
3087 * gnu/java/awt/EmbeddedWindow.java
3089 (addNotify): Set peer via reflection.
3090 (setWindowPeer): Removed.
3091 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
3092 * Makefile.am (nat_source_files):
3093 Removed gnu/java/awt/natEmbeddedWindow.cc.
3095 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3097 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3098 and gnu/java/security/action/SetAccessibleAction.java.
3100 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3102 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3103 Renamed from 'setName'. New 2-argument form with default value.
3104 (run): Pass default 'value' parameter to System.getProperty().
3105 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3108 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3110 * gnu/java/security/action/GetPropertyAction.java: New class.
3111 * gnu/java/security/action/SetAccessibleAction.java: New class.
3113 2004-08-31 David Jee <djee@redhat.com>
3115 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3116 (setIconImage): Check if image is null.
3118 2004-08-31 David Jee <djee@redhat.com>
3120 * gnu/java/awt/peer/gtk/GtkFramePeer.java
3121 (create): Set the icon image.
3122 (nativeSetIconImage): New native method declaration.
3123 (setIconImage): Implement.
3124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3125 (nativeSetIconImage): New function.
3127 2004-08-31 Dalibor Topic <robilad@kaffe.org>
3129 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3130 (filenameFilterCallback): Declare local variable accepted before use.
3132 2004-08-31 Dalibor Topic <robilad@kaffe.org>
3134 * gnu/java/awt/ComponentDataBlitOp.java:
3137 2004-08-31 Tom Tromey <tromey@redhat.com>
3139 * gnu/java/awt/peer/GLightweightPeer.java,
3140 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3141 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3142 javax/swing/JScrollPane.java: Removed
3145 2004-08-31 David Jee <djee@redhat.com>
3147 * java/awt/DefaultKeyboardFocusManager.java
3148 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
3149 event. Fix shift modifier checking.
3150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3151 (accel_attach): Remove.
3152 (setupAccelGroup): Remove calls to accel_attach.
3154 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3156 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
3157 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
3159 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
3161 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
3162 * Makefile.in: Regenerate.
3163 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
3164 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
3165 (create(String)): New method.
3166 (create): Call new create method.
3167 (getArgs): Remove method.
3168 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
3169 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
3170 (nativeCreate): Rename to create.
3171 (gtkSetLabel): Rename to gtkButtonSetLabel.
3172 (gtkToggleButtonSetActive): New method.
3173 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
3174 (setState): Replace set call with gtkToggleButtonSetActive.
3175 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
3176 (getArgs): Remove method.
3177 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3178 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3179 (gtkWidgetSetSensitive): New method.
3180 (gtkWidgetSetParent): Likewise.
3181 (GtkComponentPeer): Call setParent, setComponentBounds and
3182 setVisibleAndEnabled.
3183 (setParent): New method.
3184 (setComponentBounds): New method.
3185 (setVisibleAndEnabled): New method.
3186 (setEnabled): Call gtkWidgetSetSensitive.
3187 (getArgs): Remove method.
3188 Remove all set methods.
3189 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
3190 gtkWindowSetModal, setTitle and setResizable.
3191 (getArgs): Remove method.
3192 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3193 (setComponentBounds): New method.
3194 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
3195 Replace set call with gtkWindowSetResizable.
3196 (getArgs): Remove method.
3197 (create): Call setTitle and setResizable.
3198 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
3199 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3200 (gtkWindowSetTitle): New method.
3201 (gtkWindowSetResizable): New method.
3202 (gtkWindowSetModal): New method.
3203 (setParent): New method.
3204 (setVisibleAndEnabled): New method.
3205 (getArgs): Remove method.
3206 (setTitle): Call gtkWindowSetTitle.
3207 (setResizable): Call gtkWindowSetResizable.
3208 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
3209 and off locking instrumentation.
3211 2004-08-31 Kim Ho <kho@redhat.com>
3213 * Makefile.am: Add new file.
3214 * Makefile.in: Regenerate.
3215 * gcj/Makefile.in: Regenerate
3216 * include/Makefile.in:
3217 * java/awt/Container.java:
3218 (acquireComponentForMouseEvent): Respect
3219 the event mask when looking for candidate.
3220 * javax/swing/JComponent.java:
3221 Remove toolTip field.
3222 (createToolTip): Create a tooltip on demand.
3223 (setToolTipText): Register with the ToolTipManager.
3224 (getToolTipText(MouseEvent)): Return getToolTipText().
3225 * javax/swing/JToolTip.java: Implement.
3226 * javax/swing/Timer.java: Jalopy.
3227 (restart): Call stop, then start.
3228 (stop): Interrupt the timer rather than wait for
3229 the timer to come to a stop naturally.
3230 * javax/swing/ToolTipManager.java: Implement.
3231 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3232 Change ToolTip.background color.
3233 * javax/swing/plaf/basic/BasicToolTipUI.java:
3235 * testsuite/Makefile.in: Regenerate
3237 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
3239 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
3240 constructor param comments.
3242 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3244 * java/awt/Component.java: Document AWT 1.0 event handler
3247 2004-08-31 Roman Kennke <roman@ontographics.com>
3249 * javax/swing/Box.java:
3250 (createGlue): Implemented
3251 (createHorizontalGlue): Implemented
3252 (createHorizontalStrut): Implemented
3253 (createVerticalGlue): Implemented
3254 (createVerticalStrut): Implemented
3256 2004-08-31 David Jee <djee@redhat.com>
3258 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
3259 (GtkChoicePeer): Do not automatically select first item.
3260 (getHistory): Remove.
3261 (nativeGetSelected): New method.
3262 (nativeRemoveAll): New method.
3263 (add): Use nativeGetSelected() instead of getHistory().
3265 (removeAll): Call nativeRemoveAll().
3266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
3267 (create): Migrate to GtkComboBox.
3269 (nativeAdd): Likewise.
3270 (nativeRemove): Likewise.
3272 (nativeRemoveAll): New method.
3273 (nativeGetSelected): New method.
3274 (selection_changed): New method.
3275 (getHistory): Remove.
3276 (item_activate): Remove.
3277 (item_removed): Remove.
3278 (connect_choice_item_selectable_hook): Remove.
3280 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3282 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
3283 variable in setEditable call.
3285 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
3286 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
3287 (gtkWidgetSetBackground): New method.
3288 (gtkWidgetSetForeground): Likewise.
3289 (create): Set peer's editable state based on awtComponent's.
3291 * java/awt/Button.java (Button()): Use empty string rather than
3292 null in no-label constructor.
3294 2004-08-31 Roman Kennke <roman@ontographics.com>
3296 * javax/swing/BoxLayout.java: Reimplement.
3298 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
3300 * gnu/java/awt/peer/gtk/GdkGraphics.java,
3301 gnu_java_awt_peer_gtk_GdkGraphics.c
3302 (initState(GtkComponentPeer)): Don't return array of colour
3304 (GdkGraphics(int,int)): Set default font to size 12.
3305 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
3306 component's foreground colour.
3307 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
3308 gnu_java_awt_peer_gtk_GdkGraphics2D.c
3309 (initState(GtkComponentPeer)): Don't return array of colour
3311 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
3312 colours to component's colours.
3313 (current_colors_of_widget): Remove function.
3314 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
3315 Return a new graphics object.
3316 * java/awt/Font.java (toString): Fix format.
3317 * java/awt/Graphics.java (toString): Likewise.
3319 2004-08-31 Craig Black <craig.black@aonix.com>
3321 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
3322 (addTearOff): New function.
3323 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
3325 (init): Call addTearOff() when menu.isTearOff().
3327 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
3329 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3330 Default implementation.
3331 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3332 Implement using GdkPixbufDecoder.
3334 2004-08-31 David Jee <djee@redhat.com>
3336 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
3337 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
3338 setting the size of GtkFileDialogPeers.
3339 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3340 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
3341 use their default sizes rather than their natural requisitions.
3343 2004-08-31 Michael Koch <konqueror@gmx.de>
3345 * javax/swing/JFormattedTextField.java
3346 (JFormattedTextField): Implemented.
3347 * javax/swing/text/DefaultEditorKit.java
3348 (BeepAction): New inner class.
3349 * javax/swing/text/Segment.java
3350 (partialReturn): New field.
3351 (setPartialReturn): New method.
3352 (isPartialReturn): Likewise.
3353 * javax/swing/text/View.java
3354 (createFragment): Fixed typo.
3355 (getStartOffset): New method.
3356 (getEndOffset): Likewise.
3358 2004-08-31 Michael Koch <konqueror@gmx.de>
3360 * javax/swing/table/DefaultTableColumnModel.java
3361 (serialVersionUID): Made private.
3362 (listenerList): Initialize.
3363 (changeEvent): Initialize.
3364 * javax/swing/table/JTableHeader.java
3365 (JTableHeader): New constructors.
3366 (createDefaultColumnModel): New method.
3367 * javax/swing/table/TableColumn.java
3368 (setHeaderRenderer): Simplified code.
3369 (setCellRenderer): Likewise.
3370 (setWidth): Likewise.
3372 2004-08-31 Tom Tromey <tromey@redhat.com>
3374 * java/text/AttributedString.java (AttributedString): Use
3375 ArrayList to build array of attribute ranges. Don't use
3376 `attribs' before it is set.
3378 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3380 * HACKING: Remove reference to special automake. No longer needed.
3382 2004-08-30 Tom Tromey <tromey@redhat.com>
3384 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
3385 return result from `add'.
3387 2004-08-30 Tom Tromey <tromey@redhat.com>
3389 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
3391 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
3393 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
3395 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
3397 * java/io/File.java File(String,String): Fixed handling of empty
3400 2004-08-30 Casey Marshall <csm@gnu.org>
3402 Author e-mail updated for all files.
3403 * gnu/java/security/OID.java (equals): Test if the aurgment is an
3405 (compareTo): Use `equals'.
3406 * gnu/java/security/der/BitString.java (equals): Test if the
3407 argument is an instance of BitString.
3408 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
3409 class final. Made fields private.
3410 (<init>): New constructor.
3412 (makeString): Made static; don't use NIO.
3413 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
3414 * gnu/java/security/der/DERWriter.java: Fixed imports.
3415 (writeString): Don't use NIO.
3416 (toIso88591, toUtf16Be, toUtf8): New methods.
3417 * gnu/java/security/der/DERValue.java: Formatting changes only.
3418 * gnu/java/security/der/DER.java: Likewise.
3420 2004-08-30 Tom Tromey <tromey@redhat.com>
3422 * java/nio/CharBuffer.java (put): Fix typo.
3423 * java/nio/DoubleBuffer.java (put): Fix typo.
3424 * java/nio/FloatBuffer.java (put): Fix typo.
3425 * java/nio/IntBuffer.java (put): Fix typo.
3426 * java/nio/LongBuffer.java (put): Fix typo.
3427 * java/nio/ShortBuffer.java (put): Fix typo.
3429 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
3431 * java/nio/ByteBuffer.java (put): Fix typo.
3433 2004-08-30 Casey Marshall <csm@gnu.org>
3435 * java/security/DummyKeyPairGenerator.java (clone): Removed
3436 useless instanceof check.
3437 * java/security/DummyMessageDigest.java (clone): Likewise.
3438 * java/security/DummySignature.java (clone): Likewise.
3439 * java/security/MessageDigest.java (clone): Remove useless
3441 * java/security/MessageDigestSpi.java (clone): Likewise.
3442 * java/security/Signature.java (clone): Provide meaningful
3444 * java/security/SignatureSpi.java (clone): Likewise.
3446 2004-08-29 Mark Wielaard <mark@klomp.org>
3448 * java/util/Arrays.java
3449 (sort(byte[], int, int)): Check fromIndex < 0.
3450 (sort(char[], int, int)): Likewise.
3451 (sort(short[], int, int)): Likewise.
3452 (sort(int[], int, int)): Likewise.
3453 (sort(long[], int, int)): Likewise.
3454 (sort(float[], int, int)): Likewise.
3455 (sort(double[], int, int)): Likewise.
3456 (sort(Object[], int, int, Comparator)): Likewise.
3457 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
3458 (qsort(char[], int, int)): Likewise.
3459 (qsort(short[], int, int)): Likewise.
3460 (qsort(int[], int, int)): Likewise.
3461 (qsort(long[], int, int)): Likewise.
3462 (qsort(float[], int, int)): Likewise.
3463 (qsort(double[], int, int)): Likewise.
3465 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
3467 * java/util/AbstractCollection.java, java/util/AbstractList.java,
3468 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
3469 java/util/ArrayList.java, java/util/Arrays.java,
3470 java/util/BitSet.java, java/util/Calendar.java,
3471 java/util/Collection.java, java/util/ListIterator.java,
3472 java/util/Map.java, java/util/SortedSet.java:
3473 Added additional exceptions to documentation, along
3474 with some additions and corrections.
3476 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
3478 * configure.ac: Handle --enable-gc-debug.
3479 * configure: Regenerate.
3480 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
3481 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
3482 Rearrange include file order.
3483 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
3484 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
3485 (disable_gc_mutex): Delete along with all references.
3486 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
3487 adjust for debug header size.
3488 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
3490 (_Jv_AllocArray): Declare min_heap_addr only if needed.
3491 (gcj_describe_type_fn): New.
3492 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
3493 Register gcj_describe_type_fn.
3494 * include/boehm-gc.h:
3495 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
3496 Don't define, but declare, for debug case.
3497 * java/lang/natObject.cc:
3498 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
3500 2004-08-26 Mark Wielaard <mark@klomp.org>
3502 Fixes PR libgcj/17002:
3503 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
3504 a TimeZoneId string and then try to convert that to a TimeZone with
3505 getDefaultSystemTimeZone(String).
3506 (timezones0): Changed type from Hashtable to HashMap.
3507 (timezones): Create HashMap, not Hashtable.
3508 (getDefaultTimeZone): New method, rewritten from CNI version.
3509 (readTimeZoneFile): New method.
3510 (readtzFile): Likewise.
3511 (skipFully): Likewise.
3512 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
3513 getDefaultTimeZoneId and rewritten.
3514 (getDefaultTimeZoneId): Rewritten in java.
3516 2004-08-25 David Daney <daney@avtrex.com>
3518 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
3519 * Makefile.in: Regenerated.
3521 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
3523 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
3524 only if jvmpi is enabled.
3525 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
3526 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
3527 (_Jv_AllocString): Likewise.
3528 (_Jv_AllocPtrFreeObject): Likewise.
3530 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
3532 * defineclass.cc: Include <stdio.h>.
3533 * java/lang/natClassLoader.cc: Include <stdio.h>.
3535 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
3536 Michael Koch <konqueror@gmx.de>
3538 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
3539 * Makefile.in: Regenerated.
3541 2004-08-20 Michael Koch <konqueror@gmx.de>
3543 * configure.ac: Replaced all AC_TRY_COMPILE macros with
3544 AC_COMPILE_IFELSE macros.
3546 2004-08-20 Michael Koch <konqueror@gmx.de>
3548 * configure.in: Renamed to configure.ac.
3549 * configure.ac: New file.
3550 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
3551 include/config.h.in, testsuite/Makefile.in: Regenerated.
3553 2004-08-20 Michael Koch <konqueror@gmx.de>
3555 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
3556 * aclocal.m4, configure: Regenerated.
3558 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
3559 Michael Koch <konqueror@gmx.de>
3561 * configure.in, Makefile.am: Ported to automake 1.9.
3562 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
3563 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
3566 2004-08-19 Tom Tromey <tromey@redhat.com>
3568 * java/net/DatagramSocket.java: Fixed typo.
3570 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3573 * java/net/URI.java (string): New field. Make all other fields
3575 (readObject): Implemented.
3576 (writeObject): Implemented.
3577 (URI): Set 'string'.
3579 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
3582 * java/util/logging/Handler.java (isLoggable): Accept record if its
3583 log level equals the threshold level. From Robin Green.
3585 2004-08-18 David Daney <ddaney@avtrex.com>
3587 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
3590 2004-08-17 Michael Koch <konqueror@gmx.de>
3592 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
3593 * Makefile.in: Regenerated.
3595 2004-08-16 Tom Tromey <tromey@redhat.com>
3598 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
3600 2004-08-16 Michael Koch <konqueror@gmx.de>
3603 (math_c_files): Renamed from c_files.
3604 (math_c_source_files): Renamed from c_source_files.
3607 include/Makefile.in,
3608 testsuite/Makefile.in: Regenerated.
3610 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
3612 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
3613 to avoid autoconf warning.
3614 * configure: Rebuilt.
3616 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
3618 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
3619 localhostAddress to loopbackAddress.
3620 * java/net/natInetAddressWin32.cc (lookup): Likewise.
3622 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3624 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
3625 boehm-gc's include dirs.
3626 * configure: Rebuilt.
3627 * include/boehm-gc.h: Include gc_config.h.
3629 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3631 * java/net/InetAddress.java (loopbackAddress): Renamed from
3633 (getByName): Return loopback address for null hostname, without
3634 security check. Use lookup(), not getAllByName.
3635 (getAllByName): Return loopback address for null hostname, without
3637 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
3640 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
3643 Reported by Robin Green.
3644 * defineclass.cc (handleField): Don't throw exception on unrecognised
3645 modifier. Add FIXME comments for spec compliance.
3646 (handleMethod): Likewise.
3648 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
3651 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
3652 (Almost everywhere): add LOG calls, fix, add comments.
3653 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
3654 Add explicit check for LOCKED bit in slow case (PR 16662).
3655 (_Jv_MonitorExit): Add casts in debug-only code.
3656 Always release LOCKED bit before throwing exception.
3657 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
3658 isn't. Handle easy cases without lock acquisition.
3659 (Object::wait): Use NotifyAll for lock inflation.
3661 2004-08-12 David Daney <ddaney@avtrex.com>
3663 * testsuite/libjava.lang/Process_1.java: New test.
3664 * testsuite/libjava.lang/Process_2.java: New test.
3665 * testsuite/libjava.lang/Process_3.java: New test.
3666 * testsuite/libjava.lang/Process_4.java: New test.
3667 * testsuite/libjava.lang/Process_5.java: New test.
3668 * testsuite/libjava.lang/Process_6.java: New test.
3669 * testsuite/libjava.lang/Process_1.out: Expected result.
3670 * testsuite/libjava.lang/Process_2.out: Expected result.
3671 * testsuite/libjava.lang/Process_3.out: Expected result.
3672 * testsuite/libjava.lang/Process_4.out: Expected result.
3673 * testsuite/libjava.lang/Process_5.out: Expected result.
3674 * testsuite/libjava.lang/Process_6.out: Expected result.
3676 2004-08-12 David Daney <ddaney@avtrex.com>
3679 * java/lang/PosixProcess.java: Rewrote.
3680 * java/lang/natPosixProcess.cc: Rewrote.
3681 * java/lang/Runtime.java (execInternal): Declare throws IOException.
3682 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
3683 * posix-threads.cc (block_sigchld) New function.
3684 (_Jv_ThreadRegister) Use it.
3685 (_Jv_ThreadStart) Use it.
3686 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
3687 * Makefile.am: ... to specify extra native headers.
3688 * configure: Regenerated.
3689 * include/config.h: Regenerated.
3690 * Makefile.in: Regenerated.
3691 * gcj/Makefile.in: Regenerated.
3692 * include/Makefile.in: Regenerated.
3693 * testsuite/Makefile.in: Regenerated.
3695 2004-08-12 Diego Novillo <dnovillo@redhat.com>
3697 PR tree-optimization/16867
3698 * testsuite/libjava.lang/PR16867.java: New test.
3700 2004-08-09 Per Bothner <per@bothner.com>
3702 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
3703 with private fields and access methods.
3704 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
3705 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
3706 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
3707 ( _Jv_makeUtf8Const): Rewrite using new constructors.
3708 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
3709 * defineclass.cc: Use new _Utf8Const access/convenience methods.
3711 * resolve.cc: Likewise.
3712 * gcj/field.h: Likewise.
3713 * include/jvm.h: Likewise.
3714 * java/lang/Class.h: Likewise.
3715 * java/lang/natClass.cc: Likwise.
3716 * java/lang/natClassLoader.cc: Likewise
3717 * java/lang/reflect/natMethod.cc: Likewise
3718 * verify.cc: Likewise.
3719 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3720 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3722 2004-08-10 Andrew Haley <aph@redhat.com>
3724 * testsuite/libjava.lang/err14.java: New file.
3725 * testsuite/libjava.lang/err14.out: New file.
3727 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3729 * Makefile.am: Fix missing rename from x_nat_headers to
3731 * Makefile.in: Regenerated.
3733 2004-08-04 Andrew Haley <aph@redhat.com>
3735 * java/security/BasicPermission.java: Don't check wildcards.
3737 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3738 Michael Koch <konqueror@gmx.de>
3740 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3741 * configure.in: Replaced all usages of AC_LINK_FILES by
3744 configure: Regenerated.
3746 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3747 Michael Koch <konqueror@gmx.de>
3749 * acconfig.h: Removed.
3750 * Makefile.am: Rename variables for xlib peer to include xlib and
3751 gtk_c_headers to gtk_jni_headers.
3752 * Makefile.in: Regenerated.
3754 2004-08-04 Andrew Haley <aph@redhat.com>
3756 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3759 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3761 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3762 Replace most top level 'dnl' comments with '#' comments, conforming
3763 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3765 * configure: Rebuilt.
3767 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3769 * acinclude.m4: Include no-executables.m4.
3770 * aclocal.m4: Rebuild.
3771 * configure.in: Convert to the autoconf 2.59 version of
3772 of the no-executables hack, and also of the nonstandard CXX
3773 hack and the multilibbed CC and CXX hack. Change prerequisite
3775 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3776 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3777 testsuite/Makefile.in: Regenerate.
3779 2004-08-03 Tom Tromey <tromey@redhat.com>
3781 * jni.cc: Reindented.
3783 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3785 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3787 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3789 * testsuite/libjava.compile/PR16701.java: New test.
3791 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3793 * java/util/Collection.java, java/util/List.java,
3794 java/util/Map.java, java/util/Set.java,
3795 java/util/SortedMap.java, java/util/SortedSet.java:
3796 Added additional exceptions to documentation.
3798 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3801 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3802 * configure. Regenerate.
3803 * include/win32.h: Explicitly include winsock2.h
3804 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3807 2004-07-30 Michael Koch <konqueror@gmx.de>
3809 * java/util/zip/GZIPInputStream.java
3810 (GZIPInputStream): Increase buffer size to 4k.
3811 * java/util/zip/GZIPOutputStream.java
3812 (GZIPOutputStream): Likewise.
3813 * java/util/zip/Inflater.java
3814 (setInput): Merged formating with GNU classpath.
3815 * java/util/zip/InflaterInputStream.java
3816 (InflaterInputStream): Increase buffer size to 4k.
3817 (fill): Throw exception if stream ends early.
3818 (read): Merged endless-loop with GNU classpath.
3819 (skip): Increase buffer size to 2k.
3821 2004-07-30 Michael Koch <konqueror@gmx.de>
3823 * gnu/java/awt/EmbeddedWindow.java
3824 (addNotify): Use AccessController to allow execution of privileged
3827 2004-07-29 Michael Koch <konqueror@gmx.de>
3829 * gnu/java/lang/MainThread.java:
3830 Explicitely import used classes.
3831 (args): Make it type String[].
3833 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3835 * gnu/java/awt/ComponentDataBlitOp.java,
3836 gnu/java/beans/ExplicitBeanInfo.java,
3837 gnu/java/beans/IntrospectionIncubator.java,
3838 gnu/java/beans/editors/ColorEditor.java,
3839 gnu/java/beans/editors/FontEditor.java,
3840 gnu/java/beans/editors/NativeBooleanEditor.java,
3841 gnu/java/beans/editors/NativeByteEditor.java,
3842 gnu/java/beans/editors/NativeDoubleEditor.java,
3843 gnu/java/beans/editors/NativeFloatEditor.java,
3844 gnu/java/beans/editors/NativeIntEditor.java,
3845 gnu/java/beans/editors/NativeLongEditor.java,
3846 gnu/java/beans/editors/NativeShortEditor.java,
3847 gnu/java/beans/editors/StringEditor.java,
3848 gnu/java/io/ClassLoaderObjectInputStream.java,
3849 gnu/java/io/decode/Decoder.java,
3850 gnu/java/io/encode/Encoder.java,
3851 gnu/java/lang/ClassHelper.java,
3852 gnu/java/locale/Calendar.java,
3853 gnu/java/locale/Calendar_de.java,
3854 gnu/java/locale/Calendar_en.java,
3855 gnu/java/locale/Calendar_nl.java,
3856 gnu/java/locale/LocaleInformation_de.java,
3857 gnu/java/locale/LocaleInformation_en.java,
3858 gnu/java/locale/LocaleInformation_nl.java:
3861 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3863 * README: Remove obsolete info. Update bug URL.
3865 * NEWS: Updated with news up to GCC 3.4 release.
3867 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3869 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3870 Renamed from 'setName'. New 2-argument form with default value.
3871 (run): Pass default 'value' parameter to System.getProperty().
3872 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3874 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3877 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3879 * configure.in: Check for minimum GTK version 2.4 requirement.
3880 * configure: Rebuilt.
3882 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3884 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3885 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3887 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3889 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3890 address. Reduce sleep times. Synchronize with target threads before
3891 attempting to interrupt them. Don't try to calibrate yeild count,
3892 instead, always loop for a fixed time.
3893 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3894 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3895 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3896 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3897 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3898 * testsuite/libjava.lang/pr179.java: Likewise.
3899 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3900 time. Remove upper bounds check on sleep time.
3902 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3904 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3905 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3907 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3909 * java/io/File.java (toURI): Throw RuntimeException, not
3911 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3912 class name, not instance.
3914 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3916 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3917 and gnu/java/security/action/SetAccessibleAction.java.
3918 * Makefile.in: Rebuilt.
3920 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3922 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3923 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3925 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3926 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3927 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3929 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3931 * Makefile.am: Replace jar, rmic and rmiregistry references with
3932 gjar, grmic and grmiregistry.
3933 * configure.in: Likewise.
3934 * Makefile.in: Regenerate.
3935 * configure: Likewise.
3936 * gcj/Makefile.in: Likewise.
3937 * include/Makefile.in: Likewise.
3938 * testsuite/Makefile.in: Likewise.
3940 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3942 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3943 for privileged getProperty calls.
3944 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3945 SetAccessibleAction instead of anonymous class for doPrivileged call.
3946 (getMethod): Likewise.
3947 (setAccessible): New field. PrivilegedAction object to use when
3948 calling setAccessible.
3949 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3950 SetAccessibleAction instead of anonymous class for diPrivileged call.
3951 (setFields): Likewise.
3952 (getClassUID): Likewise.
3953 (findMethod): Likewise.
3954 * gnu/java/security/action/GetPropertyAction.java: New class.
3955 * gnu/java/security/action/SetAccessibleAction.java: New class.
3957 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3959 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3961 * testsuite/libjava.lang/Serialization.java: New test.
3962 * testsuite/libjava.lang/Serialization.out: New.
3964 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3966 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3967 missed in last commit.
3969 2004-07-23 Mark Wielaard <mark@klomp.org>
3971 * java/lang/System.java (static): Set http.agent system property when
3973 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3974 from system property inside AccessController.doPrivileged() call.
3975 (proxyPort): Made package private.
3976 (proxyInUse): Likewise.
3977 (proxyHost): Likewise.
3978 (userAgent): Likewise.
3980 2004-07-23 Mark Wielaard <mark@klomp.org>
3982 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3985 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3987 * Makefile.am (ordinary_java_source_files): Add
3988 DefaultContentHandlerFactory.java.
3989 * Makefile.in: Rebuilt.
3990 * java/net/URLConnection.java (defaultFactory): New field.
3992 (getContentHandler): Renamed from 'setContentHandler'. Try
3993 defaultFactory after user-set factory, if any. Search for content
3994 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3995 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3997 (getLastModified): Implemented.
3998 (getPermission): Create file permission here, instead of in
4000 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
4002 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
4004 (getLastModified): Implemented.
4005 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
4006 Default implementation.
4007 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
4008 Implement using GdkPixbufDecoder.
4010 2004-07-21 Michael Koch <konqueror@gmx.de>
4012 * javax/swing/JTextArea.java
4013 (setLineWrap): Fire property change event after new value is set.
4014 (setTabSize): Likewise.
4016 2004-07-21 Michael Koch <konqueror@gmx.de>
4018 * javax/swing/JTable.java
4019 (autoCreateColumnsFromModel): New field.
4020 (autoResizeMode): Likewise.
4021 (cellEditor): Likewise.
4022 (cellSelectionEnabled): Likewise.
4023 (columnModel): Likewise.
4024 (dataModel): Likewise.
4025 (defaultEditorsByColumnClass): Likewise.
4026 (defaultRenderersByColumnClass): Likewise.
4027 (editingColumn): Likewise.
4028 (editingRow): Likewise.
4029 (gridColor): Likewise.
4030 (preferredViewportSize): Likewise.
4031 (rowHeight): Likewise.
4032 (rowMargin): Likewise.
4033 (rowSelectionAllowed): Likewise.
4034 (selectionBackground): Likewise.
4035 (selectionForeground): Likewise.
4036 (selectionModel): Likewise.
4037 (showHorizontalLines): Likewise.
4038 (showVerticalLines): Likewise.
4039 (tableHeader): Likewise.
4040 (JTable): Implemented.
4041 (getColumnModel): Likewise.
4042 (getSelectedRow): Likewise.
4043 (getSelectionModel): Likewise.
4044 (setModel): Likewise.
4045 (setSelectionModel): Likewise.
4046 (createScrollPaneForTable): New method.
4047 (createDefaultDataModel): Likewise.
4048 (createDefaultListSelectionModel): Likewise.
4049 (getModel): Likewise.
4050 (getTableHeader): Likewise.
4051 (setTableHeader): Likewise.
4052 (getColumnSelectionAllowed): Likewise.
4053 (setColumnSelectionAllowed): Likewise.
4054 (getRowSelectionAllowed): Likewise.
4055 (setRowSelectionAllowed): Likewise.
4056 (getAutoResizeMode): Likewise.
4057 (setAutoResizeMode): Likewise.
4058 (getColumnCount): Likewise.
4059 (getRowCount): Likewise.
4060 (getCellRenderer): Likewise.
4061 * javax/swing/JTree.java
4062 (cellRenderer): New field.
4063 (editable): Likewise.
4064 (rootVisible): Likewise.
4065 (showsRootHandles): Likewise.
4066 (getModel): New method.
4067 (setModel): Likewise.
4068 (isEditable): Likewise.
4069 (setEditable): Likewise.
4070 (isRootVisbile): Likewise.
4071 (setRootVisible): Likewise.
4072 (getShowsRootHandles): Likewise.
4073 (setShowRootHandles): Likewise.
4074 (getCellRenderer): Likewise.
4075 (setCellRenderer): Likewise.
4077 2004-07-21 Michael Koch <konqueror@gmx.de>
4079 * javax/swing/JFormattedTextField.java
4080 (setDocument): Implemented.
4081 * javax/swing/JRootPane.java:
4083 * javax/swing/JTable.java
4084 (getDefaultRenderer): New method.
4085 * javax/swing/JTextField.java
4086 (setFont): Likewise.
4087 (getPreferredSize): Likewise.
4088 * javax/swing/JToggleButton.java
4089 (getAccessibleContext): Fix javadoc.
4090 * javax/swing/JTree.java:
4092 * javax/swing/JViewport.java:
4095 2004-07-21 David Jee <djee@redhat.com>
4097 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
4098 Collect all native method declaration at the top.
4099 (create): Set the filename filter if necessary.
4100 (setDirectory): Call nativeSetDirectory().
4101 (setFilenameFilter): Implement.
4102 (filenameFilterCallback): New method.
4103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4104 (create): Configure dialog to show hidden files.
4105 (filenameFilterCallback): New function.
4106 (nativeSetFilenameFilter): New function.
4107 (nativeSetDirectory): New function.
4109 2004-07-21 Kim Ho <kho@redhat.com>
4111 * javax/swing/plaf/basic/BasicSliderUI.java:
4113 (paintTrack): Fill the track before painting
4116 2004-07-21 Graydon Hoare <graydon@redhat.com>
4118 patch from Roman Kennke <roman@ontographics.com>
4119 * javax/swing/Spring.java: New file.
4120 * javax/swing/SpringLayout.java: New file.
4121 * Makefile.am: Add new files.
4122 * Makefile.in: Regenerate.
4124 2004-07-21 Graydon Hoare <graydon@redhat.com>
4126 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
4127 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
4128 * javax/swing/ScrollPaneLayout.java: Likewise.
4130 2004-07-21 Kim Ho <kho@redhat.com>
4132 * javax/swing/DefaultDesktopManager.java:
4133 (findMinimum): Removed.
4134 (resizeFrame): Trust the UI to pass valid
4136 * javax/swing/JOptionPane.java:
4137 Implemented showInternalXXXDialog methods.
4138 (startModal): New method.
4139 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
4140 (BorderListener::mouseDragged): Verify that the new
4141 bounds are valid before passing them to the DesktopManager.
4142 (preferredLayoutSize): Delegate
4144 (minimumLayoutSize): Ditto.
4145 (getSize): New method.
4146 (GlassPaneDispatcher): Reimplemented by copying
4147 a stripped down LightweightDispatcher from Container.
4148 (getMinimumSize): Call minimumLayoutSize.
4149 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
4151 (mousePressed): Add ability to properly close
4153 * javax/swing/plaf/basic/BasicToolBarUI.java:
4154 (DragWindow): Set owner for DragWindow.
4156 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4158 * java/awt/image/ShortLookupTable.java: New file.
4159 * java/awt/image/ByteLookupTable.java: New file.
4160 * Makefile.am: Added new files.
4161 * Makefile.in: Regenerated.
4163 2004-07-21 David Jee <djee@redhat.com>
4165 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
4166 (create(GtkContainerPeer)): New native method.
4167 (create()): Call native create(), passing in the parent frame
4168 as the paramter. Natively set the current file and directory.
4169 (setFile): Construct an absolute filename before passing it to
4171 (nativeGetDirectory): New method.
4172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4173 (window_closed): Removed.
4174 (ok_clicked): Likewise.
4175 (cancel_clicked): Likewise.
4176 (handle_response): New method.
4177 (create): Use GtkFileChooserDialog.
4178 (connectSignals): Connect to handle_response.
4179 (nativeGetDirectory): New method.
4180 (nativeSetFile): Use GtkFileChooserDialog.
4182 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4184 * java/awt/image/LookupTable.java: New file.
4185 * Makefile.am: Added new file.
4186 * Makefile.in: Regenerated.
4188 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
4190 * java/awt/image/Kernel.java: New file.
4191 * Makefile.am: Added new file.
4192 * Makefile.in: Regenerated.
4194 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4196 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
4197 * javax/swing/JMenu.java: Likewise.
4198 * javax/swing/JMenuBar.java: Likewise.
4199 (MARGIN_CHANGED_PROPERTY): New property.
4200 (setMargin): Implemented.
4201 * javax/swing/JMenuItem.java: Fixed javadocs.
4202 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
4203 (LABEL_CHANGED_PROPERTY): New property.
4204 (add): changed to use createActionComponent.
4205 (createActionComponent): Implemented.
4206 (setLabel): Fire PropertyChangeEvent if label property
4208 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
4209 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
4210 (ContainerHandler): Repaint if margin property has changed.
4211 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4212 (installUI): Call installComponents().
4213 (uninstallUI): Call uinstallComponents().
4214 * javax/swing/plaf/basic/BasicMenuUI.java:
4216 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4219 2004-07-21 Kim Ho <kho@redhat.com>
4221 * javax/swing/plaf/basic/BasicToolBarUI.java:
4222 (DragWindow): Use the right constructor.
4224 2004-07-21 Kim Ho <kho@redhat.com>
4226 * javax/swing/JToolBar.java:
4227 (layoutContainer): Use getComponents.
4228 * javax/swing/plaf/basic/BasicToolBarUI.java:
4229 (DragWindow): Don't use SwingUtilities'
4231 (ToolBarDialog): ditto.
4233 2004-07-21 Kim Ho <kho@redhat.com>
4235 * javax/swing/JRootPane.java:
4237 (layoutContainer): Set the glasspane's size to
4238 be the same as the content pane.
4239 (createGlassPane): Set opaque property to false.
4241 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4243 * java/awt/Component.java (requestFocus()): Don't handle Panels
4245 (requestFocus(boolean)): Likewise.
4246 (requestFocusInWindow(boolean)): Likewise.
4247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
4248 Set GTK_CAN_FOCUS flag.
4250 2004-07-21 Kim Ho <kho@redhat.com>
4252 * Makefile.am: Added new file.
4253 * Makefile.in: Regenerated.
4254 * gcj/Makefile.in: Regenerated.
4255 * include/Makefile.in: Regenerated.
4256 * javax/swing/AbstractButton.java:
4257 Add rollOverEnabled property.
4258 (setRolloverEnabled): Use new property.
4259 (isRolloverEnabled): Use new property.
4260 * javax/swing/JTabbedPane.java:
4261 (setComponent): Remove useless JTabbedPane.this.
4262 * javax/swing/JToolBar.java: Finish implementation.
4263 * javax/swing/plaf/basic/BasicArrowButton.java:
4264 (paint): Moved border painting to a border.
4265 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4266 Change JToolBar look and feel defaults.
4267 * javax/swing/plaf/basic/BasicOptionPaneUI.java
4268 (actionPerformed): Return Integer index instead of name.
4269 (addButtonComponents): Check to see if component is
4271 (createMessageArea): Don't use components that are not
4273 (getIconForType): Use temporary icons.
4274 * javax/swing/plaf/basic/BasicSliderUI.java:
4275 (mousePressed): Do not return if it's on thumb.
4276 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
4277 (paintMinorTickForVertSlider): ditto.
4278 (paintMajorTickForHorizSlider): ditto.
4279 (paintMajorTickForVertSlider): ditto.
4280 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
4281 Add a border around the SplitPaneDivider.
4282 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
4284 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
4285 New file. Implemented.
4286 * javax/swing/plaf/basic/BasicToolBarUI.java:
4288 * testsuite/Makefile.in: Regenerated.
4290 2004-07-21 Graydon Hoare <graydon@redhat.com>
4292 * javax/swing/Timer.java (run): Queue events each time cycle.
4294 2004-07-21 David Jee <djee@redhat.com>
4296 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4297 (imageComplete): Call image.imageComplete().
4298 * java/awt/image/MemoryImageSource.java:
4299 Reimplement consumers as a Vector instead of a Hashtable. This is
4300 because enumeration on a Hashtable is not thread-safe.
4301 (addConsumer): Adapt to Vector consumers.
4302 (isConsumer): Adapt to Vector consumers.
4303 (removeConsumer): Adapt to Vector consumers.
4304 (startProduction): Adapt to Vector consumers. Call imageComplete()
4305 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
4306 (newPixels): Adapt to Vector consumers.
4307 (sendPicture): Set the color model of the image consumer.
4308 (newPixels(IIII)): Adapt to Vector consumers.
4309 (newPixels(IIIIB)): Adapt to Vector consumers.
4311 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4313 * java/awt/Component.java (deliverEvent): Implement.
4314 (postEvent): Implement.
4315 (handleEvent): Implement.
4316 (translateEvent): New method.
4317 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
4318 * java/awt/Container.java (deliverEvent): Implement.
4319 * java/awt/Event.java (paramString): Fix formatting.
4320 * java/awt/Font.java (toString): Likewise.
4321 * java/awt/Window.java (postEvent): Implement.
4323 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4325 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4326 Set window's focus owner upon receiving a FOCUS_LOST event.
4327 * java/awt/Window.java (Window()): Refocus the previously
4328 focused component within the window when the window regains the
4330 (setFocusOwner): New method.
4331 * java/awt/Component.java (requestFocus): Add FIXME.
4333 * libgcj.pc.in: Remove library flags.
4335 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4337 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
4338 MOUSE_PRESSED event.
4339 * java/awt/Component.java (requestFocus()): Handle Panel
4340 specially. Post FOCUS_LOST event on opposite component.
4341 (requestFocus(boolean)): Likewise.
4342 (requestFocusInWindow(boolean)): Likewise.
4343 (paramString): Reorder dimension fields.
4344 * java/awt/Container.java (paramString): Fix string format.
4345 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
4346 Handle FOCUS_LOST events. Don't handle Windows specially. Only
4347 process key events if the focus owner is non-null.
4348 (dispatchKeyEvent): Likewise.
4349 * java/awt/Frame.java (paramString): Fix formatting.
4350 (generateName): New method.
4351 (getUniqueLong): Likewise.
4352 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
4353 the temporary focus owner is null. If so, return the permanent
4355 * java/awt/Panel.java (generateName): New method.
4356 (getUniqueLong): Likewise.
4357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
4358 signal handling to make callbacks more specific.
4360 2004-07-21 Michael Koch <konqueror@gmx.de>
4362 * javax/swing/text/Position.java
4363 (Bias): Implemented.
4365 2004-07-21 Michael Koch <konqueror@gmx.de>
4367 * javax/swing/LookAndFeel.java
4368 (provideErrorFeedback): New method.
4370 2004-07-21 Michael Koch <konqueror@gmx.de>
4372 * javax/swing/JTextArea.java
4373 (tabSize): New field.
4374 (getTabSize): New method.
4375 (setTabSize): Likewise.
4377 2004-07-21 Michael Koch <konqueror@gmx.de>
4379 * javax/swing/ActionMap.java:
4380 Fixed javadocs all over.
4381 (serialVersionUID): Made private.
4382 (parent): Don't explicitely initialize with default value.
4384 (keys): Reimplemented.
4385 (allKeys): Likewise.
4386 (convertSet): Removed.
4387 * javax/swing/ComponentInputMap.java:
4388 Fixed javadocs all over.
4389 (ComponentInputMap): Implemented.
4393 (SetParent): Likewise.
4394 (getComponent): Likewise.
4395 * javax/swing/InputMap.java:
4396 Fixed javadocs all over.
4397 (serialVersionUID): Made private.
4398 (parent): Don't explicitely initialize with default value.
4400 (keys): Reimplemented.
4401 (allKeys): Likewise.
4402 (convertSet): Removed.
4404 2004-07-21 Michael Koch <konqueror@gmx.de>
4406 * javax/swing/ActionMap.java,
4407 javax/swing/ComponentInputMap.java,
4408 javax/swing/InputMap.java,
4409 javax/swing/table/DefaultTableColumnModel.java,
4410 javax/swing/table/TableColumn.java,
4411 javax/swing/table/TableColumnModel.java,
4412 javax/swing/table/TableModel.java,
4413 javax/swing/text/AbstractDocument.java,
4414 javax/swing/text/TextAction.java:
4417 2004-07-21 Graydon Hoare <graydon@redhat.com>
4419 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
4420 Make method non-static.
4421 * javax/swing/AbstractButton.java:
4422 Rename fields to match property names where possible.
4423 (iconTextGap): New property.
4424 * javax/swing/JCheckBox.java: Match AbstractButton changes.
4425 (init) New method, call from after various constructors.
4426 * javax/swing/JComponent.java (revalidate):
4427 Invalidate before queueing repair.
4428 * javax/swing/JList.java (getPreferredScrollableViewportSize):
4429 Reimplement in terms of visibleRowCount property.
4430 * javax/swing/JMenuButton.java: Match AbstractButton changes.
4431 * javax/swing/JScrollPane.java (createScrollListener):
4432 Remove tracing chatter.
4433 * javax/swing/JToggleButton.java: Match AbstractButton changes.
4434 * javax/swing/RepaintManager.java (addInvalidComponent):
4436 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
4438 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
4439 Mimic sun behavior on top left/right positioning.
4440 * javax/swing/ViewportLayout.java (preferredLayoutSize):
4441 Remove mistaken use of preferredScrollableViewportSize here.
4442 (layoutContainer): Use view's preferred size as basis.
4443 * javax/swing/plaf/basic/BasicButtonUI.java:
4444 Set, get, and use textIconGap property.
4445 (paint) Paint text returned from layout (with ellipsis).
4446 * javax/swing/plaf/basic/BasicListUI.java:
4447 Remove tracing chatter, correct various minor calculations.
4448 (getCellBounds): Update layout state before calculating.
4449 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
4450 Use margin default similar to sun's.
4451 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
4452 (createIncreaseIcon): Center icon, minimize margins.
4453 (createDecreaseIcon): Likewise.
4454 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
4456 (installUI): Call it.
4457 (uninstallDefaults): Implement.
4458 (uninstallUI): Call it.
4459 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
4460 Call existing Window constructor.
4461 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
4462 Set clip before painting.
4464 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4466 * javax/swing/JMenuItem.java:
4467 (processMouseEvent): Reimplemented to deal with
4469 (createMenuDragMouseEvent): New private helper method.
4470 Creates MenuDragMouseEvent.
4471 * javax/swing/MenuSelectionManager.java
4472 (componentForPoint): Implemented.
4473 (isComponentPartOfCurrentMenu): Made public.
4474 (processMouseEvent): Reimplemented to deal with
4476 (setSelectedPath): Corrected small mistake that caused
4477 path to be set incorrectly.
4478 (getPath): If given component is JMenu then also add this
4479 menu's popup menu to the selected path.
4480 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4482 (getPreferredSize): Call getPreferredMenuItemSize().
4483 (getPreferredItemSize): Moved code from getPreferredSize to here.
4484 (installListeners): Install MouseMotionListeners.
4485 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
4486 if mouse wasn't released in the bounds of this menu item.
4487 (MenuDragMouseHandler): Implemented.
4488 * javax/swing/plaf/basic/BasicMenuUI.java:
4489 (installListeners): Install MouseMotionListener and
4490 MenuDrageMouseListener.
4491 (MenuDragMouseHandler): Implemented.
4492 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4493 (uninstallListeners): Implemented.
4495 2004-07-21 Michael Koch <konqueror@gmx.de>
4497 * javax/swing/JCheckBox.java: Reformated.
4498 (JCheckBox): Fixed all constructors.
4499 (isBorderPaintedFlat): New method.
4500 (setBorderPaintedFlat): New method.
4501 * javax/swing/JEditorPane.java
4502 (createEditorKitForContentType): Made public.
4503 (scrollToReference): Likewise.
4504 * javax/swing/JTextArea.java
4505 (setLineWrap): Fire property change.
4506 * javax/swing/JToggleButton.java
4507 (JToggleButton): New constructor.
4508 (JToggleButton): Simplified.
4509 * javax/swing/text/AttributeSet.java
4510 (FontAttribute): Renamed from FontCharacterAttribute.
4511 * javax/swing/text/JTextComponent.java
4512 (KeyBinBinding): Added javadoc.
4513 (JTextComponent): Likewise.
4514 (getAccessibleContext): Fixed javadoc.
4515 * javax/swing/text/View.java
4516 (View): Added javadoc.
4517 * javax/swing/text/TabableView.java: New file.
4518 * Makefile.am: Added javax/swing/text/TabableView.java.
4519 * Makefile.in: Regenerated.
4521 2004-07-21 Graydon Hoare <graydon@redhat.com>
4523 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
4524 * gnu/java/awt/peer/gtk/GtkToolkit.java
4525 (GtkErrorImage): New helper class.
4526 (bufferedImageOrError): New helper method.
4527 (createImage): Use it.
4529 2004-07-21 David Jee <djee@redhat.com>
4531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
4532 (setCaretPosition): Scroll the text view so the new caret position
4533 is visible on screen.
4535 2004-07-21 David Jee <djee@redhat.com>
4537 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
4538 (setBounds): Do not validate awtComponent here.
4539 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
4540 (getPreferredSize): New method.
4541 * java/awt/ScrollPane.java
4542 (ScrollPane): Set default size to 100x100.
4543 (addNotify): If child is not a Panel, wrap it with a new Panel.
4544 (paramString): Implement.
4546 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4548 * javax/swing/JMenu.java:
4549 (setSelected): Display popup menu only if this menu
4550 is showing on the screen.
4551 * javax/swing/JPopupMenu.java:
4552 (processMouseEvent): Added comment.
4553 (processKeyEvent): Likewise.
4554 * javax/swing/MenuSelectionManager.java:
4555 (clearSelectedPath): Only fireStateChanged() after
4556 selected path was changed, not before.
4557 (setSelectedPath): Likewise.
4558 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4559 (paintMenuItem): Corrected position of menu item's
4561 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4562 (installUI): Correct setDefaultLightWeightPopupEnabled call.
4563 (popupMenuCanceled): Reimplemented.
4564 (popupMenuWillBecomeVisible): Select first menu item by default
4565 when displaying free floating popup menus.
4566 (TopWindowListener): Reimplemented.
4568 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4570 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
4571 Panel from being painted twice when it is first shown.
4573 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4575 * java/awt/Window.java: Reverted changes from my
4576 previous patch for creating window without an owner.
4577 * javax/swing/SwingUtilities.java:
4578 (SwingUtilities.OwnerFrame): made static.
4579 (OwnerFrame.setVisible): New method. Overridden with
4580 empty implementation.
4581 (OwnerFrame.isShowing): New method. Ovverridden
4582 to return always true.
4584 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4586 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4587 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4588 (GtkComponentPeer): Remove temporary try/catch block.
4589 (setVisible): Call show and hide.
4590 (show): Make native.
4592 (getArgs): Don't add "visible" argument.
4593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4594 (property_notify_predicate): Return Bool instead of int.
4595 (find_layout): New function.
4596 (connectJObject): Call find_layout.
4597 (connectSignals): Likewise.
4598 (moveLayout): Likewise.
4599 (gtkLayoutSetVisible): Likewise.
4601 2004-07-21 Mark Wielaard <mark@klomp.org>
4603 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4604 on notifier object before calling notifyAll().
4606 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4608 * java/awt/Window.java: Changed constructors to use new
4609 method that is described below. Constructors call this
4610 methods only if newly created window should have an owner.
4611 (setWindowOwner): New method. Implementation for
4612 this method is moved from this(owner,configuration).
4613 * javax/swing/JWindow.java:
4614 (JWindow): Reimplement to use SwingUtilities.ownerFrame
4616 * javax/swing/SwingUtilities.java:
4617 (ownerFrame): Change type of this field to OwnerFrame.
4618 (getOwnerFrame): Changed to return object of type OwnerFrame.
4619 (SwingUtilities.OwnerFrame): New class. Represents owner
4620 of a Window that is not provided with one.
4622 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4624 * javax/swing/AbstractButton.java:
4625 (configurePropertiesFromAction): Set action command
4626 to button's text by default if action command is not
4627 explicitely specified.
4628 * javax/swing/JMenu.java: Remove unnecessary listener
4629 and methods relevant to it.
4630 (setSelected): Reimplemented.
4631 (menuSelectionChanged): Moved most part of implementation to
4632 setSelected() and call it instead.
4633 * javax/swing/JMenuItem.java:
4634 (init): Comment out statement that sets paint_border to false.
4635 (configurePropertiesFromAction): Do not set accelerator
4637 (menuSelectionChanged): Change selected index in the selection
4638 model of menu item's parent.
4639 * javax/swing/JPopupMenu.java:
4640 (remove): Set constraints.fill field to GridBagConstraints.BOTH
4641 instead of GridBagConstraints.HORIZONTAL.
4643 (createActionChangeListener): Implemented.
4644 (setVisible): Correct location of HeavyWeightMenu and
4645 don't firePopupMenuCanceled().
4646 (menuSelectionChanged): Implemented.
4647 (ActionChangeListener): New Listener. Implemented.
4648 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4649 (BasicMenuBarUI.ContainerHandler): Implemented.
4650 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4651 (paintMenuItem): Uncommented out code that paints
4652 icon, now that icons are working properly.
4653 (PropertyChangeListener): Implemented.
4654 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
4656 (topWindowListener): New field.
4657 (Constructor): initialize topWindowListener.
4658 (BasicPopupMenuUI.TopWindowListener): Implemented.
4659 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
4660 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
4663 2004-07-21 Michael Koch <konqueror@gmx.de>
4665 * javax/swing/plaf/basic/BasicButtonUI.java
4666 (paintFocus): Fixed method signature.
4667 (paintButtonPressed): Likewise.
4668 (paintButtonNormal): Likewise.
4669 (paintText): New method.
4670 * javax/swing/plaf/basic/BasicLabelUI.java
4671 (paint): Re-indented.
4672 * javax/swing/plaf/basic/BasicTextUI.java
4673 (installUI): Set parent textComponent to opaque.
4674 * javax/swing/text/DefaultHighlighter.java
4675 (checkPositions): New helper method.
4676 (addHighlight): Throws BadLocationException, check positions.
4677 (changeHighlight): Likewise.
4678 * javax/swing/text/EditorKit.java
4679 (EditorKit): Implements Serializable.
4680 * javax/swing/text/JTextComponent.java
4681 (getUI): Added javadoc.
4683 (upadteUI): Added javadoc, don't revalidate and repaint.
4685 2004-07-21 David Jee <djee@redhat.com>
4687 * java/awt/GridBagLayout.java
4688 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
4689 * javax/swing/AbstractButton.java
4690 (setText): Reindent.
4691 * javax/swing/RepaintManager.java
4692 (addInvalidComponent): Find the first ancestor that isValidateRoot().
4694 2004-07-21 Michael Koch <konqueror@gmx.de>
4696 * javax/swing/JFormattedTextField.java
4698 (JFormattedTextField): Implemented.
4699 (getValue): Likewise.
4700 (setValue): Likewise.
4701 * javax/swing/LookAndFeel.java
4702 (getSupportsWindowDecorations): New method.
4703 * javax/swing/UIDefaults.java:
4704 Use java.beans.PropertyChangeSupport instead of doing all ourself.
4705 (addPropertyChangeListener): Made public.
4706 (addResourceBundle): Likewise.
4707 (removeResourceBundle): Likewise.
4708 (setDefaultLocale): Likewise.
4709 * javax/swing/plaf/basic/BasicRootPaneUI.java
4710 (BasicRootPaneUI): Implements PropertyChangeListener.
4711 (propertyChange): New method.
4712 * javax/swing/plaf/basic/BasicTextUI.java
4713 (BasicHighlighter): New inner class.
4714 (createHighlighter): New method.
4715 * javax/swing/plaf/basic/BasicToolBarUI.java
4716 (DragWindow): Extends java.awt.Window.
4717 * javax/swing/text/JTextComponent.java
4718 (getDocument): Removed debug output.
4719 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4720 javax/swing/text/DefaultHighlighter.java,
4721 javax/swing/text/FieldView.java,
4722 javax/swing/text/PlainView.java: New files.
4723 * Makefile.am: Added new files.
4724 * Makefile.in: Regenerated.
4726 2004-07-21 Michael Koch <konqueror@gmx.de>
4728 * javax/swing/JEditorPane.java
4729 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4730 (createEditorKitForContentType): Likewise.
4731 * javax/swing/text/DefaultEditorKit.java
4732 (serialVersionUID): Added constant field.
4733 (EndOfLineStringPropery): Fixed typo.
4734 (DefaultEditorKit): New constructor.
4735 * javax/swing/text/Segment.java:
4736 Import java.text.CharacterIterator.
4737 * javax/swing/text/CharacterIterator.java,
4738 javax/swing/text/PlainEditorKit.java: Removed.
4739 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4740 javax/swing/text/PlainEditorKit.java.
4741 * Makefile.in: Regenerated.
4743 2004-07-21 Michael Koch <konqueror@gmx.de>
4745 * javax/swing/JButton.java,
4746 javax/swing/text/DefaultEditorKit.java,
4747 javax/swing/text/EditorKit.java,
4748 javax/swing/text/Segment.java,
4749 javax/swing/text/StyledEditorKit.java:
4752 2004-07-21 Michael Koch <konqueror@gmx.de>
4754 * javax/swing/ImageIcon.java
4756 (description): Renamed from descr.
4757 (ImageIcon): Added missing constructors.
4758 (setParent): Removed.
4759 (setImageObserver): New method.
4760 (getImageObserver): New method.
4761 (paintIcon): Handle observer = null.
4762 * javax/swing/JButton.java
4763 (removeNotify): Fixed javadoc.
4764 (updateUI): Simplified.
4765 * javax/swing/JRootPane.java
4766 (serialVersionUID): New constant field.
4767 * javax/swing/UIManager.java:
4768 Fixed javadocs all over.
4769 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4770 * javax/swing/text/AbstractDocument.java
4771 (createPosition): Throws BadLocationException.
4772 (getText): Likewise.
4774 * javax/swing/text/ComponentView.java
4775 (modelToView): Likewise.
4776 * javax/swing/text/DefaultEditorKit.java:
4777 Made all public methods public.
4778 (read): Throws BadLocationException and IOException.
4780 * javax/swing/text/EditorKit.java:
4781 Made all public methods public.
4782 (serialVersionUID): New constant field.
4783 (clone): New method.
4784 (read): Throws BadLocationException and IOException.
4786 * javax/swing/text/Segment.java
4787 (array): Made public.
4790 (Segment): New constructors.
4791 (clone): Reimplemented.
4792 * javax/swing/text/StyledEditorKit.java
4793 (serialVersionUID): New constant field.
4795 2004-07-21 Graydon Hoare <graydon@redhat.com>
4797 * java/awt/image/BufferedImage.java
4798 (getSource): Implement.
4799 * javax/swing/ImageIcon.java
4800 (ImageIcon): Implement ctor.
4801 * javax/swing/ScrollPaneLayout.java
4802 (preferredLayoutSize): Be more careful about nulls.
4804 2004-07-21 Michael Koch <konqueror@gmx.de>
4806 * javax/swing/text/AttributeSet.java
4807 (CharacterAttribute): New interface
4808 (ColorAttribute): Likewise.
4809 (FontCharacterAttribute): Likewise.
4810 (ParagraphAttribute): Likewise.
4811 * javax/swing/text/DefaultCaret.java
4812 (moveCaret): New method.
4813 (positionCaret): Likewise.
4814 (repaint): Made protected.
4815 * javax/swing/text/JTextComponent.java
4816 (KeyBinding): Made it static.
4817 * javax/swing/text/View.java
4818 (getContainer): Honor parent == null.
4820 2004-07-21 Michael Koch <konqueror@gmx.de>
4822 * javax/swing/text/AbstractDocument.java:
4825 2004-07-21 Michael Koch <konqueror@gmx.de>
4827 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4828 Import javax.swing.UIManager explicitely.
4829 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4830 (ScrollingButton): Made it static.
4832 2004-07-21 Michael Koch <konqueror@gmx.de>
4834 * javax/swing/UIDefaults.java
4835 (ActiveValue): Made public.
4836 (LazyValue): Likewise.
4837 * javax/swing/plaf/basic/BasicTextUI.java
4838 (RootView): Reintroduced.
4840 (rootView): New field.
4841 (installUI): Create document if needed, initialize rootView.
4842 (uninstallUI): Hanle rootView.
4844 (getRootView): Likewise.
4845 (setView): Likewise.
4846 * javax/swing/text/DefaultCaret.java:
4847 Renamed all "evt" variables to "event".
4849 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4851 * libgcj.spec.in: Add -l-java-util-logging.
4853 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4856 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4857 gtk-xft-dpi can no calculate the right value.
4858 (dpi_changed_cb): Mark *pspec as unsused.
4860 2004-07-21 David Jee <djee@redhat.com>
4862 * java/awt/Component.java
4863 (move): Delegate to setBounds().
4865 (reshape): Fix so it repaints parent and self only when necessary.
4867 2004-07-21 David Jee <djee@redhat.com>
4869 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4870 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4871 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4872 (setVisible): Likewise.
4875 (getArgs): Likewise.
4876 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4877 (property_notify_predicate): Likewise.
4878 (find_layout): Likewise.
4879 (connectJObject): Likewise.
4880 (connectSignals): Likewise.
4881 (moveLayout): Likewise.
4882 (gtkLayoutSetVisible): Likewise.
4884 2004-07-21 Graydon Hoare <graydon@redhat.com>
4890 (rmiregistry_LDADD): Add lib-java-util-logging.la
4891 * Makefile.in: Regenerate.
4893 2004-07-21 Michael Koch <konqueror@gmx.de>
4895 * javax/swing/text/AbstractDocument.java
4896 (replace): Dont use protected method of java.util.Vector directly.
4898 2004-07-21 Michael Koch <konqueror@gmx.de>
4900 * javax/swing/plaf/basic/BasicTextUI.java
4901 (installUI): Call specialized install methods.
4902 (installDefaults): New method.
4903 (installListeners): Likewise.
4904 (installKeyboardActions): Likewise.
4905 (uninstallUI): Likewise.
4906 (uninstallDefaults): New method.
4907 (uninstallListeners): Likewise.
4908 (uninstallKeyboardActions): Likewise.
4909 (getPropertyPrefix): New abstract method.
4910 (paint): Made final, just call paintSafely().
4911 (paintSavely): New method.
4912 (paintBackground): Likewise.
4913 (getVisibleEditorRect): Likewise.
4914 * javax/swing/text/LayeredHighlighter.java,
4915 javax/swing/text/TabExpander.java: New files.
4916 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4917 and javax/swing/text/TabExpander.java.
4918 * Makefile.in: Regenerated.
4920 2004-07-21 Michael Koch <konqueror@gmx.de>
4922 * javax/swing/plaf/basic/BasicTextUI.java
4923 (BasicTextUI): Made abstract.
4924 (BasicCaret): New inner class.
4925 (view): Don't explicitely initialize with "null".
4926 (textComponent): New field.
4927 (textColor): Removed.
4928 (disabledTextColor): Removed.
4929 (normalBackgroundColor): Removed.
4930 (RootView): Removed commented out inner class.
4931 (createUI): Removed.
4932 (createCaret): New method.
4933 (getComponent): Likewise.
4934 (installUI): Initialize textComponent only.
4935 (getPreferredSize): Use installed JTextComponent.
4936 (setView): New method.
4938 * javax/swing/text/JTextComponent.java
4939 (highlighter): New field.
4940 (caretColor): Likewise.
4941 (disabledTextColor): Likewise.
4942 (seletedTextColor): Likewise.
4943 (selectionColor): Likewise.
4944 (setUI): New method.
4945 (getCaretColor): Likewise.
4946 (setCaretColor): Likewise.
4947 (getDisabledColor): Likewise.
4948 (setDisabledColor): Likewise.
4949 (getSelectedTextColor): Likewise.
4950 (setSelectedTextColor): Likewise.
4951 (getSelectionColor): Likewise.
4952 (setSelectionColor): Likewise.
4953 (getHighlighter): Likewise.
4954 (setHighlighter): Likewise.
4955 (replaceSelection): Likewise.
4957 2004-07-21 Michael Koch <konqueror@gmx.de>
4959 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4960 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4961 * javax/swing/plaf/basic/BasicToolBarUI.java
4962 (BasicToolBarUI): Implements SwingConstants.
4964 2004-07-21 Michael Koch <konqueror@gmx.de>
4966 * javax/swing/JPopupMenu.java: Removed CVS tags.
4967 * javax/swing/UIDefaults.java: Reformatted.
4968 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4969 Explicitely import used classes.
4971 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4973 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4974 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4975 (GtkComponentPeer): Remove temporary try/catch block.
4976 (setVisible): Call show and hide.
4977 (show): Make native.
4979 (getArgs): Don't add "visible" argument.
4980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4981 (property_notify_predicate): Return Bool instead of int.
4982 (find_layout): New function.
4983 (connectJObject): Call find_layout.
4984 (connectSignals): Likewise.
4985 (moveLayout): Likewise.
4986 (gtkLayoutSetVisible): Likewise.
4988 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4990 * javax/swing/AbstractButton.java:
4991 (setDisplayedMnemonicIndex): Check if button
4992 text is not null before checking its length.
4993 * javax/swing/JMenuItem.java:
4994 (processMouseEvent): Disarm menu item if mouse has
4996 * javax/swing/plaf/basic/BasicMenuUI.java:
4997 (MouseInputHandler.mouseEntered): Do not raise
4998 popup menu if this menu is already selected.
4999 (MouseInputHandler.mousePressed): Do not fire
5001 (MenuHandler): Implemented.
5003 2004-07-21 Olga Rodimina <rodimina@redhat.com>
5005 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
5006 (getSelectedObjects): Implemented.
5007 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
5008 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
5009 Added javadoc for few methods.
5010 (processMouseEvent): Made public.
5011 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
5012 (processMouseEvent): Likewise.
5014 2004-07-21 Olga Rodimina <rodimina@redhat.com>
5016 * javax/swing/AbstractButton.java:
5017 (init): Set display mnemonic index to -1.
5018 (setMnemonic(char)): Use setMnemonic(int).
5019 (setMnemonic(int)): Set display mnemonic index.
5020 (getDisplayedMnemonicIndex): Change method signature
5021 by removing 'index' parameter.
5022 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5023 Added default for Menu.selectionBackground.
5024 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5025 (paintMenuItem): Change background color of the selected
5027 (paintText): Paint differently when menu item is disabled.
5028 Also paint mnemonic if it appears in the menu item's label.
5029 (paintAccelerator): Paint accelerator differently
5030 if menu item is disabled.
5031 * javax/swing/plaf/basic/BasicMenuUI.java:
5032 (installDefaults): Install defaults for
5033 selectionForeground and selectionBackground.
5034 (uninstallDefaults): Uninstall defauls for
5035 selectionForeground and selectionBackground.
5037 2004-07-21 Michael Koch <konqueror@gmx.de>
5039 * javax/swing/text/AbstractDocument.java
5040 (BranchElement): Implemented.
5041 (LeafElement): Implemented.
5042 * javax/swing/text/DefaultCaret.java:
5043 Import used classes.
5044 (serialVersionUID): New constant.
5045 * javax/swing/text/JTextComponent.java
5046 (AccessibleJTextComponent): Removed dead declaration.
5047 (caretPos): Removed.
5048 (setCaret): New method.
5049 * javax/swing/text/PlainDocument.java
5050 (rootElement): New field.
5051 (PlainDocument): Initialize rootElement.
5052 (createDefaultRoot): New method.
5053 (getDefaultRootElement): Implemented.
5054 * javax/swing/text/View.java: Reformatted.
5055 * javax/swing/text/ViewFactory.java
5056 (create): Added javadoc.
5058 2004-07-21 Michael Koch <konqueror@gmx.de>
5060 * javax/swing/ToolTipManager.java: Reformatted.
5062 2004-07-21 Rodimina Olga <rodimina@redhat.com>
5064 * javax/swing/AbstractButton.java
5065 (changeEvent): New field.
5066 (fireItemStateChanged): Change source of the event
5067 to 'this' before firing it to button listeners.
5068 (fireActionPerformed): Likewise.
5069 (fireStateChanged): Likewise.
5070 (createActionListener): Do not set source
5071 of the event to AbstractButton.
5072 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5073 (ContainerHandler.componentAdded): Removed
5074 print out statement.
5075 (ContainerHandler.componentRemoved): Likewise.
5077 2004-07-21 Michael Koch <konqueror@gmx.de>
5079 * javax/swing/text/Highlighter.java: New file.
5080 * Makefile.am: Added javax/swing/text/Highlighter.java.
5081 * Makefile.in: Regenerated.
5083 2004-07-21 Michael Koch <konqueror@gmx.de>
5085 * javax/swing/ToolTipManager.java
5086 (stillInsideTimerAction): Fixed constructor arguments.
5087 (outsideTimerAction): Likewise.
5088 (insideTimerAction): Likewise.
5090 2004-07-21 Michael Koch <konqueror@gmx.de>
5092 * javax/swing/JButton.java: Reformatted.
5093 * javax/swing/JFormattedTextField.java
5094 (getUIClassID): Implemented.
5095 * javax/swing/JRootPane.java
5096 (serialVersionUID): New constant.
5097 * javax/swing/JTextField.java
5099 (JTextField): Simplified.
5100 (getUIClassID): New method.
5101 (getActionListeners): Added @since tag.
5102 (setColumns): Invalidate layout and repaint.
5103 (getHorizontalAlignment): New method.
5104 (setHorizontalAlignment): New method.
5105 (selectAll): Removed.
5106 * javax/swing/SwingUtilities.java
5107 (getAncestorOfClass): Removed redundant @see tag.
5108 (isLeftMouseButton): Fixed implementation.
5109 (isMiddleMouseButton): Likewise.
5110 (isRightMouseButton): Likewise.
5111 * javax/swing/text/AbstractDocument.java
5112 (AttributeContext.addAttribute): New method.
5113 (AttributeContext.addAttributes): New method.
5114 (AttributeContext.getEmptySet): New method.
5115 (AttributeContext.reclaim): New method.
5116 (AttributeContext.removeAttribute): New method.
5117 (AttributeContext.removeAttributes): New method.
5118 * javax/swing/text/Document.java
5119 (createPosition): Throws BadLocationException.
5120 (getText): Likewise.
5122 * javax/swing/text/JTextComponent.java
5123 (getText): Return null if no document is set. Catch
5124 BadLocationException.
5126 (updateUI): Simplified.
5128 2004-07-21 Michael Koch <konqueror@gmx.de>
5130 * javax/swing/JButton.java
5131 (removeNotify): Fixed javadoc.
5132 (updateUI): Simplified.
5134 2004-07-21 David Jee <djee@redhat.com>
5136 * gnu/java/awt/image/ImageDecoder.java
5137 (startProduction): Only add consumer if it's not added yet.
5138 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5139 (GdkPixbufDecoder): Don't call initState() here.
5140 (produce): Call initState() here, to ensure area_prepared and
5141 area_updated signals are properly connected.
5142 * gnu/java/awt/peer/gtk/GtkImage.java
5143 (setColorModel): Use equals() to compare ColorModel objects.
5144 (setPixels): Likewise.
5145 * java/awt/image/ColorModel.java
5146 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
5147 * java/awt/image/RGBImageFilter.java
5148 (setColorModel): Set consumer's color model.
5149 (setPixels): Use equals() to compare ColorModel objects.
5151 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
5153 * java/net/URLConnection.java (position): New field.
5154 (dateFormat1, dateFormat2, dateFormat3): Removed.
5155 (dateFormats): New field.
5156 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
5157 each time instead of re-allocating.
5158 (initializeDateFormats): Initialize 'dateFormats'.
5160 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5163 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
5166 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5168 * java/net/Socket.java (getImpl): Now private. Remove comment.
5170 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
5172 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
5173 of chained Writer when calling super-constructor.
5174 * java/io/FilterWriter.java (FilterWriter): Likewise.
5175 * java/io/PrintWriter.java (PrintWriter): Likewise.
5177 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
5179 * prims.cc (process_gcj_properties): Don't increment i within LHS
5182 2004-07-19 Per Bothner <per@bothner.com>
5184 Print -verbose:message on "loading", not initialization.
5185 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
5186 * defineclass.cc (_Jv_ClassReader::parse): Print message if
5187 gcj::verbose_class_flag.
5188 * java/lang/natClass.cc (initializeClass): Don't print message here.
5189 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
5190 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
5191 (_Jv_PrepareCompiledClass): Likewise.
5193 2004-07-18 Matthias Klose <doko@debian.org>
5195 * configure.in: Substitute target_noncanonical.
5196 * configure: Regenerate
5198 2004-07-17 Michael Koch <konqueror@gmx.de>
5200 * java/lang/String.java: Fixed javadocs all over.
5202 2004-07-17 Mark Wielaard <mark@klomp.org>
5204 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
5205 when size is smaller.
5206 * java/io/RandomAccessFile.java (setLength): Use truncate for
5207 shrinking the file and seek plus write for expanding the file.
5209 2004-07-17 Michael Koch <konqueror@gmx.de>
5211 * gnu/java/nio/channels/natFileChannelPosix.cc
5212 (implTruncate): Always save current position. Only reposition file
5213 pointer to where we started if not beyond new lenght. Reposition file
5214 pointer to file length if it points beyond the end of file.
5216 2004-07-17 Mark Wielaard <mark@klomp.org>
5218 * javax/swing/Box.java: Put FIXME comment above class declaration.
5219 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
5220 * javax/swing/JCheckBox.java: Likewise.
5221 * javax/swing/JDialog.java: Likewise.
5222 * javax/swing/JRadioButton.java: Likewise.
5223 * javax/swing/JToggleButton.java: Likewise.
5224 * javax/swing/UIManager.java: Likewise.
5225 * javax/swing/border/TitledBorder.java: Likewise.
5226 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
5227 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
5228 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
5229 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
5230 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
5231 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
5232 * javax/swing/text/JTextComponent.java: Likewise.
5234 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
5236 * java/net/DatagramPacket.java (setAddress): Removed check for
5239 2004-07-17 Michael Koch <konqueror@gmx.de>
5241 * java/net/DatagramSocket.java
5242 (getLocalAddress): Check if socket is bound or not.
5243 * java/net/Socket.java
5244 (getLocalAddrss): Check if socket is bound or not.
5245 (getPort): Return -1 when not connected. Dont check getImpl() for
5247 (setReuseAddress): Check if socket is closed.
5248 (isConnected): Check if getImpl() returns null.
5250 2004-07-17 Mark Wielaard <mark@klomp.org>
5252 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
5253 on notifier object before calling notifyAll().
5255 2004-07-17 Michael Koch <konqueror@gmx.de>
5257 * gnu/java/nio/channels/FileChannelImpl.java
5258 (finalize): Added javadoc.
5260 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
5262 * java/text/CollationElementIterator.java
5263 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
5264 (setText): Use ArrayList instead of Vector.
5266 2004-07-17 Michael Koch <konqueror@gmx.de>
5268 * java/nio/ByteOrder.java
5269 (static): Removed. Not needed.
5270 Thanks to Patrick Reali for noticing.
5271 * java/nio/charset/CharsetDecoder.java
5272 (decode): Fix for classpath bug #9177: Reset state before flipping.
5274 2004-07-17 Michael Koch <konqueror@gmx.de>
5276 * java/security/Security.java: Fixed javadocs all over.
5278 2004-07-17 Michael Koch <konqueror@gmx.de>
5280 * gnu/java/awt/EmbeddedWindow.java
5282 (addNotify): Set peer via reflection.
5283 (setWindowPeer): Removed.
5284 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
5285 * Makefile.am (nat_source_files):
5286 Removed gnu/java/awt/natEmbeddedWindow.cc.
5287 * Makefile.in: Regenerated.
5289 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
5291 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
5293 * configure: Regenerated.
5295 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
5297 * configure.in: Use build_noncanonical rather than build_alias.
5298 * configure: Rebuild.
5300 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
5301 by logic refactoring. Move default definition of NATIVE closer
5302 to first alternate definition.
5303 * configure: Regenerate.
5305 * Makefile.am: Set ZIP and GCJH directly using autoconf.
5306 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
5307 gcj/Makefile.in: Regenerate.
5308 * configure.in: Set ZIP and GCJH. Remove redundant condition
5309 in AM_CONDITIONAL(NATIVE,...)
5310 * configure: Regenerate.
5312 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
5314 * configure.in: Use target_noncanonical rather than
5315 target_alias for forward-compatibility with autoconf 2.59.
5316 * configure: Regenerate.
5317 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
5318 testsuite/Makefile.am: Substitute target_noncanonical.
5319 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5320 testsuite/Makefile.in: Regenerate.
5322 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
5323 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
5324 * acinclude.m4: Include acx.m4.
5325 * aclocal.m4: Regenerate.
5326 * configure: Regenerate.
5328 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
5331 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
5332 (decimalFormat): New static variable.
5334 (getTime): New. Override Date.getTime().
5335 (toString): Synchronize. Use decimalFormat to format nanos value
5336 correctly. Truncate extra zeros.
5337 (before): Compare getNanos() only if getTime() is equal.
5340 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
5342 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
5343 * configure.in: ...here.
5344 * aclocal.m4: Regenerate.
5345 * configure: Regenerate.
5347 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
5348 * configure: Rebuilt with autoconf 2.13.
5349 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5350 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
5352 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
5355 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
5357 * Makefile.in: Rebuilt.
5358 * testsuite/libjava.lang/LargeFile.java: New test case.
5359 * testsuite/libjava.lang/LargeFile.out: New file.
5361 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5363 * java/beans/EventHandler.java: Remove debugging statements.
5365 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
5367 * java/beans/EventHandler.java: New file.
5368 * Makefile.am (awt_java_source_files): Add EventHandler.java.
5369 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
5370 testsuite/Makefile.in: Regenerate.
5372 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
5374 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
5375 flag to the gcj_setup.
5376 (gcj_jacks_run): Check tclsh version and launch jacks directly with
5378 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
5379 deprecation flag change. 58 XFAILS removed.
5381 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
5383 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
5384 -fno-use-divide-subroutine.
5385 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
5386 (HANDLE_FPE): Define.
5387 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
5388 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5389 (HANDLE_DIVIDE_OVERFLOW): Define.
5391 2004-07-14 Michael Koch <konqueror@gmx.de>
5392 Matthias Klose <doko@debian.org>
5394 * java/awt/im/InputContext.java: Initialize in, line.
5396 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
5398 * interpret.cc (run): Correctly access libffi return values of
5399 integral smaller-than-int type; these are implicitly promoted.
5401 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
5404 * interpret.cc (compile_mutex): New.
5405 (_Jv_InitInterpreter): New. Initialize compile_mutex.
5406 (run): Lock compile_mutex before calling compile() if compilation is
5408 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
5409 * include/java-interp.h (_Jv_InitInterpreter): Declare.
5411 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
5414 * include/jvm.h (_Jv_value): New union type.
5415 * gcj/field.h (_Jv_Field): Add new _addr union field variants
5416 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
5419 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
5421 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
5422 * gnu/awt/xlib/XOffScreenImage.java
5423 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
5424 constructor argument. Add constructor using ImageProducer.
5425 (getSource): Implement.
5426 (imageComplete): New method.
5427 (setColorModel): New method.
5428 (setDimensions): New method.
5429 (setHints): New method.
5430 (setPixels): New method.
5431 (setProperties): New method.
5432 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
5433 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
5435 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
5438 * prims.cc (_Jv_CreateJavaVM): Fix comment.
5439 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
5440 (finalizerReady): Now native.
5442 (runFinalizers): Removed.
5443 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
5444 a primitive lock, and don't hold it while running the finalizers.
5445 (runFinalizers): Implement. Don't aquire any Java lock.
5446 (finalizerReady): Use lock primitives to signal finalizer thread.
5448 2004-07-11 Mark Wielaard <mark@klomp.org>
5450 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
5451 * java/net/URLStreamHandler.java (parseURL): When url file part
5452 doesn't contain a '/' just ignore context.
5454 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
5456 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
5457 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
5458 (MAKE_THROW_FRAME): Do not modify PSW address.
5459 (INIT_SEGV): Install SIGINFO-style signal handler.
5460 (INIT_FPE): Likewise.
5462 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5464 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
5465 status. 21 xfail's removed, 1 added.
5467 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
5469 * gcj/javaprims.h: Regenerate CNI namespace definitions.
5471 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
5473 * java/text/MessageFormat.java
5474 (formatInternal): Append "{n}" if argument n is unavailable.
5475 (format(Object, StringBuffer, FieldPosition)): This
5476 should be equivalent to format(Object[],
5477 StringBuffer, FieldPosition).
5479 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5481 * java.util.Calendar.java (cache): New private static field. Cached
5482 mappings of locales->calendar classes.
5483 (ctorArgTypes): New private static field. Singleton argument for
5484 calendar class constructor lookup.
5485 (getInstance): Cache Locale->Calendar class mappings using HashMap.
5486 Optimize by bypassing reflection instantiation for the
5487 GregorianCalendar case.
5489 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5491 * java/util/Calendar.java: Use getSystemClassLoader as argument for
5492 ResourceBundle.getBundle() calls.
5493 * java/util/GregorianCalendar.java: Likewise.
5494 * java/util/Currency.java: Likewise.
5495 * java/text/BreakIterator.java: Likewise.
5496 * java/text/Collator.java: Likewise.
5497 * java/text/DateFormat.java: Likewise.
5498 * java/text/DateFormatSymbols.java: Likewise.
5499 * java/text/DecimalFormatSymbols.java: Likewise.
5500 * java/text/NumberFormat.java: Likewise.
5501 * java/awt/Window.java: Likewise.
5503 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5505 * java/util/ResourceBundle.java (bundleCache): Renamed from
5506 resourceBundleCache. Update comments.
5507 (getObject): Don't catch MissingResourceException.
5508 (getBundle(String)): Remove 'final'. Use system classloader if
5509 getCallingClassLoader returned null.
5510 (getBundle(String, Locale)): Likewise.
5511 (BundleKey): New private class. HashMap key for bundle cache lookup.
5512 (lookupKey): New. Singleton instance of BundleKey.
5513 (nullEntry): New. Cache entry to represent failed lookups.
5514 (getBundle(String, Locale, ClassLoader)): Re-written to use new
5515 caching strategy, no-allocation lookup, and new tryBundle methods.
5516 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
5517 name using given classloader.
5518 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
5519 baseName for given Locale and attempt to load bundle.
5521 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5523 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
5524 illegal protected method calls.
5526 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
5528 Fix or remove some bogus test cases.
5529 * testsuite/libjava.compile/pr10459_2.java: Removed.
5530 * testsuite/libjava.compile/pr10459.java: Test using its own method,
5532 * testsuite/libjava.compile/inner_data.java: Test against its own
5535 2004-07-09 Michael Koch <konqueror@gmx.de>
5537 * scripts/unicode-muncher.pl: Updated to version 2.1
5538 from GNU classpath. Added some clarifications on where to find the
5539 needed files from www.unicode.org.
5540 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
5541 gnu/gcj/convert/UnicodeData-3.0.0.txt:
5542 Removed, these can directly be downloaded from www.unicode.org if
5544 * gnu/java/lang/CharData.java: Regenerated.
5545 * include/java-chartables.h: Regenerated.
5546 * Makefile.am (ordinary_java_source_files):
5547 Removed gnu/java/lang/CharData.java.
5548 * Makefile.in: Regenerated.
5550 2004-07-09 Michael Koch <konqueror@gmx.de>
5552 * java/security/AccessControlContext.java,
5553 java/security/SecureClassLoader.java:
5556 2004-07-09 Michael Koch <konqueror@gmx.de>
5558 * java/io/ObjectInputStream.java (readFields): Use long datatype
5559 when shifting byte values more then 24 bits left.
5561 2004-07-09 Michael Koch <konqueror@gmx.de>
5563 * java/util/zip/DeflaterOutputStream.java,
5564 java/util/zip/GZIPInputStream.java,
5565 java/util/zip/GZIPOutputStream.java,
5566 java/util/zip/InflaterInputStream.java:
5567 Reformatted. Added javadocs. Reordered all stuff.
5568 Renamed variables to be more clear.
5570 2004-07-09 Michael Koch <konqueror@gmx.de>
5572 * javax/imageio/IIOException.java,
5573 javax/imageio/event/IIOReadProgressListener.java,
5574 javax/imageio/event/IIOReadUpdateListener.java,
5575 javax/imageio/event/IIOReadWarningListener.java,
5576 javax/imageio/event/IIOWriteProgressListener.java,
5577 javax/imageio/event/IIOWriteWarningListener.java:
5579 * Makefile.am: Added new files.
5580 * Makefile.in: Regenerated.
5582 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
5584 * java/text/RuleBasedCollator.java
5585 (mergeRules): Use ArrayList instead of Vector.
5586 (subParseString): likewise.
5587 (parseString): likewise.
5588 (buildCollationVector): likewise.
5589 (getCollationKey): likewise.
5591 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5593 * java/text/DateFormat.java (parse):
5594 Improved javadoc. Improved exception message.
5596 2004-07-09 Mark Wielaard <mark@klomp.org>
5598 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
5599 interrupted() method to clear interupt flag of our Thread.
5601 2004-07-09 Dalibor Topic <robilad@kaffe.org>
5603 * java/nio/Buffer.java,
5604 java/nio/ByteBuffer.java,
5605 java/nio/ByteBufferHelper.java,
5606 java/nio/ByteBufferImpl.java,
5607 java/nio/CharBuffer.java,
5608 java/nio/CharBufferImpl.java,
5609 java/nio/CharViewBufferImpl.java,
5610 java/nio/DirectByteBufferImpl.java,
5611 java/nio/DoubleBuffer.java,
5612 java/nio/DoubleBufferImpl.java,
5613 java/nio/DoubleViewBufferImpl.java,
5614 java/nio/FloatBuffer.java,
5615 java/nio/FloatBufferImpl.java,
5616 java/nio/FloatViewBufferImpl.java,
5617 java/nio/IntBuffer.java,
5618 java/nio/IntBufferImpl.java,
5619 java/nio/IntViewBufferImpl.java,
5620 java/nio/LongBuffer.java,
5621 java/nio/LongBufferImpl.java,
5622 java/nio/LongViewBufferImpl.java,
5623 java/nio/MappedByteBufferImpl.java,
5624 java/nio/ShortBuffer.java,
5625 java/nio/ShortBufferImpl.java,
5626 java/nio/ShortViewBufferImpl.java:
5627 Fixed javadocs all over. Improved input error
5630 * java/nio/Buffer.java
5631 (checkForUnderflow, checkForOverflow, checkIndex,
5632 checkIfReadOnly, checkArraySize): New helper methods
5635 * java/nio/ByteBufferHelper.java
5636 (checkRemainingForRead, checkRemainingForWrite,
5637 checkAvailableForRead, checkAvailableForWrite): Removed
5638 no longer needed methods.
5640 2004-07-09 Michael Koch <konqueror@gmx.de>
5642 * gnu/regexp/CharIndexedInputStream.java:
5643 Reordered imports to match classpath.
5645 2004-07-09 Michael Koch <konqueror@gmx.de>
5647 * gnu/java/awt/EmbeddedWindow.java:
5648 Load native library for setWindowPeer method.
5650 2004-07-08 Randolph Chung <tausq@debian.org>
5652 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
5653 * configure: Regenerate.
5654 * configure.host: Set can_unwind_signal for hppa*-linux.
5655 * include/pa-signal.h: New file.
5657 2004-07-07 Per Bothner <per@bothner.com>
5659 * Makefile.am: Add rules to build libgij from just gij.cc.
5661 * include/jvm.h (namespace jcj): Declare verbose_class_flag
5662 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
5663 (initializeClass): If verbose_class_flag, print message.
5664 * gij.cc (main): Handle -verbose:class flag.
5666 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
5668 * configure.host: Enable hash synchronization on Darwin.
5669 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
5670 ';', since this is a comment on Darwin.
5671 (compare_and_swap_release): Likewise.
5673 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
5675 * java/net/URLStreamHandler.java (parseURL): Canonicalize
5676 file portion of URL in addition to spec for file: protocol.
5678 2004-07-05 Anthony Green <green@redhat.com>
5680 * java/io/File.java (toURI): Merge from Classpath.
5682 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5684 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
5685 before passing to URL constructor. Rethrow any MalformedURLException
5686 as a RuntimeException. Catch MalformedURLException specifically, not
5689 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
5691 * java/util/Locale.java (readObject): Intern strings read from object
5694 2004-07-04 Michael Koch <konqueror@gmx.de>
5696 * gnu/gcj/runtime/FirstThread.java,
5697 gnu/gcj/runtime/natFirstThread.cc: Removed.
5698 * gnu/java/lang/MainThread.java,
5699 gnu/java/lang/natMainThread.cc: New files.
5700 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
5701 * Makefile.am: Added new files and removed deleted ones.
5702 * Makefile.in: Regenerated.
5704 2004-07-03 Mark Wielaard <mark@klomp.org>
5705 Anthony Green <green@redhat.com>
5707 * java/net/URL.java (getFile): Clarify return value doc.
5708 (getPath): Return null if file is empty - not empty String.
5709 (set): Convert protocol to lower case before doing anything.
5710 Only change the protocol handler if it's different.
5712 2004-07-03 Anthony Green <green@redhat.com>
5714 * java/net/URL.java (URL): Convert protocol to lower case before
5715 doing anything, so we getURLStreamHandler() with the proper value.
5717 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5719 * java/util/Locale.java (hashcode): Made transient.
5720 (hashCode): No longer synchronized.
5721 (equals): Remove comment.
5722 (writeObject): No longer synchronized. Implement using writeObject
5723 calls instead of tweaking hashCode field. Update doc.
5724 (readObject): Implement using readObject calls.
5726 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5727 Andreas Tobler <a.tobler@schweiz.ch>
5729 * configure.host (powerpc-*-darwin*): New case, define
5731 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5732 * configure: Regenerate.
5733 * include/darwin-signal.h: New.
5735 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5737 * java/beans/Statement.java (doExecute): Fix formatting.
5739 2004-06-29 Per Bothner <per@bothner.com>
5741 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5742 etc etc): Remove needless parenthesis, which causes __stdcall__
5743 attribute on MinGW to get ignored.
5745 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5747 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5749 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5751 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5753 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5755 * java/beans/Expression.java: New file.
5756 * java/beans/Statement.java: New file.
5757 * Makefile.am: Added new files.
5758 * Makefile.in: Re-generate.
5760 2004-06-27 Mark Wielaard <mark@klomp.org>
5762 * java/io/FilePermission.java (usingPerms): Removed.
5763 (actionsString): Made final.
5764 (cachePerms): Renamed to checkPerms.
5765 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5767 (FilePermission): Check arguments, call checkPerms().
5768 (equals): Remove cachePerms() call.
5769 (implies): Likewise.
5771 2004-06-27 Mark Wielaard <mark@klomp.org>
5773 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5775 (sendRequest): Use new field in user-agent http agent.
5777 2004-06-27 Mark Wielaard <mark@klomp.org>
5779 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5780 when argument is null.
5782 2004-06-26 Mark Wielaard <mark@klomp.org>
5784 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5785 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5787 (cancel_clicked): Likewise.
5789 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5792 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5793 can not calculate the right value.
5794 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5796 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5798 * testsuite/libjava.jacks/jacks.xfail: Remove
5799 15.9.1-qualified-concrete-20.
5801 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5803 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5804 encoding name to iconv.
5805 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5807 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5810 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5811 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5812 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5814 2004-06-21 Andrew Haley <aph@redhat.com>
5816 * java/io/ObjectOutputStream.java: Add DEBUG statements
5818 (dumpElementln): New method.
5820 * java/io/ObjectInputStream.java
5821 (currentClassLoader): Make native.
5822 (callersClassLoader): New field.
5824 (readObject): ENDBLOCKDATA is generated if the class has a write
5825 method, not if it has a read method.
5826 (readObject): Save and restore this.currentObject and
5827 this.currentObjectStreamClass around calls to callReadMethod().
5828 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5831 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5833 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5836 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5838 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5839 if desired, before the default class loader is initialised.
5840 Call INIT_SEGV only if HANDLE_SEGV is defined.
5842 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5844 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5845 directory only if it actually exists.
5847 2004-06-18 Graydon Hoare <graydon@redhat.com>
5849 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5850 Fix up non-ansi comments.
5852 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5854 * javax/swing/text/AbstractDocument.java: Adding missing import
5855 for javax.swing.event.EventListenerList.
5856 * javax/swing/text/DefaultCaret.java: Likewise.
5858 2004-06-17 Michael Koch <konqueror@gmx.de>
5860 * javax/swing/JToolBar.java
5862 (JToolBar): Use Component.setName(String) instead of doing it all
5864 * javax/swing/Timer.java
5865 (queueEvent): Added missing modifier.
5867 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5869 * Makefile.am: Added new file.
5870 * Makefile.in: Re-generate.
5871 * javax/swing/JMenu.java:
5872 (insertSeparator): Implemented.
5873 * javax/swing/JPopupMenu.java:
5874 (JPopupMenu.Separator): Implemented.
5875 * javax/swing/MenuSelectionManager.java:
5876 (processMouseEvent): Use java.awt.Component
5877 for event source instead of javax.swing.JComponent.
5878 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5879 New File. Implemented.
5881 2004-06-16 David Jee <djee@redhat.com>
5883 * java/awt/GridBagLayout.java
5884 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5885 Make sure pos_x and pos_y are never negative.
5887 2004-04-16 Andrew Overholt <overholt@redhat.com>
5889 * Makefile.am: Add new file.
5890 * Makefile.in: Re-generate.
5891 * javax/swing/JToolBar.java
5892 Partially implemented.
5893 * javax/swing/plaf/basic/BasicToolBarUI.java
5894 New file. Partially implemented.
5896 2004-06-16 Graydon Hoare <graydon@redhat.com>
5898 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5899 (setComposite): Accept AlphaComposite arguments.
5900 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5901 (createBufferedImage): Add new overloads.
5902 * gnu/java/awt/peer/gtk/GtkToolkit.java
5903 (createImage): Use GdkPixbufDecoder.createBufferedImage
5904 when useGraphics2D() is true.
5905 (getImage): Delegate to createImage.
5906 * javax/swing/JList.java
5908 (getFirstVisibleIndex):
5909 (getLastVisibleIndex):
5911 (ensureIndexIsVisible): New methods.
5912 * javax/swing/Timer.java: Reimplement.
5914 2004-06-16 Michael Koch <konqueror@gmx.de>
5916 * javax/swing/text/AbstractDocument.java
5917 (AbstracElement): Made public, implements java.io.Serializable.
5918 (AttributeContext): Made public.
5919 (BranchElement): Likewise.
5920 (Content): Likewise.
5921 (DefaultDocumentEvent): Made public, extends
5922 javax.swing.undo.CompoundEdit.
5923 (ElementEdit): Made public, extends
5924 javax.swing.undo.AbstractUndoableEdit.
5925 (LeafElement): Made public.
5926 (LeafElement.LeafElement): Made public.
5928 2004-06-16 Michael Koch <konqueror@gmx.de>
5930 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5931 methods (that were obviously never be intended to get included hi this
5932 class. Added some methods too.
5934 2004-06-16 Michael Koch <konqueror@gmx.de>
5936 * javax/swing/text/PlainDocument.java
5937 (serialVersionUID): New constant.
5938 (lineLimitAttribute): Likewise.
5939 (tabSizeAttribute): Likewise.
5940 (tabSize): New field.
5941 (PlainDocument): Made public.
5942 (PlainDocument): New constructor.
5944 2004-06-16 Michael Koch <konqueror@gmx.de>
5946 * javax/swing/text/AbstractDocument.java
5947 (insertString): Throws BadLocationException.
5948 * javax/swing/text/Document.java
5949 (insertString): Likewise.
5950 * javax/swing/text/JTextComponent.java:
5951 Javadocs and comments cleaned up.
5953 2004-06-16 Michael Koch <konqueror@gmx.de>
5955 * javax/swing/event/UndoableEditListener.java: Reformatted.
5956 * javax/swing/text/AbstractDocument.java
5957 (AbstractDocument): Implements java.io.Serializable.
5958 (doc_list): Removed.
5959 (undo_list): Removed.
5960 (AbstractElement.serialVerionUID): New field.
5961 (BranchElement.serialVerionUID): Likewise.
5962 (DefaultDocumentEvent.serialVerionUID): Likewise.
5963 (ElementEdit.serialVerionUID): Likewise.
5964 (LeafElement.serialVerionUID): Likewise.
5965 (serialVerionUID): Likewise.
5966 (BAD_LOCATION): New constant.
5967 (BidiElementName): Likewise.
5968 (ContentElementName): Likewise.
5969 (ParagraphElementName): Likewise.
5970 (SectionElementName): Likewise.
5971 (ElementNameAttribute): Likewise.
5972 (AbstractDocument): Made protected.
5973 (AbstractDocument): New construtor.
5974 (listenerList): New field.
5975 (fireChangedUpdate): Implemented.
5976 (fireInsertUpdate): Likewise.
5977 (fireRemoveUpdate): Likewise.
5978 (fireUndoableEditUpdate): Likewise.
5979 (getListeners): Likewise.
5980 (addDocumentListener): Likewise.
5981 (removeDocumentListener): Likewise.
5982 (addUndoableEditListener): Likewise.
5983 (removeUndoableEditListener): Likewise.
5984 (getDocumentListeners): New method.
5985 (getUndoableEditListeners): Likewise.
5986 (getAsynchronousLoadPriority): Made public.
5987 (getBidiRootElement): Likewise.
5988 (setAsynchronousLoadPriority): Likewise.
5989 (setDocumentProperties): Likewise.
5990 * javax/swing/text/BadLocationException.java
5991 (serialVerionUID): New field.
5992 * javax/swing/text/DefaultCaret.java
5993 (changeEvent): New field.
5994 (listenerList): Likewise.
5996 (addChangeListener): Reimplemented.
5997 (removeChangeListener): Likewise.
5998 (getListeners): New method.
5999 (getChangeListeners): Likwise.
6000 (getComponent): Likewise.
6001 * javax/swing/text/GapContent.java
6002 (GapContent): Implements java.io.Serializable.
6003 (serialVerionUID): New field.
6005 2004-06-16 Michael Koch <konqueror@gmx.de>
6007 * javax/swing/JTree.java
6008 (treeModel): New field.
6009 (JTree): New constructors, one existing one made public.
6010 (createTreeModel): New method.
6011 (addTreeExpansionListener): Likewise.
6012 (removeTreeExpansionListener): Likewise.
6013 (getTreeExpansionListeners): Likewise.
6014 (fireTreeCollapsed): Likewise.
6015 (fireTreeExpanded): Likewise.
6016 (addTreeSelectionListener): Likewise.
6017 (removeTreeSelectionListener): Likewise.
6018 (getTreeSelectionListeners): Likewise.
6019 (fireValueChanged): Likewise.
6020 (addTreeWillExpandListener): Likewise.
6021 (removeTreeWillExpandListener): Likewise.
6022 (getTreeWillExpandListeners): Likewise.
6023 (fireTreeWillCollapse): Likewise.
6024 (fireTreeWillExpand): Likewise.
6026 2004-06-16 Michael Koch <konqueror@gmx.de>
6028 * javax/swing/JTree.java: Reformatted.
6030 2004-06-16 Michael Koch <konqueror@gmx.de>
6032 * javax/swing/JTextArea.java: New file.
6033 * javax/swing/JTextField.java
6035 (notifyAction): New constant.
6036 (columns): New field.
6037 (JTextField): New constructors.
6038 (createDefaultModel): New method.
6039 (addActionListener): Reimplmemented.
6040 (removeActionListener): Reimplemented.
6041 (getActionListeners): New method.
6042 (fireActionPerformed): New method.
6043 (getColumns): New method.
6044 (setColumne): New method.
6045 * javax/swing/text/JTextComponent.java
6046 (AccessibleJTextComponent.serialVersionUID): New field.
6047 (serialVersionUID): Likewise.
6048 (DEFAULT_KEYMAP): Likewise.
6049 (FOCUS_ACCELERATOR_KEY): Likewise.
6050 (doc): Made private.
6051 (icon_gap): Likewise.
6054 (JTextComponent): Some constructors removed.
6055 (getScrollableTracksViewportHeight): New method.
6056 (getScrollableTracksViewportWidth): Likewise.
6057 * Makefile.am: Added javax/swing/JTextArea.java.
6058 * Makefile.in: Regenerated.
6060 2004-06-15 Graydon Hoare <graydon@redhat.com>
6062 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
6063 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
6064 * javax/swing/JViewport.java
6065 (getExtentSize): Return size rather than preferred size.
6066 (toViewCoordinates): New methods.
6067 (getViewSize): Return size rather than preferred size.
6068 (setViewSize): Note view size as set.
6069 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
6070 * javax/swing/plaf/basic/BasicScrollBarUI.java
6071 (getPreferredSize): Don't redo layout.
6072 * javax/swing/plaf/basic/BasicViewportUI.java
6073 (paint): Translate image properly and eat exceptions.
6075 2004-06-15 Kim Ho <kho@redhat.com>
6077 * javax/swing/JTabbedPane.java
6078 (setComponent): Remove old component and
6080 (setSelectedIndex): Don't operate on the
6081 components if they're null. Don't set index
6082 on the model if the index is the same.
6083 (insertTab): Don't add or hide the component
6084 if it's null. Repaint the container.
6085 * javax/swing/plaf/basic/BasicLookAndFeel.java
6086 Change colors for TabbedPane.
6087 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
6088 (mousePressed): Re-layout and paint the component.
6089 (layoutContainer): Don't set location on the view.
6090 (ScrollingViewport::paint): Remove.
6092 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
6094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6095 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
6097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6098 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
6099 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
6101 (drawLine): Call gdk_flush before leaving GDK critical region.
6102 (fillRect): Likewise.
6103 (drawRect): Likewise.
6104 (copyArea): Likewise.
6105 (copyPixmap): Likewise.
6106 (clearRect): Likewise.
6107 (drawArc): Likewise.
6108 (drawPolyline): Likewise.
6109 (drawPolygon): Likewise.
6110 (fillPolygon): Likewise.
6111 (fillArc): Likewise.
6112 (drawOval): Likewise.
6113 (fillOval): Likewise.
6115 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
6117 (GdkFontMetrics): Add style argument to initState call.
6118 (stringWidth(String,int,int,String)): Add style parameter.
6119 (stringWidth(String)): Add style argument to stringWidth call.
6120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
6121 (initState): Set pango font style and weight based on AWT style
6122 parameter. Pass default GTK language to
6123 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
6124 simply dividing by PANGO_SCALE.
6125 (stringWidth): Set pango font style and weight based on AWT style
6128 * java/awt/Button.java (next_button_number): New field.
6129 (paramString): Change output.
6130 (generateName): New method.
6131 (getUniqueLong): New method.
6133 2004-06-14 Kim Ho <kho@redhat.com>
6135 * javax/swing/JTabbedPane.java:
6136 (setComponentAt): Set the component, not
6138 * javax/swing/plaf/basic/BasicDesktopIconUI.java
6139 (actionPerformed): Let deiconize catch exception.
6141 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6143 * javax/swing/JPopupMenu.java:
6144 (setVisible): Corrected location of a
6145 heavyweight popup menu.
6147 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6149 * javax/swing/MenuSelectionManager.java:
6150 Ran through jalopy to fix formatting style.
6152 2004-06-14 Olga Rodimina <rodimina@redhat.com>
6154 * javax/swing/JLayeredPane.java:
6155 (remove): Revalidate and repaint layered pane after
6156 the component was removed.
6157 javax/swing/JMenu.java:
6158 (setVisible): Display popup menu at the user location,
6159 if one was set by the user.
6160 (setMenuLocation): Reimplemented. Fixed javadoc.
6161 * javax/swing/JMenuBar.java: Added javadoc.
6162 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
6163 (MODEL_CHANGED_PROPERTY): New Property.
6164 (isSelected): Implemented.
6165 (setBorderPainted): Fire PropertyChangeEvent
6166 if paintBorder property changes.
6167 (setSelected): Implemented.
6168 (setSelectionModel): Implemented.
6169 * javax/swing/JPopupMenu.java: Added Javadoc
6170 (pack): Implemented.
6171 (setVisible): Reimplemented.
6172 (show): Fixed location.
6173 (JPopupMenu.LigthWeightPopup): Reimplemented to use
6174 Container instead of JPanel.
6175 * javax/swing/MenuSelectionManager.java: Added Javadocs.
6176 (clearSelectedPath): Reimplemented to clear selectedPath
6178 (processMouseEvent): Reimplemented.
6179 (setSelectedPath): Fire stateChange event indicating that
6180 selected menu path has changed.
6181 (getPath): Change to use ArrayList instead of Vector.
6182 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6183 (installUI): call installKeyboardActions().
6184 (uninstallUI): call uninstallKeyboardActions().
6186 2004-06-13 Michael Koch <konqueror@gmx.de>
6188 * javax/swing/text/DefaultCaret.java,
6189 javax/swing/text/BadLocationException.java:
6192 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6194 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
6195 DEFAULT_COLS): New variables.
6196 (create): Don't allow 0 rows or 0 columns. Instead, set the
6197 values to DEFAULT_ROWS or DEFAULT_COLS.
6198 (getMinimumSize): Likewise.
6199 (getPreferredSize): Likewise.
6200 (minimumSize): Likewise.
6201 (preferredSize): Likewise.
6202 (create): Set peer's editable state.
6203 * java/awt/TextArea.java (TextArea()): Set rows and columns to
6204 zero. Update javadocs.
6205 (TextArea(String)): Likewise.
6206 (TextArea(int,int)): Fix javadocs.
6207 (TextArea(String,int,int,int)): Only throw exception if one of
6208 rows or columns is zero. Fix javadocs.
6210 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
6212 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
6213 addition to Components.
6215 * java/awt/MenuItem.java (dispatchEventImpl): If the event
6216 wasn't consumed by normal processing, send it to the parent
6219 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6220 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
6223 2004-06-11 David Jee <djee@redhat.com>
6225 * java/awt/MediaTracker.java
6226 (addImage(Image,int)): Call imageUpdate() to udpate image status.
6227 (addImage(Image,int,int,int)): Likewise.
6229 2004-06-11 Michael Koch <konqueror@gmx.de>
6231 * javax/swing/text/AbstractDocument.java,
6232 javax/swing/text/Document.java,
6233 javax/swing/text/GapContent.java,
6234 javax/swing/text/JTextComponent.java,
6235 javax/swing/text/PlainDocument.java:
6238 2004-06-11 Michael Koch <konqueror@gmx.de>
6240 * javax/swing/JRootPane.java
6241 (AccessibleJRootPane.serialVersionUID): New field.
6242 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
6243 (AccessibleJRootPane.getAccessibleRole): New method.
6244 (RootLayout): Implements Serializable.
6245 (RootLayout.serialVersionUID): New field.
6246 (RootLayout.RootLayout): New constructor.
6247 (setJMenuBar): Made public.
6248 (getJMenuBar): Likewise.
6249 (JRootPane): Likewise.
6250 (createContentPane): Likewise.
6251 (createGlassPane): Likewise.
6252 (createLayeredPane): Likewise.
6254 2004-06-11 Michael Koch <konqueror@gmx.de>
6256 * javax/swing/SwingUtilities.java
6257 (isLeftMouseButton): Fixed javadoc.
6258 (isMiddleMouseButton): Likewise.
6259 (isRightMouseButton): Likewise.
6261 2004-06-11 Michael Koch <konqueror@gmx.de>
6263 * javax/swing/JScrollPane.java
6264 (serialVersionUID): New field.
6265 (columnHeader): Made protected.
6266 (rowHeader): Likewise.
6267 (lowerLeft): Likewise.
6268 (lowerRight): Likewise.
6269 (upperLeft): Likewise.
6270 (upperRight): Likewise.
6271 (horizontalScrollBar): Likewise.
6272 (horizontalScrollBarPolicy): Likewise.
6273 (verticalScrollBar): Likewise.
6274 (verticalScrollBarPolicy): Likewise.
6275 (viewport): Likewise.
6277 2004-06-11 Michael Koch <konqueror@gmx.de>
6279 * javax/swing/LookAndFeel.java: Fixed javadocs.
6281 2004-06-11 Michael Koch <konqueror@gmx.de>
6283 * javax/swing/JEditorPane.java: Fixed javadocs.
6284 (JEditorPane): Removed redundant call to to this().
6285 (fireHyperlinkUpdate): Implemented.
6287 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6289 * javax/swing/JMenu.java: Fixed file name
6290 in the file comment.
6292 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6294 * javax/swing/JMenu.java: Added javadoc.
6295 (JMenu): Added MenuChangeListener to listen to
6296 ChangeEvents occuring in menu's model.
6297 (insert): Throw IllegalArgumentException if
6298 index is less than 0
6299 (setSelected): Reimplement.
6300 (setPopupMenuVisible): Call menu's model isEnabled()
6301 (setDelay): Throw IllegalArgumentException if
6302 given amount of delay is less than 0.
6303 (createActionComponent): Implemented.
6304 (createActionChangeListener): Implemented.
6305 (addSeparator): Implemented.
6306 (getItem): Throw IllegalArgumentException if index is
6308 (getItemCount): Implemented.
6309 (fireMenuSelected): Changed to use menuEvent.
6310 (fireMenuDeselected): Likewise.
6311 (fireMenuCanceled): Likewise.
6312 (setAccelerator): Changed to throw an error if this
6314 (doClick): Implemented.
6315 (JMenu.ActionChangedListener): New inner class to handle
6316 PropertyChangeEvents occuring in the actions associated with menu.
6317 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
6318 (BasicMenuUI): Added PropertyChangeListener to the menu.
6319 (createChangeListener): Implemented.
6320 (createMenuDragMouseListener): Likewise.
6321 (createMenuKeyListener): Likewise.
6322 (createPropertyChangeListener): Likewise.
6323 (uninstallListeners): Likewise.
6324 (BasicMenuUI.MouseInputHandler): Reimplemented.
6325 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
6326 (BasicMenuUI.ChangeHandler): Likewise.
6327 (BasicMenuUI.MenuDragMouseHandler): Likewise.
6328 (BasicMenuUI.MenuKeyHandler): Likewise.
6330 2004-06-10 David Jee <djee@redhat.com>
6332 * java/awt/MediaTracker.java
6333 (imageUpdate): Only do notifyAll() if the image is complete.
6335 2004-06-10 Olga Rodimina <rodimina@redhat.com>
6337 * javax/swing/JApplet.java:
6338 (getJMenuBar): Made public.
6339 (setJMenuBar): Likewise.
6340 * javax/swing/JFrame.java:
6341 (getJMenuBar): Made public.
6342 (setJMenuBar): Likewise.
6343 * javax/swing/JWindow.java:
6344 (getJMenuBar): Removed.
6345 (setJMenuBar): Removed.
6347 2004-06-10 Michael Koch <konqueror@gmx.de>
6349 * javax/swing/JEditorPane.java
6350 (createEditorKitForContentType): Fixed visibility.
6351 (fireHyperlinkUpdate): Likewise.
6352 (getContentType): Likewise.
6353 (getEditorKit): Likewise.
6354 (getEditorKitForContentType): Likewise.
6355 (getPage): Likewise.
6357 (registerEditorKitForContentTyoe): Likewise.
6358 (replaceSelection): Likewise.
6359 (setContentType): Likewise.
6360 (setEditorKit): Likewise.
6361 (setPage): Likewise.
6363 2004-06-10 Michael Koch <konqueror@gmx.de>
6365 * javax/swing/Timer.java
6366 (Timer): New constructor.
6367 * javax/swing/plaf/basic/BasicProgressBarUI.java
6368 (animationTimer): Don't initialize at construction.
6369 (startAnimationTimer): Added since tag.
6370 (stopAnimationTimer): Likewise.
6371 (installUI): Use new Timer constructor.
6372 * javax/swing/plaf/basic/BasicScrollBarUI.java
6373 (installUI): Likewise.
6374 * javax/swing/plaf/basic/BasicSliderUI.java
6375 (installUI): Likewise.
6377 2004-06-10 Michael Koch <konqueror@gmx.de>
6379 * javax/swing/ButtonGroup.java
6380 (serialVersionUID): Made private.
6381 (buttons): Renamed from v, added javadoc.
6382 (sel): Added javadoc.
6383 (ButtonGroup): Likewise.
6386 (getElements): Likewise.
6387 (getSelection): Likewise.
6388 (setSelected): Likewise.
6389 (isSelected): Likewise.
6390 (getButtonCount): Likewise.
6392 2004-06-10 Michael Koch <konqueror@gmx.de>
6394 * javax/swing/ButtonGroup.java,
6395 javax/swing/ImageIcon.java,
6396 javax/swing/JEditorPane.java,
6397 javax/swing/JRootPane.java,
6398 javax/swing/JTextField.java,
6399 javax/swing/LookAndFeel.java,
6400 javax/swing/plaf/basic/BasicTextUI.java:
6403 2004-06-10 Michael Koch <konqueror@gmx.de>
6405 * javax/swing/text/Style.java: Added javadocs.
6407 2004-06-10 Michael Koch <konqueror@gmx.de>
6409 * javax/swing/JComponent.java
6410 (fireVetoableChange): Removed redundant cast.
6411 * javax/swing/JLabel.java
6412 (getDisabledIcon): Save icon for next call.
6414 2004-06-10 Michael Koch <konqueror@gmx.de>
6416 * javax/swing/KeyStroke.java
6417 (getKeyStroke(char,boolean)): Marked deprecated.
6419 2004-06-10 Michael Koch <konqueror@gmx.de>
6421 * javax/swing/DefaultCellEditor.java,
6422 javax/swing/GrayFilter.java,
6423 javax/swing/event/DocumentEvent.java,
6424 javax/swing/text/JTextComponent.java,
6425 javax/swing/text/MutableAttributeSet.java:
6428 2004-06-10 Michael Koch <konqueror@gmx.de>
6430 * javax/swing/plaf/BorderUIResource.java:
6431 Added serialVersionUID all over.
6433 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
6435 * javax/swing/undo/UndoManager.java: Re-written from scratch.
6437 2004-06-10 Michael Koch <konqueror@gmx.de>
6439 * javax/swing/table/DefaultTableCellRenderer.java
6440 (noFocusBorder): Initialize directly.
6442 2004-06-10 Michael Koch <konqueror@gmx.de>
6444 * javax/swing/plaf/basic/BasicArrowButton.java
6445 (setDirection): Use method argument.
6447 2004-06-10 Michael Koch <konqueror@gmx.de>
6449 * javax/swing/plaf/BorderUIResource.java,
6450 javax/swing/plaf/ComponentUI.java,
6451 javax/swing/undo/CompoundEdit.java,
6452 javax/swing/undo/StateEdit.java:
6453 Fixed javadocs all over.
6455 2004-06-10 Michael Koch <konqueror@gmx.de>
6457 * javax/swing/DefaultButtonModel.java
6458 (ARMED): Made public final, fixed value.
6459 (ENABLED): Likewise.
6460 (PRESSED): Likewise.
6461 (ROLLOVER): Likewise.
6462 (SELECTED): Likewise.
6463 (stateMask): Initialize directly.
6464 (listenerList): Likewise.
6465 (mnemonic): Likewise.
6466 (fireStateChanged): Removed argument, use changeEvent as event.
6467 All places where this method is called are fixed too.
6468 (getActionCommant): Fixed javadoc.
6469 (setGroup): Fixed javadoc.
6470 (getGroup): New method.
6472 2004-06-09 Olga Rodimina <rodimina@redhat.com>
6474 * javax/swing/AbstractButton.java
6475 (AbstractButton): Use init() to initialize the button.
6476 (init): New Method. Initializes AbstractButton.
6477 * javax/swing/JMenuItem.java: Documented.
6478 (JMenuItem): Reimplemented.
6479 (init): Implemented.
6480 (setEnabled): Changed to call super.setEnabled()
6481 (processMouseEvent): Reimplemented.
6482 (fireMenuKeyPressed): Implemented.
6483 (fireMenuKeyReleased): Implemented.
6484 (fireMenuKeyTyped): Implemented.
6485 (menuSelectionChanged): disarm the model if the menu item was
6487 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
6488 (getPath): Change to use ArrayList instead of Vector.
6489 (getPreferredSize): Renamed variable.
6490 (paintMenuItem): Paint margin area of menu item.
6491 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
6492 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
6493 menu item's bounds before clearing the selection.
6495 2004-06-09 David Jee <djee@redhat.com>
6497 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
6498 (GtkTextComponentPeer): Set caret position to 0.
6499 * java/awt/TextComponent.java
6500 (setText): Set caret position to 0.
6501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6502 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
6503 Handle GtkScrolledWindow separately. Fix signal handler blocking.
6504 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
6506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6507 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
6510 2004-06-09 Kim Ho <kho@redhat.com>
6512 * Makefile.am: New files
6513 * Makefile.in: Regenerated
6514 * java/awt/Container.java
6515 (getComponentAt): Removed.
6516 * javax/swing/AbstractAction.java
6517 (ENABLED_PROPERTY): New property.
6518 (putValue): Fire PropertyChangeEvents.
6519 (setEnabled): ditto.
6520 (firePropertyChange): Javadoc and implement
6522 * javax/swing/AbstractButton.java
6523 (setAction): Don't create PropertyChangeListener
6524 if new Action is null.
6525 (setIcon): Don't set icon till after comparing
6527 (configurePropertiesFromAction): Check mnemonic
6528 key before calling intValue().
6529 (createActionPropertyChangeListener): Check
6530 properties rather than bulk change.
6531 * javax/swing/DefaultDesktopManager.java:
6533 * javax/swing/DesktopManager.java:
6535 * javax/swing/JComponent.java
6536 (fireVetoableChange): Implement.
6537 (paintImmediately): Use root component.
6538 * javax/swing/JDesktopPane.java: Implement
6539 * javax/swing/JInternalFrame.java: Implement
6540 * javax/swing/JLabel.java
6541 (getDisabledIcon): Return grayscaled icon if
6542 no disabled icon specified.
6543 * javax/swing/JMenuBar.java
6544 (getComponentAtIndex): Use getComponent
6545 * javax/swing/JOptionPane.java
6546 (getDesktopPaneForComponent): Use SwingUtilities'
6548 (getFrameForComponent): ditto.
6549 * javax/swing/JSplitPane.java
6550 (remove): Use getComponent.
6551 * javax/swing/SwingUtilities.java
6552 (convertPoint): Implement.
6553 * javax/swing/plaf/basic/BasicButtonUI.java
6554 (paintButtonNormal): Check opaqueness before
6556 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
6558 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
6560 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
6562 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
6564 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6565 Change InternalFrame and Desktop colors.
6567 2004-06-09 David Jee <djee@redhat.com>
6569 * java/awt/Container.java
6570 (remove): Do not set component to invisible.
6572 2004-06-09 Michael Koch <konqueror@gmx.de>
6574 * javax/swing/tree/DefaultMutableTreeNode.java
6575 (getLeafCount): Renamed enum to e.
6577 2004-06-09 Michael Koch <konqueror@gmx.de>
6579 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6580 (positionForMouseEvent): Removed redundant semicolon.
6581 (continueDrag): Use method arguments.
6583 2004-06-09 Michael Koch <konqueror@gmx.de>
6585 * javax/swing/border/TitledBorder.java,
6586 javax/swing/filechooser/FileSystemView.java,
6587 javax/swing/plaf/basic/BasicButtonListener.java,
6588 javax/swing/plaf/basic/BasicGraphicsUtils.java,
6589 javax/swing/plaf/basic/BasicLabelUI.java,
6590 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
6591 javax/swing/plaf/basic/BasicScrollBarUI.java,
6592 javax/swing/plaf/basic/BasicScrollPaneUI.java,
6593 javax/swing/plaf/basic/BasicSliderUI.java,
6594 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
6595 javax/swing/plaf/basic/BasicToggleButtonUI.java,
6596 javax/swing/table/JTableHeader.java,
6597 javax/swing/text/AbstractDocument.java,
6598 javax/swing/text/DefaultCaret.java,
6599 javax/swing/text/StyledEditorKit.java,
6600 javax/swing/tree/DefaultTreeCellEditor.java:
6601 Reworked import statements.
6603 2004-06-08 Graydon Hoare <graydon@redhat.com>
6605 * javax/swing/Box.java: Temporarily comment out code
6606 broken due to visibility bug.
6608 2004-06-09 Michael Koch <konqueror@gmx.de>
6610 * javax/swing/ImageIcon.java
6611 (ImageIcon): Added missing constructor.
6613 2004-06-08 Michael Koch <konqueror@gmx.de>
6615 * javax/swing/JToggleButton.java
6616 (JToggleButton): New constructor.
6617 (getAccessibleContext): Moved documentation into javadoc.
6618 (getUIClassID): Likewise.
6620 2004-06-08 Michael Koch <konqueror@gmx.de>
6622 * javax/swing/AbstractButton.java
6623 (getDisabledIcon): Create disabled icon if none exists yet.
6625 2004-06-08 Michael Koch <konqueror@gmx.de>
6627 * javax/swing/plaf/basic/BasicLookAndFeel.java
6628 (initClassDefaults): Added FormattedTextFieldUI.
6629 (loadResourceBundle): Renamed enum to e.
6631 2004-06-08 Michael Koch <konqueror@gmx.de>
6633 * javax/swing/plaf/basic/BasicButtonUI.java
6634 (paintIcon): Simplified.
6635 (paintText): Paint disabled button correctly.
6637 2004-06-08 Michael Koch <konqueror@gmx.de>
6639 * javax/swing/JComponent.java
6640 (createToolTip): Use official JToolTip API.
6642 2004-06-08 Michael Koch <konqueror@gmx.de>
6644 * javax/swing/JToolTip.java
6645 (JToolTip): No arguments in API.
6646 (setTipText): New method.
6648 2004-06-08 Michael Koch <konqueror@gmx.de>
6650 * javax/swing/SwingUtilities.java
6651 (isLeftMouseButton): New method.
6652 (isMiddleMouseButton): New method.
6653 (isRightMouseButton): New method.
6655 2004-06-08 Michael Koch <konqueror@gmx.de>
6657 * javax/swing/AbstractButton.java,
6658 javax/swing/CellRendererPane.java,
6659 javax/swing/JCheckBoxMenuItem.java,
6660 javax/swing/JColorChooser.java,
6661 javax/swing/JComboBox.java,
6662 javax/swing/JComponent.java,
6663 javax/swing/JDesktopPane.java,
6664 javax/swing/JFileChooser.java,
6665 javax/swing/JMenu.java,
6666 javax/swing/JMenuItem.java,
6667 javax/swing/JOptionPane.java,
6668 javax/swing/JPasswordField.java,
6669 javax/swing/JPopupMenu.java,
6670 javax/swing/JProgressBar.java,
6671 javax/swing/JRadioButtonMenuItem.java,
6672 javax/swing/JScrollBar.java,
6673 javax/swing/JSeparator.java,
6674 javax/swing/JSlider.java,
6675 javax/swing/JSplitPane.java,
6676 javax/swing/JTabbedPane.java,
6677 javax/swing/JTextField.java,
6678 javax/swing/JToolBar.java,
6679 javax/swing/text/JTextComponent.java:
6680 Fixed all constructors of accessibility classes.
6682 2004-06-08 Michael Koch <konqueror@gmx.de>
6684 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
6687 2004-06-08 Michael Koch <konqueror@gmx.de>
6689 * javax/swing/Box.java
6690 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
6691 (AccessibleBoxFiller.serialVersionUID): New member variable.
6692 * javax/swing/DefaultButtonModel.java
6693 (stateMask): Made protected.
6694 (listenerList): Likewise.
6695 (changeEvent): Likewise.
6697 (mnemonic): Likewise.
6698 (actionCommand): Likewise.
6699 (getListeners): New method.
6700 (getActionListeners): New method.
6701 (getItemListeners): New method.
6702 (getChangeListeners): New method.
6703 (fireItemStateChanged): Simplified.
6704 (fireActionPerformed): Simplified.
6705 (fireStateChanged): Simplified.
6706 * javax/swing/JFrame.java
6707 (JFrame): Implements WindowContants.
6708 (HIDE_ON_CLOSE): Removed.
6709 (EXIT_ON_CLOSE): Removed.
6710 (DISPOSE_ON_CLOSE): Removed.
6711 (DO_NOTHING_ON_CLOSE): Removed.
6712 (processWindowEvent): Exit with code 0.
6713 (setDefaultCloseOperation): Do security check before setting value.
6714 * javax/swing/JOptionPane.java
6715 (message): Initialize only in constructor.
6716 * javax/swing/JToolTip.java: Removed unused imports.
6717 * javax/swing/JViewport.java
6718 (serialVersionUID): New member variable.
6719 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6720 (BLIT_SCROLL_MODE): Likewise.
6721 (BACKINGSTORE_SCROLL_MODE): Likewise.
6722 (scrollUnderway): Made protected.
6723 (isViewSizeSet): Likewise.
6724 * javax/swing/ListModel.java: Fixed javadoc.
6725 * javax/swing/Popup.java: Likewise.
6726 * javax/swing/RepaintManager.java
6727 (paintDirtyRegions): Don't use internal classes of
6728 java.util.AbstractMap.
6729 * javax/swing/ScrollPaneConstants.java: Reindented.
6730 * javax/swing/ScrollPaneLayout.java
6731 (viewport): Made protected.
6732 (verticalScrollBar): Made protected, renamed to vsb.
6733 (horizontalScrollBar): Made protected, renamed to hsb.
6734 (rowHeader): Made protected, renamed to rowHead.
6735 (columnHeader): Made protected, renamed to colHead.
6736 (lowerLeft): Made protected.
6737 (lowerRight): Made protected.
6738 (upperLeft): Made protected.
6739 (upperRight): Made protected.
6740 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6741 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6743 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6745 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6746 LOADING if flags has SOMEBITS set.
6748 2004-06-07 Michael Koch <konqueror@gmx.de>
6750 * javax/swing/AbstractButton.java: Reorganized imports.
6751 * javax/swing/ActionMap.java: Likewise.
6752 * javax/swing/DefaultButtonModel.java: Likewise.
6753 * javax/swing/DefaultListModel.java: Likewise.
6754 * javax/swing/ImageIcon.java: Likewise.
6755 (serialVersionUID): New member variable.
6756 * javax/swing/JComboBox.java: Reorganized imports.
6757 * javax/swing/JComponent.java: Likewise.
6758 (ui): Made protected.
6759 (listenerList): Made protected.
6760 (TOOL_TIP_TEXT_KEY): New constant.
6761 (scrollRectToVisible): Removed redundant null check.
6762 * javax/swing/JFrame.java: Reorganized imports.
6763 * javax/swing/JInternalFrame.java: Reorganized imports.
6764 * javax/swing/JProgressBar.java: Likewise.
6765 * javax/swing/JRootPane.java: Likewise.
6766 * javax/swing/JScrollBar.java: Likewise.
6767 * javax/swing/JSeparator.java: Likewise.
6768 * javax/swing/JSlider.java: Likewise.
6769 * javax/swing/JTabbedPane.java: Likewise.
6770 * javax/swing/JTextField.java: Likewise.
6771 * javax/swing/JToolBar.java: Likewise.
6772 * javax/swing/JTree.java: Likewise.
6773 * javax/swing/JViewport.java: Likewise.
6774 * javax/swing/JWindow.java: Likewise.
6775 * javax/swing/KeyStroke.java: Likewise.
6776 * javax/swing/LookAndFeel.java: Likewise.
6777 * javax/swing/MenuSelectionManager.java: Likewise.
6778 * javax/swing/SwingUtilities.java: Likewise.
6779 * javax/swing/Timer.java: Likewise.
6780 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6781 * javax/swing/JList.java
6782 (HORIZONTAL_WRAP): Made final, fixed value.
6783 (VERTICAL): Likewise.
6784 (VERTICAL_WRAP): Likewise.
6786 2004-06-07 Michael Koch <konqueror@gmx.de>
6788 * javax/swing/AbstractButton.java
6789 (serialVersionUID): New member variable.
6790 (AccessibleAbstractButton.serialVersionUID): Likewise.
6791 (AbstractButton): Made public.
6792 * javax/swing/Box.java
6793 (AccessibleBox.serialVersionUID): New member variable.
6794 (Filler.serialVersionUID): Likewise.
6795 * javax/swing/DefaultListSelectionModel.java
6796 (serialVersionUID): Likewise.
6797 * javax/swing/JApplet.java
6798 (serialVersionUID): Likewise.
6799 * javax/swing/JCheckBox.java
6800 (serialVersionUID): Likewise.
6801 * javax/swing/JCheckBoxMenuItem.java
6802 (serialVersionUID): Likewise.
6803 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6804 * javax/swing/JColorChooser.java
6805 (serialVersionUID): Likewise.
6806 (AccessibleJColorChooser.serialVersionUID): Likewise.
6807 * javax/swing/JComponent.java
6808 (serialVersionUID): Made private.
6809 (AccessibleJComponent.serialVersionUID): New member variable.
6810 * javax/swing/JDesktopPane.java
6811 (serialVersionUID): Likewise.
6812 * javax/swing/JDialog.java
6813 (serialVersionUID): Likewise.
6814 * javax/swing/JFormattedTextField.java
6815 (serialVersionUID): Fixed value.
6816 * javax/swing/JFrame.java
6817 (serialVersionUID): New member variable.
6818 (getDefaultCloseOpertation): Made public.
6819 * javax/swing/JLayeredPane.java
6820 (serialVersionUID): Likewise.
6821 (LAYER_PROPERTY): Made final, fixed value.
6822 (JLayeredPane): Made public.
6823 * javax/swing/JMenu.java
6824 (AccessibleJMenu.serialVersionUID): New member variable.
6825 (WinListener.serialVersionUID): Likewise.
6826 * javax/swing/JMenuBar.java
6827 (serialVersionUID): Likewise.
6828 (getComponentAtIndex): Added @deprecated tag.
6829 * javax/swing/JMenuItem.java
6830 (serialVersionUID): New member variable.
6831 (AccessibleJMenuItem.serialVersionUID): Likewise.
6832 * javax/swing/JOptionPane.java
6833 (serialVersionUID): Likewise.
6834 (AccessibleJOptionPane.serialVersionUID): Likewise.
6835 * javax/swing/JPopupMenu.java
6836 (serialVersionUID): Likewise.
6837 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6838 (getPopupMenuListeners): New method.
6839 (getComponentAtIndex): Added @deprecated tag.
6840 * javax/swing/JProgressBar.java
6841 (serialVersionUID): New member variable.
6842 (AccessibleJProgressBar.serialVersionUID): Likewise.
6843 * javax/swing/JRadioButton.java
6844 (serialVersionUID): Likewise.
6845 * javax/swing/JRadioButtonMenuItem.java
6846 (serialVersionUID): Likewise.
6847 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6848 * javax/swing/JScrollBar.java
6849 (serialVersionUID): Likewise.
6850 (AccessibleJScrollBar.serialVersionUID): Likewise.
6851 * javax/swing/JSeparator.java
6852 (serialVersionUID): Likewise.
6853 (AccessibleJSeparator.serialVersionUID): Likewise.
6854 * javax/swing/JSlider.java: Fixed javadocs.
6855 (AccessibleJSlider.serialVersionUID): New member variable.
6856 * javax/swing/JSplitPane.java: Added copyright statement.
6857 (serialVersionUID): New member variable.
6858 (AccessibleJSplitPane.serialVersionUID): Likewise.
6859 * javax/swing/JTabbedPane.java
6860 (serialVersionUID): Likewise.
6861 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6862 (ModelListener.serialVersionUID): Likewise.
6863 (ModelListener.ModelListener): New constructor.
6864 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6865 (WRAP_TAB_LAYOUT): Likewise.
6866 * javax/swing/JTable.java
6867 (serialVersionUID): New member variable.
6868 * javax/swing/JToggleButton.java
6869 (serialVersionUID): Likewise.
6870 (ToggleButtonModel): Made static.
6871 (ToggleButtonModel.serialVersionUID): New member variable.
6872 * javax/swing/JToolTip.java
6873 (serialVersionUID): Likewise.
6874 * javax/swing/JTree.java
6875 (serialVersionUID): Likewise.
6876 * javax/swing/JWindow.java
6877 (serialVersionUID): Likewise.
6878 * javax/swing/Timer.java
6879 (serialVersionUID): Likewise.
6881 2004-06-06 Michael Koch <konqueror@gmx.de>
6883 * javax/swing/SwingConstants.java
6884 (NEXT): New constant.
6885 (PREVIOUS): Likewise.
6886 * javax/swing/UIManager.java
6887 (LookAndFeel): Made public.
6888 (LookAndFeel.getClassName): Likewise.
6889 (LookAndFeel.getName): Likewise.
6891 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6893 * javax/swing/JCheckBoxMenuItem.java:
6895 * javax/swing/JMenu.java: Likewise.
6896 * javax/swing/JMenuBar.java: Likewise.
6897 * javax/swing/JMenuItem.java: Likewise.
6898 * javax/swing/JPopupMenu.java: Likewise.
6899 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6900 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6901 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6902 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6903 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6904 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6905 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6907 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6909 * javax/swing/plaf/basic/BasicMenuUI.java:
6910 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6911 Call getPath() from super class instead.
6913 2004-05-31 David Jee <djee@redhat.com>
6915 * java/awt/Container.java
6916 (remove): Set component visibility to false after removing it.
6918 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6920 * java/awt/Component.java (getForeground): Return SystemColor if
6922 (getBackground): Likewise.
6924 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6925 (item_highlighted): New function.
6926 (connectSignals): Set item_highlighted as list's select
6929 * java/applet/Applet.java: Revert changes from 2004-04-29,
6930 2004-03-15 and 2004-03-14.
6932 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6933 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6936 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6937 "Dialog" as the default font.
6938 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6940 * java/awt/Component.java (getFont): Return "Dialog" font by
6942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6943 Multiply size argument to pango_font_description_set_size by the
6944 DPI conversion factor rather than by PANGO_SCALE.
6945 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6948 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6953 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6955 Divide baseline y coordinate by DPI conversion factor rather
6956 than by PANGO_SCALE.
6957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6958 (area_prepared): Fix typo.
6959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6960 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6962 (dpi_conversion_factor): New global variable.
6963 (init_dpi_conversion_factor): New function to calculate and
6964 track DPI conversion factor.
6965 (dpi_changed_cb): New callback.
6966 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6968 2004-05-27 David Jee <djee@redhat.com>
6970 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6971 (getGraphics): Return a new GdkGraphics instance.
6972 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6973 (getGraphics): Call super.getGraphics().
6975 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6978 (setNativeBounds): Clamp width and height values to >= 0.
6980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6981 (find_fg_color_widget): Handle GtkOptionMenu specially.
6983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6984 (pre_event_handler): Only post configure events to visible
6987 2004-05-26 David Jee <djee@redhat.com>
6989 * java/awt/BorderLayout.java
6990 (layoutContainer): Fix size calculations.
6992 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6994 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6995 (window_wm_protocols_filter): Remove function.
6996 (create): Remove filter that removes WM_TAKE_FOCUS client
6999 2004-06-17 Anthony Green <green@redhat.com>
7001 * java/util/zip/ZipFile.java (getInputStream): Return null if
7004 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
7005 directory contents to the class path.
7007 2004-06-15 Andrew Haley <aph@redhat.com>
7009 * java/lang/natSystem.cc (getenv0): Don't assume environment
7010 variable is Latin 1 coded.
7012 2004-06-14 Andreas Jaeger <aj@suse.de>
7014 * configure.in: Support --enable-version-specific-runtime-libs.
7015 * configure: Regenerated.
7017 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
7019 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
7020 to pass ClassLoader argument.
7021 * java/util/GregorianCalendar.java: Likewise.
7022 * java/util/Currency.java: Likewise.
7023 * java/text/BreakIterator.java: Likewise.
7024 * java/text/Collator.java: Likewise.
7025 * java/text/DateFormat.java: Likewise.
7026 * java/text/DateFormatSymbols.java: Likewise.
7027 * java/text/DecimalFormatSymbols.java: Likewise.
7028 * java/text/NumberFormat.java: Likewise.
7029 * java/awt/Window.java: Likewise.
7031 2004-06-14 Andrew Haley <aph@redhat.com>
7033 * java/lang/System.java: (getenv0): New method.
7034 (getenv): Add security check. Do the right thing.
7035 * java/lang/natSystem.cc (getenv0): New method.
7037 2004-06-12 Mark Wielaard <mark@klomp.org>
7039 * javax/swing/RepaintManager.java
7040 (paintDirtyRegions): Use entrySet(), not values().
7042 2004-06-10 Mark Wielaard <mark@klomp.org>
7044 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
7047 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
7049 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
7050 when we already know the answer.
7051 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7052 (setStartRule,setEndRule): Don't take abs of day number.
7053 (getOffset): Clarify docs. Add argument checks.
7054 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7055 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7058 2004-06-10 Tom Tromey <tromey@redhat.com>
7060 * interpret.cc (run): Handle wide fload.
7062 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
7064 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
7066 2004-06-05 Michael Koch <konqueror@gmx.de>
7068 * javax/swing/SwingConstants.java
7069 (NEXT): New constant.
7070 (PREVIOUS): Likewise.
7072 2004-06-05 Michael Koch <konqueror@gmx.de>
7074 * javax/swing/UIManager.java
7075 (LookAndFeel): Made public.
7076 (LookAndFeel.getName): Likewise.
7077 (LookAndFeel.getClassName): Likewise.
7079 2004-06-03 Michael Koch <konqueror@gmx.de>
7081 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7082 (requestFocus): Revert last changes.
7083 (gtkRequestFocus): Removed.
7084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7085 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7087 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
7088 Reverted last patch.
7089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7090 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
7091 Reverted comment change.
7093 2004-06-02 Olga Rodimina <rodimina@redhat.com>
7095 * javax/swing/JCheckBoxMenuItem.java:
7097 * javax/swing/JMenu.java: Likewise.
7098 * javax/swing/JMenuBar.java: Likewise.
7099 * javax/swing/JMenuItem.java: Likewise.
7100 * javax/swing/JPopupMenu.java: Likewise.
7101 * javax/swing/JRadioButtonMenuItem.java: Likewise.
7102 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
7103 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
7104 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7105 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
7106 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
7107 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
7109 2004-06-01 Tom Tromey <tromey@redhat.com>
7111 * java/io/ObjectStreamField.java: Cleaned up imports.
7113 2004-06-01 Michael Koch <konqueror@gmx.de>
7115 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
7117 2004-06-01 Mark Wielaard <mark@klomp.org>
7119 * java/io/Writer.java (Writer(Object)): Fixed API doc.
7121 2004-06-01 Michael Koch <konqueror@gmx.de>
7123 * java/security/Security.java
7124 (insertProviderAt): Use equals() instead of ==.
7125 (removeProvicer): Likewise.
7126 (getProvider): Likewise.
7127 * java/security/Signature.java
7128 (sign): Don't set state to UNINITIALIZED.
7131 2004-06-01 Mark Wielaard <mark@klomp.org>
7133 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
7134 Implement by calling gtkRequestFocus.
7135 (gtkRequestFocus): New native method.
7136 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7137 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
7139 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
7141 (filter_expose_event_handler):
7143 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7144 (menu_pos): Mark static.
7146 2004-06-01 Michael Koch <konqueror@gmx.de>
7148 * java/text/CollationElementIterator.java,
7149 java/text/CollationKey.java,
7150 java/text/RuleBasedCollator.java: New versions from GNU classpath.
7151 * testsuite/libjava.mauve/xfails: Removed all
7152 java.text.CollationElementIterator tests.
7154 2004-06-01 Michael Koch <konqueror@gmx.de>
7156 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
7158 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
7159 Java 1.5 keyword usage.
7161 2004-05-31 Olga Rodimina <rodimina@redhat.com>
7163 * javax/swing/plaf/basic/BasicMenuUI.java:
7164 (MouseEntered): Do not call getPath() from MenuSelectionManager.
7165 Call getPath() from super class instead.
7167 2004-05-31 Michael Koch <konqueror@gmx.de>
7169 * java/io/SequenceInputStream.java:
7170 Rename enum to e because enum is a keyword in Java 1.5.
7172 2004-05-31 Michael Koch <konqueror@gmx.de>
7174 * gnu/java/rmi/rmic/CompilerProcess.java:
7175 Fixed javadoc to by XHTML compliant.
7177 2004-05-30 Mark Wielaard <mark@klomp.org>
7179 * java/awt/Toolkit.java (loadSystemColors): Implement.
7181 2004-05-30 Michael Koch <konqueror@gmx.de>
7183 * java/lang/System.java: Reordered imports.
7185 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
7187 * java/text/DecimalFormat.java
7188 (parse): Fixed parsing of decimal strings. Number of maximum
7189 digits to be read should now work.
7190 * java/text/SimpleDateFormat.java
7191 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
7192 formatter. This fixes DateFormatTest.
7194 2004-05-30 Michael Koch <konqueror@gmx.de>
7196 * java/nio/Buffer.java
7197 (limit): Fixed off by one error.
7198 * java/nio/CharBuffer.java
7199 (wrap): Fixed arguments, added javadocs.
7201 2004-05-30 Michael Koch <konqueror@gmx.de>
7203 * gnu/java/beans/BeanInfoEmbryo.java,
7204 java/awt/im/InputContext.java,
7205 javax/swing/tree/DefaultMutableTreeNode.java:
7206 Rename enum to e because enum is a keyword in Java 1.5.
7208 2004-05-30 Michael Koch <konqueror@gmx.de>
7210 * gnu/java/math/MPN.java,
7211 java/awt/geom/Arc2D.java:
7212 Fixed javadocs all over.
7214 2004-05-30 Michael Koch <konqueror@gmx.de>
7216 * java/awt/DefaultKeyboardFocusManager.java
7217 (dispatchEvent): Call method to get key event dispatchers.
7218 (dispatchKeyEvent): Call method to get key event post processors.
7219 * javax/swing/JComponent.java
7220 (listenerList): Made protected.
7221 * javax/swing/JOptionPane.java
7222 (message): Don't initialize.
7223 (JOptionPane): Set message text.
7224 * javax/swing/JPopupMenu.java
7225 (show): Fixed typo in argument name.
7226 * javax/swing/RepaintManager.java
7227 (paintDirtyRegions): Use public API of java.util.Map.
7228 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
7229 (positionForMouseEvent): Removed redundant ';'.
7230 (continueDrag): Use method arguments.
7232 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
7234 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
7237 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
7239 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
7241 * gnu/gcj/RawDataManaged.java: New file.
7242 * java/lang/Thread.java (data): Declare as RawDataManaged.
7243 * java/lang/natThread.cc (init_native): Cast natThread data to
7244 RawDataManaged, not jobject.
7245 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
7246 * Makefile.in: Rebuilt.
7248 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
7250 * java/util/SimpleTimeZone.java: Reverting my last change until I
7251 can fix it properly.
7253 2004-05-27 Michael Koch <konqueror@gmx.de>
7255 * javax/swing/JPopupMenu.java
7256 (isVisible): Do not use visible directly.
7257 (setVisible): Likewise.
7258 * javax/swing/JWindow.java
7259 (JWindow): call accessible constructor.
7260 * javax/swing/RepaintManager.java
7261 (paintDirtyRegions): Use public methods to obtain iterator.
7263 2004-05-25 David Jee <djee@redhat.com>
7265 * java/awt/Container.java
7266 (remove): Set component's parent to null only after we removed the
7267 component from its parent's layout manager.
7269 2004-05-25 David Jee <djee@redhat.com>
7271 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7272 (GtkComponentPeer): Set bounds regardless of whether awtComponent
7274 * gnu/java/awt/peer/gtk/GtkListPeer.java
7275 (getSize): Change native method declaration.
7276 (minimumSize): Pass visible row count into getSize().
7277 (preferredSize): Likewise.
7278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
7279 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
7280 natural size. Use visible row count to determine the final height
7283 2004-05-21 Graydon Hoare <graydon@redhat.com>
7285 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
7286 (setClip): Minor correction to order of operations.
7288 * javax/swing/JScrollPane.java: Extend sketchy implementation.
7289 * javax/swing/ScrollPaneLayout.java: Likewise.
7290 * javax/swing/JViewPort.java: Likewise.
7291 * javax/swing/ViewportLayout.java: Likewise.
7293 * javax/swing/JComponent.java: Rewrite.
7294 * javax/swing/RepaintManager.java: Likewise.
7296 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
7297 * javax/swing/JList.java
7298 (setSelectedIndices):
7299 (getSelectedIndices):
7300 (getSelectedValues): New functions.
7301 (getPreferredScrollableViewportSize): Return preferred size.
7302 (getScrollableUnitIncrement):
7303 (getScrollableBlockIncrement): Initial implementations.
7304 * javax/swing/JRootPane.java: Clean up slightly.
7309 (isValidateRoot): Add overrides from JComponent.
7310 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
7311 * javax/swing/UIManager.java (getDimension): Return the dimension.
7313 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
7314 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
7315 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
7316 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
7317 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
7318 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
7319 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
7320 * javax/swing/plaf/basic/BasicRootPaneUI.java:
7321 Likewise, and set background.
7322 * javax/swing/plaf/basic/BasicListUI.java:
7323 Likewise, and improve a bit.
7324 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7325 Likewise, and adjust calculations.
7326 * javax/swing/plaf/basic/BasicViewportUI.java:
7327 Likewise, and improve a bit.
7328 * javax/swing/plaf/basic/BasicLookAndFeel.java
7329 (Button.margin): Shrink.
7331 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
7332 Hack to set horizontal always, workaround pango.
7334 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
7335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
7336 Synchronize more often, check cairo status after ops,
7337 handle changes to cairo pattern API, check for disposal.
7339 2004-05-21 Olga Rodimina <rodimina@redhat.com>
7341 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7342 (BasicMenuItemUI): Create propertyChangeListener.
7343 (getPath):Implemented.
7344 (installListeners): Add propertyChangeListener to menuItem.
7345 (uninstallListeners): Remove propertyChangeListener from menuItem.
7346 (update): Implemented.
7347 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7348 (mouseEntered): Take insets of popup menu into account when
7349 calculating position of popup menu.
7351 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7353 * Makefile.am: Added new file.
7354 * Makefile.in: Regenerate.
7355 * javax/swing/JMenuBar.java:
7356 Started implementation.
7357 * javax/swing/JPopupMenu.java:
7358 (setVisible): Fixed location of lightweight/mediumweight
7360 (show): Fixed location of PopupMenu.
7361 * javax/swing/plaf/basic/BasicMenuBarUI.java:
7362 New file. UI Delegate for JMenuBar.
7363 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
7364 (mouseEntered): Corrected position of the submenu.
7366 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
7368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
7369 to _gtk_accel_group_attach.
7370 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7373 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
7374 package access. Don't override setFont.
7375 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
7376 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
7377 gtkWidgetRequestFocus package access.
7378 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
7380 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
7381 Give gtkWidgetRequestFocus package access.
7382 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
7383 gtkWidgetRequestFocus package access. Don't override setFont.
7384 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
7386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7387 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
7389 (gtkSetFont): Likewise.
7390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7392 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7393 (gtkSetFont): Whitespace fix.
7395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7396 (gtkWidgetSetUsize): Remove method.
7398 2004-05-18 David Jee <djee@redhat.com>
7400 * java/awt/image/MemoryImageSource.java
7401 (newPixels(int,int,int,int,boolean)): Set only the specified
7402 rectangle of pixels.
7403 (newPixels(byte[],ColorModel,int,int)): Implement.
7404 (newPixels(int[],ColorModel,int,int)): Implement.
7406 2004-05-18 Olga Rodimina <rodimina@redhat.com>
7408 * Makefile.am: Added new file.
7409 * Makefile.in: Regenerate.
7410 * javax/swing/JMenu.java: Started
7412 * javax/swing/JPopupMenu.java:
7413 (insert): If specified index is -1, then
7414 add component at the end.
7415 (isPopupTrigger): Reimplemented.
7416 (JPopupMenu.LightWeightPopup): setBounds
7417 of the lightWeightPopup before adding it
7419 (javax/swing/plaf/basic/BasicIconFactory.java):
7420 (getMenuArrowIcon): Implemented.
7421 * javax/swing/plaf/basic/BasicMenuItemUI.java:
7422 (getPreferredSize): Add size of the arrow icon
7423 if this menu item is instance of JMenu.
7424 (paintMenuItem): Paint arrow icon if this
7425 menu item is a submenu.
7426 * javax/swing/plaf/basic/BasicMenuUI.java:
7427 New File. UI Delegate for JMenu.
7429 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
7431 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
7432 Post KEY_TYPED events.
7433 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7434 (generates_key_typed_event): Remove function.
7436 2004-05-17 Olga Rodimina <rodimina@redhat.com>
7438 * javax/swing/JRootPane.java
7439 (JRootPane.RootLayout): Reimplemented to
7440 set bounds of contentPane and menuBar.
7441 (setJMenuBar): Add menu bar to the layered pane.
7442 (createLayeredPane): Set layout of layeredPane
7444 * javax/swing/JLayeredPane.java:
7445 (addImpl): Calculate index of the component in the
7446 layeredPane according to the specified position within
7449 2004-05-17 David Jee <djee@redhat.com>
7451 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7452 (setPixels): Change color model to the default model after
7454 * java/awt/image/MemoryImageSource.java
7455 (newPixels): Set only the specified rectangle of pixels.
7457 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
7459 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
7460 -l-java-beans -l-javax-accessibility -l-javax-swing.
7462 * java/awt/AWTEvent.java (toString): Print source's name rather
7463 than the source itself.
7465 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
7467 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
7469 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
7470 (gdk_color_to_java_color): New function.
7471 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
7473 2004-05-12 David Jee <djee@redhat.com>
7475 * java/awt/image/RGBImageFilter.java:
7476 Initialize origmodel as null.
7477 (makeColor): Fix pixel component order.
7478 (filterRGBPixels): Fix pixel iteration.
7479 (setPixels): Add extra checks for index color model. Convert pixels
7480 to default color model if necessary.
7481 (convertColorModelToDefault): New override method for byte pixels.
7482 (convertColorModelToDefault): For int pixels, fix pixel iteration.
7483 (makeColorbyDefaultCM): New override method for byte pixels.
7484 (makeColorbyDefaultCM): For int pixel, add color model as argument.
7485 (makeColor): Fix pixel component order.
7487 2004-05-11 Kim Ho <kho@redhat.com>
7489 * javax/swing/Box.java:
7490 Comment out more parts of Box.Filler.
7492 2004-05-11 Kim Ho <kho@redhat.com>
7494 * javax/swing/Box.java:
7495 Remove reference to AccessibleAWTComponent so
7498 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
7500 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7501 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
7502 implementation of list peer to use GtkTreeView instead of
7503 deprecated GtkCList.
7505 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
7507 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7508 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
7509 (handleEvent): Remove keyChar argument to
7510 gtkWidgetDispatchKeyEvent calls.
7511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
7513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
7515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7518 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
7520 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
7521 (gtkWidgetRequestFocus): Mark protected.
7522 (GtkComponentPeer): Only set the peer's bounds if its component
7524 * java/awt/Component.java (static): Set the default keyboard
7526 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
7527 requestFocusInWindow(temporary)): Don't request focus if the
7528 component is not showing. Get tree lock before traversing
7529 component hierarchy.
7530 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
7531 Only set the global focus owner if it is not a Window.
7532 (processKeyEvent): Consume keystrokes associated with the focus
7533 traversal keystroke.
7534 (focusPreviousComponent, focusNextComponent, upFocusCycle,
7535 downFocusCycle): Call requestFocusInWindow instead of
7537 * java/awt/EventDispatchThread.java (run): Move setting of
7538 default keyboard focus manager to Component.java.
7539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7540 (awt_keycode_to_keysym): New function.
7541 (gtkWidgetDispatchKeyEvent): Finish implementation.
7542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7543 (pre_event_handler): Add FIXME comment.
7545 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7546 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7547 (gtkWidgetRequestFocus): New method.
7548 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
7549 disable Tab and Shift-Tab keystrokes.
7550 (addNotify, appendText, insertText, replaceText): Simplify peer
7552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
7553 (connectSignals): Remove connections to "commit" signals.
7554 Remove C++-style comments.
7556 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7557 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7558 (handleEvent): Activate GTK button when the space bar key is
7560 (gtkActivate): New method.
7562 2004-05-06 David Jee <djee@redhat.com>
7564 * java/awt/image/CropImageFilter.java
7565 (setPixels): Implement for byte array pixels.
7566 * java/awt/image/ReplicateScaleFilter.java
7567 (setPixels): Implement for byte array pixels.
7568 (replicatePixels): Overload for byte array pixels.
7570 2004-05-06 Kim Ho <kho@redhat.com>
7572 * javax/swing/Box.java:
7573 (getAccessibleContext): Return an instance of the
7576 2004-05-05 David Jee <djee@redhat.com>
7578 * gnu/java/awt/peer/gtk/GdkGraphics.java
7579 (drawImage): When component is null, use SystemColor.window as
7580 the default bgcolor.
7581 * gnu/java/awt/peer/gtk/GtkImage.java
7582 (setPixels): We can avoid iterating through the pixel rows only
7584 * java/awt/Image.java
7585 (getScaledInstance): Partially implement.
7586 * java/awt/image/CropImageFilter.java
7587 (setProperties): Fix "filter" property.
7588 (setPixels): Implement.
7589 * java/awt/image/ReplicateScaleFilter.java
7590 (setDimensions): Use scaled dimensions.
7591 (setPixels): Implement.
7592 (replicatePixels): New method.
7594 2004-05-05 David Jee <djee@redhat.com>
7596 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7597 (convertPixels): If either pixels or model is null, return null.
7598 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
7599 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
7600 is null, do nothing and return.
7602 2004-05-03 Kim Ho <kho@redhat.com>
7604 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
7605 (getGraphics): Like GtkFramePeer, the Graphics
7606 object needs to be translate to account for
7608 (postMouseEvent): New method. Account for
7610 (postExposeEvent): ditto.
7611 * javax/swing/Box.java: Stubbed.
7612 * javax/swing/JDialog.java: Ran through jalopy
7614 (JDialog): Call SwingUtilities' getOwnerFrame
7616 (setLayout): Check isRootPaneCheckingEnabled
7617 * javax/swing/JOptionPane.java: Re-implemented.
7618 * javax/swing/SwingUtilities.java:
7619 (getOwnerFrame): Static method to grab a default
7620 owner frame for Dialogs that don't specify owners.
7621 * javax/swing/event/SwingPropertyChangeSupport.java:
7622 (firePropertyChange): Fix early exit condition.
7623 * javax/swing/plaf/basic/BasicLabelUI.java:
7624 (paint): Avoid painting text if it is null
7626 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
7629 2004-05-03 Olga Rodimina <rodimina@redhat.com>
7631 * Makefile.am: Added new file.
7632 * Makefile.in: Regenerate.
7633 * javax/swing/JPopupMenu.java:
7634 Started implementation.
7635 * javax/swing/JWindow.java
7636 (JWindow): call super() if parent for window
7638 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
7639 New File. UI Delegate for JPopupMenu.
7641 2004-04-30 Olga Rodimina <rodimina@redhat.com>
7643 * javax/swing/JApplet.java: Indicated that JApplet
7644 implements RootPaneContainer and made method of this
7646 * javax/swing/JFrame.java: Ditto.
7647 * javax/swing/JWindow.java: Ditto.
7649 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
7651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7652 (nativeSetBounds): Call gdk_window_move in addition to
7655 * java/applet/Applet.java (preferredSize): Call parent's
7656 preferredSize if the applet stub is null.
7657 (minimumSize): Likewise for parent's minimumSize.
7659 2004-04-27 Olga Rodimina <rodimina@redhat.com>
7661 * javax/swing/JMenuItem.java
7662 (createActionPropertyChangeListener): Implemented.
7663 (processMouseEvent): Ditto.
7664 (fireMenuDragMouseEntered): Ditto.
7665 (fireMenuDragMouseExited): Ditto.
7666 (fireMenuDragMouseDragged): Ditto.
7667 (fireMenuDragMouseReleased): Ditto.
7668 (menuSelectionChanged): Ditto.
7669 (getSubElements): Ditto.
7670 (getComponent): Ditto.
7671 (addMenuDragMouseListener): Ditto.
7672 (removeMenuDragMouseListener):Ditto.
7673 (addMenuKeyListener): Ditto.
7674 (removeMenuKeyListener): Ditto.
7675 * javax/swing/plaf/basic/BasicMenuItemUI.java
7676 (doClick): Imlemented.
7677 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
7678 Don't handle mouse events here. Pass them to
7679 MenuSelectionManager.
7681 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7682 Used correct version of jalopy configuration
7683 file to fix style in the files below.
7685 2004-04-26 Olga Rodimina <rodimina@redhat.com>
7687 * javax/swing/JCheckBoxMenuItem.java:
7688 Fixed style and removed unnecessary comments.
7689 * javax/swing/JMenuItem.java: Ditto.
7690 * javax/swing/JRadioButtonMenuItem.java: Ditto.
7691 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
7692 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
7693 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
7695 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
7697 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
7700 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
7702 * java/awt/ContainerOrderFocusTraversalPolicy.java
7703 (getComponentAfter): Start from current component and work up
7704 the component hierarchy until an acceptable component is found.
7705 Synchronize on tree lock.
7706 (getComponentBefore): Likewise.
7708 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
7710 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
7711 focus-related debugging messages.
7712 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
7713 * java/awt/EventDispatchThread.java: Likewise.
7714 * java/awt/KeyboardFocusManager.java: Likewise.
7715 * java/awt/Window.java: Likewise.
7716 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7719 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7720 new C++-style comments to C-style comments.
7721 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7723 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7724 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7725 (handleEvent): Dispatch key press and key release events to
7727 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7728 (gtkWidgetRequestFocus): New method.
7729 (gtkWidgetDispatchKeyEvent): Likewise.
7730 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7731 requestFocusInWindow, requestFocusInWindow(boolean),
7732 getFocusCycleRootAncestor, nextFocus, transferFocus,
7733 transferFocusBackward, transferFocusUpCycle, hasFocus,
7734 isFocusOwner): Implement and document focus-handling methods.
7735 (setFocusTraversalKeys): Inherit focus traversal keys when
7736 keystrokes argument is null. Fix focus-handling documentation
7738 * java/awt/Container.java (setFocusTraversalKeys,
7739 getFocusTraversalKeys, areFocusTraversalKeysSet,
7740 isFocusCycleRoot, setFocusTraversalPolicy,
7741 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7742 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7743 Implement and document focus-handling methods.
7744 (transferFocusBackward): Remove method.
7745 (readObject, writeObject): Implement and document serialization
7747 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7749 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7751 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7753 * java/awt/EventDispatchThread.java (run): Set default keyboard
7754 focus manager. Attempt to dispatch each event to the keyboard
7755 focus manager before normal dispatch.
7756 * java/awt/KeyboardFocusManager.java: Implement and partially
7758 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7759 (show): Focus initial component when window is shown for the
7761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7762 (pre_event_handler): Replace complex key press and key release
7763 logic with simple callbacks into GtkComponentPeer.
7764 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7766 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7768 * javax/swing/MenuSelectionManager.java
7769 (componentForPoint): Added new method.
7770 (defaultManager): New Method. Implemented.
7771 (getSelectedPath): Ditto.
7772 (isComponentPartOfCurrentMenu): Ditto.
7773 (processKeyEvent): Added new method.
7774 (processMouseEvent): New Method. Implemented.
7775 (setSelectedPath): Ditto.
7778 2004-04-19 Kim Ho <kho@redhat.com>
7780 * java/awt/Container.java:
7781 (remove): Set the component's parent to null.
7782 (getComponentAt): Implement.
7783 * javax/swing/JComponent.java:
7784 (JComponent): Initialize defaultLocale
7785 (getDefaultLocale): Implement.
7786 (setDefaultLocale): ditto.
7787 * javax/swing/JSlider.java:
7788 (JSlider): Fix calculation of value.
7789 * javax/swing/JSplitPane.java: Implement.
7790 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7791 Change SplitPane's default divider size.
7792 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7793 (paint): Remove unused code.
7794 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7795 Added comments and ran through jalopy.
7796 (setBasicSplitPaneUI): Get reference to hidden divider
7797 and set up one touch buttons if necessary.
7798 (setBorder): Fire propertyChangeEvent only if
7799 borders are different.
7800 (getPreferredSize): Defer to layout manager.
7801 (propertyChange): Implement.
7802 (oneTouchExpandableChanged): ditto.
7803 (createLeftOneTouchButton): Use BasicArrowButton.
7804 (createRightOneTouchButton): ditto.
7805 (moveDividerTo): New method. Moves the divider
7806 to a set location based on the last divider location.
7807 (BasicSplitPaneDivider::MouseHandler): Implement.
7808 (BasicSplitPaneDivider::OneTouchButton): Removed.
7809 (BasicSplitPaneDivider::DragController): Implement.
7810 (BasicSplitPaneDivider::VerticalDragController):
7812 (BasicSplitPaneDivider::DividerLayout): ditto.
7813 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7814 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7815 (calculateLayoutInfo): Don't show component if it's
7817 (paintTab): Fix title paint logic.
7819 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7822 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7823 (setStartRule,setEndRule): Don't take abs of day number.
7824 (getOffset): Clarify docs. Add argument checks.
7825 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7826 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7828 * testsuite/libjava.mauve/xfails
7829 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7831 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7833 Layout interfaces during preparation, not initialization.
7834 * java/lang/natClass.cc (initializeClass): Move
7835 _Jv_LayoutInterfaceMethods call...
7836 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7838 2004-05-19 Anthony Green <green@localhost.localdomain>
7840 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7842 * Makefile.in: Rebuilt.
7843 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7844 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7845 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7846 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7847 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7848 gnu/javax/rmi/CORBA/DelegateFactory.java,
7849 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7850 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7851 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7852 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7853 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7854 gnu/javax/rmi/PortableServer.java: Remove files.
7856 2004-05-19 Anthony Green <green@redhat.com>
7858 * Makefile.am: Define JAVA_EXT_DIRS.
7859 * Makefile.in: Rebuilt.
7860 * java/lang/natRuntime.cc (insertSystemProperties): Set
7861 java.ext.dirs property.
7863 2004-05-16 Mark Wielaard <mark@klomp.org>
7865 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7867 2004-05-15 Mark Wielaard <mark@klomp.org>
7869 * doc/cni.sgml: Removed, merged into gcj.texi.
7871 2004-05-15 Mark Wielaard <mark@klomp.org>
7873 * Makefile.am (ordinary_java_source_files): Add new javax.print
7875 * Makefile.in: Regenerated.
7877 2004-05-15 Michael Koch <konqueror@gmx.de>
7879 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7880 javax/print/attribute/standard/DateTimeAtCreation.java,
7881 javax/print/attribute/standard/DateTimeAtProcessing.java,
7882 javax/print/attribute/standard/DocumentName.java,
7883 javax/print/attribute/standard/JobHoldUntil.java,
7884 javax/print/attribute/standard/JobImpressionsCompleted.java,
7885 javax/print/attribute/standard/JobMessageFromOperator.java,
7886 javax/print/attribute/standard/JobName.java,
7887 javax/print/attribute/standard/JobOriginatingUserName.java,
7888 javax/print/attribute/standard/JobPriority.java,
7889 javax/print/attribute/standard/JobPrioritySupported.java,
7890 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7891 javax/print/attribute/standard/OutputDeviceAssigned.java,
7892 javax/print/attribute/standard/PrinterInfo.java,
7893 javax/print/attribute/standard/PrinterLocation.java,
7894 javax/print/attribute/standard/PrinterMakeAndModel.java,
7895 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7896 javax/print/attribute/standard/PrinterName.java,
7897 javax/print/attribute/standard/QueuedJobCount.java,
7898 javax/print/attribute/standard/RequestingUserName.java:
7899 Fixed javadocs all over.
7901 2004-05-15 Michael Koch <konqueror@gmx.de>
7903 * javax/print/DocFlavor.java,
7904 javax/print/attribute/standard/ColorSupported.java,
7905 javax/print/attribute/standard/Compression.java,
7906 javax/print/attribute/standard/CopiesSupported.java,
7907 javax/print/attribute/standard/Fidelity.java,
7908 javax/print/attribute/standard/Finishings.java,
7909 javax/print/attribute/standard/JobImpressionsSupported.java,
7910 javax/print/attribute/standard/JobKOctetsSupported.java,
7911 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7912 javax/print/attribute/standard/JobSheets.java,
7913 javax/print/attribute/standard/JobState.java,
7914 javax/print/attribute/standard/JobStateReason.java,
7915 javax/print/attribute/standard/JobStateReasons.java,
7916 javax/print/attribute/standard/Media.java,
7917 javax/print/attribute/standard/MediaSizeName.java,
7918 javax/print/attribute/standard/MultipleDocumentHandling.java,
7919 javax/print/attribute/standard/NumberUpSupported.java,
7920 javax/print/attribute/standard/OrientationRequested.java,
7921 javax/print/attribute/standard/PDLOverrideSupported.java,
7922 javax/print/attribute/standard/PageRanges.java,
7923 javax/print/attribute/standard/PresentationDirection.java,
7924 javax/print/attribute/standard/PrintQuality.java,
7925 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7926 javax/print/attribute/standard/PrinterMoreInfo.java,
7927 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7928 javax/print/attribute/standard/PrinterResolution.java,
7929 javax/print/attribute/standard/PrinterState.java,
7930 javax/print/attribute/standard/PrinterStateReason.java,
7931 javax/print/attribute/standard/PrinterStateReasons.java,
7932 javax/print/attribute/standard/PrinterURI.java,
7933 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7934 javax/print/attribute/standard/Severity.java,
7935 javax/print/attribute/standard/SheetCollate.java,
7936 javax/print/attribute/standard/Sides.java:
7937 Added serialVersionUID and removed final keyword where it doenst
7940 2004-05-15 Michael Koch <konqueror@gmx.de>
7942 * javax/print/PrintServiceLookup.java: New file.
7944 2004-05-15 Michael Koch <konqueror@gmx.de>
7946 * javax/print/DocFlavor.java:
7947 Implemented all flavor classes.
7949 2004-05-15 Michael Koch <konqueror@gmx.de>
7951 * javax/print/attribute/standard/ColorSupported.java,
7952 javax/print/attribute/standard/Compression.java,
7953 javax/print/attribute/standard/CopiesSupported.java,
7954 javax/print/attribute/standard/Fidelity.java,
7955 javax/print/attribute/standard/Finishings.java,
7956 javax/print/attribute/standard/JobImpressionsSupported.java,
7957 javax/print/attribute/standard/JobKOctetsSupported.java,
7958 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7959 javax/print/attribute/standard/JobSheets.java,
7960 javax/print/attribute/standard/JobState.java,
7961 javax/print/attribute/standard/JobStateReason.java,
7962 javax/print/attribute/standard/JobStateReasons.java,
7963 javax/print/attribute/standard/Media.java,
7964 javax/print/attribute/standard/MediaSizeName.java,
7965 javax/print/attribute/standard/MultipleDocumentHandling.java,
7966 javax/print/attribute/standard/NumberUpSupported.java,
7967 javax/print/attribute/standard/OrientationRequested.java,
7968 javax/print/attribute/standard/PDLOverrideSupported.java,
7969 javax/print/attribute/standard/PageRanges.java,
7970 javax/print/attribute/standard/PresentationDirection.java,
7971 javax/print/attribute/standard/PrintQuality.java,
7972 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7973 javax/print/attribute/standard/PrinterMoreInfo.java,
7974 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7975 javax/print/attribute/standard/PrinterResolution.java,
7976 javax/print/attribute/standard/PrinterState.java,
7977 javax/print/attribute/standard/PrinterStateReason.java,
7978 javax/print/attribute/standard/PrinterStateReasons.java,
7979 javax/print/attribute/standard/PrinterURI.java,
7980 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7981 javax/print/attribute/standard/Severity.java,
7982 javax/print/attribute/standard/SheetCollate.java,
7983 javax/print/attribute/standard/Sides.java: New files.
7985 2004-05-15 Michael Koch <konqueror@gmx.de>
7987 * javax/print/Doc.java
7988 (getPrintData): Throws IOException.
7989 (getReaderForText): Likewise.
7990 (getStreamForBytes): Likewise.
7991 * javax/print/DocFlavor.java:
7992 Fixed filename in copyright.
7993 (serialVersionUID): New field.
7994 * javax/print/ServiceUIFactory.java:
7995 Made all constants final.
7996 * javax/print/AttributeException.java
7997 javax/print/MultiDoc.java
7998 javax/print/MultiDocPrintJob.java
7999 javax/print/MultiDocPrintService.java
8000 javax/print/StreamPrintService.java
8001 javax/print/URIException.java: New files.
8002 * javax/print/Makefile.am
8003 (EXTRA_DIST): Added all new files.
8005 2004-05-15 Michael Koch <konqueror@gmx.de>
8007 * javax/print/attribute/standard/Copies.java,
8008 javax/print/attribute/standard/DateTimeAtCompleted.java,
8009 javax/print/attribute/standard/DateTimeAtCreation.java,
8010 javax/print/attribute/standard/DateTimeAtProcessing.java,
8011 javax/print/attribute/standard/DocumentName.java,
8012 javax/print/attribute/standard/JobHoldUntil.java,
8013 javax/print/attribute/standard/JobImpressions.java,
8014 javax/print/attribute/standard/JobImpressionsCompleted.java,
8015 javax/print/attribute/standard/JobKOctets.java,
8016 javax/print/attribute/standard/JobKOctetsProcessed.java,
8017 javax/print/attribute/standard/JobMediaSheets.java,
8018 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
8019 javax/print/attribute/standard/JobMessageFromOperator.java,
8020 javax/print/attribute/standard/JobName.java,
8021 javax/print/attribute/standard/JobOriginatingUserName.java,
8022 javax/print/attribute/standard/JobPriority.java,
8023 javax/print/attribute/standard/JobPrioritySupported.java,
8024 javax/print/attribute/standard/NumberOfDocuments.java,
8025 javax/print/attribute/standard/NumberOfInterveningJobs.java,
8026 javax/print/attribute/standard/NumberUp.java,
8027 javax/print/attribute/standard/OutputDeviceAssigned.java,
8028 javax/print/attribute/standard/PagesPerMinute.java,
8029 javax/print/attribute/standard/PagesPerMinuteColor.java:
8030 Fixed @return tag all over.
8032 2004-05-15 Michael Koch <konqueror@gmx.de>
8034 * javax/print/attribute/AttributeSetUtilities.java
8035 (verifyCategoryForValue): Fixed typo in javadoc.
8036 * javax/print/attribute/HashAttributeSet.java
8037 (containsKey): Fixed @return tag.
8038 (comtainsValue): Likewise.
8040 * javax/print/attribute/IntegerSyntax.java
8042 * javax/print/attribute/ResolutionSyntax.java
8044 (getCrossFeedResolution): Removed unused code.
8045 (getFeedResolution): Likewise.
8046 * javax/print/attribute/SetOfIntegerSyntax.java
8047 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8048 (equals): Fixed @return tag.
8049 * javax/print/attribute/TextSyntax.java
8050 (TextSyntax): Take locale into account.
8051 (hashCode): Better implementation.
8053 2004-05-15 Michael Koch <konqueror@gmx.de>
8055 * javax/print/CancelablePrintJob.java,
8056 javax/print/Doc.java,
8057 javax/print/DocFlavor.java,
8058 javax/print/DocPrintJob.java,
8059 javax/print/FlavorException.java,
8060 javax/print/PrintException.java,
8061 javax/print/PrintService.java,
8062 javax/print/ServiceUIFactory.java: New files.
8064 2004-05-15 Mark Wielaard <mark@klomp.org>
8066 * gnu/regexp/CharIndexedReader.java: Removed.
8067 * gnu/regexp/REFilterReader.java: Likewise.
8068 * gnu/regexp/RETokenLookAhead.java: Likewise.
8069 * Makefile.am (ordinary_java_source_files): Remove above classes.
8070 * Makefile.in: Regenerated.
8072 2004-05-14 Tom Tromey <tromey@redhat.com>
8074 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
8075 not `XGraphicsConfiguration.XOffScreenImage'.
8077 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
8079 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
8081 2004-05-14 Steven Augart <augart@watson.ibm.com>
8083 * include/jni.h (_Jv_func): Removed.
8084 (struct JNINativeInterface): Use `void *' for reserved slots.
8085 (struct JNIInvokeInterface): Likewise.
8087 2004-05-11 Michael Koch <konqueror@gmx.de>
8089 * gnu/java/net/natPlainSocketImplPosix.cc
8090 (read): Fixed typo in expression.
8092 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
8094 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
8095 ld_library_additions. Adjust all calls to libjava_invoke to match
8098 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
8099 path to cxxflagslist.
8100 Pass path of libstdc++ to libjava_invoke.
8102 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
8103 libjava_invoke arguments.
8105 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
8107 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
8110 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
8112 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
8113 main binary against the JNI shared library.
8115 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
8117 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
8118 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
8119 (SimpleTimeZone): Tweak docs. Add new variation.
8120 (setStartRule,setEndRule): Add new variations. Use
8121 startTimeMode and endTimeMode.
8123 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
8125 * java/util/Calendar.java (getActualMinimum,
8126 getActualMaximum): Remove abstract. Implement.
8128 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8130 Run the jni tests using the interpreter.
8131 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
8132 options_cxx to shared lib compile command.
8133 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
8134 they are used to link the shared lib, not the main binary.
8135 Use libjava_invoke to run gij.
8137 2004-05-06 Michael Koch <konqueror@gmx.de>
8139 * java/util/logging/Level.java
8140 (parse): Use == instead of String.equals().
8142 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
8144 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
8145 verify_field_signature and verify_method_signature, not
8146 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
8147 (_Jv_ClassReader::handleField): Likewise.
8148 (_Jv_ClassReader::handleMethod): Likewise.
8150 2004-05-06 Michael Koch <konqueror@gmx.de>
8152 * javax/swing/table/TableColumn.java:
8155 2004-05-06 Michael Koch <konqueror@gmx.de>
8157 * javax/imageio/spi/ImageReaderWriterSpi.java
8158 (ImageReaderWriterSpi): Made it public.
8159 * javax/imageio/stream/ImageInputStream.java:
8162 2004-05-06 Michael Koch <konqueror@gmx.de>
8164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8167 2004-05-06 Michael Koch <konqueror@gmx.de>
8169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
8170 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
8172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
8173 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
8174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8175 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
8176 their own source file.
8177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8178 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
8179 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
8180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8181 (create): Define variable on top of function.
8182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8183 (menu_pos): Prototyped.
8184 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8185 (setTitle): Removed.
8186 * jni/gtk-peer/gthread-jni.c
8187 (gdk_threads_wake): Removed.
8188 * Makefile.am (gtk_c_source_files): Added new files
8189 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
8190 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
8191 * Makefile.in: Regenerated.
8193 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
8195 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
8198 2004-05-05 Mark Wielaard <mark@klomp.org>
8200 * javax/swing/AbstractButton.java: Replace special HTML entities with
8202 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
8203 * javax/swing/DefaultButtonModel.java: Likewise.
8204 * javax/swing/DefaultListModel.java: Likewise.
8205 * javax/swing/JList.java: Likewise.
8206 * javax/swing/JSlider.java: Likewise.
8207 * javax/swing/ListModel.java: Likewise.
8208 * javax/swing/Popup.java: Likewise.
8209 * javax/swing/SwingUtilities.java: Likewise.
8211 2004-05-05 Michael Koch <konqueror@gmx.de>
8213 * javax/swing/AbstractButton.java,
8214 javax/swing/ActionMap.java,
8215 javax/swing/DefaultButtonModel.java,
8216 javax/swing/DefaultListModel.java,
8217 javax/swing/ImageIcon.java,
8218 javax/swing/JComboBox.java,
8219 javax/swing/JComponent.java,
8220 javax/swing/JFrame.java,
8221 javax/swing/JInternalFrame.java,
8222 javax/swing/JMenuBar.java,
8223 javax/swing/JMenuItem.java,
8224 javax/swing/JOptionPane.java,
8225 javax/swing/JProgressBar.java,
8226 javax/swing/JRootPane.java,
8227 javax/swing/JScrollBar.java,
8228 javax/swing/JScrollPane.java,
8229 javax/swing/JSeparator.java,
8230 javax/swing/JSlider.java,
8231 javax/swing/JTabbedPane.java,
8232 javax/swing/JTable.java,
8233 javax/swing/JTextField.java,
8234 javax/swing/JToolBar.java,
8235 javax/swing/JToolTip.java,
8236 javax/swing/JTree.java,
8237 javax/swing/JViewport.java,
8238 javax/swing/JWindow.java,
8239 javax/swing/KeyStroke.java,
8240 javax/swing/LookAndFeel.java,
8241 javax/swing/SwingUtilities.java,
8242 javax/swing/Timer.java,
8243 javax/swing/ToolTipManager.java,
8244 javax/swing/UIDefaults.java,
8245 javax/swing/border/TitledBorder.java,
8246 javax/swing/filechooser/FileSystemView.java,
8247 javax/swing/plaf/basic/BasicButtonListener.java,
8248 javax/swing/plaf/basic/BasicButtonUI.java,
8249 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
8250 javax/swing/plaf/basic/BasicGraphicsUtils.java,
8251 javax/swing/plaf/basic/BasicLabelUI.java,
8252 javax/swing/plaf/basic/BasicMenuItemUI.java,
8253 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
8254 javax/swing/plaf/basic/BasicRootPaneUI.java,
8255 javax/swing/plaf/basic/BasicScrollBarUI.java,
8256 javax/swing/plaf/basic/BasicScrollPaneUI.java,
8257 javax/swing/plaf/basic/BasicSliderUI.java,
8258 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
8259 javax/swing/plaf/basic/BasicToggleButtonUI.java,
8260 javax/swing/table/JTableHeader.java,
8261 javax/swing/text/AbstractDocument.java,
8262 javax/swing/text/DefaultCaret.java,
8263 javax/swing/text/StyledEditorKit.java,
8264 javax/swing/tree/DefaultTreeCellEditor.java:
8267 2004-05-05 Michael Koch <konqueror@gmx.de>
8269 * java/util/prefs/AbstractPreferences.java
8270 (AbstractPreferences): Added parenthesis for clarity.
8271 Closes classpath bug #7940.
8273 2004-05-05 Tom Tromey <tromey@redhat.com>
8275 * javax/naming/CompoundName.java (endsWith): Look at correct
8276 element of source name.
8278 2004-05-05 Mark Wielaard <mark@klomp.org>
8280 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
8281 * java/util/HashMap.java (rehash): Add entry at start of bucket.
8283 2004-05-05 Tom Tromey <tromey@redhat.com>
8285 * java/io/BufferedReader.java (skip): Removed unused
8288 2004-05-05 Michael Koch <konqueror@gmx.de>
8290 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
8292 2004-05-05 Dalibor Topic <robilad@kaffe.org>
8294 * java/text/AttributedString.java,
8295 java/text/AttributedStringIterator.java,
8296 java/text/Collator.java,
8297 java/text/DecimalFormatSymbols.java,
8298 java/text/NumberFormat.java,
8299 java/text/RuleBasedCollator.java:
8302 2004-05-05 Tom Tromey <tromey@redhat.com>
8304 * java/text/Format.java: Cleaned up imports.
8305 * java/text/DecimalFormat.java: Cleaned up imports.
8306 * java/security/SecureRandom.java: Cleaned up imports.
8307 (SecureRandom): Removed unused variable.
8308 * java/security/UnresolvedPermission.java: Cleaned up imports.
8309 * java/util/Date.java (parse): Removed unused variable.
8310 * java/util/ResourceBundle.java: Cleaned up imports.
8311 (getBundle): Removed unused variable.
8312 (tryBundle): Likewise.
8313 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
8315 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8317 * java/text/SimpleDateFormat.java:
8318 (formatWithAttribute): New method. It implements
8319 the formatting process with attributes.
8320 (format): Use formatWithAttribute.
8321 (formatToCharacterIterator): New method. Use
8322 formatWithAttribute.
8324 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8326 * java/text/MessageFormat.java:
8327 (class Field): New class.
8328 (formatToCharacterIterator): New method.
8329 (format): Use formatInternal now.
8330 (formatInternal): New method. String formatter should
8331 be done here (with attributes). Attributes merging supported.
8332 (parse): More documentation.
8333 (getFormatsByArgumentIndex): New method.
8334 (setFormatByArgumentIndex): New method.
8335 (setFormatsByArgumentIndex): New method.
8337 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8339 * java/text/DecimalFormat.java
8340 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
8341 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
8342 (parse): Fixed handling of exponentiation notation and grouping.
8344 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
8346 * java/text/DecimalFormat.java
8347 (scanFix): Build attribute array. Fixed error reporting.
8348 (applyPatternWithSymbols): Store attributes for the prefix and
8350 (formatInternal): New method. Changed the way the string is
8351 computed. Implemented attributes. Cleant up rounding in
8352 exponential notation.
8353 (format): Use formatInternal.
8354 (formatToCharacterIterator): New method.
8355 (exponentRound, negativePrefixRanges, positivePrefixRanges,
8356 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
8357 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
8360 2004-05-04 Dalibor Topic <robilad@kaffe.org>
8362 * java/security/interfaces/DSAKeyPairGenerator.java,
8363 java/security/interfaces/DSAPrivateKey.java,
8364 java/security/interfaces/DSAPublicKey.java,
8365 java/security/interfaces/RSAPrivateKey.java,
8366 java/security/interfaces/RSAPublicKey.java:
8369 2004-05-04 Michael Koch <konqueror@gmx.de>
8371 * java/nio/ByteBuffer.java,
8372 java/nio/CharBuffer.java,
8373 java/nio/DoubleBuffer.java,
8374 java/nio/FloatBuffer.java,
8375 java/nio/IntBuffer.java,
8376 java/nio/LongBuffer.java,
8377 java/nio/ShortBuffer.java:
8378 (compareTo): Fixed bogus implementation in all buffer classes.
8380 2004-05-04 Ingo Proetel <proetel@aicas.com>
8382 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
8383 32 bit pixels not 8 bit pixels.
8384 (isCompatibleRaster): Added javadoc comment.
8386 2004-05-04 Ingo Proetel <proetel@aicas.com>
8388 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
8391 2004-05-04 Ingo Proetel <proetel@aicas.com>
8393 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
8394 (getColorModel): Return the actual color model.
8395 (getRaster): Implemented.
8396 (ColorRaster): New inner class.
8397 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
8399 * java/awt/Color.java (<init>): Make exception more verbose.
8400 (createContext): Use ColorModel when creating a PaintContext.
8402 2004-05-04 Michael Koch <konqueror@gmx.de>
8404 * gnu/java/text/CharacterBreakIterator.java
8405 (previous): Removed unused variable.
8407 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
8409 * gnu/java/text/FormatBuffer.java,
8410 gnu/java/text/AttributedFormatBuffer.java,
8411 gnu/java/text/StringFormatBuffer.java: New classes to implement
8412 attributed iterators in java.text.
8413 * gnu/java/text/FormatCharacterIterator.java: Moved
8414 from java/text as it is an internal class.
8415 * java/text/FormatCharacterIterator.java: Removed.
8416 * java/text/Format.java:
8417 Import gnu.java.text.FormatCharacterIterator.
8418 * Makefile.am (java_source_files): Added new files.
8419 * Makefile.in: Regenerated.
8422 2004-05-04 Mark Wielaard <mark@klomp.org>
8424 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
8426 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
8428 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
8429 * Makefile.in: Rebuilt.
8431 2004-05-03 Mark Wielaard <mark@klomp.org>
8433 * gnu/java/security/der/DERReader.java: Call static methods staticly.
8434 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
8436 (set(String, String, int, String, String, String, String, String)):
8437 Assign this.file to path or path + "?" + query.
8438 * java/util/Arrays.java: Call static methods staticly.
8439 * java/util/zip/ZipEntry.java: Likewise.
8440 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
8441 dir to this.direction.
8442 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
8443 Assign static field only once.
8444 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
8446 2004-05-03 Mark Wielaard <mark@klomp.org>
8448 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
8449 unused variables hScrollbarHeight and vScrollbarWidth.
8450 (preferredSize): Likewise.
8451 * gnu/java/security/provider/DSAParameters.java (engineToString):
8452 Removed unused call to System.getProperty("line.seperator");
8453 * java/security/Security.java (loadProviders): Return result.
8455 2004-05-03 Tom Tromey <tromey@redhat.com>
8457 * java/net/URLStreamHandler.java (toExternalForm): Removed
8460 * java/math/BigDecimal.java (divide): Removed unused variable.
8461 * java/lang/Throwable.java: Cleaned up imports.
8462 * java/lang/ClassLoader.java: Cleaned up imports.
8463 * java/io/FilePermission.java (implies): Removed unused
8465 * java/awt/TextComponent.java: Removed unused import.
8466 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
8467 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
8468 * gnu/java/text/WordBreakIterator.java: Removed unused import.
8469 * gnu/java/text/SentenceBreakIterator.java: Removed unused
8471 * gnu/java/text/LineBreakIterator.java: Removed unused import.
8472 * gnu/java/text/CharacterBreakIterator.java: Removed
8474 * gnu/java/security/provider/DSAKeyPairGenerator.java:
8476 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
8477 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
8479 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
8480 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
8481 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
8482 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
8483 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
8484 (lookupProviders): Removed unused variable.
8485 (loadNextServiceProvider): Likewise.
8486 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
8488 2004-05-03 Michael Koch <konqueror@gmx.de>
8490 Fixes PR libgcj/14695:
8491 * java/net/NetworkInterface.java
8492 (getByName): Return null when no interface was found.
8494 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
8495 Tom Tromey <tromey@redhat.com>
8497 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
8498 additional option "-Wmissing-prototypes" for compiling C sources.
8499 Print actual filename for pass/fail rather than $name.c.
8500 * testsuite/libjava.jni/PR15133.java: New testcase file.
8501 * testsuite/libjava.jni/PR15133.c: Likewise.
8502 * testsuite/libjava.jni/PR15133.out: Likewise.
8504 2004-04-30 Roger Sayle <roger@eyesopen.com>
8506 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
8509 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
8511 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
8512 limit the maximum heap size to avoid unnecessary thrashing.
8514 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
8516 * java/text/CollationElementIterator.java (reset): Reset
8517 lookahead variables.
8519 2004-04-23 Mark Wielaard <mark@klomp.org>
8521 * jni/classpath/jcl.c: Changed C++ comments into C comments.
8523 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8525 * java/sql/DriverManager.java:
8528 2004-04-23 Michael Koch <konqueror@gmx.de>
8531 (hashcode): Don't initialize with default value explicitely.
8532 (getContent): Removed redundant "final" keyword.
8533 (openStream): Likewise.
8534 (getURLStreamHandler): Fixed coding style.
8535 * java/net/URLConnection.java
8536 (defaultAllowUserInteraction): Don't initialize with default value
8538 (connected): Likewise.
8539 (doOutput): Likewise.
8540 (ifModifiedSince): Likewise.
8541 (dateformats_initialized): Likewise.
8542 (setURLStreamHander): Use StreamTokenizer where it belongs to.
8544 2004-04-23 Michael Koch <konqueror@gmx.de>
8546 * gnu/java/nio/channels/FileChannelImpl.java
8547 (SET, CUR): Unused, removed.
8548 (read): Implement here directly.
8549 (implRead): Removed.
8550 (write): Implement here directly.
8551 (implWrite): Removed.
8553 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8555 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
8556 javax/rmi/CORBA/Stub.java,
8557 javax/rmi/CORBA/Util.java,
8558 javax/rmi/CORBA/ValueHandler.java,
8559 javax/rmi/CORBA/ValueHandler.java,
8560 javax/rmi/PortableRemoteObject.java:
8563 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8565 * java/util/jar/JarFile.java,
8566 java/util/jar/JarInputStream.java,
8567 java/util/jar/JarOutputStream.java,
8568 java/util/jar/Manifest.java:
8571 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8573 * java/util/ArrayList.java,
8574 java/util/Calendar.java,
8575 java/util/Currency.java,
8576 java/util/HashMap.java,
8577 java/util/HashSet.java,
8578 java/util/Hashtable.java,
8579 java/util/LinkedList.java,
8580 java/util/Properties.java,
8581 java/util/PropertyPermission.java,
8582 java/util/TimeZone.java,
8583 java/util/TreeMap.java,
8584 java/util/TreeSet.java,
8585 java/util/Vector.java,
8586 java/util/WeakHashMap.java:
8589 2004-04-23 Dalibor Topic <robilad@kaffe.org>
8591 * java/util/logging/FileHandler.java,
8592 java/util/logging/Formatter.java,
8593 java/util/logging/Handler.java,
8594 java/util/logging/Logger.java,
8595 java/util/logging/SimpleFormatter.java,
8596 java/util/logging/XMLFormatter.java:
8599 2004-04-22 Mark Wielaard <mark@klomp.org>
8601 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
8602 -Wno-long-long flags variable.
8603 (gtk_c_files): Use PEDANTIC_CFLAGS.
8604 * Makefile.in: Regenerated.
8606 2004-04-22 Mark Wielaard <mark@klomp.org>
8608 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8609 Changed C++ comments into C comments.
8610 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
8613 2004-04-22 Michael Koch <konqueror@gmx.de>
8615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
8616 Merged copyright year with GNU classpath.
8618 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8620 * javax/security/auth/x500/X500Principal.java:
8623 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8625 * javax/swing/JSlider.java:
8626 Fixed HTML tags in comments.
8628 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8630 * javax/accessibility/AccessibleText.java:
8633 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
8635 * java/net/URLStreamHandler.java
8636 (parseURL): Convert the file path to using '/' instead of native
8639 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
8642 (userInfo): New field.
8643 (URL): Set authority to the right value.
8644 (setURL): Fixed authority and file initialization.
8645 * java/net/URLStreamHandler.java
8646 (parseURL): Take care of the query tag. Build authority.
8647 (toExternalForm): Fixed URL building using authority.
8649 2004-04-22 Michael Koch <konqueror@gmx.de>
8651 * java/net/Socket.java
8652 (impl): Made package-private.
8653 * java/net/ServerSocket.java
8654 (implAccept): Access Socket.impl field directly.
8656 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8658 * java/util/prefs/Preferences.java,
8659 java/util/prefs/InvalidPreferencesFormatException.java,
8660 java/util/prefs/BackingStoreException.java,
8661 java/util/prefs/AbstractPreferences.java:
8664 2004-04-22 Dalibor Topic <robilad@kaffe.org>
8666 * java/util/regex/Matcher.java,
8667 java/util/regex/Pattern.java:
8670 2004-04-22 Michael Koch <konqueror@gmx.de>
8672 * java/nio/charset/IllegalCharsetNameException.java
8673 (charsetName): Made private.
8674 (IllegalCharsetNameException): Added @param tag to javadoc.
8675 (getCharsetName): Added @return tag to javadoc.
8676 * java/nio/charset/MalformedInputException.java
8677 (MalformedInputException): Added @param tag to javadoc.
8678 (getInputLength): Revised method description, added @return tag.
8679 (getMessage): Added @return tag.
8681 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
8683 * java/awt/Font.java (deriveFont): Implement missing variants.
8684 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
8687 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
8689 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
8690 Set method->index values for interface methods to their itable index.
8691 (initializeClass): Call _Jv_LayoutInterfaceMethods.
8693 2004-04-21 Michael Koch <konqueror@gmx.de>
8695 * java/nio/DirectByteBufferImpl.java
8696 (shiftDown): Made static, give address as argument and
8697 provide a convenience method that overwrites shiftDown in
8698 ByteBufferImpl and calls the native shiftDown.
8699 * java/nio/MappedByteBufferImpl.java
8700 (): Use optimized method in DirectByteBufferImpl.
8701 * java/nio/natDirectByteBufferImpl.cc
8702 (shiftDown): Changed method signature. Removed usage of array_offset.
8704 2004-04-21 Michael Koch <konqueror@gmx.de>
8706 * gnu/java/net/natPlainSocketImplPosix.cc
8707 (SocketInputStream::read): Make sure returned data is a byte value.
8709 2004-04-21 Michael Koch <konqueror@gmx.de>
8711 * gnu/classpath/ServiceFactory.java,
8712 gnu/classpath/ServiceProviderLoadingAction.java,
8713 javax/imageio/ImageReader.java,
8714 javax/imageio/ImageTranscoder.java,
8715 javax/imageio/ImageWriter.java,
8716 javax/imageio/package.html,
8717 javax/imageio/spi/IIOServiceProvider.java,
8718 javax/imageio/spi/ImageInputStreamSpi.java,
8719 javax/imageio/spi/ImageOutputStreamSpi.java,
8720 javax/imageio/spi/ImageReaderWriterSpi.java,
8721 javax/imageio/spi/ImageTranscoderSpi.java,
8722 javax/imageio/spi/RegisterableService.java,
8723 javax/imageio/spi/ServiceRegistry.java,
8724 javax/imageio/spi/package.html,
8725 javax/imageio/stream/IIOByteBuffer.java,
8726 javax/imageio/stream/ImageInputStream.java,
8727 javax/imageio/stream/ImageOutputStream.java,
8728 javax/imageio/stream/package.html:
8731 (ordinary_java_source_files): Added
8732 gnu/classpath/ServiceFactory.java and
8733 gnu/classpath/ServiceProviderLoadingAction.java.
8734 (javax_source_files): Added
8735 javax/imageio/ImageReader.java,
8736 javax/imageio/ImageTranscoder.java,
8737 javax/imageio/ImageWriter.java,
8738 javax/imageio/spi/IIOServiceProvider.java,
8739 javax/imageio/spi/ImageInputStreamSpi.java,
8740 javax/imageio/spi/ImageOutputStreamSpi.java,
8741 javax/imageio/spi/ImageReaderWriterSpi.java,
8742 javax/imageio/spi/ImageTranscoderSpi.java,
8743 javax/imageio/spi/RegisterableService.java,
8744 javax/imageio/spi/ServiceRegistry.java,
8745 javax/imageio/stream/IIOByteBuffer.java,
8746 javax/imageio/stream/ImageInputStream.java and
8747 javax/imageio/stream/ImageOutputStream.java.
8748 * Makefile.in: Regenerated.
8750 2004-04-21 Michael Koch <konqueror@gmx.de>
8752 * java/util/Properties.java
8753 (load): Fix wrongly merged fix.
8755 2004-04-21 Mark Wielaard <mark@klomp.org>
8757 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8758 malloc and free buf.
8760 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8762 * javax/naming/AuthenticationException.java,
8763 javax/naming/AuthenticationNotSupportedException.java,
8764 javax/naming/CannotProceedException.java,
8765 javax/naming/CommunicationException.java,
8766 javax/naming/CompoundName.java,
8767 javax/naming/ConfigurationException.java,
8768 javax/naming/ContextNotEmptyException.java,
8769 javax/naming/InitialContext.java,
8770 javax/naming/InsufficientResourcesException.java,
8771 javax/naming/InterruptedNamingException.java,
8772 javax/naming/LimitExceededException.java,
8773 javax/naming/LinkException.java,
8774 javax/naming/LinkLoopException.java,
8775 javax/naming/LinkRef.java,
8776 javax/naming/MalformedLinkException.java,
8777 javax/naming/Name.java,
8778 javax/naming/NameAlreadyBoundException.java,
8779 javax/naming/NameNotFoundException.java,
8780 javax/naming/NamingSecurityException.java,
8781 javax/naming/NoInitialContextException.java,
8782 javax/naming/NoPermissionException.java,
8783 javax/naming/NotContextException.java,
8784 javax/naming/PartialResultException.java,
8785 javax/naming/ReferralException.java,
8786 javax/naming/ServiceUnavailableException.java,
8787 javax/naming/SizeLimitExceededException.java,
8788 javax/naming/TimeLimitExceededException.java,
8789 javax/naming/directory/Attribute.java,
8790 javax/naming/directory/Attributes.java,
8791 javax/naming/directory/SearchResult.java,
8792 javax/naming/event/NamingExceptionEvent.java,
8793 javax/naming/spi/ResolveResult.java:
8796 2004-04-21 Mark Wielaard <mark@klomp.org>
8798 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8799 Changed C++ comments into C comments. Removed commented out code.
8800 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8802 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8804 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8806 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8808 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8810 * native/jni/gtk-peer/gthread-jni.c:
8813 2004-04-21 Mark Wielaard <mark@klomp.org>
8815 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8816 static fields defined in interface.
8817 * javax/awt/JDialog.java: Likewise.
8818 (JDialog): Make constructors public.
8819 (getDefaultCloseOperation): Make public.
8820 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8821 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8822 * javax/swing/JViewport.java (JViewport): Make constructor public.
8824 2004-04-21 Michael Koch <konqueror@gmx.de>
8826 * java/util/Map.java
8827 (Entry): Removed redundant "static" modifier.
8828 * java/text/AttributedCharacterIterator.java:
8829 Updated copyright year.
8831 2004-04-20 Michael Koch <konqueror@gmx.de>
8833 * javax/naming/directory/SearchControls.java:
8834 Don't explicitely extend java.lang.Object.
8835 * javax/naming/spi/DirStateFactory.java:
8836 Merged copyright year with GNU classpath.
8838 2004-04-20 Michael Koch <konqueror@gmx.de>
8840 * java/nio/channels/Channels.java:
8841 Merged coding style with GNU classpath.
8843 2004-04-20 Michael Koch <konqueror@gmx.de>
8845 * java/net/ServerSocket.java
8846 Merged coding style from GNU classpath.
8848 2004-04-20 Michael Koch <konqueror@gmx.de>
8850 * java/io/BufferedWriter.java:
8851 Reordered variables to be at top of the class.
8852 (localFlush): Removed redundant final keyword.
8854 2004-04-20 Ingo Proetel <proetel@aicas.com>
8856 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8858 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8860 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8861 for percent and permill check.
8863 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8865 * java/text/FieldPosition.java
8866 (FieldPosition) Constructor now behaves as it should according
8867 to the java documentation.
8869 2004-04-20 Mark Wielaard <mark@klomp.org>
8871 * java/util/Properties.java: Use the word umlaut, not ä in api
8874 2004-04-20 Michael Koch <konqueror@gmx.de>
8876 * java/nio/Buffer.java,
8877 java/nio/channels/AlreadyConnectedException.java,
8878 java/nio/channels/AsynchronousCloseException.java,
8879 java/nio/channels/ByteChannel.java,
8880 java/nio/channels/CancelledKeyException.java,
8881 java/nio/channels/Channel.java,
8882 java/nio/channels/Channels.java,
8883 java/nio/channels/ClosedByInterruptException.java,
8884 java/nio/channels/ClosedChannelException.java,
8885 java/nio/channels/ClosedSelectorException.java,
8886 java/nio/channels/ConnectionPendingException.java,
8887 java/nio/channels/DatagramChannel.java,
8888 java/nio/channels/FileChannel.java,
8889 java/nio/channels/FileLock.java,
8890 java/nio/channels/FileLockInterruptionException.java,
8891 java/nio/channels/GatheringByteChannel.java,
8892 java/nio/channels/IllegalBlockingModeException.java,
8893 java/nio/channels/IllegalSelectorException.java,
8894 java/nio/channels/InterruptibleChannel.java,
8895 java/nio/channels/NoConnectionPendingException.java,
8896 java/nio/channels/NonReadableChannelException.java,
8897 java/nio/channels/NonWritableChannelException.java,
8898 java/nio/channels/NotYetBoundException.java,
8899 java/nio/channels/NotYetConnectedException.java,
8900 java/nio/channels/OverlappingFileLockException.java,
8901 java/nio/channels/Pipe.java,
8902 java/nio/channels/ReadableByteChannel.java,
8903 java/nio/channels/ScatteringByteChannel.java,
8904 java/nio/channels/SelectableChannel.java,
8905 java/nio/channels/SelectionKey.java,
8906 java/nio/channels/Selector.java,
8907 java/nio/channels/ServerSocketChannel.java,
8908 java/nio/channels/SocketChannel.java,
8909 java/nio/channels/UnresolvedAddressException.java,
8910 java/nio/channels/UnsupportedAddressTypeException.java,
8911 java/nio/channels/WritableByteChannel.java,
8912 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8913 java/nio/channels/spi/AbstractSelectableChannel.java,
8914 java/nio/channels/spi/AbstractSelectionKey.java,
8915 java/nio/channels/spi/AbstractSelector.java,
8916 java/nio/channels/spi/SelectorProvider.java,
8917 java/nio/charset/spi/CharsetProvider.java:
8918 Fixed javadocs and jalopied all over java.nio.
8920 2004-04-20 Michael Koch <konqueror@gmx.de>
8922 * java/nio/ByteBufferImpl.java,
8923 java/nio/CharBufferImpl.java,
8924 java/nio/DirectByteBufferImpl.java,
8925 java/nio/DoubleBufferImpl.java,
8926 java/nio/DoubleViewBufferImpl.java,
8927 java/nio/FloatBufferImpl.java,
8928 java/nio/FloatViewBufferImpl.java,
8929 java/nio/IntBufferImpl.java,
8930 java/nio/IntViewBufferImpl.java,
8931 java/nio/LongBufferImpl.java,
8932 java/nio/LongViewBufferImpl.java,
8933 java/nio/MappedByteBufferImpl.java,
8934 java/nio/ShortBufferImpl.java,
8935 java/nio/ShortViewBufferImpl.java:
8936 Made sure all classes are final and removed final keyword from all
8939 2004-04-20 Michael Koch <konqueror@gmx.de>
8941 * java/rmi/MarshalledObject.java,
8942 java/rmi/Naming.java,
8943 java/rmi/RemoteException.java,
8944 java/rmi/activation/ActivationException.java,
8945 java/rmi/server/ServerCloneException.java,
8946 java/security/AccessController.java,
8947 java/security/AlgorithmParameterGenerator.java,
8948 java/security/AlgorithmParameters.java,
8949 java/security/CodeSource.java,
8950 java/security/Identity.java,
8951 java/security/IdentityScope.java,
8952 java/security/KeyPairGenerator.java,
8953 java/security/KeyStore.java,
8954 java/security/Security.java,
8955 java/security/Signature.java,
8956 java/security/SignatureSpi.java,
8957 java/security/SignedObject.java,
8958 java/security/spec/DSAParameterSpec.java,
8959 java/security/spec/DSAPrivateKeySpec.java,
8960 java/security/spec/DSAPublicKeySpec.java,
8961 java/sql/Array.java,
8962 java/sql/DatabaseMetaData.java,
8963 java/sql/ResultSet.java,
8964 java/text/ChoiceFormat.java,
8965 java/text/CollationElementIterator.java,
8966 java/text/CollationKey.java,
8967 java/text/Collator.java,
8968 java/text/DateFormat.java,
8969 java/text/DateFormatSymbols.java,
8970 java/text/DecimalFormatSymbols.java,
8971 java/text/Format.java,
8972 java/text/ParsePosition.java,
8973 java/text/RuleBasedCollator.java,
8974 java/text/SimpleDateFormat.java,
8975 java/text/StringCharacterIterator.java,
8976 java/util/Collections.java,
8977 java/util/PropertyResourceBundle.java,
8978 java/util/ResourceBundle.java,
8979 java/util/StringTokenizer.java,
8980 java/util/jar/Attributes.java,
8981 java/util/logging/ConsoleHandler.java,
8982 java/util/logging/LogManager.java,
8983 java/util/logging/MemoryHandler.java,
8984 java/util/logging/SocketHandler.java,
8985 javax/naming/NamingException.java:
8986 Fixed javadoc, coding style and argument names all over.
8988 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8990 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8991 constructor. (valid) Added null check.
8993 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8995 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8996 * java/io/FileOutputStream.java
8997 (FileOutputStream) Reorganized constructors. Constructors now
8998 check whether the given path is directory.
9000 2004-04-20 Michael Koch <konqueror@gmx.de>
9002 * java/net/Authenticator.java,
9003 java/net/BindException.java,
9004 java/net/ConnectException.java,
9005 java/net/ContentHandler.java,
9006 java/net/ContentHandlerFactory.java,
9007 java/net/DatagramPacket.java,
9008 java/net/DatagramSocket.java,
9009 java/net/DatagramSocketImpl.java,
9010 java/net/DatagramSocketImplFactory.java,
9011 java/net/FileNameMap.java,
9012 java/net/HttpURLConnection.java,
9013 java/net/Inet4Address.java,
9014 java/net/Inet6Address.java,
9015 java/net/InetAddress.java,
9016 java/net/InetSocketAddress.java,
9017 java/net/JarURLConnection.java,
9018 java/net/MalformedURLException.java,
9019 java/net/MulticastSocket.java,
9020 java/net/NetPermission.java,
9021 java/net/NetworkInterface.java,
9022 java/net/NoRouteToHostException.java,
9023 java/net/PasswordAuthentication.java,
9024 java/net/PortUnreachableException.java,
9025 java/net/ProtocolException.java,
9026 java/net/ServerSocket.java,
9027 java/net/Socket.java,
9028 java/net/SocketAddress.java,
9029 java/net/SocketException.java,
9030 java/net/SocketImpl.java,
9031 java/net/SocketImplFactory.java,
9032 java/net/SocketOptions.java,
9033 java/net/SocketPermission.java,
9034 java/net/SocketTimeoutException.java,
9036 java/net/URISyntaxException.java,
9038 java/net/URLClassLoader.java,
9039 java/net/URLConnection.java,
9040 java/net/URLDecoder.java,
9041 java/net/URLEncoder.java,
9042 java/net/URLStreamHandler.java,
9043 java/net/URLStreamHandlerFactory.java,
9044 java/net/UnknownHostException.java,
9045 java/net/UnknownServiceException.java:
9046 Fixed javadocs, coding style and argument names all over.
9048 2004-04-20 Michael Koch <konqueror@gmx.de>
9050 * java/lang/Byte.java,
9051 java/lang/CharSequence.java,
9052 java/lang/ClassLoader.java,
9053 java/lang/Compiler.java,
9054 java/lang/Double.java,
9055 java/lang/Float.java,
9056 java/lang/Integer.java,
9057 java/lang/Long.java,
9058 java/lang/Math.java,
9059 java/lang/Number.java,
9060 java/lang/Package.java,
9061 java/lang/Runtime.java,
9062 java/lang/RuntimePermission.java,
9063 java/lang/SecurityManager.java,
9064 java/lang/Short.java,
9065 java/lang/StringBuffer.java,
9066 java/lang/System.java,
9067 java/lang/ThreadGroup.java,
9068 java/lang/Throwable.java,
9069 java/lang/reflect/InvocationHandler.java,
9070 java/lang/reflect/Proxy.java:
9071 Fixed javadocs, coding style and argument names all over.
9073 2004-04-20 Michael Koch <konqueror@gmx.de>
9075 * java/io/BufferedWriter.java,
9076 java/io/ByteArrayInputStream.java,
9077 java/io/CharArrayWriter.java,
9078 java/io/DataInput.java,
9079 java/io/DataInputStream.java,
9081 java/io/FilterInputStream.java,
9082 java/io/InputStream.java,
9083 java/io/InputStreamReader.java,
9084 java/io/ObjectInputStream.java,
9085 java/io/ObjectStreamClass.java,
9086 java/io/PipedInputStream.java,
9087 java/io/PipedReader.java,
9088 java/io/PushbackInputStream.java,
9089 java/io/PushbackReader.java,
9090 java/io/RandomAccessFile.java,
9091 java/io/SerializablePermission.java,
9092 java/io/StreamTokenizer.java,
9093 java/io/StringWriter.java,
9094 java/io/WriteAbortedException.java,
9095 java/io/Writer.java:
9096 Fixed javadocs all over, rename arguments to match javadocs,
9099 2004-04-20 Ingo Proetel <proetel@aicas.com>
9101 * java/awt/FontMetrics.java:
9102 (charsWidth): fixed accumulation of total_width
9103 (getWidth): simple default implementation
9104 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
9105 in Rectangle constructor.
9106 * java/awt/image/Raster.java (toString): Added method.
9107 * java/awt/image/SampleModel.java (<init>): Added error cause
9108 information to thrown exception.
9109 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
9111 (setDataElements): New method.
9112 (setPixels): New method.
9113 (toString): New method.
9115 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
9117 * java/awt/image/ComponentColorModel.java
9118 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
9119 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
9120 Mauve tests on this method. Improved documentation.
9122 2004-04-20 Michael Koch <konqueror@gmx.de>
9124 * javax/swing/JLayeredPane.java,
9125 javax/swing/plaf/BorderUIResource.java,
9126 javax/swing/plaf/ComponentUI.java,
9127 javax/swing/undo/CompoundEdit.java,
9128 javax/swing/undo/StateEdit.java:
9129 Fixed HTML tags in javadocs all over.
9131 2004-04-20 Michael Koch <konqueror@gmx.de>
9133 * javax/print/attribute/EnumSyntax.java
9134 (getOffset): Made protected.
9135 * javax/print/attribute/HashAttributeSet.java
9136 (HashAttributeSet): Likewise.
9137 * javax/print/attribute/ResolutionSyntax.java
9138 (getFeedResolution): Fixed typo in exception name.
9139 (getCrossFeedResolution): Likewise.
9140 * javax/print/attribute/SetOfIntegerSyntax.java
9141 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
9142 * javax/print/attribute/TextSyntax.java
9143 (TextSyntax): Handle locale correctly.
9144 (hashCode): Calc better hashcode value.
9145 (equals): Fixed @return tag.
9146 (toString): New method.
9148 2004-04-20 Michael Koch <konqueror@gmx.de>
9150 * gnu/java/nio/FileLockImpl.java
9151 (static): Removed, not needed anymore.
9152 * gnu/java/nio/channels/FileChannelImpl.java
9153 (FileChannelImpl): Made final.
9154 (mode): Made private.
9155 (READ, WRITE, APPEND): Made public.
9156 (EXCL, SYNC, DSYNC): Likewise.
9157 (static): Load native JNI library, when needed.
9158 (length): Unused, removed.
9159 (available): Made public.
9160 (implPosition): Throws IOException.
9162 (implTruncate): Likewise.
9166 2004-04-20 Michael Koch <konqueror@gmx.de>
9168 * java/awt/AWTPermission.java,
9169 java/awt/Component.java,
9170 java/awt/ComponentOrientation.java,,
9171 java/awt/Dialog.java,
9172 java/awt/FontMetrics.java,
9173 java/awt/Graphics.java,
9174 java/awt/datatransfer/DataFlavor.java,
9175 java/beans/Introspector.java,
9176 java/beans/PropertyEditor.java,
9177 java/beans/PropertyEditorManager.java,
9178 java/beans/beancontext/BeanContextServiceProvider.java:
9179 Fixed HTML tags in javadocs all over.
9181 2004-04-20 Mark Wielaard <mark@klomp.org>
9183 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
9184 MissingResourceException is thrown.
9185 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
9186 null when a MissingResourceException is thrown. Should never happen.
9188 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
9190 * java/awt/image/DataBufferShort.java,
9191 java/awt/image/DataBufferFloat.java,
9192 java/awt/image/DataBufferDouble.java,
9193 java/awt/image/PixelInterleavedSampleModel.java: New files.
9194 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
9195 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
9197 2004-04-20 Michael Koch <konqueror@gmx.de>
9199 * Makefile.am (java_source_files): Added
9200 java/awt/image/DataBufferDouble.java,
9201 java/awt/image/DataBufferFloat.java,
9202 java/awt/image/DataBufferShort.java and
9203 java/awt/image/PixelInterleavedSampleModel.java.
9204 * Makefile.in: Regenerated.
9206 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
9208 * gcj/cni.h (JvAllocObject): Remove these obsolete,
9209 undocumented CNI calls.
9210 * include/java-interp.h (_Jv_InterpClass): No longer
9211 extends java.lang.Class.
9212 * java/lang/Class.h (Class): Add new field `aux_info'.
9213 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
9214 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
9215 Use Class->aux_info instead.
9216 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
9217 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
9218 Use Class->aux_info instead.
9219 * java/io/natObjectInputStream.cc (allocateObject): Use
9221 * java/lang/natClass.cc (newInstance): Likewise.
9222 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
9223 * java/lang/natObject.cc (clone): Likewise.
9224 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
9225 * java/lang/natVMClassLoader.cc (defineClass): Don't use
9226 JvAllocObject. Allocate klass->aux_info here for interpreted
9229 2004-04-17 Mark Wielaard <mark@klomp.org>
9231 * javax/swing/JToggleButton.java (ToggleButtonModel):
9232 Make public static inner class.
9233 * javax/swing/JTabbedPane.java (setComponentAt):
9234 Call Page.setComponent().
9235 (SCROLL_TAB_LAYOUT): Make public, value is 1.
9236 (WRAP_TAB_LAYOUT): Make public, value is 0.
9237 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
9238 Make private static inner class.
9240 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
9242 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
9243 arguments to match new signature. Remove FIXME comments.
9245 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
9247 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
9249 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
9252 2004-04-02 Olga Rodimina <rodimina@redhat.com>
9254 * Makefile.am: Added new file.
9255 * Makefile.in: Regenerate.
9256 * javax/swing/ImageIcon.java:
9257 (ImageIcon(file)): set description of the icon
9259 * javax/swing/JCheckBoxMenuItem.java:
9260 Mostly Implemented. Work in progress.
9261 * javax/swing/JRadioButtonMenuItem.java:
9262 Reimplement constructors to use JToggleButtonModel.
9263 * javax/swing/plaf/basic/BasicIconFactory.java:
9264 (getCheckBoxMenuItemIcon): return check box
9266 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9267 paint menu item selected only when it is armed and
9270 2004-04-02 David Jee <djee@redhat.com>
9272 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9273 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
9274 * java/awt/Component.java
9275 (add): Set the parent of the popup as this component.
9276 * java/awt/PopupMenu.java
9277 (addNotify): Create popup menu when peer is null.
9278 (show): Call addNotify() if peer is null.
9279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
9280 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
9281 argument for gtk_menu_popup() as zero. This causes the popup menu to
9282 respond to any mouse button.
9284 2004-03-31 Olga Rodimina <rodimina@redhat.com>
9286 * Makefile.am: Added new file.
9287 * Makefile.in: Regenerate.
9288 * javax/swing/JRadioButtonMenuItem.java:
9290 * javax/swing/plaf/basic/BasicIconFactory.java:
9291 (getRadioButtonMenuItemIcon): Return
9293 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9294 (getPreferredSize): Add size of checkIcon if it
9296 (installDefaults): Don't initialize checkIcon.
9297 It's value will be set in subclasses.
9298 (uninstallDefaults): remove uninstallation of
9300 (paint): Moved code to paintMenuItem().
9301 (paintMenuItem): Implemented.
9302 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
9303 UI delegate for JRadioButtonMenuItem.
9305 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9307 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9308 Corrected position of the accelerator.
9310 2004-03-29 Olga Rodimina <rodimina@redhat.com>
9312 * Makefile.am: Added new file.
9313 * Makefile.in: Regenerate.
9314 * javax/swing/JMenuItem.java: Partly
9315 implemented. Work in progress
9316 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9317 Changed default value of acceleratorDelimiter.
9318 * javax/swing/plaf/basic/BasicMenuItemUI.java:
9319 New class. Partly implemented.
9321 2004-03-26 Mark Wielaard <mark@klomp.org>
9323 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
9324 (item_activate): Declare label before use.
9325 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9326 (gtkSetFont): Removed unused variable label.
9327 (addExposeFilter): Declare variables before use.
9328 (removeExposeFilter): Likewise.
9329 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
9330 (ok_clicked): Declare str_fileName before use.
9332 2004-03-26 David Jee <djee@redhat.com>
9334 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
9335 (addSeparator): Remove.
9336 * java/awt/Menu.java
9337 (separator): Remove static final MenuItem field.
9338 (separatorLabel): New static final String field.
9339 (addSeparator): Do not use peer method; use add(MenuItem) instead.
9340 Use separatorLabel to denote that it is a separator.
9341 (insertSeparator): Create a new MenuItem with separatorLabel, instead
9342 of reusing the static separator instance, because a MenuItem instance
9343 can't be added more than once without being cloned.
9344 * java/awt/peer/MenuPeer.java
9345 (addSeparator): Remove from interface.
9347 2004-03-26 David Jee <djee@redhat.com>
9349 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
9350 (connectSignals): New native method declaration.
9351 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
9352 * java/awt/MenuItem.java
9353 (getActionCommand): Return the label if the action command is not set.
9354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
9355 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
9356 gtk_menu_shell_append().
9357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
9358 (item_activate): Fix argument type.
9359 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
9361 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
9363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
9364 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
9365 given. Add the menu widget's top-level GtkWindow to the global window
9366 group, so it can grab the pointer.
9367 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
9368 gtk_menu_shell_append().
9370 2004-03-23 Graydon Hoare <graydon@redhat.com>
9372 * java/text/AttributedString.java
9373 (addAttribute): Fix off-by-one.
9374 (getIterator): Likewise.
9375 * java/text/AttributedStringIterator.java
9376 (getRunLimit): Correct logic.
9377 (getRunStart): Likewise.
9378 (getAttribute): Fix inequality.
9379 (getAttributes): Likewise.
9380 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
9382 2004-03-23 Kim Ho <kho@redhat.com>
9384 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9385 (calculateSizes): Return real width and height.
9387 2004-03-23 Kim Ho <kho@redhat.com>
9389 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
9390 (calculateTabRects): Set the selectedRun before
9391 trying to rotate tabs.
9393 2004-03-23 Kim Ho <kho@redhat.com>
9395 * Makefile.am: New file
9396 * Makefile.in: Regenerate
9397 * java/awt/Graphics.java: (drawRect):
9398 Draw to the correct point.
9399 * javax/swing/DefaultSingleSelectionModel.java
9400 (isSelected): Return true if the selected index
9402 * javax/swing/JLabel.java: Do not change mnemonic
9403 index if text is null.
9404 * javax/swing/JProgressBar.java: Use JComponent's
9406 * javax/swing/JScrollBar.java: Ditto.
9407 * javax/swing/JSlider.java: Ditto.
9408 * javax/swing/JTabbedPane.java: Reimplement.
9409 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9410 Add defaults for TabbedPane.
9411 * javax/swing/plaf/basic/BasicArrowButton.java:
9413 * javax/swing/plaf/basic/BasicProgressBarUI.java:
9414 (paintDeterminate): Don't paint String if it's
9416 (paintIndeterminate): ditto.
9417 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
9420 2004-03-19 Michael Koch <konqueror@gmx.de>
9422 * java/awt/image/AffineTransformOp.java
9423 (AffineTransformOp): Made public.
9424 * javax/swing/JComponent.java
9425 (listenerList): Made protected.
9426 (accessibleContext): Likewise.
9427 * javax/swing/JList.java
9428 (valueChanged): Dont use internal fields of ListSelectionEvent.
9429 * javax/swing/JViewport.java
9430 (getView): Dont use internal fields of Component.
9431 (addImpl): Likewise.
9432 * javax/swing/Timer.java
9433 (isRunning): Made public.
9436 * javax/swing/UIDefaults.java
9437 (getInt): Made public.
9438 * javax/swing/plaf/basic/BasicListUI.java
9439 (mousePressed): Dont use internal fields of MouseEvent.
9440 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9441 * javax/swing/plaf/basic/BasicScrollBarUI.java
9442 (arrowIcon): Made static.
9443 * javax/swing/plaf/basic/BasicViewportUI.java
9444 (stateChanged): Dont use internal field on ChangeEvent.
9445 * javax/swing/text/JTextComponent.java
9446 (getUI): Call UIManager.getUI().
9447 (updateUI): Use getUI().
9449 2004-03-19 Graydon Hoare <graydon@redhat.com>
9451 * javax/swing/JComponent.java: Turn off double buffer by default.
9452 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
9453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9454 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
9455 Use cairo to copy areas.
9456 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
9457 Initialize and set clip region.
9459 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
9461 * java/applet/Applet.java (preferredSize): Override deprecated
9462 variant of getPreferredSize.
9463 (minimumSize): Override deprecated variant of getMinimumSize.
9465 2004-03-15 Olga Rodimina <rodimina@redhat.com>
9467 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9468 (drawImage(img,xform,bgcolor,obs)): New Method.
9469 Helper function that every drawImage method will
9471 (drawRaster): Added new parameter, bgcolor. All
9472 transparent pixels are changed to bgcolor before
9474 (drawRenderedImage): Fixed to use changed drawRaster().
9475 (drawImage(image,xform,obs): Fixed to use new helper function
9476 (drawImage(image,op,x,y)): Ditto.
9477 (drawImage (img,x,y,observer)): Ditto.
9478 ((PainterThread) bgcolor): New Field.
9479 ((PainterThread) (setPixels)): Changed all transparent pixels
9481 (drawImage(img,x,y,width,height,bgcolor,observer)):
9482 Fixed FIXME - all the transparent pixels are
9483 changed to the specified bgcolor.
9484 (drawImage(img, x, y, width, height, observer): Changed to
9486 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
9487 Fixed FIXME- changed all transparent pixels to bgcolor.
9488 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
9489 Changed to use function above.
9491 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
9493 * java/applet/Applet.java (dimensions): New field.
9494 (getDimensions): New method.
9495 (getPreferredSize): Call getDimensions.
9496 (getMinimumSize): Likewise.
9498 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
9500 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
9501 * jni/classpath/jnilink.c: Likewise.
9503 * java/applet/Applet.java (getPreferredSize): New method.
9504 (getMinimumSize): New method.
9506 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
9508 * prims.cc (_Jv_AllocObject): Remove `size' argument.
9509 (_Jv_AllocObjectNoFinalizer): Likewise.
9510 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
9511 (_Jv_AllocPtrFreeObject): Likewise.
9512 (_Jv_AllocString): Moved from natString.cc. Call collector interface
9513 directly even in the JVMPI case.
9514 * gcj/cni.h (JvAllocObject): Remove `size' argument from
9515 _Jv_AllocObject calls.
9516 * gcj/javaprims.h: Update prototypes.
9517 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
9518 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
9519 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
9521 2004-04-14 Andrew Haley <aph@redhat.com>
9522 Bryce McKinlay <mckinlay@redhat.com>
9524 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
9525 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
9526 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
9528 * testsuite/libjava.lang/InvokeInterface.java: New file.
9529 * testsuite/libjava.lang/InvokeInterface.out: New file.
9531 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
9533 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
9535 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
9536 StackTraceElement directly.
9537 (newElement): New native helper method to create StackTraceElement
9538 bypassing Java access control.
9539 (createStackTraceElement): Use newElement() instead of directly
9540 calling StackTraceElement's constructor.
9541 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
9543 2004-04-01 Michael Koch <konqueror@gmx.de>
9545 * java/lang/SecurityManager.java
9546 (checkAwtEventQueueAccess): Implemented.
9548 2004-04-01 Gary Benson <gbenson@redhat.com>
9550 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
9551 (_Jv_SearchMethodInClass): Likewise.
9553 2004-03-26 Peter Moon <peterm@miraculum.com>
9555 * java/text/NumberFormat.java: Fix spelling of setCurrency
9558 2004-03-21 Anthony Green <green@redhat.com>
9560 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
9561 recursion when searching for the system ClassLoader.
9563 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
9565 * java/net/ServerSocket.java
9566 (accept): Close the socket when error occured.
9568 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
9570 * java/net/URI.java (parseURI): Added unquoting.
9571 (unquote): New method.
9572 (quoteAuthority): Implemented.
9573 (quote(String,String)): New method.
9574 (quotePath): Implemented.
9575 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
9576 (getSchemeSpecificPart): Removed FIXME comment.
9577 (getRawAuthority): Return new rawAuthority field.
9578 (getAuthority): Removed FIXME comment.
9579 (getRawUserInfo): Return new rawUserInfo field.
9580 (getUserInfo): Removed FIXME comment.
9581 (getRawPath): Return new rawPath field.
9582 (getPath): Removed FIXME comment.
9583 (getRawQuery): Return new rawQuery field.
9584 (getQuery): Removed FIXME comment.
9585 (getRawFragment): Return new rawFragment field.
9586 (getFragment): Removed FIXME comment.
9588 2004-03-20 Michael Koch <konqueror@gmx.de>
9590 * java/net/URLConnection.java: Merged copyright year with classpath.
9592 2004-03-20 Norbert Frese <postfach@nfrese.net>
9594 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
9595 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
9596 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
9598 (getObjectInputStream): Return object reference, throw IOException if null.
9599 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
9600 (getObjectOutputStream): Return object reference, throw IOException if null.
9601 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
9602 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
9603 (UnicastConnectionManager): Throw RemoteException if port is not available.
9604 (getInstance): Throw RemoteException.
9605 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
9606 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
9607 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9608 Collect Exceptions which are returned by a rmi-call and fix void returns.
9609 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
9610 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
9611 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
9612 (dispatch): Answer ping messages which are sent by other java implementions.
9613 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
9614 for every rmi-message and fix void return problems.
9615 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
9616 (UnicastServerRef): Throw RemoteException.
9617 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
9618 In some situations it is necessary to export a subclass of the class which has the _Stub.
9619 For instance when the class with has the _Stub is abstract.
9620 (findStubSkelClass): New method which looks for the class which has the _Stub.
9621 (getClientHost): Implementated.
9622 * gcc/libjava/java/rmi/server/RemoteServer.java
9623 (getClientHost): Implementated.
9624 * gcc/libjava/Makefile.am (rmi_java_source_files):
9625 Added gnu/java/rmi/server/RMIIncomingThread.java.
9626 * Makefile.in: Regenerated.
9628 2004-03-20 Michael Koch <konqueror@gmx.de>
9630 * java/net/InetAddress.java
9631 (getLocalHostname): Added javadoc.
9633 2004-03-19 Per Bothner <per@bothner.com>
9635 * configure.in: FILE variable overrides FLATFORM when linking
9636 natFileChannelXXX.cc.
9638 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
9639 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
9641 2004-03-19 Per Bothner <per@bothner.com>
9643 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
9644 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
9645 * Makefile.am: Update accordingly.
9646 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
9647 as aliases for UnicodeLittle and UnicodeBig.
9649 2004-03-20 Mark Wielaard <mark@klomp.org>
9651 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
9652 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
9653 Don't access ws when it is null.
9654 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
9657 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
9659 * java/lang/ThreadGroup.java (list): Changed print to println.
9661 2004-03-19 Mark Wielaard <mark@klomp.org>
9663 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
9666 2004-02-10 Randolph Chung <tausq@debian.org>
9668 * configure.in: Build java for hppa target.
9669 * configure: Regenerate.
9670 * libjava/configure.host (hppa-*): Add target.
9671 * libjava/sysdeps/pa/lock.h: New file.
9673 2004-03-19 Mark Wielaard <mark@klomp.org>
9675 Reported by Stephen Crawley
9676 * java/io/FilePermission.java (implies): Use String.length() -1 to
9677 access last char of String.
9679 2004-03-19 Michael Koch <konqueror@gmx.de>
9681 * java/awt/image/AffineTransformOp.java
9682 (AffineTransformOp): Made public.
9683 * javax/swing/JComponent.java
9684 (listenerList): Made protected.
9685 (accessibleContext): Likewise.
9686 * javax/swing/JList.java
9687 (valueChanged): Dont use internal fields of ListSelectionEvent.
9688 * javax/swing/JViewport.java
9689 (getView): Dont use internal fields of Component.
9690 (addImpl): Likewise.
9691 * javax/swing/Timer.java
9692 (isRunning): Made public.
9695 * javax/swing/UIDefaults.java
9696 (getInt): Made public.
9697 * javax/swing/plaf/basic/BasicListUI.java
9698 (mousePressed): Dont use internal fields of MouseEvent.
9699 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
9700 * javax/swing/plaf/basic/BasicScrollBarUI.java
9701 (arrowIcon): Made static.
9702 * javax/swing/plaf/basic/BasicViewportUI.java
9703 (stateChanged): Dont use internal field on ChangeEvent.
9704 * javax/swing/text/JTextComponent.java
9705 (getUI): Call UIManager.getUI().
9706 (updateUI): Use getUI().
9708 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9710 * verify.cc: Undef PC.
9712 2004-03-18 Michael Koch <konqueror@gmx.de>
9714 * java/nio/channels/spi/AbstractSelectableChannel.java
9715 (keys): Initialize at declaration.
9716 (locate): keys cant be null.
9718 (addSelectionKey): New method.
9719 (removeSelectionKey): New method.
9720 * java/nio/channels/spi/AbstractSelectionKey.java
9721 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9722 * java/nio/channels/spi/AbstractSelector.java
9723 (provider): Javadoc added.
9724 (cancelledKeys): Javadoc added.
9725 (cancelKey): Javadoc added, add key to cancelledKeys.
9726 (deregister): Implemented.
9728 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9730 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9731 MAP_FAILED to void *.
9733 2004-03-12 Graydon Hoare <graydon@redhat.com>
9735 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9736 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9737 * javax/swing/JList.java (ListListener): Revalidate on changes.
9738 * javax/swing/JScrollPane.java: Reimplement.
9739 * javax/swing/JViewport.java: Reimplement.
9740 * javax/swing/ScrollPaneLayout.java: Reimplement.
9741 * javax/swing/ViewportLayout.java: Tidy up.
9742 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9743 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9744 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9745 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9748 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9751 (window_wm_protocols_filter): New function.
9752 (window_focus_in_cb): Remove function.
9753 (window_focus_out_cb): Likewise.
9754 (window_focus_or_active_state_change_cb): New function.
9755 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9756 (connectSignals): Don't attach handlers to focus-in-event or
9757 focus-out-event signals. Handle notify signal.
9759 2004-03-11 David Jee <djee@redhat.com>
9761 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9762 (gtkSetLabel): New native method declaration.
9763 (setLabel): Use gtkSetLabel.
9764 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9765 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9767 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9769 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9770 black when color argument is null.
9772 2004-03-10 Kim Ho <kho@redhat.com>
9774 * java/awt/Container.java: Remove check
9777 2004-03-10 Kim Ho <kho@redhat.com>
9779 * java/awt/Container.java: (visitChild):
9780 Remove candidate clip. Use the component
9782 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9783 (handleEvent): Use the PaintEvent's clip.
9785 2004-03-10 Kim Ho <kho@redhat.com>
9787 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9788 (handleEvent): Don't set the clip for the
9791 2004-03-09 Graydon Hoare <graydon@redhat.com>
9793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9794 Fix double <-> fixed macros, reset font transform.
9795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9798 2004-03-09Â Kim Ho <kho@redhat.com>
9800 * java/awt/Container.java: (visitChild): Move
9801 the x and y coordinate of the component rectangle
9802 to correct position.
9803 (handleEvent): Forward drag events to the pressed
9805 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9807 (ArrowButtonListener::mousePressed): Stop the
9809 (mouseDragged): Implement.
9810 (TrackListener::mousePressed): Only react if
9811 the press doesn't occur on the thumb, otherwise
9812 just set the offset.
9813 (TrackListener::mouseReleased): Unset the isAdjusting
9815 (createIncreaseIcon): Switch icon.
9816 (createDecreaseIcon): Switch icon.
9817 (calculatePreferredSize): Use width.
9818 (getThumbBounds): Use the top as the lower value.
9819 (layoutVScrollBar): Switch the button locations.
9820 (paintIncreaseHighlight): Paint correct side of thumb.
9821 (paintDecreaseHighlight): ditto.
9822 (valueForYPosition): Use top as the lower value.
9823 * javax/swing/plaf/basic/BasicSliderUI.java:
9825 (mouseDragged): Implement.
9826 (mousePressed): Only react when the thumb isn't
9827 pressed, otherwise just set offset.
9828 (mouseReleased): Handle a release of the thumb.
9829 (scrollDueToClickInTrack): Stop the timer first.
9830 * javax/swing/JProgressBar.java:
9831 (setString): Fix change condition.
9832 * javax/swing/JSeparator.java:
9835 2004-03-08 David Jee <djee@redhat.com>
9837 * java/awt/image/AffineTransformOp.java:
9838 (filter): Use Graphics2D interface instead of directly using the
9841 2004-03-05 David Jee <djee@redhat.com>
9843 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9844 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9845 * java/awt/Container.java
9846 (acquireComponentForMouseEvent): Fixed.
9847 (handleEvent): Fixed.
9848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9849 (state_to_awt_mods_with_button_states): New method.
9850 (pre_event_handler): Fixed mouse event generation.
9852 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9854 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9855 (GdkGraphics2D (BufferedImage)): Initialize
9856 pixmap associated with specified BufferedImage.
9857 (setPaint): Changed implementation of Texture
9858 Paint to use AffineTransformOp.
9859 * java/awt/image/AffineTransformOp.java
9860 (createCompatibleDestRaster): Throw RasterFormatException
9861 if resulting width or height of raster is 0.
9863 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9865 * java/awt/image/AffineTransformOp.java:
9866 Removed unnecessary field interpolationType.
9867 Formatted some of the lines to be consistent with
9869 (AffineTransformOp): Create new RenderingHints
9870 containing specified interpolation type.
9871 (createCompatibleDestImage): Implemented.
9872 (createCompatibleDestRaster): Implemented.
9873 (filter): Implemented.
9874 (getBounds2D(BufferedImage)): Implemented.
9875 (getBounds2D(Raster)): Implemented.
9876 (getInterpolationType): Get interpolation value from
9879 2004-03-04 David Jee <djee@redhat.com>
9881 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9882 (setFont): Check if child peers are null.
9884 2004-03-04 Graydon Hoare <graydon@redhat.com>
9886 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9888 (libjava_arguments): Add new libraries to argument list.
9890 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9892 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9893 * Makefile.in: Re-generated.
9894 * java/awt/image/AffineTransformOp.java: New Class.
9896 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9898 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9899 (setPaint): Interpret correctly TexturePaint's
9901 (drawImage): Fixed scale factors of the affine
9904 2004-02-27 David Jee <djee@redhat.com>
9906 * gnu/java/awt/peer/gtk/GdkGraphics.java
9907 (GdkGraphics(Component)): Inherit font from component.
9908 (drawString): Use font style.
9909 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9910 (gtkSetFont): New native method declaration.
9911 (setFont): New method.
9912 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9913 (gtkSetFont): New native method declaration.
9914 (setFont): Call new native method gtkSetFont.
9915 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9916 (setFont): For all child components who do not their fonts set,
9917 set their peers' fonts with this container's font.
9918 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9919 Move all native method declarations to the top for readability.
9920 (gtkSetFont): New native method declaration.
9921 (setFont): New method.
9922 * java/awt/Component.java
9923 (setFont): Invalidate after setting the font.
9924 * java/awt/Container.java
9925 (invalidateTree): New method.
9926 (setFont): Invalidate the container tree after setting the font.
9927 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9928 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9930 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9932 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9934 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9936 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9938 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9939 (updateBufferedImage): New helper function.
9940 Updates BufferedImage in memory if it was changed.
9941 (draw): changed to update BufferedImage in memory after
9942 this drawing operation
9944 (draw3DRect): Ditto.
9945 (fill3DRect): Ditto.
9947 (drawRaster): Ditto.
9948 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9949 no affine transformation.
9950 (drawGlyphVector): Ditto.
9952 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9954 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9955 (isBufferedImageGraphics): New Helper function.
9956 Returns true if this graphics2d can be used to draw
9957 into buffered image and false otherwise.
9958 (updateImagePixels): New Helper function.
9959 Updates pixels in the BufferedImage.
9960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9961 (getImagePixels): New function. Returns pixels
9962 of the buffered image associated with
9965 2004-02-26 David Jee <djee@redhat.com>
9967 * java/awt/BorderLayout.java
9968 (layoutContainer): Fix width and height calculations to ensure
9969 that they're non-negative.
9970 * java/awt/Component.java
9971 (setBackground): If c is null, inherit from closest ancestor whose
9972 background color is set.
9974 2004-02-26 Kim Ho <kho@redhat.com>
9976 * Makefile.am: Add new files.
9977 * Makefile.in: Re-generate.
9978 * javax/swing/JProgressBar.java:
9979 (JProgressBar(int, int int)): Throw
9980 IllegalArgumentException if orientation is
9982 (JProgressBar(BoundedRangeModel)): Create
9983 ChangeListener and register it. UpdateUI.
9984 (getChangeListeners): Implement.
9985 (setModel): Reset ChangeListener.
9986 * javax/swing/JScrollBar.java: Implement.
9987 * javax/swing/JSeparator.java: Implement.
9988 * javax/swing/JSlider.java:
9989 (JSlider(int, int, int, int)): Throw
9990 IllegalArgumentException if orientation
9992 (getChangeListeners): Fix method name.
9993 * javax/swing/SwingUtilities.java:
9994 (layoutCompoundLabel): If there is no text,
9995 set the text rectangle dimensions to 0.
9996 * javax/swing/plaf/basic/BasicButtonUI.java:
9997 (paint): If there is no text, don't paint it.
9998 * javax/swing/plaf/basic/BasicScrollBarUI.java:
10000 * javax/swing/plaf/basic/BasicSeparatorUI.java:
10002 * javax/swing/plaf/basic/BasicSliderUI.java:
10003 (propertyChange): If the model changes, change
10004 the listeners accordingly.
10006 2004-02-25 Graydon Hoare <graydon@redhat.com>
10008 * javax/swing/AbstractButton.java: Add "final" qualifiers.
10009 * javax/swing/JList.java: Reimplement.
10010 * javax/swing/DefaultListSelectionModel.java: Reimplement.
10011 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
10012 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
10013 * javax/swing/ListModel.java: Javadoc.
10014 * javax/swing/ListSelectionModel.java: Add missing methods.
10015 * javax/swing/AbstractListModel.java: Javadoc and corrections.
10016 * javax/swing/DefaultListModel.java: Javadoc and corrections.
10017 * javax/swing/ListModel.java: Javadoc and corrections.
10018 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
10020 2004-02-25 David Jee <djee@redhat.com>
10022 * gnu/java/awt/peer/gtk/GtkFontPeer.java
10023 (GtkFontPeer): Change default size to 12.
10024 * gnu/java/awt/peer/gtk/GtkToolkit.java
10025 (getFontPeer): Change default size to 12.
10026 (getClasspathFontPeer): Likewise. Set default name to "Default".
10027 * java/awt/Font.java
10028 (Font(Map)): Call Font(String,Map).
10029 (Font(String,Map)): If attrs is null, initialize it as an empty
10030 HashMap, which will ensure that the Font will get default attributes.
10032 2004-02-25 David Jee <djee@redhat.com>
10034 * gnu/java/awt/peer/gtk/GtkFontPeer.java
10035 (GtkFontPeer(String,int)): Call the new constructor with size 1.
10036 (GtkFontPeer(String,int,int)): New constructor with size attribute.
10037 * gnu/java/awt/peer/gtk/GtkToolkit.java
10038 (getFontPeer(String,int)): Call the new overload method with size 1.
10039 (getFontPeer(String,int,int)): New method. Overloaded with size
10041 (getClasspathFontPeer): Set the size of the font.
10043 2004-02-24 Olga Rodimina <rodimina@redhat.com>
10045 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10046 (bimage): New field.
10047 (GdkGraphics2D): New Constructor. Constructs Graphics
10048 object that can be used to draw into the Buffered Image.
10049 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10050 (GdkGraphicsEnvironment): Fixed to include public
10052 (createGraphics): Implemented.
10053 * gnu/java/awt/peer/gtk/GtkToolkit.java
10054 (getLocalGraphicsEnvironment): Implemented.
10055 * java/awt/GraphicsEnvironment.java:
10056 (getLocalGraphicsEnvironment): Implemented.
10057 * java/awt/image/BufferedImage.java:
10058 (createGraphics): Implemented.
10060 2004-02-24 David Jee <djee@redhat.com>
10062 * java/awt/Component.java
10063 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
10064 * java/awt/Container.java
10065 (addNotifyContainerChildren): Fix event enabling.
10067 2004-02-23 Olga Rodimina <rodimina@redhat.com>
10069 * Makefile.am: Added
10070 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
10071 * Makefile.in: Re-generated.
10072 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
10075 2004-02-19 Kim Ho <kho@redhat.com>
10077 * Makefile.am: Add BasicProgressBarUI
10078 * Makefile.in: Regenerate.
10079 * javax/swing/JProgressBar.java:
10081 * javax/swing/plaf/basic/BasicLookAndFeel.java
10082 Add constants for JProgressBar.
10083 * javax/swing/plaf/basic/BasicProgressBarUI.java
10085 * javax/swing/plaf/basic/BasicSliderUI.java
10087 (calculateGeometry): New method
10088 (paint): Remove unnecessary size calculations.
10090 2004-02-18 Olga Rodimina <rodimina@redhat.com>
10092 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10093 (drawRaster): Fixed small error that caused
10094 imageToUser transformation to be set incorrectly.
10095 (toString): Implemented.
10097 2004-02-18 David Jee <djee@redhat.com>
10099 * java/awt/CardLayout.java
10100 (addLayoutComponent): Show the first component added as the default.
10101 (removeLayoutComponent): After removing, show the next component.
10102 (gotoComponent): If there is only one component, show it and return.
10104 2004-02-18 Kim Ho <kho@redhat.com>
10106 * javax/swing/JSlider.java: Re-order
10108 * javax/swing/JLabel.java: Re-order
10110 * javax/swing/JComponent.java:
10111 (addPropertyChangeListener):
10113 (removePropertyChangeListener):
10115 (firePropertyChangeEvent):
10118 2004-02-17 David Jee <djee@redhat.com>
10120 * java/awt/Component.java
10121 (show): Dispatch ComponentEvent via system event queue.
10124 (resize): Likewise.
10125 (reshape): Likewise.
10126 * java/awt/Window.java
10127 (setBoundsCallback): Likewise.
10129 2004-02-17 David Jee <djee@redhat.com>
10131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10132 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
10133 Use gtk_widget_set_size_request() instead of the deprecated
10134 gtk_widget_set_usize().
10136 2004-02-17 Kim Ho <kho@redhat.com>
10138 * javax/swing/JSlider.java: Fix comments and
10139 make property strings constants.
10140 (createStandardLabels): Use the labels
10141 preferred size as bounds.
10142 * javax/swing/plaf/basic/BasicSliderUI.java
10144 (ScrollHandler::actionPerformed): Don't
10145 calculate the timer stop value. Let the
10146 MouseListeners find the stop location.
10147 (getPreferredHorizontalSize): Re-implement.
10148 (getPreferredVerticalSize): ditto.
10149 (getMinimumHorizontalSize): ditto.
10150 (getMinimumVerticalSize): ditto.
10151 (getPreferredSize): ditto.
10152 (getMinimumSize): ditto.
10153 (getMaximumSize): ditto.
10154 (paintTicks): Use doubles to find the
10156 (paintHorizontalLabel):Â Use preferredSize
10157 as initial width and height.
10158 (paintVerticalLabel): ditto.
10160 2004-02-17 Kim Ho <kho@redhat.com>
10162 * javax/swing/JLabel.java: Changed
10163 property strings to constants.
10164 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
10166 (setText): Change mnemonic index if
10168 (setDisplayedMnemonicIndex): Fire property
10170 (getDisplayedMnemonicIndex): Remove check
10171 against short text.
10173 2004-02-17 Olga Rodimina <rodimina@redhat.com>
10175 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10176 (drawImage(img,xform,obs)): Invert xform before
10177 passing the xform to cairo.
10178 (drawImage(img,x,y,bgcolor,obs)): Implemented.
10179 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
10181 (drawImage (img,x,y,w,h,obs)): Implemented.
10182 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
10183 bgcolor,obs)): Partly implemented.
10184 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
10186 * java/awt/image/BufferedImage.java:
10187 (copyData): if dest is null, create raster with same
10188 dimensions as the current image.
10190 2004-02-16 Graydon Hoare <graydon@redhat.com>
10192 * javax/swing/plaf/basic/BasicLabelUI.java
10193 (getPreferredSize): Use layoutCL.
10194 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10195 (getPreferredButtonSize): Start with empty view rect, layout using
10196 component's preferred alignment.
10197 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
10200 2004-02-16 David Jee <djee@redhat.com>
10202 * java/awt/Component.java
10203 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
10204 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
10205 (move): Erase old bounds and repaint new bounds. Dispatch
10206 COMPONENT_MOVED ComponentEvent.
10207 (resize): Erase old bounds and repaint new bounds. Dispatch
10208 COMPONENT_RESIZED ComponentEvent.
10209 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10211 * java/awt/Window.java
10212 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
10215 2004-02-16 Olga Rodimina <rodimina@redhat.com>
10217 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10218 (setRenderingHint): Added implementation of
10219 Interpolation rendering hints.
10220 (setRenderingHints): Ditto.
10221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
10222 (drawPixels): fixed to allow user to choose type
10223 of filtering that should be used when displaying images.
10224 (cairoSurfaceSetFilter): New method. Sets filter type for
10225 interpolation of pixel values.
10227 2004-02-16 David Jee <djee@redhat.com>
10229 * java/awt/GridBagLayout.java
10230 (calcCellSizes): Rows or columns with zero sizes should still be
10231 considered for extra space distribution.
10233 2004-02-16 Kim Ho <kho@redhat.com>
10235 * javax/swing/JLabel.java: Re-implement.
10236 * javax/swing/plaf/basic/BasicLabelUI.java
10238 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10241 2004-02-16 Kim Ho <kho@redhat.com>
10243 * javax/swing/JSlider.java: Fix indentation and comments.
10244 (setModel): Remove null check to conform with Sun's.
10245 (setOrientation): Throw exception if not
10246 HORIZONTAL or VERTICAL.
10247 (getInverted): Use private variable instead of
10248 ComponentOrientation.
10249 (setInverted): ditto.
10250 * javax/swing/plaf/basic/BasicSliderUI.java:
10251 Fix indentation and comments.
10252 (propertyChange): Remove check for inverted slider, handle
10254 (getMinimumSize): Return preferred size.
10255 (getMaximumSize): ditto.
10256 (calculateFocusRect): Don't relocate rectangle.
10257 (drawInverted): Return XOR of the slider's inversion and
10258 the component's orientation.
10259 (paint): Update leftToRightCache
10261 2004-02-13 David Jee <djee@redhat.com>
10263 * java/awt/GridBagLayout.java
10264 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
10265 code to helper methods.
10266 (sortBySpan): New helper method.
10267 (distributeSizeAndWeight): Likewise.
10268 (calcCellWeights): Likewise.
10269 (calcCellSizes): Add comments.
10271 2004-02-13 David Jee <djee@redhat.com>
10273 * java/awt/Component.java
10274 (show): Only do something if component is invisible at the moment.
10275 (hide): Only do something if component is visible at the moment.
10276 (reshape): If lightweight, erase old bounds and repaint new bounds.
10278 2004-02-13 Kim Ho <kho@redhat.com>
10280 * Makefile.am: Updated for new file.
10281 * Makefile.in: Regenerated.
10282 * javax/swing/JSlider.java: Reimplement.
10283 * javax/swing/SwingUtilities.java
10284 (layoutCompoundLabel): Use icon height
10286 (paintComponent): Implement.
10287 * javax/swing/plaf/basic/BasicLookAndFeel.java:
10288 Add JSlider defaults.
10289 * javax/swing/plaf/basic/BasicSliderUI.java:
10290 Implement. New file.
10292 2004-03-17 Michael Koch <konqueror@gmx.de>
10294 * gnu/java/net/PlainDatagramSocketImpl.java
10295 (RECEIVE_LOCK): New member field.
10296 (SEND_LOCK): New member field.
10297 (send0): New method.
10298 (send): Synchronize on SEND_LOCK.
10299 (receive0): New method.
10300 (receive): Synchronize on RECEIVE_LOCK.
10301 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
10302 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
10303 gnu/java/net/natPlainDatagramSocketImplWin32.cc
10304 (send0): Renamed from send.
10305 (receive0): Renamed from receive.
10306 2004-03-17 Michael Koch <konqueror@gmx.de>
10308 * gnu/java/net/natPlainSocketImplPosix.cc
10309 (write): Just call write(jbyteArray, offset, len).
10310 (read): Just call read(jbyteArray, offset, len).
10312 2004-03-16 Michael Koch <konqueror@gmx.de>
10314 * javax/swing/JTabbedPane.java
10315 (serialVersionUID): New field.
10317 2004-03-16 Norbert Frese <postfach@nfrese.net>
10319 * java/net/InetAddress.java
10320 (getByName): Handle hostname == "" case.
10322 2004-03-16 Dalibor Topic <robilad@kaffe.org>
10324 Reported by: Adam Heath <doogie@debian.org>
10325 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
10328 2004-03-15 Michael Koch <konqueror@gmx.de>
10330 * java/util/Locale.java: Reverting my last patch
10331 and add a comment why the original version was okay.
10333 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
10335 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
10336 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
10337 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
10338 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
10340 2004-03-12 Michael Koch <konqueror@gmx.de>
10342 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
10344 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10346 * java/net/URI.java (toURL): Implemented.
10348 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
10350 * java/net/URI.java
10351 (URI_REGEXP) updated to contain scheme specific part.
10352 (SCHEME_SPEC_PART_GROUP) new constant.
10353 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
10354 updated to make room for SCHEME_SPEC_PART_GROUP.
10355 (parseURI) parse scheme specific part.
10356 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
10357 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
10358 getQuery, getFragment) implemented.
10360 2004-03-12 Dalibor Topic <robilad@kaffe.org>
10362 * libraries/javalib/java/net/URI.java
10363 partially implemented using java.util.regex.
10364 (URI_REGEXP) new constant. Used to parse URIs.
10365 (SCHEME_GROUP) new constant representing index of scheme group
10367 (AUTHORITY_GROUP) new constant representing index of authority
10368 group in parsed URI.
10369 (PATH_GROUP) new constant representing index of path group in
10371 (QUERY_GROUP) new constant representing index of query group in
10373 (FRAGMENT_GROUP) new constant representing index of fragment
10374 group in parsed URI.
10375 (getURIGroup) new static utility method.
10376 (parseURI) implemented.
10377 (quote) stub for new static utility method.
10378 (quoteAuthority) stub for new static utility method.
10379 (quoteHost) stub for new static utility method.
10380 (quotePath) stub for new static utility method.
10381 (quoteUserInfo) stub for new static utility method.
10383 (create) don't throw URISyntaxException. Implemented.
10384 (toString) implemented.
10386 2004-03-12 Michael Koch <konqueror@gmx.de>
10388 * java/net/HttpURLConnection.java
10389 (getResponseCode): Fix another typo in javadoc.
10391 2004-03-11 Michael Koch <konqueror@gmx.de>
10393 * java/util/logging/Level.java
10394 (parse): Use String.equals() instead of ==.
10396 2004-03-11 Michael Koch <konqueror@gmx.de>
10398 * gnu/java/net/protocol/jar/Connection.java
10399 (getContentLength): New method.
10401 2004-03-11 Michael Koch <konqueror@gmx.de>
10403 * gnu/java/net/PlainSocketImpl.java:
10404 Reformated to merge better with classpath's version.
10406 2004-03-11 Michael Koch <konqueror@gmx.de>
10408 * java/util/Locale.java
10409 (getISO3Language): Use String.equals() instead of ==.
10410 (getISO3Country): Likewise.
10412 2004-03-11 Dalibor Topic <robilad@kaffe.org>
10414 * java/text/AttributedString.java
10415 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
10416 Use HashMap instead of Hashtable since value can be null, and
10417 you can not store a null value in a Hashtable.
10419 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10421 * java/text/AttributedStringIterator.java
10422 (getAllAttributesKey): Return only keys concerned
10423 by the current iterator.
10424 (getAttributes): Use strict inequality for
10427 2004-03-11 Michael Koch <konqueror@gmx.de>
10429 * java/net/HttpURLConnection.java:
10430 Fixed typo in javadoc.
10432 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
10434 * java/io/BufferedInputStream.java (marktarget): New field for max
10436 (CHUNKSIZE): New constant for incremental mark buffer allocation.
10437 (mark): Use new fields.
10439 (read(byte[],int,int)): Likewise.
10441 (refill): Likewise.
10443 2004-03-11 Mark Wielaard <mark@klomp.org>
10445 * java/beans/BeanDescriptor.java (BeanDescriptor):
10446 Set the FeatureDescriptor programmatic name.
10448 2004-03-11 Michael Koch <konqueror@gmx.de>
10450 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
10451 This file was was just copied form java/io/natFileDescriptorEcos.cc
10452 and never changed to compile correctly.
10454 2004-03-11 Michael Koch <konqueror@gmx.de>
10456 * gnu/java/nio/PipeImpl.java
10457 (SourceChannelImpl): Made final.
10458 (read): Implemented.
10459 (SinkChannelImpl): Made final.
10460 (write): Implemented.
10462 2004-03-11 Michael Koch <konqueror@gmx.de>
10464 * gnu/java/net/PlainDatagramSocketImpl.java:
10465 Reformated to match classpath's version more.
10467 2004-03-11 Michael Koch <konqueror@gmx.de>
10469 * gnu/java/awt/peer/ClasspathFontPeer.java:
10470 Fixed javadoc to be correct xhtml.
10471 * gnu/java/awt/peer/gtk/GtkArgList.java
10472 (add): Use Boolean.valueOf() instead of new Boolean().
10474 2004-03-09 Michael Koch <konqueror@gmx.de>
10476 * java/lang/Thread.java
10477 (runnable): Moved around.
10478 (daemon): Renamed from daemon_flag.
10479 (contextClassLoader): Renamed from context_class_loader.
10480 (Thread): Reordered constructors.
10481 (activeCount): Use group directly.
10482 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
10483 (holdsLock): Reworked javadoc.
10484 (setDaemon): Reworked.
10485 * java/lang/natThread.cc
10486 (destroy): Removed.
10488 2004-03-08 Anthony Green <green@redhat.com>
10490 * Makefile.am: Build property resource files into libgcj.
10491 * Makefile.in: Rebuilt.
10492 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
10493 java/util/regex/PatternSyntaxException.java,
10494 gnu/regexp/CharIndexed.java,
10495 gnu/regexp/CharIndexedCharArray.java,
10496 gnu/regexp/CharIndexedInputStream.java,
10497 gnu/regexp/CharIndexedReader.java,
10498 gnu/regexp/CharIndexedString.java,
10499 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
10500 gnu/regexp/REException.java,
10501 gnu/regexp/REFilterInputStream.java,
10502 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
10503 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
10504 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
10505 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
10506 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
10507 gnu/regexp/RETokenLookAhead.java,
10508 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
10509 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
10510 gnu/regexp/RETokenStart.java,
10511 gnu/regexp/RETokenWordBoundary.java,
10512 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
10514 2004-03-03 Per Bothner <per@bothner.com>
10516 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
10517 Optimize when argument is a FileChannelImpl.
10518 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
10519 New native methods.
10520 * java/nio/channels/natChannels.cc: New file for new native methods.
10521 * Makefile.am: Update accordingly.
10523 2004-03-02 Jan Hubicka <jh@suse.cz>
10525 * configure.host: Pass -fno-omit-frame-pointer for i386.
10526 * configure.in: Likewise.
10527 * configure: Regenerate.
10529 2004-03-01 Per Bothner <per@bothner.com>
10531 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
10533 2004-02-29 Per Bothner <per@bothner.com>
10535 * java/nio/channels/FileChannelImpl.java: Moved to package
10536 gnu/java/nio/channels, since we need to refer to it from java.io.
10537 * java/nio/channels/natFileChannelImpl.cc: Removed file.
10538 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
10539 from java/nio/channels. Don't depend on FileDescriptor.
10540 (in, out, err): New static fields.
10542 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
10543 from FileDescriptor.
10544 (by): Removed MappedByteBuffer field.
10545 (map): New working implementation.
10546 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
10547 some code "ported" from natFileDescriptoPosix.cc.
10548 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
10549 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
10550 * java/io/FileDescriptor.java: Implement on top of FileChannel.
10551 Remove native methods.
10552 * Makefile.am, configure.in: Updated accordingly.
10554 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
10555 (ch): New FileChannelImpl field. Update constructor to match.
10556 (releaseImpl): Remove native method. Instead ...
10557 (release): Call unlock on channel.
10558 * gnu/java/nio/natFileLockImpl.cc: Removed file.
10560 * java/io/natFileDescriptorEcos.cc: Remove file.
10561 * java/io/natFileDescriptorPosix.cc: Remove file.
10562 * java/io/natFileDescriptorWin32.cc: Remove file.
10563 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
10564 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
10565 (<init>(FileChannelImpl)): New package-private constructor.
10566 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
10567 (available, close, read, skip): Implement using FileChannelImpl.
10568 (getFD): Allocate FileDescriptor if needed.
10569 (getChannel): Is now trivial.
10570 * java/io/FileOutputStream.java: Corresponding changes.
10571 * java/io/RandomAccessFile.java: Corresponding changes.
10573 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
10574 unmapImpl): New dummy methods, to be overridden by subclass.
10575 (finalize, isLoaded, load, force): New methods.
10576 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
10577 Now works, at least for read mapping.
10579 * java/lang/natPosixProcess.cc (startProcess): Implement standard
10580 streams using FileChannelImpl, not FileDescriptor.
10581 * java/lang/natWin32Process.cc (startProcess): Likewise.
10583 2004-02-28 Michael Koch <konqueror@gmx.de>
10585 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
10588 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
10590 * java/io/ObjectInputStream.java
10591 (readClassDescriptor): Keep elements of the mapping non null.
10592 (checkTypeConsistency): New method.
10593 (readFields): Fixed main loop and base logic. Small reindentation.
10594 * java/io/ObjectStreamField.java
10595 (lookupField): New method to update the field reference.
10596 (checkFieldType): New method.
10597 * java/io/ObjectStreamClass.java
10598 (setClass, setFields): Call lookupField when building the field
10599 database. Check the real field type.
10601 2004-02-28 Michael Koch <konqueror@gmx.de>
10603 * java/nio/ByteOrder.java
10604 (nativeOrder): Use equals() to compare strings.
10606 2004-02-26 Michael Koch <konqueror@gmx.de>
10608 * gnu/java/nio/FileLockImpl.java
10609 (finalize): Made protected.
10610 * java/nio/channels/FileChannel.java
10611 (MapMode.READ_ONLY): Made final.
10612 (MapMode.READ_WRITE): Made final.
10613 (MapMode.PRIVATE): Made final.
10614 * java/nio/channels/SocketChannel.java
10615 (open): Simplified code.
10616 * java/nio/channels/spi/AbstractSelectableChannel.java
10617 (registered): Unused, removed.
10618 (keyFor): Check channel is open, only locate key
10619 and not add a new one.
10620 (register): Don't delete attachments.
10622 2004-02-26 Michael Koch <konqueror@gmx.de>
10624 * gnu/java/awt/ComponentDataBlitOp.java
10625 (INSTANCE): Made final.
10626 * gnu/java/awt/image/ImageDecoder.java:
10628 (cm): Unused, removed.
10630 2004-02-26 Michael Koch <konqueror@gmx.de>
10632 * gnu/java/nio/DatagramChannelImpl.java
10633 (send): Check if target address is resolved.
10635 2004-02-26 Michael Koch <konqueror@gmx.de>
10637 * Makefile.am: Generate and install headers for inner classes in
10638 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
10639 * Makefile.in: Regenerated.
10641 2004-02-24 Anthony Green <green@redhat.com>
10643 * java/lang/StringBuffer.java: No need to NULL out remainder of
10644 buffer since ensureCapacity_unsynchronized will have done this for
10647 2004-02-20 Michael Koch <konqueror@gmx.de>
10649 * gnu/java/net/protocol/jar/Handler.java
10650 (): Removed unneeded check for file != null. java.net.URL.getFile()
10651 returns an empty string but never null.
10653 2004-02-20 Michael Koch <konqueror@gmx.de>
10655 * gnu/gcj/convert/Convert.java
10656 (main): Use equals() to compare strings.
10658 2004-02-20 Michael Koch <konqueror@gmx.de>
10660 * javax/swing/AbstractButton.java: Made several constants final.
10661 (getRolloverSelectedIcon): Made public.
10662 (getSelectedIcon): Made public.
10664 2004-02-16 Per Bothner <per@bothner.com>
10666 * java/nio/CharBufferImpl.java: Inline super constructor.
10667 * java/nio/DoubleBufferImpl.java: Likewise.
10668 * java/nio/FloatBufferImpl.java: Likewise.
10669 * java/nio/IntBufferImpl.java: Likewise.
10670 * java/nio/LongBufferImpl.java: Likewise.
10671 * java/nio/ShortBufferImpl.java: Likewise.
10672 * java/nio/CharBuffer.java: Remove unused constructor.
10673 * java/nio/DoubleBuffer.java: Likewise.
10674 * java/nio/FloatBuffer.java: Likewise.
10675 * java/nio/IntBuffer.java: Likewise.
10676 * java/nio/LongBuffer.java: Likewise.
10677 * java/nio/ShortBuffer.java: Likewise.
10678 * java/nio/CharViewBufferImpl.java: New convenience constructor.
10679 Fix buggy call to super constructor.
10680 * java/nio/DoubleViewBufferImpl.java: Likewise.
10681 * java/nio/FloatViewBufferImpl.java: Likewise.
10682 * java/nio/IntViewBufferImpl.java: Likewise.
10683 * java/nio/LongViewBufferImpl.java: Likewise.
10684 * java/nio/ShortViewBufferImpl.java: Likewise.
10686 * java/nio/ByteBuffer.java (endian): Make non-private so other
10687 java.nio classes can inherit it.
10688 (<init>): Don't bother clearing array_offset.
10689 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
10690 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
10691 Remove redundant test.
10693 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
10694 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
10695 Use new XxxViewBufferImpl constructors.
10696 * java/nio/MappedByteBufferImpl.java: Likewise.
10697 * java/nio/DirectByteBufferImpl.java: Likewise.
10699 * java/nio/ByteBufferImpl.java: Remove one constructor.
10700 Inline super in remaining constructor.
10701 * java/nio/ByteBuffer.java: Remove unused constructor.
10703 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
10705 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
10706 * java/nio/DirectByteBufferImpl.java (owner): New field.
10707 (offset): Remove unused field.
10708 (<init>): Modify one and add another constructor. Change callers.
10709 (allocateDirect): Removed - not used.
10710 (getImpl, putImpl): Make static and pass address explicitly,
10711 to make them useful for MappedByteBufferImpl.
10712 (get, put): Check for underflow. Modify for new getImpl.
10713 (getImpl): New native method where target is array.
10714 (get(byte[],int,int)): Use the above.
10715 (adjustAddress): New static native method.
10716 (slice, duplicate, asReadOnly): New implementations.
10717 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10718 adjustAddress): New or updated native methods.
10720 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10722 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10723 overflow of fieldmapping.
10725 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10727 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10729 2004-02-14 Per Bothner <per@bothner.com>
10731 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10732 Set closed before calling implCloseChannel, as in the spec.
10734 2004-02-09 Graydon Hoare <graydon@redhat.com>
10736 * javax/swing/ToggleButtonModel.java: Remove dead class.
10737 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10738 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10739 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10740 * Makefile.am: Update for new and removed files.
10741 * Makefile.in: Regenerate.
10743 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10744 * javax/swing/AbstractButton.java
10745 (AbstractButton): Initialize fields correctly in ctor.
10746 * javax/swing/JCheckbox.java
10747 (JCheckBox): Override painting flags.
10748 * javax/swing/DefaultButtonModel.java: Conform to sun.
10749 * javax/swing/JComponent.java (paint): Fill with background color
10751 (processComponentKeyEvent)
10752 (processFocusEvent)
10754 (processMouseMotionEvent): Remove event-consuming empty methods.
10755 (getUIClassID): Return "ComponentUI" not "JComponent"
10756 * javax/swing/JFrame.java: Remove some debugging chatter.
10757 (JFrame): Subscribe to window events.
10758 * javax/swing/JRadioButton.java
10759 (JRadioButton): Override painting flags.
10760 * javax/swing/JRootPane.java
10761 (JRootPane): Set background from UIDefaults.
10762 * javax/swing/JToggleButton.java
10763 (ToggleButtonModel): New inner class.
10764 (JToggleButton): Override layout alighment.
10765 * javax/swing/SwingUtilities.java:
10766 (getLocalBounds): Return width and height, not x and y.
10767 (calculateInnerArea): Use local bounds, not bounds.
10768 (layoutCompoundLabel): Provide overridden form.
10769 (layoutCompoundLabel): Correct bugs.
10770 * javax/swing/UIDefaults.java: Correct comment.
10771 * javax/swing/plaf/basic/BasicButtonUI.java:
10772 Move most logic into defaults, external listener.
10773 (paintIcon): Implement icon painting.
10774 (paint): Fix state painting to conform to changes in model.
10775 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10776 Remove most dead/wrong methods.
10777 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10778 * javax/swing/plaf/basic/BasicIconFactory.java:
10779 (DummyIcon): New class.
10780 (getMenuItemCheckIcon)
10781 (getMenuItemArrowIcon)
10783 (getCheckBoxMenuItemIcon)
10784 (getRadioButtonMenuItemIcon)
10785 (createEmptyFrameIcon): Return DummyIcons, not null.
10786 (getCheckBoxIcon): Implement an icon that looks like sun's.
10787 (getRadioButtonIcon): Implement an icon that looks like sun's.
10788 * javax/swing/plaf/basic/BasicLookAndFeel.java
10789 (initComponentDefaults): Fix impossible values, add some missing.
10790 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10791 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10792 Remove most dead/wrong methods.
10794 (getDefaultIcon): New method.
10795 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10796 Remove most dead/wrong methods.
10797 * javax/swing/plaf/metal/MetalLookAndFeel.java
10798 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10800 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10801 Implement "clearing" as drawing, when on pixmap drawables.
10803 * javax/swing/JButton.java (getUIClassID):
10804 * javax/swing/JCheckBox.java (getUIClassID):
10805 * javax/swing/JEditorPane.java (getUIClassID):
10806 * javax/swing/JLabel.java (getUIClassID):
10807 * javax/swing/JList.java (getUIClassID):
10808 * javax/swing/JOptionPane.java (getUIClassID):
10809 * javax/swing/JPanel.java (getUIClassID):
10810 * javax/swing/JPasswordField.java (uiClassID):
10811 * javax/swing/JRadioButton.java (getUIClassID):
10812 * javax/swing/JRootPane.java (getUIClassID):
10813 * javax/swing/JScrollPane.java (getUIClassID):
10814 * javax/swing/JTabbedPane.java (getUIClassID):
10815 * javax/swing/JToggleButton.java (getUIClassID):
10816 * javax/swing/JTree.java (getUIClassID):
10817 * javax/swing/JViewport.java (getUIClassID):
10818 * javax/swing/text/JTextComponent.java (getUIClassID):
10819 Return "fooUI" not "Jfoo"
10821 2004-02-11 Michael Koch <konqueror@gmx.de>
10823 * java/net/DatagramSocket.java
10824 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10826 (setBroadcast): Likewise.
10827 * java/net/MulticastSocket.java
10828 (setLoopbackMode): Likewise.
10829 * java/net/ServerSocket.java
10830 (setReuseAddress): Likewise.
10831 * java/net/Socket.java
10832 (setTcpNoDelay): Likewise.
10833 (setSoLinger): Likewise.
10834 (setOOBInline): Likewise.
10835 (setKeepAlive): Likewise.
10836 (setReuseAddress): Likewise.
10837 * java/net/URLConnection.java
10838 (setContentHandler): Replace == with equals().
10839 * java/net/URLStreamHandler.java
10840 (hostSEquals): Fix checking host addresses.
10841 (toExternalForm): Dont check protocol for null. We know already its
10844 2004-02-10 David Jee <djee@redhat.com>
10846 * java/awt/BorderLayout.java
10847 (calcCompSize): Invisible components get zero dimensions.
10848 * java/awt/Button.java
10849 (setLabel): Set actionCommand.
10850 * java/awt/Component.java
10851 (show): Invalidate component and parent container.
10854 2004-02-10 David Jee <djee@redhat.com>
10856 * java/awt/GridBagLayout.java
10857 (GridBagLayout): New private field, internalcomptable.
10858 (lookupInternalConstraints): New method.
10859 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10860 (GetLayoutInfo): Reimplement.
10861 (calcCellSizes): Ignore rows/columns with size 0.
10863 2004-02-10 Michael Koch <konqueror@gmx.de>
10865 * gnu/java/awt/EmbeddedWindow.java
10866 (setHandle): Use java.awt.Component.getPeer() instead of
10867 java.awt.Component.peer directly.
10869 2004-02-10 David Jee <djee@redhat.com>
10871 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10872 (gtkSetLabel): New native method definition.
10873 (setLabel): Use gtkSetLabel.
10874 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10875 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10877 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10879 * include/powerpc-signal.h: Revert 2004-01-21 change.
10880 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10881 from syscall for ppc32 versions.
10883 2004-02-08 Per Bothner <per@bothner.com>
10885 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10886 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10887 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10888 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10889 Pass ByteOrder parameter to most methods, since the underlying
10890 ByteBuffer's order isn't always what we should use.
10891 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10892 * java/nio/DirectByteBufferImpl.java: Likewise.
10893 Use ByteBufferHelper methods.
10894 * java/nio/MappedByteBufferImpl.java: Likewise.
10895 (compact): Use shiftDown.
10896 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10897 (get, put): Use ByteBufferHelper.
10898 (compact): Use new shiftDown method.
10899 (duplicate(boolean)): New helper method.
10900 (duplicate, asReadOnlyBuffer): Use it.
10901 (order): Return endian field.
10902 * java/nio/DoubleViewBufferImpl.java: Likewise.
10903 * java/nio/FloatViewBufferImpl.java: Likewise.
10904 * java/nio/IntViewBufferImpl.java: Likewise.
10905 * java/nio/LongViewBufferImpl.java: Likewise.
10906 * java/nio/ShortViewBufferImpl.java: Likewise.
10907 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10908 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10909 (compact): Re-implement using shiftDown.
10911 2004-02-08 Andreas Jaeger <aj@suse.de>
10913 * include/x86_64-signal.h: Fix typo.
10915 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10917 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10918 qualifier to _regs.
10919 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10921 2004-02-06 Michael Koch <konqueror@gmx.de>
10923 * java/io/ObjectInputStream.java
10924 (currentClassLoader): Reverted to old version of this method.
10926 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10928 * java/io/ObjectInputStream.java: Made all calls
10929 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10930 use cached info from ObjectStreamClass. (readClassDescriptor):
10931 Cache more information in ObjectStreamClass. (processResolution,
10932 readFields): Use cached info from ObjectStreamClass.
10933 (newObject): Throw exception instead of returning null for failure.
10934 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10935 setCharField, setDoubleField, setFloatField, setIntField,
10936 setLongField, setShortField, setObjectField, readObjectParams):
10937 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10939 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10940 (setClass): Added call to cacheMethods() (findMethod): New method.
10941 (cacheMethods): New method. (ObjectStreamClass): Added call to
10942 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10943 AccessController.doPrivileged to invoke setAccessible.
10944 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10945 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10947 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10948 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10949 isPrimitive): Made safe for cases where type == null.
10950 (setBooleanField, setByteField, setCharField, setShortField,
10951 setIntField, setLongField, setFloatField, setDoubleField,
10952 setObjectField): New methods.
10954 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10956 * java/awt/Component.java (getFont): Return a default font
10959 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10960 (Scrollbar (int, int, int, int, int)): Make default page
10962 (setValues): Only call peer.setValues if one of the values has
10964 (generateName): New method.
10965 (getUniqueLong): New method.
10966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10967 (range_scrollbar): Remove structure.
10968 (post_adjustment_event): Remove function.
10969 (post_change_event): Accept jobject argument.
10970 (create): Cast jints to gdoubles. Round scrollbar values to the
10971 nearest integer. Clamp min, max and value settings.
10972 (connectJObject): Connect hook to widget->window.
10973 (connectSignals): Remove range_scrollbar structure variables.
10974 Remove "move-slider" connection. Pass global peer reference to
10975 "value-changed" callback.
10976 (setLineIncrement): Cast jint value to gdouble.
10977 (setPageIncrement): Likewise.
10978 (setValues): Likewise. Clamp min, max and value settings.
10980 2004-02-05 Michael Koch <konqueror@gmx.de>
10982 * javax/swing/AbstractCellEditor.java
10983 (getCellEditorValue): Removed.
10984 * javax/swing/Box.java: Reformated.
10985 (serialVersionUID): New field.
10986 * javax/swing/ButtonGroup.java:
10987 Removed some weird whitespace.
10988 * javax/swing/CellEditor.java: Reformated.
10989 * javax/swing/CellRendererPane.java
10990 (serialVersionUID): New field.
10991 (AccessibleCellRendererPaneserialVersionUID): New field.
10992 * javax/swing/DefaultListModel.java
10993 (serialVersionUID): New field.
10994 * javax/swing/JEditorPane.java
10995 (serialVersionUID): New field.
10996 (setPage): Throws IOException.
10997 (addHyperlinkListener): Implemented.
10998 (removeHyperlinkListener): Implemented.
10999 (getHyperlinkListener): New method.
11000 * javax/swing/JFileChooser.java
11001 (serialVersionUID): New field.
11002 (AccessibleJFileChooser.serialVersionUID): New field.
11003 (addActionListener): Implemented.
11004 (removeActionListener): Implemented.
11005 (getActionListeners): New method.
11006 * javax/swing/JFormattedTextField.java
11007 (serialVersionUID): New field.
11008 (AbstractFormatter.serialVersionUID): New field.
11009 (clone): Throws CloneNotSupportedException
11010 (setEditValid): Add missing argument.
11011 (stringToValue): Throws ParseExcpetion.
11012 (valueToString): Throws ParseException.
11013 (commitEdit): Throws ParseException.
11014 * javax/swing/JLabel.java
11015 (serialVersionUID): New field.
11016 * javax/swing/JList.java
11017 (serialVersionUID): New field.
11018 (addListSelectionListener): Reformated.
11019 (removeListSelectionListener): Reformated.
11020 (getListSelectionListeners): New method.
11021 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
11023 (serialVersionUID): New field.
11024 * javax/swing/table/AbstractTableModel.java
11025 (getValueAt): Removed.
11026 (getColumnCount): Removed.
11027 (getRowCount): Removed.
11029 2004-02-05 Michael Koch <konqueror@gmx.de>
11031 * java/awt/datatransfer/DataFlavor.java
11032 (imageFlavor): Javadoc added.
11033 (javaJVMLocalObjectType): Fixed.
11035 2004-02-05 Michael Koch <konqueror@gmx.de>
11037 * java/lang/Thread.java
11038 (Thread): Reordered.
11039 (setContextClassLoader): Fixed javadoc comment.
11040 (setPriority): Reordered.
11041 (yield): Reordered.
11042 (initialize_native): Reordered.
11043 (gen_name): Reordered.
11045 2004-02-05 Michael Koch <konqueror@gmx.de>
11047 * java/lang/Thread.java: Reordered fields, reformated much code,
11048 no functional changes, some variables renamed, javadoc comments
11051 2004-02-05 Michael Koch <konqueror@gmx.de>
11053 * java/util/zip/Deflater.java,
11054 java/util/zip/DeflaterOutputStream.java,
11055 java/util/zip/GZIPInputStream.java:
11056 Reformated and javadoc comments merged from classpath.
11058 2004-02-05 Michael Koch <konqueror@gmx.de>
11060 * gnu/java/nio/NIOServerSocket.java
11061 (impl): Unused, removed.
11062 * gnu/java/nio/SocketChannelImpl.java
11063 (finnishConnect): Don't throw NoConnectionPendingException if not
11064 connected or no connection pending.
11066 2004-02-02 Graydon Hoare <graydon@redhat.com>
11068 * javax/swing/SwingUtilities.java: Many new functions.
11069 * java/awt/Container.java (LightweightDispatcher): Reimplement.
11070 * javax/swing/basic/BasicGraphicsUtils.java
11071 (getPreferredButtonSize): Start layout from top-left corner.
11073 2004-02-04 Olga Rodimina <rodimina@redhat.com>
11075 * java/awt/geom/AffineTransform.java:
11076 Corrected comments on the field definitions for
11078 (shear): Fixed few errors that caused shear
11079 transformation to be performed incorrectly.
11080 (createInverse): Fixed to return correct
11081 inverse of the given matrix.
11083 2004-02-03 Tom Tromey <tromey@redhat.com>
11085 * java/lang/natPosixProcess.cc (startProcess): Handle case where
11086 PATH or LD_LIBRARY_PATH is not set in parent environment.
11088 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
11090 * gnu/java/awt/peer/gtk/GtkListPeer.java,
11091 java/awt/BorderLayout.java, java/awt/CardLayout.java,
11092 java/awt/CheckboxGroup.java, java/awt/Choice.java,
11093 java/awt/Component.java, java/awt/Container.java,
11094 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
11095 java/awt/LayoutManager2.java, java/awt/List.java,
11096 java/awt/Menu.java, java/awt/MenuBar.java,
11097 java/awt/MenuItem.java, java/awt/Polygon.java,
11098 java/awt/Rectangle.java, java/awt/ScrollPane.java,
11099 java/awt/Scrollbar.java, java/awt/TextArea.java,
11100 java/awt/TextField.java,
11101 java/awt/image/renderable/RenderContext.java,
11102 javax/swing/JApplet.java: Fix handling of alias methods, where a
11103 method has been deprecated in favour of a new one with the same
11104 funtion but a different name. Put the method implementation in
11105 the deprecated method and have the new method call the
11106 deprecated one. Make all other code call the new method.
11108 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
11110 * gnu/java/nio/DatagramChannelImpl.java
11111 (inChannelOperation): New field.
11112 (isInChannelOperation): New accessor.
11113 (setInChannelOperation): New modifier.
11114 (receive): Use capacity() - position() of destination
11115 buffer instead of remaining(). Set and reset our "in
11116 channel operation indicator" before and after delegating
11117 the receive to our datagram socket. Removed testing code.
11118 Update destination buffer's current position if it is
11119 backed by a byte array (hasArray() is true).
11120 (send): Set and reset our "in channel operation indicator"
11121 before and after delegating the send to our datagram socket.
11122 Removed testing code. Update source buffer's current position
11123 if it is backed by a byte array (hasArray() is true).
11124 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
11125 Use capacity() - position() of destination buffer instead
11127 * java/net/DatagramSocket.java (receive): Don't throw an
11128 IllegalBlockingModeException if we have a non-blocking
11129 channel which initiated this operation.
11132 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
11134 * configure.in: Add pkgconfig check for glib and gthread.
11135 * configure: Regenerate.
11137 2004-02-01 Michael Koch <konqueror@gmx.de>
11139 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
11141 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
11142 * verify.cc (debug_print): Mark 'fmt' unused.
11144 2004-01-30 Michael Koch <konqueror@gmx.de>
11146 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
11147 * configure: Regenerated.
11148 * glib-2.0.m4: Removed.
11149 * gtk-2.0.m4: Removed.
11150 * libart.m4: Removed.
11151 * pkg.m4: New file.
11153 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
11155 * gnu/java/net/PlainSocketImpl.java
11156 (inChannelOperation): New field.
11157 (isInChannelOperation): New accessor.
11158 (setInChannelOperation): New modifier.
11159 * gnu/java/nio/ServerSocketChannelImpl.java
11160 (accept): Set and reset our server socket's PlainSocketImpl's
11161 "in channel operation" indicator before and after delegating
11162 the accept to our server socket.
11163 * gnu/java/nio/SocketChannelImpl.java
11164 (connect): Set and reset our socket's PlainSocketImpl's "in channel
11165 operation" indicator before and after delegating the operation to
11169 * java/net/ServerSocket.java (implAccept): Don't throw an
11170 IllegalBlockingModeException if we have a non-blocking
11171 channel which initiated this accept operation.
11172 * java/net/Socket.java (connect): Don't throw an
11173 IllegalBlockingModeException if we have a non-blocking
11174 channel which initiated this connect operation.
11175 * java/nio/channels/spi/AbstractSelectableChannel.java
11176 (configureBlocking): Only call implConfigureBlocking() if
11177 the desired blocking mode is different from our current one.
11179 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
11181 * java/io/BufferedReader.java (sbuf): New field.
11182 (readLine): Use String.valueOf instead of new String() as per
11183 Per Bothner's suggestion. Use instance sbuf field instead of a
11184 local StringBuffer instance.
11185 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
11186 caller's buffer to refill().
11187 (read(void)): Pass our internal work buffer to refill if our
11188 input queue is empty.
11189 (refill): Changed return type to int. Use the specified buffer
11190 instead of our work buffer as per Bryce McKinlay's suggestion.
11191 Return the number of characters read or -1 for EOF.
11193 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11195 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
11197 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11199 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
11200 * Makefile.in: Re-generated.
11201 * gnu/awt/xlib/XFontPeer.java: New file.
11202 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
11203 (setClip): Commented out debug printout.
11204 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
11205 (getFontPeer): Return XFontPeer.
11206 (getLocalGraphicsEnvironment): New method.
11207 (getClasspathFontPeer): New method.
11208 (createFont): New method.
11210 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
11212 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
11215 2004-01-29 Kim Ho <kho@redhat.com>
11217 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11218 (gtkLayoutSetVisible): New method
11219 (setMenuBar): Hide layout before setting MenuBar
11220 and reshow it after.
11221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11222 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
11224 2004-01-28 Michael Koch <konqueror@gmx.de>
11226 * gnu/java/lang/ClassHelper.java
11227 (getPackagePortion): Removed.
11229 2004-01-28 Michael Koch <konqueror@gmx.de>
11231 * javax/swing/JComponent.java
11232 (listenerList): Initalize globally.
11233 (ancestor_list): Removed.
11234 (veto_list): Removed.
11235 (change_list): Removed.
11236 (get_veto_list): Removed.
11237 (get_change_list): Removed.
11238 (get_ancestor_list): Removed.
11239 (removeAncestorListener): Reimplemented.
11240 (removePropertyChangeListener): Likewise.
11241 (removeVetoableChangeListener): Likewise.
11242 (addAncestorListener): Likewise.
11243 (addPropertyChangeListener): Likewise.
11244 (addVetoableChangeListener): Likewise.
11245 (getListeners): New method.
11246 (getAncestorListeners): Likewise.
11247 (getVetoableChangeListeners): Likewise.
11248 (fireVetoableChange): Throws PropertyVetoException.
11249 * javax/swing/JEditorPane.java
11250 (JEditorPane): Throws IOException.
11252 2004-01-28 David Jee <djee@redhat.com>
11254 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11255 (create): Set the default foreground color to
11256 java.awt.SystemColor.windowText.
11258 2004-01-27 Michael Koch <konqueror@gmx.de>
11260 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
11261 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11262 Reindented to merge with classpath.
11264 2004-01-27 David Jee <djee@redhat.com>
11266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11267 (addExposeFilter): Handle GtkFramePeer separately.
11268 (removeExposeFilter): Likewise.
11270 2004-01-27 Michael Koch <konqueror@gmx.de>
11272 * gnu/java/net/protocol/http/Connection.java
11273 (getOutputStream): Fixed typo.
11275 2004-01-27 Michael Koch <konqueror@gmx.de>
11277 * java/lang/Class.java
11278 (getConstructor): Removed SecurityException from throws clause.
11279 (_getConstructors): Likewise.
11280 (getConstructors): Likewise.
11281 (getDeclaredConstructor): Likewise.
11282 (getDeclaredClasses): Likewise.
11283 (getDeclaredConstructors): Likewise.
11284 (getDeclaredField): Likewise.
11285 (getDeclaredMethod): Likewise.
11286 (getDeclaredMethods): Likewise.
11287 (getField): Likewise.
11288 (getMethod): Likewise.
11289 (getMethods): Likewise.
11291 2004-01-27 Kim Ho <kho@redhat.com>
11293 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11294 (removeMenuBarPeer): Remove MenuBarPeer argument.
11295 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
11296 (dispose): Call native method.
11297 * java/awt/Frame.java (setMenuBar): Create and remove
11298 MenuBar peers only if the Frame has a peer.
11299 (addNotify): Create the MenuBar peer if one exists.
11300 (removeNotify): Remove MenuBar peer if one exists.
11301 * java/awt/Menu.java: Fix imports.
11302 (addNotify): Don't use full class name.
11303 (removeNotify): Call removeNotify on all children.
11304 * java/awt/MenuBar.java (removeNotify): Call
11305 removeNotify on all children.
11306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11307 (removeMenuBarPeer): Remove MenuBarPeer argument.
11308 Iterate through children to find the Frame's MenuBar.
11309 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
11311 (dispose): Remove references to the MenuComponent.
11313 2004-01-27 Michael Koch <konqueror@gmx.de>
11315 * javax/swing/AbstractCellEditor.java: Reformated.
11316 * javax/swing/DefaultListSelectionModel.java
11317 (listenerList): Made protected.
11318 (addListSelectionListener): Javadoc added.
11319 (removeListSelectionListener): Likewise.
11320 (getListeners): Likewise.
11321 (getListSelectionListeners): Likewise.
11322 * javax/swing/JComboBox.java: Merged copyright year.
11323 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
11325 2004-01-26 Andrew Haley <aph@redhat.com>
11327 * javax/swing/table/JTableHeader.java: Extend JComponent
11329 2004-01-26 Kim Ho <kho@redhat.com>
11331 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
11334 2004-01-26 Kim Ho <kho@redhat.com>
11336 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
11338 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
11339 height and let the Layout Managers readjust anything that
11341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11342 (moveLayout): New method. Shift everything in the Gtk
11343 layout in the Y direction by an offset.
11345 2004-01-26 David Jee <djee@redhat.com>
11347 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11348 (handleEvent): Implemented. Handles PaintEvents.
11349 (paint): Implemented. Use GTK native methods to queue updates
11350 for this heavyweight peer.
11351 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11352 (handleEvent): Removed.
11353 * java/awt/Component.java
11354 (paint): Implemented. Explictly paint the heavyweight peer.
11355 (update): Clear the background for heavyweight components.
11356 (paintAll): No need to call peer.paint() anymore.
11357 (processEvent): Don't process PaintEvents here. It's now done in
11358 the peer's handleEvent().
11359 (processPaintEvent): Removed.
11360 * java/awt/Container.java
11361 (paint): No need to call super.paint(). Visit heavyweight
11363 (update): Don't clear the background here. It's done in
11364 Component.update().
11365 (visitChildren): Added check to not recurse into Containers.
11366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11367 (filter_expose_event_handler): New method. Filter unwanted
11368 expose events while painting heavyweight peers.
11369 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11370 New method. Connect filter and block pre_event_handler.
11371 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11372 New method. Disconnect filter and unblock pre_event_handler.
11373 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
11374 New method. Invalidate and update given area.
11375 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11376 (pre_event_handler): Add checks for unwanted expose events.
11378 2004-01-26 David Jee <djee@redhat.com>
11380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11381 (find_bg_color_widget): For GtkButton, return its child.
11383 2004-01-26 Kim Ho <kho@redhat.com>
11385 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
11387 (setMenuBar): Grab MenuBar height and change insets.
11388 (setBounds): Account for MenuBar height.
11389 (postInsetsChangedEvent): Ditto.
11390 (postSizeAllocateEvent): Remove.
11391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11392 (menubar_resize_cb): Remove
11393 (setMenuBarPeer): Remove callback.
11394 (getMenuBarHeight): Use size requisition instead of
11397 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11399 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
11400 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
11402 (setColumns): Remove FIXME -- peer will retrieve number of
11403 columns by calling getColumns.
11404 (setRows): Likewise for number of rows.
11405 (next_text_number): New field.
11406 (paramString): Fix param string.
11407 (generateName): New method.
11408 (getUniqueLong): New method.
11410 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
11412 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
11413 image observer of image loading status.
11414 (getImage (String)): Start image production.
11415 (getImage (URL)): Likewise.
11417 2004-01-25 Michael Koch <konqueror@gmx.de>
11419 * java/lang/Class.java: Imports reworked, reformated.
11420 (Class): Javadoc added.
11421 (forName): Likewise.
11422 (getClasses): Likewise.
11423 (getClassLoader): Likewise.
11424 (getComponentType): Likewise.
11425 (getConstructor): Likewise.
11426 (getConstructors): Likewise.
11427 (getDeclaredConstructor): Likewise.
11428 (getDeclaredClasses): Likewise.
11429 (getDeclaredConstructors): Likewise.
11430 (getDeclaredField): Likewise.
11431 (getDeclaredMethod): Likewise.
11432 (getDeclaredMethods): Likewise.
11433 (getDeclaringClass): Likewise.
11434 (getField): Likewise.
11435 (getInterfaces): Likewise.
11436 (getMethod): Likewise.
11437 (getMethods): Likewise.
11438 (getModifiers): Likewise.
11439 (getName): Likewise.
11440 (getResource): Likewise.
11441 (getResourceAsStream): Likewise.
11442 (getSigners): Likewise.
11443 (setSigners): Likewise.
11444 (getSuperclass): Likewise.
11445 (isArray): Likewise.
11446 (isAssignableFrom): Likewise.
11447 (isInstance): Likewise.
11448 (isInterface): Likewise.
11449 (isPrimitive): Likewise.
11450 (newInstance): Likewise.
11451 (getProtectionDomain): Likewise.
11452 (toString): Likewise.
11454 (initializeClass): Likewise.
11455 (finalize): Likewise.
11457 2004-01-24 Michael Koch <konqueror@gmx.de>
11459 * gnu/java/net/protocol/jar/Connection.java
11460 (hdrHash): Removed.
11462 (gotHeaders): Removed.
11463 (getHeaderField): Removed.
11464 (getHeaderFields): Removed.
11465 (getHeaderFieldKey): Removed.
11467 (getField): Removed.
11468 (getHeaders): Removed.
11470 2004-01-24 Michael Koch <konqueror@gmx.de>
11472 * Makefile.am: Added library version to gtk peer lib.
11473 * Makefile.in: Regenerated.
11475 2004-01-24 Michael Koch <konqueror@gmx.de>
11477 * java/util/zip/InflaterInputStream.java: Merged class documentation
11480 2004-01-21 Jakub Jelinek <jakub@redhat.com>
11482 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
11483 header. For __powerpc64__ provide the default-signal.h definitions
11485 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
11486 instead of the dummy definitions.
11487 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
11488 (powerpc64*-*): Remove with_libffi_default.
11489 Only add -mminimal-toc for 64-bit compilations.
11490 * configure.in: Use powerpc-signal.h on powerpc64 as well.
11491 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
11492 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
11493 * configure: Rebuilt.
11495 2004-01-23 Michael Koch <konqueror@gmx.de>
11497 * gnu/java/nio/FileLockImpl.java: Compile fixes.
11499 2004-01-23 Michael Koch <konqueror@gmx.de>
11501 * java/lang/VMClassLoader.java: Reworked imports.
11503 2004-01-23 Michael Koch <konqueror@gmx.de>
11505 * javax/swing/AbstractAction.java: Reformated.
11507 2004-01-23 Michael Koch <konqueror@gmx.de>
11509 * java/text/CollationElementIterator.java:
11510 (setText): New method.
11512 2004-01-23 Michael Koch <konqueror@gmx.de>
11514 * gnu/java/nio/FileLockImpl.java:
11515 Fixed filename in copyright.
11516 (released): Removed.
11517 (finalize): New method.
11518 * gnu/java/nio/natFileLockImpl.cc
11519 (releaseImpl): Implemented.
11520 * java/nio/channels/FileChannelImpl.java:
11522 (lock): Implemented.
11523 (lockImpl): New method.
11524 (tryLock): Implemented.
11525 (tryLockImpl): New method.
11526 * java/nio/channels/natFileChannelImpl.cc
11527 (lockImpl): New method.
11528 (tryLockImpl): New method.
11530 2004-01-23 Michael Koch <konqueror@gmx.de>
11532 * java/io/FileDescriptor.java
11533 (lock): New method.
11534 (tryLock): New method.
11535 (unlock): New method.
11536 * java/io/natFileDescriptorEcos.cc
11537 (lock): New method.
11538 (tryLock): New method.
11539 (unlock): New method.
11540 * java/io/natFileDescriptorPosix.cc
11541 (lock): New method.
11542 (tryLock): New method.
11543 (unlock): New method.
11544 * java/io/natFileDescriptorWin32.cc
11545 (lock): New method.
11546 (tryLock): New method.
11547 (unlock): New method.
11549 2004-01-23 Michael Koch <konqueror@gmx.de>
11551 * java/io/FileDescriptor.java
11552 (sync): Moved around, added javadoc.
11557 (setLength): Likewise.
11559 (getLength): Likewise.
11560 (getFilePointer): Likewise.
11562 (available): Likewise.
11563 (finalize): Likewise.
11565 2004-01-23 Michael Koch <konqueror@gmx.de>
11567 * javax/swing/AbstractAction.java: Reformated.
11568 (getPropertyChangeListeners): New method.
11569 * javax/swing/AbstractCellEditor.java: Reformated.
11570 (getCellEditorListeners): New method.
11571 * javax/swing/DefaultListSelectionModel.java
11572 (listenerList): New field.
11573 (listeners): Removed.
11574 (get_listeners): Removed.
11575 (addListSelectionListener): Rewritten.
11576 (removeListSelectionListener): Rewritten.
11577 (getListSelectionListeners): New method.
11578 (getListeners): New method.
11579 * javax/swing/JComboBox.java: Imports reworked.
11580 (addActionListener): Implemented.
11581 (removeActionListener): Implemented.
11582 (addItemListener): Implemented.
11583 (removeItemListener): Implemented.
11584 (addPopupMenuListener): Implemented.
11585 (removePopupMenuListener): Implemented.
11586 (getActionListeners): New method.
11587 (getItemListeners): New method.
11588 (getPopupMenuListeners): New method.
11590 2004-01-23 Michael Koch <konqueror@gmx.de>
11592 * gnu/java/net/protocol/http/Connection.java
11593 (connect): Don't initialize bufferedOutputStream if not needed.
11594 (sendRequest): Set property for content length if content is present.
11595 Write content only if present.
11596 (getOutputStream): Check if already connected, dont connect,
11597 initalize bufferedOutputStream if needed.
11599 2004-01-23 Michael Koch <konqueror@gmx.de>
11601 * java/io/FileDescriptor.java
11602 (in, out, err): Added javadoc.
11603 (static): Merged loading code.
11604 (fd, position): Moved around.
11606 2004-01-23 Michael Koch <konqueror@gmx.de>
11608 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
11611 2004-01-23 Michael Koch <konqueror@gmx.de>
11613 * java/lang/Class.java,
11614 java/lang/Object.java,
11615 java/lang/Thread.java: Merged copyright with classpath.
11617 2004-01-23 Michael Koch <konqueror@gmx.de>
11619 * java/io/FileDescriptor.java: Merged copyright with classpath to
11620 start merging this class.
11622 2004-01-22 Tom Tromey <tromey@redhat.com>
11625 * testsuite/libjava.lang/pr13107_2.xfail: New file.
11626 * testsuite/libjava.lang/pr13107_3.xfail: New file.
11627 * testsuite/libjava.lang/pr13107_3.java: New file.
11628 * testsuite/libjava.lang/pr13107_3.out: New file.
11629 * testsuite/libjava.lang/pr13107_2.java: New file.
11630 * testsuite/libjava.lang/pr13107_2.out: New file.
11631 * testsuite/libjava.lang/pr13107.java: New file.
11632 * testsuite/libjava.lang/pr13107.out: New file.
11633 * verify.cc (jsr_ptrs): Removed.
11634 (entry_points): Likewise.
11635 (struct subr_info): Likewise.
11636 (struct subr_entry_info): Likewise.
11637 (type_val::unused_by_subroutine_type): Likewise.
11638 (type::merge): Don't handle unused_by_subroutine_type.
11639 (type::print): Likewise.
11640 (state::flags): Removed.
11641 (state::subroutine): Likewise.
11642 (state::seen_subrs): Likewise.
11643 (state::NO_STACK): Likewise.
11644 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
11645 (state): Updated all methods.
11646 (state::clean_subrs): Removed.
11647 (state::state): Removed `ret_semantics' flag.
11648 (state::copy): Likewise.
11649 (state::add_subr): Removed.
11650 (state::enter_subroutine): Likewise.
11651 (type::set_return_address): New method.
11652 (handle_jsr_insn): Set return address on the type. Always
11653 invalidate PC after call.
11654 (check_nonrecursive_call): Removed.
11655 (~_Jv_BytecodeVerifier): Updated.
11656 (branch_prepass): Removed special handling of jsr.
11657 (note_branch_target): Likewise.
11658 (get_subroutine): Removed.
11659 (state::merge): Don't merge subroutines and don't handle
11660 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
11661 (state::note_variable): Removed.
11662 (state::is_unmerged_ret_state): Likewise.
11663 (state::print): Updated.
11664 (set_variable): Likewise.
11665 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
11666 and jsr_semantics arguments. Updated for new reverification
11668 (pop_jump): Rewrote.
11669 (construct_primitive_array_type): Updated.
11670 (state::next): Removed.
11671 (INVALID_STATE): New define.
11672 (state::INVALID): Removed.
11673 (state::NO_NEXT): New value.
11674 (state::pc, state::next): New fields.
11675 (state::get_pc): New method.
11676 (next_verify_pc): Removed.
11677 (next_verify_state): New field.
11678 (verify_instructions_0): Always check for falling off end.
11679 (linked): New type.
11680 (linked_utf8): Removed.
11681 (states): Changed type.
11682 (type::state_mergeable_p): New method.
11683 (state::state_mergeable_p): Likewise.
11684 (handle_ret_insn): Removed most code.
11685 (state::reverify): New method.
11686 (add_new_state): Likewise.
11687 (state::set_pc): Likewise.
11689 2004-01-22 Jeff Sturm <jsturm@one-point.com>
11692 * testsuite/libjava.compile/PR13733.java: New file.
11693 * testsuite/libjava.compile/PR13733.xfail: New file.
11695 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
11696 Michael Koch <konqueror@gmx.de>
11698 * javax/swing/table/DefaultTableCellRenderer.java
11699 (DefaultTableCellRenderer): Added javadoc for the class and for
11700 the constructor, Border instance, create an EmptyBorder.
11701 (UIResource): Removed the comment at the end of the class
11702 (setForeground): New method.
11703 (setBackground): New method.
11704 (updateUI): New method.
11705 (getTableCellRendererComponent): Rewritten with the help of
11706 dvholten and Stephane Meslin-Weber.
11707 (validate): New method.
11708 (repaint): New method.
11709 (firePropertyChange): New method.
11710 (setValue): New method.
11712 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
11714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11715 (connectJObject): Replace printf calls with g_assert statements.
11716 Move property-notify-event signal connection to ...
11717 (connectSignals): Connect property-notify-event signal. Iterate
11718 through the vbox's children to find layout.
11720 2004-01-22 Graydon Hoare <graydon@redhat.com>
11722 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11723 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11724 Predicate static initialization on GtkToolkit.useGraphics2D().
11725 * java/awt/Component.java (processPaintEvent): Consume event.
11726 * javax/swing/AbstractButton.java: Reimplement, document.
11727 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11728 * javax/swing/JComponent.java (paint): Use double buffer.
11729 (listenerList): Enable member.
11730 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11731 * javax/swing/JToggleButton.java
11732 (JToggleButton): Modify model constructor.
11733 * javax/swing/SwingUtilities.java
11734 (layoutCompoundLabel): Adjust arithmetic.
11735 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11736 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11737 (getPreferredButtonSize): Include margins in calculation.
11738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11739 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11740 Receive up events from subordinate layout component.
11742 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11744 * java/awt/Component.java (show): Set visible to true before
11747 2004-01-21 Kim Ho <kho@redhat.com>
11749 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11751 (removeMenuBarPeer): Make package private.
11752 (setMenuBarPeer): Make package private.
11753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11754 (menubar_resize_cb): Mark attributes unused.
11755 (getMenuBarHeight): ditto.
11757 2004-01-21 David Jee <djee@redhat.com>
11759 * java/awt/Container.java
11760 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11761 dispatching MOUSE_ENTERED event twice. Translate the point for
11762 the mouse event target before dispatching the event.
11764 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11766 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11767 lib_org_w3c_dom_la_LDFLAGS): New.
11768 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11769 * Makefile.in: Rebuilt.
11771 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11773 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11774 Calculate proper offsets for heavyweight components packed in
11775 lightweight containers.
11777 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11778 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11779 (native create): Add width parameter.
11780 (create): Calculate text entry width based on current font's
11781 metrics and number of columns. Set TextField's font if not
11782 already set. Call native create.
11783 (gtkEntryGetBorderWidth): New native method.
11784 (gtkEntryGetSize): Remove method.
11785 (getMinimumSize): Call minimumSize.
11786 (getPreferredSize): Call preferredSize.
11787 (minimumSize): Calculate minimum size based on backing
11788 GtkEntry's borders, font metrics and number of columns.
11789 (preferredSize): Likewise for preferred size.
11790 (get_border_width): New static function.
11792 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11793 Override GtkWindowPeer's setResizable method to account for menu
11794 bar height when setting the frame's size.
11796 2004-01-19 Matthias Klose <doko@debian.org>
11798 * libtool-version: Increased `current' to 6.
11800 2004-01-19 Kim Ho <kho@redhat.com>
11802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11803 (connectJObject): Iterate through the vbox's children to find layout.
11805 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11807 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11808 isDispatchThread method to replace wrong test condition.
11810 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11812 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11813 events to the queue out of order by acquiring locks in the proper
11814 order and not by releasing one before acquiring the other.
11816 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11818 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11819 visible so that dialog can be reused.
11821 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11823 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11824 events may be handled by any queue in the stack.
11826 2004-01-19 Kim Ho <kho@redhat.com>
11828 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11829 MenuBarPeer parameter.
11830 (removeMenuBarPeer): New native method.
11831 (setMenuBar): Call remove if menu bar is null. Adjust insets
11833 (postSizeAllocateEvent): New method. Called when menu bar size is
11834 allocated. Adjust insets and redo layout.
11835 (GtkFramePeer): Set menu bar during frame creation.
11836 (postConfigureEvent): Adjust position and size to accomodate
11838 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11839 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11840 (addNotify): Create the peer if it doesn't exist and call addNotify
11841 for the menu's items.
11842 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11843 * java/awt/MenuItem.java (addNotify): Create the peer if it
11845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11846 (removeMenuBarPeer): New method. Remove menu bar on the current
11848 (setMenuBarPeer): Add the menu bar to the current frame and the
11849 callback for size-allocate events on the menu bar.
11850 (getMenuBarHeight): Add menu bar parameter.
11851 (menubar_resize_cb): New callback method for postSizeAllocate events.
11853 Also: Fix indentation on last ChangeLog entry.
11855 2004-01-16 Kim Ho <kho@redhat.com>
11857 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11858 (gtkWidgetGetDimensions): Remove.
11859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11860 (gtkWidgetGetDimensions): Remove.
11862 2004-01-16 Tom Tromey <tromey@redhat.com>
11864 * java/awt/Container.java: Typo and indentation fixes.
11866 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11867 * java/lang/natVMClassLoader.cc: ...here. New file.
11868 * Makefile.in: Rebuilt.
11869 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11871 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11874 Discard GDK_ENTER_NOTIFY related to ungrabs.
11876 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11878 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11879 is called for an intermediate queue.
11881 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11883 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11884 (window_property_changed_cb): Set id_set.
11886 2004-01-16 Kim Ho <kho@redhat.com>
11888 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11889 it is a FileDialog and has dimensions of 0 by 0, then the initial
11890 size is set to size request plus insets.
11891 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11892 (gtkWidgetGetDimensions): Override method.
11893 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11894 (gtkWidgetGetDimensions): Override method. Returns size request plus
11897 2004-01-16 Andrew Haley <aph@redhat.com>
11899 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11900 * sysdep/i386/locks.h: Likewise.
11902 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11904 * java/awt/EventDispatchThread.java (run): Stop running when
11906 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11907 Reset the queue after transferring its contents.
11908 (push): Start a new dispatch thread if none is running.
11910 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11912 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11913 (doPolygon): set fill rule of polygon to
11914 WIND_EVEN_ODD by default.
11916 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11918 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11919 Implemented rendering hints related methods.
11920 (getDefaultHints): New helper method. Returns
11921 default rendering hints.
11922 (walkPath): changed to normalize path if
11923 the KEY_STROKE_CONTROL key is in "normalize" mode.
11924 (draw3DRect): changed coordinates of rectangle by +0.5
11925 if in "normalize" mode.
11927 2004-01-15 Tom Tromey <tromey@redhat.com>
11929 * Makefile.in: Rebuilt.
11930 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11931 (%.lo: %.java) Filter out StackTrace.lo.
11933 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11935 * configure.in: Add in AC_PREREQ(2.13)
11936 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11939 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11940 Tom Tromey <tromey@redhat.com>
11943 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11944 array to superclass.
11945 (init): Changed interface; add URLs here.
11946 (initialize): New static method.
11947 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11948 (_Jv_RunMain): ... not here.
11950 2004-01-14 Michael Koch <konqueror@gmx.de>
11952 * java/text/MessageFormat.java:
11953 Added descriptions to exceptions.
11954 This fixes PR libgcj/2429.
11956 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11958 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11959 (push): Make sure push is performed at the top of the thread stack.
11961 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11963 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11964 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11965 (native create): Add width and height parameters. Set text
11966 view's size request according to new parameters.
11967 (create): Calculate text view size based on current font's
11968 metrics and number of rows and columns. Set TextArea's font if
11969 not already set. Call native create.
11970 (getMinimumSize): Call minimumSize.
11971 (getPreferredSize): Call preferredSize.
11972 (getHScrollbarHeight): New method.
11973 (getVScrollbarWidth): New method.
11974 (minimumSize): Calculate minimum size based on scrollbar
11975 visibility, scrollbar sizes, font metrics and number of rows and
11977 (preferredSize): Likewise for preferred size.
11978 (gtkTextGetSize): Remove method.
11980 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11982 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11983 (initializeInsets): Remove method.
11984 (GtkComponentPeer): Initialize insets field. Remove call to
11986 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11988 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11990 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11991 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11992 (latestInsets): Remove field.
11993 (native create): Add insets parameter. Call
11994 window_get_frame_extents. Set the window's default size and
11995 size request based on its frame extents.
11996 (create): Initialize insets.
11997 (postInsetsChangedEvent): New method.
11998 (postConfigureEvent): Remove parameters top, left, bottom,
11999 right. Remove insets-related logic.
12000 (connectJObject): Handle property-notify-event.
12001 (window_get_frame_extents, request_frame_extents,
12002 property_notify_predicate, window_property_changed_cb): New
12004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12005 (pre_event_handler): Remove insets-related logic for configure
12007 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
12008 Update postConfigureEvent signature.
12010 2004-01-13 Fernando Nasser <fnasser@redhat.com>
12012 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
12013 to handle Window "Closing" events.
12015 2004-01-13 David Jee <djee@redhat.com>
12017 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12018 (setBackground): New method. Children with no explicitly-set
12019 background will be repainted with the parent container's new
12022 2004-01-13 David Jee <djee@redhat.com>
12024 * Makefile.am: Add BitwiseXORComposite.java.
12025 * Makefile.in: Regenerated.
12026 * gcj/Makefile.in: Regenerated.
12027 * include/Makefile.in: Regenerated.
12028 * testsuite/Makefile.in: Regenerated.
12030 2004-01-12 Fernando Nasser <fnasser@redhat.com>
12032 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
12033 not show modal dialogs twice and so that it allows showing a modal
12034 dialog from another modal dialog.
12036 2004-01-12 Fernando Nasser <fnasser@redhat.com>
12038 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
12039 and run secondary dispatch thread to process event queue while this
12042 2004-01-12 Graydon Hoare <graydon@redhat.com>
12044 * gnu/java/awt/gtk/GdkGraphics2D.java
12045 (static): Check GtkToolkit before initializing static state.
12046 (Graphics2D): Don't construct transform with 0.5 unit offset.
12048 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
12050 * gnu/java/awt/BitwiseXORComposite.java: Add.
12051 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
12052 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
12053 (BitwiseXORComposite): Remove inner class.
12055 2004-01-11 Michael Koch <konqueror@gmx.de>
12057 * gnu/java/lang/reflect/TypeSignature.java
12058 (getEncodingOfClass): Documentation fixed.
12059 (getClassForEncoding): Give class loader to Class.forName().
12060 Documentation fixed.
12062 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
12064 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
12066 2004-01-11 Michael Koch <konqueror@gmx.de>
12068 * javax/swing/undo/StateEditable.java
12069 (RCSID): Removed redundant modifiers.
12071 2004-01-10 Michael Koch <konqueror@gmx.de>
12073 * javax/print/attribute/EnumSyntax.java
12074 (getStringTable): Made protected.
12075 (getEnumValueTable): Likewise.
12076 * javax/print/attribute/standard/JobKOctetsProcessed.java
12077 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
12078 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
12079 (JobMediaSheetsCompleted): Made class final.
12080 * javax/print/attribute/standard/OutputDeviceAssigned.java
12081 (getName): Fixed typo.
12082 * javax/print/attribute/standard/RequestingUserName.java
12083 (serialVersionUID): Fixed value.
12085 2004-01-10 Michael Koch <konqueror@gmx.de>
12087 * javax/swing/plaf/basic/BasicButtonUI.java,
12088 javax/swing/plaf/basic/BasicCheckBoxUI.java,
12089 javax/swing/plaf/basic/BasicListUI.java,
12090 javax/swing/plaf/basic/BasicOptionPaneUI.java,
12091 javax/swing/plaf/basic/BasicPanelUI.java,
12092 javax/swing/plaf/basic/BasicRadioButtonUI.java,
12093 javax/swing/plaf/basic/BasicScrollPaneUI.java,
12094 javax/swing/plaf/basic/BasicToggleButtonUI.java,
12095 javax/swing/plaf/basic/BasicViewportUI.java:
12096 Fixed import statements.
12098 2004-01-10 Michael Koch <konqueror@gmx.de>
12100 * gnu/java/awt/image/ImageDecoder.java
12101 (produce): Made public.
12102 * gnu/java/awt/peer/GLightweightPeer.java,
12103 gnu/java/awt/peer/gtk/GtkToolkit.java:
12106 2004-01-10 Michael Koch <konqueror@gmx.de>
12108 * javax/swing/JRadioButtonMenuItem.java,
12109 javax/swing/JSeparator.java,
12110 javax/swing/JSplitPane.java,
12111 javax/swing/JTextPane.java,
12112 javax/swing/JToolBar.java,
12113 javax/swing/ListCellRenderer.java,
12114 javax/swing/ListModel.java,
12115 javax/swing/MenuElement.java,
12116 javax/swing/OverlayLayout.java,
12117 javax/swing/ProgressMonitor.java,
12118 javax/swing/ProgressMonitorInputStream.java,
12119 javax/swing/Renderer.java,
12120 javax/swing/RootPaneContainer.java,
12121 javax/swing/Scrollable.java,
12122 javax/swing/SingleSelectionModel.java,
12123 javax/swing/ToolTipManager.java,
12124 javax/swing/ViewportLayout.java,
12125 javax/swing/event/DocumentEvent.java,
12126 javax/swing/event/SwingPropertyChangeSupport.java,
12127 javax/swing/event/TreeSelectionEvent.java,
12128 javax/swing/event/UndoableEditEvent.java,
12129 javax/swing/text/AbstractDocument.java,
12130 javax/swing/text/AttributeSet.java,
12131 javax/swing/text/Caret.java,
12132 javax/swing/text/ComponentView.java,
12133 javax/swing/text/DefaultCaret.java,
12134 javax/swing/text/DefaultEditorKit.java,
12135 javax/swing/text/Document.java,
12136 javax/swing/text/EditorKit.java,
12137 javax/swing/text/GapContent.java,
12138 javax/swing/text/Keymap.java,
12139 javax/swing/text/MutableAttributeSet.java,
12140 javax/swing/text/PlainEditorKit.java,
12141 javax/swing/text/Segment.java,
12142 javax/swing/text/Style.java,
12143 javax/swing/text/StyledDocument.java,
12144 javax/swing/text/StyledEditorKit.java,
12145 javax/swing/text/TextAction.java,
12146 javax/swing/text/View.java: Fixed import statements.
12148 2004-01-08 Graydon Hoare <graydon@redhat.com>
12150 * javax/swing/JLayeredPane.java: Rewrite to accomodate
12151 djee@redhat.com's recent inverse ordering of Container elements.
12153 2004-01-09 Michael Koch <konqueror@gmx.de>
12155 * gnu/java/lang/ArrayHelper.java
12156 (equalsArray): Removed.
12158 2004-01-09 Andrew Haley <aph@redhat.com>
12160 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
12161 a Utf8Const field before looking at its class.
12163 2004-01-09 Michael Koch <konqueror@gmx.de>
12165 * javax/print/attribute/standard/DocumentName.java,
12166 javax/print/attribute/standard/JobHoldUntil.java,
12167 javax/print/attribute/standard/JobMessageFromOperator.java,
12168 javax/print/attribute/standard/JobName.java,
12169 javax/print/attribute/standard/JobOriginatingUserName.java,
12170 javax/print/attribute/standard/OutputDeviceAssigned.java,
12171 javax/print/attribute/standard/PrinterInfo.java,
12172 javax/print/attribute/standard/PrinterLocation.java,
12173 javax/print/attribute/standard/PrinterMakeAndModel.java,
12174 javax/print/attribute/standard/PrinterMessageFromOperator.java,
12175 javax/print/attribute/standard/PrinterName.java,
12176 javax/print/attribute/standard/RequestingUserName.java: New files.
12177 * Makefile.am (javax_source_files): Added new files.
12178 * Makefile.in: Regenerated.
12180 2004-01-09 Michael Koch <konqueror@gmx.de>
12182 * javax/swing/AbstractAction.java,
12183 javax/swing/AbstractSet.java,
12184 javax/swing/Action.java,
12185 javax/swing/ActionMap.java,
12186 javax/swing/BoundedRangeModel.java,
12187 javax/swing/ButtonModel.java,
12188 javax/swing/CellEditor.java,
12189 javax/swing/CellRendererPane.java,
12190 javax/swing/ComboBoxEditor.java,
12191 javax/swing/DebugGraphics.java,
12192 javax/swing/DefaultCellEditor.java,
12193 javax/swing/DefaultCellRenderer.java,
12194 javax/swing/DefaultComboBoxModel.java,
12195 javax/swing/DefaultDesktopManager.java,
12196 javax/swing/DefaultFocusManager.java,
12197 javax/swing/DefaultListCellRenderer.java,
12198 javax/swing/Icon.java,
12199 javax/swing/JButton.java,
12200 javax/swing/JCheckBoxMenuItem.java,
12201 javax/swing/JDesktopPane.java,
12202 javax/swing/JEditorPane.java,
12203 javax/swing/JMenu.java,
12204 javax/swing/JPanel.java,
12205 javax/swing/JPasswordField.java,
12206 javax/swing/JPopupMenu.java,
12207 javax/swing/JProgressBar.java: Reworked imports.
12209 2004-01-09 Michael Koch <konqueror@gmx.de>
12211 * java/awt/geom/PathIterator.java
12212 (WIND_EVEN_ODD): Removed redundant modifiers.
12213 (WIND_NON_ZERO): Likewise.
12214 (SEG_MOVETO): Likewise.
12215 (SEG_LINETO): Likewise.
12216 (SEG_QUADTO): Likewise.
12217 (SEG_CUBICTO): Likewise.
12218 (SEG_CLOSE): Likewise.
12219 * java/awt/image/SinglePixelPackedSampleModel.java:
12220 Removed redundant semicolon.
12221 * java/io/ObjectInputStream.java
12222 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
12223 * java/util/logging/Filter.java
12224 (isLoggable): Removed redundant modifier.
12225 * java/util/logging/LogManager.java:
12226 Removed redundant semicolon.
12227 * java/util/logging/XMLFormatter.java
12228 (format): Removed unused variable "key".
12230 2004-01-08 Fernando Nasser <fnasser@redhat.com>
12232 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
12233 New name for the former setFile native method.
12234 (setFile): New method.
12235 (setDirectory): Implemented.
12236 (connectSignals): New native method.
12237 (setFilenameFilter): Improve comment.
12238 (getGraphics): Comment.
12239 (gtkHideFileDialog): New method.
12240 (gtkDisposeFileDialog): New method.
12241 (gtkSetFilename): New method.
12242 * java/awt/Dialog.java (show): Block on modal dialogs, but only
12243 for FileDialog for now.
12244 (hide): New method.
12245 (dispose): New method.
12246 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12247 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
12248 deprecated creation functions. Make dialog modal. Add it to the
12250 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
12252 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
12254 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
12256 (window_closed): New function.
12257 (ok_clicked): New function.
12258 (cancel_clicked): New function.
12260 2004-01-08 Michael Koch <konqueror@gmx.de>
12262 * javax/swing/JLayeredPane.java: Revert changes to standard
12263 boilerplate, reworked imports.
12265 2004-01-07 Tom Tromey <tromey@redhat.com>
12268 * verify.cc (state::merge): Copy changed locals out of subroutine
12270 (state::FLAG_CHANGED): New const.
12271 (state::FLAG_UNUSED): Likewise.
12272 (state::local_changed): Removed. Updated all users.
12273 (state::flags): New field.
12274 (state::merge): Added jsr_semantics argument, more logic.
12275 (push_jump_merge): Added jsr_semantics argument.
12276 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
12277 merging through the jsr instruction.
12279 2004-01-07 Tom Tromey <tromey@redhat.com>
12281 * scripts/MakeDefaultMimeTypes.java: Use \n, not
12284 2004-01-07 Graydon Hoare <graydon@redhat.com>
12286 * java/awt/Container.java (LightweightDispatcher): Implement.
12287 (visitChild): Reuse graphics object.
12288 (dispatchEventImpl): Optionally dispatch to lightweight.
12289 (addNotifyContainerChildren): Build LightweightDispatcher.
12291 2004-01-07 David Jee <djee@redhat.com>
12293 * java/awt/Container.java
12294 (update): Clear only the clipped region, instead of clearing the
12296 (visitChildren): Visit children in descending order.
12298 2004-01-07 Michael Koch <konqueror@gmx.de>
12300 * java/lang/reflect/Array.java: Merged documentation with classpath.
12302 2004-01-07 Michael Koch <konqueror@gmx.de>
12304 * java/text/CollationElementIterator.java
12305 (textIndex): Renamed from index.
12306 * java/text/CollationKey.java
12307 (collator): New member.
12308 (CollationKey): New argument for parent collator.
12309 (equals): Check for same collator, source string and key array.
12310 * java/text/RuleBasedCollator.java:
12312 (RuleBasedCollator): Don't re-initialize frenchAccents with default
12314 (getCollationElementIterator): Rewritten.
12315 (getCollationKey): Added new argument to CollationKey constructor.
12317 2004-01-07 Michael Koch <konqueror@gmx.de>
12319 * gnu/java/nio/DatagramChannelImpl.java
12320 (blocking): Removed.
12321 (DatagramChannelImpl): Call configureBlocking().
12322 (implConfigureBlocking): Dont initialize blocking.
12323 * gnu/java/nio/ServerSocketChannelImpl.java
12324 (blocking): Removed.
12325 (ServerSocketChannelImpl): Call configureBlocking().
12326 (implConfigureBlocking): Dont initialize blocking.
12327 * gnu/java/nio/SocketChannelImpl.java
12328 (blocking): Removed.
12329 (SocketChannelImpl): Call configureBlocking().
12330 (implConfigureBlocking): Dont initialize blocking.
12331 (connect): Use isBlocking().
12332 * java/nio/channels/spi/AbstractSelectableChannel.java
12333 (configureBlocking): Use blockingLock() instead of LOCK.
12334 Set blocking after successfully called implConfigureBlocking().
12335 (register): Use blockingLock() instead of LOCK.
12337 2004-01-07 Michael Koch <konqueror@gmx.de>
12339 * java/net/ServerSocket.java (isBound): Fixed documentation.
12341 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
12343 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
12344 (changeEvent): Create event object on demand.
12345 (DefaultBoundedRangeModel, toString, setValue, setExtent,
12346 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
12347 fireStateChanged): Re-written.
12348 * javax/swing/event/EventListenerList.java: Reformatted, document
12350 (toString): Implemented.
12351 (getListeners): Re-written.
12352 (remove): Re-written.
12354 (NO_LISTENERS): New singleton field.
12355 (listenerList): Declare as transient; document.
12356 (serialVersionUID): Document.
12357 (getListenerCount(Class)): More efficient implementation,
12358 also accepts null argument. Improve Javadoc.
12359 (getListenerCount()): Remove unnecessary cast; docfix.
12360 * javax/swing/undo/UndoableEditSupport.java:
12361 Re-format, document.
12362 (UndoableEditSupport): Set realSource field. Improve documentation.
12363 (_postEdit): Iterate over cloned listener vector.
12364 (toString): Don't emit realSource.
12365 (beginUpdate, endUpdate): Support nested updates.
12366 (postEdit): Use compound edit if present.
12368 2004-01-06 Graydon Hoare <graydon@redhat.com>
12370 * java/awt/Container.java (swapComponents): Add forgotten
12371 function, required for JLayeredPane change.
12373 2004-01-06 Michael Koch <konqueror@gmx.de>
12375 * java/text/CollationElementIterator.java: Reformated.
12376 (CollationElementIterator): Changed order of arguments.
12377 * java/text/RuleBasedCollator.java
12378 (RuleBasedCollator): Merged class documentation.
12379 (CollationElement): Added documentation.
12380 (compare): Reformated, renamed arguments.
12381 (equals): Likewise.
12382 (getCollationElementIterator): Likewise.
12383 (getCollationKey): Likewise.
12385 2004-01-06 Graydon Hoare <graydon@redhat.com>
12387 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
12389 2004-01-06 Michael Koch <konqueror@gmx.de>
12391 * gnu/java/net/protocol/file/Connection.java:
12392 Reformated copyright.
12393 (hdrHash): Removed.
12395 (gotHeaders): Removed.
12396 (getHeaderField): Removed.
12397 (getHeaderField): Removed.
12398 (getHeaderFieldKey): Removed.
12400 (getField): Removed.
12401 (getHeaders): Removed.
12403 2004-01-06 Michael Koch <konqueror@gmx.de>
12405 * javax/print/attribute/standard/DateTimeAtCompleted.java,
12406 javax/print/attribute/standard/DateTimeAtCreation.java,
12407 javax/print/attribute/standard/DateTimeAtProcessing.java,
12408 javax/print/attribute/standard/JobImpressionsCompleted.java,
12409 javax/print/attribute/standard/JobKOctets.java,
12410 javax/print/attribute/standard/JobKOctetsProcessed.java,
12411 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
12412 javax/print/attribute/standard/JobPrioritySupported.java: New files.
12413 * Makefile.am (javax_source_files): Added new files.
12414 * Makefile.in: Regenerated.
12416 2004-01-06 Michael Koch <konqueror@gmx.de>
12418 * java/net/URLConnection.java
12419 (contentHandler): Removed.
12421 (getHeaderFields): Return an empty map instead of null.
12422 (getContent): Connect if needed, renamed "cType" to "type" and
12423 "contentHandler" to "ch" and made it a local variable.
12424 (getPermission): Don't use package in class name.
12425 (setDefaultRequestProperty): Fixed typo in documentation.
12426 (initializeDateFormats): Made locale a local variable.
12428 2004-01-06 Michael Koch <konqueror@gmx.de>
12430 * java/lang/Package.java
12431 (getPackage): Get the current class loader directly.
12432 * java/lang/SecurityManager.java
12433 (currentLoadedClass): Dont iterate over class contexts.
12434 (classLoaderDepth): Don't check class loaders if everything is allowed.
12436 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
12439 (pre_event_handler): Set all insets to 0 when a Configure event
12440 is received for a GtkPlug.
12441 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
12442 Make handle long, not int.
12443 (EmbeddedWindow()): New constructor.
12444 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
12446 (setHandle): New method.
12447 (getHandle): Return long, not int.
12448 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
12450 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
12451 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
12452 (create(long)): Take long parameter, not int. Cast gtk_plug_new
12453 argument to GdkNativeWindow.
12454 (construct): New method.
12455 (embed): New method.
12457 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
12458 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
12459 (create(int, int)): New method.
12460 (create): Call new create method.
12461 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
12463 (childResized): Remove native implementation. Implement in
12465 (getHScrollbarHeight, getVScrollbarWidth): Call
12466 gtk_widget_size_request to get scrollbar dimensions.
12467 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
12468 call getVScrollbarWidth and getHScrollbarHeight when vertical
12469 and horizontal scrollbars respectively are needed.
12470 (doLayout): Enlarge child if it is smaller than the viewport.
12472 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12474 * java/awt/Dialog.java (constructor): Accept null title as per spec.
12475 * java/awt/FileDialog.java (constructor): Throw exception on invalid
12476 argument as per spec.
12478 2004-01-05 Fernando Nasser <fnasser@redhat.com>
12480 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
12482 (remove): Ditto. Also, Check for valid argument.
12483 (removeAll): Use peer interface method.
12484 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
12485 native add function.
12486 (nativeRemove): New name for native remove function.
12487 (getHistory): New native function.
12488 (constructor): Generate ItemEvent.
12489 (add): Ditto, if selection is changed.
12490 (remove): Ditto, ditto.
12491 (removeAll): Add implementation.
12492 (handleEvent): Remove. Dead code.
12493 (choicePostItemEvent): Add comment.
12494 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
12495 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
12496 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
12497 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
12498 comments and fix condition to change selection.
12499 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
12500 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
12501 remove all capability.
12502 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
12503 (item_activate): Add cast to remove compiler warning.
12505 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
12507 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12508 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12509 (getPreferredSize): Call preferredSize.
12510 (preferredSize): Call gtkWidgetGetPreferredDimensions.
12511 (getMinimumSize): Call minimumSize.
12512 (minimumSize): Call gtkWidgetGetPreferredDimensions.
12513 (gtkWidgetGetDimensions): Return the peer widget's current size
12515 (gtkWidgetGetPreferredDimensions): Return the peer widget's
12516 natural size request.
12518 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
12520 Thanks to Brian Gough <bjg@network-theory.com>
12521 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
12522 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
12524 2004-01-04 Matthias Klose <doko@debian.org>
12526 * aclocal.m4: Rebuilt using "aclocal -I .".
12527 * configure: Rebuilt.
12529 2004-01-03 Per Bothner <per@bothner.com>
12531 * java/util/Date.java (parse): Fix a number of problems.
12532 (skipParens): Remove no-longer-needed method.