1 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
3 * gnu/java/net/natPlainSocketImplPosix.cc
4 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
5 with 'int *' argument instead of 'long *'.
7 2004-10-21 Michael Koch <konqueror@gmx.de>
9 * java/net/NetworkInterface.java,
10 java/text/Format.java,
11 javax/security/auth/x500/X500Principal.java,
12 javax/security/auth/x500/X500PrivateCredential.java,
13 javax/security/cert/X509CertBridge.java,
14 javax/security/sasl/Sasl.java,
15 javax/sql/XAConnection.java:
18 2004-10-21 Michael Koch <konqueror@gmx.de>
20 * javax/net/ssl/HandshakeCompletedEvent.java,
21 javax/net/ssl/KeyManagerFactory.java,
22 javax/net/ssl/SSLContext.java,
23 javax/net/ssl/SSLServerSocketFactory.java,
24 javax/net/ssl/SSLSession.java,
25 javax/net/ssl/SSLSocketFactory.java,
26 javax/net/ssl/TrustManagerFactory.java:
29 2004-10-21 Michael Koch <konqueror@gmx.de>
31 * javax/naming/directory/BasicAttribute.java,
32 javax/naming/directory/BasicAttributes.java,
33 javax/naming/directory/InitialDirContext.java,
34 javax/naming/event/NamingEvent.java,
35 javax/naming/ldap/ControlFactory.java,
36 javax/naming/ldap/ExtendedRequest.java,
37 javax/naming/ldap/InitialLdapContext.java,
38 javax/naming/ldap/LdapReferralException.java,
39 javax/naming/spi/DirObjectFactory.java,
40 javax/naming/spi/DirStateFactory.java,
41 javax/naming/spi/DirectoryManager.java,
42 javax/naming/spi/InitialContextFactory.java,
43 javax/naming/spi/InitialContextFactoryBuilder.java,
44 javax/naming/spi/NamingManager.java,
45 javax/naming/spi/ObjectFactory.java,
46 javax/naming/spi/ObjectFactoryBuilder.java,
47 javax/naming/spi/StateFactory.java:
50 2004-10-21 Michael Koch <konqueror@gmx.de>
52 * javax/crypto/Cipher.java,
53 javax/crypto/EncryptedPrivateKeyInfo.java,
54 javax/crypto/ExemptionMechanism.java,
55 javax/crypto/KeyAgreement.java,
56 javax/crypto/KeyGenerator.java,
57 javax/crypto/Mac.java,
58 javax/crypto/SecretKeyFactory.java,
59 javax/crypto/SecretKeyFactorySpi.java,
60 javax/crypto/spec/SecretKeySpec.java:
63 2004-10-21 Michael Koch <konqueror@gmx.de>
65 * java/security/AlgorithmParameterGenerator.java,
66 java/security/AlgorithmParameters.java,
67 java/security/AlgorithmParametersSpi.java,
68 java/security/AllPermission.java,
69 java/security/BasicPermission.java,
70 java/security/Certificate.java,
71 java/security/CodeSource.java,
72 java/security/DigestInputStream.java,
73 java/security/DigestOutputStream.java,
74 java/security/GuardedObject.java,
75 java/security/KeyFactory.java,
76 java/security/KeyFactorySpi.java,
77 java/security/KeyPairGenerator.java,
78 java/security/KeyStore.java,
79 java/security/KeyStoreSpi.java,
80 java/security/Permissions.java,
81 java/security/Security.java,
82 java/security/Signature.java,
83 java/security/UnresolvedPermission.java,
84 java/security/cert/CertPathBuilder.java,
85 java/security/cert/CertPathValidator.java,
86 java/security/cert/CertStore.java,
87 java/security/cert/Certificate.java,
88 java/security/cert/CertificateFactory.java,
89 java/security/cert/PolicyQualifierInfo.java,
90 java/security/cert/TrustAnchor.java,
91 java/security/cert/X509CRL.java,
92 java/security/cert/X509CRLSelector.java,
93 java/security/cert/X509CertSelector.java:
96 2004-10-21 Michael Koch <konqueror@gmx.de>
98 * java/rmi/MarshalledObject.java,
100 java/rmi/activation/Activatable.java,
101 java/rmi/activation/ActivationGroup.java,
102 java/rmi/activation/ActivationGroupDesc.java,
103 java/rmi/activation/ActivationInstantiator.java,
104 java/rmi/activation/ActivationMonitor.java,
105 java/rmi/activation/ActivationSystem.java,
106 java/rmi/activation/Activator.java,
107 java/rmi/registry/LocateRegistry.java,
108 java/rmi/registry/Registry.java,
109 java/rmi/server/LogStream.java,
110 java/rmi/server/ObjID.java,
111 java/rmi/server/RMIClientSocketFactory.java,
112 java/rmi/server/RMIServerSocketFactory.java,
113 java/rmi/server/RMISocketFactory.java,
114 java/rmi/server/RemoteCall.java,
115 java/rmi/server/RemoteServer.java,
116 java/rmi/server/ServerRef.java,
117 java/rmi/server/UID.java,
118 java/rmi/server/UnicastRemoteObject.java:
121 2004-10-21 Tom Tromey <tromey@redhat.com>
123 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
124 exception if we hit EOF of `in'.
125 (read): Handle case where inflating returns -1.
127 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
129 * gnu/java/nio/channels/natFileChannelPosix.cc
130 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
131 argument instead of 'long *'.
133 2004-10-21 Tom Tromey <tromey@redhat.com>
135 * java/util/ResourceBundle.java (tryBundle): Also ignore
138 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
140 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
141 for all sh*-*-linux* targets.
142 * configure: Regenerate.
143 * include/sh-signal.h: New file.
145 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
147 * java/lang/ieeefp.h: Add m32r support.
149 2004-10-20 Andreas Schwab <schwab@suse.de>
151 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
153 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
156 2004-10-20 Michael Koch <konqueror@gmx.de>
158 * javax/print/attribute/standard/ColorSupported.java,
159 javax/print/attribute/standard/Compression.java,
160 javax/print/attribute/standard/Copies.java,
161 javax/print/attribute/standard/CopiesSupported.java,
162 javax/print/attribute/standard/DateTimeAtCompleted.java,
163 javax/print/attribute/standard/DateTimeAtCreation.java,
164 javax/print/attribute/standard/DateTimeAtProcessing.java,
165 javax/print/attribute/standard/DocumentName.java,
166 javax/print/attribute/standard/Fidelity.java,
167 javax/print/attribute/standard/Finishings.java,
168 javax/print/attribute/standard/JobHoldUntil.java,
169 javax/print/attribute/standard/JobImpressions.java,
170 javax/print/attribute/standard/JobImpressionsCompleted.java,
171 javax/print/attribute/standard/JobImpressionsSupported.java,
172 javax/print/attribute/standard/JobKOctets.java,
173 javax/print/attribute/standard/JobKOctetsProcessed.java,
174 javax/print/attribute/standard/JobKOctetsSupported.java,
175 javax/print/attribute/standard/JobMediaSheets.java,
176 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
177 javax/print/attribute/standard/JobMediaSheetsSupported.java,
178 javax/print/attribute/standard/JobMessageFromOperator.java,
179 javax/print/attribute/standard/JobName.java,
180 javax/print/attribute/standard/JobOriginatingUserName.java,
181 javax/print/attribute/standard/JobPriority.java,
182 javax/print/attribute/standard/JobPrioritySupported.java,
183 javax/print/attribute/standard/JobSheets.java,
184 javax/print/attribute/standard/JobState.java,
185 javax/print/attribute/standard/JobStateReason.java,
186 javax/print/attribute/standard/JobStateReasons.java,
187 javax/print/attribute/standard/Media.java,
188 javax/print/attribute/standard/MultipleDocumentHandling.java,
189 javax/print/attribute/standard/NumberOfDocuments.java,
190 javax/print/attribute/standard/NumberOfInterveningJobs.java,
191 javax/print/attribute/standard/NumberUp.java,
192 javax/print/attribute/standard/NumberUpSupported.java,
193 javax/print/attribute/standard/OrientationRequested.java,
194 javax/print/attribute/standard/OutputDeviceAssigned.java,
195 javax/print/attribute/standard/PDLOverrideSupported.java,
196 javax/print/attribute/standard/PageRanges.java,
197 javax/print/attribute/standard/PagesPerMinute.java,
198 javax/print/attribute/standard/PagesPerMinuteColor.java,
199 javax/print/attribute/standard/PrintQuality.java,
200 javax/print/attribute/standard/PrinterInfo.java,
201 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
202 javax/print/attribute/standard/PrinterLocation.java,
203 javax/print/attribute/standard/PrinterMakeAndModel.java,
204 javax/print/attribute/standard/PrinterMessageFromOperator.java,
205 javax/print/attribute/standard/PrinterMoreInfo.java,
206 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
207 javax/print/attribute/standard/PrinterName.java,
208 javax/print/attribute/standard/PrinterStateReason.java,
209 javax/print/attribute/standard/PrinterStateReasons.java,
210 javax/print/attribute/standard/PrinterURI.java,
211 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
212 javax/print/attribute/standard/RequestingUserName.java:
213 Reorganized imports and removed redundant final modifiers.
215 2004-10-20 Michael Koch <konqueror@gmx.de>
217 * javax/security/sasl/SaslClient.java,
218 javax/security/sasl/SaslClientFactory.java,
219 javax/security/sasl/SaslException.java,
220 javax/security/sasl/SaslServer.java,
221 javax/security/sasl/SaslServerFactory.java:
224 2004-10-20 Michael Koch <konqueror@gmx.de>
226 * javax/security/auth/login/NullConfiguration.java,
227 javax/security/auth/x500/X500Principal.java,
228 javax/security/cert/X509Certificate.java,
229 javax/security/sasl/AuthenticationException.java,
230 javax/security/sasl/AuthorizeCallback.java,
231 javax/security/sasl/RealmCallback.java,
232 javax/security/sasl/RealmChoiceCallback.java,
233 javax/security/sasl/Sasl.java,
234 javax/security/sasl/SaslClient.java,
235 javax/security/sasl/SaslClientFactory.java,
236 javax/security/sasl/SaslException.java,
237 javax/security/sasl/SaslServer.java,
238 javax/security/sasl/SaslServerFactory.java:
239 Cleaned up import statements and copyright notices.
241 2004-10-20 Michael Koch <konqueror@gmx.de>
243 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
245 2004-10-20 Michael Koch <konqueror@gmx.de>
247 * java/sql/Timestamp.java,
248 java/text/AttributedCharacterIterator.java,
249 java/text/AttributedString.java,
250 java/util/zip/CheckedOutputStream.java,
251 java/util/zip/DeflaterOutputStream.java,
252 java/util/zip/ZipFile.java,
253 javax/crypto/Cipher.java,
254 javax/crypto/ExemptionMechanismException.java,
255 javax/crypto/SecretKey.java,
256 javax/crypto/SecretKeyFactory.java,
257 javax/naming/directory/ModificationItem.java,
258 javax/naming/directory/SearchControls.java,
259 javax/naming/event/NamingListener.java,
260 javax/naming/ldap/Control.java,
261 javax/naming/ldap/ExtendedResponse.java,
262 javax/net/ssl/SSLSocketFactory.java:
263 Reorganized imports and fixed copyright headers.
265 2004-10-20 Michael Koch <konqueror@gmx.de>
267 * java/util/logging/ConsoleHandler.java,
268 java/util/logging/ErrorManager.java,
269 java/util/logging/FileHandler.java,
270 java/util/logging/Filter.java,
271 java/util/logging/Formatter.java,
272 java/util/logging/Handler.java,
273 java/util/logging/Level.java,
274 java/util/logging/LogManager.java,
275 java/util/logging/LogRecord.java,
276 java/util/logging/Logger.java,
277 java/util/logging/LoggingPermission.java,
278 java/util/logging/MemoryHandler.java,
279 java/util/logging/SimpleFormatter.java,
280 java/util/logging/SocketHandler.java,
281 java/util/logging/StreamHandler.java,
282 java/util/logging/XMLFormatter.java:
283 Standardized copyrigth header.
285 2004-10-20 Michael Koch <konqueror@gmx.de>
287 * java/security/AlgorithmParameterGenerator.java,
288 java/security/AlgorithmParameters.java,
289 java/security/DigestInputStream.java,
290 java/security/Identity.java,
291 java/security/KeyFactory.java,
292 java/security/KeyPairGenerator.java,
293 java/security/KeyStore.java,
294 java/security/MessageDigest.java,
295 java/security/MessageDigestSpi.java,
296 java/security/Policy.java,
297 java/security/SecureRandom.java,
298 java/security/Security.java,
299 java/security/Signature.java,
300 java/security/SignatureSpi.java,
301 java/security/cert/CertPathBuilder.java,
302 java/security/cert/CertPathValidator.java,
303 java/security/cert/CertStore.java,
304 java/security/cert/Certificate.java,
305 java/security/cert/CertificateFactory.java,
306 java/security/cert/PolicyQualifierInfo.java,
307 java/security/cert/TrustAnchor.java,
308 java/security/cert/X509CRL.java,
309 java/security/cert/X509CRLEntry.java,
310 java/security/cert/X509Certificate.java,
311 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
312 Import statements reorganized, some little formatting issues,
313 used java-style array declarations, added comments in empty catch
316 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
318 * java/security/Security.java
319 (static): Use AccessController.doPrivileged to get system property.
321 2004-10-18 Sven de Marothy <sven@physto.se>
323 * java/nio/ByteBufferHelper.java
324 (putDouble): Use Double.toRawLongBits instead.
326 2004-10-18 Mark Wielaard <mark@klomp.org>
327 Andrew Haley <aph@redhat.com>
329 * testsuite/libjava.lang/ExtraClassLoader.java: New.
331 2004-10-18 Andrew Haley <aph@redhat.com>
334 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
335 and correct logic used to find interpreter.
337 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
339 * java/util/logging/LogManager.java
340 (findAncestor): Fixed IndexOutOfBoundsException.
342 2004-10-18 Michael Koch <konqueror@gmx.de>
344 * java/io/BufferedInputStream.java: Fixed @author tag.
345 (read): Simplified expression.
346 (read): Merged javadoc a bit more.
347 (read): Renamed 'remain' to 'totalBytesRead'.
348 * java/io/DataInputStream.java,
349 java/io/DataOutputStream.java,
350 java/io/ObjectInputStream.java,
351 java/io/ObjectOutputStream.java:
352 Reworked modifier order.
354 2004-10-18 Michael Koch <konqueror@gmx.de>
356 * java/net/Inet4Address.java: Merged file header and javadocs.
357 * java/net/Inet6Address.java: Likewise.
358 * java/net/InetAddress.java
359 (getCanonicalHostName): Create Inet4Address object instead of
360 InetAddress and add comment regarding IPv6.
361 (toString): Simplified.
363 2004-10-18 Michael Koch <konqueror@gmx.de>
365 * gnu/java/net/protocol/http/Connection.java,
366 java/nio/MappedByteBufferImpl.java,
367 java/text/RuleBasedCollator.java,
368 java/util/ResourceBundle.java:
369 Reworked import statements.
371 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
373 * java/security/IdentityScope.java
374 (systemScope): Removed useless initializer.
375 * java/security/Policy.java
376 (currentPolicy): Likewise.
378 2004-10-18 Michael Koch <konqueror@gmx.de>
380 * java/lang/System.java: Revert accidential change.
382 2004-10-18 Michael Koch <konqueror@gmx.de>
384 * java/lang/Math.java,
385 java/lang/Package.java,
386 java/lang/Runtime.java,
387 java/lang/StrictMath.java,
388 java/lang/System.java,
389 java/lang/Thread.java,
390 java/lang/ThreadLocal.java,
392 Reworked import statements, HTML in javadocs and modifier orders.
394 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
396 * java/util/Timer.java
397 (nr): Removed useless initializer.
398 * java/util/logging/LogRecord.java
399 (lastSeqNum): Likewise.
400 * javax/naming/spi/NamingManager.java
401 (icfb, ofb): Likewise.
403 2004-10-18 Michael Koch <konqueror@gmx.de>
405 * gnu/java/net/PlainDatagramSocketImpl.java:
406 Reworked import statements.
407 * gnu/java/security/provider/DSAParameters.java:
408 Fixed copyrigth years.
409 * java/net/JarURLConnection.java:
410 Fixed HTML in @author tags.
413 2004-10-18 Michael Koch <konqueror@gmx.de>
415 * java/rmi/activation/ActivationSystem.java
416 (SYSTEM_PORT): Initialize with correct port number.
418 2004-10-18 Michael Koch <konqueror@gmx.de>
420 * java/lang/reflect/Proxy.java: Improved javadocs.
422 2004-10-18 Michael Koch <konqueror@gmx.de>
424 * java/lang/reflect/AccessibleObject.java
425 (checkPermission): Removed redundant final modifier.
426 (secureSetAccessible): Likewise.
427 * java/lang/reflect/Proxy.java:
428 Reworked import statements.
429 (generate): Removed redundant final modifier.
430 * java/lang/reflect/ReflectPermission.java:
431 Reorder package declaration and import statement.
433 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
435 * java/lang/reflect/Proxy.java
436 (count): Removed useless initializer.
438 2004-10-17 Michael Koch <konqueror@gmx.de>
440 * java/net/BindException.java,
441 java/net/ConnectException.java,
442 java/net/ContentHandler.java,
443 java/net/ContentHandlerFactory.java,
444 java/net/DatagramPacket.java,
445 java/net/DatagramSocket.java,
446 java/net/DatagramSocketImpl.java,
447 java/net/DatagramSocketImplFactory.java,
448 java/net/FileNameMap.java,
449 java/net/HttpURLConnection.java,
450 java/net/MalformedURLException.java,
451 java/net/MulticastSocket.java,
452 java/net/NetworkInterface.java,
453 java/net/NoRouteToHostException.java,
454 java/net/PasswordAuthentication.java,
455 java/net/PortUnreachableException.java,
456 java/net/ProtocolException.java,
457 java/net/ServerSocket.java,
458 java/net/Socket.java,
459 java/net/SocketException.java,
460 java/net/SocketImpl.java,
461 java/net/SocketImplFactory.java,
462 java/net/SocketOptions.java,
463 java/net/SocketPermission.java,
464 java/net/SocketTimeoutException.java,
466 java/net/URISyntaxException.java,
468 java/net/URLDecoder.java,
469 java/net/URLEncoder.java,
470 java/net/URLStreamHandler.java,
471 java/net/URLStreamHandlerFactory.java,
472 java/net/UnknownHostException.java,
473 java/net/UnknownServiceException.java:
474 Big import statement and @author tag cleanup.
476 2004-10-17 Michael Koch <konqueror@gmx.de>
478 * gnu/java/security/OID.java,
479 gnu/java/security/provider/DSAParameters.java,
480 gnu/java/security/provider/DSASignature.java,
481 gnu/java/security/x509/X500DistinguishedName.java,
482 gnu/java/security/x509/X509CRL.java:
483 Import statements cleaned up.
485 2004-10-16 Michael Koch <konqueror@gmx.de>
487 * gnu/java/nio/NIODatagramSocket.java,
488 gnu/java/nio/ServerSocketChannelImpl.java:
489 Reorganized import statements.
491 2004-10-16 Michael Koch <konqueror@gmx.de>
493 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
494 gnu/java/rmi/rmic/RMIC.java,
495 gnu/java/rmi/server/RMIHashes.java,
496 gnu/java/rmi/server/RMIObjectInputStream.java,
497 gnu/java/rmi/server/RMIObjectOutputStream.java,
498 gnu/java/rmi/server/UnicastConnection.java,
499 gnu/java/rmi/server/UnicastConnectionManager.java,
500 gnu/java/rmi/server/UnicastRemoteCall.java,
501 gnu/java/rmi/server/UnicastServer.java,
502 gnu/java/rmi/server/UnicastServerRef.java,
503 java/rmi/MarshalledObject.java,
504 java/rmi/Naming.java,
505 java/rmi/RMISecurityManager.java,
506 java/rmi/Remote.java,
507 java/rmi/activation/Activatable.java,
508 java/rmi/activation/ActivationDesc.java,
509 java/rmi/activation/ActivationGroup.java,
510 java/rmi/activation/ActivationGroupDesc.java,
511 java/rmi/activation/ActivationGroupID.java,
512 java/rmi/activation/ActivationID.java,
513 java/rmi/activation/ActivationInstantiator.java,
514 java/rmi/activation/ActivationMonitor.java,
515 java/rmi/activation/ActivationSystem.java,
516 java/rmi/activation/Activator.java,
517 java/rmi/dgc/DGC.java,
518 java/rmi/dgc/Lease.java,
519 java/rmi/dgc/VMID.java,
520 java/rmi/registry/LocateRegistry.java,
521 java/rmi/registry/Registry.java,
522 java/rmi/registry/RegistryHandler.java,
523 java/rmi/server/LoaderHandler.java,
524 java/rmi/server/LogStream.java,
525 java/rmi/server/ObjID.java,
526 java/rmi/server/Operation.java,
527 java/rmi/server/RMIClassLoader.java,
528 java/rmi/server/RMIClassLoaderSpi.java,
529 java/rmi/server/RMIClientSocketFactory.java,
530 java/rmi/server/RMIFailureHandler.java,
531 java/rmi/server/RMIServerSocketFactory.java,
532 java/rmi/server/RMISocketFactory.java,
533 java/rmi/server/RemoteCall.java,
534 java/rmi/server/RemoteObject.java,
535 java/rmi/server/RemoteRef.java,
536 java/rmi/server/RemoteServer.java,
537 java/rmi/server/RemoteStub.java,
538 java/rmi/server/ServerRef.java,
539 java/rmi/server/Skeleton.java,
540 java/rmi/server/SkeletonMismatchException.java,
541 java/rmi/server/UID.java,
542 java/rmi/server/UnicastRemoteObject.java,
543 java/rmi/server/Unreferenced.java:
544 File headers and import statements cleaned up.
546 2004-10-16 Michael Koch <konqueror@gmx.de>
548 * libjava/gnu/java/nio/charset/UTF_16.java,
549 libjava/gnu/java/nio/charset/UTF_16BE.java,
550 libjava/gnu/java/nio/charset/UTF_16LE.java,
551 libjava/java/nio/ByteOrder.java,
552 libjava/java/nio/MappedByteBuffer.java,
553 libjava/java/nio/channels/Channels.java,
554 libjava/java/nio/channels/spi/SelectorProvider.java,
555 libjava/java/nio/charset/Charset.java:
558 2004-10-16 Michael Koch <konqueror@gmx.de>
560 * gnu/java/nio/charset/UTF_16Encoder.java
561 (UTF_16Encoder): Fixed maxBytesPerChar handling.
563 2004-10-16 Michael Koch <konqueror@gmx.de>
565 * java/math/BigDecimal.java, java/math/BigInteger.java:
566 Reorganized import statements, removed redundant and
567 reorganized modifiers.
569 2004-10-16 Michael Koch <konqueror@gmx.de>
571 * gnu/java/beans/ExplicitBeanInfo.java:
572 Explicitely import java.awt.Image.
573 (getIcon): Fixed off-by-one error.
575 2004-10-15 Andrew Haley <aph@redhat.com>
577 * Makefile.am (nat_files, xlib_nat_files): New.
578 * Makefile.in: Regenerate.
580 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
582 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
583 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
585 2004-10-13 Andrew Haley <aph@redhat.com>
587 * interpret.cc (_Jv_InterpMethod::run): Initialize
588 _Jv_StartOfInterpreter.
589 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
590 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
591 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
592 _Unwind_FindEnclosingFunction to discover whether PC is within the
595 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
598 * testsuite/libjava.lang/md5test.java: New file.
599 * testsuite/libjava.lang/md5test.out: Likewise.
600 * testsuite/libjava.lang/shatest.java: Likewise.
601 * testsuite/libjava.lang/shatest.out: Likewise.
603 2004-10-11 Richard Henderson <rth@redhat.com>
605 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
606 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
608 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
610 * java/util/Calendar.java (set): Invalidate DST_OFFSET
611 field as a DST boundary may have been crossed.
612 * java/util/GregorianCalendar.java (add): Throw
613 IllegalArgumentException on attempt to add to DST_OFFSET or
614 ZONE_OFFSET fields. Update javadoc.
616 2004-10-09 Michael Koch <konqueror@gmx.de>
618 * java/io/CharArrayWriter.java
619 (resize): Removed redundant 'final' modifier.
620 * java/io/DataInputStream.java
621 (readFully): Throw IndexOutOfBoundsException of len < 0.
622 * java/io/FileDescriptor.java,
623 java/io/FileInputStream.java,
624 java/io/FileOutputStream.java,
625 java/io/ObjectOutputStream.java,
626 java/io/ObjectStreamClass.java,
627 java/io/PipedInputStream.java,
628 java/io/RandomAccessFile.java:
629 Reorganized import statements.
631 2004-10-09 Michael Koch <konqueror@gmx.de>
633 * gnu/java/rmi/rmic/RMIC.java,
634 gnu/java/rmi/server/RMIHashes.java,
635 gnu/java/rmi/server/RMIObjectInputStream.java,
636 gnu/java/rmi/server/UnicastConnection.java,
637 gnu/java/rmi/server/UnicastConnectionManager.java,
638 gnu/java/rmi/server/UnicastRemoteCall.java,
639 gnu/java/rmi/server/UnicastServerRef.java:
640 Reworked import statements and fixed file headers.
642 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
644 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
646 * configure: Rebuilt.
648 2004-09-30 Tom Tromey <tromey@redhat.com>
650 * java/text/MessageFormat.java (Field): Constructor now
653 2004-09-30 Tom Tromey <tromey@redhat.com>
655 * javax/crypto/MacSpi.java: Fixed typo.
657 2004-09-30 Michael Koch <konqueror@gmx.de>
659 * java/net/InetAddress.java: Reformatted.
660 (loopback): Initialize with Inet4Address object.
661 (static): Initialize ANY_IF with Inet4Address object.
662 (InetAddress): Removed unused package-private constructor.
664 2004-09-30 Michael Koch <konqueror@gmx.de>
666 * java/beans/Beans.java,
667 java/beans/EventHandler.java,
668 java/beans/EventSetDescriptor.java,
669 java/beans/Introspector.java,
670 java/beans/PropertyEditorManager.java,
671 java/beans/beancontext/BeanContext.java,
672 java/beans/beancontext/BeanContextChild.java,
673 java/beans/beancontext/BeanContextChildSupport.java,
674 java/beans/beancontext/BeanContextMembershipEvent.java:
675 Reordered import statements and removed redundant modifiers.
677 2004-09-29 Tom Tromey <tromey@redhat.com>
680 * Makefile.in: Rebuilt.
681 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
683 (all_property_files): New macro.
685 * Makefile.in: Rebuilt.
686 * Makefile.am (ordinary_java_source_files): Re-sorted.
687 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
689 2004-09-28 Tom Tromey <tromey@redhat.com>
691 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
694 * Makefile.am (libgcj.la): Restored.
695 * Makefile.in: Rebuilt.
697 2004-09-28 Michael Koch <konqueror@gmx.de>
699 * java/net/URLConnection.java: Reformatted.
700 * java/net/URLClassLoader.java: Reformatted.
701 (getContent): Reordered return of content.
702 (getContentHandler): Don't check for null explicitely.
704 2004-09-27 Michael Koch <konqueror@gmx.de>
706 * java/io/BufferedInputStream.java
707 (BufferedInputStream): Added Jeroen Frijters to authors.
708 (count): Don't explicitely initialize with default value.
710 (marklimit): Likewise.
711 (read): Changed boolean expression to match GNU classpath' version.
712 (reset): Add proper message to exception.
713 (skip): Check for closed stream.
716 2004-09-26 Per Bothner <per@bothner.com>
718 * prims.cc (unblock_signal): Annotate signum with __unused__ to
719 avoid warnings in the non-POSIX_VERSION case.
720 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
721 so place it inside an #if block.
722 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
723 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
724 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
725 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
727 2004-09-26 Per Bothner <per@bothner.com>
729 * prims.cc (process_gcj_properties): Optimization.
731 2004-09-26 Per Bothner <per@bothner.com>
733 * java/util/Collections.java (sort): Copy from array in forwards
734 order, rather than reverse order which may be much less efficient.
736 2004-09-26 Mark Wielaard <mark@klomp.org>
738 * java/lang/System.java (properties): Make package private.
739 * java/lang/Throwable.java (StaticData.nl): Initialize through
740 directly accessing System.properties.getProperty().
742 * java/lang/Throwable.java (nl): Remove static field.
743 (StaticData): New private static inner class.
744 (stackTraceStringBuffer): Use StaticData.nl.
746 2004-09-26 Casey Marshall <csm@gnu.org>
748 * java/security/ProtectionDomain.java
749 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
752 * java/security/SecureClassLoader.java
753 (defineClass): make protection domain dynamically bound.
754 (getPermissions): call `getCurrentPolicy' to avoid permission
757 2004-09-25 Mark Wielaard <mark@klomp.org>
759 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
760 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
761 * Makefile.in: Regenerated.
763 * gcj/javaprims.h: Regenerated.
765 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
766 (getDefaultTimeZone): Make package private. Check that GMToffset
767 contains at least one digit.
768 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
770 * util/VMTimeZone.java: New file with above methods.
772 * java/util/natTimeZone.cc: Removed (renamed).
773 * java/util/natVMTimeZone.cc: Added (renamed).
775 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
777 * java/util/TimeZone.java
778 (getDefaultTimeZone): Fixed test to distinguish between hours and
779 minutes in specified timezone.
781 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
783 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
784 handling of default package. (generate): Removed confused comments
785 and code about making Method and Field accessible.
787 2004-09-25 Tom Tromey <tromey@redhat.com>
790 * testsuite/libjava.compile/pr17500.java: New file.
792 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
793 Mark Wielaard <mark@klomp.org>
795 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
796 * gnu/regexp/RETokenLookAhead.java: New file.
798 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
799 * Makefile.in: Regenerated.
801 2004-09-25 Michael Koch <konqueror@gmx.de>
803 * java/io/ObjectStreamField.java:
804 Removed unused import statement.
806 2004-09-24 Tom Tromey <tromey@redhat.com>
809 * testsuite/libjava.compile/pr15656.xfail: New file.
810 * testsuite/libjava.compile/pr15656.java: new file.
813 * testsuite/libjava.lang/pr16789.out: New file.
814 * testsuite/libjava.lang/pr16789.java: New file.
816 2004-09-24 Andrew Haley <aph@redhat.com>
819 * testsuite/libjava.compile/AssertBug.java: New file.
821 2004-09-24 Casey Marshall <csm@gnu.org>
823 * java/util/PropertyPermissionCollection.java
824 (implies): avoid infinite loop.
826 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
828 * javax/security/auth/PrivateCredentialPermission.java
829 (PrivateCredentialPermission): added serialization UID
832 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
834 * gnu/java/rmi/server/UnicastServer.java
835 (incomingMessageCall): Added code to handle Errors.
836 * gnu/java/rmi/server/UnicastServerRef.java
837 (incomingMessageCall): Added code to handle Errors.
840 2004-09-24 Tom Tromey <tromey@redhat.com>
842 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
843 (definedPackages): Likewise.
845 2004-09-24 Michael Koch <konqueror@gmx.de>
847 * java/io/ObjectInputStream.java:
850 2004-09-24 Casey Marshall <csm@gnu.org>
852 * java/io/ObjectInputStream.java (callReadMethod): re-throw
853 `ClassNotFoundException'.
855 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
857 * java/io/ObjectInputStream.java (readObject): Delegate instantation
858 of Externalizable classes to ObjectStreamClass.
859 * java/io/ObjectStreamClass.java (newInstance): New method to
860 instantiate Externalizable (while ignoring the accessibility of
861 the constructor). (constructor): New field to cache the constructor.
863 2004-09-24 Mark Wielaard <mark@klomp.org>
865 * java/net/URL.java (systemClassLoader): New static field.
866 (getURLStreamHandler): Always use system/application classloader
867 for finding URLStreamhandler. Remove unecessary instanceof checks.
869 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
872 (set): This method now matches the behaviour of the JDK.
873 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
875 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
877 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
879 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
881 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
882 Don't set authority if host isn't specified.
884 2004-09-24 Michael Koch <konqueror@gmx.de>
886 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
887 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
888 * gnu/java/nio/VMPipe.java,
889 gnu/java/nio/VMSelector.java:
891 * gnu/java/nio/natPipeImplEcos.cc,
892 gnu/java/nio/natPipeImplPosix.cc,
893 gnu/java/nio/natPipeImplWin32.cc:
895 * gnu/java/nio/natSelectorImplEcos.cc,
896 gnu/java/nio/natSelectorImplPosix.cc,
897 gnu/java/nio/natSelectorImplWin32.cc:
898 Ported to VMSelector.
899 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
900 gnu/java/nio/VMSelector.java.
901 * Makefile.in: Regenerated.
903 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
905 * java/lang/StackTraceElement.java
906 (className): Renamed field to declaringClass to be compatible
907 with Sun serialization format.
909 2004-09-23 Michael Koch <konqueror@gmx.de>
911 * java/applet/AppletContext.java,
912 java/applet/Applet.java,
913 java/applet/AppletStub.java,
914 java/applet/AudioClip.java:
915 Jalopied and checkstyle clean.
917 2004-09-23 Mark Wielaard <mark@klomp.org>
919 * java/util/Collections.java
920 (binarySearch(List, Object, Comparator)): Explicitly
921 reverse direction in list iterator.
922 (rotate): Just return when list is empty.
924 2004-09-23 Tom Tromey <tromey@redhat.com>
927 * testsuite/libjava.compile/pr17329.java: New file.
930 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
933 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
935 * Makefile.am: Run aclocal with -I ../config
936 * acinclude.m4: Delete macros picked up from ../config and tidy.
937 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
938 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
939 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
941 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
943 * aclocal.m4: Regenerate with aclocal 1.9.2.
944 * configure: Regenerate.
945 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
946 * include/Makefile.in, testsuite/Makefile.in: Likewise.
948 2004-09-22 David Daney <ddaney@avtrex.com>
951 * java/net/URL.java (URL): Copy userInfo from context.
952 (getUserInfo): Return cached userInfo if present.
954 2004-09-22 Tom Tromey <tromey@redhat.com>
957 * mauve-libgcj: Enable java.lang.Character tests.
959 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
961 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
963 (lib_org_ietf_jgss_la_LIBADD): Likewise.
964 * Makefile.in: Regenerated.
966 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
968 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
969 * configure: Regenerate.
970 * include/config.h.in: Likewise.
971 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
975 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
976 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
981 2004-09-22 Tom Tromey <tromey@redhat.com>
984 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
986 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
988 (read()): New overload.
990 2004-09-21 Tom Tromey <tromey@redhat.com>
992 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
995 2004-09-21 Michael Koch <konqueror@gmx.de>
997 * java/net/Socket.java
998 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1000 2004-09-21 Casey Marshall <csm@gnu.org>
1002 * javax/crypto/MacSpi.java (clone): Provide meaningful
1005 2004-09-21 Tom Tromey <tromey@redhat.com>
1008 * Makefile.in: Rebuilt.
1009 * Makefile.am (MOSTLYCLEANFILES): Removed.
1010 (mostlyclean-local): Remove header files.
1012 2004-09-21 Casey Marshall <csm@gnu.org>
1014 * java/security/cert/X509CRLSelector.java:
1015 (match): remove unreachable try-catch clauses.
1016 Reported by: Dalibor Topic <robilad@kaffe.org>
1018 2004-09-21 Mark Wielaard <mark@klomp.org>
1020 * java/util/TreeMap.java (root): Don't initialize.
1021 (TreeMap(Comparator)): Call fabricateTree(0).
1022 (fabricateTree): Initialize root and size when count is 0.
1024 2004-09-21 Sven de Marothy <sven@physto.se>
1026 * java/nio/ByteBuffer.java (hashCode): Implemented.
1027 * java/nio/CharBuffer.java: Likewise.
1028 * java/nio/DoubleBuffer.java: Likewise.
1029 * java/nio/FloatBuffer.java: Likewise.
1030 * java/nio/LongBuffer.java: Likewise.
1031 * java/nio/IntBuffer.java: Likewise.
1032 * java/nio/ShortBuffer.java: Likewise.
1034 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1036 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1038 2004-09-21 Michael Koch <konqueror@gmx.de>
1040 * javax/net/ssl/SSLServerSocket.java:
1041 Removed comment about "Do not edit this file, it's generated.".
1043 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1045 Import the big Crypto/Jessie/Security merge from Classpath.
1047 * Makefile.am: Add imported files.
1048 * Makefile.in: Regenerate.
1050 2004-08-14 Casey Marshall <csm@gnu.org>
1052 The Big Crypto Merge of 2004.
1054 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1057 Files imported from GNU Crypto.
1058 * javax/crypto/BadPaddingException.java
1059 * javax/crypto/Cipher.java
1060 * javax/crypto/CipherInputStream.java
1061 * javax/crypto/CipherOutputStream.java
1062 * javax/crypto/CipherSpi.java
1063 * javax/crypto/EncryptedPrivateKeyInfo.java
1064 * javax/crypto/ExemptionMechanism.java
1065 * javax/crypto/ExemptionMechanismException.java
1066 * javax/crypto/ExemptionMechanismSpi.java
1067 * javax/crypto/IllegalBlockSizeException.java
1068 * javax/crypto/KeyAgreement.java
1069 * javax/crypto/KeyAgreementSpi.java
1070 * javax/crypto/KeyGenerator.java
1071 * javax/crypto/KeyGeneratorSpi.java
1072 * javax/crypto/Mac.java
1073 * javax/crypto/MacSpi.java
1074 * javax/crypto/Makefile.am
1075 * javax/crypto/NoSuchPaddingException.java
1076 * javax/crypto/NullCipher.java
1077 * javax/crypto/NullCipherImpl.java
1078 * javax/crypto/SealedObject.java
1079 * javax/crypto/SecretKey.java
1080 * javax/crypto/SecretKeyFactory.java
1081 * javax/crypto/SecretKeyFactorySpi.java
1082 * javax/crypto/ShortBufferException.java
1083 * javax/crypto/interfaces/DHKey.java
1084 * javax/crypto/interfaces/DHPrivateKey.java
1085 * javax/crypto/interfaces/DHPublicKey.java
1086 * javax/crypto/interfaces/PBEKey.java
1087 * javax/crypto/spec/DESKeySpec.java
1088 * javax/crypto/spec/DESedeKeySpec.java
1089 * javax/crypto/spec/DHGenParameterSpec.java
1090 * javax/crypto/spec/DHParameterSpec.java
1091 * javax/crypto/spec/DHPrivateKeySpec.java
1092 * javax/crypto/spec/DHPublicKeySpec.java
1093 * javax/crypto/spec/IvParameterSpec.java
1094 * javax/crypto/spec/PBEKeySpec.java
1095 * javax/crypto/spec/PBEParameterSpec.java
1096 * javax/crypto/spec/RC2ParameterSpec.java
1097 * javax/crypto/spec/RC5ParameterSpec.java
1098 * javax/crypto/spec/SecretKeySpec.java
1099 * javax/security/auth/AuthPermission.java
1100 * javax/security/auth/DestroyFailedException.java
1101 * javax/security/auth/Destroyable.java
1102 * javax/security/auth/Policy.java
1103 * javax/security/auth/PrivateCredentialPermission.java
1104 * javax/security/auth/RefreshFailedException.java
1105 * javax/security/auth/Refreshable.java
1106 * javax/security/auth/Subject.java
1107 * javax/security/auth/SubjectDomainCombiner.java
1108 * javax/security/auth/callback/Callback.java
1109 * javax/security/auth/callback/CallbackHandler.java
1110 * javax/security/auth/callback/ChoiceCallback.java
1111 * javax/security/auth/callback/ConfirmationCallback.java
1112 * javax/security/auth/callback/LanguageCallback.java
1113 * javax/security/auth/callback/NameCallback.java
1114 * javax/security/auth/callback/PasswordCallback.java
1115 * javax/security/auth/callback/TextInputCallback.java
1116 * javax/security/auth/callback/TextOutputCallback.java
1117 * javax/security/auth/callback/UnsupportedCallbackException.java
1118 * javax/security/auth/login/AccountExpiredException.java
1119 * javax/security/auth/login/AppConfigurationEntry.java
1120 * javax/security/auth/login/Configuration.java
1121 * javax/security/auth/login/CredentialExpiredException.java
1122 * javax/security/auth/login/FailedLoginException.java
1123 * javax/security/auth/login/LoginContext.java
1124 * javax/security/auth/login/LoginException.java
1125 * javax/security/auth/login/NullConfiguration.java
1126 * javax/security/auth/x500/X500PrivateCredential.java
1127 * javax/security/sasl/AuthenticationException.java
1128 * javax/security/sasl/AuthorizeCallback.java
1129 * javax/security/sasl/RealmCallback.java
1130 * javax/security/sasl/RealmChoiceCallback.java
1131 * javax/security/sasl/Sasl.java
1132 * javax/security/sasl/SaslClient.java
1133 * javax/security/sasl/SaslClientFactory.java
1134 * javax/security/sasl/SaslException.java
1135 * javax/security/sasl/SaslServer.java
1136 * javax/security/sasl/SaslServerFactory.java
1137 * org/ietf/jgss/ChannelBinding.java
1138 * org/ietf/jgss/GSSContext.java
1139 * org/ietf/jgss/GSSCredential.java
1140 * org/ietf/jgss/GSSException.java
1141 * org/ietf/jgss/GSSManager.java
1142 * org/ietf/jgss/GSSName.java
1143 * org/ietf/jgss/MessageProp.java
1144 * org/ietf/jgss/Oid.java
1145 * org/ietf/jgss/MessagesBundle.properties
1147 Files imported from Jessie <http://www.nongnu.org/jessie/>
1148 * javax/net/ServerSocketFactory.java
1149 * javax/net/SocketFactory.java
1150 * javax/net/VanillaServerSocketFactory.java
1151 * javax/net/VanillaSocketFactory.java
1152 * javax/net/ssl/HandshakeCompletedEvent.java
1153 * javax/net/ssl/HandshakeCompletedListener.java
1154 * javax/net/ssl/HostnameVerifier.java
1155 * javax/net/ssl/HttpsURLConnection.java
1156 * javax/net/ssl/KeyManager.java
1157 * javax/net/ssl/KeyManagerFactory.java
1158 * javax/net/ssl/KeyManagerFactorySpi.java
1159 * javax/net/ssl/ManagerFactoryParameters.java
1160 * javax/net/ssl/SSLContext.java
1161 * javax/net/ssl/SSLContextSpi.java
1162 * javax/net/ssl/SSLException.java
1163 * javax/net/ssl/SSLHandshakeException.java
1164 * javax/net/ssl/SSLKeyException.java
1165 * javax/net/ssl/SSLPeerUnverifiedException.java
1166 * javax/net/ssl/SSLPermission.java
1167 * javax/net/ssl/SSLProtocolException.java
1168 * javax/net/ssl/SSLServerSocket.java
1169 * javax/net/ssl/SSLServerSocketFactory.java
1170 * javax/net/ssl/SSLSession.java
1171 * javax/net/ssl/SSLSessionBindingEvent.java
1172 * javax/net/ssl/SSLSessionBindingListener.java
1173 * javax/net/ssl/SSLSessionContext.java
1174 * javax/net/ssl/SSLSocket.java
1175 * javax/net/ssl/SSLSocketFactory.java
1176 * javax/net/ssl/TrivialHostnameVerifier.java
1177 * javax/net/ssl/TrustManager.java
1178 * javax/net/ssl/TrustManagerFactory.java
1179 * javax/net/ssl/TrustManagerFactorySpi.java
1180 * javax/net/ssl/X509KeyManager.java
1181 * javax/net/ssl/X509TrustManager.java
1182 * javax/security/cert/Certificate.java
1183 * javax/security/cert/CertificateEncodingException.java
1184 * javax/security/cert/CertificateException.java
1185 * javax/security/cert/CertificateExpiredException.java
1186 * javax/security/cert/CertificateNotYetValidException.java
1187 * javax/security/cert/CertificateParsingException.java
1188 * javax/security/cert/X509CertBridge.java
1189 * javax/security/cert/X509Certificate.java
1191 2004-08-20 Casey Marshall <csm@gnu.org>
1193 * java/security/cert/X509CRLSelector.java: New file.
1194 * java/security/cert/X509CertSelector.java: New file.
1196 2004-09-15 Michael Koch <konqueror@gmx.de>
1198 * gnu/java/net/protocol/file/Handler.java
1199 (openConnection): Don't throw exception if host part for file: URI is
1200 present. setURL() keeps file: protocol if ftp: protocol is not
1203 2004-09-14 Richard Henderson <rth@redhat.com>
1205 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1206 value of sigsuspend.
1208 2004-09-12 Tom Tromey <tromey@redhat.com>
1210 * javax/naming/CompoundName.java (CompoundName): Don't check for
1211 separator in "flat" case.
1213 2004-09-12 Michael Koch <konqueror@gmx.de>
1215 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1216 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1217 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1220 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1223 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1224 handle in newly-allocated _Jv_Thread_t.
1225 (_Jv_ThreadDestroyData): Close thread handle.
1226 (_Jv_ThreadStart): Remove obsolete comment.
1227 Store handle of newly-created thread in _Jv_Thread_t.
1228 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1229 before including <windows.h>
1230 #define _Jv_HaveCondDestroy
1232 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1234 * java/lang/natThread.cc (finalize_native): Destroy
1235 join conditional variable and mutex if these destroy
1236 operations are supported.
1238 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1240 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1241 (DEFAULT_PERMISSION): New constant.
1242 (Connection): Create a FilePermission with permission to read file.
1244 2004-09-10 Michael Koch <konqueror@gmx.de>
1246 * gnu/java/net/protocol/file/Connection.java
1247 (getLastModified): Moved around.
1248 (getPermission): Return stored permission.
1250 2004-09-10 Michael Koch <konqueror@gmx.de>
1252 * Makefile.in: Regenerate.
1254 2004-09-10 Michael Koch <konqueror@gmx.de>
1256 * Makefile.am: Reverted accidently commited stuff.
1257 * configure: Regenerated.
1259 2004-09-10 Michael Koch <konqueror@gmx.de>
1261 * gnu/java/net/protocol/file/Connection.java
1262 (lineSeparator): Made non-final.
1264 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1265 instead of StringBufferInputStream.
1267 2004-09-10 Michael Koch <konqueror@gmx.de>
1269 * gnu/java/net/protocol/file/Connection.java
1270 (connect): Handle file is a directory case.
1272 2004-09-10 Michael Koch <konqueror@gmx.de>
1275 (xlib_includes): Removed.
1276 (AM_CPPFLAGS): Renamed from INCLUDES.
1277 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1278 * Makefile.in: Regenerate.
1280 2004-09-09 Michael Koch <konqueror@gmx.de>
1282 * java/security/ProtectionDomain.java,
1283 * java/util/PropertyPermissionCollection.java:
1284 Fixed javadocs all over.
1286 2004-09-09 Sven de Marothy <sven@physto.se>
1288 Patch from David Gilbert <david.gilbert@object-refinery.com>
1289 * java/lang/Comparable.java: Fixed documentation errors.
1290 * java/util/Arrays.java: Likewise.
1292 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1294 * java/net/Inet4Address.java
1295 (Inet4Address): Added comment to serialization UID.
1296 * java/text/Format.java
1297 (Format): Added comment to serialization UID.
1299 2004-09-09 Michael Koch <konqueror@gmx.de>
1301 * java/lang/System.java
1302 (err): Fixed javadoci to point to setErr() and not setOut().
1304 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1306 (normalizePath): Added special case for windows systems.
1308 2004-09-09 Michael Koch <konqueror@gmx.de>
1311 (dupSeparator): Made private.
1312 (File(URI)): New constructor.
1313 (getParentFile): Fixed javadoc.
1314 (createTempFile): Reformated.
1315 (setReadOnly): Added comment.
1316 (deleteOnExit): Merged javadoc with classpath version.
1318 2004-09-09 Michael Koch <konqueror@gmx.de>
1320 * Makefile.am: Don't try to include deps.mk.
1321 * Makefile.in: Regenerated.
1323 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1325 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1327 * configure: Rebuilt.
1329 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1331 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1332 Changed pfn from static local to local.
1334 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1335 H.J. Lu <hongjiu.lu@intel.com>
1338 * Makefile.am (GCJCOMPILE): Remove definition.
1339 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1340 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1341 * Makefile.in: Rebuilt.
1343 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1345 * configure.ac (enable-gc-debug): Update help for new syntax.
1346 * configure: Regenerate.
1348 2004-09-03 David Daney <ddaney@avtrex.com>
1350 * include/mips-signal.h: Update copyright.
1352 2004-09-03 David Daney <ddaney@avtrex.com>
1354 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1355 * include/mips-signal.h: Added HANDLE_FPE support.
1357 2004-08-31 Michael Koch <konqueror@gmx.de>
1359 * javax/swing/plaf/basic/BasicTextAreaUI.java
1360 (create): New method.
1361 * javax/swing/text/DefaultHighlighter.java
1362 (DefaultHighlightPainter.debugRect): Removed.
1363 * javax/swing/text/StyleContext.java
1364 (DEFAULT_STYLE): New field.
1366 2004-08-31 Michael Koch <konqueror@gmx.de>
1368 * javax/swing/plaf/basic/BasicLookAndFeel.java
1369 (initComponentDefaults): Add keybindings for selection.backward and
1370 selection-forward for text components.
1371 * javax/swing/plaf/basic/BasicTextUI.java
1372 (paintSafely): Paint highlight only when something is actually
1374 * javax/swing/text/DefaultCaret.java
1375 (handleHighlight): New method.
1376 (setSelectionVisible): Don't do anything when nothing changes.
1378 (moveDot): Reimplemented. Handle highlight.
1379 (setDot): Set mark too. Handle highlight.
1380 (getSelectionPainter): New method.
1381 * javax/swing/text/DefaultEditorKit.java
1382 (defaultActions): Added new actions for text selection.
1383 * javax/swing/text/DefaultHighlighter.java
1384 (DefaultHighlightPainter): New inner class.
1385 (DefaultPainter): New field.
1386 (paint): Implemented.
1387 * javax/swing/text/PlainView.java
1388 (paint): Don't draw background here again.
1389 * javax/swing/text/Utilities.java
1390 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1391 (drawTabbedText): Likewise.
1393 2004-08-31 Graydon Hoare <graydon@redhat.com>
1395 * javax/swing/JComponent.java
1396 (resetKeyboardActions): Add null checks.
1398 2004-08-31 Graydon Hoare <graydon@redhat.com>
1400 * javax/swing/DefaultButtonModel.java:
1401 Skip group notification when no group is set.
1403 2004-08-31 Graydon Hoare <graydon@redhat.com>
1405 * javax/swing/JColorChooser.java:
1406 Make a couple inner classes static, for jikes.
1408 2004-08-31 Michael Koch <konqueror@gmx.de>
1410 * javax/swing/plaf/basic/BasicTextUI.java
1411 (RottView.modelToView): New method.
1412 (UpdateHandler): Renamed from EventHandler.
1413 (updateHandler): Renamed from eventHandler.
1414 (modelToView): Implemented.
1415 * javax/swing/text/AbstractDocument.java
1416 (BranchElement.getElement): Return null for non-existing indeces.
1417 (BranchElement.getElementIndex): Return 0 in some corner cases.
1418 * javax/swing/text/FieldView.java
1419 (modelToView): New method.
1420 * javax/swing/text/PlainView.java
1421 (modelToView): Made public.
1423 2004-08-31 Kim Ho <kho@redhat.com>
1425 * Makefile.am: New files.
1426 * Makefile.in: Regenerate.
1427 * gcj/Makefile.in: Regenerate.
1428 * include/Makefile.in: Regenerate.
1429 * java/awt/Color.java: Fix documentation.
1430 (RGBtoHSB): Use floats for conversions.
1431 * javax/swing/ButtonGroup.java: Run Jalopy.
1432 (setSelected): Reimplement.
1433 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1434 (changeState): Let ButtonGroup know that the button
1436 * javax/swing/JColorChooser.java: Implement.
1437 * javax/swing/JLabel.java: Run Jalopy.
1438 * javax/swing/JSpinner.java: Run Jalopy.
1439 (setValue): New method.
1440 * javax/swing/JTabbedPane.java: Run Jalopy.
1441 (removeTabAt): Call correct remove method.
1442 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1443 (getPreviousValue): Compare minimum value.
1444 * javax/swing/Timer.java: Run Jalopy.
1445 (run): Comment out println.
1446 * javax/swing/ToolTipManager.java:
1447 (mouseMoved): Get new tooltip text for location.
1448 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1450 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1452 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1454 (setSelectedColor): Fire ChangeEvent.
1455 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1456 New file. Implement.
1457 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1459 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1461 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1463 * javax/swing/plaf/basic/BasicArrowButton.java:
1464 (getArrow): Fix size of upward pointing button.
1465 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1467 * javax/swing/plaf/basic/BasicSliderUI.java:
1468 (getWidthOfWidestLabel): Use preferred dimensions.
1469 (getHeightOfTallestLabel): Ditto.
1470 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1472 (mousePressed): Disable changes to spinner if it is not enabled.
1473 * testsuite/Makefile.in: Regenerate.
1476 2004-08-31 Michael Koch <konqueror@gmx.de>
1478 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1479 javax/swing/plaf/basic/BasicTableUI.java:
1480 Added copyright notice.
1482 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1484 * Makefile.am: Added new files.
1485 * Makefile.in: Regenerate.
1486 * javax/swing/ComboBoxEditor.java: Added javadocs.
1487 * javax/swing/ComboBoxModel.java: Likewise.
1488 * javax/swing/DefaultComboBoxModel.java: Implemented.
1489 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1490 and ran through jalopy to fix formatting style.
1491 (getListCellRendererComponent): Use appropriate border
1492 if renderer has focus and use noFocusBorder when it doesn't.
1493 * javax/swing/JComboBox.java: Implemented.
1494 * javax/swing/JList.java:
1495 (locationToIndex): New Method. Implemented.
1496 (indexToLocation): New Method.
1497 * javax/swing/JPopupMenu.java:
1498 (visible): New field.
1499 (isVisible): Changed to use new field above.
1500 (setVisible): Likewise.
1501 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1502 * javax/swing/plaf/basic/BasicArrowButton.java:
1503 (shadow): Changed default color to Color.gray.
1504 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1505 UI delegate for JComboBox.
1506 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1507 Popup menu containing list of JComboBox's items.
1508 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1509 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1510 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1511 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1512 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1513 (popupMenuWillBecomeVisible): Set selected path to the first
1514 element only if it is of type MenuElement. Also fix formatting
1516 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1519 2004-08-31 Michael Koch <konqueror@gmx.de>
1521 * javax/swing/text/AbstractDocument.java
1522 (createBranchElement): Use new constructor of BranchElement.
1523 (createLeafElement): Renamed arguments.
1524 (getRootElements): Implemented.
1525 (BranchElement.start): Removed.
1526 (BranchElement.end): Likewise.
1527 (BranchElement.BranchElement): Fixed arguments.
1528 (BranchElement.getEndOffset): Reimplemented.
1529 (BranchElement.getStartOffset): Likewis.
1530 * javax/swing/text/DefaultCaret.java
1531 (paint): Draw simple vertical line as caret instead of a rectangle.
1532 * javax/swing/text/JTextComponent.java
1533 (setText): Use doc directly.
1534 * javax/swing/text/PlainView.java
1535 (nextTabStop): Implemented.
1536 * javax/swing/text/Utilities.java
1537 (drawTabbedText): nextTabStop() returns an absolute x position.
1538 (getTabbedTextWidth): Likewise.
1540 2004-08-31 Graydon Hoare <graydon@redhat.com>
1542 * java/awt/Component.java
1543 (isFocusTraversable): Predicate on isLightweight()
1544 (setFocusable): Set isFocusTraversableOverridden.
1545 (requestFocus): Predicate peer dispatch on !isLightweight()
1546 (requestFocusInWindow): Likewise.
1547 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1548 * java/awt/Container.java
1549 (dispatchEventImpl): Predicate on event mask.
1550 (LightweightDispatcher): Remove focus machinery.
1551 * java/awt/DefaultFocusTraversalPolicy.java
1552 (accept): Expand predicate to include isFocusable().
1553 * java/awt/DefaultKeyboardFocusManager.java:
1554 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1555 * java/awt/KeyboardFocusManager.java
1556 (redispatchEvent): Synchronize on event to prevent feedback.
1557 * javax/swing/AbstractButton.java
1558 (ButtonFocusListener): Remove class.
1559 (init): Set focusPainted, focusable.
1560 * javax/swing/ActionMap.java (get): Check parent for null.
1561 * javax/swing/InputMap.java (get): Likewise.
1562 * javax/swing/JComponent.java
1563 (inputMap_whenFocused): New InputMap.
1564 (inputMap_whenAncestorOfFocused): Likewise.
1565 (inputMap_whenInFocusedWindow): Likewise.
1566 (getActionForKeyStroke): Rewrite.
1567 (getConditionForKeystroke): Likewise.
1568 (ActionListenerProxy): New private class.
1569 (setInputMap): Implement.
1570 (getInputMap): Likewise.
1571 (setActionMap): Likewise.
1572 (getActionMap): Likewise.
1573 (processComponentKeyEvent): New empty method.
1574 (processKeyEvent): Implement.
1575 (processKeyBinding): Likewise.
1576 (resetKeyboardActions): Rewrite.
1577 * javax/swing/KeyStroke.java: Rewrite.
1578 * javax/swing/SwingUtilities.java
1579 (notifyAction): Implement.
1580 (replaceUIActionMap): Likewise.
1581 (replaceUIInputMap): Likewise.
1582 * javax/swing/plaf/basic/BasicButtonListener.java
1583 (focusGained): Implement.
1584 (focusLost): Repaint if focusPainted().
1585 (installKeyboardActions): Install pressed / released actions.
1586 (uninstallKeyboardActions): Implement.
1587 * javax/swing/plaf/basic/BasicButtonUI.java
1588 (focusColor): New field.
1589 (installDefaults): Load focus color, install input map.
1590 (installKeyboardActions): Implement.
1591 (uninstallKeyboardActions): Likewise.
1592 (paintFocus): Rewrite.
1593 * javax/swing/plaf/basic/BasicLookAndFeel.java
1594 (Button.focus): New default, midPurple.
1595 * javax/swing/plaf/basic/BasicTextUI.java
1597 (installUI): Get doc from kit, load defaults.
1598 (getKeymapName): Implement.
1599 (createKeymap): Likewise.
1600 (installKeyboardActions): Likewise.
1601 (getInputMap): Likewise.
1602 (getActionMap): Likewise.
1603 (createActionMap): Likewise.
1604 * javax/swing/text/AbstractDocument.java
1605 (getStartPosition): Implement.
1606 (getEndPosition): Likewise.
1607 * javax/swing/text/DefaultEditorKit.java
1608 (CopyAction): New class.
1609 (CutAction): Likewise.
1610 (DefaultKeyTypedAction): Likewise.
1611 (InsertBreakAction): Likewise.
1612 (InsertContentAction): Likewise.
1613 (InsertTabAction): Likewise.
1614 (PasteAction): Likewise.
1615 (defaultActions): New static table.
1616 (createCaret): Implement.
1617 (getActions): Likewise.
1618 * javax/swing/text/JTextComponent.java
1619 (KeymapWrapper): New private class.
1620 (KeymapActionMap): Likewise.
1621 (DefaultKeymap): New class.
1622 (keymaps): New static table.
1623 (keymap): New field.
1624 (getKeymap): Implement.
1625 (removeKeymap): Likewise.
1626 (addKeymap): Likewise.
1627 (setKeymap): Likewise.
1628 (loadKeymap): Likewise.
1629 (getActions): Likewise.
1630 (margin): New field.
1631 (JTextComponent): Build and install default keymap.
1632 * javax/swing/text/TextAction.java
1633 (textAction): Call super properly.
1634 (getTextComponent): Implement.
1635 * javax/swing/text/Utilities.java
1636 (drawTabbedText): Adjust position by ascent.
1638 2004-08-31 David Jee <djee@redhat.com>
1642 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1643 (setEnabled): Make it a native method.
1644 * java/awt/DefaultKeyboardFocusManager.java
1645 (postProcessKeyEvent): Only post event if the menu item
1647 * java/awt/MenuItem.java:
1648 Private field 'enabled' should be true by default.
1649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1650 (setEnabled): New function.
1652 2004-08-31 David Jee <djee@redhat.com>
1656 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1657 (nativeSetHelpMenu): New native method declaration.
1658 (addHelpMenu): Call nativeSetHelpMenu().
1660 * java/awt/MenuBar.java
1661 (setHelpMenu): Call addNotify() on the new help menu.
1662 (add): Call addNotify() on the new menu.
1663 (addNotify): Set the help menu if one exists.
1664 * java/awt/peer/MenuBarPeer.java
1666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1667 (nativeSetHelpMenu): New method.
1669 2004-08-31 Graydon Hoare <graydon@redhat.com>
1671 * Makefile.am: Add new files.
1672 * Makefile.in: Regenerate.
1673 * javax/swing/Box.java: Fix setting of layout in ctor.
1674 * javax/swing/JScrollPane.java: Scroll headers as well.
1675 * javax/swing/JTable.java: Reimplement.
1676 * javax/swing/JViewPort.java: Only add non-null children.
1677 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1678 * javax/swing/Timer.java: Fix stopping null waker.
1679 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1680 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1681 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1682 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1683 * javax/swing/table/DefaultTableModel.java: Clean up.
1684 * javax/swing/table/JTableHeader.java: Implement.
1686 2004-08-31 Mark Wielaard <mark@klomp.org>
1688 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1691 2004-08-31 Mark Wielaard <mark@klomp.org>
1693 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1694 Declare variables at top of functions/block.
1695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1697 2004-08-31 Mark Wielaard <mark@klomp.org>
1699 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1702 2004-08-31 Michael Koch <konqueror@gmx.de>
1704 * javax/swing/text/PlainView.java
1705 (selectedColor): New field.
1706 (unselectedColor): Likewise.
1708 (updateMetrics): New method.
1709 (lineToRect): Likewise.
1710 (modelToView): Likewise.
1711 (drawSelectedText): Use color from JTextComponent ad draw with
1713 (drawUnselectedText): Likewise.
1714 (paint): Initialize helper fields.
1715 * javax/swing/text/View.java
1716 (getChildAllocation): New method.
1717 (getViewIndex): Likewise.
1718 (getToolTipText): Likewise.
1720 2004-08-31 Michael Koch <konqueror@gmx.de>
1722 * javax/swing/text/Utilities.java
1723 (drawTabbedText): Reimplemented.
1724 (getTabbedTextWidth): Likewise.
1726 2004-08-31 Michael Koch <konqueror@gmx.de>
1728 * javax/swing/plaf/basic/BasicTextUI.java
1729 (installDefaults): Install caret and highlighter.
1730 (modelToView): Use Bias.Forward when calling sibling.
1731 * javax/swing/text/AbstractDocument.java
1732 (ElementEdit): Implements DocumentEvent.ElementChange.
1733 (ElementEdit.ElementEdit): New method.
1734 (ElementEdit.getChildrenAdded): Likewise.
1735 (ElementEdit.getChildrenRemoved): Likewise.
1736 (ElementEdit.getElement): Likewise.
1737 (ElementEdit.getIndex): Likewise.
1738 * javax/swing/text/DefaultCaret.java
1740 (textComponent): Renamed from parent, made private.
1741 (selectionVisible): Renamed from vis_sel, made private.
1742 (blinkRate): Renamed from blink, made private.
1743 (magicCaretPosition): Renamed from magic, made private.
1744 (visible): Renamed from vis, made private.
1745 (dot): Made private.
1747 (deinstall): Remove as MouseMotionListener.
1748 (install): Initialize textComponent first. Add as MouseMotionListener.
1749 (paint): Reimplemented.
1750 * javax/swing/text/JTextComponent.java
1751 (setCaret): Deinstall old caret, install new one and fire property
1752 change after setting property.
1753 (setHighlighter): Deinstall old highlighter, install new one and fire
1754 property change after setting property.
1755 (setCaretColor): Fire property change after setting property.
1756 (setDisabledTextColor): Likewise.
1757 (setSelectedTextColor): Likewise.
1758 (setSelectionColor): Likewise.
1759 (modelToView): New method.
1761 2004-08-31 Michael Koch <konqueror@gmx.de>
1763 * javax/swing/text/AbstractDocument.java
1764 (getText): Simplified.
1765 * javax/swing/text/Segment.java
1766 (current): New field.
1767 (current): Reimplemented.
1769 (getIndex): Likewise.
1772 (previous): Likewise.
1773 (setIndex): Likewise.
1775 2004-08-31 Michael Koch <konqueror@gmx.de>
1777 * javax/swing/plaf/basic/BasicButtonUI.java
1778 (defaultTextIconGap): Made protected.
1779 (defaultTextShiftOffset): Likewise.
1780 (textShiftOffset): New field.
1781 (clearTextShiftOffset): New method.
1782 (getTextShiftOffset): Likewise.
1783 (setTextShiftOffset): Likewise.
1785 2004-08-31 Michael Koch <konqueror@gmx.de>
1787 * javax/swing/plaf/basic/BasicTextUI.java
1788 (installUI): Add eventHandler as property listener.
1789 (uninstallUI): remove eventHandler as propert listener.
1790 (installDefaults): Added comment.
1791 (installListeners): Likewise.
1792 (installKeyboardActions): Likewise.
1793 (uninstallDefaults): Likewise.
1794 (uninstallListeners): Likewise.
1795 (uninstallKeyboardActions): Likewise.
1797 2004-08-31 Michael Koch <konqueror@gmx.de>
1799 * javax/swing/text/AbstractDocument.java:
1800 Fixed some typos in comments.
1801 (insertString): Reimplemented.
1803 (replace): New method.
1804 (children): Dont use fully qualified class name.
1805 (DefaultDocumentEvent.offset): Renamed from off.
1806 (DefaultDocumentEvent.length): Renamed from len.
1807 (DefaultDocumentEvent.type): New field.
1808 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1809 (DefaultDocumentEvent.getType): Implemented.
1811 2004-08-31 Michael Koch <konqueror@gmx.de>
1813 * javax/swing/plaf/basic/BasicTextUI.java
1814 (RootView.textComponent): Removed.
1815 (RootView.RootView): Don't initialize textComponent.
1816 (RootView.getViewFactory): New method.
1817 (EventHandler): New inner class.
1818 (rootView): Initialize at instance creation.
1819 (eventHandler): New field.
1820 (installUI): Don't create view hierarchy directly,
1821 call modelChanged() instead.
1822 (modelChanged): New method.
1823 * javax/swing/text/JTextComponent.java
1824 (setDocument): Fire property change event.
1826 2004-08-31 Michael Koch <konqueror@gmx.de>
1828 * javax/swing/plaf/basic/BasicTextUI.java
1829 (RootView.paint): Removed debug output.
1830 (paintSafely): Draw highlighter before text.
1831 (paintBackground): Use background color of text component.
1832 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1835 2004-08-31 Michael Koch <konqueror@gmx.de>
1837 * javax/swing/plaf/basic/BasicToolBarUI.java
1838 (BasicToolBarUI): Fixed arguments for constructor.
1839 (createUI): Fixed creation of object.
1841 2004-08-31 Michael Koch <konqueror@gmx.de>
1843 * javax/swing/DefaultListSelectionModel.java
1844 (fireValueChanged): Renamed from fireSelectionValueChanged,
1847 2004-08-31 Michael Koch <konqueror@gmx.de>
1849 * javax/swing/text/TabSet.java
1850 (TabSet): Implements java.io.Serializable.
1851 * javax/swing/text/TabStop.java
1852 (TabStop): Implements java.io.Serializable.
1853 (TabStop): Made public.
1855 2004-08-31 Michael Koch <konqueror@gmx.de>
1857 * javax/swing/JComponent.java
1858 (setUI): Fire PropertyChange.
1859 * javax/swing/JLabel.java
1860 (text): Renamed from labelText.
1861 (horizontalAlignment): New default vlaue.
1862 (icon): Renamed from activeIcon.
1863 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1864 (displayedMnemonicIndex): Renamed from underlineChar.
1865 (setDisplayedMnemonic): Reimplemented.
1866 * javax/swing/JRadioButton.java
1867 (JRadioButton): New constructors.
1868 * javax/swing/JTextField.java
1869 (JTextField): Throw exception if colums < 0, initialitialz
1870 this.columns directly and initialize document with text conditionally.
1872 2004-08-31 Michael Koch <konqueror@gmx.de>
1874 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1875 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1876 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1877 * javax/swing/text/FieldView.java
1878 (paint): Just call super method for now.
1879 * Makefile.am: Added new files.
1880 * Makefile.in: Regenerated.
1882 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1884 * javax/swing/AbstractSpinnerModel.java,
1885 javax/swing/JSpinner.java,
1886 javax/swing/SpinnerNumberModel.java,
1887 javax/swing/plaf/basic/BasicSpinnerUI.java:
1889 * javax/swing/plaf/basic/BasicLookAndFeel.java
1890 (initClassDefaults): Added defaults for BasicSpinnerUI.
1892 2004-08-31 Michael Koch <konqueror@gmx.de>
1894 * Makefile.am: Added new files.
1895 * Makefile.in: Regenerated.
1897 2004-08-31 Michael Koch <konqueror@gmx.de>
1899 * javax/swing/TransferHandler.java,
1900 javax/swing/plaf/basic/ComboPopup.java: New files
1901 * Makefile.am: Added javax/swing/TransferHandler.java and
1902 javax/swing/plaf/basic/ComboPopup.java
1903 * Makefile.in: Regenerated.
1905 2004-08-31 Roman Kennke <roman@ontographics.com>
1907 * javax/swing/text/Utilities.java: New file.
1909 2004-08-31 Michael Koch <konqueror@gmx.de>
1911 * Makefile.am: Added javax/swing/text/Utilities.java.
1912 * Makefile.in: Regenerated.
1914 2004-08-31 Graydon Hoare <graydon@redhat.com>
1916 * javax/swing/text/SimpleAttributeSet.java: New file.
1917 * javax/swing/text/StyleConstants.java: New file.
1918 * javax/swing/text/StyleContext.java: New file.
1919 * javax/swing/text/TabSet.java: New file.
1920 * javax/swing/text/TabStop.java: New file.
1921 * javax/swing/text/AbstactDocument.java:
1922 (AbstractElement): Implement attribute support.
1923 * javax/swing/text/AttributeSet.java
1924 (NameAttribute): New static field.
1925 (ResolveAttribute): New static field.
1926 * Makefile.am: Update for new files.
1927 * Makefile.in: Regenerate.
1929 2004-08-31 Craig Black <craig.black@aonix.com>
1931 * gnu/java/awt/peer/gtk/GdkGraphics.java
1932 (drawImage): Add support for scaling pixmaps.
1933 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1934 (copyAndScalePixmap): New native method.
1936 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1939 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1940 type-punning compiler warnings using unions.
1941 (throw): Replace bzero with memset.
1943 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1944 Thomas Fitzsimmons <fitzsim@redhat.com>
1946 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1947 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1948 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1950 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1952 2004-08-31 Mark Wielaard <mark@klomp.org>
1954 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1955 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1956 and stdlib.h, not gtkpeer.h.
1957 (*vm): New static variable.
1958 (areaPreparedID): Make static.
1959 (areaUpdatedID): Likewise.
1960 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1961 (area_prepared): Likewise.
1962 (area_updated): Likewise.
1964 (initStaticState): Initialize *vm javaVM.
1965 (pumpBytes): Use given env, not global gdk_env.
1967 2004-08-31 Mark Wielaard <mark@klomp.org>
1969 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1972 2004-08-31 Sven de Marothy <sven@physto.se>
1974 * java/awt/geom/CubicCurve2D.java: Reindent.
1975 (contains): Implemented.
1976 (intersects): Implemented.
1977 * java/awt/geom/QuadCurve2D.java: Likewise.
1978 * java/awt/geom/GeneralPath.java: Reindent and document.
1979 Fully (re)implemented using separate xpoints and ypoints
1981 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1983 2004-08-31 Michael Koch <konqueror@gmx.de>
1985 * javax/swing/JMenuItem.java
1986 (getMenuDragMouseListeners): New method.
1987 (getMenuKeyListeners): Likewise.
1989 2004-08-31 Michael Koch <konqueror@gmx.de>
1991 * javax/swing/AbstractButton.java
1992 (model): Made protected.
1993 (actionListener): Likewise.
1994 (changeListener): Likewise.
1995 (itemListener): Likewise.
1996 (multiClickThreshhold): New field.
1997 (getActionListeners): New method.
1998 (getChangeListeners): Likewise.
1999 (getItemListeners): Likewise.
2000 (fireItemStateChanged): Simplified implementation.
2001 (fireActionPerformed): Likewise.
2002 (fireStateChanged): Likewise.
2003 (getMultiClickThreshhold): New method.
2004 (setMultiClickThreshhold): Likewise.
2006 2004-08-31 Tom Tromey <tromey@redhat.com>
2008 * java/awt/image/Kernel.java (clone): Use super.clone().
2010 2004-08-31 David Jee <djee@redhat.com>
2013 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2014 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2015 (nativeSetIconImageFromData): New native method declaration.
2016 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2017 * gnu/java/awt/peer/gtk/GtkImage.java
2018 (getPixelCache): New method.
2019 (getColorModel): New method.
2020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2021 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2022 (free_pixbuf_data): New helper function.
2023 (nativeSetIconImageFromData): New function.
2025 2004-08-31 Graydon Hoare <graydon@redhat.com>
2028 * javax/swing/JLayeredPane.java
2029 (setLayer): Permit changing layer after addition.
2030 (setPosition): Permit over-length positions.
2031 (layerToRange): Compare intValue()s.
2032 * javax/swing/Box.java (createHorizontalBox): Implement.
2033 (createRigidArea): Likewise.
2034 (createVerticalBox): Likewise.
2036 2004-08-31 Kim Ho <kho@redhat.com>
2038 * java/awt/Component.java:
2039 (processMouseEvent): Consume event after
2040 listeners process it.
2041 (processMouseMotionEvent): ditto.
2042 (processMouseWheelEvent): ditto.
2043 * java/awt/Container.java:
2044 (acquireComponentForMouseEvent):
2045 Do not dispatch to events that have been
2046 removed from the Container.
2047 (handleEvent): Consume the MouseEvents.
2048 * javax/swing/RepaintManager.java:
2049 (paintDirtyRegions): Do not add to list of
2050 damaged areas if the component has no root.
2052 2004-08-31 Michael Koch <konqueror@gmx.de>
2054 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2056 2004-08-31 Mark Wielaard <mark@klomp.org>
2058 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2059 null when a MissingResourceException is thrown. Should never happen.
2061 2004-08-31 Mark Wielaard <mark@klomp.org>
2063 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2064 when argument is null.
2066 2004-08-31 Mark Wielaard <mark@klomp.org>
2068 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2069 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2070 Define hid at start of function.
2071 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2074 2004-08-31 Mark Wielaard <mark@klomp.org>
2076 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2077 * javax/swing/JButton.java: Reindent.
2078 * javax/swing/JCheckBox.java: Reindent.
2080 2004-08-31 Mark Wielaard <mark@klomp.org>
2082 * Makefile.am (gtk_c_source_files): Added
2083 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2084 (gtk_awt_peer_sources): Added
2085 gnu/java/awt/peer/gtk/GThreadMutex.java and
2086 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2087 * Makefile.in: Regenerated.
2089 2004-08-31 Archie Cobbs <archie@dellroad.org>
2091 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2093 2004-08-31 Steven Augart <augart@watson.ibm.com>
2095 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2096 Added jfieldID, jmethodID.
2098 2004-08-31 Mark Wielaard <mark@klomp.org>
2100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2101 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2102 gdk_env before calling any gdk or gtk function.
2104 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2105 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2106 (run): Set gtkInitCalled.
2108 2004-08-31 Steven Augart <augart@watson.ibm.com>
2110 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2111 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2114 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2115 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2117 (init_glib_threads): New function.
2119 2004-08-31 Mark Wielaard <mark@klomp.org>
2121 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2122 PRIORITY when not already defined in header file.
2124 2004-08-31 Mark Wielaard <mark@klomp.org>
2126 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2127 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2129 2004-08-31 Steven Augart <augart@watson.ibm.com>
2131 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2132 Implemented missing functions for GTK2.
2133 Added error handling.
2134 Renamed static functions out of the g_ namespace.
2135 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2136 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2137 Rewrote global-reference code.
2138 Eliminated cascading errors.
2139 (mutex_trylock_jni_impl) Fully implemented.
2140 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2142 (setup_cache) New function.
2143 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2144 bug where they were not unlocking the GMutex associated with the
2145 condition variable during the wait on that condition variable.
2147 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2148 native/jni/gtk-peer/gthread-jni.c,
2149 native/jni/gtk-peer/gthread-jni.h
2150 (g_thread_jni_functions): Renamed to ...
2151 (portable_native_sync_jni_functions): this name.
2152 (gdk_vm): Renamed to...
2153 (the_vm): this name.
2155 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2156 (gdk_vm): Removed duplicate definition.
2157 (gtkInit): Removed stray message to stdout.
2158 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2159 (gtkInit): Fix a const assignment bug.
2160 (gtkInit): Simplified code.
2162 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2163 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2164 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2165 gnu/java/awt/peer/gtk/GThreadMutex.java:
2168 2004-08-31 Mark Wielaard <mark@klomp.org>
2170 * javax/swing/Box.java: Put FIXME comment above class declaration.
2171 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2172 * javax/swing/JCheckBox.java: Likewise.
2173 * javax/swing/JDialog.java: Likewise.
2174 * javax/swing/JRadioButton.java: Likewise.
2175 * javax/swing/JToggleButton.java: Likewise.
2176 * javax/swing/UIManager.java: Likewise.
2177 * javax/swing/border/TitledBorder.java: Likewise.
2178 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2179 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2180 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2181 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2182 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2183 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2184 * javax/swing/text/JTextComponent.java: Likewise.
2186 2004-08-31 David Jee <djee@redhat.com>
2189 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2190 (setIconImage): Add a FIXME for unhandled cases.
2192 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2195 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2196 getModifiers. Replace old button masks with new ones.
2197 * gnu/awt/xlib/XEventLoop.java: Likewise.
2198 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2199 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2200 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2201 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2202 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2203 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2204 * java/awt/Component.java: Replace old modifier masks with new
2206 * java/awt/Container.java: Call getModifiersEx, not
2208 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2210 * javax/swing/JMenuItem.java: Replace old button masks with new
2212 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2214 * javax/swing/SwingUtilities.java: Likewise.
2215 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2216 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2218 mask macros with new ones.
2219 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2220 macros with new ones representing new masks.
2222 2004-08-31 Craig Black <craig.black@aonix.com>
2224 * gnu/java/awt/peer/gtk/GdkGraphics.java
2225 (drawRoundRect): Implemented.
2226 (fillRoundRect): Implemented.
2227 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2228 (drawRoundRect): Reimplemented to match GdkGraphics.
2229 (fillRoundRect): Reimplemented to match GdkGraphics.
2231 2004-08-31 Mark Wielaard <mark@klomp.org>
2233 * Makefile.in: Regenerated.
2235 2004-08-31 Michael Koch <konqueror@gmx.de>
2237 * gnu/java/awt/EmbeddedWindow.java
2238 (addNotify): Use AccessController to allow execution of privileged
2241 2004-08-31 Michael Koch <konqueror@gmx.de>
2243 * gnu/java/awt/EmbeddedWindow.java
2245 (addNotify): Set peer via reflection.
2246 (setWindowPeer): Removed.
2247 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2248 * Makefile.am (nat_source_files):
2249 Removed gnu/java/awt/natEmbeddedWindow.cc.
2251 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2253 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2254 and gnu/java/security/action/SetAccessibleAction.java.
2256 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2258 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2259 Renamed from 'setName'. New 2-argument form with default value.
2260 (run): Pass default 'value' parameter to System.getProperty().
2261 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2264 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2266 * gnu/java/security/action/GetPropertyAction.java: New class.
2267 * gnu/java/security/action/SetAccessibleAction.java: New class.
2269 2004-08-31 David Jee <djee@redhat.com>
2271 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2272 (setIconImage): Check if image is null.
2274 2004-08-31 David Jee <djee@redhat.com>
2276 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2277 (create): Set the icon image.
2278 (nativeSetIconImage): New native method declaration.
2279 (setIconImage): Implement.
2280 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2281 (nativeSetIconImage): New function.
2283 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2285 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2286 (filenameFilterCallback): Declare local variable accepted before use.
2288 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2290 * gnu/java/awt/ComponentDataBlitOp.java:
2293 2004-08-31 Tom Tromey <tromey@redhat.com>
2295 * gnu/java/awt/peer/GLightweightPeer.java,
2296 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2297 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2298 javax/swing/JScrollPane.java: Removed
2301 2004-08-31 David Jee <djee@redhat.com>
2303 * java/awt/DefaultKeyboardFocusManager.java
2304 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2305 event. Fix shift modifier checking.
2306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2307 (accel_attach): Remove.
2308 (setupAccelGroup): Remove calls to accel_attach.
2310 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2312 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2313 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2315 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2317 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2318 * Makefile.in: Regenerate.
2319 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2320 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2321 (create(String)): New method.
2322 (create): Call new create method.
2323 (getArgs): Remove method.
2324 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2325 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2326 (nativeCreate): Rename to create.
2327 (gtkSetLabel): Rename to gtkButtonSetLabel.
2328 (gtkToggleButtonSetActive): New method.
2329 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2330 (setState): Replace set call with gtkToggleButtonSetActive.
2331 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2332 (getArgs): Remove method.
2333 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2334 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2335 (gtkWidgetSetSensitive): New method.
2336 (gtkWidgetSetParent): Likewise.
2337 (GtkComponentPeer): Call setParent, setComponentBounds and
2338 setVisibleAndEnabled.
2339 (setParent): New method.
2340 (setComponentBounds): New method.
2341 (setVisibleAndEnabled): New method.
2342 (setEnabled): Call gtkWidgetSetSensitive.
2343 (getArgs): Remove method.
2344 Remove all set methods.
2345 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2346 gtkWindowSetModal, setTitle and setResizable.
2347 (getArgs): Remove method.
2348 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2349 (setComponentBounds): New method.
2350 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2351 Replace set call with gtkWindowSetResizable.
2352 (getArgs): Remove method.
2353 (create): Call setTitle and setResizable.
2354 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2355 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2356 (gtkWindowSetTitle): New method.
2357 (gtkWindowSetResizable): New method.
2358 (gtkWindowSetModal): New method.
2359 (setParent): New method.
2360 (setVisibleAndEnabled): New method.
2361 (getArgs): Remove method.
2362 (setTitle): Call gtkWindowSetTitle.
2363 (setResizable): Call gtkWindowSetResizable.
2364 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2365 and off locking instrumentation.
2367 2004-08-31 Kim Ho <kho@redhat.com>
2369 * Makefile.am: Add new file.
2370 * Makefile.in: Regenerate.
2371 * gcj/Makefile.in: Regenerate
2372 * include/Makefile.in:
2373 * java/awt/Container.java:
2374 (acquireComponentForMouseEvent): Respect
2375 the event mask when looking for candidate.
2376 * javax/swing/JComponent.java:
2377 Remove toolTip field.
2378 (createToolTip): Create a tooltip on demand.
2379 (setToolTipText): Register with the ToolTipManager.
2380 (getToolTipText(MouseEvent)): Return getToolTipText().
2381 * javax/swing/JToolTip.java: Implement.
2382 * javax/swing/Timer.java: Jalopy.
2383 (restart): Call stop, then start.
2384 (stop): Interrupt the timer rather than wait for
2385 the timer to come to a stop naturally.
2386 * javax/swing/ToolTipManager.java: Implement.
2387 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2388 Change ToolTip.background color.
2389 * javax/swing/plaf/basic/BasicToolTipUI.java:
2391 * testsuite/Makefile.in: Regenerate
2393 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2395 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2396 constructor param comments.
2398 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2400 * java/awt/Component.java: Document AWT 1.0 event handler
2403 2004-08-31 Roman Kennke <roman@ontographics.com>
2405 * javax/swing/Box.java:
2406 (createGlue): Implemented
2407 (createHorizontalGlue): Implemented
2408 (createHorizontalStrut): Implemented
2409 (createVerticalGlue): Implemented
2410 (createVerticalStrut): Implemented
2412 2004-08-31 David Jee <djee@redhat.com>
2414 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2415 (GtkChoicePeer): Do not automatically select first item.
2416 (getHistory): Remove.
2417 (nativeGetSelected): New method.
2418 (nativeRemoveAll): New method.
2419 (add): Use nativeGetSelected() instead of getHistory().
2421 (removeAll): Call nativeRemoveAll().
2422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2423 (create): Migrate to GtkComboBox.
2425 (nativeAdd): Likewise.
2426 (nativeRemove): Likewise.
2428 (nativeRemoveAll): New method.
2429 (nativeGetSelected): New method.
2430 (selection_changed): New method.
2431 (getHistory): Remove.
2432 (item_activate): Remove.
2433 (item_removed): Remove.
2434 (connect_choice_item_selectable_hook): Remove.
2436 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2438 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2439 variable in setEditable call.
2441 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2442 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2443 (gtkWidgetSetBackground): New method.
2444 (gtkWidgetSetForeground): Likewise.
2445 (create): Set peer's editable state based on awtComponent's.
2447 * java/awt/Button.java (Button()): Use empty string rather than
2448 null in no-label constructor.
2450 2004-08-31 Roman Kennke <roman@ontographics.com>
2452 * javax/swing/BoxLayout.java: Reimplement.
2454 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2456 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2457 gnu_java_awt_peer_gtk_GdkGraphics.c
2458 (initState(GtkComponentPeer)): Don't return array of colour
2460 (GdkGraphics(int,int)): Set default font to size 12.
2461 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2462 component's foreground colour.
2463 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2464 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2465 (initState(GtkComponentPeer)): Don't return array of colour
2467 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2468 colours to component's colours.
2469 (current_colors_of_widget): Remove function.
2470 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2471 Return a new graphics object.
2472 * java/awt/Font.java (toString): Fix format.
2473 * java/awt/Graphics.java (toString): Likewise.
2475 2004-08-31 Craig Black <craig.black@aonix.com>
2477 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2478 (addTearOff): New function.
2479 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2481 (init): Call addTearOff() when menu.isTearOff().
2483 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2485 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2486 Default implementation.
2487 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2488 Implement using GdkPixbufDecoder.
2490 2004-08-31 David Jee <djee@redhat.com>
2492 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2493 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2494 setting the size of GtkFileDialogPeers.
2495 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2496 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2497 use their default sizes rather than their natural requisitions.
2499 2004-08-31 Michael Koch <konqueror@gmx.de>
2501 * javax/swing/JFormattedTextField.java
2502 (JFormattedTextField): Implemented.
2503 * javax/swing/text/DefaultEditorKit.java
2504 (BeepAction): New inner class.
2505 * javax/swing/text/Segment.java
2506 (partialReturn): New field.
2507 (setPartialReturn): New method.
2508 (isPartialReturn): Likewise.
2509 * javax/swing/text/View.java
2510 (createFragment): Fixed typo.
2511 (getStartOffset): New method.
2512 (getEndOffset): Likewise.
2514 2004-08-31 Michael Koch <konqueror@gmx.de>
2516 * javax/swing/table/DefaultTableColumnModel.java
2517 (serialVersionUID): Made private.
2518 (listenerList): Initialize.
2519 (changeEvent): Initialize.
2520 * javax/swing/table/JTableHeader.java
2521 (JTableHeader): New constructors.
2522 (createDefaultColumnModel): New method.
2523 * javax/swing/table/TableColumn.java
2524 (setHeaderRenderer): Simplified code.
2525 (setCellRenderer): Likewise.
2526 (setWidth): Likewise.
2528 2004-08-31 Tom Tromey <tromey@redhat.com>
2530 * java/text/AttributedString.java (AttributedString): Use
2531 ArrayList to build array of attribute ranges. Don't use
2532 `attribs' before it is set.
2534 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2536 * HACKING: Remove reference to special automake. No longer needed.
2538 2004-08-30 Tom Tromey <tromey@redhat.com>
2540 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2541 return result from `add'.
2543 2004-08-30 Tom Tromey <tromey@redhat.com>
2545 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2547 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2549 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2551 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2553 * java/io/File.java File(String,String): Fixed handling of empty
2556 2004-08-30 Casey Marshall <csm@gnu.org>
2558 Author e-mail updated for all files.
2559 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2561 (compareTo): Use `equals'.
2562 * gnu/java/security/der/BitString.java (equals): Test if the
2563 argument is an instance of BitString.
2564 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2565 class final. Made fields private.
2566 (<init>): New constructor.
2568 (makeString): Made static; don't use NIO.
2569 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2570 * gnu/java/security/der/DERWriter.java: Fixed imports.
2571 (writeString): Don't use NIO.
2572 (toIso88591, toUtf16Be, toUtf8): New methods.
2573 * gnu/java/security/der/DERValue.java: Formatting changes only.
2574 * gnu/java/security/der/DER.java: Likewise.
2576 2004-08-30 Tom Tromey <tromey@redhat.com>
2578 * java/nio/CharBuffer.java (put): Fix typo.
2579 * java/nio/DoubleBuffer.java (put): Fix typo.
2580 * java/nio/FloatBuffer.java (put): Fix typo.
2581 * java/nio/IntBuffer.java (put): Fix typo.
2582 * java/nio/LongBuffer.java (put): Fix typo.
2583 * java/nio/ShortBuffer.java (put): Fix typo.
2585 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2587 * java/nio/ByteBuffer.java (put): Fix typo.
2589 2004-08-30 Casey Marshall <csm@gnu.org>
2591 * java/security/DummyKeyPairGenerator.java (clone): Removed
2592 useless instanceof check.
2593 * java/security/DummyMessageDigest.java (clone): Likewise.
2594 * java/security/DummySignature.java (clone): Likewise.
2595 * java/security/MessageDigest.java (clone): Remove useless
2597 * java/security/MessageDigestSpi.java (clone): Likewise.
2598 * java/security/Signature.java (clone): Provide meaningful
2600 * java/security/SignatureSpi.java (clone): Likewise.
2602 2004-08-29 Mark Wielaard <mark@klomp.org>
2604 * java/util/Arrays.java
2605 (sort(byte[], int, int)): Check fromIndex < 0.
2606 (sort(char[], int, int)): Likewise.
2607 (sort(short[], int, int)): Likewise.
2608 (sort(int[], int, int)): Likewise.
2609 (sort(long[], int, int)): Likewise.
2610 (sort(float[], int, int)): Likewise.
2611 (sort(double[], int, int)): Likewise.
2612 (sort(Object[], int, int, Comparator)): Likewise.
2613 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2614 (qsort(char[], int, int)): Likewise.
2615 (qsort(short[], int, int)): Likewise.
2616 (qsort(int[], int, int)): Likewise.
2617 (qsort(long[], int, int)): Likewise.
2618 (qsort(float[], int, int)): Likewise.
2619 (qsort(double[], int, int)): Likewise.
2621 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2623 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2624 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2625 java/util/ArrayList.java, java/util/Arrays.java,
2626 java/util/BitSet.java, java/util/Calendar.java,
2627 java/util/Collection.java, java/util/ListIterator.java,
2628 java/util/Map.java, java/util/SortedSet.java:
2629 Added additional exceptions to documentation, along
2630 with some additions and corrections.
2632 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2634 * configure.ac: Handle --enable-gc-debug.
2635 * configure: Regenerate.
2636 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2637 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2638 Rearrange include file order.
2639 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2640 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2641 (disable_gc_mutex): Delete along with all references.
2642 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2643 adjust for debug header size.
2644 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2646 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2647 (gcj_describe_type_fn): New.
2648 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2649 Register gcj_describe_type_fn.
2650 * include/boehm-gc.h:
2651 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2652 Don't define, but declare, for debug case.
2653 * java/lang/natObject.cc:
2654 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2656 2004-08-26 Mark Wielaard <mark@klomp.org>
2658 Fixes PR libgcj/17002:
2659 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2660 a TimeZoneId string and then try to convert that to a TimeZone with
2661 getDefaultSystemTimeZone(String).
2662 (timezones0): Changed type from Hashtable to HashMap.
2663 (timezones): Create HashMap, not Hashtable.
2664 (getDefaultTimeZone): New method, rewritten from CNI version.
2665 (readTimeZoneFile): New method.
2666 (readtzFile): Likewise.
2667 (skipFully): Likewise.
2668 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2669 getDefaultTimeZoneId and rewritten.
2670 (getDefaultTimeZoneId): Rewritten in java.
2672 2004-08-25 David Daney <daney@avtrex.com>
2674 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2675 * Makefile.in: Regenerated.
2677 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2679 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2680 only if jvmpi is enabled.
2681 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2682 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2683 (_Jv_AllocString): Likewise.
2684 (_Jv_AllocPtrFreeObject): Likewise.
2686 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2688 * defineclass.cc: Include <stdio.h>.
2689 * java/lang/natClassLoader.cc: Include <stdio.h>.
2691 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2692 Michael Koch <konqueror@gmx.de>
2694 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2695 * Makefile.in: Regenerated.
2697 2004-08-20 Michael Koch <konqueror@gmx.de>
2699 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2700 AC_COMPILE_IFELSE macros.
2702 2004-08-20 Michael Koch <konqueror@gmx.de>
2704 * configure.in: Renamed to configure.ac.
2705 * configure.ac: New file.
2706 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2707 include/config.h.in, testsuite/Makefile.in: Regenerated.
2709 2004-08-20 Michael Koch <konqueror@gmx.de>
2711 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2712 * aclocal.m4, configure: Regenerated.
2714 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2715 Michael Koch <konqueror@gmx.de>
2717 * configure.in, Makefile.am: Ported to automake 1.9.
2718 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2719 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2722 2004-08-19 Tom Tromey <tromey@redhat.com>
2724 * java/net/DatagramSocket.java: Fixed typo.
2726 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2729 * java/net/URI.java (string): New field. Make all other fields
2731 (readObject): Implemented.
2732 (writeObject): Implemented.
2733 (URI): Set 'string'.
2735 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2738 * java/util/logging/Handler.java (isLoggable): Accept record if its
2739 log level equals the threshold level. From Robin Green.
2741 2004-08-18 David Daney <ddaney@avtrex.com>
2743 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2746 2004-08-17 Michael Koch <konqueror@gmx.de>
2748 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2749 * Makefile.in: Regenerated.
2751 2004-08-16 Tom Tromey <tromey@redhat.com>
2754 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2756 2004-08-16 Michael Koch <konqueror@gmx.de>
2759 (math_c_files): Renamed from c_files.
2760 (math_c_source_files): Renamed from c_source_files.
2763 include/Makefile.in,
2764 testsuite/Makefile.in: Regenerated.
2766 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2768 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2769 to avoid autoconf warning.
2770 * configure: Rebuilt.
2772 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2774 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2775 localhostAddress to loopbackAddress.
2776 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2778 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2780 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2781 boehm-gc's include dirs.
2782 * configure: Rebuilt.
2783 * include/boehm-gc.h: Include gc_config.h.
2785 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2787 * java/net/InetAddress.java (loopbackAddress): Renamed from
2789 (getByName): Return loopback address for null hostname, without
2790 security check. Use lookup(), not getAllByName.
2791 (getAllByName): Return loopback address for null hostname, without
2793 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2796 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2799 Reported by Robin Green.
2800 * defineclass.cc (handleField): Don't throw exception on unrecognised
2801 modifier. Add FIXME comments for spec compliance.
2802 (handleMethod): Likewise.
2804 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2807 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2808 (Almost everywhere): add LOG calls, fix, add comments.
2809 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2810 Add explicit check for LOCKED bit in slow case (PR 16662).
2811 (_Jv_MonitorExit): Add casts in debug-only code.
2812 Always release LOCKED bit before throwing exception.
2813 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2814 isn't. Handle easy cases without lock acquisition.
2815 (Object::wait): Use NotifyAll for lock inflation.
2817 2004-08-12 David Daney <ddaney@avtrex.com>
2819 * testsuite/libjava.lang/Process_1.java: New test.
2820 * testsuite/libjava.lang/Process_2.java: New test.
2821 * testsuite/libjava.lang/Process_3.java: New test.
2822 * testsuite/libjava.lang/Process_4.java: New test.
2823 * testsuite/libjava.lang/Process_5.java: New test.
2824 * testsuite/libjava.lang/Process_6.java: New test.
2825 * testsuite/libjava.lang/Process_1.out: Expected result.
2826 * testsuite/libjava.lang/Process_2.out: Expected result.
2827 * testsuite/libjava.lang/Process_3.out: Expected result.
2828 * testsuite/libjava.lang/Process_4.out: Expected result.
2829 * testsuite/libjava.lang/Process_5.out: Expected result.
2830 * testsuite/libjava.lang/Process_6.out: Expected result.
2832 2004-08-12 David Daney <ddaney@avtrex.com>
2835 * java/lang/PosixProcess.java: Rewrote.
2836 * java/lang/natPosixProcess.cc: Rewrote.
2837 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2838 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2839 * posix-threads.cc (block_sigchld) New function.
2840 (_Jv_ThreadRegister) Use it.
2841 (_Jv_ThreadStart) Use it.
2842 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2843 * Makefile.am: ... to specify extra native headers.
2844 * configure: Regenerated.
2845 * include/config.h: Regenerated.
2846 * Makefile.in: Regenerated.
2847 * gcj/Makefile.in: Regenerated.
2848 * include/Makefile.in: Regenerated.
2849 * testsuite/Makefile.in: Regenerated.
2851 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2853 PR tree-optimization/16867
2854 * testsuite/libjava.lang/PR16867.java: New test.
2856 2004-08-09 Per Bothner <per@bothner.com>
2858 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2859 with private fields and access methods.
2860 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2861 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2862 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2863 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2864 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2865 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2867 * resolve.cc: Likewise.
2868 * gcj/field.h: Likewise.
2869 * include/jvm.h: Likewise.
2870 * java/lang/Class.h: Likewise.
2871 * java/lang/natClass.cc: Likwise.
2872 * java/lang/natClassLoader.cc: Likewise
2873 * java/lang/reflect/natMethod.cc: Likewise
2874 * verify.cc: Likewise.
2875 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2876 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2878 2004-08-10 Andrew Haley <aph@redhat.com>
2880 * testsuite/libjava.lang/err14.java: New file.
2881 * testsuite/libjava.lang/err14.out: New file.
2883 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2885 * Makefile.am: Fix missing rename from x_nat_headers to
2887 * Makefile.in: Regenerated.
2889 2004-08-04 Andrew Haley <aph@redhat.com>
2891 * java/security/BasicPermission.java: Don't check wildcards.
2893 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2894 Michael Koch <konqueror@gmx.de>
2896 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2897 * configure.in: Replaced all usages of AC_LINK_FILES by
2900 configure: Regenerated.
2902 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2903 Michael Koch <konqueror@gmx.de>
2905 * acconfig.h: Removed.
2906 * Makefile.am: Rename variables for xlib peer to include xlib and
2907 gtk_c_headers to gtk_jni_headers.
2908 * Makefile.in: Regenerated.
2910 2004-08-04 Andrew Haley <aph@redhat.com>
2912 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2915 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2917 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2918 Replace most top level 'dnl' comments with '#' comments, conforming
2919 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2921 * configure: Rebuilt.
2923 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2925 * acinclude.m4: Include no-executables.m4.
2926 * aclocal.m4: Rebuild.
2927 * configure.in: Convert to the autoconf 2.59 version of
2928 of the no-executables hack, and also of the nonstandard CXX
2929 hack and the multilibbed CC and CXX hack. Change prerequisite
2931 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2932 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2933 testsuite/Makefile.in: Regenerate.
2935 2004-08-03 Tom Tromey <tromey@redhat.com>
2937 * jni.cc: Reindented.
2939 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2941 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2943 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2945 * testsuite/libjava.compile/PR16701.java: New test.
2947 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2949 * java/util/Collection.java, java/util/List.java,
2950 java/util/Map.java, java/util/Set.java,
2951 java/util/SortedMap.java, java/util/SortedSet.java:
2952 Added additional exceptions to documentation.
2954 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2957 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2958 * configure. Regenerate.
2959 * include/win32.h: Explicitly include winsock2.h
2960 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2963 2004-07-30 Michael Koch <konqueror@gmx.de>
2965 * java/util/zip/GZIPInputStream.java
2966 (GZIPInputStream): Increase buffer size to 4k.
2967 * java/util/zip/GZIPOutputStream.java
2968 (GZIPOutputStream): Likewise.
2969 * java/util/zip/Inflater.java
2970 (setInput): Merged formating with GNU classpath.
2971 * java/util/zip/InflaterInputStream.java
2972 (InflaterInputStream): Increase buffer size to 4k.
2973 (fill): Throw exception if stream ends early.
2974 (read): Merged endless-loop with GNU classpath.
2975 (skip): Increase buffer size to 2k.
2977 2004-07-30 Michael Koch <konqueror@gmx.de>
2979 * gnu/java/awt/EmbeddedWindow.java
2980 (addNotify): Use AccessController to allow execution of privileged
2983 2004-07-29 Michael Koch <konqueror@gmx.de>
2985 * gnu/java/lang/MainThread.java:
2986 Explicitely import used classes.
2987 (args): Make it type String[].
2989 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2991 * gnu/java/awt/ComponentDataBlitOp.java,
2992 gnu/java/beans/ExplicitBeanInfo.java,
2993 gnu/java/beans/IntrospectionIncubator.java,
2994 gnu/java/beans/editors/ColorEditor.java,
2995 gnu/java/beans/editors/FontEditor.java,
2996 gnu/java/beans/editors/NativeBooleanEditor.java,
2997 gnu/java/beans/editors/NativeByteEditor.java,
2998 gnu/java/beans/editors/NativeDoubleEditor.java,
2999 gnu/java/beans/editors/NativeFloatEditor.java,
3000 gnu/java/beans/editors/NativeIntEditor.java,
3001 gnu/java/beans/editors/NativeLongEditor.java,
3002 gnu/java/beans/editors/NativeShortEditor.java,
3003 gnu/java/beans/editors/StringEditor.java,
3004 gnu/java/io/ClassLoaderObjectInputStream.java,
3005 gnu/java/io/decode/Decoder.java,
3006 gnu/java/io/encode/Encoder.java,
3007 gnu/java/lang/ClassHelper.java,
3008 gnu/java/locale/Calendar.java,
3009 gnu/java/locale/Calendar_de.java,
3010 gnu/java/locale/Calendar_en.java,
3011 gnu/java/locale/Calendar_nl.java,
3012 gnu/java/locale/LocaleInformation_de.java,
3013 gnu/java/locale/LocaleInformation_en.java,
3014 gnu/java/locale/LocaleInformation_nl.java:
3017 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3019 * README: Remove obsolete info. Update bug URL.
3021 * NEWS: Updated with news up to GCC 3.4 release.
3023 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3025 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3026 Renamed from 'setName'. New 2-argument form with default value.
3027 (run): Pass default 'value' parameter to System.getProperty().
3028 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3030 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3033 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3035 * configure.in: Check for minimum GTK version 2.4 requirement.
3036 * configure: Rebuilt.
3038 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3040 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3041 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3043 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3045 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3046 address. Reduce sleep times. Synchronize with target threads before
3047 attempting to interrupt them. Don't try to calibrate yeild count,
3048 instead, always loop for a fixed time.
3049 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3050 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3051 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3052 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3053 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3054 * testsuite/libjava.lang/pr179.java: Likewise.
3055 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3056 time. Remove upper bounds check on sleep time.
3058 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3060 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3061 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3063 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3065 * java/io/File.java (toURI): Throw RuntimeException, not
3067 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3068 class name, not instance.
3070 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3072 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3073 and gnu/java/security/action/SetAccessibleAction.java.
3074 * Makefile.in: Rebuilt.
3076 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3078 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3079 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3081 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3082 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3083 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3085 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3087 * Makefile.am: Replace jar, rmic and rmiregistry references with
3088 gjar, grmic and grmiregistry.
3089 * configure.in: Likewise.
3090 * Makefile.in: Regenerate.
3091 * configure: Likewise.
3092 * gcj/Makefile.in: Likewise.
3093 * include/Makefile.in: Likewise.
3094 * testsuite/Makefile.in: Likewise.
3096 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3098 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3099 for privileged getProperty calls.
3100 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3101 SetAccessibleAction instead of anonymous class for doPrivileged call.
3102 (getMethod): Likewise.
3103 (setAccessible): New field. PrivilegedAction object to use when
3104 calling setAccessible.
3105 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3106 SetAccessibleAction instead of anonymous class for diPrivileged call.
3107 (setFields): Likewise.
3108 (getClassUID): Likewise.
3109 (findMethod): Likewise.
3110 * gnu/java/security/action/GetPropertyAction.java: New class.
3111 * gnu/java/security/action/SetAccessibleAction.java: New class.
3113 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3115 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3117 * testsuite/libjava.lang/Serialization.java: New test.
3118 * testsuite/libjava.lang/Serialization.out: New.
3120 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3122 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3123 missed in last commit.
3125 2004-07-23 Mark Wielaard <mark@klomp.org>
3127 * java/lang/System.java (static): Set http.agent system property when
3129 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3130 from system property inside AccessController.doPrivileged() call.
3131 (proxyPort): Made package private.
3132 (proxyInUse): Likewise.
3133 (proxyHost): Likewise.
3134 (userAgent): Likewise.
3136 2004-07-23 Mark Wielaard <mark@klomp.org>
3138 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3141 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3143 * Makefile.am (ordinary_java_source_files): Add
3144 DefaultContentHandlerFactory.java.
3145 * Makefile.in: Rebuilt.
3146 * java/net/URLConnection.java (defaultFactory): New field.
3148 (getContentHandler): Renamed from 'setContentHandler'. Try
3149 defaultFactory after user-set factory, if any. Search for content
3150 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3151 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3153 (getLastModified): Implemented.
3154 (getPermission): Create file permission here, instead of in
3156 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3158 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3160 (getLastModified): Implemented.
3161 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3162 Default implementation.
3163 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3164 Implement using GdkPixbufDecoder.
3166 2004-07-21 Michael Koch <konqueror@gmx.de>
3168 * javax/swing/JTextArea.java
3169 (setLineWrap): Fire property change event after new value is set.
3170 (setTabSize): Likewise.
3172 2004-07-21 Michael Koch <konqueror@gmx.de>
3174 * javax/swing/JTable.java
3175 (autoCreateColumnsFromModel): New field.
3176 (autoResizeMode): Likewise.
3177 (cellEditor): Likewise.
3178 (cellSelectionEnabled): Likewise.
3179 (columnModel): Likewise.
3180 (dataModel): Likewise.
3181 (defaultEditorsByColumnClass): Likewise.
3182 (defaultRenderersByColumnClass): Likewise.
3183 (editingColumn): Likewise.
3184 (editingRow): Likewise.
3185 (gridColor): Likewise.
3186 (preferredViewportSize): Likewise.
3187 (rowHeight): Likewise.
3188 (rowMargin): Likewise.
3189 (rowSelectionAllowed): Likewise.
3190 (selectionBackground): Likewise.
3191 (selectionForeground): Likewise.
3192 (selectionModel): Likewise.
3193 (showHorizontalLines): Likewise.
3194 (showVerticalLines): Likewise.
3195 (tableHeader): Likewise.
3196 (JTable): Implemented.
3197 (getColumnModel): Likewise.
3198 (getSelectedRow): Likewise.
3199 (getSelectionModel): Likewise.
3200 (setModel): Likewise.
3201 (setSelectionModel): Likewise.
3202 (createScrollPaneForTable): New method.
3203 (createDefaultDataModel): Likewise.
3204 (createDefaultListSelectionModel): Likewise.
3205 (getModel): Likewise.
3206 (getTableHeader): Likewise.
3207 (setTableHeader): Likewise.
3208 (getColumnSelectionAllowed): Likewise.
3209 (setColumnSelectionAllowed): Likewise.
3210 (getRowSelectionAllowed): Likewise.
3211 (setRowSelectionAllowed): Likewise.
3212 (getAutoResizeMode): Likewise.
3213 (setAutoResizeMode): Likewise.
3214 (getColumnCount): Likewise.
3215 (getRowCount): Likewise.
3216 (getCellRenderer): Likewise.
3217 * javax/swing/JTree.java
3218 (cellRenderer): New field.
3219 (editable): Likewise.
3220 (rootVisible): Likewise.
3221 (showsRootHandles): Likewise.
3222 (getModel): New method.
3223 (setModel): Likewise.
3224 (isEditable): Likewise.
3225 (setEditable): Likewise.
3226 (isRootVisbile): Likewise.
3227 (setRootVisible): Likewise.
3228 (getShowsRootHandles): Likewise.
3229 (setShowRootHandles): Likewise.
3230 (getCellRenderer): Likewise.
3231 (setCellRenderer): Likewise.
3233 2004-07-21 Michael Koch <konqueror@gmx.de>
3235 * javax/swing/JFormattedTextField.java
3236 (setDocument): Implemented.
3237 * javax/swing/JRootPane.java:
3239 * javax/swing/JTable.java
3240 (getDefaultRenderer): New method.
3241 * javax/swing/JTextField.java
3242 (setFont): Likewise.
3243 (getPreferredSize): Likewise.
3244 * javax/swing/JToggleButton.java
3245 (getAccessibleContext): Fix javadoc.
3246 * javax/swing/JTree.java:
3248 * javax/swing/JViewport.java:
3251 2004-07-21 David Jee <djee@redhat.com>
3253 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3254 Collect all native method declaration at the top.
3255 (create): Set the filename filter if necessary.
3256 (setDirectory): Call nativeSetDirectory().
3257 (setFilenameFilter): Implement.
3258 (filenameFilterCallback): New method.
3259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3260 (create): Configure dialog to show hidden files.
3261 (filenameFilterCallback): New function.
3262 (nativeSetFilenameFilter): New function.
3263 (nativeSetDirectory): New function.
3265 2004-07-21 Kim Ho <kho@redhat.com>
3267 * javax/swing/plaf/basic/BasicSliderUI.java:
3269 (paintTrack): Fill the track before painting
3272 2004-07-21 Graydon Hoare <graydon@redhat.com>
3274 patch from Roman Kennke <roman@ontographics.com>
3275 * javax/swing/Spring.java: New file.
3276 * javax/swing/SpringLayout.java: New file.
3277 * Makefile.am: Add new files.
3278 * Makefile.in: Regenerate.
3280 2004-07-21 Graydon Hoare <graydon@redhat.com>
3282 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3283 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3284 * javax/swing/ScrollPaneLayout.java: Likewise.
3286 2004-07-21 Kim Ho <kho@redhat.com>
3288 * javax/swing/DefaultDesktopManager.java:
3289 (findMinimum): Removed.
3290 (resizeFrame): Trust the UI to pass valid
3292 * javax/swing/JOptionPane.java:
3293 Implemented showInternalXXXDialog methods.
3294 (startModal): New method.
3295 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3296 (BorderListener::mouseDragged): Verify that the new
3297 bounds are valid before passing them to the DesktopManager.
3298 (preferredLayoutSize): Delegate
3300 (minimumLayoutSize): Ditto.
3301 (getSize): New method.
3302 (GlassPaneDispatcher): Reimplemented by copying
3303 a stripped down LightweightDispatcher from Container.
3304 (getMinimumSize): Call minimumLayoutSize.
3305 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3307 (mousePressed): Add ability to properly close
3309 * javax/swing/plaf/basic/BasicToolBarUI.java:
3310 (DragWindow): Set owner for DragWindow.
3312 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3314 * java/awt/image/ShortLookupTable.java: New file.
3315 * java/awt/image/ByteLookupTable.java: New file.
3316 * Makefile.am: Added new files.
3317 * Makefile.in: Regenerated.
3319 2004-07-21 David Jee <djee@redhat.com>
3321 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3322 (create(GtkContainerPeer)): New native method.
3323 (create()): Call native create(), passing in the parent frame
3324 as the paramter. Natively set the current file and directory.
3325 (setFile): Construct an absolute filename before passing it to
3327 (nativeGetDirectory): New method.
3328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3329 (window_closed): Removed.
3330 (ok_clicked): Likewise.
3331 (cancel_clicked): Likewise.
3332 (handle_response): New method.
3333 (create): Use GtkFileChooserDialog.
3334 (connectSignals): Connect to handle_response.
3335 (nativeGetDirectory): New method.
3336 (nativeSetFile): Use GtkFileChooserDialog.
3338 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3340 * java/awt/image/LookupTable.java: New file.
3341 * Makefile.am: Added new file.
3342 * Makefile.in: Regenerated.
3344 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3346 * java/awt/image/Kernel.java: New file.
3347 * Makefile.am: Added new file.
3348 * Makefile.in: Regenerated.
3350 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3352 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3353 * javax/swing/JMenu.java: Likewise.
3354 * javax/swing/JMenuBar.java: Likewise.
3355 (MARGIN_CHANGED_PROPERTY): New property.
3356 (setMargin): Implemented.
3357 * javax/swing/JMenuItem.java: Fixed javadocs.
3358 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3359 (LABEL_CHANGED_PROPERTY): New property.
3360 (add): changed to use createActionComponent.
3361 (createActionComponent): Implemented.
3362 (setLabel): Fire PropertyChangeEvent if label property
3364 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3365 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3366 (ContainerHandler): Repaint if margin property has changed.
3367 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3368 (installUI): Call installComponents().
3369 (uninstallUI): Call uinstallComponents().
3370 * javax/swing/plaf/basic/BasicMenuUI.java:
3372 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3375 2004-07-21 Kim Ho <kho@redhat.com>
3377 * javax/swing/plaf/basic/BasicToolBarUI.java:
3378 (DragWindow): Use the right constructor.
3380 2004-07-21 Kim Ho <kho@redhat.com>
3382 * javax/swing/JToolBar.java:
3383 (layoutContainer): Use getComponents.
3384 * javax/swing/plaf/basic/BasicToolBarUI.java:
3385 (DragWindow): Don't use SwingUtilities'
3387 (ToolBarDialog): ditto.
3389 2004-07-21 Kim Ho <kho@redhat.com>
3391 * javax/swing/JRootPane.java:
3393 (layoutContainer): Set the glasspane's size to
3394 be the same as the content pane.
3395 (createGlassPane): Set opaque property to false.
3397 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3399 * java/awt/Component.java (requestFocus()): Don't handle Panels
3401 (requestFocus(boolean)): Likewise.
3402 (requestFocusInWindow(boolean)): Likewise.
3403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3404 Set GTK_CAN_FOCUS flag.
3406 2004-07-21 Kim Ho <kho@redhat.com>
3408 * Makefile.am: Added new file.
3409 * Makefile.in: Regenerated.
3410 * gcj/Makefile.in: Regenerated.
3411 * include/Makefile.in: Regenerated.
3412 * javax/swing/AbstractButton.java:
3413 Add rollOverEnabled property.
3414 (setRolloverEnabled): Use new property.
3415 (isRolloverEnabled): Use new property.
3416 * javax/swing/JTabbedPane.java:
3417 (setComponent): Remove useless JTabbedPane.this.
3418 * javax/swing/JToolBar.java: Finish implementation.
3419 * javax/swing/plaf/basic/BasicArrowButton.java:
3420 (paint): Moved border painting to a border.
3421 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3422 Change JToolBar look and feel defaults.
3423 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3424 (actionPerformed): Return Integer index instead of name.
3425 (addButtonComponents): Check to see if component is
3427 (createMessageArea): Don't use components that are not
3429 (getIconForType): Use temporary icons.
3430 * javax/swing/plaf/basic/BasicSliderUI.java:
3431 (mousePressed): Do not return if it's on thumb.
3432 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3433 (paintMinorTickForVertSlider): ditto.
3434 (paintMajorTickForHorizSlider): ditto.
3435 (paintMajorTickForVertSlider): ditto.
3436 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3437 Add a border around the SplitPaneDivider.
3438 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3440 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3441 New file. Implemented.
3442 * javax/swing/plaf/basic/BasicToolBarUI.java:
3444 * testsuite/Makefile.in: Regenerated.
3446 2004-07-21 Graydon Hoare <graydon@redhat.com>
3448 * javax/swing/Timer.java (run): Queue events each time cycle.
3450 2004-07-21 David Jee <djee@redhat.com>
3452 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3453 (imageComplete): Call image.imageComplete().
3454 * java/awt/image/MemoryImageSource.java:
3455 Reimplement consumers as a Vector instead of a Hashtable. This is
3456 because enumeration on a Hashtable is not thread-safe.
3457 (addConsumer): Adapt to Vector consumers.
3458 (isConsumer): Adapt to Vector consumers.
3459 (removeConsumer): Adapt to Vector consumers.
3460 (startProduction): Adapt to Vector consumers. Call imageComplete()
3461 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3462 (newPixels): Adapt to Vector consumers.
3463 (sendPicture): Set the color model of the image consumer.
3464 (newPixels(IIII)): Adapt to Vector consumers.
3465 (newPixels(IIIIB)): Adapt to Vector consumers.
3467 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3469 * java/awt/Component.java (deliverEvent): Implement.
3470 (postEvent): Implement.
3471 (handleEvent): Implement.
3472 (translateEvent): New method.
3473 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3474 * java/awt/Container.java (deliverEvent): Implement.
3475 * java/awt/Event.java (paramString): Fix formatting.
3476 * java/awt/Font.java (toString): Likewise.
3477 * java/awt/Window.java (postEvent): Implement.
3479 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3481 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3482 Set window's focus owner upon receiving a FOCUS_LOST event.
3483 * java/awt/Window.java (Window()): Refocus the previously
3484 focused component within the window when the window regains the
3486 (setFocusOwner): New method.
3487 * java/awt/Component.java (requestFocus): Add FIXME.
3489 * libgcj.pc.in: Remove library flags.
3491 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3493 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3494 MOUSE_PRESSED event.
3495 * java/awt/Component.java (requestFocus()): Handle Panel
3496 specially. Post FOCUS_LOST event on opposite component.
3497 (requestFocus(boolean)): Likewise.
3498 (requestFocusInWindow(boolean)): Likewise.
3499 (paramString): Reorder dimension fields.
3500 * java/awt/Container.java (paramString): Fix string format.
3501 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3502 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3503 process key events if the focus owner is non-null.
3504 (dispatchKeyEvent): Likewise.
3505 * java/awt/Frame.java (paramString): Fix formatting.
3506 (generateName): New method.
3507 (getUniqueLong): Likewise.
3508 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3509 the temporary focus owner is null. If so, return the permanent
3511 * java/awt/Panel.java (generateName): New method.
3512 (getUniqueLong): Likewise.
3513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3514 signal handling to make callbacks more specific.
3516 2004-07-21 Michael Koch <konqueror@gmx.de>
3518 * javax/swing/text/Position.java
3519 (Bias): Implemented.
3521 2004-07-21 Michael Koch <konqueror@gmx.de>
3523 * javax/swing/LookAndFeel.java
3524 (provideErrorFeedback): New method.
3526 2004-07-21 Michael Koch <konqueror@gmx.de>
3528 * javax/swing/JTextArea.java
3529 (tabSize): New field.
3530 (getTabSize): New method.
3531 (setTabSize): Likewise.
3533 2004-07-21 Michael Koch <konqueror@gmx.de>
3535 * javax/swing/ActionMap.java:
3536 Fixed javadocs all over.
3537 (serialVersionUID): Made private.
3538 (parent): Don't explicitely initialize with default value.
3540 (keys): Reimplemented.
3541 (allKeys): Likewise.
3542 (convertSet): Removed.
3543 * javax/swing/ComponentInputMap.java:
3544 Fixed javadocs all over.
3545 (ComponentInputMap): Implemented.
3549 (SetParent): Likewise.
3550 (getComponent): Likewise.
3551 * javax/swing/InputMap.java:
3552 Fixed javadocs all over.
3553 (serialVersionUID): Made private.
3554 (parent): Don't explicitely initialize with default value.
3556 (keys): Reimplemented.
3557 (allKeys): Likewise.
3558 (convertSet): Removed.
3560 2004-07-21 Michael Koch <konqueror@gmx.de>
3562 * javax/swing/ActionMap.java,
3563 javax/swing/ComponentInputMap.java,
3564 javax/swing/InputMap.java,
3565 javax/swing/table/DefaultTableColumnModel.java,
3566 javax/swing/table/TableColumn.java,
3567 javax/swing/table/TableColumnModel.java,
3568 javax/swing/table/TableModel.java,
3569 javax/swing/text/AbstractDocument.java,
3570 javax/swing/text/TextAction.java:
3573 2004-07-21 Graydon Hoare <graydon@redhat.com>
3575 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3576 Make method non-static.
3577 * javax/swing/AbstractButton.java:
3578 Rename fields to match property names where possible.
3579 (iconTextGap): New property.
3580 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3581 (init) New method, call from after various constructors.
3582 * javax/swing/JComponent.java (revalidate):
3583 Invalidate before queueing repair.
3584 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3585 Reimplement in terms of visibleRowCount property.
3586 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3587 * javax/swing/JScrollPane.java (createScrollListener):
3588 Remove tracing chatter.
3589 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3590 * javax/swing/RepaintManager.java (addInvalidComponent):
3592 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3594 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3595 Mimic sun behavior on top left/right positioning.
3596 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3597 Remove mistaken use of preferredScrollableViewportSize here.
3598 (layoutContainer): Use view's preferred size as basis.
3599 * javax/swing/plaf/basic/BasicButtonUI.java:
3600 Set, get, and use textIconGap property.
3601 (paint) Paint text returned from layout (with ellipsis).
3602 * javax/swing/plaf/basic/BasicListUI.java:
3603 Remove tracing chatter, correct various minor calculations.
3604 (getCellBounds): Update layout state before calculating.
3605 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3606 Use margin default similar to sun's.
3607 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3608 (createIncreaseIcon): Center icon, minimize margins.
3609 (createDecreaseIcon): Likewise.
3610 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3612 (installUI): Call it.
3613 (uninstallDefaults): Implement.
3614 (uninstallUI): Call it.
3615 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3616 Call existing Window constructor.
3617 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3618 Set clip before painting.
3620 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3622 * javax/swing/JMenuItem.java:
3623 (processMouseEvent): Reimplemented to deal with
3625 (createMenuDragMouseEvent): New private helper method.
3626 Creates MenuDragMouseEvent.
3627 * javax/swing/MenuSelectionManager.java
3628 (componentForPoint): Implemented.
3629 (isComponentPartOfCurrentMenu): Made public.
3630 (processMouseEvent): Reimplemented to deal with
3632 (setSelectedPath): Corrected small mistake that caused
3633 path to be set incorrectly.
3634 (getPath): If given component is JMenu then also add this
3635 menu's popup menu to the selected path.
3636 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3638 (getPreferredSize): Call getPreferredMenuItemSize().
3639 (getPreferredItemSize): Moved code from getPreferredSize to here.
3640 (installListeners): Install MouseMotionListeners.
3641 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3642 if mouse wasn't released in the bounds of this menu item.
3643 (MenuDragMouseHandler): Implemented.
3644 * javax/swing/plaf/basic/BasicMenuUI.java:
3645 (installListeners): Install MouseMotionListener and
3646 MenuDrageMouseListener.
3647 (MenuDragMouseHandler): Implemented.
3648 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3649 (uninstallListeners): Implemented.
3651 2004-07-21 Michael Koch <konqueror@gmx.de>
3653 * javax/swing/JCheckBox.java: Reformated.
3654 (JCheckBox): Fixed all constructors.
3655 (isBorderPaintedFlat): New method.
3656 (setBorderPaintedFlat): New method.
3657 * javax/swing/JEditorPane.java
3658 (createEditorKitForContentType): Made public.
3659 (scrollToReference): Likewise.
3660 * javax/swing/JTextArea.java
3661 (setLineWrap): Fire property change.
3662 * javax/swing/JToggleButton.java
3663 (JToggleButton): New constructor.
3664 (JToggleButton): Simplified.
3665 * javax/swing/text/AttributeSet.java
3666 (FontAttribute): Renamed from FontCharacterAttribute.
3667 * javax/swing/text/JTextComponent.java
3668 (KeyBinBinding): Added javadoc.
3669 (JTextComponent): Likewise.
3670 (getAccessibleContext): Fixed javadoc.
3671 * javax/swing/text/View.java
3672 (View): Added javadoc.
3673 * javax/swing/text/TabableView.java: New file.
3674 * Makefile.am: Added javax/swing/text/TabableView.java.
3675 * Makefile.in: Regenerated.
3677 2004-07-21 Graydon Hoare <graydon@redhat.com>
3679 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3680 * gnu/java/awt/peer/gtk/GtkToolkit.java
3681 (GtkErrorImage): New helper class.
3682 (bufferedImageOrError): New helper method.
3683 (createImage): Use it.
3685 2004-07-21 David Jee <djee@redhat.com>
3687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3688 (setCaretPosition): Scroll the text view so the new caret position
3689 is visible on screen.
3691 2004-07-21 David Jee <djee@redhat.com>
3693 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3694 (setBounds): Do not validate awtComponent here.
3695 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3696 (getPreferredSize): New method.
3697 * java/awt/ScrollPane.java
3698 (ScrollPane): Set default size to 100x100.
3699 (addNotify): If child is not a Panel, wrap it with a new Panel.
3700 (paramString): Implement.
3702 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3704 * javax/swing/JMenu.java:
3705 (setSelected): Display popup menu only if this menu
3706 is showing on the screen.
3707 * javax/swing/JPopupMenu.java:
3708 (processMouseEvent): Added comment.
3709 (processKeyEvent): Likewise.
3710 * javax/swing/MenuSelectionManager.java:
3711 (clearSelectedPath): Only fireStateChanged() after
3712 selected path was changed, not before.
3713 (setSelectedPath): Likewise.
3714 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3715 (paintMenuItem): Corrected position of menu item's
3717 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3718 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3719 (popupMenuCanceled): Reimplemented.
3720 (popupMenuWillBecomeVisible): Select first menu item by default
3721 when displaying free floating popup menus.
3722 (TopWindowListener): Reimplemented.
3724 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3726 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3727 Panel from being painted twice when it is first shown.
3729 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3731 * java/awt/Window.java: Reverted changes from my
3732 previous patch for creating window without an owner.
3733 * javax/swing/SwingUtilities.java:
3734 (SwingUtilities.OwnerFrame): made static.
3735 (OwnerFrame.setVisible): New method. Overridden with
3736 empty implementation.
3737 (OwnerFrame.isShowing): New method. Ovverridden
3738 to return always true.
3740 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3742 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3744 (GtkComponentPeer): Remove temporary try/catch block.
3745 (setVisible): Call show and hide.
3746 (show): Make native.
3748 (getArgs): Don't add "visible" argument.
3749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3750 (property_notify_predicate): Return Bool instead of int.
3751 (find_layout): New function.
3752 (connectJObject): Call find_layout.
3753 (connectSignals): Likewise.
3754 (moveLayout): Likewise.
3755 (gtkLayoutSetVisible): Likewise.
3757 2004-07-21 Mark Wielaard <mark@klomp.org>
3759 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3760 on notifier object before calling notifyAll().
3762 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3764 * java/awt/Window.java: Changed constructors to use new
3765 method that is described below. Constructors call this
3766 methods only if newly created window should have an owner.
3767 (setWindowOwner): New method. Implementation for
3768 this method is moved from this(owner,configuration).
3769 * javax/swing/JWindow.java:
3770 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3772 * javax/swing/SwingUtilities.java:
3773 (ownerFrame): Change type of this field to OwnerFrame.
3774 (getOwnerFrame): Changed to return object of type OwnerFrame.
3775 (SwingUtilities.OwnerFrame): New class. Represents owner
3776 of a Window that is not provided with one.
3778 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3780 * javax/swing/AbstractButton.java:
3781 (configurePropertiesFromAction): Set action command
3782 to button's text by default if action command is not
3783 explicitely specified.
3784 * javax/swing/JMenu.java: Remove unnecessary listener
3785 and methods relevant to it.
3786 (setSelected): Reimplemented.
3787 (menuSelectionChanged): Moved most part of implementation to
3788 setSelected() and call it instead.
3789 * javax/swing/JMenuItem.java:
3790 (init): Comment out statement that sets paint_border to false.
3791 (configurePropertiesFromAction): Do not set accelerator
3793 (menuSelectionChanged): Change selected index in the selection
3794 model of menu item's parent.
3795 * javax/swing/JPopupMenu.java:
3796 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3797 instead of GridBagConstraints.HORIZONTAL.
3799 (createActionChangeListener): Implemented.
3800 (setVisible): Correct location of HeavyWeightMenu and
3801 don't firePopupMenuCanceled().
3802 (menuSelectionChanged): Implemented.
3803 (ActionChangeListener): New Listener. Implemented.
3804 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3805 (BasicMenuBarUI.ContainerHandler): Implemented.
3806 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3807 (paintMenuItem): Uncommented out code that paints
3808 icon, now that icons are working properly.
3809 (PropertyChangeListener): Implemented.
3810 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3812 (topWindowListener): New field.
3813 (Constructor): initialize topWindowListener.
3814 (BasicPopupMenuUI.TopWindowListener): Implemented.
3815 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3816 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3819 2004-07-21 Michael Koch <konqueror@gmx.de>
3821 * javax/swing/plaf/basic/BasicButtonUI.java
3822 (paintFocus): Fixed method signature.
3823 (paintButtonPressed): Likewise.
3824 (paintButtonNormal): Likewise.
3825 (paintText): New method.
3826 * javax/swing/plaf/basic/BasicLabelUI.java
3827 (paint): Re-indented.
3828 * javax/swing/plaf/basic/BasicTextUI.java
3829 (installUI): Set parent textComponent to opaque.
3830 * javax/swing/text/DefaultHighlighter.java
3831 (checkPositions): New helper method.
3832 (addHighlight): Throws BadLocationException, check positions.
3833 (changeHighlight): Likewise.
3834 * javax/swing/text/EditorKit.java
3835 (EditorKit): Implements Serializable.
3836 * javax/swing/text/JTextComponent.java
3837 (getUI): Added javadoc.
3839 (upadteUI): Added javadoc, don't revalidate and repaint.
3841 2004-07-21 David Jee <djee@redhat.com>
3843 * java/awt/GridBagLayout.java
3844 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3845 * javax/swing/AbstractButton.java
3846 (setText): Reindent.
3847 * javax/swing/RepaintManager.java
3848 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3850 2004-07-21 Michael Koch <konqueror@gmx.de>
3852 * javax/swing/JFormattedTextField.java
3854 (JFormattedTextField): Implemented.
3855 (getValue): Likewise.
3856 (setValue): Likewise.
3857 * javax/swing/LookAndFeel.java
3858 (getSupportsWindowDecorations): New method.
3859 * javax/swing/UIDefaults.java:
3860 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3861 (addPropertyChangeListener): Made public.
3862 (addResourceBundle): Likewise.
3863 (removeResourceBundle): Likewise.
3864 (setDefaultLocale): Likewise.
3865 * javax/swing/plaf/basic/BasicRootPaneUI.java
3866 (BasicRootPaneUI): Implements PropertyChangeListener.
3867 (propertyChange): New method.
3868 * javax/swing/plaf/basic/BasicTextUI.java
3869 (BasicHighlighter): New inner class.
3870 (createHighlighter): New method.
3871 * javax/swing/plaf/basic/BasicToolBarUI.java
3872 (DragWindow): Extends java.awt.Window.
3873 * javax/swing/text/JTextComponent.java
3874 (getDocument): Removed debug output.
3875 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3876 javax/swing/text/DefaultHighlighter.java,
3877 javax/swing/text/FieldView.java,
3878 javax/swing/text/PlainView.java: New files.
3879 * Makefile.am: Added new files.
3880 * Makefile.in: Regenerated.
3882 2004-07-21 Michael Koch <konqueror@gmx.de>
3884 * javax/swing/JEditorPane.java
3885 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3886 (createEditorKitForContentType): Likewise.
3887 * javax/swing/text/DefaultEditorKit.java
3888 (serialVersionUID): Added constant field.
3889 (EndOfLineStringPropery): Fixed typo.
3890 (DefaultEditorKit): New constructor.
3891 * javax/swing/text/Segment.java:
3892 Import java.text.CharacterIterator.
3893 * javax/swing/text/CharacterIterator.java,
3894 javax/swing/text/PlainEditorKit.java: Removed.
3895 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3896 javax/swing/text/PlainEditorKit.java.
3897 * Makefile.in: Regenerated.
3899 2004-07-21 Michael Koch <konqueror@gmx.de>
3901 * javax/swing/JButton.java,
3902 javax/swing/text/DefaultEditorKit.java,
3903 javax/swing/text/EditorKit.java,
3904 javax/swing/text/Segment.java,
3905 javax/swing/text/StyledEditorKit.java:
3908 2004-07-21 Michael Koch <konqueror@gmx.de>
3910 * javax/swing/ImageIcon.java
3912 (description): Renamed from descr.
3913 (ImageIcon): Added missing constructors.
3914 (setParent): Removed.
3915 (setImageObserver): New method.
3916 (getImageObserver): New method.
3917 (paintIcon): Handle observer = null.
3918 * javax/swing/JButton.java
3919 (removeNotify): Fixed javadoc.
3920 (updateUI): Simplified.
3921 * javax/swing/JRootPane.java
3922 (serialVersionUID): New constant field.
3923 * javax/swing/UIManager.java:
3924 Fixed javadocs all over.
3925 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3926 * javax/swing/text/AbstractDocument.java
3927 (createPosition): Throws BadLocationException.
3928 (getText): Likewise.
3930 * javax/swing/text/ComponentView.java
3931 (modelToView): Likewise.
3932 * javax/swing/text/DefaultEditorKit.java:
3933 Made all public methods public.
3934 (read): Throws BadLocationException and IOException.
3936 * javax/swing/text/EditorKit.java:
3937 Made all public methods public.
3938 (serialVersionUID): New constant field.
3939 (clone): New method.
3940 (read): Throws BadLocationException and IOException.
3942 * javax/swing/text/Segment.java
3943 (array): Made public.
3946 (Segment): New constructors.
3947 (clone): Reimplemented.
3948 * javax/swing/text/StyledEditorKit.java
3949 (serialVersionUID): New constant field.
3951 2004-07-21 Graydon Hoare <graydon@redhat.com>
3953 * java/awt/image/BufferedImage.java
3954 (getSource): Implement.
3955 * javax/swing/ImageIcon.java
3956 (ImageIcon): Implement ctor.
3957 * javax/swing/ScrollPaneLayout.java
3958 (preferredLayoutSize): Be more careful about nulls.
3960 2004-07-21 Michael Koch <konqueror@gmx.de>
3962 * javax/swing/text/AttributeSet.java
3963 (CharacterAttribute): New interface
3964 (ColorAttribute): Likewise.
3965 (FontCharacterAttribute): Likewise.
3966 (ParagraphAttribute): Likewise.
3967 * javax/swing/text/DefaultCaret.java
3968 (moveCaret): New method.
3969 (positionCaret): Likewise.
3970 (repaint): Made protected.
3971 * javax/swing/text/JTextComponent.java
3972 (KeyBinding): Made it static.
3973 * javax/swing/text/View.java
3974 (getContainer): Honor parent == null.
3976 2004-07-21 Michael Koch <konqueror@gmx.de>
3978 * javax/swing/text/AbstractDocument.java:
3981 2004-07-21 Michael Koch <konqueror@gmx.de>
3983 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3984 Import javax.swing.UIManager explicitely.
3985 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3986 (ScrollingButton): Made it static.
3988 2004-07-21 Michael Koch <konqueror@gmx.de>
3990 * javax/swing/UIDefaults.java
3991 (ActiveValue): Made public.
3992 (LazyValue): Likewise.
3993 * javax/swing/plaf/basic/BasicTextUI.java
3994 (RootView): Reintroduced.
3996 (rootView): New field.
3997 (installUI): Create document if needed, initialize rootView.
3998 (uninstallUI): Hanle rootView.
4000 (getRootView): Likewise.
4001 (setView): Likewise.
4002 * javax/swing/text/DefaultCaret.java:
4003 Renamed all "evt" variables to "event".
4005 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4007 * libgcj.spec.in: Add -l-java-util-logging.
4009 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4012 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4013 gtk-xft-dpi can no calculate the right value.
4014 (dpi_changed_cb): Mark *pspec as unsused.
4016 2004-07-21 David Jee <djee@redhat.com>
4018 * java/awt/Component.java
4019 (move): Delegate to setBounds().
4021 (reshape): Fix so it repaints parent and self only when necessary.
4023 2004-07-21 David Jee <djee@redhat.com>
4025 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4026 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4027 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4028 (setVisible): Likewise.
4031 (getArgs): Likewise.
4032 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4033 (property_notify_predicate): Likewise.
4034 (find_layout): Likewise.
4035 (connectJObject): Likewise.
4036 (connectSignals): Likewise.
4037 (moveLayout): Likewise.
4038 (gtkLayoutSetVisible): Likewise.
4040 2004-07-21 Graydon Hoare <graydon@redhat.com>
4046 (rmiregistry_LDADD): Add lib-java-util-logging.la
4047 * Makefile.in: Regenerate.
4049 2004-07-21 Michael Koch <konqueror@gmx.de>
4051 * javax/swing/text/AbstractDocument.java
4052 (replace): Dont use protected method of java.util.Vector directly.
4054 2004-07-21 Michael Koch <konqueror@gmx.de>
4056 * javax/swing/plaf/basic/BasicTextUI.java
4057 (installUI): Call specialized install methods.
4058 (installDefaults): New method.
4059 (installListeners): Likewise.
4060 (installKeyboardActions): Likewise.
4061 (uninstallUI): Likewise.
4062 (uninstallDefaults): New method.
4063 (uninstallListeners): Likewise.
4064 (uninstallKeyboardActions): Likewise.
4065 (getPropertyPrefix): New abstract method.
4066 (paint): Made final, just call paintSafely().
4067 (paintSavely): New method.
4068 (paintBackground): Likewise.
4069 (getVisibleEditorRect): Likewise.
4070 * javax/swing/text/LayeredHighlighter.java,
4071 javax/swing/text/TabExpander.java: New files.
4072 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4073 and javax/swing/text/TabExpander.java.
4074 * Makefile.in: Regenerated.
4076 2004-07-21 Michael Koch <konqueror@gmx.de>
4078 * javax/swing/plaf/basic/BasicTextUI.java
4079 (BasicTextUI): Made abstract.
4080 (BasicCaret): New inner class.
4081 (view): Don't explicitely initialize with "null".
4082 (textComponent): New field.
4083 (textColor): Removed.
4084 (disabledTextColor): Removed.
4085 (normalBackgroundColor): Removed.
4086 (RootView): Removed commented out inner class.
4087 (createUI): Removed.
4088 (createCaret): New method.
4089 (getComponent): Likewise.
4090 (installUI): Initialize textComponent only.
4091 (getPreferredSize): Use installed JTextComponent.
4092 (setView): New method.
4094 * javax/swing/text/JTextComponent.java
4095 (highlighter): New field.
4096 (caretColor): Likewise.
4097 (disabledTextColor): Likewise.
4098 (seletedTextColor): Likewise.
4099 (selectionColor): Likewise.
4100 (setUI): New method.
4101 (getCaretColor): Likewise.
4102 (setCaretColor): Likewise.
4103 (getDisabledColor): Likewise.
4104 (setDisabledColor): Likewise.
4105 (getSelectedTextColor): Likewise.
4106 (setSelectedTextColor): Likewise.
4107 (getSelectionColor): Likewise.
4108 (setSelectionColor): Likewise.
4109 (getHighlighter): Likewise.
4110 (setHighlighter): Likewise.
4111 (replaceSelection): Likewise.
4113 2004-07-21 Michael Koch <konqueror@gmx.de>
4115 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4116 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4117 * javax/swing/plaf/basic/BasicToolBarUI.java
4118 (BasicToolBarUI): Implements SwingConstants.
4120 2004-07-21 Michael Koch <konqueror@gmx.de>
4122 * javax/swing/JPopupMenu.java: Removed CVS tags.
4123 * javax/swing/UIDefaults.java: Reformatted.
4124 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4125 Explicitely import used classes.
4127 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4129 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4130 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4131 (GtkComponentPeer): Remove temporary try/catch block.
4132 (setVisible): Call show and hide.
4133 (show): Make native.
4135 (getArgs): Don't add "visible" argument.
4136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4137 (property_notify_predicate): Return Bool instead of int.
4138 (find_layout): New function.
4139 (connectJObject): Call find_layout.
4140 (connectSignals): Likewise.
4141 (moveLayout): Likewise.
4142 (gtkLayoutSetVisible): Likewise.
4144 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4146 * javax/swing/AbstractButton.java:
4147 (setDisplayedMnemonicIndex): Check if button
4148 text is not null before checking its length.
4149 * javax/swing/JMenuItem.java:
4150 (processMouseEvent): Disarm menu item if mouse has
4152 * javax/swing/plaf/basic/BasicMenuUI.java:
4153 (MouseInputHandler.mouseEntered): Do not raise
4154 popup menu if this menu is already selected.
4155 (MouseInputHandler.mousePressed): Do not fire
4157 (MenuHandler): Implemented.
4159 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4161 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4162 (getSelectedObjects): Implemented.
4163 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4164 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4165 Added javadoc for few methods.
4166 (processMouseEvent): Made public.
4167 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4168 (processMouseEvent): Likewise.
4170 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4172 * javax/swing/AbstractButton.java:
4173 (init): Set display mnemonic index to -1.
4174 (setMnemonic(char)): Use setMnemonic(int).
4175 (setMnemonic(int)): Set display mnemonic index.
4176 (getDisplayedMnemonicIndex): Change method signature
4177 by removing 'index' parameter.
4178 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4179 Added default for Menu.selectionBackground.
4180 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4181 (paintMenuItem): Change background color of the selected
4183 (paintText): Paint differently when menu item is disabled.
4184 Also paint mnemonic if it appears in the menu item's label.
4185 (paintAccelerator): Paint accelerator differently
4186 if menu item is disabled.
4187 * javax/swing/plaf/basic/BasicMenuUI.java:
4188 (installDefaults): Install defaults for
4189 selectionForeground and selectionBackground.
4190 (uninstallDefaults): Uninstall defauls for
4191 selectionForeground and selectionBackground.
4193 2004-07-21 Michael Koch <konqueror@gmx.de>
4195 * javax/swing/text/AbstractDocument.java
4196 (BranchElement): Implemented.
4197 (LeafElement): Implemented.
4198 * javax/swing/text/DefaultCaret.java:
4199 Import used classes.
4200 (serialVersionUID): New constant.
4201 * javax/swing/text/JTextComponent.java
4202 (AccessibleJTextComponent): Removed dead declaration.
4203 (caretPos): Removed.
4204 (setCaret): New method.
4205 * javax/swing/text/PlainDocument.java
4206 (rootElement): New field.
4207 (PlainDocument): Initialize rootElement.
4208 (createDefaultRoot): New method.
4209 (getDefaultRootElement): Implemented.
4210 * javax/swing/text/View.java: Reformatted.
4211 * javax/swing/text/ViewFactory.java
4212 (create): Added javadoc.
4214 2004-07-21 Michael Koch <konqueror@gmx.de>
4216 * javax/swing/ToolTipManager.java: Reformatted.
4218 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4220 * javax/swing/AbstractButton.java
4221 (changeEvent): New field.
4222 (fireItemStateChanged): Change source of the event
4223 to 'this' before firing it to button listeners.
4224 (fireActionPerformed): Likewise.
4225 (fireStateChanged): Likewise.
4226 (createActionListener): Do not set source
4227 of the event to AbstractButton.
4228 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4229 (ContainerHandler.componentAdded): Removed
4230 print out statement.
4231 (ContainerHandler.componentRemoved): Likewise.
4233 2004-07-21 Michael Koch <konqueror@gmx.de>
4235 * javax/swing/text/Highlighter.java: New file.
4236 * Makefile.am: Added javax/swing/text/Highlighter.java.
4237 * Makefile.in: Regenerated.
4239 2004-07-21 Michael Koch <konqueror@gmx.de>
4241 * javax/swing/ToolTipManager.java
4242 (stillInsideTimerAction): Fixed constructor arguments.
4243 (outsideTimerAction): Likewise.
4244 (insideTimerAction): Likewise.
4246 2004-07-21 Michael Koch <konqueror@gmx.de>
4248 * javax/swing/JButton.java: Reformatted.
4249 * javax/swing/JFormattedTextField.java
4250 (getUIClassID): Implemented.
4251 * javax/swing/JRootPane.java
4252 (serialVersionUID): New constant.
4253 * javax/swing/JTextField.java
4255 (JTextField): Simplified.
4256 (getUIClassID): New method.
4257 (getActionListeners): Added @since tag.
4258 (setColumns): Invalidate layout and repaint.
4259 (getHorizontalAlignment): New method.
4260 (setHorizontalAlignment): New method.
4261 (selectAll): Removed.
4262 * javax/swing/SwingUtilities.java
4263 (getAncestorOfClass): Removed redundant @see tag.
4264 (isLeftMouseButton): Fixed implementation.
4265 (isMiddleMouseButton): Likewise.
4266 (isRightMouseButton): Likewise.
4267 * javax/swing/text/AbstractDocument.java
4268 (AttributeContext.addAttribute): New method.
4269 (AttributeContext.addAttributes): New method.
4270 (AttributeContext.getEmptySet): New method.
4271 (AttributeContext.reclaim): New method.
4272 (AttributeContext.removeAttribute): New method.
4273 (AttributeContext.removeAttributes): New method.
4274 * javax/swing/text/Document.java
4275 (createPosition): Throws BadLocationException.
4276 (getText): Likewise.
4278 * javax/swing/text/JTextComponent.java
4279 (getText): Return null if no document is set. Catch
4280 BadLocationException.
4282 (updateUI): Simplified.
4284 2004-07-21 Michael Koch <konqueror@gmx.de>
4286 * javax/swing/JButton.java
4287 (removeNotify): Fixed javadoc.
4288 (updateUI): Simplified.
4290 2004-07-21 David Jee <djee@redhat.com>
4292 * gnu/java/awt/image/ImageDecoder.java
4293 (startProduction): Only add consumer if it's not added yet.
4294 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4295 (GdkPixbufDecoder): Don't call initState() here.
4296 (produce): Call initState() here, to ensure area_prepared and
4297 area_updated signals are properly connected.
4298 * gnu/java/awt/peer/gtk/GtkImage.java
4299 (setColorModel): Use equals() to compare ColorModel objects.
4300 (setPixels): Likewise.
4301 * java/awt/image/ColorModel.java
4302 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4303 * java/awt/image/RGBImageFilter.java
4304 (setColorModel): Set consumer's color model.
4305 (setPixels): Use equals() to compare ColorModel objects.
4307 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4309 * java/net/URLConnection.java (position): New field.
4310 (dateFormat1, dateFormat2, dateFormat3): Removed.
4311 (dateFormats): New field.
4312 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4313 each time instead of re-allocating.
4314 (initializeDateFormats): Initialize 'dateFormats'.
4316 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4319 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4322 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4324 * java/net/Socket.java (getImpl): Now private. Remove comment.
4326 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4328 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4329 of chained Writer when calling super-constructor.
4330 * java/io/FilterWriter.java (FilterWriter): Likewise.
4331 * java/io/PrintWriter.java (PrintWriter): Likewise.
4333 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4335 * prims.cc (process_gcj_properties): Don't increment i within LHS
4338 2004-07-19 Per Bothner <per@bothner.com>
4340 Print -verbose:message on "loading", not initialization.
4341 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4342 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4343 gcj::verbose_class_flag.
4344 * java/lang/natClass.cc (initializeClass): Don't print message here.
4345 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4346 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4347 (_Jv_PrepareCompiledClass): Likewise.
4349 2004-07-18 Matthias Klose <doko@debian.org>
4351 * configure.in: Substitute target_noncanonical.
4352 * configure: Regenerate
4354 2004-07-17 Michael Koch <konqueror@gmx.de>
4356 * java/lang/String.java: Fixed javadocs all over.
4358 2004-07-17 Mark Wielaard <mark@klomp.org>
4360 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4361 when size is smaller.
4362 * java/io/RandomAccessFile.java (setLength): Use truncate for
4363 shrinking the file and seek plus write for expanding the file.
4365 2004-07-17 Michael Koch <konqueror@gmx.de>
4367 * gnu/java/nio/channels/natFileChannelPosix.cc
4368 (implTruncate): Always save current position. Only reposition file
4369 pointer to where we started if not beyond new lenght. Reposition file
4370 pointer to file length if it points beyond the end of file.
4372 2004-07-17 Mark Wielaard <mark@klomp.org>
4374 * javax/swing/Box.java: Put FIXME comment above class declaration.
4375 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4376 * javax/swing/JCheckBox.java: Likewise.
4377 * javax/swing/JDialog.java: Likewise.
4378 * javax/swing/JRadioButton.java: Likewise.
4379 * javax/swing/JToggleButton.java: Likewise.
4380 * javax/swing/UIManager.java: Likewise.
4381 * javax/swing/border/TitledBorder.java: Likewise.
4382 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4383 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4384 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4385 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4386 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4387 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4388 * javax/swing/text/JTextComponent.java: Likewise.
4390 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4392 * java/net/DatagramPacket.java (setAddress): Removed check for
4395 2004-07-17 Michael Koch <konqueror@gmx.de>
4397 * java/net/DatagramSocket.java
4398 (getLocalAddress): Check if socket is bound or not.
4399 * java/net/Socket.java
4400 (getLocalAddrss): Check if socket is bound or not.
4401 (getPort): Return -1 when not connected. Dont check getImpl() for
4403 (setReuseAddress): Check if socket is closed.
4404 (isConnected): Check if getImpl() returns null.
4406 2004-07-17 Mark Wielaard <mark@klomp.org>
4408 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4409 on notifier object before calling notifyAll().
4411 2004-07-17 Michael Koch <konqueror@gmx.de>
4413 * gnu/java/nio/channels/FileChannelImpl.java
4414 (finalize): Added javadoc.
4416 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4418 * java/text/CollationElementIterator.java
4419 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4420 (setText): Use ArrayList instead of Vector.
4422 2004-07-17 Michael Koch <konqueror@gmx.de>
4424 * java/nio/ByteOrder.java
4425 (static): Removed. Not needed.
4426 Thanks to Patrick Reali for noticing.
4427 * java/nio/charset/CharsetDecoder.java
4428 (decode): Fix for classpath bug #9177: Reset state before flipping.
4430 2004-07-17 Michael Koch <konqueror@gmx.de>
4432 * java/security/Security.java: Fixed javadocs all over.
4434 2004-07-17 Michael Koch <konqueror@gmx.de>
4436 * gnu/java/awt/EmbeddedWindow.java
4438 (addNotify): Set peer via reflection.
4439 (setWindowPeer): Removed.
4440 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4441 * Makefile.am (nat_source_files):
4442 Removed gnu/java/awt/natEmbeddedWindow.cc.
4443 * Makefile.in: Regenerated.
4445 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4447 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4449 * configure: Regenerated.
4451 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4453 * configure.in: Use build_noncanonical rather than build_alias.
4454 * configure: Rebuild.
4456 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4457 by logic refactoring. Move default definition of NATIVE closer
4458 to first alternate definition.
4459 * configure: Regenerate.
4461 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4462 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4463 gcj/Makefile.in: Regenerate.
4464 * configure.in: Set ZIP and GCJH. Remove redundant condition
4465 in AM_CONDITIONAL(NATIVE,...)
4466 * configure: Regenerate.
4468 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4470 * configure.in: Use target_noncanonical rather than
4471 target_alias for forward-compatibility with autoconf 2.59.
4472 * configure: Regenerate.
4473 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4474 testsuite/Makefile.am: Substitute target_noncanonical.
4475 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4476 testsuite/Makefile.in: Regenerate.
4478 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4479 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4480 * acinclude.m4: Include acx.m4.
4481 * aclocal.m4: Regenerate.
4482 * configure: Regenerate.
4484 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4487 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4488 (decimalFormat): New static variable.
4490 (getTime): New. Override Date.getTime().
4491 (toString): Synchronize. Use decimalFormat to format nanos value
4492 correctly. Truncate extra zeros.
4493 (before): Compare getNanos() only if getTime() is equal.
4496 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4498 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4499 * configure.in: ...here.
4500 * aclocal.m4: Regenerate.
4501 * configure: Regenerate.
4503 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4504 * configure: Rebuilt with autoconf 2.13.
4505 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4506 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4508 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4511 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4513 * Makefile.in: Rebuilt.
4514 * testsuite/libjava.lang/LargeFile.java: New test case.
4515 * testsuite/libjava.lang/LargeFile.out: New file.
4517 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4519 * java/beans/EventHandler.java: Remove debugging statements.
4521 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4523 * java/beans/EventHandler.java: New file.
4524 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4525 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4526 testsuite/Makefile.in: Regenerate.
4528 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4530 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4531 flag to the gcj_setup.
4532 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4534 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4535 deprecation flag change. 58 XFAILS removed.
4537 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4539 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4540 -fno-use-divide-subroutine.
4541 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4542 (HANDLE_FPE): Define.
4543 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4544 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4545 (HANDLE_DIVIDE_OVERFLOW): Define.
4547 2004-07-14 Michael Koch <konqueror@gmx.de>
4548 Matthias Klose <doko@debian.org>
4550 * java/awt/im/InputContext.java: Initialize in, line.
4552 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4554 * interpret.cc (run): Correctly access libffi return values of
4555 integral smaller-than-int type; these are implicitly promoted.
4557 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4560 * interpret.cc (compile_mutex): New.
4561 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4562 (run): Lock compile_mutex before calling compile() if compilation is
4564 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4565 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4567 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4570 * include/jvm.h (_Jv_value): New union type.
4571 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4572 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4575 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4577 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4578 * gnu/awt/xlib/XOffScreenImage.java
4579 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4580 constructor argument. Add constructor using ImageProducer.
4581 (getSource): Implement.
4582 (imageComplete): New method.
4583 (setColorModel): New method.
4584 (setDimensions): New method.
4585 (setHints): New method.
4586 (setPixels): New method.
4587 (setProperties): New method.
4588 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4589 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4591 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4594 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4595 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4596 (finalizerReady): Now native.
4598 (runFinalizers): Removed.
4599 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4600 a primitive lock, and don't hold it while running the finalizers.
4601 (runFinalizers): Implement. Don't aquire any Java lock.
4602 (finalizerReady): Use lock primitives to signal finalizer thread.
4604 2004-07-11 Mark Wielaard <mark@klomp.org>
4606 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4607 * java/net/URLStreamHandler.java (parseURL): When url file part
4608 doesn't contain a '/' just ignore context.
4610 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4612 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4613 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4614 (MAKE_THROW_FRAME): Do not modify PSW address.
4615 (INIT_SEGV): Install SIGINFO-style signal handler.
4616 (INIT_FPE): Likewise.
4618 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4620 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4621 status. 21 xfail's removed, 1 added.
4623 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4625 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4627 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4629 * java/text/MessageFormat.java
4630 (formatInternal): Append "{n}" if argument n is unavailable.
4631 (format(Object, StringBuffer, FieldPosition)): This
4632 should be equivalent to format(Object[],
4633 StringBuffer, FieldPosition).
4635 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4637 * java.util.Calendar.java (cache): New private static field. Cached
4638 mappings of locales->calendar classes.
4639 (ctorArgTypes): New private static field. Singleton argument for
4640 calendar class constructor lookup.
4641 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4642 Optimize by bypassing reflection instantiation for the
4643 GregorianCalendar case.
4645 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4647 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4648 ResourceBundle.getBundle() calls.
4649 * java/util/GregorianCalendar.java: Likewise.
4650 * java/util/Currency.java: Likewise.
4651 * java/text/BreakIterator.java: Likewise.
4652 * java/text/Collator.java: Likewise.
4653 * java/text/DateFormat.java: Likewise.
4654 * java/text/DateFormatSymbols.java: Likewise.
4655 * java/text/DecimalFormatSymbols.java: Likewise.
4656 * java/text/NumberFormat.java: Likewise.
4657 * java/awt/Window.java: Likewise.
4659 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4661 * java/util/ResourceBundle.java (bundleCache): Renamed from
4662 resourceBundleCache. Update comments.
4663 (getObject): Don't catch MissingResourceException.
4664 (getBundle(String)): Remove 'final'. Use system classloader if
4665 getCallingClassLoader returned null.
4666 (getBundle(String, Locale)): Likewise.
4667 (BundleKey): New private class. HashMap key for bundle cache lookup.
4668 (lookupKey): New. Singleton instance of BundleKey.
4669 (nullEntry): New. Cache entry to represent failed lookups.
4670 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4671 caching strategy, no-allocation lookup, and new tryBundle methods.
4672 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4673 name using given classloader.
4674 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4675 baseName for given Locale and attempt to load bundle.
4677 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4679 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4680 illegal protected method calls.
4682 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4684 Fix or remove some bogus test cases.
4685 * testsuite/libjava.compile/pr10459_2.java: Removed.
4686 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4688 * testsuite/libjava.compile/inner_data.java: Test against its own
4691 2004-07-09 Michael Koch <konqueror@gmx.de>
4693 * scripts/unicode-muncher.pl: Updated to version 2.1
4694 from GNU classpath. Added some clarifications on where to find the
4695 needed files from www.unicode.org.
4696 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4697 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4698 Removed, these can directly be downloaded from www.unicode.org if
4700 * gnu/java/lang/CharData.java: Regenerated.
4701 * include/java-chartables.h: Regenerated.
4702 * Makefile.am (ordinary_java_source_files):
4703 Removed gnu/java/lang/CharData.java.
4704 * Makefile.in: Regenerated.
4706 2004-07-09 Michael Koch <konqueror@gmx.de>
4708 * java/security/AccessControlContext.java,
4709 java/security/SecureClassLoader.java:
4712 2004-07-09 Michael Koch <konqueror@gmx.de>
4714 * java/io/ObjectInputStream.java (readFields): Use long datatype
4715 when shifting byte values more then 24 bits left.
4717 2004-07-09 Michael Koch <konqueror@gmx.de>
4719 * java/util/zip/DeflaterOutputStream.java,
4720 java/util/zip/GZIPInputStream.java,
4721 java/util/zip/GZIPOutputStream.java,
4722 java/util/zip/InflaterInputStream.java:
4723 Reformatted. Added javadocs. Reordered all stuff.
4724 Renamed variables to be more clear.
4726 2004-07-09 Michael Koch <konqueror@gmx.de>
4728 * javax/imageio/IIOException.java,
4729 javax/imageio/event/IIOReadProgressListener.java,
4730 javax/imageio/event/IIOReadUpdateListener.java,
4731 javax/imageio/event/IIOReadWarningListener.java,
4732 javax/imageio/event/IIOWriteProgressListener.java,
4733 javax/imageio/event/IIOWriteWarningListener.java:
4735 * Makefile.am: Added new files.
4736 * Makefile.in: Regenerated.
4738 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4740 * java/text/RuleBasedCollator.java
4741 (mergeRules): Use ArrayList instead of Vector.
4742 (subParseString): likewise.
4743 (parseString): likewise.
4744 (buildCollationVector): likewise.
4745 (getCollationKey): likewise.
4747 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4749 * java/text/DateFormat.java (parse):
4750 Improved javadoc. Improved exception message.
4752 2004-07-09 Mark Wielaard <mark@klomp.org>
4754 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4755 interrupted() method to clear interupt flag of our Thread.
4757 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4759 * java/nio/Buffer.java,
4760 java/nio/ByteBuffer.java,
4761 java/nio/ByteBufferHelper.java,
4762 java/nio/ByteBufferImpl.java,
4763 java/nio/CharBuffer.java,
4764 java/nio/CharBufferImpl.java,
4765 java/nio/CharViewBufferImpl.java,
4766 java/nio/DirectByteBufferImpl.java,
4767 java/nio/DoubleBuffer.java,
4768 java/nio/DoubleBufferImpl.java,
4769 java/nio/DoubleViewBufferImpl.java,
4770 java/nio/FloatBuffer.java,
4771 java/nio/FloatBufferImpl.java,
4772 java/nio/FloatViewBufferImpl.java,
4773 java/nio/IntBuffer.java,
4774 java/nio/IntBufferImpl.java,
4775 java/nio/IntViewBufferImpl.java,
4776 java/nio/LongBuffer.java,
4777 java/nio/LongBufferImpl.java,
4778 java/nio/LongViewBufferImpl.java,
4779 java/nio/MappedByteBufferImpl.java,
4780 java/nio/ShortBuffer.java,
4781 java/nio/ShortBufferImpl.java,
4782 java/nio/ShortViewBufferImpl.java:
4783 Fixed javadocs all over. Improved input error
4786 * java/nio/Buffer.java
4787 (checkForUnderflow, checkForOverflow, checkIndex,
4788 checkIfReadOnly, checkArraySize): New helper methods
4791 * java/nio/ByteBufferHelper.java
4792 (checkRemainingForRead, checkRemainingForWrite,
4793 checkAvailableForRead, checkAvailableForWrite): Removed
4794 no longer needed methods.
4796 2004-07-09 Michael Koch <konqueror@gmx.de>
4798 * gnu/regexp/CharIndexedInputStream.java:
4799 Reordered imports to match classpath.
4801 2004-07-09 Michael Koch <konqueror@gmx.de>
4803 * gnu/java/awt/EmbeddedWindow.java:
4804 Load native library for setWindowPeer method.
4806 2004-07-08 Randolph Chung <tausq@debian.org>
4808 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4809 * configure: Regenerate.
4810 * configure.host: Set can_unwind_signal for hppa*-linux.
4811 * include/pa-signal.h: New file.
4813 2004-07-07 Per Bothner <per@bothner.com>
4815 * Makefile.am: Add rules to build libgij from just gij.cc.
4817 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4818 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4819 (initializeClass): If verbose_class_flag, print message.
4820 * gij.cc (main): Handle -verbose:class flag.
4822 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4824 * configure.host: Enable hash synchronization on Darwin.
4825 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4826 ';', since this is a comment on Darwin.
4827 (compare_and_swap_release): Likewise.
4829 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4831 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4832 file portion of URL in addition to spec for file: protocol.
4834 2004-07-05 Anthony Green <green@redhat.com>
4836 * java/io/File.java (toURI): Merge from Classpath.
4838 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4840 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4841 before passing to URL constructor. Rethrow any MalformedURLException
4842 as a RuntimeException. Catch MalformedURLException specifically, not
4845 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4847 * java/util/Locale.java (readObject): Intern strings read from object
4850 2004-07-04 Michael Koch <konqueror@gmx.de>
4852 * gnu/gcj/runtime/FirstThread.java,
4853 gnu/gcj/runtime/natFirstThread.cc: Removed.
4854 * gnu/java/lang/MainThread.java,
4855 gnu/java/lang/natMainThread.cc: New files.
4856 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4857 * Makefile.am: Added new files and removed deleted ones.
4858 * Makefile.in: Regenerated.
4860 2004-07-03 Mark Wielaard <mark@klomp.org>
4861 Anthony Green <green@redhat.com>
4863 * java/net/URL.java (getFile): Clarify return value doc.
4864 (getPath): Return null if file is empty - not empty String.
4865 (set): Convert protocol to lower case before doing anything.
4866 Only change the protocol handler if it's different.
4868 2004-07-03 Anthony Green <green@redhat.com>
4870 * java/net/URL.java (URL): Convert protocol to lower case before
4871 doing anything, so we getURLStreamHandler() with the proper value.
4873 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4875 * java/util/Locale.java (hashcode): Made transient.
4876 (hashCode): No longer synchronized.
4877 (equals): Remove comment.
4878 (writeObject): No longer synchronized. Implement using writeObject
4879 calls instead of tweaking hashCode field. Update doc.
4880 (readObject): Implement using readObject calls.
4882 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4883 Andreas Tobler <a.tobler@schweiz.ch>
4885 * configure.host (powerpc-*-darwin*): New case, define
4887 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4888 * configure: Regenerate.
4889 * include/darwin-signal.h: New.
4891 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4893 * java/beans/Statement.java (doExecute): Fix formatting.
4895 2004-06-29 Per Bothner <per@bothner.com>
4897 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4898 etc etc): Remove needless parenthesis, which causes __stdcall__
4899 attribute on MinGW to get ignored.
4901 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4903 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4905 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4907 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4909 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4911 * java/beans/Expression.java: New file.
4912 * java/beans/Statement.java: New file.
4913 * Makefile.am: Added new files.
4914 * Makefile.in: Re-generate.
4916 2004-06-27 Mark Wielaard <mark@klomp.org>
4918 * java/io/FilePermission.java (usingPerms): Removed.
4919 (actionsString): Made final.
4920 (cachePerms): Renamed to checkPerms.
4921 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4923 (FilePermission): Check arguments, call checkPerms().
4924 (equals): Remove cachePerms() call.
4925 (implies): Likewise.
4927 2004-06-27 Mark Wielaard <mark@klomp.org>
4929 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4931 (sendRequest): Use new field in user-agent http agent.
4933 2004-06-27 Mark Wielaard <mark@klomp.org>
4935 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4936 when argument is null.
4938 2004-06-26 Mark Wielaard <mark@klomp.org>
4940 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4941 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4943 (cancel_clicked): Likewise.
4945 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4948 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4949 can not calculate the right value.
4950 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4952 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4954 * testsuite/libjava.jacks/jacks.xfail: Remove
4955 15.9.1-qualified-concrete-20.
4957 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4959 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4960 encoding name to iconv.
4961 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4963 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4966 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4967 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4968 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4970 2004-06-21 Andrew Haley <aph@redhat.com>
4972 * java/io/ObjectOutputStream.java: Add DEBUG statements
4974 (dumpElementln): New method.
4976 * java/io/ObjectInputStream.java
4977 (currentClassLoader): Make native.
4978 (callersClassLoader): New field.
4980 (readObject): ENDBLOCKDATA is generated if the class has a write
4981 method, not if it has a read method.
4982 (readObject): Save and restore this.currentObject and
4983 this.currentObjectStreamClass around calls to callReadMethod().
4984 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4987 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4989 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4992 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4994 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4995 if desired, before the default class loader is initialised.
4996 Call INIT_SEGV only if HANDLE_SEGV is defined.
4998 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5000 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5001 directory only if it actually exists.
5003 2004-06-18 Graydon Hoare <graydon@redhat.com>
5005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5006 Fix up non-ansi comments.
5008 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5010 * javax/swing/text/AbstractDocument.java: Adding missing import
5011 for javax.swing.event.EventListenerList.
5012 * javax/swing/text/DefaultCaret.java: Likewise.
5014 2004-06-17 Michael Koch <konqueror@gmx.de>
5016 * javax/swing/JToolBar.java
5018 (JToolBar): Use Component.setName(String) instead of doing it all
5020 * javax/swing/Timer.java
5021 (queueEvent): Added missing modifier.
5023 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5025 * Makefile.am: Added new file.
5026 * Makefile.in: Re-generate.
5027 * javax/swing/JMenu.java:
5028 (insertSeparator): Implemented.
5029 * javax/swing/JPopupMenu.java:
5030 (JPopupMenu.Separator): Implemented.
5031 * javax/swing/MenuSelectionManager.java:
5032 (processMouseEvent): Use java.awt.Component
5033 for event source instead of javax.swing.JComponent.
5034 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5035 New File. Implemented.
5037 2004-06-16 David Jee <djee@redhat.com>
5039 * java/awt/GridBagLayout.java
5040 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5041 Make sure pos_x and pos_y are never negative.
5043 2004-04-16 Andrew Overholt <overholt@redhat.com>
5045 * Makefile.am: Add new file.
5046 * Makefile.in: Re-generate.
5047 * javax/swing/JToolBar.java
5048 Partially implemented.
5049 * javax/swing/plaf/basic/BasicToolBarUI.java
5050 New file. Partially implemented.
5052 2004-06-16 Graydon Hoare <graydon@redhat.com>
5054 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5055 (setComposite): Accept AlphaComposite arguments.
5056 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5057 (createBufferedImage): Add new overloads.
5058 * gnu/java/awt/peer/gtk/GtkToolkit.java
5059 (createImage): Use GdkPixbufDecoder.createBufferedImage
5060 when useGraphics2D() is true.
5061 (getImage): Delegate to createImage.
5062 * javax/swing/JList.java
5064 (getFirstVisibleIndex):
5065 (getLastVisibleIndex):
5067 (ensureIndexIsVisible): New methods.
5068 * javax/swing/Timer.java: Reimplement.
5070 2004-06-16 Michael Koch <konqueror@gmx.de>
5072 * javax/swing/text/AbstractDocument.java
5073 (AbstracElement): Made public, implements java.io.Serializable.
5074 (AttributeContext): Made public.
5075 (BranchElement): Likewise.
5076 (Content): Likewise.
5077 (DefaultDocumentEvent): Made public, extends
5078 javax.swing.undo.CompoundEdit.
5079 (ElementEdit): Made public, extends
5080 javax.swing.undo.AbstractUndoableEdit.
5081 (LeafElement): Made public.
5082 (LeafElement.LeafElement): Made public.
5084 2004-06-16 Michael Koch <konqueror@gmx.de>
5086 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5087 methods (that were obviously never be intended to get included hi this
5088 class. Added some methods too.
5090 2004-06-16 Michael Koch <konqueror@gmx.de>
5092 * javax/swing/text/PlainDocument.java
5093 (serialVersionUID): New constant.
5094 (lineLimitAttribute): Likewise.
5095 (tabSizeAttribute): Likewise.
5096 (tabSize): New field.
5097 (PlainDocument): Made public.
5098 (PlainDocument): New constructor.
5100 2004-06-16 Michael Koch <konqueror@gmx.de>
5102 * javax/swing/text/AbstractDocument.java
5103 (insertString): Throws BadLocationException.
5104 * javax/swing/text/Document.java
5105 (insertString): Likewise.
5106 * javax/swing/text/JTextComponent.java:
5107 Javadocs and comments cleaned up.
5109 2004-06-16 Michael Koch <konqueror@gmx.de>
5111 * javax/swing/event/UndoableEditListener.java: Reformatted.
5112 * javax/swing/text/AbstractDocument.java
5113 (AbstractDocument): Implements java.io.Serializable.
5114 (doc_list): Removed.
5115 (undo_list): Removed.
5116 (AbstractElement.serialVerionUID): New field.
5117 (BranchElement.serialVerionUID): Likewise.
5118 (DefaultDocumentEvent.serialVerionUID): Likewise.
5119 (ElementEdit.serialVerionUID): Likewise.
5120 (LeafElement.serialVerionUID): Likewise.
5121 (serialVerionUID): Likewise.
5122 (BAD_LOCATION): New constant.
5123 (BidiElementName): Likewise.
5124 (ContentElementName): Likewise.
5125 (ParagraphElementName): Likewise.
5126 (SectionElementName): Likewise.
5127 (ElementNameAttribute): Likewise.
5128 (AbstractDocument): Made protected.
5129 (AbstractDocument): New construtor.
5130 (listenerList): New field.
5131 (fireChangedUpdate): Implemented.
5132 (fireInsertUpdate): Likewise.
5133 (fireRemoveUpdate): Likewise.
5134 (fireUndoableEditUpdate): Likewise.
5135 (getListeners): Likewise.
5136 (addDocumentListener): Likewise.
5137 (removeDocumentListener): Likewise.
5138 (addUndoableEditListener): Likewise.
5139 (removeUndoableEditListener): Likewise.
5140 (getDocumentListeners): New method.
5141 (getUndoableEditListeners): Likewise.
5142 (getAsynchronousLoadPriority): Made public.
5143 (getBidiRootElement): Likewise.
5144 (setAsynchronousLoadPriority): Likewise.
5145 (setDocumentProperties): Likewise.
5146 * javax/swing/text/BadLocationException.java
5147 (serialVerionUID): New field.
5148 * javax/swing/text/DefaultCaret.java
5149 (changeEvent): New field.
5150 (listenerList): Likewise.
5152 (addChangeListener): Reimplemented.
5153 (removeChangeListener): Likewise.
5154 (getListeners): New method.
5155 (getChangeListeners): Likwise.
5156 (getComponent): Likewise.
5157 * javax/swing/text/GapContent.java
5158 (GapContent): Implements java.io.Serializable.
5159 (serialVerionUID): New field.
5161 2004-06-16 Michael Koch <konqueror@gmx.de>
5163 * javax/swing/JTree.java
5164 (treeModel): New field.
5165 (JTree): New constructors, one existing one made public.
5166 (createTreeModel): New method.
5167 (addTreeExpansionListener): Likewise.
5168 (removeTreeExpansionListener): Likewise.
5169 (getTreeExpansionListeners): Likewise.
5170 (fireTreeCollapsed): Likewise.
5171 (fireTreeExpanded): Likewise.
5172 (addTreeSelectionListener): Likewise.
5173 (removeTreeSelectionListener): Likewise.
5174 (getTreeSelectionListeners): Likewise.
5175 (fireValueChanged): Likewise.
5176 (addTreeWillExpandListener): Likewise.
5177 (removeTreeWillExpandListener): Likewise.
5178 (getTreeWillExpandListeners): Likewise.
5179 (fireTreeWillCollapse): Likewise.
5180 (fireTreeWillExpand): Likewise.
5182 2004-06-16 Michael Koch <konqueror@gmx.de>
5184 * javax/swing/JTree.java: Reformatted.
5186 2004-06-16 Michael Koch <konqueror@gmx.de>
5188 * javax/swing/JTextArea.java: New file.
5189 * javax/swing/JTextField.java
5191 (notifyAction): New constant.
5192 (columns): New field.
5193 (JTextField): New constructors.
5194 (createDefaultModel): New method.
5195 (addActionListener): Reimplmemented.
5196 (removeActionListener): Reimplemented.
5197 (getActionListeners): New method.
5198 (fireActionPerformed): New method.
5199 (getColumns): New method.
5200 (setColumne): New method.
5201 * javax/swing/text/JTextComponent.java
5202 (AccessibleJTextComponent.serialVersionUID): New field.
5203 (serialVersionUID): Likewise.
5204 (DEFAULT_KEYMAP): Likewise.
5205 (FOCUS_ACCELERATOR_KEY): Likewise.
5206 (doc): Made private.
5207 (icon_gap): Likewise.
5210 (JTextComponent): Some constructors removed.
5211 (getScrollableTracksViewportHeight): New method.
5212 (getScrollableTracksViewportWidth): Likewise.
5213 * Makefile.am: Added javax/swing/JTextArea.java.
5214 * Makefile.in: Regenerated.
5216 2004-06-15 Graydon Hoare <graydon@redhat.com>
5218 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5219 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5220 * javax/swing/JViewport.java
5221 (getExtentSize): Return size rather than preferred size.
5222 (toViewCoordinates): New methods.
5223 (getViewSize): Return size rather than preferred size.
5224 (setViewSize): Note view size as set.
5225 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5226 * javax/swing/plaf/basic/BasicScrollBarUI.java
5227 (getPreferredSize): Don't redo layout.
5228 * javax/swing/plaf/basic/BasicViewportUI.java
5229 (paint): Translate image properly and eat exceptions.
5231 2004-06-15 Kim Ho <kho@redhat.com>
5233 * javax/swing/JTabbedPane.java
5234 (setComponent): Remove old component and
5236 (setSelectedIndex): Don't operate on the
5237 components if they're null. Don't set index
5238 on the model if the index is the same.
5239 (insertTab): Don't add or hide the component
5240 if it's null. Repaint the container.
5241 * javax/swing/plaf/basic/BasicLookAndFeel.java
5242 Change colors for TabbedPane.
5243 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5244 (mousePressed): Re-layout and paint the component.
5245 (layoutContainer): Don't set location on the view.
5246 (ScrollingViewport::paint): Remove.
5248 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5251 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5253 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5254 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5255 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5257 (drawLine): Call gdk_flush before leaving GDK critical region.
5258 (fillRect): Likewise.
5259 (drawRect): Likewise.
5260 (copyArea): Likewise.
5261 (copyPixmap): Likewise.
5262 (clearRect): Likewise.
5263 (drawArc): Likewise.
5264 (drawPolyline): Likewise.
5265 (drawPolygon): Likewise.
5266 (fillPolygon): Likewise.
5267 (fillArc): Likewise.
5268 (drawOval): Likewise.
5269 (fillOval): Likewise.
5271 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5273 (GdkFontMetrics): Add style argument to initState call.
5274 (stringWidth(String,int,int,String)): Add style parameter.
5275 (stringWidth(String)): Add style argument to stringWidth call.
5276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5277 (initState): Set pango font style and weight based on AWT style
5278 parameter. Pass default GTK language to
5279 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5280 simply dividing by PANGO_SCALE.
5281 (stringWidth): Set pango font style and weight based on AWT style
5284 * java/awt/Button.java (next_button_number): New field.
5285 (paramString): Change output.
5286 (generateName): New method.
5287 (getUniqueLong): New method.
5289 2004-06-14 Kim Ho <kho@redhat.com>
5291 * javax/swing/JTabbedPane.java:
5292 (setComponentAt): Set the component, not
5294 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5295 (actionPerformed): Let deiconize catch exception.
5297 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5299 * javax/swing/JPopupMenu.java:
5300 (setVisible): Corrected location of a
5301 heavyweight popup menu.
5303 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5305 * javax/swing/MenuSelectionManager.java:
5306 Ran through jalopy to fix formatting style.
5308 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5310 * javax/swing/JLayeredPane.java:
5311 (remove): Revalidate and repaint layered pane after
5312 the component was removed.
5313 javax/swing/JMenu.java:
5314 (setVisible): Display popup menu at the user location,
5315 if one was set by the user.
5316 (setMenuLocation): Reimplemented. Fixed javadoc.
5317 * javax/swing/JMenuBar.java: Added javadoc.
5318 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5319 (MODEL_CHANGED_PROPERTY): New Property.
5320 (isSelected): Implemented.
5321 (setBorderPainted): Fire PropertyChangeEvent
5322 if paintBorder property changes.
5323 (setSelected): Implemented.
5324 (setSelectionModel): Implemented.
5325 * javax/swing/JPopupMenu.java: Added Javadoc
5326 (pack): Implemented.
5327 (setVisible): Reimplemented.
5328 (show): Fixed location.
5329 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5330 Container instead of JPanel.
5331 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5332 (clearSelectedPath): Reimplemented to clear selectedPath
5334 (processMouseEvent): Reimplemented.
5335 (setSelectedPath): Fire stateChange event indicating that
5336 selected menu path has changed.
5337 (getPath): Change to use ArrayList instead of Vector.
5338 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5339 (installUI): call installKeyboardActions().
5340 (uninstallUI): call uninstallKeyboardActions().
5342 2004-06-13 Michael Koch <konqueror@gmx.de>
5344 * javax/swing/text/DefaultCaret.java,
5345 javax/swing/text/BadLocationException.java:
5348 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5350 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5351 DEFAULT_COLS): New variables.
5352 (create): Don't allow 0 rows or 0 columns. Instead, set the
5353 values to DEFAULT_ROWS or DEFAULT_COLS.
5354 (getMinimumSize): Likewise.
5355 (getPreferredSize): Likewise.
5356 (minimumSize): Likewise.
5357 (preferredSize): Likewise.
5358 (create): Set peer's editable state.
5359 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5360 zero. Update javadocs.
5361 (TextArea(String)): Likewise.
5362 (TextArea(int,int)): Fix javadocs.
5363 (TextArea(String,int,int,int)): Only throw exception if one of
5364 rows or columns is zero. Fix javadocs.
5366 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5368 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5369 addition to Components.
5371 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5372 wasn't consumed by normal processing, send it to the parent
5375 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5376 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5379 2004-06-11 David Jee <djee@redhat.com>
5381 * java/awt/MediaTracker.java
5382 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5383 (addImage(Image,int,int,int)): Likewise.
5385 2004-06-11 Michael Koch <konqueror@gmx.de>
5387 * javax/swing/text/AbstractDocument.java,
5388 javax/swing/text/Document.java,
5389 javax/swing/text/GapContent.java,
5390 javax/swing/text/JTextComponent.java,
5391 javax/swing/text/PlainDocument.java:
5394 2004-06-11 Michael Koch <konqueror@gmx.de>
5396 * javax/swing/JRootPane.java
5397 (AccessibleJRootPane.serialVersionUID): New field.
5398 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5399 (AccessibleJRootPane.getAccessibleRole): New method.
5400 (RootLayout): Implements Serializable.
5401 (RootLayout.serialVersionUID): New field.
5402 (RootLayout.RootLayout): New constructor.
5403 (setJMenuBar): Made public.
5404 (getJMenuBar): Likewise.
5405 (JRootPane): Likewise.
5406 (createContentPane): Likewise.
5407 (createGlassPane): Likewise.
5408 (createLayeredPane): Likewise.
5410 2004-06-11 Michael Koch <konqueror@gmx.de>
5412 * javax/swing/SwingUtilities.java
5413 (isLeftMouseButton): Fixed javadoc.
5414 (isMiddleMouseButton): Likewise.
5415 (isRightMouseButton): Likewise.
5417 2004-06-11 Michael Koch <konqueror@gmx.de>
5419 * javax/swing/JScrollPane.java
5420 (serialVersionUID): New field.
5421 (columnHeader): Made protected.
5422 (rowHeader): Likewise.
5423 (lowerLeft): Likewise.
5424 (lowerRight): Likewise.
5425 (upperLeft): Likewise.
5426 (upperRight): Likewise.
5427 (horizontalScrollBar): Likewise.
5428 (horizontalScrollBarPolicy): Likewise.
5429 (verticalScrollBar): Likewise.
5430 (verticalScrollBarPolicy): Likewise.
5431 (viewport): Likewise.
5433 2004-06-11 Michael Koch <konqueror@gmx.de>
5435 * javax/swing/LookAndFeel.java: Fixed javadocs.
5437 2004-06-11 Michael Koch <konqueror@gmx.de>
5439 * javax/swing/JEditorPane.java: Fixed javadocs.
5440 (JEditorPane): Removed redundant call to to this().
5441 (fireHyperlinkUpdate): Implemented.
5443 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5445 * javax/swing/JMenu.java: Fixed file name
5446 in the file comment.
5448 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5450 * javax/swing/JMenu.java: Added javadoc.
5451 (JMenu): Added MenuChangeListener to listen to
5452 ChangeEvents occuring in menu's model.
5453 (insert): Throw IllegalArgumentException if
5454 index is less than 0
5455 (setSelected): Reimplement.
5456 (setPopupMenuVisible): Call menu's model isEnabled()
5457 (setDelay): Throw IllegalArgumentException if
5458 given amount of delay is less than 0.
5459 (createActionComponent): Implemented.
5460 (createActionChangeListener): Implemented.
5461 (addSeparator): Implemented.
5462 (getItem): Throw IllegalArgumentException if index is
5464 (getItemCount): Implemented.
5465 (fireMenuSelected): Changed to use menuEvent.
5466 (fireMenuDeselected): Likewise.
5467 (fireMenuCanceled): Likewise.
5468 (setAccelerator): Changed to throw an error if this
5470 (doClick): Implemented.
5471 (JMenu.ActionChangedListener): New inner class to handle
5472 PropertyChangeEvents occuring in the actions associated with menu.
5473 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5474 (BasicMenuUI): Added PropertyChangeListener to the menu.
5475 (createChangeListener): Implemented.
5476 (createMenuDragMouseListener): Likewise.
5477 (createMenuKeyListener): Likewise.
5478 (createPropertyChangeListener): Likewise.
5479 (uninstallListeners): Likewise.
5480 (BasicMenuUI.MouseInputHandler): Reimplemented.
5481 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5482 (BasicMenuUI.ChangeHandler): Likewise.
5483 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5484 (BasicMenuUI.MenuKeyHandler): Likewise.
5486 2004-06-10 David Jee <djee@redhat.com>
5488 * java/awt/MediaTracker.java
5489 (imageUpdate): Only do notifyAll() if the image is complete.
5491 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5493 * javax/swing/JApplet.java:
5494 (getJMenuBar): Made public.
5495 (setJMenuBar): Likewise.
5496 * javax/swing/JFrame.java:
5497 (getJMenuBar): Made public.
5498 (setJMenuBar): Likewise.
5499 * javax/swing/JWindow.java:
5500 (getJMenuBar): Removed.
5501 (setJMenuBar): Removed.
5503 2004-06-10 Michael Koch <konqueror@gmx.de>
5505 * javax/swing/JEditorPane.java
5506 (createEditorKitForContentType): Fixed visibility.
5507 (fireHyperlinkUpdate): Likewise.
5508 (getContentType): Likewise.
5509 (getEditorKit): Likewise.
5510 (getEditorKitForContentType): Likewise.
5511 (getPage): Likewise.
5513 (registerEditorKitForContentTyoe): Likewise.
5514 (replaceSelection): Likewise.
5515 (setContentType): Likewise.
5516 (setEditorKit): Likewise.
5517 (setPage): Likewise.
5519 2004-06-10 Michael Koch <konqueror@gmx.de>
5521 * javax/swing/Timer.java
5522 (Timer): New constructor.
5523 * javax/swing/plaf/basic/BasicProgressBarUI.java
5524 (animationTimer): Don't initialize at construction.
5525 (startAnimationTimer): Added since tag.
5526 (stopAnimationTimer): Likewise.
5527 (installUI): Use new Timer constructor.
5528 * javax/swing/plaf/basic/BasicScrollBarUI.java
5529 (installUI): Likewise.
5530 * javax/swing/plaf/basic/BasicSliderUI.java
5531 (installUI): Likewise.
5533 2004-06-10 Michael Koch <konqueror@gmx.de>
5535 * javax/swing/ButtonGroup.java
5536 (serialVersionUID): Made private.
5537 (buttons): Renamed from v, added javadoc.
5538 (sel): Added javadoc.
5539 (ButtonGroup): Likewise.
5542 (getElements): Likewise.
5543 (getSelection): Likewise.
5544 (setSelected): Likewise.
5545 (isSelected): Likewise.
5546 (getButtonCount): Likewise.
5548 2004-06-10 Michael Koch <konqueror@gmx.de>
5550 * javax/swing/ButtonGroup.java,
5551 javax/swing/ImageIcon.java,
5552 javax/swing/JEditorPane.java,
5553 javax/swing/JRootPane.java,
5554 javax/swing/JTextField.java,
5555 javax/swing/LookAndFeel.java,
5556 javax/swing/plaf/basic/BasicTextUI.java:
5559 2004-06-10 Michael Koch <konqueror@gmx.de>
5561 * javax/swing/text/Style.java: Added javadocs.
5563 2004-06-10 Michael Koch <konqueror@gmx.de>
5565 * javax/swing/JComponent.java
5566 (fireVetoableChange): Removed redundant cast.
5567 * javax/swing/JLabel.java
5568 (getDisabledIcon): Save icon for next call.
5570 2004-06-10 Michael Koch <konqueror@gmx.de>
5572 * javax/swing/KeyStroke.java
5573 (getKeyStroke(char,boolean)): Marked deprecated.
5575 2004-06-10 Michael Koch <konqueror@gmx.de>
5577 * javax/swing/DefaultCellEditor.java,
5578 javax/swing/GrayFilter.java,
5579 javax/swing/event/DocumentEvent.java,
5580 javax/swing/text/JTextComponent.java,
5581 javax/swing/text/MutableAttributeSet.java:
5584 2004-06-10 Michael Koch <konqueror@gmx.de>
5586 * javax/swing/plaf/BorderUIResource.java:
5587 Added serialVersionUID all over.
5589 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5591 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5593 2004-06-10 Michael Koch <konqueror@gmx.de>
5595 * javax/swing/table/DefaultTableCellRenderer.java
5596 (noFocusBorder): Initialize directly.
5598 2004-06-10 Michael Koch <konqueror@gmx.de>
5600 * javax/swing/plaf/basic/BasicArrowButton.java
5601 (setDirection): Use method argument.
5603 2004-06-10 Michael Koch <konqueror@gmx.de>
5605 * javax/swing/plaf/BorderUIResource.java,
5606 javax/swing/plaf/ComponentUI.java,
5607 javax/swing/undo/CompoundEdit.java,
5608 javax/swing/undo/StateEdit.java:
5609 Fixed javadocs all over.
5611 2004-06-10 Michael Koch <konqueror@gmx.de>
5613 * javax/swing/DefaultButtonModel.java
5614 (ARMED): Made public final, fixed value.
5615 (ENABLED): Likewise.
5616 (PRESSED): Likewise.
5617 (ROLLOVER): Likewise.
5618 (SELECTED): Likewise.
5619 (stateMask): Initialize directly.
5620 (listenerList): Likewise.
5621 (mnemonic): Likewise.
5622 (fireStateChanged): Removed argument, use changeEvent as event.
5623 All places where this method is called are fixed too.
5624 (getActionCommant): Fixed javadoc.
5625 (setGroup): Fixed javadoc.
5626 (getGroup): New method.
5628 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5630 * javax/swing/AbstractButton.java
5631 (AbstractButton): Use init() to initialize the button.
5632 (init): New Method. Initializes AbstractButton.
5633 * javax/swing/JMenuItem.java: Documented.
5634 (JMenuItem): Reimplemented.
5635 (init): Implemented.
5636 (setEnabled): Changed to call super.setEnabled()
5637 (processMouseEvent): Reimplemented.
5638 (fireMenuKeyPressed): Implemented.
5639 (fireMenuKeyReleased): Implemented.
5640 (fireMenuKeyTyped): Implemented.
5641 (menuSelectionChanged): disarm the model if the menu item was
5643 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5644 (getPath): Change to use ArrayList instead of Vector.
5645 (getPreferredSize): Renamed variable.
5646 (paintMenuItem): Paint margin area of menu item.
5647 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5648 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5649 menu item's bounds before clearing the selection.
5651 2004-06-09 David Jee <djee@redhat.com>
5653 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5654 (GtkTextComponentPeer): Set caret position to 0.
5655 * java/awt/TextComponent.java
5656 (setText): Set caret position to 0.
5657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5658 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5659 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5660 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5662 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5663 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5666 2004-06-09 Kim Ho <kho@redhat.com>
5668 * Makefile.am: New files
5669 * Makefile.in: Regenerated
5670 * java/awt/Container.java
5671 (getComponentAt): Removed.
5672 * javax/swing/AbstractAction.java
5673 (ENABLED_PROPERTY): New property.
5674 (putValue): Fire PropertyChangeEvents.
5675 (setEnabled): ditto.
5676 (firePropertyChange): Javadoc and implement
5678 * javax/swing/AbstractButton.java
5679 (setAction): Don't create PropertyChangeListener
5680 if new Action is null.
5681 (setIcon): Don't set icon till after comparing
5683 (configurePropertiesFromAction): Check mnemonic
5684 key before calling intValue().
5685 (createActionPropertyChangeListener): Check
5686 properties rather than bulk change.
5687 * javax/swing/DefaultDesktopManager.java:
5689 * javax/swing/DesktopManager.java:
5691 * javax/swing/JComponent.java
5692 (fireVetoableChange): Implement.
5693 (paintImmediately): Use root component.
5694 * javax/swing/JDesktopPane.java: Implement
5695 * javax/swing/JInternalFrame.java: Implement
5696 * javax/swing/JLabel.java
5697 (getDisabledIcon): Return grayscaled icon if
5698 no disabled icon specified.
5699 * javax/swing/JMenuBar.java
5700 (getComponentAtIndex): Use getComponent
5701 * javax/swing/JOptionPane.java
5702 (getDesktopPaneForComponent): Use SwingUtilities'
5704 (getFrameForComponent): ditto.
5705 * javax/swing/JSplitPane.java
5706 (remove): Use getComponent.
5707 * javax/swing/SwingUtilities.java
5708 (convertPoint): Implement.
5709 * javax/swing/plaf/basic/BasicButtonUI.java
5710 (paintButtonNormal): Check opaqueness before
5712 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5714 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5716 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5718 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5720 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5721 Change InternalFrame and Desktop colors.
5723 2004-06-09 David Jee <djee@redhat.com>
5725 * java/awt/Container.java
5726 (remove): Do not set component to invisible.
5728 2004-06-09 Michael Koch <konqueror@gmx.de>
5730 * javax/swing/tree/DefaultMutableTreeNode.java
5731 (getLeafCount): Renamed enum to e.
5733 2004-06-09 Michael Koch <konqueror@gmx.de>
5735 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5736 (positionForMouseEvent): Removed redundant semicolon.
5737 (continueDrag): Use method arguments.
5739 2004-06-09 Michael Koch <konqueror@gmx.de>
5741 * javax/swing/border/TitledBorder.java,
5742 javax/swing/filechooser/FileSystemView.java,
5743 javax/swing/plaf/basic/BasicButtonListener.java,
5744 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5745 javax/swing/plaf/basic/BasicLabelUI.java,
5746 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5747 javax/swing/plaf/basic/BasicScrollBarUI.java,
5748 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5749 javax/swing/plaf/basic/BasicSliderUI.java,
5750 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5751 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5752 javax/swing/table/JTableHeader.java,
5753 javax/swing/text/AbstractDocument.java,
5754 javax/swing/text/DefaultCaret.java,
5755 javax/swing/text/StyledEditorKit.java,
5756 javax/swing/tree/DefaultTreeCellEditor.java:
5757 Reworked import statements.
5759 2004-06-08 Graydon Hoare <graydon@redhat.com>
5761 * javax/swing/Box.java: Temporarily comment out code
5762 broken due to visibility bug.
5764 2004-06-09 Michael Koch <konqueror@gmx.de>
5766 * javax/swing/ImageIcon.java
5767 (ImageIcon): Added missing constructor.
5769 2004-06-08 Michael Koch <konqueror@gmx.de>
5771 * javax/swing/JToggleButton.java
5772 (JToggleButton): New constructor.
5773 (getAccessibleContext): Moved documentation into javadoc.
5774 (getUIClassID): Likewise.
5776 2004-06-08 Michael Koch <konqueror@gmx.de>
5778 * javax/swing/AbstractButton.java
5779 (getDisabledIcon): Create disabled icon if none exists yet.
5781 2004-06-08 Michael Koch <konqueror@gmx.de>
5783 * javax/swing/plaf/basic/BasicLookAndFeel.java
5784 (initClassDefaults): Added FormattedTextFieldUI.
5785 (loadResourceBundle): Renamed enum to e.
5787 2004-06-08 Michael Koch <konqueror@gmx.de>
5789 * javax/swing/plaf/basic/BasicButtonUI.java
5790 (paintIcon): Simplified.
5791 (paintText): Paint disabled button correctly.
5793 2004-06-08 Michael Koch <konqueror@gmx.de>
5795 * javax/swing/JComponent.java
5796 (createToolTip): Use official JToolTip API.
5798 2004-06-08 Michael Koch <konqueror@gmx.de>
5800 * javax/swing/JToolTip.java
5801 (JToolTip): No arguments in API.
5802 (setTipText): New method.
5804 2004-06-08 Michael Koch <konqueror@gmx.de>
5806 * javax/swing/SwingUtilities.java
5807 (isLeftMouseButton): New method.
5808 (isMiddleMouseButton): New method.
5809 (isRightMouseButton): New method.
5811 2004-06-08 Michael Koch <konqueror@gmx.de>
5813 * javax/swing/AbstractButton.java,
5814 javax/swing/CellRendererPane.java,
5815 javax/swing/JCheckBoxMenuItem.java,
5816 javax/swing/JColorChooser.java,
5817 javax/swing/JComboBox.java,
5818 javax/swing/JComponent.java,
5819 javax/swing/JDesktopPane.java,
5820 javax/swing/JFileChooser.java,
5821 javax/swing/JMenu.java,
5822 javax/swing/JMenuItem.java,
5823 javax/swing/JOptionPane.java,
5824 javax/swing/JPasswordField.java,
5825 javax/swing/JPopupMenu.java,
5826 javax/swing/JProgressBar.java,
5827 javax/swing/JRadioButtonMenuItem.java,
5828 javax/swing/JScrollBar.java,
5829 javax/swing/JSeparator.java,
5830 javax/swing/JSlider.java,
5831 javax/swing/JSplitPane.java,
5832 javax/swing/JTabbedPane.java,
5833 javax/swing/JTextField.java,
5834 javax/swing/JToolBar.java,
5835 javax/swing/text/JTextComponent.java:
5836 Fixed all constructors of accessibility classes.
5838 2004-06-08 Michael Koch <konqueror@gmx.de>
5840 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5843 2004-06-08 Michael Koch <konqueror@gmx.de>
5845 * javax/swing/Box.java
5846 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5847 (AccessibleBoxFiller.serialVersionUID): New member variable.
5848 * javax/swing/DefaultButtonModel.java
5849 (stateMask): Made protected.
5850 (listenerList): Likewise.
5851 (changeEvent): Likewise.
5853 (mnemonic): Likewise.
5854 (actionCommand): Likewise.
5855 (getListeners): New method.
5856 (getActionListeners): New method.
5857 (getItemListeners): New method.
5858 (getChangeListeners): New method.
5859 (fireItemStateChanged): Simplified.
5860 (fireActionPerformed): Simplified.
5861 (fireStateChanged): Simplified.
5862 * javax/swing/JFrame.java
5863 (JFrame): Implements WindowContants.
5864 (HIDE_ON_CLOSE): Removed.
5865 (EXIT_ON_CLOSE): Removed.
5866 (DISPOSE_ON_CLOSE): Removed.
5867 (DO_NOTHING_ON_CLOSE): Removed.
5868 (processWindowEvent): Exit with code 0.
5869 (setDefaultCloseOperation): Do security check before setting value.
5870 * javax/swing/JOptionPane.java
5871 (message): Initialize only in constructor.
5872 * javax/swing/JToolTip.java: Removed unused imports.
5873 * javax/swing/JViewport.java
5874 (serialVersionUID): New member variable.
5875 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5876 (BLIT_SCROLL_MODE): Likewise.
5877 (BACKINGSTORE_SCROLL_MODE): Likewise.
5878 (scrollUnderway): Made protected.
5879 (isViewSizeSet): Likewise.
5880 * javax/swing/ListModel.java: Fixed javadoc.
5881 * javax/swing/Popup.java: Likewise.
5882 * javax/swing/RepaintManager.java
5883 (paintDirtyRegions): Don't use internal classes of
5884 java.util.AbstractMap.
5885 * javax/swing/ScrollPaneConstants.java: Reindented.
5886 * javax/swing/ScrollPaneLayout.java
5887 (viewport): Made protected.
5888 (verticalScrollBar): Made protected, renamed to vsb.
5889 (horizontalScrollBar): Made protected, renamed to hsb.
5890 (rowHeader): Made protected, renamed to rowHead.
5891 (columnHeader): Made protected, renamed to colHead.
5892 (lowerLeft): Made protected.
5893 (lowerRight): Made protected.
5894 (upperLeft): Made protected.
5895 (upperRight): Made protected.
5896 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5897 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5899 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5901 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5902 LOADING if flags has SOMEBITS set.
5904 2004-06-07 Michael Koch <konqueror@gmx.de>
5906 * javax/swing/AbstractButton.java: Reorganized imports.
5907 * javax/swing/ActionMap.java: Likewise.
5908 * javax/swing/DefaultButtonModel.java: Likewise.
5909 * javax/swing/DefaultListModel.java: Likewise.
5910 * javax/swing/ImageIcon.java: Likewise.
5911 (serialVersionUID): New member variable.
5912 * javax/swing/JComboBox.java: Reorganized imports.
5913 * javax/swing/JComponent.java: Likewise.
5914 (ui): Made protected.
5915 (listenerList): Made protected.
5916 (TOOL_TIP_TEXT_KEY): New constant.
5917 (scrollRectToVisible): Removed redundant null check.
5918 * javax/swing/JFrame.java: Reorganized imports.
5919 * javax/swing/JInternalFrame.java: Reorganized imports.
5920 * javax/swing/JProgressBar.java: Likewise.
5921 * javax/swing/JRootPane.java: Likewise.
5922 * javax/swing/JScrollBar.java: Likewise.
5923 * javax/swing/JSeparator.java: Likewise.
5924 * javax/swing/JSlider.java: Likewise.
5925 * javax/swing/JTabbedPane.java: Likewise.
5926 * javax/swing/JTextField.java: Likewise.
5927 * javax/swing/JToolBar.java: Likewise.
5928 * javax/swing/JTree.java: Likewise.
5929 * javax/swing/JViewport.java: Likewise.
5930 * javax/swing/JWindow.java: Likewise.
5931 * javax/swing/KeyStroke.java: Likewise.
5932 * javax/swing/LookAndFeel.java: Likewise.
5933 * javax/swing/MenuSelectionManager.java: Likewise.
5934 * javax/swing/SwingUtilities.java: Likewise.
5935 * javax/swing/Timer.java: Likewise.
5936 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5937 * javax/swing/JList.java
5938 (HORIZONTAL_WRAP): Made final, fixed value.
5939 (VERTICAL): Likewise.
5940 (VERTICAL_WRAP): Likewise.
5942 2004-06-07 Michael Koch <konqueror@gmx.de>
5944 * javax/swing/AbstractButton.java
5945 (serialVersionUID): New member variable.
5946 (AccessibleAbstractButton.serialVersionUID): Likewise.
5947 (AbstractButton): Made public.
5948 * javax/swing/Box.java
5949 (AccessibleBox.serialVersionUID): New member variable.
5950 (Filler.serialVersionUID): Likewise.
5951 * javax/swing/DefaultListSelectionModel.java
5952 (serialVersionUID): Likewise.
5953 * javax/swing/JApplet.java
5954 (serialVersionUID): Likewise.
5955 * javax/swing/JCheckBox.java
5956 (serialVersionUID): Likewise.
5957 * javax/swing/JCheckBoxMenuItem.java
5958 (serialVersionUID): Likewise.
5959 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5960 * javax/swing/JColorChooser.java
5961 (serialVersionUID): Likewise.
5962 (AccessibleJColorChooser.serialVersionUID): Likewise.
5963 * javax/swing/JComponent.java
5964 (serialVersionUID): Made private.
5965 (AccessibleJComponent.serialVersionUID): New member variable.
5966 * javax/swing/JDesktopPane.java
5967 (serialVersionUID): Likewise.
5968 * javax/swing/JDialog.java
5969 (serialVersionUID): Likewise.
5970 * javax/swing/JFormattedTextField.java
5971 (serialVersionUID): Fixed value.
5972 * javax/swing/JFrame.java
5973 (serialVersionUID): New member variable.
5974 (getDefaultCloseOpertation): Made public.
5975 * javax/swing/JLayeredPane.java
5976 (serialVersionUID): Likewise.
5977 (LAYER_PROPERTY): Made final, fixed value.
5978 (JLayeredPane): Made public.
5979 * javax/swing/JMenu.java
5980 (AccessibleJMenu.serialVersionUID): New member variable.
5981 (WinListener.serialVersionUID): Likewise.
5982 * javax/swing/JMenuBar.java
5983 (serialVersionUID): Likewise.
5984 (getComponentAtIndex): Added @deprecated tag.
5985 * javax/swing/JMenuItem.java
5986 (serialVersionUID): New member variable.
5987 (AccessibleJMenuItem.serialVersionUID): Likewise.
5988 * javax/swing/JOptionPane.java
5989 (serialVersionUID): Likewise.
5990 (AccessibleJOptionPane.serialVersionUID): Likewise.
5991 * javax/swing/JPopupMenu.java
5992 (serialVersionUID): Likewise.
5993 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5994 (getPopupMenuListeners): New method.
5995 (getComponentAtIndex): Added @deprecated tag.
5996 * javax/swing/JProgressBar.java
5997 (serialVersionUID): New member variable.
5998 (AccessibleJProgressBar.serialVersionUID): Likewise.
5999 * javax/swing/JRadioButton.java
6000 (serialVersionUID): Likewise.
6001 * javax/swing/JRadioButtonMenuItem.java
6002 (serialVersionUID): Likewise.
6003 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6004 * javax/swing/JScrollBar.java
6005 (serialVersionUID): Likewise.
6006 (AccessibleJScrollBar.serialVersionUID): Likewise.
6007 * javax/swing/JSeparator.java
6008 (serialVersionUID): Likewise.
6009 (AccessibleJSeparator.serialVersionUID): Likewise.
6010 * javax/swing/JSlider.java: Fixed javadocs.
6011 (AccessibleJSlider.serialVersionUID): New member variable.
6012 * javax/swing/JSplitPane.java: Added copyright statement.
6013 (serialVersionUID): New member variable.
6014 (AccessibleJSplitPane.serialVersionUID): Likewise.
6015 * javax/swing/JTabbedPane.java
6016 (serialVersionUID): Likewise.
6017 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6018 (ModelListener.serialVersionUID): Likewise.
6019 (ModelListener.ModelListener): New constructor.
6020 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6021 (WRAP_TAB_LAYOUT): Likewise.
6022 * javax/swing/JTable.java
6023 (serialVersionUID): New member variable.
6024 * javax/swing/JToggleButton.java
6025 (serialVersionUID): Likewise.
6026 (ToggleButtonModel): Made static.
6027 (ToggleButtonModel.serialVersionUID): New member variable.
6028 * javax/swing/JToolTip.java
6029 (serialVersionUID): Likewise.
6030 * javax/swing/JTree.java
6031 (serialVersionUID): Likewise.
6032 * javax/swing/JWindow.java
6033 (serialVersionUID): Likewise.
6034 * javax/swing/Timer.java
6035 (serialVersionUID): Likewise.
6037 2004-06-06 Michael Koch <konqueror@gmx.de>
6039 * javax/swing/SwingConstants.java
6040 (NEXT): New constant.
6041 (PREVIOUS): Likewise.
6042 * javax/swing/UIManager.java
6043 (LookAndFeel): Made public.
6044 (LookAndFeel.getClassName): Likewise.
6045 (LookAndFeel.getName): Likewise.
6047 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6049 * javax/swing/JCheckBoxMenuItem.java:
6051 * javax/swing/JMenu.java: Likewise.
6052 * javax/swing/JMenuBar.java: Likewise.
6053 * javax/swing/JMenuItem.java: Likewise.
6054 * javax/swing/JPopupMenu.java: Likewise.
6055 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6056 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6057 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6058 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6059 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6060 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6061 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6063 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6065 * javax/swing/plaf/basic/BasicMenuUI.java:
6066 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6067 Call getPath() from super class instead.
6069 2004-05-31 David Jee <djee@redhat.com>
6071 * java/awt/Container.java
6072 (remove): Set component visibility to false after removing it.
6074 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6076 * java/awt/Component.java (getForeground): Return SystemColor if
6078 (getBackground): Likewise.
6080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6081 (item_highlighted): New function.
6082 (connectSignals): Set item_highlighted as list's select
6085 * java/applet/Applet.java: Revert changes from 2004-04-29,
6086 2004-03-15 and 2004-03-14.
6088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6089 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6092 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6093 "Dialog" as the default font.
6094 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6096 * java/awt/Component.java (getFont): Return "Dialog" font by
6098 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6099 Multiply size argument to pango_font_description_set_size by the
6100 DPI conversion factor rather than by PANGO_SCALE.
6101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6102 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6105 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6109 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6111 Divide baseline y coordinate by DPI conversion factor rather
6112 than by PANGO_SCALE.
6113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6114 (area_prepared): Fix typo.
6115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6116 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6118 (dpi_conversion_factor): New global variable.
6119 (init_dpi_conversion_factor): New function to calculate and
6120 track DPI conversion factor.
6121 (dpi_changed_cb): New callback.
6122 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6124 2004-05-27 David Jee <djee@redhat.com>
6126 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6127 (getGraphics): Return a new GdkGraphics instance.
6128 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6129 (getGraphics): Call super.getGraphics().
6131 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6134 (setNativeBounds): Clamp width and height values to >= 0.
6136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6137 (find_fg_color_widget): Handle GtkOptionMenu specially.
6139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6140 (pre_event_handler): Only post configure events to visible
6143 2004-05-26 David Jee <djee@redhat.com>
6145 * java/awt/BorderLayout.java
6146 (layoutContainer): Fix size calculations.
6148 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6151 (window_wm_protocols_filter): Remove function.
6152 (create): Remove filter that removes WM_TAKE_FOCUS client
6155 2004-06-17 Anthony Green <green@redhat.com>
6157 * java/util/zip/ZipFile.java (getInputStream): Return null if
6160 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6161 directory contents to the class path.
6163 2004-06-15 Andrew Haley <aph@redhat.com>
6165 * java/lang/natSystem.cc (getenv0): Don't assume environment
6166 variable is Latin 1 coded.
6168 2004-06-14 Andreas Jaeger <aj@suse.de>
6170 * configure.in: Support --enable-version-specific-runtime-libs.
6171 * configure: Regenerated.
6173 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6175 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6176 to pass ClassLoader argument.
6177 * java/util/GregorianCalendar.java: Likewise.
6178 * java/util/Currency.java: Likewise.
6179 * java/text/BreakIterator.java: Likewise.
6180 * java/text/Collator.java: Likewise.
6181 * java/text/DateFormat.java: Likewise.
6182 * java/text/DateFormatSymbols.java: Likewise.
6183 * java/text/DecimalFormatSymbols.java: Likewise.
6184 * java/text/NumberFormat.java: Likewise.
6185 * java/awt/Window.java: Likewise.
6187 2004-06-14 Andrew Haley <aph@redhat.com>
6189 * java/lang/System.java: (getenv0): New method.
6190 (getenv): Add security check. Do the right thing.
6191 * java/lang/natSystem.cc (getenv0): New method.
6193 2004-06-12 Mark Wielaard <mark@klomp.org>
6195 * javax/swing/RepaintManager.java
6196 (paintDirtyRegions): Use entrySet(), not values().
6198 2004-06-10 Mark Wielaard <mark@klomp.org>
6200 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6203 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6205 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6206 when we already know the answer.
6207 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6208 (setStartRule,setEndRule): Don't take abs of day number.
6209 (getOffset): Clarify docs. Add argument checks.
6210 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6211 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6214 2004-06-10 Tom Tromey <tromey@redhat.com>
6216 * interpret.cc (run): Handle wide fload.
6218 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6220 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6222 2004-06-05 Michael Koch <konqueror@gmx.de>
6224 * javax/swing/SwingConstants.java
6225 (NEXT): New constant.
6226 (PREVIOUS): Likewise.
6228 2004-06-05 Michael Koch <konqueror@gmx.de>
6230 * javax/swing/UIManager.java
6231 (LookAndFeel): Made public.
6232 (LookAndFeel.getName): Likewise.
6233 (LookAndFeel.getClassName): Likewise.
6235 2004-06-03 Michael Koch <konqueror@gmx.de>
6237 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6238 (requestFocus): Revert last changes.
6239 (gtkRequestFocus): Removed.
6240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6241 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6243 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6244 Reverted last patch.
6245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6246 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6247 Reverted comment change.
6249 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6251 * javax/swing/JCheckBoxMenuItem.java:
6253 * javax/swing/JMenu.java: Likewise.
6254 * javax/swing/JMenuBar.java: Likewise.
6255 * javax/swing/JMenuItem.java: Likewise.
6256 * javax/swing/JPopupMenu.java: Likewise.
6257 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6258 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6259 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6260 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6261 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6262 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6263 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6265 2004-06-01 Tom Tromey <tromey@redhat.com>
6267 * java/io/ObjectStreamField.java: Cleaned up imports.
6269 2004-06-01 Michael Koch <konqueror@gmx.de>
6271 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6273 2004-06-01 Mark Wielaard <mark@klomp.org>
6275 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6277 2004-06-01 Michael Koch <konqueror@gmx.de>
6279 * java/security/Security.java
6280 (insertProviderAt): Use equals() instead of ==.
6281 (removeProvicer): Likewise.
6282 (getProvider): Likewise.
6283 * java/security/Signature.java
6284 (sign): Don't set state to UNINITIALIZED.
6287 2004-06-01 Mark Wielaard <mark@klomp.org>
6289 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6290 Implement by calling gtkRequestFocus.
6291 (gtkRequestFocus): New native method.
6292 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6293 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6295 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6297 (filter_expose_event_handler):
6299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6300 (menu_pos): Mark static.
6302 2004-06-01 Michael Koch <konqueror@gmx.de>
6304 * java/text/CollationElementIterator.java,
6305 java/text/CollationKey.java,
6306 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6307 * testsuite/libjava.mauve/xfails: Removed all
6308 java.text.CollationElementIterator tests.
6310 2004-06-01 Michael Koch <konqueror@gmx.de>
6312 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6314 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6315 Java 1.5 keyword usage.
6317 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6319 * javax/swing/plaf/basic/BasicMenuUI.java:
6320 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6321 Call getPath() from super class instead.
6323 2004-05-31 Michael Koch <konqueror@gmx.de>
6325 * java/io/SequenceInputStream.java:
6326 Rename enum to e because enum is a keyword in Java 1.5.
6328 2004-05-31 Michael Koch <konqueror@gmx.de>
6330 * gnu/java/rmi/rmic/CompilerProcess.java:
6331 Fixed javadoc to by XHTML compliant.
6333 2004-05-30 Mark Wielaard <mark@klomp.org>
6335 * java/awt/Toolkit.java (loadSystemColors): Implement.
6337 2004-05-30 Michael Koch <konqueror@gmx.de>
6339 * java/lang/System.java: Reordered imports.
6341 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6343 * java/text/DecimalFormat.java
6344 (parse): Fixed parsing of decimal strings. Number of maximum
6345 digits to be read should now work.
6346 * java/text/SimpleDateFormat.java
6347 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6348 formatter. This fixes DateFormatTest.
6350 2004-05-30 Michael Koch <konqueror@gmx.de>
6352 * java/nio/Buffer.java
6353 (limit): Fixed off by one error.
6354 * java/nio/CharBuffer.java
6355 (wrap): Fixed arguments, added javadocs.
6357 2004-05-30 Michael Koch <konqueror@gmx.de>
6359 * gnu/java/beans/BeanInfoEmbryo.java,
6360 java/awt/im/InputContext.java,
6361 javax/swing/tree/DefaultMutableTreeNode.java:
6362 Rename enum to e because enum is a keyword in Java 1.5.
6364 2004-05-30 Michael Koch <konqueror@gmx.de>
6366 * gnu/java/math/MPN.java,
6367 java/awt/geom/Arc2D.java:
6368 Fixed javadocs all over.
6370 2004-05-30 Michael Koch <konqueror@gmx.de>
6372 * java/awt/DefaultKeyboardFocusManager.java
6373 (dispatchEvent): Call method to get key event dispatchers.
6374 (dispatchKeyEvent): Call method to get key event post processors.
6375 * javax/swing/JComponent.java
6376 (listenerList): Made protected.
6377 * javax/swing/JOptionPane.java
6378 (message): Don't initialize.
6379 (JOptionPane): Set message text.
6380 * javax/swing/JPopupMenu.java
6381 (show): Fixed typo in argument name.
6382 * javax/swing/RepaintManager.java
6383 (paintDirtyRegions): Use public API of java.util.Map.
6384 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6385 (positionForMouseEvent): Removed redundant ';'.
6386 (continueDrag): Use method arguments.
6388 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6390 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6393 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6395 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6397 * gnu/gcj/RawDataManaged.java: New file.
6398 * java/lang/Thread.java (data): Declare as RawDataManaged.
6399 * java/lang/natThread.cc (init_native): Cast natThread data to
6400 RawDataManaged, not jobject.
6401 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6402 * Makefile.in: Rebuilt.
6404 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6406 * java/util/SimpleTimeZone.java: Reverting my last change until I
6407 can fix it properly.
6409 2004-05-27 Michael Koch <konqueror@gmx.de>
6411 * javax/swing/JPopupMenu.java
6412 (isVisible): Do not use visible directly.
6413 (setVisible): Likewise.
6414 * javax/swing/JWindow.java
6415 (JWindow): call accessible constructor.
6416 * javax/swing/RepaintManager.java
6417 (paintDirtyRegions): Use public methods to obtain iterator.
6419 2004-05-25 David Jee <djee@redhat.com>
6421 * java/awt/Container.java
6422 (remove): Set component's parent to null only after we removed the
6423 component from its parent's layout manager.
6425 2004-05-25 David Jee <djee@redhat.com>
6427 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6428 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6430 * gnu/java/awt/peer/gtk/GtkListPeer.java
6431 (getSize): Change native method declaration.
6432 (minimumSize): Pass visible row count into getSize().
6433 (preferredSize): Likewise.
6434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6435 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6436 natural size. Use visible row count to determine the final height
6439 2004-05-21 Graydon Hoare <graydon@redhat.com>
6441 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6442 (setClip): Minor correction to order of operations.
6444 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6445 * javax/swing/ScrollPaneLayout.java: Likewise.
6446 * javax/swing/JViewPort.java: Likewise.
6447 * javax/swing/ViewportLayout.java: Likewise.
6449 * javax/swing/JComponent.java: Rewrite.
6450 * javax/swing/RepaintManager.java: Likewise.
6452 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6453 * javax/swing/JList.java
6454 (setSelectedIndices):
6455 (getSelectedIndices):
6456 (getSelectedValues): New functions.
6457 (getPreferredScrollableViewportSize): Return preferred size.
6458 (getScrollableUnitIncrement):
6459 (getScrollableBlockIncrement): Initial implementations.
6460 * javax/swing/JRootPane.java: Clean up slightly.
6465 (isValidateRoot): Add overrides from JComponent.
6466 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6467 * javax/swing/UIManager.java (getDimension): Return the dimension.
6469 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6470 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6471 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6472 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6473 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6474 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6475 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6476 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6477 Likewise, and set background.
6478 * javax/swing/plaf/basic/BasicListUI.java:
6479 Likewise, and improve a bit.
6480 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6481 Likewise, and adjust calculations.
6482 * javax/swing/plaf/basic/BasicViewportUI.java:
6483 Likewise, and improve a bit.
6484 * javax/swing/plaf/basic/BasicLookAndFeel.java
6485 (Button.margin): Shrink.
6487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6488 Hack to set horizontal always, workaround pango.
6490 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6491 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6492 Synchronize more often, check cairo status after ops,
6493 handle changes to cairo pattern API, check for disposal.
6495 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6497 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6498 (BasicMenuItemUI): Create propertyChangeListener.
6499 (getPath):Implemented.
6500 (installListeners): Add propertyChangeListener to menuItem.
6501 (uninstallListeners): Remove propertyChangeListener from menuItem.
6502 (update): Implemented.
6503 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6504 (mouseEntered): Take insets of popup menu into account when
6505 calculating position of popup menu.
6507 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6509 * Makefile.am: Added new file.
6510 * Makefile.in: Regenerate.
6511 * javax/swing/JMenuBar.java:
6512 Started implementation.
6513 * javax/swing/JPopupMenu.java:
6514 (setVisible): Fixed location of lightweight/mediumweight
6516 (show): Fixed location of PopupMenu.
6517 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6518 New file. UI Delegate for JMenuBar.
6519 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6520 (mouseEntered): Corrected position of the submenu.
6522 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6525 to _gtk_accel_group_attach.
6526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6529 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6530 package access. Don't override setFont.
6531 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6532 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6533 gtkWidgetRequestFocus package access.
6534 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6536 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6537 Give gtkWidgetRequestFocus package access.
6538 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6539 gtkWidgetRequestFocus package access. Don't override setFont.
6540 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6542 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6543 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6545 (gtkSetFont): Likewise.
6546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6548 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6549 (gtkSetFont): Whitespace fix.
6551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6552 (gtkWidgetSetUsize): Remove method.
6554 2004-05-18 David Jee <djee@redhat.com>
6556 * java/awt/image/MemoryImageSource.java
6557 (newPixels(int,int,int,int,boolean)): Set only the specified
6558 rectangle of pixels.
6559 (newPixels(byte[],ColorModel,int,int)): Implement.
6560 (newPixels(int[],ColorModel,int,int)): Implement.
6562 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6564 * Makefile.am: Added new file.
6565 * Makefile.in: Regenerate.
6566 * javax/swing/JMenu.java: Started
6568 * javax/swing/JPopupMenu.java:
6569 (insert): If specified index is -1, then
6570 add component at the end.
6571 (isPopupTrigger): Reimplemented.
6572 (JPopupMenu.LightWeightPopup): setBounds
6573 of the lightWeightPopup before adding it
6575 (javax/swing/plaf/basic/BasicIconFactory.java):
6576 (getMenuArrowIcon): Implemented.
6577 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6578 (getPreferredSize): Add size of the arrow icon
6579 if this menu item is instance of JMenu.
6580 (paintMenuItem): Paint arrow icon if this
6581 menu item is a submenu.
6582 * javax/swing/plaf/basic/BasicMenuUI.java:
6583 New File. UI Delegate for JMenu.
6585 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6587 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6588 Post KEY_TYPED events.
6589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6590 (generates_key_typed_event): Remove function.
6592 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6594 * javax/swing/JRootPane.java
6595 (JRootPane.RootLayout): Reimplemented to
6596 set bounds of contentPane and menuBar.
6597 (setJMenuBar): Add menu bar to the layered pane.
6598 (createLayeredPane): Set layout of layeredPane
6600 * javax/swing/JLayeredPane.java:
6601 (addImpl): Calculate index of the component in the
6602 layeredPane according to the specified position within
6605 2004-05-17 David Jee <djee@redhat.com>
6607 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6608 (setPixels): Change color model to the default model after
6610 * java/awt/image/MemoryImageSource.java
6611 (newPixels): Set only the specified rectangle of pixels.
6613 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6615 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6616 -l-java-beans -l-javax-accessibility -l-javax-swing.
6618 * java/awt/AWTEvent.java (toString): Print source's name rather
6619 than the source itself.
6621 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6623 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6626 (gdk_color_to_java_color): New function.
6627 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6629 2004-05-12 David Jee <djee@redhat.com>
6631 * java/awt/image/RGBImageFilter.java:
6632 Initialize origmodel as null.
6633 (makeColor): Fix pixel component order.
6634 (filterRGBPixels): Fix pixel iteration.
6635 (setPixels): Add extra checks for index color model. Convert pixels
6636 to default color model if necessary.
6637 (convertColorModelToDefault): New override method for byte pixels.
6638 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6639 (makeColorbyDefaultCM): New override method for byte pixels.
6640 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6641 (makeColor): Fix pixel component order.
6643 2004-05-11 Kim Ho <kho@redhat.com>
6645 * javax/swing/Box.java:
6646 Comment out more parts of Box.Filler.
6648 2004-05-11 Kim Ho <kho@redhat.com>
6650 * javax/swing/Box.java:
6651 Remove reference to AccessibleAWTComponent so
6654 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6656 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6657 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6658 implementation of list peer to use GtkTreeView instead of
6659 deprecated GtkCList.
6661 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6663 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6664 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6665 (handleEvent): Remove keyChar argument to
6666 gtkWidgetDispatchKeyEvent calls.
6667 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6669 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6674 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6676 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6677 (gtkWidgetRequestFocus): Mark protected.
6678 (GtkComponentPeer): Only set the peer's bounds if its component
6680 * java/awt/Component.java (static): Set the default keyboard
6682 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6683 requestFocusInWindow(temporary)): Don't request focus if the
6684 component is not showing. Get tree lock before traversing
6685 component hierarchy.
6686 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6687 Only set the global focus owner if it is not a Window.
6688 (processKeyEvent): Consume keystrokes associated with the focus
6689 traversal keystroke.
6690 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6691 downFocusCycle): Call requestFocusInWindow instead of
6693 * java/awt/EventDispatchThread.java (run): Move setting of
6694 default keyboard focus manager to Component.java.
6695 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6696 (awt_keycode_to_keysym): New function.
6697 (gtkWidgetDispatchKeyEvent): Finish implementation.
6698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6699 (pre_event_handler): Add FIXME comment.
6701 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6702 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6703 (gtkWidgetRequestFocus): New method.
6704 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6705 disable Tab and Shift-Tab keystrokes.
6706 (addNotify, appendText, insertText, replaceText): Simplify peer
6708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6709 (connectSignals): Remove connections to "commit" signals.
6710 Remove C++-style comments.
6712 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6713 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6714 (handleEvent): Activate GTK button when the space bar key is
6716 (gtkActivate): New method.
6718 2004-05-06 David Jee <djee@redhat.com>
6720 * java/awt/image/CropImageFilter.java
6721 (setPixels): Implement for byte array pixels.
6722 * java/awt/image/ReplicateScaleFilter.java
6723 (setPixels): Implement for byte array pixels.
6724 (replicatePixels): Overload for byte array pixels.
6726 2004-05-06 Kim Ho <kho@redhat.com>
6728 * javax/swing/Box.java:
6729 (getAccessibleContext): Return an instance of the
6732 2004-05-05 David Jee <djee@redhat.com>
6734 * gnu/java/awt/peer/gtk/GdkGraphics.java
6735 (drawImage): When component is null, use SystemColor.window as
6736 the default bgcolor.
6737 * gnu/java/awt/peer/gtk/GtkImage.java
6738 (setPixels): We can avoid iterating through the pixel rows only
6740 * java/awt/Image.java
6741 (getScaledInstance): Partially implement.
6742 * java/awt/image/CropImageFilter.java
6743 (setProperties): Fix "filter" property.
6744 (setPixels): Implement.
6745 * java/awt/image/ReplicateScaleFilter.java
6746 (setDimensions): Use scaled dimensions.
6747 (setPixels): Implement.
6748 (replicatePixels): New method.
6750 2004-05-05 David Jee <djee@redhat.com>
6752 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6753 (convertPixels): If either pixels or model is null, return null.
6754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6755 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6756 is null, do nothing and return.
6758 2004-05-03 Kim Ho <kho@redhat.com>
6760 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6761 (getGraphics): Like GtkFramePeer, the Graphics
6762 object needs to be translate to account for
6764 (postMouseEvent): New method. Account for
6766 (postExposeEvent): ditto.
6767 * javax/swing/Box.java: Stubbed.
6768 * javax/swing/JDialog.java: Ran through jalopy
6770 (JDialog): Call SwingUtilities' getOwnerFrame
6772 (setLayout): Check isRootPaneCheckingEnabled
6773 * javax/swing/JOptionPane.java: Re-implemented.
6774 * javax/swing/SwingUtilities.java:
6775 (getOwnerFrame): Static method to grab a default
6776 owner frame for Dialogs that don't specify owners.
6777 * javax/swing/event/SwingPropertyChangeSupport.java:
6778 (firePropertyChange): Fix early exit condition.
6779 * javax/swing/plaf/basic/BasicLabelUI.java:
6780 (paint): Avoid painting text if it is null
6782 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6785 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6787 * Makefile.am: Added new file.
6788 * Makefile.in: Regenerate.
6789 * javax/swing/JPopupMenu.java:
6790 Started implementation.
6791 * javax/swing/JWindow.java
6792 (JWindow): call super() if parent for window
6794 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6795 New File. UI Delegate for JPopupMenu.
6797 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6799 * javax/swing/JApplet.java: Indicated that JApplet
6800 implements RootPaneContainer and made method of this
6802 * javax/swing/JFrame.java: Ditto.
6803 * javax/swing/JWindow.java: Ditto.
6805 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6808 (nativeSetBounds): Call gdk_window_move in addition to
6811 * java/applet/Applet.java (preferredSize): Call parent's
6812 preferredSize if the applet stub is null.
6813 (minimumSize): Likewise for parent's minimumSize.
6815 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6817 * javax/swing/JMenuItem.java
6818 (createActionPropertyChangeListener): Implemented.
6819 (processMouseEvent): Ditto.
6820 (fireMenuDragMouseEntered): Ditto.
6821 (fireMenuDragMouseExited): Ditto.
6822 (fireMenuDragMouseDragged): Ditto.
6823 (fireMenuDragMouseReleased): Ditto.
6824 (menuSelectionChanged): Ditto.
6825 (getSubElements): Ditto.
6826 (getComponent): Ditto.
6827 (addMenuDragMouseListener): Ditto.
6828 (removeMenuDragMouseListener):Ditto.
6829 (addMenuKeyListener): Ditto.
6830 (removeMenuKeyListener): Ditto.
6831 * javax/swing/plaf/basic/BasicMenuItemUI.java
6832 (doClick): Imlemented.
6833 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6834 Don't handle mouse events here. Pass them to
6835 MenuSelectionManager.
6837 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6838 Used correct version of jalopy configuration
6839 file to fix style in the files below.
6841 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6843 * javax/swing/JCheckBoxMenuItem.java:
6844 Fixed style and removed unnecessary comments.
6845 * javax/swing/JMenuItem.java: Ditto.
6846 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6847 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6848 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6849 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6851 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6853 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6856 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6858 * java/awt/ContainerOrderFocusTraversalPolicy.java
6859 (getComponentAfter): Start from current component and work up
6860 the component hierarchy until an acceptable component is found.
6861 Synchronize on tree lock.
6862 (getComponentBefore): Likewise.
6864 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6866 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6867 focus-related debugging messages.
6868 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6869 * java/awt/EventDispatchThread.java: Likewise.
6870 * java/awt/KeyboardFocusManager.java: Likewise.
6871 * java/awt/Window.java: Likewise.
6872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6873 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6876 new C++-style comments to C-style comments.
6877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6879 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6880 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6881 (handleEvent): Dispatch key press and key release events to
6883 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6884 (gtkWidgetRequestFocus): New method.
6885 (gtkWidgetDispatchKeyEvent): Likewise.
6886 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6887 requestFocusInWindow, requestFocusInWindow(boolean),
6888 getFocusCycleRootAncestor, nextFocus, transferFocus,
6889 transferFocusBackward, transferFocusUpCycle, hasFocus,
6890 isFocusOwner): Implement and document focus-handling methods.
6891 (setFocusTraversalKeys): Inherit focus traversal keys when
6892 keystrokes argument is null. Fix focus-handling documentation
6894 * java/awt/Container.java (setFocusTraversalKeys,
6895 getFocusTraversalKeys, areFocusTraversalKeysSet,
6896 isFocusCycleRoot, setFocusTraversalPolicy,
6897 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6898 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6899 Implement and document focus-handling methods.
6900 (transferFocusBackward): Remove method.
6901 (readObject, writeObject): Implement and document serialization
6903 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6905 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6907 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6909 * java/awt/EventDispatchThread.java (run): Set default keyboard
6910 focus manager. Attempt to dispatch each event to the keyboard
6911 focus manager before normal dispatch.
6912 * java/awt/KeyboardFocusManager.java: Implement and partially
6914 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6915 (show): Focus initial component when window is shown for the
6917 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6918 (pre_event_handler): Replace complex key press and key release
6919 logic with simple callbacks into GtkComponentPeer.
6920 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6922 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6924 * javax/swing/MenuSelectionManager.java
6925 (componentForPoint): Added new method.
6926 (defaultManager): New Method. Implemented.
6927 (getSelectedPath): Ditto.
6928 (isComponentPartOfCurrentMenu): Ditto.
6929 (processKeyEvent): Added new method.
6930 (processMouseEvent): New Method. Implemented.
6931 (setSelectedPath): Ditto.
6934 2004-04-19 Kim Ho <kho@redhat.com>
6936 * java/awt/Container.java:
6937 (remove): Set the component's parent to null.
6938 (getComponentAt): Implement.
6939 * javax/swing/JComponent.java:
6940 (JComponent): Initialize defaultLocale
6941 (getDefaultLocale): Implement.
6942 (setDefaultLocale): ditto.
6943 * javax/swing/JSlider.java:
6944 (JSlider): Fix calculation of value.
6945 * javax/swing/JSplitPane.java: Implement.
6946 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6947 Change SplitPane's default divider size.
6948 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6949 (paint): Remove unused code.
6950 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6951 Added comments and ran through jalopy.
6952 (setBasicSplitPaneUI): Get reference to hidden divider
6953 and set up one touch buttons if necessary.
6954 (setBorder): Fire propertyChangeEvent only if
6955 borders are different.
6956 (getPreferredSize): Defer to layout manager.
6957 (propertyChange): Implement.
6958 (oneTouchExpandableChanged): ditto.
6959 (createLeftOneTouchButton): Use BasicArrowButton.
6960 (createRightOneTouchButton): ditto.
6961 (moveDividerTo): New method. Moves the divider
6962 to a set location based on the last divider location.
6963 (BasicSplitPaneDivider::MouseHandler): Implement.
6964 (BasicSplitPaneDivider::OneTouchButton): Removed.
6965 (BasicSplitPaneDivider::DragController): Implement.
6966 (BasicSplitPaneDivider::VerticalDragController):
6968 (BasicSplitPaneDivider::DividerLayout): ditto.
6969 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6970 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6971 (calculateLayoutInfo): Don't show component if it's
6973 (paintTab): Fix title paint logic.
6975 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6978 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6979 (setStartRule,setEndRule): Don't take abs of day number.
6980 (getOffset): Clarify docs. Add argument checks.
6981 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6982 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6984 * testsuite/libjava.mauve/xfails
6985 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6987 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6989 Layout interfaces during preparation, not initialization.
6990 * java/lang/natClass.cc (initializeClass): Move
6991 _Jv_LayoutInterfaceMethods call...
6992 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6994 2004-05-19 Anthony Green <green@localhost.localdomain>
6996 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6998 * Makefile.in: Rebuilt.
6999 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7000 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7001 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7002 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7003 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7004 gnu/javax/rmi/CORBA/DelegateFactory.java,
7005 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7006 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7007 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7008 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7009 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7010 gnu/javax/rmi/PortableServer.java: Remove files.
7012 2004-05-19 Anthony Green <green@redhat.com>
7014 * Makefile.am: Define JAVA_EXT_DIRS.
7015 * Makefile.in: Rebuilt.
7016 * java/lang/natRuntime.cc (insertSystemProperties): Set
7017 java.ext.dirs property.
7019 2004-05-16 Mark Wielaard <mark@klomp.org>
7021 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7023 2004-05-15 Mark Wielaard <mark@klomp.org>
7025 * doc/cni.sgml: Removed, merged into gcj.texi.
7027 2004-05-15 Mark Wielaard <mark@klomp.org>
7029 * Makefile.am (ordinary_java_source_files): Add new javax.print
7031 * Makefile.in: Regenerated.
7033 2004-05-15 Michael Koch <konqueror@gmx.de>
7035 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7036 javax/print/attribute/standard/DateTimeAtCreation.java,
7037 javax/print/attribute/standard/DateTimeAtProcessing.java,
7038 javax/print/attribute/standard/DocumentName.java,
7039 javax/print/attribute/standard/JobHoldUntil.java,
7040 javax/print/attribute/standard/JobImpressionsCompleted.java,
7041 javax/print/attribute/standard/JobMessageFromOperator.java,
7042 javax/print/attribute/standard/JobName.java,
7043 javax/print/attribute/standard/JobOriginatingUserName.java,
7044 javax/print/attribute/standard/JobPriority.java,
7045 javax/print/attribute/standard/JobPrioritySupported.java,
7046 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7047 javax/print/attribute/standard/OutputDeviceAssigned.java,
7048 javax/print/attribute/standard/PrinterInfo.java,
7049 javax/print/attribute/standard/PrinterLocation.java,
7050 javax/print/attribute/standard/PrinterMakeAndModel.java,
7051 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7052 javax/print/attribute/standard/PrinterName.java,
7053 javax/print/attribute/standard/QueuedJobCount.java,
7054 javax/print/attribute/standard/RequestingUserName.java:
7055 Fixed javadocs all over.
7057 2004-05-15 Michael Koch <konqueror@gmx.de>
7059 * javax/print/DocFlavor.java,
7060 javax/print/attribute/standard/ColorSupported.java,
7061 javax/print/attribute/standard/Compression.java,
7062 javax/print/attribute/standard/CopiesSupported.java,
7063 javax/print/attribute/standard/Fidelity.java,
7064 javax/print/attribute/standard/Finishings.java,
7065 javax/print/attribute/standard/JobImpressionsSupported.java,
7066 javax/print/attribute/standard/JobKOctetsSupported.java,
7067 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7068 javax/print/attribute/standard/JobSheets.java,
7069 javax/print/attribute/standard/JobState.java,
7070 javax/print/attribute/standard/JobStateReason.java,
7071 javax/print/attribute/standard/JobStateReasons.java,
7072 javax/print/attribute/standard/Media.java,
7073 javax/print/attribute/standard/MediaSizeName.java,
7074 javax/print/attribute/standard/MultipleDocumentHandling.java,
7075 javax/print/attribute/standard/NumberUpSupported.java,
7076 javax/print/attribute/standard/OrientationRequested.java,
7077 javax/print/attribute/standard/PDLOverrideSupported.java,
7078 javax/print/attribute/standard/PageRanges.java,
7079 javax/print/attribute/standard/PresentationDirection.java,
7080 javax/print/attribute/standard/PrintQuality.java,
7081 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7082 javax/print/attribute/standard/PrinterMoreInfo.java,
7083 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7084 javax/print/attribute/standard/PrinterResolution.java,
7085 javax/print/attribute/standard/PrinterState.java,
7086 javax/print/attribute/standard/PrinterStateReason.java,
7087 javax/print/attribute/standard/PrinterStateReasons.java,
7088 javax/print/attribute/standard/PrinterURI.java,
7089 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7090 javax/print/attribute/standard/Severity.java,
7091 javax/print/attribute/standard/SheetCollate.java,
7092 javax/print/attribute/standard/Sides.java:
7093 Added serialVersionUID and removed final keyword where it doenst
7096 2004-05-15 Michael Koch <konqueror@gmx.de>
7098 * javax/print/PrintServiceLookup.java: New file.
7100 2004-05-15 Michael Koch <konqueror@gmx.de>
7102 * javax/print/DocFlavor.java:
7103 Implemented all flavor classes.
7105 2004-05-15 Michael Koch <konqueror@gmx.de>
7107 * javax/print/attribute/standard/ColorSupported.java,
7108 javax/print/attribute/standard/Compression.java,
7109 javax/print/attribute/standard/CopiesSupported.java,
7110 javax/print/attribute/standard/Fidelity.java,
7111 javax/print/attribute/standard/Finishings.java,
7112 javax/print/attribute/standard/JobImpressionsSupported.java,
7113 javax/print/attribute/standard/JobKOctetsSupported.java,
7114 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7115 javax/print/attribute/standard/JobSheets.java,
7116 javax/print/attribute/standard/JobState.java,
7117 javax/print/attribute/standard/JobStateReason.java,
7118 javax/print/attribute/standard/JobStateReasons.java,
7119 javax/print/attribute/standard/Media.java,
7120 javax/print/attribute/standard/MediaSizeName.java,
7121 javax/print/attribute/standard/MultipleDocumentHandling.java,
7122 javax/print/attribute/standard/NumberUpSupported.java,
7123 javax/print/attribute/standard/OrientationRequested.java,
7124 javax/print/attribute/standard/PDLOverrideSupported.java,
7125 javax/print/attribute/standard/PageRanges.java,
7126 javax/print/attribute/standard/PresentationDirection.java,
7127 javax/print/attribute/standard/PrintQuality.java,
7128 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7129 javax/print/attribute/standard/PrinterMoreInfo.java,
7130 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7131 javax/print/attribute/standard/PrinterResolution.java,
7132 javax/print/attribute/standard/PrinterState.java,
7133 javax/print/attribute/standard/PrinterStateReason.java,
7134 javax/print/attribute/standard/PrinterStateReasons.java,
7135 javax/print/attribute/standard/PrinterURI.java,
7136 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7137 javax/print/attribute/standard/Severity.java,
7138 javax/print/attribute/standard/SheetCollate.java,
7139 javax/print/attribute/standard/Sides.java: New files.
7141 2004-05-15 Michael Koch <konqueror@gmx.de>
7143 * javax/print/Doc.java
7144 (getPrintData): Throws IOException.
7145 (getReaderForText): Likewise.
7146 (getStreamForBytes): Likewise.
7147 * javax/print/DocFlavor.java:
7148 Fixed filename in copyright.
7149 (serialVersionUID): New field.
7150 * javax/print/ServiceUIFactory.java:
7151 Made all constants final.
7152 * javax/print/AttributeException.java
7153 javax/print/MultiDoc.java
7154 javax/print/MultiDocPrintJob.java
7155 javax/print/MultiDocPrintService.java
7156 javax/print/StreamPrintService.java
7157 javax/print/URIException.java: New files.
7158 * javax/print/Makefile.am
7159 (EXTRA_DIST): Added all new files.
7161 2004-05-15 Michael Koch <konqueror@gmx.de>
7163 * javax/print/attribute/standard/Copies.java,
7164 javax/print/attribute/standard/DateTimeAtCompleted.java,
7165 javax/print/attribute/standard/DateTimeAtCreation.java,
7166 javax/print/attribute/standard/DateTimeAtProcessing.java,
7167 javax/print/attribute/standard/DocumentName.java,
7168 javax/print/attribute/standard/JobHoldUntil.java,
7169 javax/print/attribute/standard/JobImpressions.java,
7170 javax/print/attribute/standard/JobImpressionsCompleted.java,
7171 javax/print/attribute/standard/JobKOctets.java,
7172 javax/print/attribute/standard/JobKOctetsProcessed.java,
7173 javax/print/attribute/standard/JobMediaSheets.java,
7174 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7175 javax/print/attribute/standard/JobMessageFromOperator.java,
7176 javax/print/attribute/standard/JobName.java,
7177 javax/print/attribute/standard/JobOriginatingUserName.java,
7178 javax/print/attribute/standard/JobPriority.java,
7179 javax/print/attribute/standard/JobPrioritySupported.java,
7180 javax/print/attribute/standard/NumberOfDocuments.java,
7181 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7182 javax/print/attribute/standard/NumberUp.java,
7183 javax/print/attribute/standard/OutputDeviceAssigned.java,
7184 javax/print/attribute/standard/PagesPerMinute.java,
7185 javax/print/attribute/standard/PagesPerMinuteColor.java:
7186 Fixed @return tag all over.
7188 2004-05-15 Michael Koch <konqueror@gmx.de>
7190 * javax/print/attribute/AttributeSetUtilities.java
7191 (verifyCategoryForValue): Fixed typo in javadoc.
7192 * javax/print/attribute/HashAttributeSet.java
7193 (containsKey): Fixed @return tag.
7194 (comtainsValue): Likewise.
7196 * javax/print/attribute/IntegerSyntax.java
7198 * javax/print/attribute/ResolutionSyntax.java
7200 (getCrossFeedResolution): Removed unused code.
7201 (getFeedResolution): Likewise.
7202 * javax/print/attribute/SetOfIntegerSyntax.java
7203 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7204 (equals): Fixed @return tag.
7205 * javax/print/attribute/TextSyntax.java
7206 (TextSyntax): Take locale into account.
7207 (hashCode): Better implementation.
7209 2004-05-15 Michael Koch <konqueror@gmx.de>
7211 * javax/print/CancelablePrintJob.java,
7212 javax/print/Doc.java,
7213 javax/print/DocFlavor.java,
7214 javax/print/DocPrintJob.java,
7215 javax/print/FlavorException.java,
7216 javax/print/PrintException.java,
7217 javax/print/PrintService.java,
7218 javax/print/ServiceUIFactory.java: New files.
7220 2004-05-15 Mark Wielaard <mark@klomp.org>
7222 * gnu/regexp/CharIndexedReader.java: Removed.
7223 * gnu/regexp/REFilterReader.java: Likewise.
7224 * gnu/regexp/RETokenLookAhead.java: Likewise.
7225 * Makefile.am (ordinary_java_source_files): Remove above classes.
7226 * Makefile.in: Regenerated.
7228 2004-05-14 Tom Tromey <tromey@redhat.com>
7230 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7231 not `XGraphicsConfiguration.XOffScreenImage'.
7233 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7235 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7237 2004-05-14 Steven Augart <augart@watson.ibm.com>
7239 * include/jni.h (_Jv_func): Removed.
7240 (struct JNINativeInterface): Use `void *' for reserved slots.
7241 (struct JNIInvokeInterface): Likewise.
7243 2004-05-11 Michael Koch <konqueror@gmx.de>
7245 * gnu/java/net/natPlainSocketImplPosix.cc
7246 (read): Fixed typo in expression.
7248 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7250 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7251 ld_library_additions. Adjust all calls to libjava_invoke to match
7254 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7255 path to cxxflagslist.
7256 Pass path of libstdc++ to libjava_invoke.
7258 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7259 libjava_invoke arguments.
7261 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7263 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7266 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7268 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7269 main binary against the JNI shared library.
7271 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7273 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7274 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7275 (SimpleTimeZone): Tweak docs. Add new variation.
7276 (setStartRule,setEndRule): Add new variations. Use
7277 startTimeMode and endTimeMode.
7279 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7281 * java/util/Calendar.java (getActualMinimum,
7282 getActualMaximum): Remove abstract. Implement.
7284 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7286 Run the jni tests using the interpreter.
7287 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7288 options_cxx to shared lib compile command.
7289 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7290 they are used to link the shared lib, not the main binary.
7291 Use libjava_invoke to run gij.
7293 2004-05-06 Michael Koch <konqueror@gmx.de>
7295 * java/util/logging/Level.java
7296 (parse): Use == instead of String.equals().
7298 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7300 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7301 verify_field_signature and verify_method_signature, not
7302 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7303 (_Jv_ClassReader::handleField): Likewise.
7304 (_Jv_ClassReader::handleMethod): Likewise.
7306 2004-05-06 Michael Koch <konqueror@gmx.de>
7308 * javax/swing/table/TableColumn.java:
7311 2004-05-06 Michael Koch <konqueror@gmx.de>
7313 * javax/imageio/spi/ImageReaderWriterSpi.java
7314 (ImageReaderWriterSpi): Made it public.
7315 * javax/imageio/stream/ImageInputStream.java:
7318 2004-05-06 Michael Koch <konqueror@gmx.de>
7320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7323 2004-05-06 Michael Koch <konqueror@gmx.de>
7325 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7326 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7329 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7330 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7331 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7332 their own source file.
7333 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7334 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7335 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7336 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7337 (create): Define variable on top of function.
7338 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7339 (menu_pos): Prototyped.
7340 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7341 (setTitle): Removed.
7342 * jni/gtk-peer/gthread-jni.c
7343 (gdk_threads_wake): Removed.
7344 * Makefile.am (gtk_c_source_files): Added new files
7345 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7346 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7347 * Makefile.in: Regenerated.
7349 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7351 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7354 2004-05-05 Mark Wielaard <mark@klomp.org>
7356 * javax/swing/AbstractButton.java: Replace special HTML entities with
7358 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7359 * javax/swing/DefaultButtonModel.java: Likewise.
7360 * javax/swing/DefaultListModel.java: Likewise.
7361 * javax/swing/JList.java: Likewise.
7362 * javax/swing/JSlider.java: Likewise.
7363 * javax/swing/ListModel.java: Likewise.
7364 * javax/swing/Popup.java: Likewise.
7365 * javax/swing/SwingUtilities.java: Likewise.
7367 2004-05-05 Michael Koch <konqueror@gmx.de>
7369 * javax/swing/AbstractButton.java,
7370 javax/swing/ActionMap.java,
7371 javax/swing/DefaultButtonModel.java,
7372 javax/swing/DefaultListModel.java,
7373 javax/swing/ImageIcon.java,
7374 javax/swing/JComboBox.java,
7375 javax/swing/JComponent.java,
7376 javax/swing/JFrame.java,
7377 javax/swing/JInternalFrame.java,
7378 javax/swing/JMenuBar.java,
7379 javax/swing/JMenuItem.java,
7380 javax/swing/JOptionPane.java,
7381 javax/swing/JProgressBar.java,
7382 javax/swing/JRootPane.java,
7383 javax/swing/JScrollBar.java,
7384 javax/swing/JScrollPane.java,
7385 javax/swing/JSeparator.java,
7386 javax/swing/JSlider.java,
7387 javax/swing/JTabbedPane.java,
7388 javax/swing/JTable.java,
7389 javax/swing/JTextField.java,
7390 javax/swing/JToolBar.java,
7391 javax/swing/JToolTip.java,
7392 javax/swing/JTree.java,
7393 javax/swing/JViewport.java,
7394 javax/swing/JWindow.java,
7395 javax/swing/KeyStroke.java,
7396 javax/swing/LookAndFeel.java,
7397 javax/swing/SwingUtilities.java,
7398 javax/swing/Timer.java,
7399 javax/swing/ToolTipManager.java,
7400 javax/swing/UIDefaults.java,
7401 javax/swing/border/TitledBorder.java,
7402 javax/swing/filechooser/FileSystemView.java,
7403 javax/swing/plaf/basic/BasicButtonListener.java,
7404 javax/swing/plaf/basic/BasicButtonUI.java,
7405 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7406 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7407 javax/swing/plaf/basic/BasicLabelUI.java,
7408 javax/swing/plaf/basic/BasicMenuItemUI.java,
7409 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7410 javax/swing/plaf/basic/BasicRootPaneUI.java,
7411 javax/swing/plaf/basic/BasicScrollBarUI.java,
7412 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7413 javax/swing/plaf/basic/BasicSliderUI.java,
7414 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7415 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7416 javax/swing/table/JTableHeader.java,
7417 javax/swing/text/AbstractDocument.java,
7418 javax/swing/text/DefaultCaret.java,
7419 javax/swing/text/StyledEditorKit.java,
7420 javax/swing/tree/DefaultTreeCellEditor.java:
7423 2004-05-05 Michael Koch <konqueror@gmx.de>
7425 * java/util/prefs/AbstractPreferences.java
7426 (AbstractPreferences): Added parenthesis for clarity.
7427 Closes classpath bug #7940.
7429 2004-05-05 Tom Tromey <tromey@redhat.com>
7431 * javax/naming/CompoundName.java (endsWith): Look at correct
7432 element of source name.
7434 2004-05-05 Mark Wielaard <mark@klomp.org>
7436 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7437 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7439 2004-05-05 Tom Tromey <tromey@redhat.com>
7441 * java/io/BufferedReader.java (skip): Removed unused
7444 2004-05-05 Michael Koch <konqueror@gmx.de>
7446 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7448 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7450 * java/text/AttributedString.java,
7451 java/text/AttributedStringIterator.java,
7452 java/text/Collator.java,
7453 java/text/DecimalFormatSymbols.java,
7454 java/text/NumberFormat.java,
7455 java/text/RuleBasedCollator.java:
7458 2004-05-05 Tom Tromey <tromey@redhat.com>
7460 * java/text/Format.java: Cleaned up imports.
7461 * java/text/DecimalFormat.java: Cleaned up imports.
7462 * java/security/SecureRandom.java: Cleaned up imports.
7463 (SecureRandom): Removed unused variable.
7464 * java/security/UnresolvedPermission.java: Cleaned up imports.
7465 * java/util/Date.java (parse): Removed unused variable.
7466 * java/util/ResourceBundle.java: Cleaned up imports.
7467 (getBundle): Removed unused variable.
7468 (tryBundle): Likewise.
7469 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7471 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7473 * java/text/SimpleDateFormat.java:
7474 (formatWithAttribute): New method. It implements
7475 the formatting process with attributes.
7476 (format): Use formatWithAttribute.
7477 (formatToCharacterIterator): New method. Use
7478 formatWithAttribute.
7480 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7482 * java/text/MessageFormat.java:
7483 (class Field): New class.
7484 (formatToCharacterIterator): New method.
7485 (format): Use formatInternal now.
7486 (formatInternal): New method. String formatter should
7487 be done here (with attributes). Attributes merging supported.
7488 (parse): More documentation.
7489 (getFormatsByArgumentIndex): New method.
7490 (setFormatByArgumentIndex): New method.
7491 (setFormatsByArgumentIndex): New method.
7493 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7495 * java/text/DecimalFormat.java
7496 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7497 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7498 (parse): Fixed handling of exponentiation notation and grouping.
7500 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7502 * java/text/DecimalFormat.java
7503 (scanFix): Build attribute array. Fixed error reporting.
7504 (applyPatternWithSymbols): Store attributes for the prefix and
7506 (formatInternal): New method. Changed the way the string is
7507 computed. Implemented attributes. Cleant up rounding in
7508 exponential notation.
7509 (format): Use formatInternal.
7510 (formatToCharacterIterator): New method.
7511 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7512 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7513 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7516 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7518 * java/security/interfaces/DSAKeyPairGenerator.java,
7519 java/security/interfaces/DSAPrivateKey.java,
7520 java/security/interfaces/DSAPublicKey.java,
7521 java/security/interfaces/RSAPrivateKey.java,
7522 java/security/interfaces/RSAPublicKey.java:
7525 2004-05-04 Michael Koch <konqueror@gmx.de>
7527 * java/nio/ByteBuffer.java,
7528 java/nio/CharBuffer.java,
7529 java/nio/DoubleBuffer.java,
7530 java/nio/FloatBuffer.java,
7531 java/nio/IntBuffer.java,
7532 java/nio/LongBuffer.java,
7533 java/nio/ShortBuffer.java:
7534 (compareTo): Fixed bogus implementation in all buffer classes.
7536 2004-05-04 Ingo Proetel <proetel@aicas.com>
7538 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7539 32 bit pixels not 8 bit pixels.
7540 (isCompatibleRaster): Added javadoc comment.
7542 2004-05-04 Ingo Proetel <proetel@aicas.com>
7544 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7547 2004-05-04 Ingo Proetel <proetel@aicas.com>
7549 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7550 (getColorModel): Return the actual color model.
7551 (getRaster): Implemented.
7552 (ColorRaster): New inner class.
7553 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7555 * java/awt/Color.java (<init>): Make exception more verbose.
7556 (createContext): Use ColorModel when creating a PaintContext.
7558 2004-05-04 Michael Koch <konqueror@gmx.de>
7560 * gnu/java/text/CharacterBreakIterator.java
7561 (previous): Removed unused variable.
7563 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7565 * gnu/java/text/FormatBuffer.java,
7566 gnu/java/text/AttributedFormatBuffer.java,
7567 gnu/java/text/StringFormatBuffer.java: New classes to implement
7568 attributed iterators in java.text.
7569 * gnu/java/text/FormatCharacterIterator.java: Moved
7570 from java/text as it is an internal class.
7571 * java/text/FormatCharacterIterator.java: Removed.
7572 * java/text/Format.java:
7573 Import gnu.java.text.FormatCharacterIterator.
7574 * Makefile.am (java_source_files): Added new files.
7575 * Makefile.in: Regenerated.
7578 2004-05-04 Mark Wielaard <mark@klomp.org>
7580 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7582 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7584 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7585 * Makefile.in: Rebuilt.
7587 2004-05-03 Mark Wielaard <mark@klomp.org>
7589 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7590 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7592 (set(String, String, int, String, String, String, String, String)):
7593 Assign this.file to path or path + "?" + query.
7594 * java/util/Arrays.java: Call static methods staticly.
7595 * java/util/zip/ZipEntry.java: Likewise.
7596 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7597 dir to this.direction.
7598 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7599 Assign static field only once.
7600 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7602 2004-05-03 Mark Wielaard <mark@klomp.org>
7604 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7605 unused variables hScrollbarHeight and vScrollbarWidth.
7606 (preferredSize): Likewise.
7607 * gnu/java/security/provider/DSAParameters.java (engineToString):
7608 Removed unused call to System.getProperty("line.seperator");
7609 * java/security/Security.java (loadProviders): Return result.
7611 2004-05-03 Tom Tromey <tromey@redhat.com>
7613 * java/net/URLStreamHandler.java (toExternalForm): Removed
7616 * java/math/BigDecimal.java (divide): Removed unused variable.
7617 * java/lang/Throwable.java: Cleaned up imports.
7618 * java/lang/ClassLoader.java: Cleaned up imports.
7619 * java/io/FilePermission.java (implies): Removed unused
7621 * java/awt/TextComponent.java: Removed unused import.
7622 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7623 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7624 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7625 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7627 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7628 * gnu/java/text/CharacterBreakIterator.java: Removed
7630 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7632 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7633 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7635 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7636 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7637 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7638 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7639 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7640 (lookupProviders): Removed unused variable.
7641 (loadNextServiceProvider): Likewise.
7642 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7644 2004-05-03 Michael Koch <konqueror@gmx.de>
7646 Fixes PR libgcj/14695:
7647 * java/net/NetworkInterface.java
7648 (getByName): Return null when no interface was found.
7650 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7651 Tom Tromey <tromey@redhat.com>
7653 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7654 additional option "-Wmissing-prototypes" for compiling C sources.
7655 Print actual filename for pass/fail rather than $name.c.
7656 * testsuite/libjava.jni/PR15133.java: New testcase file.
7657 * testsuite/libjava.jni/PR15133.c: Likewise.
7658 * testsuite/libjava.jni/PR15133.out: Likewise.
7660 2004-04-30 Roger Sayle <roger@eyesopen.com>
7662 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7665 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7667 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7668 limit the maximum heap size to avoid unnecessary thrashing.
7670 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7672 * java/text/CollationElementIterator.java (reset): Reset
7673 lookahead variables.
7675 2004-04-23 Mark Wielaard <mark@klomp.org>
7677 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7679 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7681 * java/sql/DriverManager.java:
7684 2004-04-23 Michael Koch <konqueror@gmx.de>
7687 (hashcode): Don't initialize with default value explicitely.
7688 (getContent): Removed redundant "final" keyword.
7689 (openStream): Likewise.
7690 (getURLStreamHandler): Fixed coding style.
7691 * java/net/URLConnection.java
7692 (defaultAllowUserInteraction): Don't initialize with default value
7694 (connected): Likewise.
7695 (doOutput): Likewise.
7696 (ifModifiedSince): Likewise.
7697 (dateformats_initialized): Likewise.
7698 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7700 2004-04-23 Michael Koch <konqueror@gmx.de>
7702 * gnu/java/nio/channels/FileChannelImpl.java
7703 (SET, CUR): Unused, removed.
7704 (read): Implement here directly.
7705 (implRead): Removed.
7706 (write): Implement here directly.
7707 (implWrite): Removed.
7709 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7711 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7712 javax/rmi/CORBA/Stub.java,
7713 javax/rmi/CORBA/Util.java,
7714 javax/rmi/CORBA/ValueHandler.java,
7715 javax/rmi/CORBA/ValueHandler.java,
7716 javax/rmi/PortableRemoteObject.java:
7719 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7721 * java/util/jar/JarFile.java,
7722 java/util/jar/JarInputStream.java,
7723 java/util/jar/JarOutputStream.java,
7724 java/util/jar/Manifest.java:
7727 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7729 * java/util/ArrayList.java,
7730 java/util/Calendar.java,
7731 java/util/Currency.java,
7732 java/util/HashMap.java,
7733 java/util/HashSet.java,
7734 java/util/Hashtable.java,
7735 java/util/LinkedList.java,
7736 java/util/Properties.java,
7737 java/util/PropertyPermission.java,
7738 java/util/TimeZone.java,
7739 java/util/TreeMap.java,
7740 java/util/TreeSet.java,
7741 java/util/Vector.java,
7742 java/util/WeakHashMap.java:
7745 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7747 * java/util/logging/FileHandler.java,
7748 java/util/logging/Formatter.java,
7749 java/util/logging/Handler.java,
7750 java/util/logging/Logger.java,
7751 java/util/logging/SimpleFormatter.java,
7752 java/util/logging/XMLFormatter.java:
7755 2004-04-22 Mark Wielaard <mark@klomp.org>
7757 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7758 -Wno-long-long flags variable.
7759 (gtk_c_files): Use PEDANTIC_CFLAGS.
7760 * Makefile.in: Regenerated.
7762 2004-04-22 Mark Wielaard <mark@klomp.org>
7764 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7765 Changed C++ comments into C comments.
7766 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7769 2004-04-22 Michael Koch <konqueror@gmx.de>
7771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7772 Merged copyright year with GNU classpath.
7774 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7776 * javax/security/auth/x500/X500Principal.java:
7779 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7781 * javax/swing/JSlider.java:
7782 Fixed HTML tags in comments.
7784 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7786 * javax/accessibility/AccessibleText.java:
7789 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7791 * java/net/URLStreamHandler.java
7792 (parseURL): Convert the file path to using '/' instead of native
7795 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7798 (userInfo): New field.
7799 (URL): Set authority to the right value.
7800 (setURL): Fixed authority and file initialization.
7801 * java/net/URLStreamHandler.java
7802 (parseURL): Take care of the query tag. Build authority.
7803 (toExternalForm): Fixed URL building using authority.
7805 2004-04-22 Michael Koch <konqueror@gmx.de>
7807 * java/net/Socket.java
7808 (impl): Made package-private.
7809 * java/net/ServerSocket.java
7810 (implAccept): Access Socket.impl field directly.
7812 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7814 * java/util/prefs/Preferences.java,
7815 java/util/prefs/InvalidPreferencesFormatException.java,
7816 java/util/prefs/BackingStoreException.java,
7817 java/util/prefs/AbstractPreferences.java:
7820 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7822 * java/util/regex/Matcher.java,
7823 java/util/regex/Pattern.java:
7826 2004-04-22 Michael Koch <konqueror@gmx.de>
7828 * java/nio/charset/IllegalCharsetNameException.java
7829 (charsetName): Made private.
7830 (IllegalCharsetNameException): Added @param tag to javadoc.
7831 (getCharsetName): Added @return tag to javadoc.
7832 * java/nio/charset/MalformedInputException.java
7833 (MalformedInputException): Added @param tag to javadoc.
7834 (getInputLength): Revised method description, added @return tag.
7835 (getMessage): Added @return tag.
7837 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7839 * java/awt/Font.java (deriveFont): Implement missing variants.
7840 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7843 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7845 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7846 Set method->index values for interface methods to their itable index.
7847 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7849 2004-04-21 Michael Koch <konqueror@gmx.de>
7851 * java/nio/DirectByteBufferImpl.java
7852 (shiftDown): Made static, give address as argument and
7853 provide a convenience method that overwrites shiftDown in
7854 ByteBufferImpl and calls the native shiftDown.
7855 * java/nio/MappedByteBufferImpl.java
7856 (): Use optimized method in DirectByteBufferImpl.
7857 * java/nio/natDirectByteBufferImpl.cc
7858 (shiftDown): Changed method signature. Removed usage of array_offset.
7860 2004-04-21 Michael Koch <konqueror@gmx.de>
7862 * gnu/java/net/natPlainSocketImplPosix.cc
7863 (SocketInputStream::read): Make sure returned data is a byte value.
7865 2004-04-21 Michael Koch <konqueror@gmx.de>
7867 * gnu/classpath/ServiceFactory.java,
7868 gnu/classpath/ServiceProviderLoadingAction.java,
7869 javax/imageio/ImageReader.java,
7870 javax/imageio/ImageTranscoder.java,
7871 javax/imageio/ImageWriter.java,
7872 javax/imageio/package.html,
7873 javax/imageio/spi/IIOServiceProvider.java,
7874 javax/imageio/spi/ImageInputStreamSpi.java,
7875 javax/imageio/spi/ImageOutputStreamSpi.java,
7876 javax/imageio/spi/ImageReaderWriterSpi.java,
7877 javax/imageio/spi/ImageTranscoderSpi.java,
7878 javax/imageio/spi/RegisterableService.java,
7879 javax/imageio/spi/ServiceRegistry.java,
7880 javax/imageio/spi/package.html,
7881 javax/imageio/stream/IIOByteBuffer.java,
7882 javax/imageio/stream/ImageInputStream.java,
7883 javax/imageio/stream/ImageOutputStream.java,
7884 javax/imageio/stream/package.html:
7887 (ordinary_java_source_files): Added
7888 gnu/classpath/ServiceFactory.java and
7889 gnu/classpath/ServiceProviderLoadingAction.java.
7890 (javax_source_files): Added
7891 javax/imageio/ImageReader.java,
7892 javax/imageio/ImageTranscoder.java,
7893 javax/imageio/ImageWriter.java,
7894 javax/imageio/spi/IIOServiceProvider.java,
7895 javax/imageio/spi/ImageInputStreamSpi.java,
7896 javax/imageio/spi/ImageOutputStreamSpi.java,
7897 javax/imageio/spi/ImageReaderWriterSpi.java,
7898 javax/imageio/spi/ImageTranscoderSpi.java,
7899 javax/imageio/spi/RegisterableService.java,
7900 javax/imageio/spi/ServiceRegistry.java,
7901 javax/imageio/stream/IIOByteBuffer.java,
7902 javax/imageio/stream/ImageInputStream.java and
7903 javax/imageio/stream/ImageOutputStream.java.
7904 * Makefile.in: Regenerated.
7906 2004-04-21 Michael Koch <konqueror@gmx.de>
7908 * java/util/Properties.java
7909 (load): Fix wrongly merged fix.
7911 2004-04-21 Mark Wielaard <mark@klomp.org>
7913 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7914 malloc and free buf.
7916 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7918 * javax/naming/AuthenticationException.java,
7919 javax/naming/AuthenticationNotSupportedException.java,
7920 javax/naming/CannotProceedException.java,
7921 javax/naming/CommunicationException.java,
7922 javax/naming/CompoundName.java,
7923 javax/naming/ConfigurationException.java,
7924 javax/naming/ContextNotEmptyException.java,
7925 javax/naming/InitialContext.java,
7926 javax/naming/InsufficientResourcesException.java,
7927 javax/naming/InterruptedNamingException.java,
7928 javax/naming/LimitExceededException.java,
7929 javax/naming/LinkException.java,
7930 javax/naming/LinkLoopException.java,
7931 javax/naming/LinkRef.java,
7932 javax/naming/MalformedLinkException.java,
7933 javax/naming/Name.java,
7934 javax/naming/NameAlreadyBoundException.java,
7935 javax/naming/NameNotFoundException.java,
7936 javax/naming/NamingSecurityException.java,
7937 javax/naming/NoInitialContextException.java,
7938 javax/naming/NoPermissionException.java,
7939 javax/naming/NotContextException.java,
7940 javax/naming/PartialResultException.java,
7941 javax/naming/ReferralException.java,
7942 javax/naming/ServiceUnavailableException.java,
7943 javax/naming/SizeLimitExceededException.java,
7944 javax/naming/TimeLimitExceededException.java,
7945 javax/naming/directory/Attribute.java,
7946 javax/naming/directory/Attributes.java,
7947 javax/naming/directory/SearchResult.java,
7948 javax/naming/event/NamingExceptionEvent.java,
7949 javax/naming/spi/ResolveResult.java:
7952 2004-04-21 Mark Wielaard <mark@klomp.org>
7954 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7955 Changed C++ comments into C comments. Removed commented out code.
7956 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7958 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7960 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7962 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7964 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7966 * native/jni/gtk-peer/gthread-jni.c:
7969 2004-04-21 Mark Wielaard <mark@klomp.org>
7971 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7972 static fields defined in interface.
7973 * javax/awt/JDialog.java: Likewise.
7974 (JDialog): Make constructors public.
7975 (getDefaultCloseOperation): Make public.
7976 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7977 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7978 * javax/swing/JViewport.java (JViewport): Make constructor public.
7980 2004-04-21 Michael Koch <konqueror@gmx.de>
7982 * java/util/Map.java
7983 (Entry): Removed redundant "static" modifier.
7984 * java/text/AttributedCharacterIterator.java:
7985 Updated copyright year.
7987 2004-04-20 Michael Koch <konqueror@gmx.de>
7989 * javax/naming/directory/SearchControls.java:
7990 Don't explicitely extend java.lang.Object.
7991 * javax/naming/spi/DirStateFactory.java:
7992 Merged copyright year with GNU classpath.
7994 2004-04-20 Michael Koch <konqueror@gmx.de>
7996 * java/nio/channels/Channels.java:
7997 Merged coding style with GNU classpath.
7999 2004-04-20 Michael Koch <konqueror@gmx.de>
8001 * java/net/ServerSocket.java
8002 Merged coding style from GNU classpath.
8004 2004-04-20 Michael Koch <konqueror@gmx.de>
8006 * java/io/BufferedWriter.java:
8007 Reordered variables to be at top of the class.
8008 (localFlush): Removed redundant final keyword.
8010 2004-04-20 Ingo Proetel <proetel@aicas.com>
8012 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8014 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8016 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8017 for percent and permill check.
8019 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8021 * java/text/FieldPosition.java
8022 (FieldPosition) Constructor now behaves as it should according
8023 to the java documentation.
8025 2004-04-20 Mark Wielaard <mark@klomp.org>
8027 * java/util/Properties.java: Use the word umlaut, not ä in api
8030 2004-04-20 Michael Koch <konqueror@gmx.de>
8032 * java/nio/Buffer.java,
8033 java/nio/channels/AlreadyConnectedException.java,
8034 java/nio/channels/AsynchronousCloseException.java,
8035 java/nio/channels/ByteChannel.java,
8036 java/nio/channels/CancelledKeyException.java,
8037 java/nio/channels/Channel.java,
8038 java/nio/channels/Channels.java,
8039 java/nio/channels/ClosedByInterruptException.java,
8040 java/nio/channels/ClosedChannelException.java,
8041 java/nio/channels/ClosedSelectorException.java,
8042 java/nio/channels/ConnectionPendingException.java,
8043 java/nio/channels/DatagramChannel.java,
8044 java/nio/channels/FileChannel.java,
8045 java/nio/channels/FileLock.java,
8046 java/nio/channels/FileLockInterruptionException.java,
8047 java/nio/channels/GatheringByteChannel.java,
8048 java/nio/channels/IllegalBlockingModeException.java,
8049 java/nio/channels/IllegalSelectorException.java,
8050 java/nio/channels/InterruptibleChannel.java,
8051 java/nio/channels/NoConnectionPendingException.java,
8052 java/nio/channels/NonReadableChannelException.java,
8053 java/nio/channels/NonWritableChannelException.java,
8054 java/nio/channels/NotYetBoundException.java,
8055 java/nio/channels/NotYetConnectedException.java,
8056 java/nio/channels/OverlappingFileLockException.java,
8057 java/nio/channels/Pipe.java,
8058 java/nio/channels/ReadableByteChannel.java,
8059 java/nio/channels/ScatteringByteChannel.java,
8060 java/nio/channels/SelectableChannel.java,
8061 java/nio/channels/SelectionKey.java,
8062 java/nio/channels/Selector.java,
8063 java/nio/channels/ServerSocketChannel.java,
8064 java/nio/channels/SocketChannel.java,
8065 java/nio/channels/UnresolvedAddressException.java,
8066 java/nio/channels/UnsupportedAddressTypeException.java,
8067 java/nio/channels/WritableByteChannel.java,
8068 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8069 java/nio/channels/spi/AbstractSelectableChannel.java,
8070 java/nio/channels/spi/AbstractSelectionKey.java,
8071 java/nio/channels/spi/AbstractSelector.java,
8072 java/nio/channels/spi/SelectorProvider.java,
8073 java/nio/charset/spi/CharsetProvider.java:
8074 Fixed javadocs and jalopied all over java.nio.
8076 2004-04-20 Michael Koch <konqueror@gmx.de>
8078 * java/nio/ByteBufferImpl.java,
8079 java/nio/CharBufferImpl.java,
8080 java/nio/DirectByteBufferImpl.java,
8081 java/nio/DoubleBufferImpl.java,
8082 java/nio/DoubleViewBufferImpl.java,
8083 java/nio/FloatBufferImpl.java,
8084 java/nio/FloatViewBufferImpl.java,
8085 java/nio/IntBufferImpl.java,
8086 java/nio/IntViewBufferImpl.java,
8087 java/nio/LongBufferImpl.java,
8088 java/nio/LongViewBufferImpl.java,
8089 java/nio/MappedByteBufferImpl.java,
8090 java/nio/ShortBufferImpl.java,
8091 java/nio/ShortViewBufferImpl.java:
8092 Made sure all classes are final and removed final keyword from all
8095 2004-04-20 Michael Koch <konqueror@gmx.de>
8097 * java/rmi/MarshalledObject.java,
8098 java/rmi/Naming.java,
8099 java/rmi/RemoteException.java,
8100 java/rmi/activation/ActivationException.java,
8101 java/rmi/server/ServerCloneException.java,
8102 java/security/AccessController.java,
8103 java/security/AlgorithmParameterGenerator.java,
8104 java/security/AlgorithmParameters.java,
8105 java/security/CodeSource.java,
8106 java/security/Identity.java,
8107 java/security/IdentityScope.java,
8108 java/security/KeyPairGenerator.java,
8109 java/security/KeyStore.java,
8110 java/security/Security.java,
8111 java/security/Signature.java,
8112 java/security/SignatureSpi.java,
8113 java/security/SignedObject.java,
8114 java/security/spec/DSAParameterSpec.java,
8115 java/security/spec/DSAPrivateKeySpec.java,
8116 java/security/spec/DSAPublicKeySpec.java,
8117 java/sql/Array.java,
8118 java/sql/DatabaseMetaData.java,
8119 java/sql/ResultSet.java,
8120 java/text/ChoiceFormat.java,
8121 java/text/CollationElementIterator.java,
8122 java/text/CollationKey.java,
8123 java/text/Collator.java,
8124 java/text/DateFormat.java,
8125 java/text/DateFormatSymbols.java,
8126 java/text/DecimalFormatSymbols.java,
8127 java/text/Format.java,
8128 java/text/ParsePosition.java,
8129 java/text/RuleBasedCollator.java,
8130 java/text/SimpleDateFormat.java,
8131 java/text/StringCharacterIterator.java,
8132 java/util/Collections.java,
8133 java/util/PropertyResourceBundle.java,
8134 java/util/ResourceBundle.java,
8135 java/util/StringTokenizer.java,
8136 java/util/jar/Attributes.java,
8137 java/util/logging/ConsoleHandler.java,
8138 java/util/logging/LogManager.java,
8139 java/util/logging/MemoryHandler.java,
8140 java/util/logging/SocketHandler.java,
8141 javax/naming/NamingException.java:
8142 Fixed javadoc, coding style and argument names all over.
8144 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8146 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8147 constructor. (valid) Added null check.
8149 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8151 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8152 * java/io/FileOutputStream.java
8153 (FileOutputStream) Reorganized constructors. Constructors now
8154 check whether the given path is directory.
8156 2004-04-20 Michael Koch <konqueror@gmx.de>
8158 * java/net/Authenticator.java,
8159 java/net/BindException.java,
8160 java/net/ConnectException.java,
8161 java/net/ContentHandler.java,
8162 java/net/ContentHandlerFactory.java,
8163 java/net/DatagramPacket.java,
8164 java/net/DatagramSocket.java,
8165 java/net/DatagramSocketImpl.java,
8166 java/net/DatagramSocketImplFactory.java,
8167 java/net/FileNameMap.java,
8168 java/net/HttpURLConnection.java,
8169 java/net/Inet4Address.java,
8170 java/net/Inet6Address.java,
8171 java/net/InetAddress.java,
8172 java/net/InetSocketAddress.java,
8173 java/net/JarURLConnection.java,
8174 java/net/MalformedURLException.java,
8175 java/net/MulticastSocket.java,
8176 java/net/NetPermission.java,
8177 java/net/NetworkInterface.java,
8178 java/net/NoRouteToHostException.java,
8179 java/net/PasswordAuthentication.java,
8180 java/net/PortUnreachableException.java,
8181 java/net/ProtocolException.java,
8182 java/net/ServerSocket.java,
8183 java/net/Socket.java,
8184 java/net/SocketAddress.java,
8185 java/net/SocketException.java,
8186 java/net/SocketImpl.java,
8187 java/net/SocketImplFactory.java,
8188 java/net/SocketOptions.java,
8189 java/net/SocketPermission.java,
8190 java/net/SocketTimeoutException.java,
8192 java/net/URISyntaxException.java,
8194 java/net/URLClassLoader.java,
8195 java/net/URLConnection.java,
8196 java/net/URLDecoder.java,
8197 java/net/URLEncoder.java,
8198 java/net/URLStreamHandler.java,
8199 java/net/URLStreamHandlerFactory.java,
8200 java/net/UnknownHostException.java,
8201 java/net/UnknownServiceException.java:
8202 Fixed javadocs, coding style and argument names all over.
8204 2004-04-20 Michael Koch <konqueror@gmx.de>
8206 * java/lang/Byte.java,
8207 java/lang/CharSequence.java,
8208 java/lang/ClassLoader.java,
8209 java/lang/Compiler.java,
8210 java/lang/Double.java,
8211 java/lang/Float.java,
8212 java/lang/Integer.java,
8213 java/lang/Long.java,
8214 java/lang/Math.java,
8215 java/lang/Number.java,
8216 java/lang/Package.java,
8217 java/lang/Runtime.java,
8218 java/lang/RuntimePermission.java,
8219 java/lang/SecurityManager.java,
8220 java/lang/Short.java,
8221 java/lang/StringBuffer.java,
8222 java/lang/System.java,
8223 java/lang/ThreadGroup.java,
8224 java/lang/Throwable.java,
8225 java/lang/reflect/InvocationHandler.java,
8226 java/lang/reflect/Proxy.java:
8227 Fixed javadocs, coding style and argument names all over.
8229 2004-04-20 Michael Koch <konqueror@gmx.de>
8231 * java/io/BufferedWriter.java,
8232 java/io/ByteArrayInputStream.java,
8233 java/io/CharArrayWriter.java,
8234 java/io/DataInput.java,
8235 java/io/DataInputStream.java,
8237 java/io/FilterInputStream.java,
8238 java/io/InputStream.java,
8239 java/io/InputStreamReader.java,
8240 java/io/ObjectInputStream.java,
8241 java/io/ObjectStreamClass.java,
8242 java/io/PipedInputStream.java,
8243 java/io/PipedReader.java,
8244 java/io/PushbackInputStream.java,
8245 java/io/PushbackReader.java,
8246 java/io/RandomAccessFile.java,
8247 java/io/SerializablePermission.java,
8248 java/io/StreamTokenizer.java,
8249 java/io/StringWriter.java,
8250 java/io/WriteAbortedException.java,
8251 java/io/Writer.java:
8252 Fixed javadocs all over, rename arguments to match javadocs,
8255 2004-04-20 Ingo Proetel <proetel@aicas.com>
8257 * java/awt/FontMetrics.java:
8258 (charsWidth): fixed accumulation of total_width
8259 (getWidth): simple default implementation
8260 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8261 in Rectangle constructor.
8262 * java/awt/image/Raster.java (toString): Added method.
8263 * java/awt/image/SampleModel.java (<init>): Added error cause
8264 information to thrown exception.
8265 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8267 (setDataElements): New method.
8268 (setPixels): New method.
8269 (toString): New method.
8271 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8273 * java/awt/image/ComponentColorModel.java
8274 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8275 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8276 Mauve tests on this method. Improved documentation.
8278 2004-04-20 Michael Koch <konqueror@gmx.de>
8280 * javax/swing/JLayeredPane.java,
8281 javax/swing/plaf/BorderUIResource.java,
8282 javax/swing/plaf/ComponentUI.java,
8283 javax/swing/undo/CompoundEdit.java,
8284 javax/swing/undo/StateEdit.java:
8285 Fixed HTML tags in javadocs all over.
8287 2004-04-20 Michael Koch <konqueror@gmx.de>
8289 * javax/print/attribute/EnumSyntax.java
8290 (getOffset): Made protected.
8291 * javax/print/attribute/HashAttributeSet.java
8292 (HashAttributeSet): Likewise.
8293 * javax/print/attribute/ResolutionSyntax.java
8294 (getFeedResolution): Fixed typo in exception name.
8295 (getCrossFeedResolution): Likewise.
8296 * javax/print/attribute/SetOfIntegerSyntax.java
8297 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8298 * javax/print/attribute/TextSyntax.java
8299 (TextSyntax): Handle locale correctly.
8300 (hashCode): Calc better hashcode value.
8301 (equals): Fixed @return tag.
8302 (toString): New method.
8304 2004-04-20 Michael Koch <konqueror@gmx.de>
8306 * gnu/java/nio/FileLockImpl.java
8307 (static): Removed, not needed anymore.
8308 * gnu/java/nio/channels/FileChannelImpl.java
8309 (FileChannelImpl): Made final.
8310 (mode): Made private.
8311 (READ, WRITE, APPEND): Made public.
8312 (EXCL, SYNC, DSYNC): Likewise.
8313 (static): Load native JNI library, when needed.
8314 (length): Unused, removed.
8315 (available): Made public.
8316 (implPosition): Throws IOException.
8318 (implTruncate): Likewise.
8322 2004-04-20 Michael Koch <konqueror@gmx.de>
8324 * java/awt/AWTPermission.java,
8325 java/awt/Component.java,
8326 java/awt/ComponentOrientation.java,,
8327 java/awt/Dialog.java,
8328 java/awt/FontMetrics.java,
8329 java/awt/Graphics.java,
8330 java/awt/datatransfer/DataFlavor.java,
8331 java/beans/Introspector.java,
8332 java/beans/PropertyEditor.java,
8333 java/beans/PropertyEditorManager.java,
8334 java/beans/beancontext/BeanContextServiceProvider.java:
8335 Fixed HTML tags in javadocs all over.
8337 2004-04-20 Mark Wielaard <mark@klomp.org>
8339 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8340 MissingResourceException is thrown.
8341 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8342 null when a MissingResourceException is thrown. Should never happen.
8344 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8346 * java/awt/image/DataBufferShort.java,
8347 java/awt/image/DataBufferFloat.java,
8348 java/awt/image/DataBufferDouble.java,
8349 java/awt/image/PixelInterleavedSampleModel.java: New files.
8350 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8351 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8353 2004-04-20 Michael Koch <konqueror@gmx.de>
8355 * Makefile.am (java_source_files): Added
8356 java/awt/image/DataBufferDouble.java,
8357 java/awt/image/DataBufferFloat.java,
8358 java/awt/image/DataBufferShort.java and
8359 java/awt/image/PixelInterleavedSampleModel.java.
8360 * Makefile.in: Regenerated.
8362 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8364 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8365 undocumented CNI calls.
8366 * include/java-interp.h (_Jv_InterpClass): No longer
8367 extends java.lang.Class.
8368 * java/lang/Class.h (Class): Add new field `aux_info'.
8369 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8370 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8371 Use Class->aux_info instead.
8372 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8373 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8374 Use Class->aux_info instead.
8375 * java/io/natObjectInputStream.cc (allocateObject): Use
8377 * java/lang/natClass.cc (newInstance): Likewise.
8378 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8379 * java/lang/natObject.cc (clone): Likewise.
8380 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8381 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8382 JvAllocObject. Allocate klass->aux_info here for interpreted
8385 2004-04-17 Mark Wielaard <mark@klomp.org>
8387 * javax/swing/JToggleButton.java (ToggleButtonModel):
8388 Make public static inner class.
8389 * javax/swing/JTabbedPane.java (setComponentAt):
8390 Call Page.setComponent().
8391 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8392 (WRAP_TAB_LAYOUT): Make public, value is 0.
8393 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8394 Make private static inner class.
8396 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8398 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8399 arguments to match new signature. Remove FIXME comments.
8401 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8403 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8408 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8410 * Makefile.am: Added new file.
8411 * Makefile.in: Regenerate.
8412 * javax/swing/ImageIcon.java:
8413 (ImageIcon(file)): set description of the icon
8415 * javax/swing/JCheckBoxMenuItem.java:
8416 Mostly Implemented. Work in progress.
8417 * javax/swing/JRadioButtonMenuItem.java:
8418 Reimplement constructors to use JToggleButtonModel.
8419 * javax/swing/plaf/basic/BasicIconFactory.java:
8420 (getCheckBoxMenuItemIcon): return check box
8422 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8423 paint menu item selected only when it is armed and
8426 2004-04-02 David Jee <djee@redhat.com>
8428 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8429 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8430 * java/awt/Component.java
8431 (add): Set the parent of the popup as this component.
8432 * java/awt/PopupMenu.java
8433 (addNotify): Create popup menu when peer is null.
8434 (show): Call addNotify() if peer is null.
8435 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8436 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8437 argument for gtk_menu_popup() as zero. This causes the popup menu to
8438 respond to any mouse button.
8440 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8442 * Makefile.am: Added new file.
8443 * Makefile.in: Regenerate.
8444 * javax/swing/JRadioButtonMenuItem.java:
8446 * javax/swing/plaf/basic/BasicIconFactory.java:
8447 (getRadioButtonMenuItemIcon): Return
8449 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8450 (getPreferredSize): Add size of checkIcon if it
8452 (installDefaults): Don't initialize checkIcon.
8453 It's value will be set in subclasses.
8454 (uninstallDefaults): remove uninstallation of
8456 (paint): Moved code to paintMenuItem().
8457 (paintMenuItem): Implemented.
8458 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8459 UI delegate for JRadioButtonMenuItem.
8461 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8463 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8464 Corrected position of the accelerator.
8466 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8468 * Makefile.am: Added new file.
8469 * Makefile.in: Regenerate.
8470 * javax/swing/JMenuItem.java: Partly
8471 implemented. Work in progress
8472 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8473 Changed default value of acceleratorDelimiter.
8474 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8475 New class. Partly implemented.
8477 2004-03-26 Mark Wielaard <mark@klomp.org>
8479 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8480 (item_activate): Declare label before use.
8481 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8482 (gtkSetFont): Removed unused variable label.
8483 (addExposeFilter): Declare variables before use.
8484 (removeExposeFilter): Likewise.
8485 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8486 (ok_clicked): Declare str_fileName before use.
8488 2004-03-26 David Jee <djee@redhat.com>
8490 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8491 (addSeparator): Remove.
8492 * java/awt/Menu.java
8493 (separator): Remove static final MenuItem field.
8494 (separatorLabel): New static final String field.
8495 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8496 Use separatorLabel to denote that it is a separator.
8497 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8498 of reusing the static separator instance, because a MenuItem instance
8499 can't be added more than once without being cloned.
8500 * java/awt/peer/MenuPeer.java
8501 (addSeparator): Remove from interface.
8503 2004-03-26 David Jee <djee@redhat.com>
8505 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8506 (connectSignals): New native method declaration.
8507 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8508 * java/awt/MenuItem.java
8509 (getActionCommand): Return the label if the action command is not set.
8510 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8511 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8512 gtk_menu_shell_append().
8513 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8514 (item_activate): Fix argument type.
8515 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8517 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8520 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8521 given. Add the menu widget's top-level GtkWindow to the global window
8522 group, so it can grab the pointer.
8523 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8524 gtk_menu_shell_append().
8526 2004-03-23 Graydon Hoare <graydon@redhat.com>
8528 * java/text/AttributedString.java
8529 (addAttribute): Fix off-by-one.
8530 (getIterator): Likewise.
8531 * java/text/AttributedStringIterator.java
8532 (getRunLimit): Correct logic.
8533 (getRunStart): Likewise.
8534 (getAttribute): Fix inequality.
8535 (getAttributes): Likewise.
8536 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8538 2004-03-23 Kim Ho <kho@redhat.com>
8540 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8541 (calculateSizes): Return real width and height.
8543 2004-03-23 Kim Ho <kho@redhat.com>
8545 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8546 (calculateTabRects): Set the selectedRun before
8547 trying to rotate tabs.
8549 2004-03-23 Kim Ho <kho@redhat.com>
8551 * Makefile.am: New file
8552 * Makefile.in: Regenerate
8553 * java/awt/Graphics.java: (drawRect):
8554 Draw to the correct point.
8555 * javax/swing/DefaultSingleSelectionModel.java
8556 (isSelected): Return true if the selected index
8558 * javax/swing/JLabel.java: Do not change mnemonic
8559 index if text is null.
8560 * javax/swing/JProgressBar.java: Use JComponent's
8562 * javax/swing/JScrollBar.java: Ditto.
8563 * javax/swing/JSlider.java: Ditto.
8564 * javax/swing/JTabbedPane.java: Reimplement.
8565 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8566 Add defaults for TabbedPane.
8567 * javax/swing/plaf/basic/BasicArrowButton.java:
8569 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8570 (paintDeterminate): Don't paint String if it's
8572 (paintIndeterminate): ditto.
8573 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8576 2004-03-19 Michael Koch <konqueror@gmx.de>
8578 * java/awt/image/AffineTransformOp.java
8579 (AffineTransformOp): Made public.
8580 * javax/swing/JComponent.java
8581 (listenerList): Made protected.
8582 (accessibleContext): Likewise.
8583 * javax/swing/JList.java
8584 (valueChanged): Dont use internal fields of ListSelectionEvent.
8585 * javax/swing/JViewport.java
8586 (getView): Dont use internal fields of Component.
8587 (addImpl): Likewise.
8588 * javax/swing/Timer.java
8589 (isRunning): Made public.
8592 * javax/swing/UIDefaults.java
8593 (getInt): Made public.
8594 * javax/swing/plaf/basic/BasicListUI.java
8595 (mousePressed): Dont use internal fields of MouseEvent.
8596 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8597 * javax/swing/plaf/basic/BasicScrollBarUI.java
8598 (arrowIcon): Made static.
8599 * javax/swing/plaf/basic/BasicViewportUI.java
8600 (stateChanged): Dont use internal field on ChangeEvent.
8601 * javax/swing/text/JTextComponent.java
8602 (getUI): Call UIManager.getUI().
8603 (updateUI): Use getUI().
8605 2004-03-19 Graydon Hoare <graydon@redhat.com>
8607 * javax/swing/JComponent.java: Turn off double buffer by default.
8608 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8610 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8611 Use cairo to copy areas.
8612 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8613 Initialize and set clip region.
8615 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8617 * java/applet/Applet.java (preferredSize): Override deprecated
8618 variant of getPreferredSize.
8619 (minimumSize): Override deprecated variant of getMinimumSize.
8621 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8623 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8624 (drawImage(img,xform,bgcolor,obs)): New Method.
8625 Helper function that every drawImage method will
8627 (drawRaster): Added new parameter, bgcolor. All
8628 transparent pixels are changed to bgcolor before
8630 (drawRenderedImage): Fixed to use changed drawRaster().
8631 (drawImage(image,xform,obs): Fixed to use new helper function
8632 (drawImage(image,op,x,y)): Ditto.
8633 (drawImage (img,x,y,observer)): Ditto.
8634 ((PainterThread) bgcolor): New Field.
8635 ((PainterThread) (setPixels)): Changed all transparent pixels
8637 (drawImage(img,x,y,width,height,bgcolor,observer)):
8638 Fixed FIXME - all the transparent pixels are
8639 changed to the specified bgcolor.
8640 (drawImage(img, x, y, width, height, observer): Changed to
8642 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8643 Fixed FIXME- changed all transparent pixels to bgcolor.
8644 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8645 Changed to use function above.
8647 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8649 * java/applet/Applet.java (dimensions): New field.
8650 (getDimensions): New method.
8651 (getPreferredSize): Call getDimensions.
8652 (getMinimumSize): Likewise.
8654 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8656 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8657 * jni/classpath/jnilink.c: Likewise.
8659 * java/applet/Applet.java (getPreferredSize): New method.
8660 (getMinimumSize): New method.
8662 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8664 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8665 (_Jv_AllocObjectNoFinalizer): Likewise.
8666 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8667 (_Jv_AllocPtrFreeObject): Likewise.
8668 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8669 directly even in the JVMPI case.
8670 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8671 _Jv_AllocObject calls.
8672 * gcj/javaprims.h: Update prototypes.
8673 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8674 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8675 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8677 2004-04-14 Andrew Haley <aph@redhat.com>
8678 Bryce McKinlay <mckinlay@redhat.com>
8680 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8681 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8682 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8684 * testsuite/libjava.lang/InvokeInterface.java: New file.
8685 * testsuite/libjava.lang/InvokeInterface.out: New file.
8687 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8689 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8691 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8692 StackTraceElement directly.
8693 (newElement): New native helper method to create StackTraceElement
8694 bypassing Java access control.
8695 (createStackTraceElement): Use newElement() instead of directly
8696 calling StackTraceElement's constructor.
8697 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8699 2004-04-01 Michael Koch <konqueror@gmx.de>
8701 * java/lang/SecurityManager.java
8702 (checkAwtEventQueueAccess): Implemented.
8704 2004-04-01 Gary Benson <gbenson@redhat.com>
8706 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8707 (_Jv_SearchMethodInClass): Likewise.
8709 2004-03-26 Peter Moon <peterm@miraculum.com>
8711 * java/text/NumberFormat.java: Fix spelling of setCurrency
8714 2004-03-21 Anthony Green <green@redhat.com>
8716 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8717 recursion when searching for the system ClassLoader.
8719 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8721 * java/net/ServerSocket.java
8722 (accept): Close the socket when error occured.
8724 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8726 * java/net/URI.java (parseURI): Added unquoting.
8727 (unquote): New method.
8728 (quoteAuthority): Implemented.
8729 (quote(String,String)): New method.
8730 (quotePath): Implemented.
8731 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8732 (getSchemeSpecificPart): Removed FIXME comment.
8733 (getRawAuthority): Return new rawAuthority field.
8734 (getAuthority): Removed FIXME comment.
8735 (getRawUserInfo): Return new rawUserInfo field.
8736 (getUserInfo): Removed FIXME comment.
8737 (getRawPath): Return new rawPath field.
8738 (getPath): Removed FIXME comment.
8739 (getRawQuery): Return new rawQuery field.
8740 (getQuery): Removed FIXME comment.
8741 (getRawFragment): Return new rawFragment field.
8742 (getFragment): Removed FIXME comment.
8744 2004-03-20 Michael Koch <konqueror@gmx.de>
8746 * java/net/URLConnection.java: Merged copyright year with classpath.
8748 2004-03-20 Norbert Frese <postfach@nfrese.net>
8750 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8751 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8752 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8754 (getObjectInputStream): Return object reference, throw IOException if null.
8755 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8756 (getObjectOutputStream): Return object reference, throw IOException if null.
8757 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8758 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8759 (UnicastConnectionManager): Throw RemoteException if port is not available.
8760 (getInstance): Throw RemoteException.
8761 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8762 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8763 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8764 Collect Exceptions which are returned by a rmi-call and fix void returns.
8765 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8766 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8767 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8768 (dispatch): Answer ping messages which are sent by other java implementions.
8769 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8770 for every rmi-message and fix void return problems.
8771 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8772 (UnicastServerRef): Throw RemoteException.
8773 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8774 In some situations it is necessary to export a subclass of the class which has the _Stub.
8775 For instance when the class with has the _Stub is abstract.
8776 (findStubSkelClass): New method which looks for the class which has the _Stub.
8777 (getClientHost): Implementated.
8778 * gcc/libjava/java/rmi/server/RemoteServer.java
8779 (getClientHost): Implementated.
8780 * gcc/libjava/Makefile.am (rmi_java_source_files):
8781 Added gnu/java/rmi/server/RMIIncomingThread.java.
8782 * Makefile.in: Regenerated.
8784 2004-03-20 Michael Koch <konqueror@gmx.de>
8786 * java/net/InetAddress.java
8787 (getLocalHostname): Added javadoc.
8789 2004-03-19 Per Bothner <per@bothner.com>
8791 * configure.in: FILE variable overrides FLATFORM when linking
8792 natFileChannelXXX.cc.
8794 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8795 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8797 2004-03-19 Per Bothner <per@bothner.com>
8799 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8800 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8801 * Makefile.am: Update accordingly.
8802 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8803 as aliases for UnicodeLittle and UnicodeBig.
8805 2004-03-20 Mark Wielaard <mark@klomp.org>
8807 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8808 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8809 Don't access ws when it is null.
8810 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8813 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8815 * java/lang/ThreadGroup.java (list): Changed print to println.
8817 2004-03-19 Mark Wielaard <mark@klomp.org>
8819 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8822 2004-02-10 Randolph Chung <tausq@debian.org>
8824 * configure.in: Build java for hppa target.
8825 * configure: Regenerate.
8826 * libjava/configure.host (hppa-*): Add target.
8827 * libjava/sysdeps/pa/lock.h: New file.
8829 2004-03-19 Mark Wielaard <mark@klomp.org>
8831 Reported by Stephen Crawley
8832 * java/io/FilePermission.java (implies): Use String.length() -1 to
8833 access last char of String.
8835 2004-03-19 Michael Koch <konqueror@gmx.de>
8837 * java/awt/image/AffineTransformOp.java
8838 (AffineTransformOp): Made public.
8839 * javax/swing/JComponent.java
8840 (listenerList): Made protected.
8841 (accessibleContext): Likewise.
8842 * javax/swing/JList.java
8843 (valueChanged): Dont use internal fields of ListSelectionEvent.
8844 * javax/swing/JViewport.java
8845 (getView): Dont use internal fields of Component.
8846 (addImpl): Likewise.
8847 * javax/swing/Timer.java
8848 (isRunning): Made public.
8851 * javax/swing/UIDefaults.java
8852 (getInt): Made public.
8853 * javax/swing/plaf/basic/BasicListUI.java
8854 (mousePressed): Dont use internal fields of MouseEvent.
8855 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8856 * javax/swing/plaf/basic/BasicScrollBarUI.java
8857 (arrowIcon): Made static.
8858 * javax/swing/plaf/basic/BasicViewportUI.java
8859 (stateChanged): Dont use internal field on ChangeEvent.
8860 * javax/swing/text/JTextComponent.java
8861 (getUI): Call UIManager.getUI().
8862 (updateUI): Use getUI().
8864 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8866 * verify.cc: Undef PC.
8868 2004-03-18 Michael Koch <konqueror@gmx.de>
8870 * java/nio/channels/spi/AbstractSelectableChannel.java
8871 (keys): Initialize at declaration.
8872 (locate): keys cant be null.
8874 (addSelectionKey): New method.
8875 (removeSelectionKey): New method.
8876 * java/nio/channels/spi/AbstractSelectionKey.java
8877 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8878 * java/nio/channels/spi/AbstractSelector.java
8879 (provider): Javadoc added.
8880 (cancelledKeys): Javadoc added.
8881 (cancelKey): Javadoc added, add key to cancelledKeys.
8882 (deregister): Implemented.
8884 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8886 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8887 MAP_FAILED to void *.
8889 2004-03-12 Graydon Hoare <graydon@redhat.com>
8891 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8892 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8893 * javax/swing/JList.java (ListListener): Revalidate on changes.
8894 * javax/swing/JScrollPane.java: Reimplement.
8895 * javax/swing/JViewport.java: Reimplement.
8896 * javax/swing/ScrollPaneLayout.java: Reimplement.
8897 * javax/swing/ViewportLayout.java: Tidy up.
8898 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8899 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8900 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8901 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8904 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8907 (window_wm_protocols_filter): New function.
8908 (window_focus_in_cb): Remove function.
8909 (window_focus_out_cb): Likewise.
8910 (window_focus_or_active_state_change_cb): New function.
8911 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8912 (connectSignals): Don't attach handlers to focus-in-event or
8913 focus-out-event signals. Handle notify signal.
8915 2004-03-11 David Jee <djee@redhat.com>
8917 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8918 (gtkSetLabel): New native method declaration.
8919 (setLabel): Use gtkSetLabel.
8920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8921 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8923 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8925 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8926 black when color argument is null.
8928 2004-03-10 Kim Ho <kho@redhat.com>
8930 * java/awt/Container.java: Remove check
8933 2004-03-10 Kim Ho <kho@redhat.com>
8935 * java/awt/Container.java: (visitChild):
8936 Remove candidate clip. Use the component
8938 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8939 (handleEvent): Use the PaintEvent's clip.
8941 2004-03-10 Kim Ho <kho@redhat.com>
8943 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8944 (handleEvent): Don't set the clip for the
8947 2004-03-09 Graydon Hoare <graydon@redhat.com>
8949 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8950 Fix double <-> fixed macros, reset font transform.
8951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8954 2004-03-09Â Kim Ho <kho@redhat.com>
8956 * java/awt/Container.java: (visitChild): Move
8957 the x and y coordinate of the component rectangle
8958 to correct position.
8959 (handleEvent): Forward drag events to the pressed
8961 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8963 (ArrowButtonListener::mousePressed): Stop the
8965 (mouseDragged): Implement.
8966 (TrackListener::mousePressed): Only react if
8967 the press doesn't occur on the thumb, otherwise
8968 just set the offset.
8969 (TrackListener::mouseReleased): Unset the isAdjusting
8971 (createIncreaseIcon): Switch icon.
8972 (createDecreaseIcon): Switch icon.
8973 (calculatePreferredSize): Use width.
8974 (getThumbBounds): Use the top as the lower value.
8975 (layoutVScrollBar): Switch the button locations.
8976 (paintIncreaseHighlight): Paint correct side of thumb.
8977 (paintDecreaseHighlight): ditto.
8978 (valueForYPosition): Use top as the lower value.
8979 * javax/swing/plaf/basic/BasicSliderUI.java:
8981 (mouseDragged): Implement.
8982 (mousePressed): Only react when the thumb isn't
8983 pressed, otherwise just set offset.
8984 (mouseReleased): Handle a release of the thumb.
8985 (scrollDueToClickInTrack): Stop the timer first.
8986 * javax/swing/JProgressBar.java:
8987 (setString): Fix change condition.
8988 * javax/swing/JSeparator.java:
8991 2004-03-08 David Jee <djee@redhat.com>
8993 * java/awt/image/AffineTransformOp.java:
8994 (filter): Use Graphics2D interface instead of directly using the
8997 2004-03-05 David Jee <djee@redhat.com>
8999 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9000 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9001 * java/awt/Container.java
9002 (acquireComponentForMouseEvent): Fixed.
9003 (handleEvent): Fixed.
9004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9005 (state_to_awt_mods_with_button_states): New method.
9006 (pre_event_handler): Fixed mouse event generation.
9008 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9010 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9011 (GdkGraphics2D (BufferedImage)): Initialize
9012 pixmap associated with specified BufferedImage.
9013 (setPaint): Changed implementation of Texture
9014 Paint to use AffineTransformOp.
9015 * java/awt/image/AffineTransformOp.java
9016 (createCompatibleDestRaster): Throw RasterFormatException
9017 if resulting width or height of raster is 0.
9019 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9021 * java/awt/image/AffineTransformOp.java:
9022 Removed unnecessary field interpolationType.
9023 Formatted some of the lines to be consistent with
9025 (AffineTransformOp): Create new RenderingHints
9026 containing specified interpolation type.
9027 (createCompatibleDestImage): Implemented.
9028 (createCompatibleDestRaster): Implemented.
9029 (filter): Implemented.
9030 (getBounds2D(BufferedImage)): Implemented.
9031 (getBounds2D(Raster)): Implemented.
9032 (getInterpolationType): Get interpolation value from
9035 2004-03-04 David Jee <djee@redhat.com>
9037 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9038 (setFont): Check if child peers are null.
9040 2004-03-04 Graydon Hoare <graydon@redhat.com>
9042 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9044 (libjava_arguments): Add new libraries to argument list.
9046 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9048 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9049 * Makefile.in: Re-generated.
9050 * java/awt/image/AffineTransformOp.java: New Class.
9052 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9054 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9055 (setPaint): Interpret correctly TexturePaint's
9057 (drawImage): Fixed scale factors of the affine
9060 2004-02-27 David Jee <djee@redhat.com>
9062 * gnu/java/awt/peer/gtk/GdkGraphics.java
9063 (GdkGraphics(Component)): Inherit font from component.
9064 (drawString): Use font style.
9065 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9066 (gtkSetFont): New native method declaration.
9067 (setFont): New method.
9068 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9069 (gtkSetFont): New native method declaration.
9070 (setFont): Call new native method gtkSetFont.
9071 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9072 (setFont): For all child components who do not their fonts set,
9073 set their peers' fonts with this container's font.
9074 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9075 Move all native method declarations to the top for readability.
9076 (gtkSetFont): New native method declaration.
9077 (setFont): New method.
9078 * java/awt/Component.java
9079 (setFont): Invalidate after setting the font.
9080 * java/awt/Container.java
9081 (invalidateTree): New method.
9082 (setFont): Invalidate the container tree after setting the font.
9083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9084 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9086 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9088 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9090 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9092 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9094 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9095 (updateBufferedImage): New helper function.
9096 Updates BufferedImage in memory if it was changed.
9097 (draw): changed to update BufferedImage in memory after
9098 this drawing operation
9100 (draw3DRect): Ditto.
9101 (fill3DRect): Ditto.
9103 (drawRaster): Ditto.
9104 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9105 no affine transformation.
9106 (drawGlyphVector): Ditto.
9108 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9110 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9111 (isBufferedImageGraphics): New Helper function.
9112 Returns true if this graphics2d can be used to draw
9113 into buffered image and false otherwise.
9114 (updateImagePixels): New Helper function.
9115 Updates pixels in the BufferedImage.
9116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9117 (getImagePixels): New function. Returns pixels
9118 of the buffered image associated with
9121 2004-02-26 David Jee <djee@redhat.com>
9123 * java/awt/BorderLayout.java
9124 (layoutContainer): Fix width and height calculations to ensure
9125 that they're non-negative.
9126 * java/awt/Component.java
9127 (setBackground): If c is null, inherit from closest ancestor whose
9128 background color is set.
9130 2004-02-26 Kim Ho <kho@redhat.com>
9132 * Makefile.am: Add new files.
9133 * Makefile.in: Re-generate.
9134 * javax/swing/JProgressBar.java:
9135 (JProgressBar(int, int int)): Throw
9136 IllegalArgumentException if orientation is
9138 (JProgressBar(BoundedRangeModel)): Create
9139 ChangeListener and register it. UpdateUI.
9140 (getChangeListeners): Implement.
9141 (setModel): Reset ChangeListener.
9142 * javax/swing/JScrollBar.java: Implement.
9143 * javax/swing/JSeparator.java: Implement.
9144 * javax/swing/JSlider.java:
9145 (JSlider(int, int, int, int)): Throw
9146 IllegalArgumentException if orientation
9148 (getChangeListeners): Fix method name.
9149 * javax/swing/SwingUtilities.java:
9150 (layoutCompoundLabel): If there is no text,
9151 set the text rectangle dimensions to 0.
9152 * javax/swing/plaf/basic/BasicButtonUI.java:
9153 (paint): If there is no text, don't paint it.
9154 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9156 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9158 * javax/swing/plaf/basic/BasicSliderUI.java:
9159 (propertyChange): If the model changes, change
9160 the listeners accordingly.
9162 2004-02-25 Graydon Hoare <graydon@redhat.com>
9164 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9165 * javax/swing/JList.java: Reimplement.
9166 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9167 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9168 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9169 * javax/swing/ListModel.java: Javadoc.
9170 * javax/swing/ListSelectionModel.java: Add missing methods.
9171 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9172 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9173 * javax/swing/ListModel.java: Javadoc and corrections.
9174 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9176 2004-02-25 David Jee <djee@redhat.com>
9178 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9179 (GtkFontPeer): Change default size to 12.
9180 * gnu/java/awt/peer/gtk/GtkToolkit.java
9181 (getFontPeer): Change default size to 12.
9182 (getClasspathFontPeer): Likewise. Set default name to "Default".
9183 * java/awt/Font.java
9184 (Font(Map)): Call Font(String,Map).
9185 (Font(String,Map)): If attrs is null, initialize it as an empty
9186 HashMap, which will ensure that the Font will get default attributes.
9188 2004-02-25 David Jee <djee@redhat.com>
9190 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9191 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9192 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9193 * gnu/java/awt/peer/gtk/GtkToolkit.java
9194 (getFontPeer(String,int)): Call the new overload method with size 1.
9195 (getFontPeer(String,int,int)): New method. Overloaded with size
9197 (getClasspathFontPeer): Set the size of the font.
9199 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9201 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9202 (bimage): New field.
9203 (GdkGraphics2D): New Constructor. Constructs Graphics
9204 object that can be used to draw into the Buffered Image.
9205 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9206 (GdkGraphicsEnvironment): Fixed to include public
9208 (createGraphics): Implemented.
9209 * gnu/java/awt/peer/gtk/GtkToolkit.java
9210 (getLocalGraphicsEnvironment): Implemented.
9211 * java/awt/GraphicsEnvironment.java:
9212 (getLocalGraphicsEnvironment): Implemented.
9213 * java/awt/image/BufferedImage.java:
9214 (createGraphics): Implemented.
9216 2004-02-24 David Jee <djee@redhat.com>
9218 * java/awt/Component.java
9219 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9220 * java/awt/Container.java
9221 (addNotifyContainerChildren): Fix event enabling.
9223 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9225 * Makefile.am: Added
9226 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9227 * Makefile.in: Re-generated.
9228 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9231 2004-02-19 Kim Ho <kho@redhat.com>
9233 * Makefile.am: Add BasicProgressBarUI
9234 * Makefile.in: Regenerate.
9235 * javax/swing/JProgressBar.java:
9237 * javax/swing/plaf/basic/BasicLookAndFeel.java
9238 Add constants for JProgressBar.
9239 * javax/swing/plaf/basic/BasicProgressBarUI.java
9241 * javax/swing/plaf/basic/BasicSliderUI.java
9243 (calculateGeometry): New method
9244 (paint): Remove unnecessary size calculations.
9246 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9248 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9249 (drawRaster): Fixed small error that caused
9250 imageToUser transformation to be set incorrectly.
9251 (toString): Implemented.
9253 2004-02-18 David Jee <djee@redhat.com>
9255 * java/awt/CardLayout.java
9256 (addLayoutComponent): Show the first component added as the default.
9257 (removeLayoutComponent): After removing, show the next component.
9258 (gotoComponent): If there is only one component, show it and return.
9260 2004-02-18 Kim Ho <kho@redhat.com>
9262 * javax/swing/JSlider.java: Re-order
9264 * javax/swing/JLabel.java: Re-order
9266 * javax/swing/JComponent.java:
9267 (addPropertyChangeListener):
9269 (removePropertyChangeListener):
9271 (firePropertyChangeEvent):
9274 2004-02-17 David Jee <djee@redhat.com>
9276 * java/awt/Component.java
9277 (show): Dispatch ComponentEvent via system event queue.
9281 (reshape): Likewise.
9282 * java/awt/Window.java
9283 (setBoundsCallback): Likewise.
9285 2004-02-17 David Jee <djee@redhat.com>
9287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9288 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9289 Use gtk_widget_set_size_request() instead of the deprecated
9290 gtk_widget_set_usize().
9292 2004-02-17 Kim Ho <kho@redhat.com>
9294 * javax/swing/JSlider.java: Fix comments and
9295 make property strings constants.
9296 (createStandardLabels): Use the labels
9297 preferred size as bounds.
9298 * javax/swing/plaf/basic/BasicSliderUI.java
9300 (ScrollHandler::actionPerformed): Don't
9301 calculate the timer stop value. Let the
9302 MouseListeners find the stop location.
9303 (getPreferredHorizontalSize): Re-implement.
9304 (getPreferredVerticalSize): ditto.
9305 (getMinimumHorizontalSize): ditto.
9306 (getMinimumVerticalSize): ditto.
9307 (getPreferredSize): ditto.
9308 (getMinimumSize): ditto.
9309 (getMaximumSize): ditto.
9310 (paintTicks): Use doubles to find the
9312 (paintHorizontalLabel):Â Use preferredSize
9313 as initial width and height.
9314 (paintVerticalLabel): ditto.
9316 2004-02-17 Kim Ho <kho@redhat.com>
9318 * javax/swing/JLabel.java: Changed
9319 property strings to constants.
9320 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9322 (setText): Change mnemonic index if
9324 (setDisplayedMnemonicIndex): Fire property
9326 (getDisplayedMnemonicIndex): Remove check
9329 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9331 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9332 (drawImage(img,xform,obs)): Invert xform before
9333 passing the xform to cairo.
9334 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9335 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9337 (drawImage (img,x,y,w,h,obs)): Implemented.
9338 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9339 bgcolor,obs)): Partly implemented.
9340 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9342 * java/awt/image/BufferedImage.java:
9343 (copyData): if dest is null, create raster with same
9344 dimensions as the current image.
9346 2004-02-16 Graydon Hoare <graydon@redhat.com>
9348 * javax/swing/plaf/basic/BasicLabelUI.java
9349 (getPreferredSize): Use layoutCL.
9350 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9351 (getPreferredButtonSize): Start with empty view rect, layout using
9352 component's preferred alignment.
9353 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9356 2004-02-16 David Jee <djee@redhat.com>
9358 * java/awt/Component.java
9359 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9360 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9361 (move): Erase old bounds and repaint new bounds. Dispatch
9362 COMPONENT_MOVED ComponentEvent.
9363 (resize): Erase old bounds and repaint new bounds. Dispatch
9364 COMPONENT_RESIZED ComponentEvent.
9365 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9367 * java/awt/Window.java
9368 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9371 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9373 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9374 (setRenderingHint): Added implementation of
9375 Interpolation rendering hints.
9376 (setRenderingHints): Ditto.
9377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9378 (drawPixels): fixed to allow user to choose type
9379 of filtering that should be used when displaying images.
9380 (cairoSurfaceSetFilter): New method. Sets filter type for
9381 interpolation of pixel values.
9383 2004-02-16 David Jee <djee@redhat.com>
9385 * java/awt/GridBagLayout.java
9386 (calcCellSizes): Rows or columns with zero sizes should still be
9387 considered for extra space distribution.
9389 2004-02-16 Kim Ho <kho@redhat.com>
9391 * javax/swing/JLabel.java: Re-implement.
9392 * javax/swing/plaf/basic/BasicLabelUI.java
9394 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9397 2004-02-16 Kim Ho <kho@redhat.com>
9399 * javax/swing/JSlider.java: Fix indentation and comments.
9400 (setModel): Remove null check to conform with Sun's.
9401 (setOrientation): Throw exception if not
9402 HORIZONTAL or VERTICAL.
9403 (getInverted): Use private variable instead of
9404 ComponentOrientation.
9405 (setInverted): ditto.
9406 * javax/swing/plaf/basic/BasicSliderUI.java:
9407 Fix indentation and comments.
9408 (propertyChange): Remove check for inverted slider, handle
9410 (getMinimumSize): Return preferred size.
9411 (getMaximumSize): ditto.
9412 (calculateFocusRect): Don't relocate rectangle.
9413 (drawInverted): Return XOR of the slider's inversion and
9414 the component's orientation.
9415 (paint): Update leftToRightCache
9417 2004-02-13 David Jee <djee@redhat.com>
9419 * java/awt/GridBagLayout.java
9420 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9421 code to helper methods.
9422 (sortBySpan): New helper method.
9423 (distributeSizeAndWeight): Likewise.
9424 (calcCellWeights): Likewise.
9425 (calcCellSizes): Add comments.
9427 2004-02-13 David Jee <djee@redhat.com>
9429 * java/awt/Component.java
9430 (show): Only do something if component is invisible at the moment.
9431 (hide): Only do something if component is visible at the moment.
9432 (reshape): If lightweight, erase old bounds and repaint new bounds.
9434 2004-02-13 Kim Ho <kho@redhat.com>
9436 * Makefile.am: Updated for new file.
9437 * Makefile.in: Regenerated.
9438 * javax/swing/JSlider.java: Reimplement.
9439 * javax/swing/SwingUtilities.java
9440 (layoutCompoundLabel): Use icon height
9442 (paintComponent): Implement.
9443 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9444 Add JSlider defaults.
9445 * javax/swing/plaf/basic/BasicSliderUI.java:
9446 Implement. New file.
9448 2004-03-17 Michael Koch <konqueror@gmx.de>
9450 * gnu/java/net/PlainDatagramSocketImpl.java
9451 (RECEIVE_LOCK): New member field.
9452 (SEND_LOCK): New member field.
9453 (send0): New method.
9454 (send): Synchronize on SEND_LOCK.
9455 (receive0): New method.
9456 (receive): Synchronize on RECEIVE_LOCK.
9457 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9458 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9459 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9460 (send0): Renamed from send.
9461 (receive0): Renamed from receive.
9462 2004-03-17 Michael Koch <konqueror@gmx.de>
9464 * gnu/java/net/natPlainSocketImplPosix.cc
9465 (write): Just call write(jbyteArray, offset, len).
9466 (read): Just call read(jbyteArray, offset, len).
9468 2004-03-16 Michael Koch <konqueror@gmx.de>
9470 * javax/swing/JTabbedPane.java
9471 (serialVersionUID): New field.
9473 2004-03-16 Norbert Frese <postfach@nfrese.net>
9475 * java/net/InetAddress.java
9476 (getByName): Handle hostname == "" case.
9478 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9480 Reported by: Adam Heath <doogie@debian.org>
9481 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9484 2004-03-15 Michael Koch <konqueror@gmx.de>
9486 * java/util/Locale.java: Reverting my last patch
9487 and add a comment why the original version was okay.
9489 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9491 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9492 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9493 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9494 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9496 2004-03-12 Michael Koch <konqueror@gmx.de>
9498 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9500 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9502 * java/net/URI.java (toURL): Implemented.
9504 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9507 (URI_REGEXP) updated to contain scheme specific part.
9508 (SCHEME_SPEC_PART_GROUP) new constant.
9509 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9510 updated to make room for SCHEME_SPEC_PART_GROUP.
9511 (parseURI) parse scheme specific part.
9512 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9513 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9514 getQuery, getFragment) implemented.
9516 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9518 * libraries/javalib/java/net/URI.java
9519 partially implemented using java.util.regex.
9520 (URI_REGEXP) new constant. Used to parse URIs.
9521 (SCHEME_GROUP) new constant representing index of scheme group
9523 (AUTHORITY_GROUP) new constant representing index of authority
9524 group in parsed URI.
9525 (PATH_GROUP) new constant representing index of path group in
9527 (QUERY_GROUP) new constant representing index of query group in
9529 (FRAGMENT_GROUP) new constant representing index of fragment
9530 group in parsed URI.
9531 (getURIGroup) new static utility method.
9532 (parseURI) implemented.
9533 (quote) stub for new static utility method.
9534 (quoteAuthority) stub for new static utility method.
9535 (quoteHost) stub for new static utility method.
9536 (quotePath) stub for new static utility method.
9537 (quoteUserInfo) stub for new static utility method.
9539 (create) don't throw URISyntaxException. Implemented.
9540 (toString) implemented.
9542 2004-03-12 Michael Koch <konqueror@gmx.de>
9544 * java/net/HttpURLConnection.java
9545 (getResponseCode): Fix another typo in javadoc.
9547 2004-03-11 Michael Koch <konqueror@gmx.de>
9549 * java/util/logging/Level.java
9550 (parse): Use String.equals() instead of ==.
9552 2004-03-11 Michael Koch <konqueror@gmx.de>
9554 * gnu/java/net/protocol/jar/Connection.java
9555 (getContentLength): New method.
9557 2004-03-11 Michael Koch <konqueror@gmx.de>
9559 * gnu/java/net/PlainSocketImpl.java:
9560 Reformated to merge better with classpath's version.
9562 2004-03-11 Michael Koch <konqueror@gmx.de>
9564 * java/util/Locale.java
9565 (getISO3Language): Use String.equals() instead of ==.
9566 (getISO3Country): Likewise.
9568 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9570 * java/text/AttributedString.java
9571 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9572 Use HashMap instead of Hashtable since value can be null, and
9573 you can not store a null value in a Hashtable.
9575 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9577 * java/text/AttributedStringIterator.java
9578 (getAllAttributesKey): Return only keys concerned
9579 by the current iterator.
9580 (getAttributes): Use strict inequality for
9583 2004-03-11 Michael Koch <konqueror@gmx.de>
9585 * java/net/HttpURLConnection.java:
9586 Fixed typo in javadoc.
9588 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9590 * java/io/BufferedInputStream.java (marktarget): New field for max
9592 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9593 (mark): Use new fields.
9595 (read(byte[],int,int)): Likewise.
9599 2004-03-11 Mark Wielaard <mark@klomp.org>
9601 * java/beans/BeanDescriptor.java (BeanDescriptor):
9602 Set the FeatureDescriptor programmatic name.
9604 2004-03-11 Michael Koch <konqueror@gmx.de>
9606 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9607 This file was was just copied form java/io/natFileDescriptorEcos.cc
9608 and never changed to compile correctly.
9610 2004-03-11 Michael Koch <konqueror@gmx.de>
9612 * gnu/java/nio/PipeImpl.java
9613 (SourceChannelImpl): Made final.
9614 (read): Implemented.
9615 (SinkChannelImpl): Made final.
9616 (write): Implemented.
9618 2004-03-11 Michael Koch <konqueror@gmx.de>
9620 * gnu/java/net/PlainDatagramSocketImpl.java:
9621 Reformated to match classpath's version more.
9623 2004-03-11 Michael Koch <konqueror@gmx.de>
9625 * gnu/java/awt/peer/ClasspathFontPeer.java:
9626 Fixed javadoc to be correct xhtml.
9627 * gnu/java/awt/peer/gtk/GtkArgList.java
9628 (add): Use Boolean.valueOf() instead of new Boolean().
9630 2004-03-09 Michael Koch <konqueror@gmx.de>
9632 * java/lang/Thread.java
9633 (runnable): Moved around.
9634 (daemon): Renamed from daemon_flag.
9635 (contextClassLoader): Renamed from context_class_loader.
9636 (Thread): Reordered constructors.
9637 (activeCount): Use group directly.
9638 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9639 (holdsLock): Reworked javadoc.
9640 (setDaemon): Reworked.
9641 * java/lang/natThread.cc
9644 2004-03-08 Anthony Green <green@redhat.com>
9646 * Makefile.am: Build property resource files into libgcj.
9647 * Makefile.in: Rebuilt.
9648 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9649 java/util/regex/PatternSyntaxException.java,
9650 gnu/regexp/CharIndexed.java,
9651 gnu/regexp/CharIndexedCharArray.java,
9652 gnu/regexp/CharIndexedInputStream.java,
9653 gnu/regexp/CharIndexedReader.java,
9654 gnu/regexp/CharIndexedString.java,
9655 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9656 gnu/regexp/REException.java,
9657 gnu/regexp/REFilterInputStream.java,
9658 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9659 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9660 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9661 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9662 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9663 gnu/regexp/RETokenLookAhead.java,
9664 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9665 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9666 gnu/regexp/RETokenStart.java,
9667 gnu/regexp/RETokenWordBoundary.java,
9668 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9670 2004-03-03 Per Bothner <per@bothner.com>
9672 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9673 Optimize when argument is a FileChannelImpl.
9674 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9676 * java/nio/channels/natChannels.cc: New file for new native methods.
9677 * Makefile.am: Update accordingly.
9679 2004-03-02 Jan Hubicka <jh@suse.cz>
9681 * configure.host: Pass -fno-omit-frame-pointer for i386.
9682 * configure.in: Likewise.
9683 * configure: Regenerate.
9685 2004-03-01 Per Bothner <per@bothner.com>
9687 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9689 2004-02-29 Per Bothner <per@bothner.com>
9691 * java/nio/channels/FileChannelImpl.java: Moved to package
9692 gnu/java/nio/channels, since we need to refer to it from java.io.
9693 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9694 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9695 from java/nio/channels. Don't depend on FileDescriptor.
9696 (in, out, err): New static fields.
9698 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9699 from FileDescriptor.
9700 (by): Removed MappedByteBuffer field.
9701 (map): New working implementation.
9702 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9703 some code "ported" from natFileDescriptoPosix.cc.
9704 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9705 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9706 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9707 Remove native methods.
9708 * Makefile.am, configure.in: Updated accordingly.
9710 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9711 (ch): New FileChannelImpl field. Update constructor to match.
9712 (releaseImpl): Remove native method. Instead ...
9713 (release): Call unlock on channel.
9714 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9716 * java/io/natFileDescriptorEcos.cc: Remove file.
9717 * java/io/natFileDescriptorPosix.cc: Remove file.
9718 * java/io/natFileDescriptorWin32.cc: Remove file.
9719 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9720 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9721 (<init>(FileChannelImpl)): New package-private constructor.
9722 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9723 (available, close, read, skip): Implement using FileChannelImpl.
9724 (getFD): Allocate FileDescriptor if needed.
9725 (getChannel): Is now trivial.
9726 * java/io/FileOutputStream.java: Corresponding changes.
9727 * java/io/RandomAccessFile.java: Corresponding changes.
9729 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9730 unmapImpl): New dummy methods, to be overridden by subclass.
9731 (finalize, isLoaded, load, force): New methods.
9732 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9733 Now works, at least for read mapping.
9735 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9736 streams using FileChannelImpl, not FileDescriptor.
9737 * java/lang/natWin32Process.cc (startProcess): Likewise.
9739 2004-02-28 Michael Koch <konqueror@gmx.de>
9741 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9744 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9746 * java/io/ObjectInputStream.java
9747 (readClassDescriptor): Keep elements of the mapping non null.
9748 (checkTypeConsistency): New method.
9749 (readFields): Fixed main loop and base logic. Small reindentation.
9750 * java/io/ObjectStreamField.java
9751 (lookupField): New method to update the field reference.
9752 (checkFieldType): New method.
9753 * java/io/ObjectStreamClass.java
9754 (setClass, setFields): Call lookupField when building the field
9755 database. Check the real field type.
9757 2004-02-28 Michael Koch <konqueror@gmx.de>
9759 * java/nio/ByteOrder.java
9760 (nativeOrder): Use equals() to compare strings.
9762 2004-02-26 Michael Koch <konqueror@gmx.de>
9764 * gnu/java/nio/FileLockImpl.java
9765 (finalize): Made protected.
9766 * java/nio/channels/FileChannel.java
9767 (MapMode.READ_ONLY): Made final.
9768 (MapMode.READ_WRITE): Made final.
9769 (MapMode.PRIVATE): Made final.
9770 * java/nio/channels/SocketChannel.java
9771 (open): Simplified code.
9772 * java/nio/channels/spi/AbstractSelectableChannel.java
9773 (registered): Unused, removed.
9774 (keyFor): Check channel is open, only locate key
9775 and not add a new one.
9776 (register): Don't delete attachments.
9778 2004-02-26 Michael Koch <konqueror@gmx.de>
9780 * gnu/java/awt/ComponentDataBlitOp.java
9781 (INSTANCE): Made final.
9782 * gnu/java/awt/image/ImageDecoder.java:
9784 (cm): Unused, removed.
9786 2004-02-26 Michael Koch <konqueror@gmx.de>
9788 * gnu/java/nio/DatagramChannelImpl.java
9789 (send): Check if target address is resolved.
9791 2004-02-26 Michael Koch <konqueror@gmx.de>
9793 * Makefile.am: Generate and install headers for inner classes in
9794 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9795 * Makefile.in: Regenerated.
9797 2004-02-24 Anthony Green <green@redhat.com>
9799 * java/lang/StringBuffer.java: No need to NULL out remainder of
9800 buffer since ensureCapacity_unsynchronized will have done this for
9803 2004-02-20 Michael Koch <konqueror@gmx.de>
9805 * gnu/java/net/protocol/jar/Handler.java
9806 (): Removed unneeded check for file != null. java.net.URL.getFile()
9807 returns an empty string but never null.
9809 2004-02-20 Michael Koch <konqueror@gmx.de>
9811 * gnu/gcj/convert/Convert.java
9812 (main): Use equals() to compare strings.
9814 2004-02-20 Michael Koch <konqueror@gmx.de>
9816 * javax/swing/AbstractButton.java: Made several constants final.
9817 (getRolloverSelectedIcon): Made public.
9818 (getSelectedIcon): Made public.
9820 2004-02-16 Per Bothner <per@bothner.com>
9822 * java/nio/CharBufferImpl.java: Inline super constructor.
9823 * java/nio/DoubleBufferImpl.java: Likewise.
9824 * java/nio/FloatBufferImpl.java: Likewise.
9825 * java/nio/IntBufferImpl.java: Likewise.
9826 * java/nio/LongBufferImpl.java: Likewise.
9827 * java/nio/ShortBufferImpl.java: Likewise.
9828 * java/nio/CharBuffer.java: Remove unused constructor.
9829 * java/nio/DoubleBuffer.java: Likewise.
9830 * java/nio/FloatBuffer.java: Likewise.
9831 * java/nio/IntBuffer.java: Likewise.
9832 * java/nio/LongBuffer.java: Likewise.
9833 * java/nio/ShortBuffer.java: Likewise.
9834 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9835 Fix buggy call to super constructor.
9836 * java/nio/DoubleViewBufferImpl.java: Likewise.
9837 * java/nio/FloatViewBufferImpl.java: Likewise.
9838 * java/nio/IntViewBufferImpl.java: Likewise.
9839 * java/nio/LongViewBufferImpl.java: Likewise.
9840 * java/nio/ShortViewBufferImpl.java: Likewise.
9842 * java/nio/ByteBuffer.java (endian): Make non-private so other
9843 java.nio classes can inherit it.
9844 (<init>): Don't bother clearing array_offset.
9845 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9846 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9847 Remove redundant test.
9849 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9850 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9851 Use new XxxViewBufferImpl constructors.
9852 * java/nio/MappedByteBufferImpl.java: Likewise.
9853 * java/nio/DirectByteBufferImpl.java: Likewise.
9855 * java/nio/ByteBufferImpl.java: Remove one constructor.
9856 Inline super in remaining constructor.
9857 * java/nio/ByteBuffer.java: Remove unused constructor.
9859 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9861 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9862 * java/nio/DirectByteBufferImpl.java (owner): New field.
9863 (offset): Remove unused field.
9864 (<init>): Modify one and add another constructor. Change callers.
9865 (allocateDirect): Removed - not used.
9866 (getImpl, putImpl): Make static and pass address explicitly,
9867 to make them useful for MappedByteBufferImpl.
9868 (get, put): Check for underflow. Modify for new getImpl.
9869 (getImpl): New native method where target is array.
9870 (get(byte[],int,int)): Use the above.
9871 (adjustAddress): New static native method.
9872 (slice, duplicate, asReadOnly): New implementations.
9873 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9874 adjustAddress): New or updated native methods.
9876 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9878 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9879 overflow of fieldmapping.
9881 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9883 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9885 2004-02-14 Per Bothner <per@bothner.com>
9887 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9888 Set closed before calling implCloseChannel, as in the spec.
9890 2004-02-09 Graydon Hoare <graydon@redhat.com>
9892 * javax/swing/ToggleButtonModel.java: Remove dead class.
9893 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9894 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9895 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9896 * Makefile.am: Update for new and removed files.
9897 * Makefile.in: Regenerate.
9899 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9900 * javax/swing/AbstractButton.java
9901 (AbstractButton): Initialize fields correctly in ctor.
9902 * javax/swing/JCheckbox.java
9903 (JCheckBox): Override painting flags.
9904 * javax/swing/DefaultButtonModel.java: Conform to sun.
9905 * javax/swing/JComponent.java (paint): Fill with background color
9907 (processComponentKeyEvent)
9910 (processMouseMotionEvent): Remove event-consuming empty methods.
9911 (getUIClassID): Return "ComponentUI" not "JComponent"
9912 * javax/swing/JFrame.java: Remove some debugging chatter.
9913 (JFrame): Subscribe to window events.
9914 * javax/swing/JRadioButton.java
9915 (JRadioButton): Override painting flags.
9916 * javax/swing/JRootPane.java
9917 (JRootPane): Set background from UIDefaults.
9918 * javax/swing/JToggleButton.java
9919 (ToggleButtonModel): New inner class.
9920 (JToggleButton): Override layout alighment.
9921 * javax/swing/SwingUtilities.java:
9922 (getLocalBounds): Return width and height, not x and y.
9923 (calculateInnerArea): Use local bounds, not bounds.
9924 (layoutCompoundLabel): Provide overridden form.
9925 (layoutCompoundLabel): Correct bugs.
9926 * javax/swing/UIDefaults.java: Correct comment.
9927 * javax/swing/plaf/basic/BasicButtonUI.java:
9928 Move most logic into defaults, external listener.
9929 (paintIcon): Implement icon painting.
9930 (paint): Fix state painting to conform to changes in model.
9931 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9932 Remove most dead/wrong methods.
9933 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9934 * javax/swing/plaf/basic/BasicIconFactory.java:
9935 (DummyIcon): New class.
9936 (getMenuItemCheckIcon)
9937 (getMenuItemArrowIcon)
9939 (getCheckBoxMenuItemIcon)
9940 (getRadioButtonMenuItemIcon)
9941 (createEmptyFrameIcon): Return DummyIcons, not null.
9942 (getCheckBoxIcon): Implement an icon that looks like sun's.
9943 (getRadioButtonIcon): Implement an icon that looks like sun's.
9944 * javax/swing/plaf/basic/BasicLookAndFeel.java
9945 (initComponentDefaults): Fix impossible values, add some missing.
9946 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9947 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9948 Remove most dead/wrong methods.
9950 (getDefaultIcon): New method.
9951 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9952 Remove most dead/wrong methods.
9953 * javax/swing/plaf/metal/MetalLookAndFeel.java
9954 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9956 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9957 Implement "clearing" as drawing, when on pixmap drawables.
9959 * javax/swing/JButton.java (getUIClassID):
9960 * javax/swing/JCheckBox.java (getUIClassID):
9961 * javax/swing/JEditorPane.java (getUIClassID):
9962 * javax/swing/JLabel.java (getUIClassID):
9963 * javax/swing/JList.java (getUIClassID):
9964 * javax/swing/JOptionPane.java (getUIClassID):
9965 * javax/swing/JPanel.java (getUIClassID):
9966 * javax/swing/JPasswordField.java (uiClassID):
9967 * javax/swing/JRadioButton.java (getUIClassID):
9968 * javax/swing/JRootPane.java (getUIClassID):
9969 * javax/swing/JScrollPane.java (getUIClassID):
9970 * javax/swing/JTabbedPane.java (getUIClassID):
9971 * javax/swing/JToggleButton.java (getUIClassID):
9972 * javax/swing/JTree.java (getUIClassID):
9973 * javax/swing/JViewport.java (getUIClassID):
9974 * javax/swing/text/JTextComponent.java (getUIClassID):
9975 Return "fooUI" not "Jfoo"
9977 2004-02-11 Michael Koch <konqueror@gmx.de>
9979 * java/net/DatagramSocket.java
9980 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9982 (setBroadcast): Likewise.
9983 * java/net/MulticastSocket.java
9984 (setLoopbackMode): Likewise.
9985 * java/net/ServerSocket.java
9986 (setReuseAddress): Likewise.
9987 * java/net/Socket.java
9988 (setTcpNoDelay): Likewise.
9989 (setSoLinger): Likewise.
9990 (setOOBInline): Likewise.
9991 (setKeepAlive): Likewise.
9992 (setReuseAddress): Likewise.
9993 * java/net/URLConnection.java
9994 (setContentHandler): Replace == with equals().
9995 * java/net/URLStreamHandler.java
9996 (hostSEquals): Fix checking host addresses.
9997 (toExternalForm): Dont check protocol for null. We know already its
10000 2004-02-10 David Jee <djee@redhat.com>
10002 * java/awt/BorderLayout.java
10003 (calcCompSize): Invisible components get zero dimensions.
10004 * java/awt/Button.java
10005 (setLabel): Set actionCommand.
10006 * java/awt/Component.java
10007 (show): Invalidate component and parent container.
10010 2004-02-10 David Jee <djee@redhat.com>
10012 * java/awt/GridBagLayout.java
10013 (GridBagLayout): New private field, internalcomptable.
10014 (lookupInternalConstraints): New method.
10015 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10016 (GetLayoutInfo): Reimplement.
10017 (calcCellSizes): Ignore rows/columns with size 0.
10019 2004-02-10 Michael Koch <konqueror@gmx.de>
10021 * gnu/java/awt/EmbeddedWindow.java
10022 (setHandle): Use java.awt.Component.getPeer() instead of
10023 java.awt.Component.peer directly.
10025 2004-02-10 David Jee <djee@redhat.com>
10027 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10028 (gtkSetLabel): New native method definition.
10029 (setLabel): Use gtkSetLabel.
10030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10031 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10033 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10035 * include/powerpc-signal.h: Revert 2004-01-21 change.
10036 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10037 from syscall for ppc32 versions.
10039 2004-02-08 Per Bothner <per@bothner.com>
10041 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10042 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10043 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10044 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10045 Pass ByteOrder parameter to most methods, since the underlying
10046 ByteBuffer's order isn't always what we should use.
10047 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10048 * java/nio/DirectByteBufferImpl.java: Likewise.
10049 Use ByteBufferHelper methods.
10050 * java/nio/MappedByteBufferImpl.java: Likewise.
10051 (compact): Use shiftDown.
10052 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10053 (get, put): Use ByteBufferHelper.
10054 (compact): Use new shiftDown method.
10055 (duplicate(boolean)): New helper method.
10056 (duplicate, asReadOnlyBuffer): Use it.
10057 (order): Return endian field.
10058 * java/nio/DoubleViewBufferImpl.java: Likewise.
10059 * java/nio/FloatViewBufferImpl.java: Likewise.
10060 * java/nio/IntViewBufferImpl.java: Likewise.
10061 * java/nio/LongViewBufferImpl.java: Likewise.
10062 * java/nio/ShortViewBufferImpl.java: Likewise.
10063 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10064 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10065 (compact): Re-implement using shiftDown.
10067 2004-02-08 Andreas Jaeger <aj@suse.de>
10069 * include/x86_64-signal.h: Fix typo.
10071 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10073 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10074 qualifier to _regs.
10075 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10077 2004-02-06 Michael Koch <konqueror@gmx.de>
10079 * java/io/ObjectInputStream.java
10080 (currentClassLoader): Reverted to old version of this method.
10082 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10084 * java/io/ObjectInputStream.java: Made all calls
10085 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10086 use cached info from ObjectStreamClass. (readClassDescriptor):
10087 Cache more information in ObjectStreamClass. (processResolution,
10088 readFields): Use cached info from ObjectStreamClass.
10089 (newObject): Throw exception instead of returning null for failure.
10090 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10091 setCharField, setDoubleField, setFloatField, setIntField,
10092 setLongField, setShortField, setObjectField, readObjectParams):
10093 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10095 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10096 (setClass): Added call to cacheMethods() (findMethod): New method.
10097 (cacheMethods): New method. (ObjectStreamClass): Added call to
10098 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10099 AccessController.doPrivileged to invoke setAccessible.
10100 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10101 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10103 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10104 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10105 isPrimitive): Made safe for cases where type == null.
10106 (setBooleanField, setByteField, setCharField, setShortField,
10107 setIntField, setLongField, setFloatField, setDoubleField,
10108 setObjectField): New methods.
10110 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10112 * java/awt/Component.java (getFont): Return a default font
10115 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10116 (Scrollbar (int, int, int, int, int)): Make default page
10118 (setValues): Only call peer.setValues if one of the values has
10120 (generateName): New method.
10121 (getUniqueLong): New method.
10122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10123 (range_scrollbar): Remove structure.
10124 (post_adjustment_event): Remove function.
10125 (post_change_event): Accept jobject argument.
10126 (create): Cast jints to gdoubles. Round scrollbar values to the
10127 nearest integer. Clamp min, max and value settings.
10128 (connectJObject): Connect hook to widget->window.
10129 (connectSignals): Remove range_scrollbar structure variables.
10130 Remove "move-slider" connection. Pass global peer reference to
10131 "value-changed" callback.
10132 (setLineIncrement): Cast jint value to gdouble.
10133 (setPageIncrement): Likewise.
10134 (setValues): Likewise. Clamp min, max and value settings.
10136 2004-02-05 Michael Koch <konqueror@gmx.de>
10138 * javax/swing/AbstractCellEditor.java
10139 (getCellEditorValue): Removed.
10140 * javax/swing/Box.java: Reformated.
10141 (serialVersionUID): New field.
10142 * javax/swing/ButtonGroup.java:
10143 Removed some weird whitespace.
10144 * javax/swing/CellEditor.java: Reformated.
10145 * javax/swing/CellRendererPane.java
10146 (serialVersionUID): New field.
10147 (AccessibleCellRendererPaneserialVersionUID): New field.
10148 * javax/swing/DefaultListModel.java
10149 (serialVersionUID): New field.
10150 * javax/swing/JEditorPane.java
10151 (serialVersionUID): New field.
10152 (setPage): Throws IOException.
10153 (addHyperlinkListener): Implemented.
10154 (removeHyperlinkListener): Implemented.
10155 (getHyperlinkListener): New method.
10156 * javax/swing/JFileChooser.java
10157 (serialVersionUID): New field.
10158 (AccessibleJFileChooser.serialVersionUID): New field.
10159 (addActionListener): Implemented.
10160 (removeActionListener): Implemented.
10161 (getActionListeners): New method.
10162 * javax/swing/JFormattedTextField.java
10163 (serialVersionUID): New field.
10164 (AbstractFormatter.serialVersionUID): New field.
10165 (clone): Throws CloneNotSupportedException
10166 (setEditValid): Add missing argument.
10167 (stringToValue): Throws ParseExcpetion.
10168 (valueToString): Throws ParseException.
10169 (commitEdit): Throws ParseException.
10170 * javax/swing/JLabel.java
10171 (serialVersionUID): New field.
10172 * javax/swing/JList.java
10173 (serialVersionUID): New field.
10174 (addListSelectionListener): Reformated.
10175 (removeListSelectionListener): Reformated.
10176 (getListSelectionListeners): New method.
10177 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10179 (serialVersionUID): New field.
10180 * javax/swing/table/AbstractTableModel.java
10181 (getValueAt): Removed.
10182 (getColumnCount): Removed.
10183 (getRowCount): Removed.
10185 2004-02-05 Michael Koch <konqueror@gmx.de>
10187 * java/awt/datatransfer/DataFlavor.java
10188 (imageFlavor): Javadoc added.
10189 (javaJVMLocalObjectType): Fixed.
10191 2004-02-05 Michael Koch <konqueror@gmx.de>
10193 * java/lang/Thread.java
10194 (Thread): Reordered.
10195 (setContextClassLoader): Fixed javadoc comment.
10196 (setPriority): Reordered.
10197 (yield): Reordered.
10198 (initialize_native): Reordered.
10199 (gen_name): Reordered.
10201 2004-02-05 Michael Koch <konqueror@gmx.de>
10203 * java/lang/Thread.java: Reordered fields, reformated much code,
10204 no functional changes, some variables renamed, javadoc comments
10207 2004-02-05 Michael Koch <konqueror@gmx.de>
10209 * java/util/zip/Deflater.java,
10210 java/util/zip/DeflaterOutputStream.java,
10211 java/util/zip/GZIPInputStream.java:
10212 Reformated and javadoc comments merged from classpath.
10214 2004-02-05 Michael Koch <konqueror@gmx.de>
10216 * gnu/java/nio/NIOServerSocket.java
10217 (impl): Unused, removed.
10218 * gnu/java/nio/SocketChannelImpl.java
10219 (finnishConnect): Don't throw NoConnectionPendingException if not
10220 connected or no connection pending.
10222 2004-02-02 Graydon Hoare <graydon@redhat.com>
10224 * javax/swing/SwingUtilities.java: Many new functions.
10225 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10226 * javax/swing/basic/BasicGraphicsUtils.java
10227 (getPreferredButtonSize): Start layout from top-left corner.
10229 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10231 * java/awt/geom/AffineTransform.java:
10232 Corrected comments on the field definitions for
10234 (shear): Fixed few errors that caused shear
10235 transformation to be performed incorrectly.
10236 (createInverse): Fixed to return correct
10237 inverse of the given matrix.
10239 2004-02-03 Tom Tromey <tromey@redhat.com>
10241 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10242 PATH or LD_LIBRARY_PATH is not set in parent environment.
10244 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10246 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10247 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10248 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10249 java/awt/Component.java, java/awt/Container.java,
10250 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10251 java/awt/LayoutManager2.java, java/awt/List.java,
10252 java/awt/Menu.java, java/awt/MenuBar.java,
10253 java/awt/MenuItem.java, java/awt/Polygon.java,
10254 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10255 java/awt/Scrollbar.java, java/awt/TextArea.java,
10256 java/awt/TextField.java,
10257 java/awt/image/renderable/RenderContext.java,
10258 javax/swing/JApplet.java: Fix handling of alias methods, where a
10259 method has been deprecated in favour of a new one with the same
10260 funtion but a different name. Put the method implementation in
10261 the deprecated method and have the new method call the
10262 deprecated one. Make all other code call the new method.
10264 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10266 * gnu/java/nio/DatagramChannelImpl.java
10267 (inChannelOperation): New field.
10268 (isInChannelOperation): New accessor.
10269 (setInChannelOperation): New modifier.
10270 (receive): Use capacity() - position() of destination
10271 buffer instead of remaining(). Set and reset our "in
10272 channel operation indicator" before and after delegating
10273 the receive to our datagram socket. Removed testing code.
10274 Update destination buffer's current position if it is
10275 backed by a byte array (hasArray() is true).
10276 (send): Set and reset our "in channel operation indicator"
10277 before and after delegating the send to our datagram socket.
10278 Removed testing code. Update source buffer's current position
10279 if it is backed by a byte array (hasArray() is true).
10280 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10281 Use capacity() - position() of destination buffer instead
10283 * java/net/DatagramSocket.java (receive): Don't throw an
10284 IllegalBlockingModeException if we have a non-blocking
10285 channel which initiated this operation.
10288 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10290 * configure.in: Add pkgconfig check for glib and gthread.
10291 * configure: Regenerate.
10293 2004-02-01 Michael Koch <konqueror@gmx.de>
10295 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10297 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10298 * verify.cc (debug_print): Mark 'fmt' unused.
10300 2004-01-30 Michael Koch <konqueror@gmx.de>
10302 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10303 * configure: Regenerated.
10304 * glib-2.0.m4: Removed.
10305 * gtk-2.0.m4: Removed.
10306 * libart.m4: Removed.
10307 * pkg.m4: New file.
10309 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10311 * gnu/java/net/PlainSocketImpl.java
10312 (inChannelOperation): New field.
10313 (isInChannelOperation): New accessor.
10314 (setInChannelOperation): New modifier.
10315 * gnu/java/nio/ServerSocketChannelImpl.java
10316 (accept): Set and reset our server socket's PlainSocketImpl's
10317 "in channel operation" indicator before and after delegating
10318 the accept to our server socket.
10319 * gnu/java/nio/SocketChannelImpl.java
10320 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10321 operation" indicator before and after delegating the operation to
10325 * java/net/ServerSocket.java (implAccept): Don't throw an
10326 IllegalBlockingModeException if we have a non-blocking
10327 channel which initiated this accept operation.
10328 * java/net/Socket.java (connect): Don't throw an
10329 IllegalBlockingModeException if we have a non-blocking
10330 channel which initiated this connect operation.
10331 * java/nio/channels/spi/AbstractSelectableChannel.java
10332 (configureBlocking): Only call implConfigureBlocking() if
10333 the desired blocking mode is different from our current one.
10335 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10337 * java/io/BufferedReader.java (sbuf): New field.
10338 (readLine): Use String.valueOf instead of new String() as per
10339 Per Bothner's suggestion. Use instance sbuf field instead of a
10340 local StringBuffer instance.
10341 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10342 caller's buffer to refill().
10343 (read(void)): Pass our internal work buffer to refill if our
10344 input queue is empty.
10345 (refill): Changed return type to int. Use the specified buffer
10346 instead of our work buffer as per Bryce McKinlay's suggestion.
10347 Return the number of characters read or -1 for EOF.
10349 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10351 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10353 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10355 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10356 * Makefile.in: Re-generated.
10357 * gnu/awt/xlib/XFontPeer.java: New file.
10358 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10359 (setClip): Commented out debug printout.
10360 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10361 (getFontPeer): Return XFontPeer.
10362 (getLocalGraphicsEnvironment): New method.
10363 (getClasspathFontPeer): New method.
10364 (createFont): New method.
10366 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10368 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10371 2004-01-29 Kim Ho <kho@redhat.com>
10373 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10374 (gtkLayoutSetVisible): New method
10375 (setMenuBar): Hide layout before setting MenuBar
10376 and reshow it after.
10377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10378 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10380 2004-01-28 Michael Koch <konqueror@gmx.de>
10382 * gnu/java/lang/ClassHelper.java
10383 (getPackagePortion): Removed.
10385 2004-01-28 Michael Koch <konqueror@gmx.de>
10387 * javax/swing/JComponent.java
10388 (listenerList): Initalize globally.
10389 (ancestor_list): Removed.
10390 (veto_list): Removed.
10391 (change_list): Removed.
10392 (get_veto_list): Removed.
10393 (get_change_list): Removed.
10394 (get_ancestor_list): Removed.
10395 (removeAncestorListener): Reimplemented.
10396 (removePropertyChangeListener): Likewise.
10397 (removeVetoableChangeListener): Likewise.
10398 (addAncestorListener): Likewise.
10399 (addPropertyChangeListener): Likewise.
10400 (addVetoableChangeListener): Likewise.
10401 (getListeners): New method.
10402 (getAncestorListeners): Likewise.
10403 (getVetoableChangeListeners): Likewise.
10404 (fireVetoableChange): Throws PropertyVetoException.
10405 * javax/swing/JEditorPane.java
10406 (JEditorPane): Throws IOException.
10408 2004-01-28 David Jee <djee@redhat.com>
10410 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10411 (create): Set the default foreground color to
10412 java.awt.SystemColor.windowText.
10414 2004-01-27 Michael Koch <konqueror@gmx.de>
10416 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10417 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10418 Reindented to merge with classpath.
10420 2004-01-27 David Jee <djee@redhat.com>
10422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10423 (addExposeFilter): Handle GtkFramePeer separately.
10424 (removeExposeFilter): Likewise.
10426 2004-01-27 Michael Koch <konqueror@gmx.de>
10428 * gnu/java/net/protocol/http/Connection.java
10429 (getOutputStream): Fixed typo.
10431 2004-01-27 Michael Koch <konqueror@gmx.de>
10433 * java/lang/Class.java
10434 (getConstructor): Removed SecurityException from throws clause.
10435 (_getConstructors): Likewise.
10436 (getConstructors): Likewise.
10437 (getDeclaredConstructor): Likewise.
10438 (getDeclaredClasses): Likewise.
10439 (getDeclaredConstructors): Likewise.
10440 (getDeclaredField): Likewise.
10441 (getDeclaredMethod): Likewise.
10442 (getDeclaredMethods): Likewise.
10443 (getField): Likewise.
10444 (getMethod): Likewise.
10445 (getMethods): Likewise.
10447 2004-01-27 Kim Ho <kho@redhat.com>
10449 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10450 (removeMenuBarPeer): Remove MenuBarPeer argument.
10451 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10452 (dispose): Call native method.
10453 * java/awt/Frame.java (setMenuBar): Create and remove
10454 MenuBar peers only if the Frame has a peer.
10455 (addNotify): Create the MenuBar peer if one exists.
10456 (removeNotify): Remove MenuBar peer if one exists.
10457 * java/awt/Menu.java: Fix imports.
10458 (addNotify): Don't use full class name.
10459 (removeNotify): Call removeNotify on all children.
10460 * java/awt/MenuBar.java (removeNotify): Call
10461 removeNotify on all children.
10462 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10463 (removeMenuBarPeer): Remove MenuBarPeer argument.
10464 Iterate through children to find the Frame's MenuBar.
10465 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10467 (dispose): Remove references to the MenuComponent.
10469 2004-01-27 Michael Koch <konqueror@gmx.de>
10471 * javax/swing/AbstractCellEditor.java: Reformated.
10472 * javax/swing/DefaultListSelectionModel.java
10473 (listenerList): Made protected.
10474 (addListSelectionListener): Javadoc added.
10475 (removeListSelectionListener): Likewise.
10476 (getListeners): Likewise.
10477 (getListSelectionListeners): Likewise.
10478 * javax/swing/JComboBox.java: Merged copyright year.
10479 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10481 2004-01-26 Andrew Haley <aph@redhat.com>
10483 * javax/swing/table/JTableHeader.java: Extend JComponent
10485 2004-01-26 Kim Ho <kho@redhat.com>
10487 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10490 2004-01-26 Kim Ho <kho@redhat.com>
10492 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10494 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10495 height and let the Layout Managers readjust anything that
10497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10498 (moveLayout): New method. Shift everything in the Gtk
10499 layout in the Y direction by an offset.
10501 2004-01-26 David Jee <djee@redhat.com>
10503 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10504 (handleEvent): Implemented. Handles PaintEvents.
10505 (paint): Implemented. Use GTK native methods to queue updates
10506 for this heavyweight peer.
10507 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10508 (handleEvent): Removed.
10509 * java/awt/Component.java
10510 (paint): Implemented. Explictly paint the heavyweight peer.
10511 (update): Clear the background for heavyweight components.
10512 (paintAll): No need to call peer.paint() anymore.
10513 (processEvent): Don't process PaintEvents here. It's now done in
10514 the peer's handleEvent().
10515 (processPaintEvent): Removed.
10516 * java/awt/Container.java
10517 (paint): No need to call super.paint(). Visit heavyweight
10519 (update): Don't clear the background here. It's done in
10520 Component.update().
10521 (visitChildren): Added check to not recurse into Containers.
10522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10523 (filter_expose_event_handler): New method. Filter unwanted
10524 expose events while painting heavyweight peers.
10525 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10526 New method. Connect filter and block pre_event_handler.
10527 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10528 New method. Disconnect filter and unblock pre_event_handler.
10529 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10530 New method. Invalidate and update given area.
10531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10532 (pre_event_handler): Add checks for unwanted expose events.
10534 2004-01-26 David Jee <djee@redhat.com>
10536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10537 (find_bg_color_widget): For GtkButton, return its child.
10539 2004-01-26 Kim Ho <kho@redhat.com>
10541 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10543 (setMenuBar): Grab MenuBar height and change insets.
10544 (setBounds): Account for MenuBar height.
10545 (postInsetsChangedEvent): Ditto.
10546 (postSizeAllocateEvent): Remove.
10547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10548 (menubar_resize_cb): Remove
10549 (setMenuBarPeer): Remove callback.
10550 (getMenuBarHeight): Use size requisition instead of
10553 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10555 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10556 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10558 (setColumns): Remove FIXME -- peer will retrieve number of
10559 columns by calling getColumns.
10560 (setRows): Likewise for number of rows.
10561 (next_text_number): New field.
10562 (paramString): Fix param string.
10563 (generateName): New method.
10564 (getUniqueLong): New method.
10566 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10568 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10569 image observer of image loading status.
10570 (getImage (String)): Start image production.
10571 (getImage (URL)): Likewise.
10573 2004-01-25 Michael Koch <konqueror@gmx.de>
10575 * java/lang/Class.java: Imports reworked, reformated.
10576 (Class): Javadoc added.
10577 (forName): Likewise.
10578 (getClasses): Likewise.
10579 (getClassLoader): Likewise.
10580 (getComponentType): Likewise.
10581 (getConstructor): Likewise.
10582 (getConstructors): Likewise.
10583 (getDeclaredConstructor): Likewise.
10584 (getDeclaredClasses): Likewise.
10585 (getDeclaredConstructors): Likewise.
10586 (getDeclaredField): Likewise.
10587 (getDeclaredMethod): Likewise.
10588 (getDeclaredMethods): Likewise.
10589 (getDeclaringClass): Likewise.
10590 (getField): Likewise.
10591 (getInterfaces): Likewise.
10592 (getMethod): Likewise.
10593 (getMethods): Likewise.
10594 (getModifiers): Likewise.
10595 (getName): Likewise.
10596 (getResource): Likewise.
10597 (getResourceAsStream): Likewise.
10598 (getSigners): Likewise.
10599 (setSigners): Likewise.
10600 (getSuperclass): Likewise.
10601 (isArray): Likewise.
10602 (isAssignableFrom): Likewise.
10603 (isInstance): Likewise.
10604 (isInterface): Likewise.
10605 (isPrimitive): Likewise.
10606 (newInstance): Likewise.
10607 (getProtectionDomain): Likewise.
10608 (toString): Likewise.
10610 (initializeClass): Likewise.
10611 (finalize): Likewise.
10613 2004-01-24 Michael Koch <konqueror@gmx.de>
10615 * gnu/java/net/protocol/jar/Connection.java
10616 (hdrHash): Removed.
10618 (gotHeaders): Removed.
10619 (getHeaderField): Removed.
10620 (getHeaderFields): Removed.
10621 (getHeaderFieldKey): Removed.
10623 (getField): Removed.
10624 (getHeaders): Removed.
10626 2004-01-24 Michael Koch <konqueror@gmx.de>
10628 * Makefile.am: Added library version to gtk peer lib.
10629 * Makefile.in: Regenerated.
10631 2004-01-24 Michael Koch <konqueror@gmx.de>
10633 * java/util/zip/InflaterInputStream.java: Merged class documentation
10636 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10638 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10639 header. For __powerpc64__ provide the default-signal.h definitions
10641 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10642 instead of the dummy definitions.
10643 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10644 (powerpc64*-*): Remove with_libffi_default.
10645 Only add -mminimal-toc for 64-bit compilations.
10646 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10647 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10648 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10649 * configure: Rebuilt.
10651 2004-01-23 Michael Koch <konqueror@gmx.de>
10653 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10655 2004-01-23 Michael Koch <konqueror@gmx.de>
10657 * java/lang/VMClassLoader.java: Reworked imports.
10659 2004-01-23 Michael Koch <konqueror@gmx.de>
10661 * javax/swing/AbstractAction.java: Reformated.
10663 2004-01-23 Michael Koch <konqueror@gmx.de>
10665 * java/text/CollationElementIterator.java:
10666 (setText): New method.
10668 2004-01-23 Michael Koch <konqueror@gmx.de>
10670 * gnu/java/nio/FileLockImpl.java:
10671 Fixed filename in copyright.
10672 (released): Removed.
10673 (finalize): New method.
10674 * gnu/java/nio/natFileLockImpl.cc
10675 (releaseImpl): Implemented.
10676 * java/nio/channels/FileChannelImpl.java:
10678 (lock): Implemented.
10679 (lockImpl): New method.
10680 (tryLock): Implemented.
10681 (tryLockImpl): New method.
10682 * java/nio/channels/natFileChannelImpl.cc
10683 (lockImpl): New method.
10684 (tryLockImpl): New method.
10686 2004-01-23 Michael Koch <konqueror@gmx.de>
10688 * java/io/FileDescriptor.java
10689 (lock): New method.
10690 (tryLock): New method.
10691 (unlock): New method.
10692 * java/io/natFileDescriptorEcos.cc
10693 (lock): New method.
10694 (tryLock): New method.
10695 (unlock): New method.
10696 * java/io/natFileDescriptorPosix.cc
10697 (lock): New method.
10698 (tryLock): New method.
10699 (unlock): New method.
10700 * java/io/natFileDescriptorWin32.cc
10701 (lock): New method.
10702 (tryLock): New method.
10703 (unlock): New method.
10705 2004-01-23 Michael Koch <konqueror@gmx.de>
10707 * java/io/FileDescriptor.java
10708 (sync): Moved around, added javadoc.
10713 (setLength): Likewise.
10715 (getLength): Likewise.
10716 (getFilePointer): Likewise.
10718 (available): Likewise.
10719 (finalize): Likewise.
10721 2004-01-23 Michael Koch <konqueror@gmx.de>
10723 * javax/swing/AbstractAction.java: Reformated.
10724 (getPropertyChangeListeners): New method.
10725 * javax/swing/AbstractCellEditor.java: Reformated.
10726 (getCellEditorListeners): New method.
10727 * javax/swing/DefaultListSelectionModel.java
10728 (listenerList): New field.
10729 (listeners): Removed.
10730 (get_listeners): Removed.
10731 (addListSelectionListener): Rewritten.
10732 (removeListSelectionListener): Rewritten.
10733 (getListSelectionListeners): New method.
10734 (getListeners): New method.
10735 * javax/swing/JComboBox.java: Imports reworked.
10736 (addActionListener): Implemented.
10737 (removeActionListener): Implemented.
10738 (addItemListener): Implemented.
10739 (removeItemListener): Implemented.
10740 (addPopupMenuListener): Implemented.
10741 (removePopupMenuListener): Implemented.
10742 (getActionListeners): New method.
10743 (getItemListeners): New method.
10744 (getPopupMenuListeners): New method.
10746 2004-01-23 Michael Koch <konqueror@gmx.de>
10748 * gnu/java/net/protocol/http/Connection.java
10749 (connect): Don't initialize bufferedOutputStream if not needed.
10750 (sendRequest): Set property for content length if content is present.
10751 Write content only if present.
10752 (getOutputStream): Check if already connected, dont connect,
10753 initalize bufferedOutputStream if needed.
10755 2004-01-23 Michael Koch <konqueror@gmx.de>
10757 * java/io/FileDescriptor.java
10758 (in, out, err): Added javadoc.
10759 (static): Merged loading code.
10760 (fd, position): Moved around.
10762 2004-01-23 Michael Koch <konqueror@gmx.de>
10764 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10767 2004-01-23 Michael Koch <konqueror@gmx.de>
10769 * java/lang/Class.java,
10770 java/lang/Object.java,
10771 java/lang/Thread.java: Merged copyright with classpath.
10773 2004-01-23 Michael Koch <konqueror@gmx.de>
10775 * java/io/FileDescriptor.java: Merged copyright with classpath to
10776 start merging this class.
10778 2004-01-22 Tom Tromey <tromey@redhat.com>
10781 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10782 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10783 * testsuite/libjava.lang/pr13107_3.java: New file.
10784 * testsuite/libjava.lang/pr13107_3.out: New file.
10785 * testsuite/libjava.lang/pr13107_2.java: New file.
10786 * testsuite/libjava.lang/pr13107_2.out: New file.
10787 * testsuite/libjava.lang/pr13107.java: New file.
10788 * testsuite/libjava.lang/pr13107.out: New file.
10789 * verify.cc (jsr_ptrs): Removed.
10790 (entry_points): Likewise.
10791 (struct subr_info): Likewise.
10792 (struct subr_entry_info): Likewise.
10793 (type_val::unused_by_subroutine_type): Likewise.
10794 (type::merge): Don't handle unused_by_subroutine_type.
10795 (type::print): Likewise.
10796 (state::flags): Removed.
10797 (state::subroutine): Likewise.
10798 (state::seen_subrs): Likewise.
10799 (state::NO_STACK): Likewise.
10800 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10801 (state): Updated all methods.
10802 (state::clean_subrs): Removed.
10803 (state::state): Removed `ret_semantics' flag.
10804 (state::copy): Likewise.
10805 (state::add_subr): Removed.
10806 (state::enter_subroutine): Likewise.
10807 (type::set_return_address): New method.
10808 (handle_jsr_insn): Set return address on the type. Always
10809 invalidate PC after call.
10810 (check_nonrecursive_call): Removed.
10811 (~_Jv_BytecodeVerifier): Updated.
10812 (branch_prepass): Removed special handling of jsr.
10813 (note_branch_target): Likewise.
10814 (get_subroutine): Removed.
10815 (state::merge): Don't merge subroutines and don't handle
10816 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10817 (state::note_variable): Removed.
10818 (state::is_unmerged_ret_state): Likewise.
10819 (state::print): Updated.
10820 (set_variable): Likewise.
10821 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10822 and jsr_semantics arguments. Updated for new reverification
10824 (pop_jump): Rewrote.
10825 (construct_primitive_array_type): Updated.
10826 (state::next): Removed.
10827 (INVALID_STATE): New define.
10828 (state::INVALID): Removed.
10829 (state::NO_NEXT): New value.
10830 (state::pc, state::next): New fields.
10831 (state::get_pc): New method.
10832 (next_verify_pc): Removed.
10833 (next_verify_state): New field.
10834 (verify_instructions_0): Always check for falling off end.
10835 (linked): New type.
10836 (linked_utf8): Removed.
10837 (states): Changed type.
10838 (type::state_mergeable_p): New method.
10839 (state::state_mergeable_p): Likewise.
10840 (handle_ret_insn): Removed most code.
10841 (state::reverify): New method.
10842 (add_new_state): Likewise.
10843 (state::set_pc): Likewise.
10845 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10848 * testsuite/libjava.compile/PR13733.java: New file.
10849 * testsuite/libjava.compile/PR13733.xfail: New file.
10851 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10852 Michael Koch <konqueror@gmx.de>
10854 * javax/swing/table/DefaultTableCellRenderer.java
10855 (DefaultTableCellRenderer): Added javadoc for the class and for
10856 the constructor, Border instance, create an EmptyBorder.
10857 (UIResource): Removed the comment at the end of the class
10858 (setForeground): New method.
10859 (setBackground): New method.
10860 (updateUI): New method.
10861 (getTableCellRendererComponent): Rewritten with the help of
10862 dvholten and Stephane Meslin-Weber.
10863 (validate): New method.
10864 (repaint): New method.
10865 (firePropertyChange): New method.
10866 (setValue): New method.
10868 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10870 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10871 (connectJObject): Replace printf calls with g_assert statements.
10872 Move property-notify-event signal connection to ...
10873 (connectSignals): Connect property-notify-event signal. Iterate
10874 through the vbox's children to find layout.
10876 2004-01-22 Graydon Hoare <graydon@redhat.com>
10878 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10879 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10880 Predicate static initialization on GtkToolkit.useGraphics2D().
10881 * java/awt/Component.java (processPaintEvent): Consume event.
10882 * javax/swing/AbstractButton.java: Reimplement, document.
10883 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10884 * javax/swing/JComponent.java (paint): Use double buffer.
10885 (listenerList): Enable member.
10886 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10887 * javax/swing/JToggleButton.java
10888 (JToggleButton): Modify model constructor.
10889 * javax/swing/SwingUtilities.java
10890 (layoutCompoundLabel): Adjust arithmetic.
10891 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10892 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10893 (getPreferredButtonSize): Include margins in calculation.
10894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10895 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10896 Receive up events from subordinate layout component.
10898 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10900 * java/awt/Component.java (show): Set visible to true before
10903 2004-01-21 Kim Ho <kho@redhat.com>
10905 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10907 (removeMenuBarPeer): Make package private.
10908 (setMenuBarPeer): Make package private.
10909 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10910 (menubar_resize_cb): Mark attributes unused.
10911 (getMenuBarHeight): ditto.
10913 2004-01-21 David Jee <djee@redhat.com>
10915 * java/awt/Container.java
10916 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10917 dispatching MOUSE_ENTERED event twice. Translate the point for
10918 the mouse event target before dispatching the event.
10920 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10922 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10923 lib_org_w3c_dom_la_LDFLAGS): New.
10924 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10925 * Makefile.in: Rebuilt.
10927 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10929 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10930 Calculate proper offsets for heavyweight components packed in
10931 lightweight containers.
10933 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10934 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10935 (native create): Add width parameter.
10936 (create): Calculate text entry width based on current font's
10937 metrics and number of columns. Set TextField's font if not
10938 already set. Call native create.
10939 (gtkEntryGetBorderWidth): New native method.
10940 (gtkEntryGetSize): Remove method.
10941 (getMinimumSize): Call minimumSize.
10942 (getPreferredSize): Call preferredSize.
10943 (minimumSize): Calculate minimum size based on backing
10944 GtkEntry's borders, font metrics and number of columns.
10945 (preferredSize): Likewise for preferred size.
10946 (get_border_width): New static function.
10948 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10949 Override GtkWindowPeer's setResizable method to account for menu
10950 bar height when setting the frame's size.
10952 2004-01-19 Matthias Klose <doko@debian.org>
10954 * libtool-version: Increased `current' to 6.
10956 2004-01-19 Kim Ho <kho@redhat.com>
10958 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10959 (connectJObject): Iterate through the vbox's children to find layout.
10961 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10963 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10964 isDispatchThread method to replace wrong test condition.
10966 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10968 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10969 events to the queue out of order by acquiring locks in the proper
10970 order and not by releasing one before acquiring the other.
10972 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10974 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10975 visible so that dialog can be reused.
10977 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10979 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10980 events may be handled by any queue in the stack.
10982 2004-01-19 Kim Ho <kho@redhat.com>
10984 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10985 MenuBarPeer parameter.
10986 (removeMenuBarPeer): New native method.
10987 (setMenuBar): Call remove if menu bar is null. Adjust insets
10989 (postSizeAllocateEvent): New method. Called when menu bar size is
10990 allocated. Adjust insets and redo layout.
10991 (GtkFramePeer): Set menu bar during frame creation.
10992 (postConfigureEvent): Adjust position and size to accomodate
10994 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10995 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10996 (addNotify): Create the peer if it doesn't exist and call addNotify
10997 for the menu's items.
10998 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10999 * java/awt/MenuItem.java (addNotify): Create the peer if it
11001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11002 (removeMenuBarPeer): New method. Remove menu bar on the current
11004 (setMenuBarPeer): Add the menu bar to the current frame and the
11005 callback for size-allocate events on the menu bar.
11006 (getMenuBarHeight): Add menu bar parameter.
11007 (menubar_resize_cb): New callback method for postSizeAllocate events.
11009 Also: Fix indentation on last ChangeLog entry.
11011 2004-01-16 Kim Ho <kho@redhat.com>
11013 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11014 (gtkWidgetGetDimensions): Remove.
11015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11016 (gtkWidgetGetDimensions): Remove.
11018 2004-01-16 Tom Tromey <tromey@redhat.com>
11020 * java/awt/Container.java: Typo and indentation fixes.
11022 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11023 * java/lang/natVMClassLoader.cc: ...here. New file.
11024 * Makefile.in: Rebuilt.
11025 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11027 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11030 Discard GDK_ENTER_NOTIFY related to ungrabs.
11032 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11034 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11035 is called for an intermediate queue.
11037 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11040 (window_property_changed_cb): Set id_set.
11042 2004-01-16 Kim Ho <kho@redhat.com>
11044 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11045 it is a FileDialog and has dimensions of 0 by 0, then the initial
11046 size is set to size request plus insets.
11047 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11048 (gtkWidgetGetDimensions): Override method.
11049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11050 (gtkWidgetGetDimensions): Override method. Returns size request plus
11053 2004-01-16 Andrew Haley <aph@redhat.com>
11055 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11056 * sysdep/i386/locks.h: Likewise.
11058 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11060 * java/awt/EventDispatchThread.java (run): Stop running when
11062 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11063 Reset the queue after transferring its contents.
11064 (push): Start a new dispatch thread if none is running.
11066 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11068 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11069 (doPolygon): set fill rule of polygon to
11070 WIND_EVEN_ODD by default.
11072 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11074 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11075 Implemented rendering hints related methods.
11076 (getDefaultHints): New helper method. Returns
11077 default rendering hints.
11078 (walkPath): changed to normalize path if
11079 the KEY_STROKE_CONTROL key is in "normalize" mode.
11080 (draw3DRect): changed coordinates of rectangle by +0.5
11081 if in "normalize" mode.
11083 2004-01-15 Tom Tromey <tromey@redhat.com>
11085 * Makefile.in: Rebuilt.
11086 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11087 (%.lo: %.java) Filter out StackTrace.lo.
11089 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11091 * configure.in: Add in AC_PREREQ(2.13)
11092 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11095 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11096 Tom Tromey <tromey@redhat.com>
11099 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11100 array to superclass.
11101 (init): Changed interface; add URLs here.
11102 (initialize): New static method.
11103 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11104 (_Jv_RunMain): ... not here.
11106 2004-01-14 Michael Koch <konqueror@gmx.de>
11108 * java/text/MessageFormat.java:
11109 Added descriptions to exceptions.
11110 This fixes PR libgcj/2429.
11112 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11114 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11115 (push): Make sure push is performed at the top of the thread stack.
11117 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11119 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11120 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11121 (native create): Add width and height parameters. Set text
11122 view's size request according to new parameters.
11123 (create): Calculate text view size based on current font's
11124 metrics and number of rows and columns. Set TextArea's font if
11125 not already set. Call native create.
11126 (getMinimumSize): Call minimumSize.
11127 (getPreferredSize): Call preferredSize.
11128 (getHScrollbarHeight): New method.
11129 (getVScrollbarWidth): New method.
11130 (minimumSize): Calculate minimum size based on scrollbar
11131 visibility, scrollbar sizes, font metrics and number of rows and
11133 (preferredSize): Likewise for preferred size.
11134 (gtkTextGetSize): Remove method.
11136 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11138 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11139 (initializeInsets): Remove method.
11140 (GtkComponentPeer): Initialize insets field. Remove call to
11142 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11144 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11146 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11147 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11148 (latestInsets): Remove field.
11149 (native create): Add insets parameter. Call
11150 window_get_frame_extents. Set the window's default size and
11151 size request based on its frame extents.
11152 (create): Initialize insets.
11153 (postInsetsChangedEvent): New method.
11154 (postConfigureEvent): Remove parameters top, left, bottom,
11155 right. Remove insets-related logic.
11156 (connectJObject): Handle property-notify-event.
11157 (window_get_frame_extents, request_frame_extents,
11158 property_notify_predicate, window_property_changed_cb): New
11160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11161 (pre_event_handler): Remove insets-related logic for configure
11163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11164 Update postConfigureEvent signature.
11166 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11168 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11169 to handle Window "Closing" events.
11171 2004-01-13 David Jee <djee@redhat.com>
11173 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11174 (setBackground): New method. Children with no explicitly-set
11175 background will be repainted with the parent container's new
11178 2004-01-13 David Jee <djee@redhat.com>
11180 * Makefile.am: Add BitwiseXORComposite.java.
11181 * Makefile.in: Regenerated.
11182 * gcj/Makefile.in: Regenerated.
11183 * include/Makefile.in: Regenerated.
11184 * testsuite/Makefile.in: Regenerated.
11186 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11188 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11189 not show modal dialogs twice and so that it allows showing a modal
11190 dialog from another modal dialog.
11192 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11194 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11195 and run secondary dispatch thread to process event queue while this
11198 2004-01-12 Graydon Hoare <graydon@redhat.com>
11200 * gnu/java/awt/gtk/GdkGraphics2D.java
11201 (static): Check GtkToolkit before initializing static state.
11202 (Graphics2D): Don't construct transform with 0.5 unit offset.
11204 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11206 * gnu/java/awt/BitwiseXORComposite.java: Add.
11207 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11208 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11209 (BitwiseXORComposite): Remove inner class.
11211 2004-01-11 Michael Koch <konqueror@gmx.de>
11213 * gnu/java/lang/reflect/TypeSignature.java
11214 (getEncodingOfClass): Documentation fixed.
11215 (getClassForEncoding): Give class loader to Class.forName().
11216 Documentation fixed.
11218 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11220 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11222 2004-01-11 Michael Koch <konqueror@gmx.de>
11224 * javax/swing/undo/StateEditable.java
11225 (RCSID): Removed redundant modifiers.
11227 2004-01-10 Michael Koch <konqueror@gmx.de>
11229 * javax/print/attribute/EnumSyntax.java
11230 (getStringTable): Made protected.
11231 (getEnumValueTable): Likewise.
11232 * javax/print/attribute/standard/JobKOctetsProcessed.java
11233 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11234 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11235 (JobMediaSheetsCompleted): Made class final.
11236 * javax/print/attribute/standard/OutputDeviceAssigned.java
11237 (getName): Fixed typo.
11238 * javax/print/attribute/standard/RequestingUserName.java
11239 (serialVersionUID): Fixed value.
11241 2004-01-10 Michael Koch <konqueror@gmx.de>
11243 * javax/swing/plaf/basic/BasicButtonUI.java,
11244 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11245 javax/swing/plaf/basic/BasicListUI.java,
11246 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11247 javax/swing/plaf/basic/BasicPanelUI.java,
11248 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11249 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11250 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11251 javax/swing/plaf/basic/BasicViewportUI.java:
11252 Fixed import statements.
11254 2004-01-10 Michael Koch <konqueror@gmx.de>
11256 * gnu/java/awt/image/ImageDecoder.java
11257 (produce): Made public.
11258 * gnu/java/awt/peer/GLightweightPeer.java,
11259 gnu/java/awt/peer/gtk/GtkToolkit.java:
11262 2004-01-10 Michael Koch <konqueror@gmx.de>
11264 * javax/swing/JRadioButtonMenuItem.java,
11265 javax/swing/JSeparator.java,
11266 javax/swing/JSplitPane.java,
11267 javax/swing/JTextPane.java,
11268 javax/swing/JToolBar.java,
11269 javax/swing/ListCellRenderer.java,
11270 javax/swing/ListModel.java,
11271 javax/swing/MenuElement.java,
11272 javax/swing/OverlayLayout.java,
11273 javax/swing/ProgressMonitor.java,
11274 javax/swing/ProgressMonitorInputStream.java,
11275 javax/swing/Renderer.java,
11276 javax/swing/RootPaneContainer.java,
11277 javax/swing/Scrollable.java,
11278 javax/swing/SingleSelectionModel.java,
11279 javax/swing/ToolTipManager.java,
11280 javax/swing/ViewportLayout.java,
11281 javax/swing/event/DocumentEvent.java,
11282 javax/swing/event/SwingPropertyChangeSupport.java,
11283 javax/swing/event/TreeSelectionEvent.java,
11284 javax/swing/event/UndoableEditEvent.java,
11285 javax/swing/text/AbstractDocument.java,
11286 javax/swing/text/AttributeSet.java,
11287 javax/swing/text/Caret.java,
11288 javax/swing/text/ComponentView.java,
11289 javax/swing/text/DefaultCaret.java,
11290 javax/swing/text/DefaultEditorKit.java,
11291 javax/swing/text/Document.java,
11292 javax/swing/text/EditorKit.java,
11293 javax/swing/text/GapContent.java,
11294 javax/swing/text/Keymap.java,
11295 javax/swing/text/MutableAttributeSet.java,
11296 javax/swing/text/PlainEditorKit.java,
11297 javax/swing/text/Segment.java,
11298 javax/swing/text/Style.java,
11299 javax/swing/text/StyledDocument.java,
11300 javax/swing/text/StyledEditorKit.java,
11301 javax/swing/text/TextAction.java,
11302 javax/swing/text/View.java: Fixed import statements.
11304 2004-01-08 Graydon Hoare <graydon@redhat.com>
11306 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11307 djee@redhat.com's recent inverse ordering of Container elements.
11309 2004-01-09 Michael Koch <konqueror@gmx.de>
11311 * gnu/java/lang/ArrayHelper.java
11312 (equalsArray): Removed.
11314 2004-01-09 Andrew Haley <aph@redhat.com>
11316 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11317 a Utf8Const field before looking at its class.
11319 2004-01-09 Michael Koch <konqueror@gmx.de>
11321 * javax/print/attribute/standard/DocumentName.java,
11322 javax/print/attribute/standard/JobHoldUntil.java,
11323 javax/print/attribute/standard/JobMessageFromOperator.java,
11324 javax/print/attribute/standard/JobName.java,
11325 javax/print/attribute/standard/JobOriginatingUserName.java,
11326 javax/print/attribute/standard/OutputDeviceAssigned.java,
11327 javax/print/attribute/standard/PrinterInfo.java,
11328 javax/print/attribute/standard/PrinterLocation.java,
11329 javax/print/attribute/standard/PrinterMakeAndModel.java,
11330 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11331 javax/print/attribute/standard/PrinterName.java,
11332 javax/print/attribute/standard/RequestingUserName.java: New files.
11333 * Makefile.am (javax_source_files): Added new files.
11334 * Makefile.in: Regenerated.
11336 2004-01-09 Michael Koch <konqueror@gmx.de>
11338 * javax/swing/AbstractAction.java,
11339 javax/swing/AbstractSet.java,
11340 javax/swing/Action.java,
11341 javax/swing/ActionMap.java,
11342 javax/swing/BoundedRangeModel.java,
11343 javax/swing/ButtonModel.java,
11344 javax/swing/CellEditor.java,
11345 javax/swing/CellRendererPane.java,
11346 javax/swing/ComboBoxEditor.java,
11347 javax/swing/DebugGraphics.java,
11348 javax/swing/DefaultCellEditor.java,
11349 javax/swing/DefaultCellRenderer.java,
11350 javax/swing/DefaultComboBoxModel.java,
11351 javax/swing/DefaultDesktopManager.java,
11352 javax/swing/DefaultFocusManager.java,
11353 javax/swing/DefaultListCellRenderer.java,
11354 javax/swing/Icon.java,
11355 javax/swing/JButton.java,
11356 javax/swing/JCheckBoxMenuItem.java,
11357 javax/swing/JDesktopPane.java,
11358 javax/swing/JEditorPane.java,
11359 javax/swing/JMenu.java,
11360 javax/swing/JPanel.java,
11361 javax/swing/JPasswordField.java,
11362 javax/swing/JPopupMenu.java,
11363 javax/swing/JProgressBar.java: Reworked imports.
11365 2004-01-09 Michael Koch <konqueror@gmx.de>
11367 * java/awt/geom/PathIterator.java
11368 (WIND_EVEN_ODD): Removed redundant modifiers.
11369 (WIND_NON_ZERO): Likewise.
11370 (SEG_MOVETO): Likewise.
11371 (SEG_LINETO): Likewise.
11372 (SEG_QUADTO): Likewise.
11373 (SEG_CUBICTO): Likewise.
11374 (SEG_CLOSE): Likewise.
11375 * java/awt/image/SinglePixelPackedSampleModel.java:
11376 Removed redundant semicolon.
11377 * java/io/ObjectInputStream.java
11378 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11379 * java/util/logging/Filter.java
11380 (isLoggable): Removed redundant modifier.
11381 * java/util/logging/LogManager.java:
11382 Removed redundant semicolon.
11383 * java/util/logging/XMLFormatter.java
11384 (format): Removed unused variable "key".
11386 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11388 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11389 New name for the former setFile native method.
11390 (setFile): New method.
11391 (setDirectory): Implemented.
11392 (connectSignals): New native method.
11393 (setFilenameFilter): Improve comment.
11394 (getGraphics): Comment.
11395 (gtkHideFileDialog): New method.
11396 (gtkDisposeFileDialog): New method.
11397 (gtkSetFilename): New method.
11398 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11399 for FileDialog for now.
11400 (hide): New method.
11401 (dispose): New method.
11402 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11403 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11404 deprecated creation functions. Make dialog modal. Add it to the
11406 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11408 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11410 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11412 (window_closed): New function.
11413 (ok_clicked): New function.
11414 (cancel_clicked): New function.
11416 2004-01-08 Michael Koch <konqueror@gmx.de>
11418 * javax/swing/JLayeredPane.java: Revert changes to standard
11419 boilerplate, reworked imports.
11421 2004-01-07 Tom Tromey <tromey@redhat.com>
11424 * verify.cc (state::merge): Copy changed locals out of subroutine
11426 (state::FLAG_CHANGED): New const.
11427 (state::FLAG_UNUSED): Likewise.
11428 (state::local_changed): Removed. Updated all users.
11429 (state::flags): New field.
11430 (state::merge): Added jsr_semantics argument, more logic.
11431 (push_jump_merge): Added jsr_semantics argument.
11432 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11433 merging through the jsr instruction.
11435 2004-01-07 Tom Tromey <tromey@redhat.com>
11437 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11440 2004-01-07 Graydon Hoare <graydon@redhat.com>
11442 * java/awt/Container.java (LightweightDispatcher): Implement.
11443 (visitChild): Reuse graphics object.
11444 (dispatchEventImpl): Optionally dispatch to lightweight.
11445 (addNotifyContainerChildren): Build LightweightDispatcher.
11447 2004-01-07 David Jee <djee@redhat.com>
11449 * java/awt/Container.java
11450 (update): Clear only the clipped region, instead of clearing the
11452 (visitChildren): Visit children in descending order.
11454 2004-01-07 Michael Koch <konqueror@gmx.de>
11456 * java/lang/reflect/Array.java: Merged documentation with classpath.
11458 2004-01-07 Michael Koch <konqueror@gmx.de>
11460 * java/text/CollationElementIterator.java
11461 (textIndex): Renamed from index.
11462 * java/text/CollationKey.java
11463 (collator): New member.
11464 (CollationKey): New argument for parent collator.
11465 (equals): Check for same collator, source string and key array.
11466 * java/text/RuleBasedCollator.java:
11468 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11470 (getCollationElementIterator): Rewritten.
11471 (getCollationKey): Added new argument to CollationKey constructor.
11473 2004-01-07 Michael Koch <konqueror@gmx.de>
11475 * gnu/java/nio/DatagramChannelImpl.java
11476 (blocking): Removed.
11477 (DatagramChannelImpl): Call configureBlocking().
11478 (implConfigureBlocking): Dont initialize blocking.
11479 * gnu/java/nio/ServerSocketChannelImpl.java
11480 (blocking): Removed.
11481 (ServerSocketChannelImpl): Call configureBlocking().
11482 (implConfigureBlocking): Dont initialize blocking.
11483 * gnu/java/nio/SocketChannelImpl.java
11484 (blocking): Removed.
11485 (SocketChannelImpl): Call configureBlocking().
11486 (implConfigureBlocking): Dont initialize blocking.
11487 (connect): Use isBlocking().
11488 * java/nio/channels/spi/AbstractSelectableChannel.java
11489 (configureBlocking): Use blockingLock() instead of LOCK.
11490 Set blocking after successfully called implConfigureBlocking().
11491 (register): Use blockingLock() instead of LOCK.
11493 2004-01-07 Michael Koch <konqueror@gmx.de>
11495 * java/net/ServerSocket.java (isBound): Fixed documentation.
11497 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11499 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11500 (changeEvent): Create event object on demand.
11501 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11502 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11503 fireStateChanged): Re-written.
11504 * javax/swing/event/EventListenerList.java: Reformatted, document
11506 (toString): Implemented.
11507 (getListeners): Re-written.
11508 (remove): Re-written.
11510 (NO_LISTENERS): New singleton field.
11511 (listenerList): Declare as transient; document.
11512 (serialVersionUID): Document.
11513 (getListenerCount(Class)): More efficient implementation,
11514 also accepts null argument. Improve Javadoc.
11515 (getListenerCount()): Remove unnecessary cast; docfix.
11516 * javax/swing/undo/UndoableEditSupport.java:
11517 Re-format, document.
11518 (UndoableEditSupport): Set realSource field. Improve documentation.
11519 (_postEdit): Iterate over cloned listener vector.
11520 (toString): Don't emit realSource.
11521 (beginUpdate, endUpdate): Support nested updates.
11522 (postEdit): Use compound edit if present.
11524 2004-01-06 Graydon Hoare <graydon@redhat.com>
11526 * java/awt/Container.java (swapComponents): Add forgotten
11527 function, required for JLayeredPane change.
11529 2004-01-06 Michael Koch <konqueror@gmx.de>
11531 * java/text/CollationElementIterator.java: Reformated.
11532 (CollationElementIterator): Changed order of arguments.
11533 * java/text/RuleBasedCollator.java
11534 (RuleBasedCollator): Merged class documentation.
11535 (CollationElement): Added documentation.
11536 (compare): Reformated, renamed arguments.
11537 (equals): Likewise.
11538 (getCollationElementIterator): Likewise.
11539 (getCollationKey): Likewise.
11541 2004-01-06 Graydon Hoare <graydon@redhat.com>
11543 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11545 2004-01-06 Michael Koch <konqueror@gmx.de>
11547 * gnu/java/net/protocol/file/Connection.java:
11548 Reformated copyright.
11549 (hdrHash): Removed.
11551 (gotHeaders): Removed.
11552 (getHeaderField): Removed.
11553 (getHeaderField): Removed.
11554 (getHeaderFieldKey): Removed.
11556 (getField): Removed.
11557 (getHeaders): Removed.
11559 2004-01-06 Michael Koch <konqueror@gmx.de>
11561 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11562 javax/print/attribute/standard/DateTimeAtCreation.java,
11563 javax/print/attribute/standard/DateTimeAtProcessing.java,
11564 javax/print/attribute/standard/JobImpressionsCompleted.java,
11565 javax/print/attribute/standard/JobKOctets.java,
11566 javax/print/attribute/standard/JobKOctetsProcessed.java,
11567 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11568 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11569 * Makefile.am (javax_source_files): Added new files.
11570 * Makefile.in: Regenerated.
11572 2004-01-06 Michael Koch <konqueror@gmx.de>
11574 * java/net/URLConnection.java
11575 (contentHandler): Removed.
11577 (getHeaderFields): Return an empty map instead of null.
11578 (getContent): Connect if needed, renamed "cType" to "type" and
11579 "contentHandler" to "ch" and made it a local variable.
11580 (getPermission): Don't use package in class name.
11581 (setDefaultRequestProperty): Fixed typo in documentation.
11582 (initializeDateFormats): Made locale a local variable.
11584 2004-01-06 Michael Koch <konqueror@gmx.de>
11586 * java/lang/Package.java
11587 (getPackage): Get the current class loader directly.
11588 * java/lang/SecurityManager.java
11589 (currentLoadedClass): Dont iterate over class contexts.
11590 (classLoaderDepth): Don't check class loaders if everything is allowed.
11592 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11595 (pre_event_handler): Set all insets to 0 when a Configure event
11596 is received for a GtkPlug.
11597 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11598 Make handle long, not int.
11599 (EmbeddedWindow()): New constructor.
11600 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11602 (setHandle): New method.
11603 (getHandle): Return long, not int.
11604 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11606 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11607 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11608 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11609 argument to GdkNativeWindow.
11610 (construct): New method.
11611 (embed): New method.
11613 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11614 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11615 (create(int, int)): New method.
11616 (create): Call new create method.
11617 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11619 (childResized): Remove native implementation. Implement in
11621 (getHScrollbarHeight, getVScrollbarWidth): Call
11622 gtk_widget_size_request to get scrollbar dimensions.
11623 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11624 call getVScrollbarWidth and getHScrollbarHeight when vertical
11625 and horizontal scrollbars respectively are needed.
11626 (doLayout): Enlarge child if it is smaller than the viewport.
11628 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11630 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11631 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11632 argument as per spec.
11634 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11636 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11638 (remove): Ditto. Also, Check for valid argument.
11639 (removeAll): Use peer interface method.
11640 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11641 native add function.
11642 (nativeRemove): New name for native remove function.
11643 (getHistory): New native function.
11644 (constructor): Generate ItemEvent.
11645 (add): Ditto, if selection is changed.
11646 (remove): Ditto, ditto.
11647 (removeAll): Add implementation.
11648 (handleEvent): Remove. Dead code.
11649 (choicePostItemEvent): Add comment.
11650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11651 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11652 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11653 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11654 comments and fix condition to change selection.
11655 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11656 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11657 remove all capability.
11658 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11659 (item_activate): Add cast to remove compiler warning.
11661 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11663 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11665 (getPreferredSize): Call preferredSize.
11666 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11667 (getMinimumSize): Call minimumSize.
11668 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11669 (gtkWidgetGetDimensions): Return the peer widget's current size
11671 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11672 natural size request.
11674 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11676 Thanks to Brian Gough <bjg@network-theory.com>
11677 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11678 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11680 2004-01-04 Matthias Klose <doko@debian.org>
11682 * aclocal.m4: Rebuilt using "aclocal -I .".
11683 * configure: Rebuilt.
11685 2004-01-03 Per Bothner <per@bothner.com>
11687 * java/util/Date.java (parse): Fix a number of problems.
11688 (skipParens): Remove no-longer-needed method.