1 2004-10-22 Michael Koch <konqueror@gmx.de>
4 * java/lang/StackTraceElement.java
6 * java/nio/ByteBuffer.java
7 * java/nio/CharBuffer.java
8 * java/nio/DoubleBuffer.java
9 * java/nio/FloatBuffer.java
10 * java/nio/IntBuffer.java
11 * java/nio/LongBuffer.java
12 * java/nio/ShortBuffer.java
13 * java/nio/charset/Charset.java
14 * java/rmi/server/RMIClassLoader.java
15 * java/rmi/server/RMISocketFactory.java
16 * java/security/Policy.java
17 * java/text/ChoiceFormat.java
18 * java/text/CollationElementIterator.java
19 * java/text/DateFormat.java
20 * java/text/DecimalFormat.java
21 * java/text/DecimalFormatSymbols.java
22 * java/text/MessageFormat.java
23 * java/text/NumberFormat.java
24 * java/text/RuleBasedCollator.java
25 * java/text/SimpleDateFormat.java
26 * java/util/BitSet.java
27 * java/util/Calendar.java
28 * java/util/Collections.java
29 * java/util/IdentityHashMap.java
30 * java/util/Locale.java
31 * java/util/TreeMap.java
32 * java/util/logging/LogRecord.java
33 * java/util/logging/XMLFormatter.java
34 * java/util/prefs/AbstractPreferences.java
35 * java/util/prefs/Preferences.java
36 * javax/crypto/interfaces/DHPrivateKey.java
37 * javax/crypto/interfaces/DHPublicKey.java
38 * javax/crypto/interfaces/PBEKey.java
39 * javax/net/ssl/HandshakeCompletedEvent.java
40 * javax/security/auth/Subject.java
42 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
44 * gnu/java/net/natPlainSocketImplPosix.cc
45 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
46 with 'int *' argument instead of 'long *'.
48 2004-10-21 Michael Koch <konqueror@gmx.de>
50 * java/net/NetworkInterface.java,
51 java/text/Format.java,
52 javax/security/auth/x500/X500Principal.java,
53 javax/security/auth/x500/X500PrivateCredential.java,
54 javax/security/cert/X509CertBridge.java,
55 javax/security/sasl/Sasl.java,
56 javax/sql/XAConnection.java:
59 2004-10-21 Michael Koch <konqueror@gmx.de>
61 * javax/net/ssl/HandshakeCompletedEvent.java,
62 javax/net/ssl/KeyManagerFactory.java,
63 javax/net/ssl/SSLContext.java,
64 javax/net/ssl/SSLServerSocketFactory.java,
65 javax/net/ssl/SSLSession.java,
66 javax/net/ssl/SSLSocketFactory.java,
67 javax/net/ssl/TrustManagerFactory.java:
70 2004-10-21 Michael Koch <konqueror@gmx.de>
72 * javax/naming/directory/BasicAttribute.java,
73 javax/naming/directory/BasicAttributes.java,
74 javax/naming/directory/InitialDirContext.java,
75 javax/naming/event/NamingEvent.java,
76 javax/naming/ldap/ControlFactory.java,
77 javax/naming/ldap/ExtendedRequest.java,
78 javax/naming/ldap/InitialLdapContext.java,
79 javax/naming/ldap/LdapReferralException.java,
80 javax/naming/spi/DirObjectFactory.java,
81 javax/naming/spi/DirStateFactory.java,
82 javax/naming/spi/DirectoryManager.java,
83 javax/naming/spi/InitialContextFactory.java,
84 javax/naming/spi/InitialContextFactoryBuilder.java,
85 javax/naming/spi/NamingManager.java,
86 javax/naming/spi/ObjectFactory.java,
87 javax/naming/spi/ObjectFactoryBuilder.java,
88 javax/naming/spi/StateFactory.java:
91 2004-10-21 Michael Koch <konqueror@gmx.de>
93 * javax/crypto/Cipher.java,
94 javax/crypto/EncryptedPrivateKeyInfo.java,
95 javax/crypto/ExemptionMechanism.java,
96 javax/crypto/KeyAgreement.java,
97 javax/crypto/KeyGenerator.java,
98 javax/crypto/Mac.java,
99 javax/crypto/SecretKeyFactory.java,
100 javax/crypto/SecretKeyFactorySpi.java,
101 javax/crypto/spec/SecretKeySpec.java:
104 2004-10-21 Michael Koch <konqueror@gmx.de>
106 * java/security/AlgorithmParameterGenerator.java,
107 java/security/AlgorithmParameters.java,
108 java/security/AlgorithmParametersSpi.java,
109 java/security/AllPermission.java,
110 java/security/BasicPermission.java,
111 java/security/Certificate.java,
112 java/security/CodeSource.java,
113 java/security/DigestInputStream.java,
114 java/security/DigestOutputStream.java,
115 java/security/GuardedObject.java,
116 java/security/KeyFactory.java,
117 java/security/KeyFactorySpi.java,
118 java/security/KeyPairGenerator.java,
119 java/security/KeyStore.java,
120 java/security/KeyStoreSpi.java,
121 java/security/Permissions.java,
122 java/security/Security.java,
123 java/security/Signature.java,
124 java/security/UnresolvedPermission.java,
125 java/security/cert/CertPathBuilder.java,
126 java/security/cert/CertPathValidator.java,
127 java/security/cert/CertStore.java,
128 java/security/cert/Certificate.java,
129 java/security/cert/CertificateFactory.java,
130 java/security/cert/PolicyQualifierInfo.java,
131 java/security/cert/TrustAnchor.java,
132 java/security/cert/X509CRL.java,
133 java/security/cert/X509CRLSelector.java,
134 java/security/cert/X509CertSelector.java:
137 2004-10-21 Michael Koch <konqueror@gmx.de>
139 * java/rmi/MarshalledObject.java,
140 java/rmi/Naming.java,
141 java/rmi/activation/Activatable.java,
142 java/rmi/activation/ActivationGroup.java,
143 java/rmi/activation/ActivationGroupDesc.java,
144 java/rmi/activation/ActivationInstantiator.java,
145 java/rmi/activation/ActivationMonitor.java,
146 java/rmi/activation/ActivationSystem.java,
147 java/rmi/activation/Activator.java,
148 java/rmi/registry/LocateRegistry.java,
149 java/rmi/registry/Registry.java,
150 java/rmi/server/LogStream.java,
151 java/rmi/server/ObjID.java,
152 java/rmi/server/RMIClientSocketFactory.java,
153 java/rmi/server/RMIServerSocketFactory.java,
154 java/rmi/server/RMISocketFactory.java,
155 java/rmi/server/RemoteCall.java,
156 java/rmi/server/RemoteServer.java,
157 java/rmi/server/ServerRef.java,
158 java/rmi/server/UID.java,
159 java/rmi/server/UnicastRemoteObject.java:
162 2004-10-21 Tom Tromey <tromey@redhat.com>
164 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
165 exception if we hit EOF of `in'.
166 (read): Handle case where inflating returns -1.
168 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
170 * gnu/java/nio/channels/natFileChannelPosix.cc
171 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
172 argument instead of 'long *'.
174 2004-10-21 Tom Tromey <tromey@redhat.com>
176 * java/util/ResourceBundle.java (tryBundle): Also ignore
179 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
181 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
182 for all sh*-*-linux* targets.
183 * configure: Regenerate.
184 * include/sh-signal.h: New file.
186 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
188 * java/lang/ieeefp.h: Add m32r support.
190 2004-10-20 Andreas Schwab <schwab@suse.de>
192 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
194 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
197 2004-10-20 Michael Koch <konqueror@gmx.de>
199 * javax/print/attribute/standard/ColorSupported.java,
200 javax/print/attribute/standard/Compression.java,
201 javax/print/attribute/standard/Copies.java,
202 javax/print/attribute/standard/CopiesSupported.java,
203 javax/print/attribute/standard/DateTimeAtCompleted.java,
204 javax/print/attribute/standard/DateTimeAtCreation.java,
205 javax/print/attribute/standard/DateTimeAtProcessing.java,
206 javax/print/attribute/standard/DocumentName.java,
207 javax/print/attribute/standard/Fidelity.java,
208 javax/print/attribute/standard/Finishings.java,
209 javax/print/attribute/standard/JobHoldUntil.java,
210 javax/print/attribute/standard/JobImpressions.java,
211 javax/print/attribute/standard/JobImpressionsCompleted.java,
212 javax/print/attribute/standard/JobImpressionsSupported.java,
213 javax/print/attribute/standard/JobKOctets.java,
214 javax/print/attribute/standard/JobKOctetsProcessed.java,
215 javax/print/attribute/standard/JobKOctetsSupported.java,
216 javax/print/attribute/standard/JobMediaSheets.java,
217 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
218 javax/print/attribute/standard/JobMediaSheetsSupported.java,
219 javax/print/attribute/standard/JobMessageFromOperator.java,
220 javax/print/attribute/standard/JobName.java,
221 javax/print/attribute/standard/JobOriginatingUserName.java,
222 javax/print/attribute/standard/JobPriority.java,
223 javax/print/attribute/standard/JobPrioritySupported.java,
224 javax/print/attribute/standard/JobSheets.java,
225 javax/print/attribute/standard/JobState.java,
226 javax/print/attribute/standard/JobStateReason.java,
227 javax/print/attribute/standard/JobStateReasons.java,
228 javax/print/attribute/standard/Media.java,
229 javax/print/attribute/standard/MultipleDocumentHandling.java,
230 javax/print/attribute/standard/NumberOfDocuments.java,
231 javax/print/attribute/standard/NumberOfInterveningJobs.java,
232 javax/print/attribute/standard/NumberUp.java,
233 javax/print/attribute/standard/NumberUpSupported.java,
234 javax/print/attribute/standard/OrientationRequested.java,
235 javax/print/attribute/standard/OutputDeviceAssigned.java,
236 javax/print/attribute/standard/PDLOverrideSupported.java,
237 javax/print/attribute/standard/PageRanges.java,
238 javax/print/attribute/standard/PagesPerMinute.java,
239 javax/print/attribute/standard/PagesPerMinuteColor.java,
240 javax/print/attribute/standard/PrintQuality.java,
241 javax/print/attribute/standard/PrinterInfo.java,
242 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
243 javax/print/attribute/standard/PrinterLocation.java,
244 javax/print/attribute/standard/PrinterMakeAndModel.java,
245 javax/print/attribute/standard/PrinterMessageFromOperator.java,
246 javax/print/attribute/standard/PrinterMoreInfo.java,
247 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
248 javax/print/attribute/standard/PrinterName.java,
249 javax/print/attribute/standard/PrinterStateReason.java,
250 javax/print/attribute/standard/PrinterStateReasons.java,
251 javax/print/attribute/standard/PrinterURI.java,
252 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
253 javax/print/attribute/standard/RequestingUserName.java:
254 Reorganized imports and removed redundant final modifiers.
256 2004-10-20 Michael Koch <konqueror@gmx.de>
258 * javax/security/sasl/SaslClient.java,
259 javax/security/sasl/SaslClientFactory.java,
260 javax/security/sasl/SaslException.java,
261 javax/security/sasl/SaslServer.java,
262 javax/security/sasl/SaslServerFactory.java:
265 2004-10-20 Michael Koch <konqueror@gmx.de>
267 * javax/security/auth/login/NullConfiguration.java,
268 javax/security/auth/x500/X500Principal.java,
269 javax/security/cert/X509Certificate.java,
270 javax/security/sasl/AuthenticationException.java,
271 javax/security/sasl/AuthorizeCallback.java,
272 javax/security/sasl/RealmCallback.java,
273 javax/security/sasl/RealmChoiceCallback.java,
274 javax/security/sasl/Sasl.java,
275 javax/security/sasl/SaslClient.java,
276 javax/security/sasl/SaslClientFactory.java,
277 javax/security/sasl/SaslException.java,
278 javax/security/sasl/SaslServer.java,
279 javax/security/sasl/SaslServerFactory.java:
280 Cleaned up import statements and copyright notices.
282 2004-10-20 Michael Koch <konqueror@gmx.de>
284 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
286 2004-10-20 Michael Koch <konqueror@gmx.de>
288 * java/sql/Timestamp.java,
289 java/text/AttributedCharacterIterator.java,
290 java/text/AttributedString.java,
291 java/util/zip/CheckedOutputStream.java,
292 java/util/zip/DeflaterOutputStream.java,
293 java/util/zip/ZipFile.java,
294 javax/crypto/Cipher.java,
295 javax/crypto/ExemptionMechanismException.java,
296 javax/crypto/SecretKey.java,
297 javax/crypto/SecretKeyFactory.java,
298 javax/naming/directory/ModificationItem.java,
299 javax/naming/directory/SearchControls.java,
300 javax/naming/event/NamingListener.java,
301 javax/naming/ldap/Control.java,
302 javax/naming/ldap/ExtendedResponse.java,
303 javax/net/ssl/SSLSocketFactory.java:
304 Reorganized imports and fixed copyright headers.
306 2004-10-20 Michael Koch <konqueror@gmx.de>
308 * java/util/logging/ConsoleHandler.java,
309 java/util/logging/ErrorManager.java,
310 java/util/logging/FileHandler.java,
311 java/util/logging/Filter.java,
312 java/util/logging/Formatter.java,
313 java/util/logging/Handler.java,
314 java/util/logging/Level.java,
315 java/util/logging/LogManager.java,
316 java/util/logging/LogRecord.java,
317 java/util/logging/Logger.java,
318 java/util/logging/LoggingPermission.java,
319 java/util/logging/MemoryHandler.java,
320 java/util/logging/SimpleFormatter.java,
321 java/util/logging/SocketHandler.java,
322 java/util/logging/StreamHandler.java,
323 java/util/logging/XMLFormatter.java:
324 Standardized copyrigth header.
326 2004-10-20 Michael Koch <konqueror@gmx.de>
328 * java/security/AlgorithmParameterGenerator.java,
329 java/security/AlgorithmParameters.java,
330 java/security/DigestInputStream.java,
331 java/security/Identity.java,
332 java/security/KeyFactory.java,
333 java/security/KeyPairGenerator.java,
334 java/security/KeyStore.java,
335 java/security/MessageDigest.java,
336 java/security/MessageDigestSpi.java,
337 java/security/Policy.java,
338 java/security/SecureRandom.java,
339 java/security/Security.java,
340 java/security/Signature.java,
341 java/security/SignatureSpi.java,
342 java/security/cert/CertPathBuilder.java,
343 java/security/cert/CertPathValidator.java,
344 java/security/cert/CertStore.java,
345 java/security/cert/Certificate.java,
346 java/security/cert/CertificateFactory.java,
347 java/security/cert/PolicyQualifierInfo.java,
348 java/security/cert/TrustAnchor.java,
349 java/security/cert/X509CRL.java,
350 java/security/cert/X509CRLEntry.java,
351 java/security/cert/X509Certificate.java,
352 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
353 Import statements reorganized, some little formatting issues,
354 used java-style array declarations, added comments in empty catch
357 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
359 * java/security/Security.java
360 (static): Use AccessController.doPrivileged to get system property.
362 2004-10-18 Sven de Marothy <sven@physto.se>
364 * java/nio/ByteBufferHelper.java
365 (putDouble): Use Double.toRawLongBits instead.
367 2004-10-18 Mark Wielaard <mark@klomp.org>
368 Andrew Haley <aph@redhat.com>
370 * testsuite/libjava.lang/ExtraClassLoader.java: New.
372 2004-10-18 Andrew Haley <aph@redhat.com>
375 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
376 and correct logic used to find interpreter.
378 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
380 * java/util/logging/LogManager.java
381 (findAncestor): Fixed IndexOutOfBoundsException.
383 2004-10-18 Michael Koch <konqueror@gmx.de>
385 * java/io/BufferedInputStream.java: Fixed @author tag.
386 (read): Simplified expression.
387 (read): Merged javadoc a bit more.
388 (read): Renamed 'remain' to 'totalBytesRead'.
389 * java/io/DataInputStream.java,
390 java/io/DataOutputStream.java,
391 java/io/ObjectInputStream.java,
392 java/io/ObjectOutputStream.java:
393 Reworked modifier order.
395 2004-10-18 Michael Koch <konqueror@gmx.de>
397 * java/net/Inet4Address.java: Merged file header and javadocs.
398 * java/net/Inet6Address.java: Likewise.
399 * java/net/InetAddress.java
400 (getCanonicalHostName): Create Inet4Address object instead of
401 InetAddress and add comment regarding IPv6.
402 (toString): Simplified.
404 2004-10-18 Michael Koch <konqueror@gmx.de>
406 * gnu/java/net/protocol/http/Connection.java,
407 java/nio/MappedByteBufferImpl.java,
408 java/text/RuleBasedCollator.java,
409 java/util/ResourceBundle.java:
410 Reworked import statements.
412 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
414 * java/security/IdentityScope.java
415 (systemScope): Removed useless initializer.
416 * java/security/Policy.java
417 (currentPolicy): Likewise.
419 2004-10-18 Michael Koch <konqueror@gmx.de>
421 * java/lang/System.java: Revert accidential change.
423 2004-10-18 Michael Koch <konqueror@gmx.de>
425 * java/lang/Math.java,
426 java/lang/Package.java,
427 java/lang/Runtime.java,
428 java/lang/StrictMath.java,
429 java/lang/System.java,
430 java/lang/Thread.java,
431 java/lang/ThreadLocal.java,
433 Reworked import statements, HTML in javadocs and modifier orders.
435 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
437 * java/util/Timer.java
438 (nr): Removed useless initializer.
439 * java/util/logging/LogRecord.java
440 (lastSeqNum): Likewise.
441 * javax/naming/spi/NamingManager.java
442 (icfb, ofb): Likewise.
444 2004-10-18 Michael Koch <konqueror@gmx.de>
446 * gnu/java/net/PlainDatagramSocketImpl.java:
447 Reworked import statements.
448 * gnu/java/security/provider/DSAParameters.java:
449 Fixed copyrigth years.
450 * java/net/JarURLConnection.java:
451 Fixed HTML in @author tags.
454 2004-10-18 Michael Koch <konqueror@gmx.de>
456 * java/rmi/activation/ActivationSystem.java
457 (SYSTEM_PORT): Initialize with correct port number.
459 2004-10-18 Michael Koch <konqueror@gmx.de>
461 * java/lang/reflect/Proxy.java: Improved javadocs.
463 2004-10-18 Michael Koch <konqueror@gmx.de>
465 * java/lang/reflect/AccessibleObject.java
466 (checkPermission): Removed redundant final modifier.
467 (secureSetAccessible): Likewise.
468 * java/lang/reflect/Proxy.java:
469 Reworked import statements.
470 (generate): Removed redundant final modifier.
471 * java/lang/reflect/ReflectPermission.java:
472 Reorder package declaration and import statement.
474 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
476 * java/lang/reflect/Proxy.java
477 (count): Removed useless initializer.
479 2004-10-17 Michael Koch <konqueror@gmx.de>
481 * java/net/BindException.java,
482 java/net/ConnectException.java,
483 java/net/ContentHandler.java,
484 java/net/ContentHandlerFactory.java,
485 java/net/DatagramPacket.java,
486 java/net/DatagramSocket.java,
487 java/net/DatagramSocketImpl.java,
488 java/net/DatagramSocketImplFactory.java,
489 java/net/FileNameMap.java,
490 java/net/HttpURLConnection.java,
491 java/net/MalformedURLException.java,
492 java/net/MulticastSocket.java,
493 java/net/NetworkInterface.java,
494 java/net/NoRouteToHostException.java,
495 java/net/PasswordAuthentication.java,
496 java/net/PortUnreachableException.java,
497 java/net/ProtocolException.java,
498 java/net/ServerSocket.java,
499 java/net/Socket.java,
500 java/net/SocketException.java,
501 java/net/SocketImpl.java,
502 java/net/SocketImplFactory.java,
503 java/net/SocketOptions.java,
504 java/net/SocketPermission.java,
505 java/net/SocketTimeoutException.java,
507 java/net/URISyntaxException.java,
509 java/net/URLDecoder.java,
510 java/net/URLEncoder.java,
511 java/net/URLStreamHandler.java,
512 java/net/URLStreamHandlerFactory.java,
513 java/net/UnknownHostException.java,
514 java/net/UnknownServiceException.java:
515 Big import statement and @author tag cleanup.
517 2004-10-17 Michael Koch <konqueror@gmx.de>
519 * gnu/java/security/OID.java,
520 gnu/java/security/provider/DSAParameters.java,
521 gnu/java/security/provider/DSASignature.java,
522 gnu/java/security/x509/X500DistinguishedName.java,
523 gnu/java/security/x509/X509CRL.java:
524 Import statements cleaned up.
526 2004-10-16 Michael Koch <konqueror@gmx.de>
528 * gnu/java/nio/NIODatagramSocket.java,
529 gnu/java/nio/ServerSocketChannelImpl.java:
530 Reorganized import statements.
532 2004-10-16 Michael Koch <konqueror@gmx.de>
534 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
535 gnu/java/rmi/rmic/RMIC.java,
536 gnu/java/rmi/server/RMIHashes.java,
537 gnu/java/rmi/server/RMIObjectInputStream.java,
538 gnu/java/rmi/server/RMIObjectOutputStream.java,
539 gnu/java/rmi/server/UnicastConnection.java,
540 gnu/java/rmi/server/UnicastConnectionManager.java,
541 gnu/java/rmi/server/UnicastRemoteCall.java,
542 gnu/java/rmi/server/UnicastServer.java,
543 gnu/java/rmi/server/UnicastServerRef.java,
544 java/rmi/MarshalledObject.java,
545 java/rmi/Naming.java,
546 java/rmi/RMISecurityManager.java,
547 java/rmi/Remote.java,
548 java/rmi/activation/Activatable.java,
549 java/rmi/activation/ActivationDesc.java,
550 java/rmi/activation/ActivationGroup.java,
551 java/rmi/activation/ActivationGroupDesc.java,
552 java/rmi/activation/ActivationGroupID.java,
553 java/rmi/activation/ActivationID.java,
554 java/rmi/activation/ActivationInstantiator.java,
555 java/rmi/activation/ActivationMonitor.java,
556 java/rmi/activation/ActivationSystem.java,
557 java/rmi/activation/Activator.java,
558 java/rmi/dgc/DGC.java,
559 java/rmi/dgc/Lease.java,
560 java/rmi/dgc/VMID.java,
561 java/rmi/registry/LocateRegistry.java,
562 java/rmi/registry/Registry.java,
563 java/rmi/registry/RegistryHandler.java,
564 java/rmi/server/LoaderHandler.java,
565 java/rmi/server/LogStream.java,
566 java/rmi/server/ObjID.java,
567 java/rmi/server/Operation.java,
568 java/rmi/server/RMIClassLoader.java,
569 java/rmi/server/RMIClassLoaderSpi.java,
570 java/rmi/server/RMIClientSocketFactory.java,
571 java/rmi/server/RMIFailureHandler.java,
572 java/rmi/server/RMIServerSocketFactory.java,
573 java/rmi/server/RMISocketFactory.java,
574 java/rmi/server/RemoteCall.java,
575 java/rmi/server/RemoteObject.java,
576 java/rmi/server/RemoteRef.java,
577 java/rmi/server/RemoteServer.java,
578 java/rmi/server/RemoteStub.java,
579 java/rmi/server/ServerRef.java,
580 java/rmi/server/Skeleton.java,
581 java/rmi/server/SkeletonMismatchException.java,
582 java/rmi/server/UID.java,
583 java/rmi/server/UnicastRemoteObject.java,
584 java/rmi/server/Unreferenced.java:
585 File headers and import statements cleaned up.
587 2004-10-16 Michael Koch <konqueror@gmx.de>
589 * libjava/gnu/java/nio/charset/UTF_16.java,
590 libjava/gnu/java/nio/charset/UTF_16BE.java,
591 libjava/gnu/java/nio/charset/UTF_16LE.java,
592 libjava/java/nio/ByteOrder.java,
593 libjava/java/nio/MappedByteBuffer.java,
594 libjava/java/nio/channels/Channels.java,
595 libjava/java/nio/channels/spi/SelectorProvider.java,
596 libjava/java/nio/charset/Charset.java:
599 2004-10-16 Michael Koch <konqueror@gmx.de>
601 * gnu/java/nio/charset/UTF_16Encoder.java
602 (UTF_16Encoder): Fixed maxBytesPerChar handling.
604 2004-10-16 Michael Koch <konqueror@gmx.de>
606 * java/math/BigDecimal.java, java/math/BigInteger.java:
607 Reorganized import statements, removed redundant and
608 reorganized modifiers.
610 2004-10-16 Michael Koch <konqueror@gmx.de>
612 * gnu/java/beans/ExplicitBeanInfo.java:
613 Explicitely import java.awt.Image.
614 (getIcon): Fixed off-by-one error.
616 2004-10-15 Andrew Haley <aph@redhat.com>
618 * Makefile.am (nat_files, xlib_nat_files): New.
619 * Makefile.in: Regenerate.
621 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
623 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
624 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
626 2004-10-13 Andrew Haley <aph@redhat.com>
628 * interpret.cc (_Jv_InterpMethod::run): Initialize
629 _Jv_StartOfInterpreter.
630 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
631 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
632 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
633 _Unwind_FindEnclosingFunction to discover whether PC is within the
636 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
639 * testsuite/libjava.lang/md5test.java: New file.
640 * testsuite/libjava.lang/md5test.out: Likewise.
641 * testsuite/libjava.lang/shatest.java: Likewise.
642 * testsuite/libjava.lang/shatest.out: Likewise.
644 2004-10-11 Richard Henderson <rth@redhat.com>
646 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
647 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
649 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
651 * java/util/Calendar.java (set): Invalidate DST_OFFSET
652 field as a DST boundary may have been crossed.
653 * java/util/GregorianCalendar.java (add): Throw
654 IllegalArgumentException on attempt to add to DST_OFFSET or
655 ZONE_OFFSET fields. Update javadoc.
657 2004-10-09 Michael Koch <konqueror@gmx.de>
659 * java/io/CharArrayWriter.java
660 (resize): Removed redundant 'final' modifier.
661 * java/io/DataInputStream.java
662 (readFully): Throw IndexOutOfBoundsException of len < 0.
663 * java/io/FileDescriptor.java,
664 java/io/FileInputStream.java,
665 java/io/FileOutputStream.java,
666 java/io/ObjectOutputStream.java,
667 java/io/ObjectStreamClass.java,
668 java/io/PipedInputStream.java,
669 java/io/RandomAccessFile.java:
670 Reorganized import statements.
672 2004-10-09 Michael Koch <konqueror@gmx.de>
674 * gnu/java/rmi/rmic/RMIC.java,
675 gnu/java/rmi/server/RMIHashes.java,
676 gnu/java/rmi/server/RMIObjectInputStream.java,
677 gnu/java/rmi/server/UnicastConnection.java,
678 gnu/java/rmi/server/UnicastConnectionManager.java,
679 gnu/java/rmi/server/UnicastRemoteCall.java,
680 gnu/java/rmi/server/UnicastServerRef.java:
681 Reworked import statements and fixed file headers.
683 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
685 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
687 * configure: Rebuilt.
689 2004-09-30 Tom Tromey <tromey@redhat.com>
691 * java/text/MessageFormat.java (Field): Constructor now
694 2004-09-30 Tom Tromey <tromey@redhat.com>
696 * javax/crypto/MacSpi.java: Fixed typo.
698 2004-09-30 Michael Koch <konqueror@gmx.de>
700 * java/net/InetAddress.java: Reformatted.
701 (loopback): Initialize with Inet4Address object.
702 (static): Initialize ANY_IF with Inet4Address object.
703 (InetAddress): Removed unused package-private constructor.
705 2004-09-30 Michael Koch <konqueror@gmx.de>
707 * java/beans/Beans.java,
708 java/beans/EventHandler.java,
709 java/beans/EventSetDescriptor.java,
710 java/beans/Introspector.java,
711 java/beans/PropertyEditorManager.java,
712 java/beans/beancontext/BeanContext.java,
713 java/beans/beancontext/BeanContextChild.java,
714 java/beans/beancontext/BeanContextChildSupport.java,
715 java/beans/beancontext/BeanContextMembershipEvent.java:
716 Reordered import statements and removed redundant modifiers.
718 2004-09-29 Tom Tromey <tromey@redhat.com>
721 * Makefile.in: Rebuilt.
722 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
724 (all_property_files): New macro.
726 * Makefile.in: Rebuilt.
727 * Makefile.am (ordinary_java_source_files): Re-sorted.
728 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
730 2004-09-28 Tom Tromey <tromey@redhat.com>
732 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
735 * Makefile.am (libgcj.la): Restored.
736 * Makefile.in: Rebuilt.
738 2004-09-28 Michael Koch <konqueror@gmx.de>
740 * java/net/URLConnection.java: Reformatted.
741 * java/net/URLClassLoader.java: Reformatted.
742 (getContent): Reordered return of content.
743 (getContentHandler): Don't check for null explicitely.
745 2004-09-27 Michael Koch <konqueror@gmx.de>
747 * java/io/BufferedInputStream.java
748 (BufferedInputStream): Added Jeroen Frijters to authors.
749 (count): Don't explicitely initialize with default value.
751 (marklimit): Likewise.
752 (read): Changed boolean expression to match GNU classpath' version.
753 (reset): Add proper message to exception.
754 (skip): Check for closed stream.
757 2004-09-26 Per Bothner <per@bothner.com>
759 * prims.cc (unblock_signal): Annotate signum with __unused__ to
760 avoid warnings in the non-POSIX_VERSION case.
761 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
762 so place it inside an #if block.
763 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
764 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
765 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
766 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
768 2004-09-26 Per Bothner <per@bothner.com>
770 * prims.cc (process_gcj_properties): Optimization.
772 2004-09-26 Per Bothner <per@bothner.com>
774 * java/util/Collections.java (sort): Copy from array in forwards
775 order, rather than reverse order which may be much less efficient.
777 2004-09-26 Mark Wielaard <mark@klomp.org>
779 * java/lang/System.java (properties): Make package private.
780 * java/lang/Throwable.java (StaticData.nl): Initialize through
781 directly accessing System.properties.getProperty().
783 * java/lang/Throwable.java (nl): Remove static field.
784 (StaticData): New private static inner class.
785 (stackTraceStringBuffer): Use StaticData.nl.
787 2004-09-26 Casey Marshall <csm@gnu.org>
789 * java/security/ProtectionDomain.java
790 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
793 * java/security/SecureClassLoader.java
794 (defineClass): make protection domain dynamically bound.
795 (getPermissions): call `getCurrentPolicy' to avoid permission
798 2004-09-25 Mark Wielaard <mark@klomp.org>
800 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
801 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
802 * Makefile.in: Regenerated.
804 * gcj/javaprims.h: Regenerated.
806 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
807 (getDefaultTimeZone): Make package private. Check that GMToffset
808 contains at least one digit.
809 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
811 * util/VMTimeZone.java: New file with above methods.
813 * java/util/natTimeZone.cc: Removed (renamed).
814 * java/util/natVMTimeZone.cc: Added (renamed).
816 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
818 * java/util/TimeZone.java
819 (getDefaultTimeZone): Fixed test to distinguish between hours and
820 minutes in specified timezone.
822 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
824 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
825 handling of default package. (generate): Removed confused comments
826 and code about making Method and Field accessible.
828 2004-09-25 Tom Tromey <tromey@redhat.com>
831 * testsuite/libjava.compile/pr17500.java: New file.
833 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
834 Mark Wielaard <mark@klomp.org>
836 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
837 * gnu/regexp/RETokenLookAhead.java: New file.
839 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
840 * Makefile.in: Regenerated.
842 2004-09-25 Michael Koch <konqueror@gmx.de>
844 * java/io/ObjectStreamField.java:
845 Removed unused import statement.
847 2004-09-24 Tom Tromey <tromey@redhat.com>
850 * testsuite/libjava.compile/pr15656.xfail: New file.
851 * testsuite/libjava.compile/pr15656.java: new file.
854 * testsuite/libjava.lang/pr16789.out: New file.
855 * testsuite/libjava.lang/pr16789.java: New file.
857 2004-09-24 Andrew Haley <aph@redhat.com>
860 * testsuite/libjava.compile/AssertBug.java: New file.
862 2004-09-24 Casey Marshall <csm@gnu.org>
864 * java/util/PropertyPermissionCollection.java
865 (implies): avoid infinite loop.
867 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
869 * javax/security/auth/PrivateCredentialPermission.java
870 (PrivateCredentialPermission): added serialization UID
873 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
875 * gnu/java/rmi/server/UnicastServer.java
876 (incomingMessageCall): Added code to handle Errors.
877 * gnu/java/rmi/server/UnicastServerRef.java
878 (incomingMessageCall): Added code to handle Errors.
881 2004-09-24 Tom Tromey <tromey@redhat.com>
883 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
884 (definedPackages): Likewise.
886 2004-09-24 Michael Koch <konqueror@gmx.de>
888 * java/io/ObjectInputStream.java:
891 2004-09-24 Casey Marshall <csm@gnu.org>
893 * java/io/ObjectInputStream.java (callReadMethod): re-throw
894 `ClassNotFoundException'.
896 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
898 * java/io/ObjectInputStream.java (readObject): Delegate instantation
899 of Externalizable classes to ObjectStreamClass.
900 * java/io/ObjectStreamClass.java (newInstance): New method to
901 instantiate Externalizable (while ignoring the accessibility of
902 the constructor). (constructor): New field to cache the constructor.
904 2004-09-24 Mark Wielaard <mark@klomp.org>
906 * java/net/URL.java (systemClassLoader): New static field.
907 (getURLStreamHandler): Always use system/application classloader
908 for finding URLStreamhandler. Remove unecessary instanceof checks.
910 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
913 (set): This method now matches the behaviour of the JDK.
914 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
916 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
918 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
920 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
922 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
923 Don't set authority if host isn't specified.
925 2004-09-24 Michael Koch <konqueror@gmx.de>
927 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
928 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
929 * gnu/java/nio/VMPipe.java,
930 gnu/java/nio/VMSelector.java:
932 * gnu/java/nio/natPipeImplEcos.cc,
933 gnu/java/nio/natPipeImplPosix.cc,
934 gnu/java/nio/natPipeImplWin32.cc:
936 * gnu/java/nio/natSelectorImplEcos.cc,
937 gnu/java/nio/natSelectorImplPosix.cc,
938 gnu/java/nio/natSelectorImplWin32.cc:
939 Ported to VMSelector.
940 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
941 gnu/java/nio/VMSelector.java.
942 * Makefile.in: Regenerated.
944 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
946 * java/lang/StackTraceElement.java
947 (className): Renamed field to declaringClass to be compatible
948 with Sun serialization format.
950 2004-09-23 Michael Koch <konqueror@gmx.de>
952 * java/applet/AppletContext.java,
953 java/applet/Applet.java,
954 java/applet/AppletStub.java,
955 java/applet/AudioClip.java:
956 Jalopied and checkstyle clean.
958 2004-09-23 Mark Wielaard <mark@klomp.org>
960 * java/util/Collections.java
961 (binarySearch(List, Object, Comparator)): Explicitly
962 reverse direction in list iterator.
963 (rotate): Just return when list is empty.
965 2004-09-23 Tom Tromey <tromey@redhat.com>
968 * testsuite/libjava.compile/pr17329.java: New file.
971 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
974 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
976 * Makefile.am: Run aclocal with -I ../config
977 * acinclude.m4: Delete macros picked up from ../config and tidy.
978 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
979 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
980 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
982 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
984 * aclocal.m4: Regenerate with aclocal 1.9.2.
985 * configure: Regenerate.
986 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
987 * include/Makefile.in, testsuite/Makefile.in: Likewise.
989 2004-09-22 David Daney <ddaney@avtrex.com>
992 * java/net/URL.java (URL): Copy userInfo from context.
993 (getUserInfo): Return cached userInfo if present.
995 2004-09-22 Tom Tromey <tromey@redhat.com>
998 * mauve-libgcj: Enable java.lang.Character tests.
1000 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1002 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1004 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1005 * Makefile.in: Regenerated.
1007 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1009 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1010 * configure: Regenerate.
1011 * include/config.h.in: Likewise.
1012 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1016 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1017 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1022 2004-09-22 Tom Tromey <tromey@redhat.com>
1025 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1026 when comparing CRCs.
1027 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1029 (read()): New overload.
1031 2004-09-21 Tom Tromey <tromey@redhat.com>
1033 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1036 2004-09-21 Michael Koch <konqueror@gmx.de>
1038 * java/net/Socket.java
1039 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1041 2004-09-21 Casey Marshall <csm@gnu.org>
1043 * javax/crypto/MacSpi.java (clone): Provide meaningful
1046 2004-09-21 Tom Tromey <tromey@redhat.com>
1049 * Makefile.in: Rebuilt.
1050 * Makefile.am (MOSTLYCLEANFILES): Removed.
1051 (mostlyclean-local): Remove header files.
1053 2004-09-21 Casey Marshall <csm@gnu.org>
1055 * java/security/cert/X509CRLSelector.java:
1056 (match): remove unreachable try-catch clauses.
1057 Reported by: Dalibor Topic <robilad@kaffe.org>
1059 2004-09-21 Mark Wielaard <mark@klomp.org>
1061 * java/util/TreeMap.java (root): Don't initialize.
1062 (TreeMap(Comparator)): Call fabricateTree(0).
1063 (fabricateTree): Initialize root and size when count is 0.
1065 2004-09-21 Sven de Marothy <sven@physto.se>
1067 * java/nio/ByteBuffer.java (hashCode): Implemented.
1068 * java/nio/CharBuffer.java: Likewise.
1069 * java/nio/DoubleBuffer.java: Likewise.
1070 * java/nio/FloatBuffer.java: Likewise.
1071 * java/nio/LongBuffer.java: Likewise.
1072 * java/nio/IntBuffer.java: Likewise.
1073 * java/nio/ShortBuffer.java: Likewise.
1075 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1077 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1079 2004-09-21 Michael Koch <konqueror@gmx.de>
1081 * javax/net/ssl/SSLServerSocket.java:
1082 Removed comment about "Do not edit this file, it's generated.".
1084 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1086 Import the big Crypto/Jessie/Security merge from Classpath.
1088 * Makefile.am: Add imported files.
1089 * Makefile.in: Regenerate.
1091 2004-08-14 Casey Marshall <csm@gnu.org>
1093 The Big Crypto Merge of 2004.
1095 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1098 Files imported from GNU Crypto.
1099 * javax/crypto/BadPaddingException.java
1100 * javax/crypto/Cipher.java
1101 * javax/crypto/CipherInputStream.java
1102 * javax/crypto/CipherOutputStream.java
1103 * javax/crypto/CipherSpi.java
1104 * javax/crypto/EncryptedPrivateKeyInfo.java
1105 * javax/crypto/ExemptionMechanism.java
1106 * javax/crypto/ExemptionMechanismException.java
1107 * javax/crypto/ExemptionMechanismSpi.java
1108 * javax/crypto/IllegalBlockSizeException.java
1109 * javax/crypto/KeyAgreement.java
1110 * javax/crypto/KeyAgreementSpi.java
1111 * javax/crypto/KeyGenerator.java
1112 * javax/crypto/KeyGeneratorSpi.java
1113 * javax/crypto/Mac.java
1114 * javax/crypto/MacSpi.java
1115 * javax/crypto/Makefile.am
1116 * javax/crypto/NoSuchPaddingException.java
1117 * javax/crypto/NullCipher.java
1118 * javax/crypto/NullCipherImpl.java
1119 * javax/crypto/SealedObject.java
1120 * javax/crypto/SecretKey.java
1121 * javax/crypto/SecretKeyFactory.java
1122 * javax/crypto/SecretKeyFactorySpi.java
1123 * javax/crypto/ShortBufferException.java
1124 * javax/crypto/interfaces/DHKey.java
1125 * javax/crypto/interfaces/DHPrivateKey.java
1126 * javax/crypto/interfaces/DHPublicKey.java
1127 * javax/crypto/interfaces/PBEKey.java
1128 * javax/crypto/spec/DESKeySpec.java
1129 * javax/crypto/spec/DESedeKeySpec.java
1130 * javax/crypto/spec/DHGenParameterSpec.java
1131 * javax/crypto/spec/DHParameterSpec.java
1132 * javax/crypto/spec/DHPrivateKeySpec.java
1133 * javax/crypto/spec/DHPublicKeySpec.java
1134 * javax/crypto/spec/IvParameterSpec.java
1135 * javax/crypto/spec/PBEKeySpec.java
1136 * javax/crypto/spec/PBEParameterSpec.java
1137 * javax/crypto/spec/RC2ParameterSpec.java
1138 * javax/crypto/spec/RC5ParameterSpec.java
1139 * javax/crypto/spec/SecretKeySpec.java
1140 * javax/security/auth/AuthPermission.java
1141 * javax/security/auth/DestroyFailedException.java
1142 * javax/security/auth/Destroyable.java
1143 * javax/security/auth/Policy.java
1144 * javax/security/auth/PrivateCredentialPermission.java
1145 * javax/security/auth/RefreshFailedException.java
1146 * javax/security/auth/Refreshable.java
1147 * javax/security/auth/Subject.java
1148 * javax/security/auth/SubjectDomainCombiner.java
1149 * javax/security/auth/callback/Callback.java
1150 * javax/security/auth/callback/CallbackHandler.java
1151 * javax/security/auth/callback/ChoiceCallback.java
1152 * javax/security/auth/callback/ConfirmationCallback.java
1153 * javax/security/auth/callback/LanguageCallback.java
1154 * javax/security/auth/callback/NameCallback.java
1155 * javax/security/auth/callback/PasswordCallback.java
1156 * javax/security/auth/callback/TextInputCallback.java
1157 * javax/security/auth/callback/TextOutputCallback.java
1158 * javax/security/auth/callback/UnsupportedCallbackException.java
1159 * javax/security/auth/login/AccountExpiredException.java
1160 * javax/security/auth/login/AppConfigurationEntry.java
1161 * javax/security/auth/login/Configuration.java
1162 * javax/security/auth/login/CredentialExpiredException.java
1163 * javax/security/auth/login/FailedLoginException.java
1164 * javax/security/auth/login/LoginContext.java
1165 * javax/security/auth/login/LoginException.java
1166 * javax/security/auth/login/NullConfiguration.java
1167 * javax/security/auth/x500/X500PrivateCredential.java
1168 * javax/security/sasl/AuthenticationException.java
1169 * javax/security/sasl/AuthorizeCallback.java
1170 * javax/security/sasl/RealmCallback.java
1171 * javax/security/sasl/RealmChoiceCallback.java
1172 * javax/security/sasl/Sasl.java
1173 * javax/security/sasl/SaslClient.java
1174 * javax/security/sasl/SaslClientFactory.java
1175 * javax/security/sasl/SaslException.java
1176 * javax/security/sasl/SaslServer.java
1177 * javax/security/sasl/SaslServerFactory.java
1178 * org/ietf/jgss/ChannelBinding.java
1179 * org/ietf/jgss/GSSContext.java
1180 * org/ietf/jgss/GSSCredential.java
1181 * org/ietf/jgss/GSSException.java
1182 * org/ietf/jgss/GSSManager.java
1183 * org/ietf/jgss/GSSName.java
1184 * org/ietf/jgss/MessageProp.java
1185 * org/ietf/jgss/Oid.java
1186 * org/ietf/jgss/MessagesBundle.properties
1188 Files imported from Jessie <http://www.nongnu.org/jessie/>
1189 * javax/net/ServerSocketFactory.java
1190 * javax/net/SocketFactory.java
1191 * javax/net/VanillaServerSocketFactory.java
1192 * javax/net/VanillaSocketFactory.java
1193 * javax/net/ssl/HandshakeCompletedEvent.java
1194 * javax/net/ssl/HandshakeCompletedListener.java
1195 * javax/net/ssl/HostnameVerifier.java
1196 * javax/net/ssl/HttpsURLConnection.java
1197 * javax/net/ssl/KeyManager.java
1198 * javax/net/ssl/KeyManagerFactory.java
1199 * javax/net/ssl/KeyManagerFactorySpi.java
1200 * javax/net/ssl/ManagerFactoryParameters.java
1201 * javax/net/ssl/SSLContext.java
1202 * javax/net/ssl/SSLContextSpi.java
1203 * javax/net/ssl/SSLException.java
1204 * javax/net/ssl/SSLHandshakeException.java
1205 * javax/net/ssl/SSLKeyException.java
1206 * javax/net/ssl/SSLPeerUnverifiedException.java
1207 * javax/net/ssl/SSLPermission.java
1208 * javax/net/ssl/SSLProtocolException.java
1209 * javax/net/ssl/SSLServerSocket.java
1210 * javax/net/ssl/SSLServerSocketFactory.java
1211 * javax/net/ssl/SSLSession.java
1212 * javax/net/ssl/SSLSessionBindingEvent.java
1213 * javax/net/ssl/SSLSessionBindingListener.java
1214 * javax/net/ssl/SSLSessionContext.java
1215 * javax/net/ssl/SSLSocket.java
1216 * javax/net/ssl/SSLSocketFactory.java
1217 * javax/net/ssl/TrivialHostnameVerifier.java
1218 * javax/net/ssl/TrustManager.java
1219 * javax/net/ssl/TrustManagerFactory.java
1220 * javax/net/ssl/TrustManagerFactorySpi.java
1221 * javax/net/ssl/X509KeyManager.java
1222 * javax/net/ssl/X509TrustManager.java
1223 * javax/security/cert/Certificate.java
1224 * javax/security/cert/CertificateEncodingException.java
1225 * javax/security/cert/CertificateException.java
1226 * javax/security/cert/CertificateExpiredException.java
1227 * javax/security/cert/CertificateNotYetValidException.java
1228 * javax/security/cert/CertificateParsingException.java
1229 * javax/security/cert/X509CertBridge.java
1230 * javax/security/cert/X509Certificate.java
1232 2004-08-20 Casey Marshall <csm@gnu.org>
1234 * java/security/cert/X509CRLSelector.java: New file.
1235 * java/security/cert/X509CertSelector.java: New file.
1237 2004-09-15 Michael Koch <konqueror@gmx.de>
1239 * gnu/java/net/protocol/file/Handler.java
1240 (openConnection): Don't throw exception if host part for file: URI is
1241 present. setURL() keeps file: protocol if ftp: protocol is not
1244 2004-09-14 Richard Henderson <rth@redhat.com>
1246 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1247 value of sigsuspend.
1249 2004-09-12 Tom Tromey <tromey@redhat.com>
1251 * javax/naming/CompoundName.java (CompoundName): Don't check for
1252 separator in "flat" case.
1254 2004-09-12 Michael Koch <konqueror@gmx.de>
1256 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1257 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1258 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1261 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1264 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1265 handle in newly-allocated _Jv_Thread_t.
1266 (_Jv_ThreadDestroyData): Close thread handle.
1267 (_Jv_ThreadStart): Remove obsolete comment.
1268 Store handle of newly-created thread in _Jv_Thread_t.
1269 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1270 before including <windows.h>
1271 #define _Jv_HaveCondDestroy
1273 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1275 * java/lang/natThread.cc (finalize_native): Destroy
1276 join conditional variable and mutex if these destroy
1277 operations are supported.
1279 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1281 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1282 (DEFAULT_PERMISSION): New constant.
1283 (Connection): Create a FilePermission with permission to read file.
1285 2004-09-10 Michael Koch <konqueror@gmx.de>
1287 * gnu/java/net/protocol/file/Connection.java
1288 (getLastModified): Moved around.
1289 (getPermission): Return stored permission.
1291 2004-09-10 Michael Koch <konqueror@gmx.de>
1293 * Makefile.in: Regenerate.
1295 2004-09-10 Michael Koch <konqueror@gmx.de>
1297 * Makefile.am: Reverted accidently commited stuff.
1298 * configure: Regenerated.
1300 2004-09-10 Michael Koch <konqueror@gmx.de>
1302 * gnu/java/net/protocol/file/Connection.java
1303 (lineSeparator): Made non-final.
1305 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1306 instead of StringBufferInputStream.
1308 2004-09-10 Michael Koch <konqueror@gmx.de>
1310 * gnu/java/net/protocol/file/Connection.java
1311 (connect): Handle file is a directory case.
1313 2004-09-10 Michael Koch <konqueror@gmx.de>
1316 (xlib_includes): Removed.
1317 (AM_CPPFLAGS): Renamed from INCLUDES.
1318 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1319 * Makefile.in: Regenerate.
1321 2004-09-09 Michael Koch <konqueror@gmx.de>
1323 * java/security/ProtectionDomain.java,
1324 * java/util/PropertyPermissionCollection.java:
1325 Fixed javadocs all over.
1327 2004-09-09 Sven de Marothy <sven@physto.se>
1329 Patch from David Gilbert <david.gilbert@object-refinery.com>
1330 * java/lang/Comparable.java: Fixed documentation errors.
1331 * java/util/Arrays.java: Likewise.
1333 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1335 * java/net/Inet4Address.java
1336 (Inet4Address): Added comment to serialization UID.
1337 * java/text/Format.java
1338 (Format): Added comment to serialization UID.
1340 2004-09-09 Michael Koch <konqueror@gmx.de>
1342 * java/lang/System.java
1343 (err): Fixed javadoci to point to setErr() and not setOut().
1345 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1347 (normalizePath): Added special case for windows systems.
1349 2004-09-09 Michael Koch <konqueror@gmx.de>
1352 (dupSeparator): Made private.
1353 (File(URI)): New constructor.
1354 (getParentFile): Fixed javadoc.
1355 (createTempFile): Reformated.
1356 (setReadOnly): Added comment.
1357 (deleteOnExit): Merged javadoc with classpath version.
1359 2004-09-09 Michael Koch <konqueror@gmx.de>
1361 * Makefile.am: Don't try to include deps.mk.
1362 * Makefile.in: Regenerated.
1364 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1366 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1368 * configure: Rebuilt.
1370 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1372 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1373 Changed pfn from static local to local.
1375 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1376 H.J. Lu <hongjiu.lu@intel.com>
1379 * Makefile.am (GCJCOMPILE): Remove definition.
1380 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1381 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1382 * Makefile.in: Rebuilt.
1384 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1386 * configure.ac (enable-gc-debug): Update help for new syntax.
1387 * configure: Regenerate.
1389 2004-09-03 David Daney <ddaney@avtrex.com>
1391 * include/mips-signal.h: Update copyright.
1393 2004-09-03 David Daney <ddaney@avtrex.com>
1395 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1396 * include/mips-signal.h: Added HANDLE_FPE support.
1398 2004-08-31 Michael Koch <konqueror@gmx.de>
1400 * javax/swing/plaf/basic/BasicTextAreaUI.java
1401 (create): New method.
1402 * javax/swing/text/DefaultHighlighter.java
1403 (DefaultHighlightPainter.debugRect): Removed.
1404 * javax/swing/text/StyleContext.java
1405 (DEFAULT_STYLE): New field.
1407 2004-08-31 Michael Koch <konqueror@gmx.de>
1409 * javax/swing/plaf/basic/BasicLookAndFeel.java
1410 (initComponentDefaults): Add keybindings for selection.backward and
1411 selection-forward for text components.
1412 * javax/swing/plaf/basic/BasicTextUI.java
1413 (paintSafely): Paint highlight only when something is actually
1415 * javax/swing/text/DefaultCaret.java
1416 (handleHighlight): New method.
1417 (setSelectionVisible): Don't do anything when nothing changes.
1419 (moveDot): Reimplemented. Handle highlight.
1420 (setDot): Set mark too. Handle highlight.
1421 (getSelectionPainter): New method.
1422 * javax/swing/text/DefaultEditorKit.java
1423 (defaultActions): Added new actions for text selection.
1424 * javax/swing/text/DefaultHighlighter.java
1425 (DefaultHighlightPainter): New inner class.
1426 (DefaultPainter): New field.
1427 (paint): Implemented.
1428 * javax/swing/text/PlainView.java
1429 (paint): Don't draw background here again.
1430 * javax/swing/text/Utilities.java
1431 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1432 (drawTabbedText): Likewise.
1434 2004-08-31 Graydon Hoare <graydon@redhat.com>
1436 * javax/swing/JComponent.java
1437 (resetKeyboardActions): Add null checks.
1439 2004-08-31 Graydon Hoare <graydon@redhat.com>
1441 * javax/swing/DefaultButtonModel.java:
1442 Skip group notification when no group is set.
1444 2004-08-31 Graydon Hoare <graydon@redhat.com>
1446 * javax/swing/JColorChooser.java:
1447 Make a couple inner classes static, for jikes.
1449 2004-08-31 Michael Koch <konqueror@gmx.de>
1451 * javax/swing/plaf/basic/BasicTextUI.java
1452 (RottView.modelToView): New method.
1453 (UpdateHandler): Renamed from EventHandler.
1454 (updateHandler): Renamed from eventHandler.
1455 (modelToView): Implemented.
1456 * javax/swing/text/AbstractDocument.java
1457 (BranchElement.getElement): Return null for non-existing indeces.
1458 (BranchElement.getElementIndex): Return 0 in some corner cases.
1459 * javax/swing/text/FieldView.java
1460 (modelToView): New method.
1461 * javax/swing/text/PlainView.java
1462 (modelToView): Made public.
1464 2004-08-31 Kim Ho <kho@redhat.com>
1466 * Makefile.am: New files.
1467 * Makefile.in: Regenerate.
1468 * gcj/Makefile.in: Regenerate.
1469 * include/Makefile.in: Regenerate.
1470 * java/awt/Color.java: Fix documentation.
1471 (RGBtoHSB): Use floats for conversions.
1472 * javax/swing/ButtonGroup.java: Run Jalopy.
1473 (setSelected): Reimplement.
1474 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1475 (changeState): Let ButtonGroup know that the button
1477 * javax/swing/JColorChooser.java: Implement.
1478 * javax/swing/JLabel.java: Run Jalopy.
1479 * javax/swing/JSpinner.java: Run Jalopy.
1480 (setValue): New method.
1481 * javax/swing/JTabbedPane.java: Run Jalopy.
1482 (removeTabAt): Call correct remove method.
1483 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1484 (getPreviousValue): Compare minimum value.
1485 * javax/swing/Timer.java: Run Jalopy.
1486 (run): Comment out println.
1487 * javax/swing/ToolTipManager.java:
1488 (mouseMoved): Get new tooltip text for location.
1489 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1491 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1493 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1495 (setSelectedColor): Fire ChangeEvent.
1496 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1497 New file. Implement.
1498 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1500 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1502 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1504 * javax/swing/plaf/basic/BasicArrowButton.java:
1505 (getArrow): Fix size of upward pointing button.
1506 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1508 * javax/swing/plaf/basic/BasicSliderUI.java:
1509 (getWidthOfWidestLabel): Use preferred dimensions.
1510 (getHeightOfTallestLabel): Ditto.
1511 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1513 (mousePressed): Disable changes to spinner if it is not enabled.
1514 * testsuite/Makefile.in: Regenerate.
1517 2004-08-31 Michael Koch <konqueror@gmx.de>
1519 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1520 javax/swing/plaf/basic/BasicTableUI.java:
1521 Added copyright notice.
1523 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1525 * Makefile.am: Added new files.
1526 * Makefile.in: Regenerate.
1527 * javax/swing/ComboBoxEditor.java: Added javadocs.
1528 * javax/swing/ComboBoxModel.java: Likewise.
1529 * javax/swing/DefaultComboBoxModel.java: Implemented.
1530 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1531 and ran through jalopy to fix formatting style.
1532 (getListCellRendererComponent): Use appropriate border
1533 if renderer has focus and use noFocusBorder when it doesn't.
1534 * javax/swing/JComboBox.java: Implemented.
1535 * javax/swing/JList.java:
1536 (locationToIndex): New Method. Implemented.
1537 (indexToLocation): New Method.
1538 * javax/swing/JPopupMenu.java:
1539 (visible): New field.
1540 (isVisible): Changed to use new field above.
1541 (setVisible): Likewise.
1542 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1543 * javax/swing/plaf/basic/BasicArrowButton.java:
1544 (shadow): Changed default color to Color.gray.
1545 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1546 UI delegate for JComboBox.
1547 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1548 Popup menu containing list of JComboBox's items.
1549 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1550 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1551 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1552 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1553 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1554 (popupMenuWillBecomeVisible): Set selected path to the first
1555 element only if it is of type MenuElement. Also fix formatting
1557 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1560 2004-08-31 Michael Koch <konqueror@gmx.de>
1562 * javax/swing/text/AbstractDocument.java
1563 (createBranchElement): Use new constructor of BranchElement.
1564 (createLeafElement): Renamed arguments.
1565 (getRootElements): Implemented.
1566 (BranchElement.start): Removed.
1567 (BranchElement.end): Likewise.
1568 (BranchElement.BranchElement): Fixed arguments.
1569 (BranchElement.getEndOffset): Reimplemented.
1570 (BranchElement.getStartOffset): Likewis.
1571 * javax/swing/text/DefaultCaret.java
1572 (paint): Draw simple vertical line as caret instead of a rectangle.
1573 * javax/swing/text/JTextComponent.java
1574 (setText): Use doc directly.
1575 * javax/swing/text/PlainView.java
1576 (nextTabStop): Implemented.
1577 * javax/swing/text/Utilities.java
1578 (drawTabbedText): nextTabStop() returns an absolute x position.
1579 (getTabbedTextWidth): Likewise.
1581 2004-08-31 Graydon Hoare <graydon@redhat.com>
1583 * java/awt/Component.java
1584 (isFocusTraversable): Predicate on isLightweight()
1585 (setFocusable): Set isFocusTraversableOverridden.
1586 (requestFocus): Predicate peer dispatch on !isLightweight()
1587 (requestFocusInWindow): Likewise.
1588 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1589 * java/awt/Container.java
1590 (dispatchEventImpl): Predicate on event mask.
1591 (LightweightDispatcher): Remove focus machinery.
1592 * java/awt/DefaultFocusTraversalPolicy.java
1593 (accept): Expand predicate to include isFocusable().
1594 * java/awt/DefaultKeyboardFocusManager.java:
1595 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1596 * java/awt/KeyboardFocusManager.java
1597 (redispatchEvent): Synchronize on event to prevent feedback.
1598 * javax/swing/AbstractButton.java
1599 (ButtonFocusListener): Remove class.
1600 (init): Set focusPainted, focusable.
1601 * javax/swing/ActionMap.java (get): Check parent for null.
1602 * javax/swing/InputMap.java (get): Likewise.
1603 * javax/swing/JComponent.java
1604 (inputMap_whenFocused): New InputMap.
1605 (inputMap_whenAncestorOfFocused): Likewise.
1606 (inputMap_whenInFocusedWindow): Likewise.
1607 (getActionForKeyStroke): Rewrite.
1608 (getConditionForKeystroke): Likewise.
1609 (ActionListenerProxy): New private class.
1610 (setInputMap): Implement.
1611 (getInputMap): Likewise.
1612 (setActionMap): Likewise.
1613 (getActionMap): Likewise.
1614 (processComponentKeyEvent): New empty method.
1615 (processKeyEvent): Implement.
1616 (processKeyBinding): Likewise.
1617 (resetKeyboardActions): Rewrite.
1618 * javax/swing/KeyStroke.java: Rewrite.
1619 * javax/swing/SwingUtilities.java
1620 (notifyAction): Implement.
1621 (replaceUIActionMap): Likewise.
1622 (replaceUIInputMap): Likewise.
1623 * javax/swing/plaf/basic/BasicButtonListener.java
1624 (focusGained): Implement.
1625 (focusLost): Repaint if focusPainted().
1626 (installKeyboardActions): Install pressed / released actions.
1627 (uninstallKeyboardActions): Implement.
1628 * javax/swing/plaf/basic/BasicButtonUI.java
1629 (focusColor): New field.
1630 (installDefaults): Load focus color, install input map.
1631 (installKeyboardActions): Implement.
1632 (uninstallKeyboardActions): Likewise.
1633 (paintFocus): Rewrite.
1634 * javax/swing/plaf/basic/BasicLookAndFeel.java
1635 (Button.focus): New default, midPurple.
1636 * javax/swing/plaf/basic/BasicTextUI.java
1638 (installUI): Get doc from kit, load defaults.
1639 (getKeymapName): Implement.
1640 (createKeymap): Likewise.
1641 (installKeyboardActions): Likewise.
1642 (getInputMap): Likewise.
1643 (getActionMap): Likewise.
1644 (createActionMap): Likewise.
1645 * javax/swing/text/AbstractDocument.java
1646 (getStartPosition): Implement.
1647 (getEndPosition): Likewise.
1648 * javax/swing/text/DefaultEditorKit.java
1649 (CopyAction): New class.
1650 (CutAction): Likewise.
1651 (DefaultKeyTypedAction): Likewise.
1652 (InsertBreakAction): Likewise.
1653 (InsertContentAction): Likewise.
1654 (InsertTabAction): Likewise.
1655 (PasteAction): Likewise.
1656 (defaultActions): New static table.
1657 (createCaret): Implement.
1658 (getActions): Likewise.
1659 * javax/swing/text/JTextComponent.java
1660 (KeymapWrapper): New private class.
1661 (KeymapActionMap): Likewise.
1662 (DefaultKeymap): New class.
1663 (keymaps): New static table.
1664 (keymap): New field.
1665 (getKeymap): Implement.
1666 (removeKeymap): Likewise.
1667 (addKeymap): Likewise.
1668 (setKeymap): Likewise.
1669 (loadKeymap): Likewise.
1670 (getActions): Likewise.
1671 (margin): New field.
1672 (JTextComponent): Build and install default keymap.
1673 * javax/swing/text/TextAction.java
1674 (textAction): Call super properly.
1675 (getTextComponent): Implement.
1676 * javax/swing/text/Utilities.java
1677 (drawTabbedText): Adjust position by ascent.
1679 2004-08-31 David Jee <djee@redhat.com>
1683 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1684 (setEnabled): Make it a native method.
1685 * java/awt/DefaultKeyboardFocusManager.java
1686 (postProcessKeyEvent): Only post event if the menu item
1688 * java/awt/MenuItem.java:
1689 Private field 'enabled' should be true by default.
1690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1691 (setEnabled): New function.
1693 2004-08-31 David Jee <djee@redhat.com>
1697 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1698 (nativeSetHelpMenu): New native method declaration.
1699 (addHelpMenu): Call nativeSetHelpMenu().
1701 * java/awt/MenuBar.java
1702 (setHelpMenu): Call addNotify() on the new help menu.
1703 (add): Call addNotify() on the new menu.
1704 (addNotify): Set the help menu if one exists.
1705 * java/awt/peer/MenuBarPeer.java
1707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1708 (nativeSetHelpMenu): New method.
1710 2004-08-31 Graydon Hoare <graydon@redhat.com>
1712 * Makefile.am: Add new files.
1713 * Makefile.in: Regenerate.
1714 * javax/swing/Box.java: Fix setting of layout in ctor.
1715 * javax/swing/JScrollPane.java: Scroll headers as well.
1716 * javax/swing/JTable.java: Reimplement.
1717 * javax/swing/JViewPort.java: Only add non-null children.
1718 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1719 * javax/swing/Timer.java: Fix stopping null waker.
1720 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1721 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1722 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1723 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1724 * javax/swing/table/DefaultTableModel.java: Clean up.
1725 * javax/swing/table/JTableHeader.java: Implement.
1727 2004-08-31 Mark Wielaard <mark@klomp.org>
1729 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1732 2004-08-31 Mark Wielaard <mark@klomp.org>
1734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1735 Declare variables at top of functions/block.
1736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1738 2004-08-31 Mark Wielaard <mark@klomp.org>
1740 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1743 2004-08-31 Michael Koch <konqueror@gmx.de>
1745 * javax/swing/text/PlainView.java
1746 (selectedColor): New field.
1747 (unselectedColor): Likewise.
1749 (updateMetrics): New method.
1750 (lineToRect): Likewise.
1751 (modelToView): Likewise.
1752 (drawSelectedText): Use color from JTextComponent ad draw with
1754 (drawUnselectedText): Likewise.
1755 (paint): Initialize helper fields.
1756 * javax/swing/text/View.java
1757 (getChildAllocation): New method.
1758 (getViewIndex): Likewise.
1759 (getToolTipText): Likewise.
1761 2004-08-31 Michael Koch <konqueror@gmx.de>
1763 * javax/swing/text/Utilities.java
1764 (drawTabbedText): Reimplemented.
1765 (getTabbedTextWidth): Likewise.
1767 2004-08-31 Michael Koch <konqueror@gmx.de>
1769 * javax/swing/plaf/basic/BasicTextUI.java
1770 (installDefaults): Install caret and highlighter.
1771 (modelToView): Use Bias.Forward when calling sibling.
1772 * javax/swing/text/AbstractDocument.java
1773 (ElementEdit): Implements DocumentEvent.ElementChange.
1774 (ElementEdit.ElementEdit): New method.
1775 (ElementEdit.getChildrenAdded): Likewise.
1776 (ElementEdit.getChildrenRemoved): Likewise.
1777 (ElementEdit.getElement): Likewise.
1778 (ElementEdit.getIndex): Likewise.
1779 * javax/swing/text/DefaultCaret.java
1781 (textComponent): Renamed from parent, made private.
1782 (selectionVisible): Renamed from vis_sel, made private.
1783 (blinkRate): Renamed from blink, made private.
1784 (magicCaretPosition): Renamed from magic, made private.
1785 (visible): Renamed from vis, made private.
1786 (dot): Made private.
1788 (deinstall): Remove as MouseMotionListener.
1789 (install): Initialize textComponent first. Add as MouseMotionListener.
1790 (paint): Reimplemented.
1791 * javax/swing/text/JTextComponent.java
1792 (setCaret): Deinstall old caret, install new one and fire property
1793 change after setting property.
1794 (setHighlighter): Deinstall old highlighter, install new one and fire
1795 property change after setting property.
1796 (setCaretColor): Fire property change after setting property.
1797 (setDisabledTextColor): Likewise.
1798 (setSelectedTextColor): Likewise.
1799 (setSelectionColor): Likewise.
1800 (modelToView): New method.
1802 2004-08-31 Michael Koch <konqueror@gmx.de>
1804 * javax/swing/text/AbstractDocument.java
1805 (getText): Simplified.
1806 * javax/swing/text/Segment.java
1807 (current): New field.
1808 (current): Reimplemented.
1810 (getIndex): Likewise.
1813 (previous): Likewise.
1814 (setIndex): Likewise.
1816 2004-08-31 Michael Koch <konqueror@gmx.de>
1818 * javax/swing/plaf/basic/BasicButtonUI.java
1819 (defaultTextIconGap): Made protected.
1820 (defaultTextShiftOffset): Likewise.
1821 (textShiftOffset): New field.
1822 (clearTextShiftOffset): New method.
1823 (getTextShiftOffset): Likewise.
1824 (setTextShiftOffset): Likewise.
1826 2004-08-31 Michael Koch <konqueror@gmx.de>
1828 * javax/swing/plaf/basic/BasicTextUI.java
1829 (installUI): Add eventHandler as property listener.
1830 (uninstallUI): remove eventHandler as propert listener.
1831 (installDefaults): Added comment.
1832 (installListeners): Likewise.
1833 (installKeyboardActions): Likewise.
1834 (uninstallDefaults): Likewise.
1835 (uninstallListeners): Likewise.
1836 (uninstallKeyboardActions): Likewise.
1838 2004-08-31 Michael Koch <konqueror@gmx.de>
1840 * javax/swing/text/AbstractDocument.java:
1841 Fixed some typos in comments.
1842 (insertString): Reimplemented.
1844 (replace): New method.
1845 (children): Dont use fully qualified class name.
1846 (DefaultDocumentEvent.offset): Renamed from off.
1847 (DefaultDocumentEvent.length): Renamed from len.
1848 (DefaultDocumentEvent.type): New field.
1849 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1850 (DefaultDocumentEvent.getType): Implemented.
1852 2004-08-31 Michael Koch <konqueror@gmx.de>
1854 * javax/swing/plaf/basic/BasicTextUI.java
1855 (RootView.textComponent): Removed.
1856 (RootView.RootView): Don't initialize textComponent.
1857 (RootView.getViewFactory): New method.
1858 (EventHandler): New inner class.
1859 (rootView): Initialize at instance creation.
1860 (eventHandler): New field.
1861 (installUI): Don't create view hierarchy directly,
1862 call modelChanged() instead.
1863 (modelChanged): New method.
1864 * javax/swing/text/JTextComponent.java
1865 (setDocument): Fire property change event.
1867 2004-08-31 Michael Koch <konqueror@gmx.de>
1869 * javax/swing/plaf/basic/BasicTextUI.java
1870 (RootView.paint): Removed debug output.
1871 (paintSafely): Draw highlighter before text.
1872 (paintBackground): Use background color of text component.
1873 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1876 2004-08-31 Michael Koch <konqueror@gmx.de>
1878 * javax/swing/plaf/basic/BasicToolBarUI.java
1879 (BasicToolBarUI): Fixed arguments for constructor.
1880 (createUI): Fixed creation of object.
1882 2004-08-31 Michael Koch <konqueror@gmx.de>
1884 * javax/swing/DefaultListSelectionModel.java
1885 (fireValueChanged): Renamed from fireSelectionValueChanged,
1888 2004-08-31 Michael Koch <konqueror@gmx.de>
1890 * javax/swing/text/TabSet.java
1891 (TabSet): Implements java.io.Serializable.
1892 * javax/swing/text/TabStop.java
1893 (TabStop): Implements java.io.Serializable.
1894 (TabStop): Made public.
1896 2004-08-31 Michael Koch <konqueror@gmx.de>
1898 * javax/swing/JComponent.java
1899 (setUI): Fire PropertyChange.
1900 * javax/swing/JLabel.java
1901 (text): Renamed from labelText.
1902 (horizontalAlignment): New default vlaue.
1903 (icon): Renamed from activeIcon.
1904 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1905 (displayedMnemonicIndex): Renamed from underlineChar.
1906 (setDisplayedMnemonic): Reimplemented.
1907 * javax/swing/JRadioButton.java
1908 (JRadioButton): New constructors.
1909 * javax/swing/JTextField.java
1910 (JTextField): Throw exception if colums < 0, initialitialz
1911 this.columns directly and initialize document with text conditionally.
1913 2004-08-31 Michael Koch <konqueror@gmx.de>
1915 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1916 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1917 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1918 * javax/swing/text/FieldView.java
1919 (paint): Just call super method for now.
1920 * Makefile.am: Added new files.
1921 * Makefile.in: Regenerated.
1923 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1925 * javax/swing/AbstractSpinnerModel.java,
1926 javax/swing/JSpinner.java,
1927 javax/swing/SpinnerNumberModel.java,
1928 javax/swing/plaf/basic/BasicSpinnerUI.java:
1930 * javax/swing/plaf/basic/BasicLookAndFeel.java
1931 (initClassDefaults): Added defaults for BasicSpinnerUI.
1933 2004-08-31 Michael Koch <konqueror@gmx.de>
1935 * Makefile.am: Added new files.
1936 * Makefile.in: Regenerated.
1938 2004-08-31 Michael Koch <konqueror@gmx.de>
1940 * javax/swing/TransferHandler.java,
1941 javax/swing/plaf/basic/ComboPopup.java: New files
1942 * Makefile.am: Added javax/swing/TransferHandler.java and
1943 javax/swing/plaf/basic/ComboPopup.java
1944 * Makefile.in: Regenerated.
1946 2004-08-31 Roman Kennke <roman@ontographics.com>
1948 * javax/swing/text/Utilities.java: New file.
1950 2004-08-31 Michael Koch <konqueror@gmx.de>
1952 * Makefile.am: Added javax/swing/text/Utilities.java.
1953 * Makefile.in: Regenerated.
1955 2004-08-31 Graydon Hoare <graydon@redhat.com>
1957 * javax/swing/text/SimpleAttributeSet.java: New file.
1958 * javax/swing/text/StyleConstants.java: New file.
1959 * javax/swing/text/StyleContext.java: New file.
1960 * javax/swing/text/TabSet.java: New file.
1961 * javax/swing/text/TabStop.java: New file.
1962 * javax/swing/text/AbstactDocument.java:
1963 (AbstractElement): Implement attribute support.
1964 * javax/swing/text/AttributeSet.java
1965 (NameAttribute): New static field.
1966 (ResolveAttribute): New static field.
1967 * Makefile.am: Update for new files.
1968 * Makefile.in: Regenerate.
1970 2004-08-31 Craig Black <craig.black@aonix.com>
1972 * gnu/java/awt/peer/gtk/GdkGraphics.java
1973 (drawImage): Add support for scaling pixmaps.
1974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1975 (copyAndScalePixmap): New native method.
1977 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1980 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1981 type-punning compiler warnings using unions.
1982 (throw): Replace bzero with memset.
1984 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1985 Thomas Fitzsimmons <fitzsim@redhat.com>
1987 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1988 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1989 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1991 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1993 2004-08-31 Mark Wielaard <mark@klomp.org>
1995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1996 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1997 and stdlib.h, not gtkpeer.h.
1998 (*vm): New static variable.
1999 (areaPreparedID): Make static.
2000 (areaUpdatedID): Likewise.
2001 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2002 (area_prepared): Likewise.
2003 (area_updated): Likewise.
2005 (initStaticState): Initialize *vm javaVM.
2006 (pumpBytes): Use given env, not global gdk_env.
2008 2004-08-31 Mark Wielaard <mark@klomp.org>
2010 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2013 2004-08-31 Sven de Marothy <sven@physto.se>
2015 * java/awt/geom/CubicCurve2D.java: Reindent.
2016 (contains): Implemented.
2017 (intersects): Implemented.
2018 * java/awt/geom/QuadCurve2D.java: Likewise.
2019 * java/awt/geom/GeneralPath.java: Reindent and document.
2020 Fully (re)implemented using separate xpoints and ypoints
2022 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2024 2004-08-31 Michael Koch <konqueror@gmx.de>
2026 * javax/swing/JMenuItem.java
2027 (getMenuDragMouseListeners): New method.
2028 (getMenuKeyListeners): Likewise.
2030 2004-08-31 Michael Koch <konqueror@gmx.de>
2032 * javax/swing/AbstractButton.java
2033 (model): Made protected.
2034 (actionListener): Likewise.
2035 (changeListener): Likewise.
2036 (itemListener): Likewise.
2037 (multiClickThreshhold): New field.
2038 (getActionListeners): New method.
2039 (getChangeListeners): Likewise.
2040 (getItemListeners): Likewise.
2041 (fireItemStateChanged): Simplified implementation.
2042 (fireActionPerformed): Likewise.
2043 (fireStateChanged): Likewise.
2044 (getMultiClickThreshhold): New method.
2045 (setMultiClickThreshhold): Likewise.
2047 2004-08-31 Tom Tromey <tromey@redhat.com>
2049 * java/awt/image/Kernel.java (clone): Use super.clone().
2051 2004-08-31 David Jee <djee@redhat.com>
2054 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2055 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2056 (nativeSetIconImageFromData): New native method declaration.
2057 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2058 * gnu/java/awt/peer/gtk/GtkImage.java
2059 (getPixelCache): New method.
2060 (getColorModel): New method.
2061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2062 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2063 (free_pixbuf_data): New helper function.
2064 (nativeSetIconImageFromData): New function.
2066 2004-08-31 Graydon Hoare <graydon@redhat.com>
2069 * javax/swing/JLayeredPane.java
2070 (setLayer): Permit changing layer after addition.
2071 (setPosition): Permit over-length positions.
2072 (layerToRange): Compare intValue()s.
2073 * javax/swing/Box.java (createHorizontalBox): Implement.
2074 (createRigidArea): Likewise.
2075 (createVerticalBox): Likewise.
2077 2004-08-31 Kim Ho <kho@redhat.com>
2079 * java/awt/Component.java:
2080 (processMouseEvent): Consume event after
2081 listeners process it.
2082 (processMouseMotionEvent): ditto.
2083 (processMouseWheelEvent): ditto.
2084 * java/awt/Container.java:
2085 (acquireComponentForMouseEvent):
2086 Do not dispatch to events that have been
2087 removed from the Container.
2088 (handleEvent): Consume the MouseEvents.
2089 * javax/swing/RepaintManager.java:
2090 (paintDirtyRegions): Do not add to list of
2091 damaged areas if the component has no root.
2093 2004-08-31 Michael Koch <konqueror@gmx.de>
2095 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2097 2004-08-31 Mark Wielaard <mark@klomp.org>
2099 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2100 null when a MissingResourceException is thrown. Should never happen.
2102 2004-08-31 Mark Wielaard <mark@klomp.org>
2104 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2105 when argument is null.
2107 2004-08-31 Mark Wielaard <mark@klomp.org>
2109 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2110 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2111 Define hid at start of function.
2112 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2115 2004-08-31 Mark Wielaard <mark@klomp.org>
2117 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2118 * javax/swing/JButton.java: Reindent.
2119 * javax/swing/JCheckBox.java: Reindent.
2121 2004-08-31 Mark Wielaard <mark@klomp.org>
2123 * Makefile.am (gtk_c_source_files): Added
2124 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2125 (gtk_awt_peer_sources): Added
2126 gnu/java/awt/peer/gtk/GThreadMutex.java and
2127 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2128 * Makefile.in: Regenerated.
2130 2004-08-31 Archie Cobbs <archie@dellroad.org>
2132 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2134 2004-08-31 Steven Augart <augart@watson.ibm.com>
2136 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2137 Added jfieldID, jmethodID.
2139 2004-08-31 Mark Wielaard <mark@klomp.org>
2141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2142 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2143 gdk_env before calling any gdk or gtk function.
2145 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2146 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2147 (run): Set gtkInitCalled.
2149 2004-08-31 Steven Augart <augart@watson.ibm.com>
2151 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2152 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2155 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2156 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2158 (init_glib_threads): New function.
2160 2004-08-31 Mark Wielaard <mark@klomp.org>
2162 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2163 PRIORITY when not already defined in header file.
2165 2004-08-31 Mark Wielaard <mark@klomp.org>
2167 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2168 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2170 2004-08-31 Steven Augart <augart@watson.ibm.com>
2172 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2173 Implemented missing functions for GTK2.
2174 Added error handling.
2175 Renamed static functions out of the g_ namespace.
2176 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2177 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2178 Rewrote global-reference code.
2179 Eliminated cascading errors.
2180 (mutex_trylock_jni_impl) Fully implemented.
2181 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2183 (setup_cache) New function.
2184 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2185 bug where they were not unlocking the GMutex associated with the
2186 condition variable during the wait on that condition variable.
2188 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2189 native/jni/gtk-peer/gthread-jni.c,
2190 native/jni/gtk-peer/gthread-jni.h
2191 (g_thread_jni_functions): Renamed to ...
2192 (portable_native_sync_jni_functions): this name.
2193 (gdk_vm): Renamed to...
2194 (the_vm): this name.
2196 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2197 (gdk_vm): Removed duplicate definition.
2198 (gtkInit): Removed stray message to stdout.
2199 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2200 (gtkInit): Fix a const assignment bug.
2201 (gtkInit): Simplified code.
2203 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2204 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2205 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2206 gnu/java/awt/peer/gtk/GThreadMutex.java:
2209 2004-08-31 Mark Wielaard <mark@klomp.org>
2211 * javax/swing/Box.java: Put FIXME comment above class declaration.
2212 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2213 * javax/swing/JCheckBox.java: Likewise.
2214 * javax/swing/JDialog.java: Likewise.
2215 * javax/swing/JRadioButton.java: Likewise.
2216 * javax/swing/JToggleButton.java: Likewise.
2217 * javax/swing/UIManager.java: Likewise.
2218 * javax/swing/border/TitledBorder.java: Likewise.
2219 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2220 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2221 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2222 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2223 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2224 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2225 * javax/swing/text/JTextComponent.java: Likewise.
2227 2004-08-31 David Jee <djee@redhat.com>
2230 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2231 (setIconImage): Add a FIXME for unhandled cases.
2233 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2236 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2237 getModifiers. Replace old button masks with new ones.
2238 * gnu/awt/xlib/XEventLoop.java: Likewise.
2239 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2240 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2241 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2242 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2243 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2244 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2245 * java/awt/Component.java: Replace old modifier masks with new
2247 * java/awt/Container.java: Call getModifiersEx, not
2249 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2251 * javax/swing/JMenuItem.java: Replace old button masks with new
2253 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2255 * javax/swing/SwingUtilities.java: Likewise.
2256 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2257 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2258 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2259 mask macros with new ones.
2260 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2261 macros with new ones representing new masks.
2263 2004-08-31 Craig Black <craig.black@aonix.com>
2265 * gnu/java/awt/peer/gtk/GdkGraphics.java
2266 (drawRoundRect): Implemented.
2267 (fillRoundRect): Implemented.
2268 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2269 (drawRoundRect): Reimplemented to match GdkGraphics.
2270 (fillRoundRect): Reimplemented to match GdkGraphics.
2272 2004-08-31 Mark Wielaard <mark@klomp.org>
2274 * Makefile.in: Regenerated.
2276 2004-08-31 Michael Koch <konqueror@gmx.de>
2278 * gnu/java/awt/EmbeddedWindow.java
2279 (addNotify): Use AccessController to allow execution of privileged
2282 2004-08-31 Michael Koch <konqueror@gmx.de>
2284 * gnu/java/awt/EmbeddedWindow.java
2286 (addNotify): Set peer via reflection.
2287 (setWindowPeer): Removed.
2288 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2289 * Makefile.am (nat_source_files):
2290 Removed gnu/java/awt/natEmbeddedWindow.cc.
2292 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2294 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2295 and gnu/java/security/action/SetAccessibleAction.java.
2297 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2299 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2300 Renamed from 'setName'. New 2-argument form with default value.
2301 (run): Pass default 'value' parameter to System.getProperty().
2302 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2305 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2307 * gnu/java/security/action/GetPropertyAction.java: New class.
2308 * gnu/java/security/action/SetAccessibleAction.java: New class.
2310 2004-08-31 David Jee <djee@redhat.com>
2312 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2313 (setIconImage): Check if image is null.
2315 2004-08-31 David Jee <djee@redhat.com>
2317 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2318 (create): Set the icon image.
2319 (nativeSetIconImage): New native method declaration.
2320 (setIconImage): Implement.
2321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2322 (nativeSetIconImage): New function.
2324 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2326 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2327 (filenameFilterCallback): Declare local variable accepted before use.
2329 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2331 * gnu/java/awt/ComponentDataBlitOp.java:
2334 2004-08-31 Tom Tromey <tromey@redhat.com>
2336 * gnu/java/awt/peer/GLightweightPeer.java,
2337 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2338 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2339 javax/swing/JScrollPane.java: Removed
2342 2004-08-31 David Jee <djee@redhat.com>
2344 * java/awt/DefaultKeyboardFocusManager.java
2345 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2346 event. Fix shift modifier checking.
2347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2348 (accel_attach): Remove.
2349 (setupAccelGroup): Remove calls to accel_attach.
2351 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2353 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2354 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2356 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2358 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2359 * Makefile.in: Regenerate.
2360 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2361 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2362 (create(String)): New method.
2363 (create): Call new create method.
2364 (getArgs): Remove method.
2365 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2366 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2367 (nativeCreate): Rename to create.
2368 (gtkSetLabel): Rename to gtkButtonSetLabel.
2369 (gtkToggleButtonSetActive): New method.
2370 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2371 (setState): Replace set call with gtkToggleButtonSetActive.
2372 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2373 (getArgs): Remove method.
2374 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2375 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2376 (gtkWidgetSetSensitive): New method.
2377 (gtkWidgetSetParent): Likewise.
2378 (GtkComponentPeer): Call setParent, setComponentBounds and
2379 setVisibleAndEnabled.
2380 (setParent): New method.
2381 (setComponentBounds): New method.
2382 (setVisibleAndEnabled): New method.
2383 (setEnabled): Call gtkWidgetSetSensitive.
2384 (getArgs): Remove method.
2385 Remove all set methods.
2386 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2387 gtkWindowSetModal, setTitle and setResizable.
2388 (getArgs): Remove method.
2389 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2390 (setComponentBounds): New method.
2391 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2392 Replace set call with gtkWindowSetResizable.
2393 (getArgs): Remove method.
2394 (create): Call setTitle and setResizable.
2395 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2396 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2397 (gtkWindowSetTitle): New method.
2398 (gtkWindowSetResizable): New method.
2399 (gtkWindowSetModal): New method.
2400 (setParent): New method.
2401 (setVisibleAndEnabled): New method.
2402 (getArgs): Remove method.
2403 (setTitle): Call gtkWindowSetTitle.
2404 (setResizable): Call gtkWindowSetResizable.
2405 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2406 and off locking instrumentation.
2408 2004-08-31 Kim Ho <kho@redhat.com>
2410 * Makefile.am: Add new file.
2411 * Makefile.in: Regenerate.
2412 * gcj/Makefile.in: Regenerate
2413 * include/Makefile.in:
2414 * java/awt/Container.java:
2415 (acquireComponentForMouseEvent): Respect
2416 the event mask when looking for candidate.
2417 * javax/swing/JComponent.java:
2418 Remove toolTip field.
2419 (createToolTip): Create a tooltip on demand.
2420 (setToolTipText): Register with the ToolTipManager.
2421 (getToolTipText(MouseEvent)): Return getToolTipText().
2422 * javax/swing/JToolTip.java: Implement.
2423 * javax/swing/Timer.java: Jalopy.
2424 (restart): Call stop, then start.
2425 (stop): Interrupt the timer rather than wait for
2426 the timer to come to a stop naturally.
2427 * javax/swing/ToolTipManager.java: Implement.
2428 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2429 Change ToolTip.background color.
2430 * javax/swing/plaf/basic/BasicToolTipUI.java:
2432 * testsuite/Makefile.in: Regenerate
2434 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2436 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2437 constructor param comments.
2439 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2441 * java/awt/Component.java: Document AWT 1.0 event handler
2444 2004-08-31 Roman Kennke <roman@ontographics.com>
2446 * javax/swing/Box.java:
2447 (createGlue): Implemented
2448 (createHorizontalGlue): Implemented
2449 (createHorizontalStrut): Implemented
2450 (createVerticalGlue): Implemented
2451 (createVerticalStrut): Implemented
2453 2004-08-31 David Jee <djee@redhat.com>
2455 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2456 (GtkChoicePeer): Do not automatically select first item.
2457 (getHistory): Remove.
2458 (nativeGetSelected): New method.
2459 (nativeRemoveAll): New method.
2460 (add): Use nativeGetSelected() instead of getHistory().
2462 (removeAll): Call nativeRemoveAll().
2463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2464 (create): Migrate to GtkComboBox.
2466 (nativeAdd): Likewise.
2467 (nativeRemove): Likewise.
2469 (nativeRemoveAll): New method.
2470 (nativeGetSelected): New method.
2471 (selection_changed): New method.
2472 (getHistory): Remove.
2473 (item_activate): Remove.
2474 (item_removed): Remove.
2475 (connect_choice_item_selectable_hook): Remove.
2477 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2479 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2480 variable in setEditable call.
2482 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2483 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2484 (gtkWidgetSetBackground): New method.
2485 (gtkWidgetSetForeground): Likewise.
2486 (create): Set peer's editable state based on awtComponent's.
2488 * java/awt/Button.java (Button()): Use empty string rather than
2489 null in no-label constructor.
2491 2004-08-31 Roman Kennke <roman@ontographics.com>
2493 * javax/swing/BoxLayout.java: Reimplement.
2495 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2497 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2498 gnu_java_awt_peer_gtk_GdkGraphics.c
2499 (initState(GtkComponentPeer)): Don't return array of colour
2501 (GdkGraphics(int,int)): Set default font to size 12.
2502 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2503 component's foreground colour.
2504 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2505 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2506 (initState(GtkComponentPeer)): Don't return array of colour
2508 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2509 colours to component's colours.
2510 (current_colors_of_widget): Remove function.
2511 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2512 Return a new graphics object.
2513 * java/awt/Font.java (toString): Fix format.
2514 * java/awt/Graphics.java (toString): Likewise.
2516 2004-08-31 Craig Black <craig.black@aonix.com>
2518 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2519 (addTearOff): New function.
2520 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2522 (init): Call addTearOff() when menu.isTearOff().
2524 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2526 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2527 Default implementation.
2528 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2529 Implement using GdkPixbufDecoder.
2531 2004-08-31 David Jee <djee@redhat.com>
2533 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2534 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2535 setting the size of GtkFileDialogPeers.
2536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2537 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2538 use their default sizes rather than their natural requisitions.
2540 2004-08-31 Michael Koch <konqueror@gmx.de>
2542 * javax/swing/JFormattedTextField.java
2543 (JFormattedTextField): Implemented.
2544 * javax/swing/text/DefaultEditorKit.java
2545 (BeepAction): New inner class.
2546 * javax/swing/text/Segment.java
2547 (partialReturn): New field.
2548 (setPartialReturn): New method.
2549 (isPartialReturn): Likewise.
2550 * javax/swing/text/View.java
2551 (createFragment): Fixed typo.
2552 (getStartOffset): New method.
2553 (getEndOffset): Likewise.
2555 2004-08-31 Michael Koch <konqueror@gmx.de>
2557 * javax/swing/table/DefaultTableColumnModel.java
2558 (serialVersionUID): Made private.
2559 (listenerList): Initialize.
2560 (changeEvent): Initialize.
2561 * javax/swing/table/JTableHeader.java
2562 (JTableHeader): New constructors.
2563 (createDefaultColumnModel): New method.
2564 * javax/swing/table/TableColumn.java
2565 (setHeaderRenderer): Simplified code.
2566 (setCellRenderer): Likewise.
2567 (setWidth): Likewise.
2569 2004-08-31 Tom Tromey <tromey@redhat.com>
2571 * java/text/AttributedString.java (AttributedString): Use
2572 ArrayList to build array of attribute ranges. Don't use
2573 `attribs' before it is set.
2575 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2577 * HACKING: Remove reference to special automake. No longer needed.
2579 2004-08-30 Tom Tromey <tromey@redhat.com>
2581 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2582 return result from `add'.
2584 2004-08-30 Tom Tromey <tromey@redhat.com>
2586 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2588 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2590 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2592 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2594 * java/io/File.java File(String,String): Fixed handling of empty
2597 2004-08-30 Casey Marshall <csm@gnu.org>
2599 Author e-mail updated for all files.
2600 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2602 (compareTo): Use `equals'.
2603 * gnu/java/security/der/BitString.java (equals): Test if the
2604 argument is an instance of BitString.
2605 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2606 class final. Made fields private.
2607 (<init>): New constructor.
2609 (makeString): Made static; don't use NIO.
2610 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2611 * gnu/java/security/der/DERWriter.java: Fixed imports.
2612 (writeString): Don't use NIO.
2613 (toIso88591, toUtf16Be, toUtf8): New methods.
2614 * gnu/java/security/der/DERValue.java: Formatting changes only.
2615 * gnu/java/security/der/DER.java: Likewise.
2617 2004-08-30 Tom Tromey <tromey@redhat.com>
2619 * java/nio/CharBuffer.java (put): Fix typo.
2620 * java/nio/DoubleBuffer.java (put): Fix typo.
2621 * java/nio/FloatBuffer.java (put): Fix typo.
2622 * java/nio/IntBuffer.java (put): Fix typo.
2623 * java/nio/LongBuffer.java (put): Fix typo.
2624 * java/nio/ShortBuffer.java (put): Fix typo.
2626 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2628 * java/nio/ByteBuffer.java (put): Fix typo.
2630 2004-08-30 Casey Marshall <csm@gnu.org>
2632 * java/security/DummyKeyPairGenerator.java (clone): Removed
2633 useless instanceof check.
2634 * java/security/DummyMessageDigest.java (clone): Likewise.
2635 * java/security/DummySignature.java (clone): Likewise.
2636 * java/security/MessageDigest.java (clone): Remove useless
2638 * java/security/MessageDigestSpi.java (clone): Likewise.
2639 * java/security/Signature.java (clone): Provide meaningful
2641 * java/security/SignatureSpi.java (clone): Likewise.
2643 2004-08-29 Mark Wielaard <mark@klomp.org>
2645 * java/util/Arrays.java
2646 (sort(byte[], int, int)): Check fromIndex < 0.
2647 (sort(char[], int, int)): Likewise.
2648 (sort(short[], int, int)): Likewise.
2649 (sort(int[], int, int)): Likewise.
2650 (sort(long[], int, int)): Likewise.
2651 (sort(float[], int, int)): Likewise.
2652 (sort(double[], int, int)): Likewise.
2653 (sort(Object[], int, int, Comparator)): Likewise.
2654 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2655 (qsort(char[], int, int)): Likewise.
2656 (qsort(short[], int, int)): Likewise.
2657 (qsort(int[], int, int)): Likewise.
2658 (qsort(long[], int, int)): Likewise.
2659 (qsort(float[], int, int)): Likewise.
2660 (qsort(double[], int, int)): Likewise.
2662 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2664 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2665 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2666 java/util/ArrayList.java, java/util/Arrays.java,
2667 java/util/BitSet.java, java/util/Calendar.java,
2668 java/util/Collection.java, java/util/ListIterator.java,
2669 java/util/Map.java, java/util/SortedSet.java:
2670 Added additional exceptions to documentation, along
2671 with some additions and corrections.
2673 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2675 * configure.ac: Handle --enable-gc-debug.
2676 * configure: Regenerate.
2677 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2678 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2679 Rearrange include file order.
2680 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2681 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2682 (disable_gc_mutex): Delete along with all references.
2683 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2684 adjust for debug header size.
2685 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2687 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2688 (gcj_describe_type_fn): New.
2689 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2690 Register gcj_describe_type_fn.
2691 * include/boehm-gc.h:
2692 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2693 Don't define, but declare, for debug case.
2694 * java/lang/natObject.cc:
2695 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2697 2004-08-26 Mark Wielaard <mark@klomp.org>
2699 Fixes PR libgcj/17002:
2700 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2701 a TimeZoneId string and then try to convert that to a TimeZone with
2702 getDefaultSystemTimeZone(String).
2703 (timezones0): Changed type from Hashtable to HashMap.
2704 (timezones): Create HashMap, not Hashtable.
2705 (getDefaultTimeZone): New method, rewritten from CNI version.
2706 (readTimeZoneFile): New method.
2707 (readtzFile): Likewise.
2708 (skipFully): Likewise.
2709 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2710 getDefaultTimeZoneId and rewritten.
2711 (getDefaultTimeZoneId): Rewritten in java.
2713 2004-08-25 David Daney <daney@avtrex.com>
2715 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2716 * Makefile.in: Regenerated.
2718 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2720 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2721 only if jvmpi is enabled.
2722 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2723 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2724 (_Jv_AllocString): Likewise.
2725 (_Jv_AllocPtrFreeObject): Likewise.
2727 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2729 * defineclass.cc: Include <stdio.h>.
2730 * java/lang/natClassLoader.cc: Include <stdio.h>.
2732 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2733 Michael Koch <konqueror@gmx.de>
2735 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2736 * Makefile.in: Regenerated.
2738 2004-08-20 Michael Koch <konqueror@gmx.de>
2740 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2741 AC_COMPILE_IFELSE macros.
2743 2004-08-20 Michael Koch <konqueror@gmx.de>
2745 * configure.in: Renamed to configure.ac.
2746 * configure.ac: New file.
2747 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2748 include/config.h.in, testsuite/Makefile.in: Regenerated.
2750 2004-08-20 Michael Koch <konqueror@gmx.de>
2752 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2753 * aclocal.m4, configure: Regenerated.
2755 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2756 Michael Koch <konqueror@gmx.de>
2758 * configure.in, Makefile.am: Ported to automake 1.9.
2759 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2760 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2763 2004-08-19 Tom Tromey <tromey@redhat.com>
2765 * java/net/DatagramSocket.java: Fixed typo.
2767 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2770 * java/net/URI.java (string): New field. Make all other fields
2772 (readObject): Implemented.
2773 (writeObject): Implemented.
2774 (URI): Set 'string'.
2776 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2779 * java/util/logging/Handler.java (isLoggable): Accept record if its
2780 log level equals the threshold level. From Robin Green.
2782 2004-08-18 David Daney <ddaney@avtrex.com>
2784 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2787 2004-08-17 Michael Koch <konqueror@gmx.de>
2789 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2790 * Makefile.in: Regenerated.
2792 2004-08-16 Tom Tromey <tromey@redhat.com>
2795 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2797 2004-08-16 Michael Koch <konqueror@gmx.de>
2800 (math_c_files): Renamed from c_files.
2801 (math_c_source_files): Renamed from c_source_files.
2804 include/Makefile.in,
2805 testsuite/Makefile.in: Regenerated.
2807 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2809 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2810 to avoid autoconf warning.
2811 * configure: Rebuilt.
2813 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2815 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2816 localhostAddress to loopbackAddress.
2817 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2819 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2821 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2822 boehm-gc's include dirs.
2823 * configure: Rebuilt.
2824 * include/boehm-gc.h: Include gc_config.h.
2826 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2828 * java/net/InetAddress.java (loopbackAddress): Renamed from
2830 (getByName): Return loopback address for null hostname, without
2831 security check. Use lookup(), not getAllByName.
2832 (getAllByName): Return loopback address for null hostname, without
2834 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2837 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2840 Reported by Robin Green.
2841 * defineclass.cc (handleField): Don't throw exception on unrecognised
2842 modifier. Add FIXME comments for spec compliance.
2843 (handleMethod): Likewise.
2845 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2848 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2849 (Almost everywhere): add LOG calls, fix, add comments.
2850 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2851 Add explicit check for LOCKED bit in slow case (PR 16662).
2852 (_Jv_MonitorExit): Add casts in debug-only code.
2853 Always release LOCKED bit before throwing exception.
2854 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2855 isn't. Handle easy cases without lock acquisition.
2856 (Object::wait): Use NotifyAll for lock inflation.
2858 2004-08-12 David Daney <ddaney@avtrex.com>
2860 * testsuite/libjava.lang/Process_1.java: New test.
2861 * testsuite/libjava.lang/Process_2.java: New test.
2862 * testsuite/libjava.lang/Process_3.java: New test.
2863 * testsuite/libjava.lang/Process_4.java: New test.
2864 * testsuite/libjava.lang/Process_5.java: New test.
2865 * testsuite/libjava.lang/Process_6.java: New test.
2866 * testsuite/libjava.lang/Process_1.out: Expected result.
2867 * testsuite/libjava.lang/Process_2.out: Expected result.
2868 * testsuite/libjava.lang/Process_3.out: Expected result.
2869 * testsuite/libjava.lang/Process_4.out: Expected result.
2870 * testsuite/libjava.lang/Process_5.out: Expected result.
2871 * testsuite/libjava.lang/Process_6.out: Expected result.
2873 2004-08-12 David Daney <ddaney@avtrex.com>
2876 * java/lang/PosixProcess.java: Rewrote.
2877 * java/lang/natPosixProcess.cc: Rewrote.
2878 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2879 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2880 * posix-threads.cc (block_sigchld) New function.
2881 (_Jv_ThreadRegister) Use it.
2882 (_Jv_ThreadStart) Use it.
2883 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2884 * Makefile.am: ... to specify extra native headers.
2885 * configure: Regenerated.
2886 * include/config.h: Regenerated.
2887 * Makefile.in: Regenerated.
2888 * gcj/Makefile.in: Regenerated.
2889 * include/Makefile.in: Regenerated.
2890 * testsuite/Makefile.in: Regenerated.
2892 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2894 PR tree-optimization/16867
2895 * testsuite/libjava.lang/PR16867.java: New test.
2897 2004-08-09 Per Bothner <per@bothner.com>
2899 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2900 with private fields and access methods.
2901 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2902 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2903 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2904 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2905 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2906 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2908 * resolve.cc: Likewise.
2909 * gcj/field.h: Likewise.
2910 * include/jvm.h: Likewise.
2911 * java/lang/Class.h: Likewise.
2912 * java/lang/natClass.cc: Likwise.
2913 * java/lang/natClassLoader.cc: Likewise
2914 * java/lang/reflect/natMethod.cc: Likewise
2915 * verify.cc: Likewise.
2916 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2917 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2919 2004-08-10 Andrew Haley <aph@redhat.com>
2921 * testsuite/libjava.lang/err14.java: New file.
2922 * testsuite/libjava.lang/err14.out: New file.
2924 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2926 * Makefile.am: Fix missing rename from x_nat_headers to
2928 * Makefile.in: Regenerated.
2930 2004-08-04 Andrew Haley <aph@redhat.com>
2932 * java/security/BasicPermission.java: Don't check wildcards.
2934 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2935 Michael Koch <konqueror@gmx.de>
2937 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2938 * configure.in: Replaced all usages of AC_LINK_FILES by
2941 configure: Regenerated.
2943 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2944 Michael Koch <konqueror@gmx.de>
2946 * acconfig.h: Removed.
2947 * Makefile.am: Rename variables for xlib peer to include xlib and
2948 gtk_c_headers to gtk_jni_headers.
2949 * Makefile.in: Regenerated.
2951 2004-08-04 Andrew Haley <aph@redhat.com>
2953 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2956 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2958 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2959 Replace most top level 'dnl' comments with '#' comments, conforming
2960 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2962 * configure: Rebuilt.
2964 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2966 * acinclude.m4: Include no-executables.m4.
2967 * aclocal.m4: Rebuild.
2968 * configure.in: Convert to the autoconf 2.59 version of
2969 of the no-executables hack, and also of the nonstandard CXX
2970 hack and the multilibbed CC and CXX hack. Change prerequisite
2972 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2973 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2974 testsuite/Makefile.in: Regenerate.
2976 2004-08-03 Tom Tromey <tromey@redhat.com>
2978 * jni.cc: Reindented.
2980 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2982 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2984 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2986 * testsuite/libjava.compile/PR16701.java: New test.
2988 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2990 * java/util/Collection.java, java/util/List.java,
2991 java/util/Map.java, java/util/Set.java,
2992 java/util/SortedMap.java, java/util/SortedSet.java:
2993 Added additional exceptions to documentation.
2995 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2998 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2999 * configure. Regenerate.
3000 * include/win32.h: Explicitly include winsock2.h
3001 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3004 2004-07-30 Michael Koch <konqueror@gmx.de>
3006 * java/util/zip/GZIPInputStream.java
3007 (GZIPInputStream): Increase buffer size to 4k.
3008 * java/util/zip/GZIPOutputStream.java
3009 (GZIPOutputStream): Likewise.
3010 * java/util/zip/Inflater.java
3011 (setInput): Merged formating with GNU classpath.
3012 * java/util/zip/InflaterInputStream.java
3013 (InflaterInputStream): Increase buffer size to 4k.
3014 (fill): Throw exception if stream ends early.
3015 (read): Merged endless-loop with GNU classpath.
3016 (skip): Increase buffer size to 2k.
3018 2004-07-30 Michael Koch <konqueror@gmx.de>
3020 * gnu/java/awt/EmbeddedWindow.java
3021 (addNotify): Use AccessController to allow execution of privileged
3024 2004-07-29 Michael Koch <konqueror@gmx.de>
3026 * gnu/java/lang/MainThread.java:
3027 Explicitely import used classes.
3028 (args): Make it type String[].
3030 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3032 * gnu/java/awt/ComponentDataBlitOp.java,
3033 gnu/java/beans/ExplicitBeanInfo.java,
3034 gnu/java/beans/IntrospectionIncubator.java,
3035 gnu/java/beans/editors/ColorEditor.java,
3036 gnu/java/beans/editors/FontEditor.java,
3037 gnu/java/beans/editors/NativeBooleanEditor.java,
3038 gnu/java/beans/editors/NativeByteEditor.java,
3039 gnu/java/beans/editors/NativeDoubleEditor.java,
3040 gnu/java/beans/editors/NativeFloatEditor.java,
3041 gnu/java/beans/editors/NativeIntEditor.java,
3042 gnu/java/beans/editors/NativeLongEditor.java,
3043 gnu/java/beans/editors/NativeShortEditor.java,
3044 gnu/java/beans/editors/StringEditor.java,
3045 gnu/java/io/ClassLoaderObjectInputStream.java,
3046 gnu/java/io/decode/Decoder.java,
3047 gnu/java/io/encode/Encoder.java,
3048 gnu/java/lang/ClassHelper.java,
3049 gnu/java/locale/Calendar.java,
3050 gnu/java/locale/Calendar_de.java,
3051 gnu/java/locale/Calendar_en.java,
3052 gnu/java/locale/Calendar_nl.java,
3053 gnu/java/locale/LocaleInformation_de.java,
3054 gnu/java/locale/LocaleInformation_en.java,
3055 gnu/java/locale/LocaleInformation_nl.java:
3058 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3060 * README: Remove obsolete info. Update bug URL.
3062 * NEWS: Updated with news up to GCC 3.4 release.
3064 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3066 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3067 Renamed from 'setName'. New 2-argument form with default value.
3068 (run): Pass default 'value' parameter to System.getProperty().
3069 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3071 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3074 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3076 * configure.in: Check for minimum GTK version 2.4 requirement.
3077 * configure: Rebuilt.
3079 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3081 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3082 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3084 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3086 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3087 address. Reduce sleep times. Synchronize with target threads before
3088 attempting to interrupt them. Don't try to calibrate yeild count,
3089 instead, always loop for a fixed time.
3090 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3091 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3092 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3093 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3094 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3095 * testsuite/libjava.lang/pr179.java: Likewise.
3096 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3097 time. Remove upper bounds check on sleep time.
3099 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3101 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3102 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3104 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3106 * java/io/File.java (toURI): Throw RuntimeException, not
3108 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3109 class name, not instance.
3111 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3113 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3114 and gnu/java/security/action/SetAccessibleAction.java.
3115 * Makefile.in: Rebuilt.
3117 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3119 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3120 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3122 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3123 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3124 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3126 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3128 * Makefile.am: Replace jar, rmic and rmiregistry references with
3129 gjar, grmic and grmiregistry.
3130 * configure.in: Likewise.
3131 * Makefile.in: Regenerate.
3132 * configure: Likewise.
3133 * gcj/Makefile.in: Likewise.
3134 * include/Makefile.in: Likewise.
3135 * testsuite/Makefile.in: Likewise.
3137 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3139 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3140 for privileged getProperty calls.
3141 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3142 SetAccessibleAction instead of anonymous class for doPrivileged call.
3143 (getMethod): Likewise.
3144 (setAccessible): New field. PrivilegedAction object to use when
3145 calling setAccessible.
3146 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3147 SetAccessibleAction instead of anonymous class for diPrivileged call.
3148 (setFields): Likewise.
3149 (getClassUID): Likewise.
3150 (findMethod): Likewise.
3151 * gnu/java/security/action/GetPropertyAction.java: New class.
3152 * gnu/java/security/action/SetAccessibleAction.java: New class.
3154 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3156 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3158 * testsuite/libjava.lang/Serialization.java: New test.
3159 * testsuite/libjava.lang/Serialization.out: New.
3161 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3163 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3164 missed in last commit.
3166 2004-07-23 Mark Wielaard <mark@klomp.org>
3168 * java/lang/System.java (static): Set http.agent system property when
3170 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3171 from system property inside AccessController.doPrivileged() call.
3172 (proxyPort): Made package private.
3173 (proxyInUse): Likewise.
3174 (proxyHost): Likewise.
3175 (userAgent): Likewise.
3177 2004-07-23 Mark Wielaard <mark@klomp.org>
3179 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3182 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3184 * Makefile.am (ordinary_java_source_files): Add
3185 DefaultContentHandlerFactory.java.
3186 * Makefile.in: Rebuilt.
3187 * java/net/URLConnection.java (defaultFactory): New field.
3189 (getContentHandler): Renamed from 'setContentHandler'. Try
3190 defaultFactory after user-set factory, if any. Search for content
3191 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3192 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3194 (getLastModified): Implemented.
3195 (getPermission): Create file permission here, instead of in
3197 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3199 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3201 (getLastModified): Implemented.
3202 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3203 Default implementation.
3204 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3205 Implement using GdkPixbufDecoder.
3207 2004-07-21 Michael Koch <konqueror@gmx.de>
3209 * javax/swing/JTextArea.java
3210 (setLineWrap): Fire property change event after new value is set.
3211 (setTabSize): Likewise.
3213 2004-07-21 Michael Koch <konqueror@gmx.de>
3215 * javax/swing/JTable.java
3216 (autoCreateColumnsFromModel): New field.
3217 (autoResizeMode): Likewise.
3218 (cellEditor): Likewise.
3219 (cellSelectionEnabled): Likewise.
3220 (columnModel): Likewise.
3221 (dataModel): Likewise.
3222 (defaultEditorsByColumnClass): Likewise.
3223 (defaultRenderersByColumnClass): Likewise.
3224 (editingColumn): Likewise.
3225 (editingRow): Likewise.
3226 (gridColor): Likewise.
3227 (preferredViewportSize): Likewise.
3228 (rowHeight): Likewise.
3229 (rowMargin): Likewise.
3230 (rowSelectionAllowed): Likewise.
3231 (selectionBackground): Likewise.
3232 (selectionForeground): Likewise.
3233 (selectionModel): Likewise.
3234 (showHorizontalLines): Likewise.
3235 (showVerticalLines): Likewise.
3236 (tableHeader): Likewise.
3237 (JTable): Implemented.
3238 (getColumnModel): Likewise.
3239 (getSelectedRow): Likewise.
3240 (getSelectionModel): Likewise.
3241 (setModel): Likewise.
3242 (setSelectionModel): Likewise.
3243 (createScrollPaneForTable): New method.
3244 (createDefaultDataModel): Likewise.
3245 (createDefaultListSelectionModel): Likewise.
3246 (getModel): Likewise.
3247 (getTableHeader): Likewise.
3248 (setTableHeader): Likewise.
3249 (getColumnSelectionAllowed): Likewise.
3250 (setColumnSelectionAllowed): Likewise.
3251 (getRowSelectionAllowed): Likewise.
3252 (setRowSelectionAllowed): Likewise.
3253 (getAutoResizeMode): Likewise.
3254 (setAutoResizeMode): Likewise.
3255 (getColumnCount): Likewise.
3256 (getRowCount): Likewise.
3257 (getCellRenderer): Likewise.
3258 * javax/swing/JTree.java
3259 (cellRenderer): New field.
3260 (editable): Likewise.
3261 (rootVisible): Likewise.
3262 (showsRootHandles): Likewise.
3263 (getModel): New method.
3264 (setModel): Likewise.
3265 (isEditable): Likewise.
3266 (setEditable): Likewise.
3267 (isRootVisbile): Likewise.
3268 (setRootVisible): Likewise.
3269 (getShowsRootHandles): Likewise.
3270 (setShowRootHandles): Likewise.
3271 (getCellRenderer): Likewise.
3272 (setCellRenderer): Likewise.
3274 2004-07-21 Michael Koch <konqueror@gmx.de>
3276 * javax/swing/JFormattedTextField.java
3277 (setDocument): Implemented.
3278 * javax/swing/JRootPane.java:
3280 * javax/swing/JTable.java
3281 (getDefaultRenderer): New method.
3282 * javax/swing/JTextField.java
3283 (setFont): Likewise.
3284 (getPreferredSize): Likewise.
3285 * javax/swing/JToggleButton.java
3286 (getAccessibleContext): Fix javadoc.
3287 * javax/swing/JTree.java:
3289 * javax/swing/JViewport.java:
3292 2004-07-21 David Jee <djee@redhat.com>
3294 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3295 Collect all native method declaration at the top.
3296 (create): Set the filename filter if necessary.
3297 (setDirectory): Call nativeSetDirectory().
3298 (setFilenameFilter): Implement.
3299 (filenameFilterCallback): New method.
3300 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3301 (create): Configure dialog to show hidden files.
3302 (filenameFilterCallback): New function.
3303 (nativeSetFilenameFilter): New function.
3304 (nativeSetDirectory): New function.
3306 2004-07-21 Kim Ho <kho@redhat.com>
3308 * javax/swing/plaf/basic/BasicSliderUI.java:
3310 (paintTrack): Fill the track before painting
3313 2004-07-21 Graydon Hoare <graydon@redhat.com>
3315 patch from Roman Kennke <roman@ontographics.com>
3316 * javax/swing/Spring.java: New file.
3317 * javax/swing/SpringLayout.java: New file.
3318 * Makefile.am: Add new files.
3319 * Makefile.in: Regenerate.
3321 2004-07-21 Graydon Hoare <graydon@redhat.com>
3323 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3324 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3325 * javax/swing/ScrollPaneLayout.java: Likewise.
3327 2004-07-21 Kim Ho <kho@redhat.com>
3329 * javax/swing/DefaultDesktopManager.java:
3330 (findMinimum): Removed.
3331 (resizeFrame): Trust the UI to pass valid
3333 * javax/swing/JOptionPane.java:
3334 Implemented showInternalXXXDialog methods.
3335 (startModal): New method.
3336 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3337 (BorderListener::mouseDragged): Verify that the new
3338 bounds are valid before passing them to the DesktopManager.
3339 (preferredLayoutSize): Delegate
3341 (minimumLayoutSize): Ditto.
3342 (getSize): New method.
3343 (GlassPaneDispatcher): Reimplemented by copying
3344 a stripped down LightweightDispatcher from Container.
3345 (getMinimumSize): Call minimumLayoutSize.
3346 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3348 (mousePressed): Add ability to properly close
3350 * javax/swing/plaf/basic/BasicToolBarUI.java:
3351 (DragWindow): Set owner for DragWindow.
3353 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3355 * java/awt/image/ShortLookupTable.java: New file.
3356 * java/awt/image/ByteLookupTable.java: New file.
3357 * Makefile.am: Added new files.
3358 * Makefile.in: Regenerated.
3360 2004-07-21 David Jee <djee@redhat.com>
3362 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3363 (create(GtkContainerPeer)): New native method.
3364 (create()): Call native create(), passing in the parent frame
3365 as the paramter. Natively set the current file and directory.
3366 (setFile): Construct an absolute filename before passing it to
3368 (nativeGetDirectory): New method.
3369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3370 (window_closed): Removed.
3371 (ok_clicked): Likewise.
3372 (cancel_clicked): Likewise.
3373 (handle_response): New method.
3374 (create): Use GtkFileChooserDialog.
3375 (connectSignals): Connect to handle_response.
3376 (nativeGetDirectory): New method.
3377 (nativeSetFile): Use GtkFileChooserDialog.
3379 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3381 * java/awt/image/LookupTable.java: New file.
3382 * Makefile.am: Added new file.
3383 * Makefile.in: Regenerated.
3385 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3387 * java/awt/image/Kernel.java: New file.
3388 * Makefile.am: Added new file.
3389 * Makefile.in: Regenerated.
3391 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3393 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3394 * javax/swing/JMenu.java: Likewise.
3395 * javax/swing/JMenuBar.java: Likewise.
3396 (MARGIN_CHANGED_PROPERTY): New property.
3397 (setMargin): Implemented.
3398 * javax/swing/JMenuItem.java: Fixed javadocs.
3399 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3400 (LABEL_CHANGED_PROPERTY): New property.
3401 (add): changed to use createActionComponent.
3402 (createActionComponent): Implemented.
3403 (setLabel): Fire PropertyChangeEvent if label property
3405 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3406 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3407 (ContainerHandler): Repaint if margin property has changed.
3408 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3409 (installUI): Call installComponents().
3410 (uninstallUI): Call uinstallComponents().
3411 * javax/swing/plaf/basic/BasicMenuUI.java:
3413 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3416 2004-07-21 Kim Ho <kho@redhat.com>
3418 * javax/swing/plaf/basic/BasicToolBarUI.java:
3419 (DragWindow): Use the right constructor.
3421 2004-07-21 Kim Ho <kho@redhat.com>
3423 * javax/swing/JToolBar.java:
3424 (layoutContainer): Use getComponents.
3425 * javax/swing/plaf/basic/BasicToolBarUI.java:
3426 (DragWindow): Don't use SwingUtilities'
3428 (ToolBarDialog): ditto.
3430 2004-07-21 Kim Ho <kho@redhat.com>
3432 * javax/swing/JRootPane.java:
3434 (layoutContainer): Set the glasspane's size to
3435 be the same as the content pane.
3436 (createGlassPane): Set opaque property to false.
3438 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3440 * java/awt/Component.java (requestFocus()): Don't handle Panels
3442 (requestFocus(boolean)): Likewise.
3443 (requestFocusInWindow(boolean)): Likewise.
3444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3445 Set GTK_CAN_FOCUS flag.
3447 2004-07-21 Kim Ho <kho@redhat.com>
3449 * Makefile.am: Added new file.
3450 * Makefile.in: Regenerated.
3451 * gcj/Makefile.in: Regenerated.
3452 * include/Makefile.in: Regenerated.
3453 * javax/swing/AbstractButton.java:
3454 Add rollOverEnabled property.
3455 (setRolloverEnabled): Use new property.
3456 (isRolloverEnabled): Use new property.
3457 * javax/swing/JTabbedPane.java:
3458 (setComponent): Remove useless JTabbedPane.this.
3459 * javax/swing/JToolBar.java: Finish implementation.
3460 * javax/swing/plaf/basic/BasicArrowButton.java:
3461 (paint): Moved border painting to a border.
3462 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3463 Change JToolBar look and feel defaults.
3464 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3465 (actionPerformed): Return Integer index instead of name.
3466 (addButtonComponents): Check to see if component is
3468 (createMessageArea): Don't use components that are not
3470 (getIconForType): Use temporary icons.
3471 * javax/swing/plaf/basic/BasicSliderUI.java:
3472 (mousePressed): Do not return if it's on thumb.
3473 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3474 (paintMinorTickForVertSlider): ditto.
3475 (paintMajorTickForHorizSlider): ditto.
3476 (paintMajorTickForVertSlider): ditto.
3477 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3478 Add a border around the SplitPaneDivider.
3479 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3481 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3482 New file. Implemented.
3483 * javax/swing/plaf/basic/BasicToolBarUI.java:
3485 * testsuite/Makefile.in: Regenerated.
3487 2004-07-21 Graydon Hoare <graydon@redhat.com>
3489 * javax/swing/Timer.java (run): Queue events each time cycle.
3491 2004-07-21 David Jee <djee@redhat.com>
3493 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3494 (imageComplete): Call image.imageComplete().
3495 * java/awt/image/MemoryImageSource.java:
3496 Reimplement consumers as a Vector instead of a Hashtable. This is
3497 because enumeration on a Hashtable is not thread-safe.
3498 (addConsumer): Adapt to Vector consumers.
3499 (isConsumer): Adapt to Vector consumers.
3500 (removeConsumer): Adapt to Vector consumers.
3501 (startProduction): Adapt to Vector consumers. Call imageComplete()
3502 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3503 (newPixels): Adapt to Vector consumers.
3504 (sendPicture): Set the color model of the image consumer.
3505 (newPixels(IIII)): Adapt to Vector consumers.
3506 (newPixels(IIIIB)): Adapt to Vector consumers.
3508 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3510 * java/awt/Component.java (deliverEvent): Implement.
3511 (postEvent): Implement.
3512 (handleEvent): Implement.
3513 (translateEvent): New method.
3514 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3515 * java/awt/Container.java (deliverEvent): Implement.
3516 * java/awt/Event.java (paramString): Fix formatting.
3517 * java/awt/Font.java (toString): Likewise.
3518 * java/awt/Window.java (postEvent): Implement.
3520 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3522 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3523 Set window's focus owner upon receiving a FOCUS_LOST event.
3524 * java/awt/Window.java (Window()): Refocus the previously
3525 focused component within the window when the window regains the
3527 (setFocusOwner): New method.
3528 * java/awt/Component.java (requestFocus): Add FIXME.
3530 * libgcj.pc.in: Remove library flags.
3532 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3534 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3535 MOUSE_PRESSED event.
3536 * java/awt/Component.java (requestFocus()): Handle Panel
3537 specially. Post FOCUS_LOST event on opposite component.
3538 (requestFocus(boolean)): Likewise.
3539 (requestFocusInWindow(boolean)): Likewise.
3540 (paramString): Reorder dimension fields.
3541 * java/awt/Container.java (paramString): Fix string format.
3542 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3543 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3544 process key events if the focus owner is non-null.
3545 (dispatchKeyEvent): Likewise.
3546 * java/awt/Frame.java (paramString): Fix formatting.
3547 (generateName): New method.
3548 (getUniqueLong): Likewise.
3549 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3550 the temporary focus owner is null. If so, return the permanent
3552 * java/awt/Panel.java (generateName): New method.
3553 (getUniqueLong): Likewise.
3554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3555 signal handling to make callbacks more specific.
3557 2004-07-21 Michael Koch <konqueror@gmx.de>
3559 * javax/swing/text/Position.java
3560 (Bias): Implemented.
3562 2004-07-21 Michael Koch <konqueror@gmx.de>
3564 * javax/swing/LookAndFeel.java
3565 (provideErrorFeedback): New method.
3567 2004-07-21 Michael Koch <konqueror@gmx.de>
3569 * javax/swing/JTextArea.java
3570 (tabSize): New field.
3571 (getTabSize): New method.
3572 (setTabSize): Likewise.
3574 2004-07-21 Michael Koch <konqueror@gmx.de>
3576 * javax/swing/ActionMap.java:
3577 Fixed javadocs all over.
3578 (serialVersionUID): Made private.
3579 (parent): Don't explicitely initialize with default value.
3581 (keys): Reimplemented.
3582 (allKeys): Likewise.
3583 (convertSet): Removed.
3584 * javax/swing/ComponentInputMap.java:
3585 Fixed javadocs all over.
3586 (ComponentInputMap): Implemented.
3590 (SetParent): Likewise.
3591 (getComponent): Likewise.
3592 * javax/swing/InputMap.java:
3593 Fixed javadocs all over.
3594 (serialVersionUID): Made private.
3595 (parent): Don't explicitely initialize with default value.
3597 (keys): Reimplemented.
3598 (allKeys): Likewise.
3599 (convertSet): Removed.
3601 2004-07-21 Michael Koch <konqueror@gmx.de>
3603 * javax/swing/ActionMap.java,
3604 javax/swing/ComponentInputMap.java,
3605 javax/swing/InputMap.java,
3606 javax/swing/table/DefaultTableColumnModel.java,
3607 javax/swing/table/TableColumn.java,
3608 javax/swing/table/TableColumnModel.java,
3609 javax/swing/table/TableModel.java,
3610 javax/swing/text/AbstractDocument.java,
3611 javax/swing/text/TextAction.java:
3614 2004-07-21 Graydon Hoare <graydon@redhat.com>
3616 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3617 Make method non-static.
3618 * javax/swing/AbstractButton.java:
3619 Rename fields to match property names where possible.
3620 (iconTextGap): New property.
3621 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3622 (init) New method, call from after various constructors.
3623 * javax/swing/JComponent.java (revalidate):
3624 Invalidate before queueing repair.
3625 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3626 Reimplement in terms of visibleRowCount property.
3627 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3628 * javax/swing/JScrollPane.java (createScrollListener):
3629 Remove tracing chatter.
3630 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3631 * javax/swing/RepaintManager.java (addInvalidComponent):
3633 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3635 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3636 Mimic sun behavior on top left/right positioning.
3637 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3638 Remove mistaken use of preferredScrollableViewportSize here.
3639 (layoutContainer): Use view's preferred size as basis.
3640 * javax/swing/plaf/basic/BasicButtonUI.java:
3641 Set, get, and use textIconGap property.
3642 (paint) Paint text returned from layout (with ellipsis).
3643 * javax/swing/plaf/basic/BasicListUI.java:
3644 Remove tracing chatter, correct various minor calculations.
3645 (getCellBounds): Update layout state before calculating.
3646 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3647 Use margin default similar to sun's.
3648 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3649 (createIncreaseIcon): Center icon, minimize margins.
3650 (createDecreaseIcon): Likewise.
3651 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3653 (installUI): Call it.
3654 (uninstallDefaults): Implement.
3655 (uninstallUI): Call it.
3656 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3657 Call existing Window constructor.
3658 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3659 Set clip before painting.
3661 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3663 * javax/swing/JMenuItem.java:
3664 (processMouseEvent): Reimplemented to deal with
3666 (createMenuDragMouseEvent): New private helper method.
3667 Creates MenuDragMouseEvent.
3668 * javax/swing/MenuSelectionManager.java
3669 (componentForPoint): Implemented.
3670 (isComponentPartOfCurrentMenu): Made public.
3671 (processMouseEvent): Reimplemented to deal with
3673 (setSelectedPath): Corrected small mistake that caused
3674 path to be set incorrectly.
3675 (getPath): If given component is JMenu then also add this
3676 menu's popup menu to the selected path.
3677 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3679 (getPreferredSize): Call getPreferredMenuItemSize().
3680 (getPreferredItemSize): Moved code from getPreferredSize to here.
3681 (installListeners): Install MouseMotionListeners.
3682 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3683 if mouse wasn't released in the bounds of this menu item.
3684 (MenuDragMouseHandler): Implemented.
3685 * javax/swing/plaf/basic/BasicMenuUI.java:
3686 (installListeners): Install MouseMotionListener and
3687 MenuDrageMouseListener.
3688 (MenuDragMouseHandler): Implemented.
3689 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3690 (uninstallListeners): Implemented.
3692 2004-07-21 Michael Koch <konqueror@gmx.de>
3694 * javax/swing/JCheckBox.java: Reformated.
3695 (JCheckBox): Fixed all constructors.
3696 (isBorderPaintedFlat): New method.
3697 (setBorderPaintedFlat): New method.
3698 * javax/swing/JEditorPane.java
3699 (createEditorKitForContentType): Made public.
3700 (scrollToReference): Likewise.
3701 * javax/swing/JTextArea.java
3702 (setLineWrap): Fire property change.
3703 * javax/swing/JToggleButton.java
3704 (JToggleButton): New constructor.
3705 (JToggleButton): Simplified.
3706 * javax/swing/text/AttributeSet.java
3707 (FontAttribute): Renamed from FontCharacterAttribute.
3708 * javax/swing/text/JTextComponent.java
3709 (KeyBinBinding): Added javadoc.
3710 (JTextComponent): Likewise.
3711 (getAccessibleContext): Fixed javadoc.
3712 * javax/swing/text/View.java
3713 (View): Added javadoc.
3714 * javax/swing/text/TabableView.java: New file.
3715 * Makefile.am: Added javax/swing/text/TabableView.java.
3716 * Makefile.in: Regenerated.
3718 2004-07-21 Graydon Hoare <graydon@redhat.com>
3720 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3721 * gnu/java/awt/peer/gtk/GtkToolkit.java
3722 (GtkErrorImage): New helper class.
3723 (bufferedImageOrError): New helper method.
3724 (createImage): Use it.
3726 2004-07-21 David Jee <djee@redhat.com>
3728 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3729 (setCaretPosition): Scroll the text view so the new caret position
3730 is visible on screen.
3732 2004-07-21 David Jee <djee@redhat.com>
3734 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3735 (setBounds): Do not validate awtComponent here.
3736 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3737 (getPreferredSize): New method.
3738 * java/awt/ScrollPane.java
3739 (ScrollPane): Set default size to 100x100.
3740 (addNotify): If child is not a Panel, wrap it with a new Panel.
3741 (paramString): Implement.
3743 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3745 * javax/swing/JMenu.java:
3746 (setSelected): Display popup menu only if this menu
3747 is showing on the screen.
3748 * javax/swing/JPopupMenu.java:
3749 (processMouseEvent): Added comment.
3750 (processKeyEvent): Likewise.
3751 * javax/swing/MenuSelectionManager.java:
3752 (clearSelectedPath): Only fireStateChanged() after
3753 selected path was changed, not before.
3754 (setSelectedPath): Likewise.
3755 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3756 (paintMenuItem): Corrected position of menu item's
3758 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3759 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3760 (popupMenuCanceled): Reimplemented.
3761 (popupMenuWillBecomeVisible): Select first menu item by default
3762 when displaying free floating popup menus.
3763 (TopWindowListener): Reimplemented.
3765 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3767 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3768 Panel from being painted twice when it is first shown.
3770 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3772 * java/awt/Window.java: Reverted changes from my
3773 previous patch for creating window without an owner.
3774 * javax/swing/SwingUtilities.java:
3775 (SwingUtilities.OwnerFrame): made static.
3776 (OwnerFrame.setVisible): New method. Overridden with
3777 empty implementation.
3778 (OwnerFrame.isShowing): New method. Ovverridden
3779 to return always true.
3781 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3783 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3784 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3785 (GtkComponentPeer): Remove temporary try/catch block.
3786 (setVisible): Call show and hide.
3787 (show): Make native.
3789 (getArgs): Don't add "visible" argument.
3790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3791 (property_notify_predicate): Return Bool instead of int.
3792 (find_layout): New function.
3793 (connectJObject): Call find_layout.
3794 (connectSignals): Likewise.
3795 (moveLayout): Likewise.
3796 (gtkLayoutSetVisible): Likewise.
3798 2004-07-21 Mark Wielaard <mark@klomp.org>
3800 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3801 on notifier object before calling notifyAll().
3803 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3805 * java/awt/Window.java: Changed constructors to use new
3806 method that is described below. Constructors call this
3807 methods only if newly created window should have an owner.
3808 (setWindowOwner): New method. Implementation for
3809 this method is moved from this(owner,configuration).
3810 * javax/swing/JWindow.java:
3811 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3813 * javax/swing/SwingUtilities.java:
3814 (ownerFrame): Change type of this field to OwnerFrame.
3815 (getOwnerFrame): Changed to return object of type OwnerFrame.
3816 (SwingUtilities.OwnerFrame): New class. Represents owner
3817 of a Window that is not provided with one.
3819 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3821 * javax/swing/AbstractButton.java:
3822 (configurePropertiesFromAction): Set action command
3823 to button's text by default if action command is not
3824 explicitely specified.
3825 * javax/swing/JMenu.java: Remove unnecessary listener
3826 and methods relevant to it.
3827 (setSelected): Reimplemented.
3828 (menuSelectionChanged): Moved most part of implementation to
3829 setSelected() and call it instead.
3830 * javax/swing/JMenuItem.java:
3831 (init): Comment out statement that sets paint_border to false.
3832 (configurePropertiesFromAction): Do not set accelerator
3834 (menuSelectionChanged): Change selected index in the selection
3835 model of menu item's parent.
3836 * javax/swing/JPopupMenu.java:
3837 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3838 instead of GridBagConstraints.HORIZONTAL.
3840 (createActionChangeListener): Implemented.
3841 (setVisible): Correct location of HeavyWeightMenu and
3842 don't firePopupMenuCanceled().
3843 (menuSelectionChanged): Implemented.
3844 (ActionChangeListener): New Listener. Implemented.
3845 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3846 (BasicMenuBarUI.ContainerHandler): Implemented.
3847 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3848 (paintMenuItem): Uncommented out code that paints
3849 icon, now that icons are working properly.
3850 (PropertyChangeListener): Implemented.
3851 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3853 (topWindowListener): New field.
3854 (Constructor): initialize topWindowListener.
3855 (BasicPopupMenuUI.TopWindowListener): Implemented.
3856 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3857 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3860 2004-07-21 Michael Koch <konqueror@gmx.de>
3862 * javax/swing/plaf/basic/BasicButtonUI.java
3863 (paintFocus): Fixed method signature.
3864 (paintButtonPressed): Likewise.
3865 (paintButtonNormal): Likewise.
3866 (paintText): New method.
3867 * javax/swing/plaf/basic/BasicLabelUI.java
3868 (paint): Re-indented.
3869 * javax/swing/plaf/basic/BasicTextUI.java
3870 (installUI): Set parent textComponent to opaque.
3871 * javax/swing/text/DefaultHighlighter.java
3872 (checkPositions): New helper method.
3873 (addHighlight): Throws BadLocationException, check positions.
3874 (changeHighlight): Likewise.
3875 * javax/swing/text/EditorKit.java
3876 (EditorKit): Implements Serializable.
3877 * javax/swing/text/JTextComponent.java
3878 (getUI): Added javadoc.
3880 (upadteUI): Added javadoc, don't revalidate and repaint.
3882 2004-07-21 David Jee <djee@redhat.com>
3884 * java/awt/GridBagLayout.java
3885 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3886 * javax/swing/AbstractButton.java
3887 (setText): Reindent.
3888 * javax/swing/RepaintManager.java
3889 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3891 2004-07-21 Michael Koch <konqueror@gmx.de>
3893 * javax/swing/JFormattedTextField.java
3895 (JFormattedTextField): Implemented.
3896 (getValue): Likewise.
3897 (setValue): Likewise.
3898 * javax/swing/LookAndFeel.java
3899 (getSupportsWindowDecorations): New method.
3900 * javax/swing/UIDefaults.java:
3901 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3902 (addPropertyChangeListener): Made public.
3903 (addResourceBundle): Likewise.
3904 (removeResourceBundle): Likewise.
3905 (setDefaultLocale): Likewise.
3906 * javax/swing/plaf/basic/BasicRootPaneUI.java
3907 (BasicRootPaneUI): Implements PropertyChangeListener.
3908 (propertyChange): New method.
3909 * javax/swing/plaf/basic/BasicTextUI.java
3910 (BasicHighlighter): New inner class.
3911 (createHighlighter): New method.
3912 * javax/swing/plaf/basic/BasicToolBarUI.java
3913 (DragWindow): Extends java.awt.Window.
3914 * javax/swing/text/JTextComponent.java
3915 (getDocument): Removed debug output.
3916 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3917 javax/swing/text/DefaultHighlighter.java,
3918 javax/swing/text/FieldView.java,
3919 javax/swing/text/PlainView.java: New files.
3920 * Makefile.am: Added new files.
3921 * Makefile.in: Regenerated.
3923 2004-07-21 Michael Koch <konqueror@gmx.de>
3925 * javax/swing/JEditorPane.java
3926 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3927 (createEditorKitForContentType): Likewise.
3928 * javax/swing/text/DefaultEditorKit.java
3929 (serialVersionUID): Added constant field.
3930 (EndOfLineStringPropery): Fixed typo.
3931 (DefaultEditorKit): New constructor.
3932 * javax/swing/text/Segment.java:
3933 Import java.text.CharacterIterator.
3934 * javax/swing/text/CharacterIterator.java,
3935 javax/swing/text/PlainEditorKit.java: Removed.
3936 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3937 javax/swing/text/PlainEditorKit.java.
3938 * Makefile.in: Regenerated.
3940 2004-07-21 Michael Koch <konqueror@gmx.de>
3942 * javax/swing/JButton.java,
3943 javax/swing/text/DefaultEditorKit.java,
3944 javax/swing/text/EditorKit.java,
3945 javax/swing/text/Segment.java,
3946 javax/swing/text/StyledEditorKit.java:
3949 2004-07-21 Michael Koch <konqueror@gmx.de>
3951 * javax/swing/ImageIcon.java
3953 (description): Renamed from descr.
3954 (ImageIcon): Added missing constructors.
3955 (setParent): Removed.
3956 (setImageObserver): New method.
3957 (getImageObserver): New method.
3958 (paintIcon): Handle observer = null.
3959 * javax/swing/JButton.java
3960 (removeNotify): Fixed javadoc.
3961 (updateUI): Simplified.
3962 * javax/swing/JRootPane.java
3963 (serialVersionUID): New constant field.
3964 * javax/swing/UIManager.java:
3965 Fixed javadocs all over.
3966 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3967 * javax/swing/text/AbstractDocument.java
3968 (createPosition): Throws BadLocationException.
3969 (getText): Likewise.
3971 * javax/swing/text/ComponentView.java
3972 (modelToView): Likewise.
3973 * javax/swing/text/DefaultEditorKit.java:
3974 Made all public methods public.
3975 (read): Throws BadLocationException and IOException.
3977 * javax/swing/text/EditorKit.java:
3978 Made all public methods public.
3979 (serialVersionUID): New constant field.
3980 (clone): New method.
3981 (read): Throws BadLocationException and IOException.
3983 * javax/swing/text/Segment.java
3984 (array): Made public.
3987 (Segment): New constructors.
3988 (clone): Reimplemented.
3989 * javax/swing/text/StyledEditorKit.java
3990 (serialVersionUID): New constant field.
3992 2004-07-21 Graydon Hoare <graydon@redhat.com>
3994 * java/awt/image/BufferedImage.java
3995 (getSource): Implement.
3996 * javax/swing/ImageIcon.java
3997 (ImageIcon): Implement ctor.
3998 * javax/swing/ScrollPaneLayout.java
3999 (preferredLayoutSize): Be more careful about nulls.
4001 2004-07-21 Michael Koch <konqueror@gmx.de>
4003 * javax/swing/text/AttributeSet.java
4004 (CharacterAttribute): New interface
4005 (ColorAttribute): Likewise.
4006 (FontCharacterAttribute): Likewise.
4007 (ParagraphAttribute): Likewise.
4008 * javax/swing/text/DefaultCaret.java
4009 (moveCaret): New method.
4010 (positionCaret): Likewise.
4011 (repaint): Made protected.
4012 * javax/swing/text/JTextComponent.java
4013 (KeyBinding): Made it static.
4014 * javax/swing/text/View.java
4015 (getContainer): Honor parent == null.
4017 2004-07-21 Michael Koch <konqueror@gmx.de>
4019 * javax/swing/text/AbstractDocument.java:
4022 2004-07-21 Michael Koch <konqueror@gmx.de>
4024 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4025 Import javax.swing.UIManager explicitely.
4026 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4027 (ScrollingButton): Made it static.
4029 2004-07-21 Michael Koch <konqueror@gmx.de>
4031 * javax/swing/UIDefaults.java
4032 (ActiveValue): Made public.
4033 (LazyValue): Likewise.
4034 * javax/swing/plaf/basic/BasicTextUI.java
4035 (RootView): Reintroduced.
4037 (rootView): New field.
4038 (installUI): Create document if needed, initialize rootView.
4039 (uninstallUI): Hanle rootView.
4041 (getRootView): Likewise.
4042 (setView): Likewise.
4043 * javax/swing/text/DefaultCaret.java:
4044 Renamed all "evt" variables to "event".
4046 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4048 * libgcj.spec.in: Add -l-java-util-logging.
4050 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4053 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4054 gtk-xft-dpi can no calculate the right value.
4055 (dpi_changed_cb): Mark *pspec as unsused.
4057 2004-07-21 David Jee <djee@redhat.com>
4059 * java/awt/Component.java
4060 (move): Delegate to setBounds().
4062 (reshape): Fix so it repaints parent and self only when necessary.
4064 2004-07-21 David Jee <djee@redhat.com>
4066 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4067 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4068 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4069 (setVisible): Likewise.
4072 (getArgs): Likewise.
4073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4074 (property_notify_predicate): Likewise.
4075 (find_layout): Likewise.
4076 (connectJObject): Likewise.
4077 (connectSignals): Likewise.
4078 (moveLayout): Likewise.
4079 (gtkLayoutSetVisible): Likewise.
4081 2004-07-21 Graydon Hoare <graydon@redhat.com>
4087 (rmiregistry_LDADD): Add lib-java-util-logging.la
4088 * Makefile.in: Regenerate.
4090 2004-07-21 Michael Koch <konqueror@gmx.de>
4092 * javax/swing/text/AbstractDocument.java
4093 (replace): Dont use protected method of java.util.Vector directly.
4095 2004-07-21 Michael Koch <konqueror@gmx.de>
4097 * javax/swing/plaf/basic/BasicTextUI.java
4098 (installUI): Call specialized install methods.
4099 (installDefaults): New method.
4100 (installListeners): Likewise.
4101 (installKeyboardActions): Likewise.
4102 (uninstallUI): Likewise.
4103 (uninstallDefaults): New method.
4104 (uninstallListeners): Likewise.
4105 (uninstallKeyboardActions): Likewise.
4106 (getPropertyPrefix): New abstract method.
4107 (paint): Made final, just call paintSafely().
4108 (paintSavely): New method.
4109 (paintBackground): Likewise.
4110 (getVisibleEditorRect): Likewise.
4111 * javax/swing/text/LayeredHighlighter.java,
4112 javax/swing/text/TabExpander.java: New files.
4113 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4114 and javax/swing/text/TabExpander.java.
4115 * Makefile.in: Regenerated.
4117 2004-07-21 Michael Koch <konqueror@gmx.de>
4119 * javax/swing/plaf/basic/BasicTextUI.java
4120 (BasicTextUI): Made abstract.
4121 (BasicCaret): New inner class.
4122 (view): Don't explicitely initialize with "null".
4123 (textComponent): New field.
4124 (textColor): Removed.
4125 (disabledTextColor): Removed.
4126 (normalBackgroundColor): Removed.
4127 (RootView): Removed commented out inner class.
4128 (createUI): Removed.
4129 (createCaret): New method.
4130 (getComponent): Likewise.
4131 (installUI): Initialize textComponent only.
4132 (getPreferredSize): Use installed JTextComponent.
4133 (setView): New method.
4135 * javax/swing/text/JTextComponent.java
4136 (highlighter): New field.
4137 (caretColor): Likewise.
4138 (disabledTextColor): Likewise.
4139 (seletedTextColor): Likewise.
4140 (selectionColor): Likewise.
4141 (setUI): New method.
4142 (getCaretColor): Likewise.
4143 (setCaretColor): Likewise.
4144 (getDisabledColor): Likewise.
4145 (setDisabledColor): Likewise.
4146 (getSelectedTextColor): Likewise.
4147 (setSelectedTextColor): Likewise.
4148 (getSelectionColor): Likewise.
4149 (setSelectionColor): Likewise.
4150 (getHighlighter): Likewise.
4151 (setHighlighter): Likewise.
4152 (replaceSelection): Likewise.
4154 2004-07-21 Michael Koch <konqueror@gmx.de>
4156 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4157 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4158 * javax/swing/plaf/basic/BasicToolBarUI.java
4159 (BasicToolBarUI): Implements SwingConstants.
4161 2004-07-21 Michael Koch <konqueror@gmx.de>
4163 * javax/swing/JPopupMenu.java: Removed CVS tags.
4164 * javax/swing/UIDefaults.java: Reformatted.
4165 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4166 Explicitely import used classes.
4168 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4170 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4171 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4172 (GtkComponentPeer): Remove temporary try/catch block.
4173 (setVisible): Call show and hide.
4174 (show): Make native.
4176 (getArgs): Don't add "visible" argument.
4177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4178 (property_notify_predicate): Return Bool instead of int.
4179 (find_layout): New function.
4180 (connectJObject): Call find_layout.
4181 (connectSignals): Likewise.
4182 (moveLayout): Likewise.
4183 (gtkLayoutSetVisible): Likewise.
4185 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4187 * javax/swing/AbstractButton.java:
4188 (setDisplayedMnemonicIndex): Check if button
4189 text is not null before checking its length.
4190 * javax/swing/JMenuItem.java:
4191 (processMouseEvent): Disarm menu item if mouse has
4193 * javax/swing/plaf/basic/BasicMenuUI.java:
4194 (MouseInputHandler.mouseEntered): Do not raise
4195 popup menu if this menu is already selected.
4196 (MouseInputHandler.mousePressed): Do not fire
4198 (MenuHandler): Implemented.
4200 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4202 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4203 (getSelectedObjects): Implemented.
4204 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4205 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4206 Added javadoc for few methods.
4207 (processMouseEvent): Made public.
4208 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4209 (processMouseEvent): Likewise.
4211 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4213 * javax/swing/AbstractButton.java:
4214 (init): Set display mnemonic index to -1.
4215 (setMnemonic(char)): Use setMnemonic(int).
4216 (setMnemonic(int)): Set display mnemonic index.
4217 (getDisplayedMnemonicIndex): Change method signature
4218 by removing 'index' parameter.
4219 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4220 Added default for Menu.selectionBackground.
4221 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4222 (paintMenuItem): Change background color of the selected
4224 (paintText): Paint differently when menu item is disabled.
4225 Also paint mnemonic if it appears in the menu item's label.
4226 (paintAccelerator): Paint accelerator differently
4227 if menu item is disabled.
4228 * javax/swing/plaf/basic/BasicMenuUI.java:
4229 (installDefaults): Install defaults for
4230 selectionForeground and selectionBackground.
4231 (uninstallDefaults): Uninstall defauls for
4232 selectionForeground and selectionBackground.
4234 2004-07-21 Michael Koch <konqueror@gmx.de>
4236 * javax/swing/text/AbstractDocument.java
4237 (BranchElement): Implemented.
4238 (LeafElement): Implemented.
4239 * javax/swing/text/DefaultCaret.java:
4240 Import used classes.
4241 (serialVersionUID): New constant.
4242 * javax/swing/text/JTextComponent.java
4243 (AccessibleJTextComponent): Removed dead declaration.
4244 (caretPos): Removed.
4245 (setCaret): New method.
4246 * javax/swing/text/PlainDocument.java
4247 (rootElement): New field.
4248 (PlainDocument): Initialize rootElement.
4249 (createDefaultRoot): New method.
4250 (getDefaultRootElement): Implemented.
4251 * javax/swing/text/View.java: Reformatted.
4252 * javax/swing/text/ViewFactory.java
4253 (create): Added javadoc.
4255 2004-07-21 Michael Koch <konqueror@gmx.de>
4257 * javax/swing/ToolTipManager.java: Reformatted.
4259 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4261 * javax/swing/AbstractButton.java
4262 (changeEvent): New field.
4263 (fireItemStateChanged): Change source of the event
4264 to 'this' before firing it to button listeners.
4265 (fireActionPerformed): Likewise.
4266 (fireStateChanged): Likewise.
4267 (createActionListener): Do not set source
4268 of the event to AbstractButton.
4269 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4270 (ContainerHandler.componentAdded): Removed
4271 print out statement.
4272 (ContainerHandler.componentRemoved): Likewise.
4274 2004-07-21 Michael Koch <konqueror@gmx.de>
4276 * javax/swing/text/Highlighter.java: New file.
4277 * Makefile.am: Added javax/swing/text/Highlighter.java.
4278 * Makefile.in: Regenerated.
4280 2004-07-21 Michael Koch <konqueror@gmx.de>
4282 * javax/swing/ToolTipManager.java
4283 (stillInsideTimerAction): Fixed constructor arguments.
4284 (outsideTimerAction): Likewise.
4285 (insideTimerAction): Likewise.
4287 2004-07-21 Michael Koch <konqueror@gmx.de>
4289 * javax/swing/JButton.java: Reformatted.
4290 * javax/swing/JFormattedTextField.java
4291 (getUIClassID): Implemented.
4292 * javax/swing/JRootPane.java
4293 (serialVersionUID): New constant.
4294 * javax/swing/JTextField.java
4296 (JTextField): Simplified.
4297 (getUIClassID): New method.
4298 (getActionListeners): Added @since tag.
4299 (setColumns): Invalidate layout and repaint.
4300 (getHorizontalAlignment): New method.
4301 (setHorizontalAlignment): New method.
4302 (selectAll): Removed.
4303 * javax/swing/SwingUtilities.java
4304 (getAncestorOfClass): Removed redundant @see tag.
4305 (isLeftMouseButton): Fixed implementation.
4306 (isMiddleMouseButton): Likewise.
4307 (isRightMouseButton): Likewise.
4308 * javax/swing/text/AbstractDocument.java
4309 (AttributeContext.addAttribute): New method.
4310 (AttributeContext.addAttributes): New method.
4311 (AttributeContext.getEmptySet): New method.
4312 (AttributeContext.reclaim): New method.
4313 (AttributeContext.removeAttribute): New method.
4314 (AttributeContext.removeAttributes): New method.
4315 * javax/swing/text/Document.java
4316 (createPosition): Throws BadLocationException.
4317 (getText): Likewise.
4319 * javax/swing/text/JTextComponent.java
4320 (getText): Return null if no document is set. Catch
4321 BadLocationException.
4323 (updateUI): Simplified.
4325 2004-07-21 Michael Koch <konqueror@gmx.de>
4327 * javax/swing/JButton.java
4328 (removeNotify): Fixed javadoc.
4329 (updateUI): Simplified.
4331 2004-07-21 David Jee <djee@redhat.com>
4333 * gnu/java/awt/image/ImageDecoder.java
4334 (startProduction): Only add consumer if it's not added yet.
4335 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4336 (GdkPixbufDecoder): Don't call initState() here.
4337 (produce): Call initState() here, to ensure area_prepared and
4338 area_updated signals are properly connected.
4339 * gnu/java/awt/peer/gtk/GtkImage.java
4340 (setColorModel): Use equals() to compare ColorModel objects.
4341 (setPixels): Likewise.
4342 * java/awt/image/ColorModel.java
4343 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4344 * java/awt/image/RGBImageFilter.java
4345 (setColorModel): Set consumer's color model.
4346 (setPixels): Use equals() to compare ColorModel objects.
4348 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4350 * java/net/URLConnection.java (position): New field.
4351 (dateFormat1, dateFormat2, dateFormat3): Removed.
4352 (dateFormats): New field.
4353 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4354 each time instead of re-allocating.
4355 (initializeDateFormats): Initialize 'dateFormats'.
4357 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4360 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4363 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4365 * java/net/Socket.java (getImpl): Now private. Remove comment.
4367 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4369 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4370 of chained Writer when calling super-constructor.
4371 * java/io/FilterWriter.java (FilterWriter): Likewise.
4372 * java/io/PrintWriter.java (PrintWriter): Likewise.
4374 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4376 * prims.cc (process_gcj_properties): Don't increment i within LHS
4379 2004-07-19 Per Bothner <per@bothner.com>
4381 Print -verbose:message on "loading", not initialization.
4382 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4383 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4384 gcj::verbose_class_flag.
4385 * java/lang/natClass.cc (initializeClass): Don't print message here.
4386 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4387 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4388 (_Jv_PrepareCompiledClass): Likewise.
4390 2004-07-18 Matthias Klose <doko@debian.org>
4392 * configure.in: Substitute target_noncanonical.
4393 * configure: Regenerate
4395 2004-07-17 Michael Koch <konqueror@gmx.de>
4397 * java/lang/String.java: Fixed javadocs all over.
4399 2004-07-17 Mark Wielaard <mark@klomp.org>
4401 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4402 when size is smaller.
4403 * java/io/RandomAccessFile.java (setLength): Use truncate for
4404 shrinking the file and seek plus write for expanding the file.
4406 2004-07-17 Michael Koch <konqueror@gmx.de>
4408 * gnu/java/nio/channels/natFileChannelPosix.cc
4409 (implTruncate): Always save current position. Only reposition file
4410 pointer to where we started if not beyond new lenght. Reposition file
4411 pointer to file length if it points beyond the end of file.
4413 2004-07-17 Mark Wielaard <mark@klomp.org>
4415 * javax/swing/Box.java: Put FIXME comment above class declaration.
4416 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4417 * javax/swing/JCheckBox.java: Likewise.
4418 * javax/swing/JDialog.java: Likewise.
4419 * javax/swing/JRadioButton.java: Likewise.
4420 * javax/swing/JToggleButton.java: Likewise.
4421 * javax/swing/UIManager.java: Likewise.
4422 * javax/swing/border/TitledBorder.java: Likewise.
4423 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4424 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4425 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4426 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4427 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4428 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4429 * javax/swing/text/JTextComponent.java: Likewise.
4431 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4433 * java/net/DatagramPacket.java (setAddress): Removed check for
4436 2004-07-17 Michael Koch <konqueror@gmx.de>
4438 * java/net/DatagramSocket.java
4439 (getLocalAddress): Check if socket is bound or not.
4440 * java/net/Socket.java
4441 (getLocalAddrss): Check if socket is bound or not.
4442 (getPort): Return -1 when not connected. Dont check getImpl() for
4444 (setReuseAddress): Check if socket is closed.
4445 (isConnected): Check if getImpl() returns null.
4447 2004-07-17 Mark Wielaard <mark@klomp.org>
4449 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4450 on notifier object before calling notifyAll().
4452 2004-07-17 Michael Koch <konqueror@gmx.de>
4454 * gnu/java/nio/channels/FileChannelImpl.java
4455 (finalize): Added javadoc.
4457 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4459 * java/text/CollationElementIterator.java
4460 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4461 (setText): Use ArrayList instead of Vector.
4463 2004-07-17 Michael Koch <konqueror@gmx.de>
4465 * java/nio/ByteOrder.java
4466 (static): Removed. Not needed.
4467 Thanks to Patrick Reali for noticing.
4468 * java/nio/charset/CharsetDecoder.java
4469 (decode): Fix for classpath bug #9177: Reset state before flipping.
4471 2004-07-17 Michael Koch <konqueror@gmx.de>
4473 * java/security/Security.java: Fixed javadocs all over.
4475 2004-07-17 Michael Koch <konqueror@gmx.de>
4477 * gnu/java/awt/EmbeddedWindow.java
4479 (addNotify): Set peer via reflection.
4480 (setWindowPeer): Removed.
4481 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4482 * Makefile.am (nat_source_files):
4483 Removed gnu/java/awt/natEmbeddedWindow.cc.
4484 * Makefile.in: Regenerated.
4486 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4488 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4490 * configure: Regenerated.
4492 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4494 * configure.in: Use build_noncanonical rather than build_alias.
4495 * configure: Rebuild.
4497 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4498 by logic refactoring. Move default definition of NATIVE closer
4499 to first alternate definition.
4500 * configure: Regenerate.
4502 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4503 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4504 gcj/Makefile.in: Regenerate.
4505 * configure.in: Set ZIP and GCJH. Remove redundant condition
4506 in AM_CONDITIONAL(NATIVE,...)
4507 * configure: Regenerate.
4509 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4511 * configure.in: Use target_noncanonical rather than
4512 target_alias for forward-compatibility with autoconf 2.59.
4513 * configure: Regenerate.
4514 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4515 testsuite/Makefile.am: Substitute target_noncanonical.
4516 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4517 testsuite/Makefile.in: Regenerate.
4519 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4520 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4521 * acinclude.m4: Include acx.m4.
4522 * aclocal.m4: Regenerate.
4523 * configure: Regenerate.
4525 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4528 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4529 (decimalFormat): New static variable.
4531 (getTime): New. Override Date.getTime().
4532 (toString): Synchronize. Use decimalFormat to format nanos value
4533 correctly. Truncate extra zeros.
4534 (before): Compare getNanos() only if getTime() is equal.
4537 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4539 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4540 * configure.in: ...here.
4541 * aclocal.m4: Regenerate.
4542 * configure: Regenerate.
4544 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4545 * configure: Rebuilt with autoconf 2.13.
4546 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4547 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4549 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4552 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4554 * Makefile.in: Rebuilt.
4555 * testsuite/libjava.lang/LargeFile.java: New test case.
4556 * testsuite/libjava.lang/LargeFile.out: New file.
4558 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4560 * java/beans/EventHandler.java: Remove debugging statements.
4562 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4564 * java/beans/EventHandler.java: New file.
4565 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4566 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4567 testsuite/Makefile.in: Regenerate.
4569 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4571 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4572 flag to the gcj_setup.
4573 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4575 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4576 deprecation flag change. 58 XFAILS removed.
4578 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4580 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4581 -fno-use-divide-subroutine.
4582 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4583 (HANDLE_FPE): Define.
4584 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4585 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4586 (HANDLE_DIVIDE_OVERFLOW): Define.
4588 2004-07-14 Michael Koch <konqueror@gmx.de>
4589 Matthias Klose <doko@debian.org>
4591 * java/awt/im/InputContext.java: Initialize in, line.
4593 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4595 * interpret.cc (run): Correctly access libffi return values of
4596 integral smaller-than-int type; these are implicitly promoted.
4598 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4601 * interpret.cc (compile_mutex): New.
4602 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4603 (run): Lock compile_mutex before calling compile() if compilation is
4605 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4606 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4608 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4611 * include/jvm.h (_Jv_value): New union type.
4612 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4613 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4616 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4618 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4619 * gnu/awt/xlib/XOffScreenImage.java
4620 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4621 constructor argument. Add constructor using ImageProducer.
4622 (getSource): Implement.
4623 (imageComplete): New method.
4624 (setColorModel): New method.
4625 (setDimensions): New method.
4626 (setHints): New method.
4627 (setPixels): New method.
4628 (setProperties): New method.
4629 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4630 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4632 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4635 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4636 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4637 (finalizerReady): Now native.
4639 (runFinalizers): Removed.
4640 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4641 a primitive lock, and don't hold it while running the finalizers.
4642 (runFinalizers): Implement. Don't aquire any Java lock.
4643 (finalizerReady): Use lock primitives to signal finalizer thread.
4645 2004-07-11 Mark Wielaard <mark@klomp.org>
4647 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4648 * java/net/URLStreamHandler.java (parseURL): When url file part
4649 doesn't contain a '/' just ignore context.
4651 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4653 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4654 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4655 (MAKE_THROW_FRAME): Do not modify PSW address.
4656 (INIT_SEGV): Install SIGINFO-style signal handler.
4657 (INIT_FPE): Likewise.
4659 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4661 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4662 status. 21 xfail's removed, 1 added.
4664 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4666 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4668 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4670 * java/text/MessageFormat.java
4671 (formatInternal): Append "{n}" if argument n is unavailable.
4672 (format(Object, StringBuffer, FieldPosition)): This
4673 should be equivalent to format(Object[],
4674 StringBuffer, FieldPosition).
4676 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4678 * java.util.Calendar.java (cache): New private static field. Cached
4679 mappings of locales->calendar classes.
4680 (ctorArgTypes): New private static field. Singleton argument for
4681 calendar class constructor lookup.
4682 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4683 Optimize by bypassing reflection instantiation for the
4684 GregorianCalendar case.
4686 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4688 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4689 ResourceBundle.getBundle() calls.
4690 * java/util/GregorianCalendar.java: Likewise.
4691 * java/util/Currency.java: Likewise.
4692 * java/text/BreakIterator.java: Likewise.
4693 * java/text/Collator.java: Likewise.
4694 * java/text/DateFormat.java: Likewise.
4695 * java/text/DateFormatSymbols.java: Likewise.
4696 * java/text/DecimalFormatSymbols.java: Likewise.
4697 * java/text/NumberFormat.java: Likewise.
4698 * java/awt/Window.java: Likewise.
4700 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4702 * java/util/ResourceBundle.java (bundleCache): Renamed from
4703 resourceBundleCache. Update comments.
4704 (getObject): Don't catch MissingResourceException.
4705 (getBundle(String)): Remove 'final'. Use system classloader if
4706 getCallingClassLoader returned null.
4707 (getBundle(String, Locale)): Likewise.
4708 (BundleKey): New private class. HashMap key for bundle cache lookup.
4709 (lookupKey): New. Singleton instance of BundleKey.
4710 (nullEntry): New. Cache entry to represent failed lookups.
4711 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4712 caching strategy, no-allocation lookup, and new tryBundle methods.
4713 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4714 name using given classloader.
4715 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4716 baseName for given Locale and attempt to load bundle.
4718 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4720 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4721 illegal protected method calls.
4723 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4725 Fix or remove some bogus test cases.
4726 * testsuite/libjava.compile/pr10459_2.java: Removed.
4727 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4729 * testsuite/libjava.compile/inner_data.java: Test against its own
4732 2004-07-09 Michael Koch <konqueror@gmx.de>
4734 * scripts/unicode-muncher.pl: Updated to version 2.1
4735 from GNU classpath. Added some clarifications on where to find the
4736 needed files from www.unicode.org.
4737 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4738 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4739 Removed, these can directly be downloaded from www.unicode.org if
4741 * gnu/java/lang/CharData.java: Regenerated.
4742 * include/java-chartables.h: Regenerated.
4743 * Makefile.am (ordinary_java_source_files):
4744 Removed gnu/java/lang/CharData.java.
4745 * Makefile.in: Regenerated.
4747 2004-07-09 Michael Koch <konqueror@gmx.de>
4749 * java/security/AccessControlContext.java,
4750 java/security/SecureClassLoader.java:
4753 2004-07-09 Michael Koch <konqueror@gmx.de>
4755 * java/io/ObjectInputStream.java (readFields): Use long datatype
4756 when shifting byte values more then 24 bits left.
4758 2004-07-09 Michael Koch <konqueror@gmx.de>
4760 * java/util/zip/DeflaterOutputStream.java,
4761 java/util/zip/GZIPInputStream.java,
4762 java/util/zip/GZIPOutputStream.java,
4763 java/util/zip/InflaterInputStream.java:
4764 Reformatted. Added javadocs. Reordered all stuff.
4765 Renamed variables to be more clear.
4767 2004-07-09 Michael Koch <konqueror@gmx.de>
4769 * javax/imageio/IIOException.java,
4770 javax/imageio/event/IIOReadProgressListener.java,
4771 javax/imageio/event/IIOReadUpdateListener.java,
4772 javax/imageio/event/IIOReadWarningListener.java,
4773 javax/imageio/event/IIOWriteProgressListener.java,
4774 javax/imageio/event/IIOWriteWarningListener.java:
4776 * Makefile.am: Added new files.
4777 * Makefile.in: Regenerated.
4779 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4781 * java/text/RuleBasedCollator.java
4782 (mergeRules): Use ArrayList instead of Vector.
4783 (subParseString): likewise.
4784 (parseString): likewise.
4785 (buildCollationVector): likewise.
4786 (getCollationKey): likewise.
4788 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4790 * java/text/DateFormat.java (parse):
4791 Improved javadoc. Improved exception message.
4793 2004-07-09 Mark Wielaard <mark@klomp.org>
4795 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4796 interrupted() method to clear interupt flag of our Thread.
4798 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4800 * java/nio/Buffer.java,
4801 java/nio/ByteBuffer.java,
4802 java/nio/ByteBufferHelper.java,
4803 java/nio/ByteBufferImpl.java,
4804 java/nio/CharBuffer.java,
4805 java/nio/CharBufferImpl.java,
4806 java/nio/CharViewBufferImpl.java,
4807 java/nio/DirectByteBufferImpl.java,
4808 java/nio/DoubleBuffer.java,
4809 java/nio/DoubleBufferImpl.java,
4810 java/nio/DoubleViewBufferImpl.java,
4811 java/nio/FloatBuffer.java,
4812 java/nio/FloatBufferImpl.java,
4813 java/nio/FloatViewBufferImpl.java,
4814 java/nio/IntBuffer.java,
4815 java/nio/IntBufferImpl.java,
4816 java/nio/IntViewBufferImpl.java,
4817 java/nio/LongBuffer.java,
4818 java/nio/LongBufferImpl.java,
4819 java/nio/LongViewBufferImpl.java,
4820 java/nio/MappedByteBufferImpl.java,
4821 java/nio/ShortBuffer.java,
4822 java/nio/ShortBufferImpl.java,
4823 java/nio/ShortViewBufferImpl.java:
4824 Fixed javadocs all over. Improved input error
4827 * java/nio/Buffer.java
4828 (checkForUnderflow, checkForOverflow, checkIndex,
4829 checkIfReadOnly, checkArraySize): New helper methods
4832 * java/nio/ByteBufferHelper.java
4833 (checkRemainingForRead, checkRemainingForWrite,
4834 checkAvailableForRead, checkAvailableForWrite): Removed
4835 no longer needed methods.
4837 2004-07-09 Michael Koch <konqueror@gmx.de>
4839 * gnu/regexp/CharIndexedInputStream.java:
4840 Reordered imports to match classpath.
4842 2004-07-09 Michael Koch <konqueror@gmx.de>
4844 * gnu/java/awt/EmbeddedWindow.java:
4845 Load native library for setWindowPeer method.
4847 2004-07-08 Randolph Chung <tausq@debian.org>
4849 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4850 * configure: Regenerate.
4851 * configure.host: Set can_unwind_signal for hppa*-linux.
4852 * include/pa-signal.h: New file.
4854 2004-07-07 Per Bothner <per@bothner.com>
4856 * Makefile.am: Add rules to build libgij from just gij.cc.
4858 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4859 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4860 (initializeClass): If verbose_class_flag, print message.
4861 * gij.cc (main): Handle -verbose:class flag.
4863 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4865 * configure.host: Enable hash synchronization on Darwin.
4866 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4867 ';', since this is a comment on Darwin.
4868 (compare_and_swap_release): Likewise.
4870 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4872 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4873 file portion of URL in addition to spec for file: protocol.
4875 2004-07-05 Anthony Green <green@redhat.com>
4877 * java/io/File.java (toURI): Merge from Classpath.
4879 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4881 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4882 before passing to URL constructor. Rethrow any MalformedURLException
4883 as a RuntimeException. Catch MalformedURLException specifically, not
4886 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4888 * java/util/Locale.java (readObject): Intern strings read from object
4891 2004-07-04 Michael Koch <konqueror@gmx.de>
4893 * gnu/gcj/runtime/FirstThread.java,
4894 gnu/gcj/runtime/natFirstThread.cc: Removed.
4895 * gnu/java/lang/MainThread.java,
4896 gnu/java/lang/natMainThread.cc: New files.
4897 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4898 * Makefile.am: Added new files and removed deleted ones.
4899 * Makefile.in: Regenerated.
4901 2004-07-03 Mark Wielaard <mark@klomp.org>
4902 Anthony Green <green@redhat.com>
4904 * java/net/URL.java (getFile): Clarify return value doc.
4905 (getPath): Return null if file is empty - not empty String.
4906 (set): Convert protocol to lower case before doing anything.
4907 Only change the protocol handler if it's different.
4909 2004-07-03 Anthony Green <green@redhat.com>
4911 * java/net/URL.java (URL): Convert protocol to lower case before
4912 doing anything, so we getURLStreamHandler() with the proper value.
4914 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4916 * java/util/Locale.java (hashcode): Made transient.
4917 (hashCode): No longer synchronized.
4918 (equals): Remove comment.
4919 (writeObject): No longer synchronized. Implement using writeObject
4920 calls instead of tweaking hashCode field. Update doc.
4921 (readObject): Implement using readObject calls.
4923 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4924 Andreas Tobler <a.tobler@schweiz.ch>
4926 * configure.host (powerpc-*-darwin*): New case, define
4928 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4929 * configure: Regenerate.
4930 * include/darwin-signal.h: New.
4932 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4934 * java/beans/Statement.java (doExecute): Fix formatting.
4936 2004-06-29 Per Bothner <per@bothner.com>
4938 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4939 etc etc): Remove needless parenthesis, which causes __stdcall__
4940 attribute on MinGW to get ignored.
4942 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4944 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4946 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4948 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4950 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4952 * java/beans/Expression.java: New file.
4953 * java/beans/Statement.java: New file.
4954 * Makefile.am: Added new files.
4955 * Makefile.in: Re-generate.
4957 2004-06-27 Mark Wielaard <mark@klomp.org>
4959 * java/io/FilePermission.java (usingPerms): Removed.
4960 (actionsString): Made final.
4961 (cachePerms): Renamed to checkPerms.
4962 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4964 (FilePermission): Check arguments, call checkPerms().
4965 (equals): Remove cachePerms() call.
4966 (implies): Likewise.
4968 2004-06-27 Mark Wielaard <mark@klomp.org>
4970 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4972 (sendRequest): Use new field in user-agent http agent.
4974 2004-06-27 Mark Wielaard <mark@klomp.org>
4976 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4977 when argument is null.
4979 2004-06-26 Mark Wielaard <mark@klomp.org>
4981 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4982 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4984 (cancel_clicked): Likewise.
4986 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4989 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4990 can not calculate the right value.
4991 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4993 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4995 * testsuite/libjava.jacks/jacks.xfail: Remove
4996 15.9.1-qualified-concrete-20.
4998 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5000 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5001 encoding name to iconv.
5002 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5004 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5007 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5008 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5009 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5011 2004-06-21 Andrew Haley <aph@redhat.com>
5013 * java/io/ObjectOutputStream.java: Add DEBUG statements
5015 (dumpElementln): New method.
5017 * java/io/ObjectInputStream.java
5018 (currentClassLoader): Make native.
5019 (callersClassLoader): New field.
5021 (readObject): ENDBLOCKDATA is generated if the class has a write
5022 method, not if it has a read method.
5023 (readObject): Save and restore this.currentObject and
5024 this.currentObjectStreamClass around calls to callReadMethod().
5025 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5028 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5030 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5033 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5035 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5036 if desired, before the default class loader is initialised.
5037 Call INIT_SEGV only if HANDLE_SEGV is defined.
5039 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5041 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5042 directory only if it actually exists.
5044 2004-06-18 Graydon Hoare <graydon@redhat.com>
5046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5047 Fix up non-ansi comments.
5049 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5051 * javax/swing/text/AbstractDocument.java: Adding missing import
5052 for javax.swing.event.EventListenerList.
5053 * javax/swing/text/DefaultCaret.java: Likewise.
5055 2004-06-17 Michael Koch <konqueror@gmx.de>
5057 * javax/swing/JToolBar.java
5059 (JToolBar): Use Component.setName(String) instead of doing it all
5061 * javax/swing/Timer.java
5062 (queueEvent): Added missing modifier.
5064 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5066 * Makefile.am: Added new file.
5067 * Makefile.in: Re-generate.
5068 * javax/swing/JMenu.java:
5069 (insertSeparator): Implemented.
5070 * javax/swing/JPopupMenu.java:
5071 (JPopupMenu.Separator): Implemented.
5072 * javax/swing/MenuSelectionManager.java:
5073 (processMouseEvent): Use java.awt.Component
5074 for event source instead of javax.swing.JComponent.
5075 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5076 New File. Implemented.
5078 2004-06-16 David Jee <djee@redhat.com>
5080 * java/awt/GridBagLayout.java
5081 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5082 Make sure pos_x and pos_y are never negative.
5084 2004-04-16 Andrew Overholt <overholt@redhat.com>
5086 * Makefile.am: Add new file.
5087 * Makefile.in: Re-generate.
5088 * javax/swing/JToolBar.java
5089 Partially implemented.
5090 * javax/swing/plaf/basic/BasicToolBarUI.java
5091 New file. Partially implemented.
5093 2004-06-16 Graydon Hoare <graydon@redhat.com>
5095 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5096 (setComposite): Accept AlphaComposite arguments.
5097 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5098 (createBufferedImage): Add new overloads.
5099 * gnu/java/awt/peer/gtk/GtkToolkit.java
5100 (createImage): Use GdkPixbufDecoder.createBufferedImage
5101 when useGraphics2D() is true.
5102 (getImage): Delegate to createImage.
5103 * javax/swing/JList.java
5105 (getFirstVisibleIndex):
5106 (getLastVisibleIndex):
5108 (ensureIndexIsVisible): New methods.
5109 * javax/swing/Timer.java: Reimplement.
5111 2004-06-16 Michael Koch <konqueror@gmx.de>
5113 * javax/swing/text/AbstractDocument.java
5114 (AbstracElement): Made public, implements java.io.Serializable.
5115 (AttributeContext): Made public.
5116 (BranchElement): Likewise.
5117 (Content): Likewise.
5118 (DefaultDocumentEvent): Made public, extends
5119 javax.swing.undo.CompoundEdit.
5120 (ElementEdit): Made public, extends
5121 javax.swing.undo.AbstractUndoableEdit.
5122 (LeafElement): Made public.
5123 (LeafElement.LeafElement): Made public.
5125 2004-06-16 Michael Koch <konqueror@gmx.de>
5127 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5128 methods (that were obviously never be intended to get included hi this
5129 class. Added some methods too.
5131 2004-06-16 Michael Koch <konqueror@gmx.de>
5133 * javax/swing/text/PlainDocument.java
5134 (serialVersionUID): New constant.
5135 (lineLimitAttribute): Likewise.
5136 (tabSizeAttribute): Likewise.
5137 (tabSize): New field.
5138 (PlainDocument): Made public.
5139 (PlainDocument): New constructor.
5141 2004-06-16 Michael Koch <konqueror@gmx.de>
5143 * javax/swing/text/AbstractDocument.java
5144 (insertString): Throws BadLocationException.
5145 * javax/swing/text/Document.java
5146 (insertString): Likewise.
5147 * javax/swing/text/JTextComponent.java:
5148 Javadocs and comments cleaned up.
5150 2004-06-16 Michael Koch <konqueror@gmx.de>
5152 * javax/swing/event/UndoableEditListener.java: Reformatted.
5153 * javax/swing/text/AbstractDocument.java
5154 (AbstractDocument): Implements java.io.Serializable.
5155 (doc_list): Removed.
5156 (undo_list): Removed.
5157 (AbstractElement.serialVerionUID): New field.
5158 (BranchElement.serialVerionUID): Likewise.
5159 (DefaultDocumentEvent.serialVerionUID): Likewise.
5160 (ElementEdit.serialVerionUID): Likewise.
5161 (LeafElement.serialVerionUID): Likewise.
5162 (serialVerionUID): Likewise.
5163 (BAD_LOCATION): New constant.
5164 (BidiElementName): Likewise.
5165 (ContentElementName): Likewise.
5166 (ParagraphElementName): Likewise.
5167 (SectionElementName): Likewise.
5168 (ElementNameAttribute): Likewise.
5169 (AbstractDocument): Made protected.
5170 (AbstractDocument): New construtor.
5171 (listenerList): New field.
5172 (fireChangedUpdate): Implemented.
5173 (fireInsertUpdate): Likewise.
5174 (fireRemoveUpdate): Likewise.
5175 (fireUndoableEditUpdate): Likewise.
5176 (getListeners): Likewise.
5177 (addDocumentListener): Likewise.
5178 (removeDocumentListener): Likewise.
5179 (addUndoableEditListener): Likewise.
5180 (removeUndoableEditListener): Likewise.
5181 (getDocumentListeners): New method.
5182 (getUndoableEditListeners): Likewise.
5183 (getAsynchronousLoadPriority): Made public.
5184 (getBidiRootElement): Likewise.
5185 (setAsynchronousLoadPriority): Likewise.
5186 (setDocumentProperties): Likewise.
5187 * javax/swing/text/BadLocationException.java
5188 (serialVerionUID): New field.
5189 * javax/swing/text/DefaultCaret.java
5190 (changeEvent): New field.
5191 (listenerList): Likewise.
5193 (addChangeListener): Reimplemented.
5194 (removeChangeListener): Likewise.
5195 (getListeners): New method.
5196 (getChangeListeners): Likwise.
5197 (getComponent): Likewise.
5198 * javax/swing/text/GapContent.java
5199 (GapContent): Implements java.io.Serializable.
5200 (serialVerionUID): New field.
5202 2004-06-16 Michael Koch <konqueror@gmx.de>
5204 * javax/swing/JTree.java
5205 (treeModel): New field.
5206 (JTree): New constructors, one existing one made public.
5207 (createTreeModel): New method.
5208 (addTreeExpansionListener): Likewise.
5209 (removeTreeExpansionListener): Likewise.
5210 (getTreeExpansionListeners): Likewise.
5211 (fireTreeCollapsed): Likewise.
5212 (fireTreeExpanded): Likewise.
5213 (addTreeSelectionListener): Likewise.
5214 (removeTreeSelectionListener): Likewise.
5215 (getTreeSelectionListeners): Likewise.
5216 (fireValueChanged): Likewise.
5217 (addTreeWillExpandListener): Likewise.
5218 (removeTreeWillExpandListener): Likewise.
5219 (getTreeWillExpandListeners): Likewise.
5220 (fireTreeWillCollapse): Likewise.
5221 (fireTreeWillExpand): Likewise.
5223 2004-06-16 Michael Koch <konqueror@gmx.de>
5225 * javax/swing/JTree.java: Reformatted.
5227 2004-06-16 Michael Koch <konqueror@gmx.de>
5229 * javax/swing/JTextArea.java: New file.
5230 * javax/swing/JTextField.java
5232 (notifyAction): New constant.
5233 (columns): New field.
5234 (JTextField): New constructors.
5235 (createDefaultModel): New method.
5236 (addActionListener): Reimplmemented.
5237 (removeActionListener): Reimplemented.
5238 (getActionListeners): New method.
5239 (fireActionPerformed): New method.
5240 (getColumns): New method.
5241 (setColumne): New method.
5242 * javax/swing/text/JTextComponent.java
5243 (AccessibleJTextComponent.serialVersionUID): New field.
5244 (serialVersionUID): Likewise.
5245 (DEFAULT_KEYMAP): Likewise.
5246 (FOCUS_ACCELERATOR_KEY): Likewise.
5247 (doc): Made private.
5248 (icon_gap): Likewise.
5251 (JTextComponent): Some constructors removed.
5252 (getScrollableTracksViewportHeight): New method.
5253 (getScrollableTracksViewportWidth): Likewise.
5254 * Makefile.am: Added javax/swing/JTextArea.java.
5255 * Makefile.in: Regenerated.
5257 2004-06-15 Graydon Hoare <graydon@redhat.com>
5259 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5260 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5261 * javax/swing/JViewport.java
5262 (getExtentSize): Return size rather than preferred size.
5263 (toViewCoordinates): New methods.
5264 (getViewSize): Return size rather than preferred size.
5265 (setViewSize): Note view size as set.
5266 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5267 * javax/swing/plaf/basic/BasicScrollBarUI.java
5268 (getPreferredSize): Don't redo layout.
5269 * javax/swing/plaf/basic/BasicViewportUI.java
5270 (paint): Translate image properly and eat exceptions.
5272 2004-06-15 Kim Ho <kho@redhat.com>
5274 * javax/swing/JTabbedPane.java
5275 (setComponent): Remove old component and
5277 (setSelectedIndex): Don't operate on the
5278 components if they're null. Don't set index
5279 on the model if the index is the same.
5280 (insertTab): Don't add or hide the component
5281 if it's null. Repaint the container.
5282 * javax/swing/plaf/basic/BasicLookAndFeel.java
5283 Change colors for TabbedPane.
5284 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5285 (mousePressed): Re-layout and paint the component.
5286 (layoutContainer): Don't set location on the view.
5287 (ScrollingViewport::paint): Remove.
5289 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5292 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5295 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5296 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5298 (drawLine): Call gdk_flush before leaving GDK critical region.
5299 (fillRect): Likewise.
5300 (drawRect): Likewise.
5301 (copyArea): Likewise.
5302 (copyPixmap): Likewise.
5303 (clearRect): Likewise.
5304 (drawArc): Likewise.
5305 (drawPolyline): Likewise.
5306 (drawPolygon): Likewise.
5307 (fillPolygon): Likewise.
5308 (fillArc): Likewise.
5309 (drawOval): Likewise.
5310 (fillOval): Likewise.
5312 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5314 (GdkFontMetrics): Add style argument to initState call.
5315 (stringWidth(String,int,int,String)): Add style parameter.
5316 (stringWidth(String)): Add style argument to stringWidth call.
5317 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5318 (initState): Set pango font style and weight based on AWT style
5319 parameter. Pass default GTK language to
5320 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5321 simply dividing by PANGO_SCALE.
5322 (stringWidth): Set pango font style and weight based on AWT style
5325 * java/awt/Button.java (next_button_number): New field.
5326 (paramString): Change output.
5327 (generateName): New method.
5328 (getUniqueLong): New method.
5330 2004-06-14 Kim Ho <kho@redhat.com>
5332 * javax/swing/JTabbedPane.java:
5333 (setComponentAt): Set the component, not
5335 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5336 (actionPerformed): Let deiconize catch exception.
5338 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5340 * javax/swing/JPopupMenu.java:
5341 (setVisible): Corrected location of a
5342 heavyweight popup menu.
5344 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5346 * javax/swing/MenuSelectionManager.java:
5347 Ran through jalopy to fix formatting style.
5349 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5351 * javax/swing/JLayeredPane.java:
5352 (remove): Revalidate and repaint layered pane after
5353 the component was removed.
5354 javax/swing/JMenu.java:
5355 (setVisible): Display popup menu at the user location,
5356 if one was set by the user.
5357 (setMenuLocation): Reimplemented. Fixed javadoc.
5358 * javax/swing/JMenuBar.java: Added javadoc.
5359 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5360 (MODEL_CHANGED_PROPERTY): New Property.
5361 (isSelected): Implemented.
5362 (setBorderPainted): Fire PropertyChangeEvent
5363 if paintBorder property changes.
5364 (setSelected): Implemented.
5365 (setSelectionModel): Implemented.
5366 * javax/swing/JPopupMenu.java: Added Javadoc
5367 (pack): Implemented.
5368 (setVisible): Reimplemented.
5369 (show): Fixed location.
5370 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5371 Container instead of JPanel.
5372 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5373 (clearSelectedPath): Reimplemented to clear selectedPath
5375 (processMouseEvent): Reimplemented.
5376 (setSelectedPath): Fire stateChange event indicating that
5377 selected menu path has changed.
5378 (getPath): Change to use ArrayList instead of Vector.
5379 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5380 (installUI): call installKeyboardActions().
5381 (uninstallUI): call uninstallKeyboardActions().
5383 2004-06-13 Michael Koch <konqueror@gmx.de>
5385 * javax/swing/text/DefaultCaret.java,
5386 javax/swing/text/BadLocationException.java:
5389 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5391 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5392 DEFAULT_COLS): New variables.
5393 (create): Don't allow 0 rows or 0 columns. Instead, set the
5394 values to DEFAULT_ROWS or DEFAULT_COLS.
5395 (getMinimumSize): Likewise.
5396 (getPreferredSize): Likewise.
5397 (minimumSize): Likewise.
5398 (preferredSize): Likewise.
5399 (create): Set peer's editable state.
5400 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5401 zero. Update javadocs.
5402 (TextArea(String)): Likewise.
5403 (TextArea(int,int)): Fix javadocs.
5404 (TextArea(String,int,int,int)): Only throw exception if one of
5405 rows or columns is zero. Fix javadocs.
5407 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5409 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5410 addition to Components.
5412 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5413 wasn't consumed by normal processing, send it to the parent
5416 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5417 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5420 2004-06-11 David Jee <djee@redhat.com>
5422 * java/awt/MediaTracker.java
5423 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5424 (addImage(Image,int,int,int)): Likewise.
5426 2004-06-11 Michael Koch <konqueror@gmx.de>
5428 * javax/swing/text/AbstractDocument.java,
5429 javax/swing/text/Document.java,
5430 javax/swing/text/GapContent.java,
5431 javax/swing/text/JTextComponent.java,
5432 javax/swing/text/PlainDocument.java:
5435 2004-06-11 Michael Koch <konqueror@gmx.de>
5437 * javax/swing/JRootPane.java
5438 (AccessibleJRootPane.serialVersionUID): New field.
5439 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5440 (AccessibleJRootPane.getAccessibleRole): New method.
5441 (RootLayout): Implements Serializable.
5442 (RootLayout.serialVersionUID): New field.
5443 (RootLayout.RootLayout): New constructor.
5444 (setJMenuBar): Made public.
5445 (getJMenuBar): Likewise.
5446 (JRootPane): Likewise.
5447 (createContentPane): Likewise.
5448 (createGlassPane): Likewise.
5449 (createLayeredPane): Likewise.
5451 2004-06-11 Michael Koch <konqueror@gmx.de>
5453 * javax/swing/SwingUtilities.java
5454 (isLeftMouseButton): Fixed javadoc.
5455 (isMiddleMouseButton): Likewise.
5456 (isRightMouseButton): Likewise.
5458 2004-06-11 Michael Koch <konqueror@gmx.de>
5460 * javax/swing/JScrollPane.java
5461 (serialVersionUID): New field.
5462 (columnHeader): Made protected.
5463 (rowHeader): Likewise.
5464 (lowerLeft): Likewise.
5465 (lowerRight): Likewise.
5466 (upperLeft): Likewise.
5467 (upperRight): Likewise.
5468 (horizontalScrollBar): Likewise.
5469 (horizontalScrollBarPolicy): Likewise.
5470 (verticalScrollBar): Likewise.
5471 (verticalScrollBarPolicy): Likewise.
5472 (viewport): Likewise.
5474 2004-06-11 Michael Koch <konqueror@gmx.de>
5476 * javax/swing/LookAndFeel.java: Fixed javadocs.
5478 2004-06-11 Michael Koch <konqueror@gmx.de>
5480 * javax/swing/JEditorPane.java: Fixed javadocs.
5481 (JEditorPane): Removed redundant call to to this().
5482 (fireHyperlinkUpdate): Implemented.
5484 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5486 * javax/swing/JMenu.java: Fixed file name
5487 in the file comment.
5489 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5491 * javax/swing/JMenu.java: Added javadoc.
5492 (JMenu): Added MenuChangeListener to listen to
5493 ChangeEvents occuring in menu's model.
5494 (insert): Throw IllegalArgumentException if
5495 index is less than 0
5496 (setSelected): Reimplement.
5497 (setPopupMenuVisible): Call menu's model isEnabled()
5498 (setDelay): Throw IllegalArgumentException if
5499 given amount of delay is less than 0.
5500 (createActionComponent): Implemented.
5501 (createActionChangeListener): Implemented.
5502 (addSeparator): Implemented.
5503 (getItem): Throw IllegalArgumentException if index is
5505 (getItemCount): Implemented.
5506 (fireMenuSelected): Changed to use menuEvent.
5507 (fireMenuDeselected): Likewise.
5508 (fireMenuCanceled): Likewise.
5509 (setAccelerator): Changed to throw an error if this
5511 (doClick): Implemented.
5512 (JMenu.ActionChangedListener): New inner class to handle
5513 PropertyChangeEvents occuring in the actions associated with menu.
5514 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5515 (BasicMenuUI): Added PropertyChangeListener to the menu.
5516 (createChangeListener): Implemented.
5517 (createMenuDragMouseListener): Likewise.
5518 (createMenuKeyListener): Likewise.
5519 (createPropertyChangeListener): Likewise.
5520 (uninstallListeners): Likewise.
5521 (BasicMenuUI.MouseInputHandler): Reimplemented.
5522 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5523 (BasicMenuUI.ChangeHandler): Likewise.
5524 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5525 (BasicMenuUI.MenuKeyHandler): Likewise.
5527 2004-06-10 David Jee <djee@redhat.com>
5529 * java/awt/MediaTracker.java
5530 (imageUpdate): Only do notifyAll() if the image is complete.
5532 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5534 * javax/swing/JApplet.java:
5535 (getJMenuBar): Made public.
5536 (setJMenuBar): Likewise.
5537 * javax/swing/JFrame.java:
5538 (getJMenuBar): Made public.
5539 (setJMenuBar): Likewise.
5540 * javax/swing/JWindow.java:
5541 (getJMenuBar): Removed.
5542 (setJMenuBar): Removed.
5544 2004-06-10 Michael Koch <konqueror@gmx.de>
5546 * javax/swing/JEditorPane.java
5547 (createEditorKitForContentType): Fixed visibility.
5548 (fireHyperlinkUpdate): Likewise.
5549 (getContentType): Likewise.
5550 (getEditorKit): Likewise.
5551 (getEditorKitForContentType): Likewise.
5552 (getPage): Likewise.
5554 (registerEditorKitForContentTyoe): Likewise.
5555 (replaceSelection): Likewise.
5556 (setContentType): Likewise.
5557 (setEditorKit): Likewise.
5558 (setPage): Likewise.
5560 2004-06-10 Michael Koch <konqueror@gmx.de>
5562 * javax/swing/Timer.java
5563 (Timer): New constructor.
5564 * javax/swing/plaf/basic/BasicProgressBarUI.java
5565 (animationTimer): Don't initialize at construction.
5566 (startAnimationTimer): Added since tag.
5567 (stopAnimationTimer): Likewise.
5568 (installUI): Use new Timer constructor.
5569 * javax/swing/plaf/basic/BasicScrollBarUI.java
5570 (installUI): Likewise.
5571 * javax/swing/plaf/basic/BasicSliderUI.java
5572 (installUI): Likewise.
5574 2004-06-10 Michael Koch <konqueror@gmx.de>
5576 * javax/swing/ButtonGroup.java
5577 (serialVersionUID): Made private.
5578 (buttons): Renamed from v, added javadoc.
5579 (sel): Added javadoc.
5580 (ButtonGroup): Likewise.
5583 (getElements): Likewise.
5584 (getSelection): Likewise.
5585 (setSelected): Likewise.
5586 (isSelected): Likewise.
5587 (getButtonCount): Likewise.
5589 2004-06-10 Michael Koch <konqueror@gmx.de>
5591 * javax/swing/ButtonGroup.java,
5592 javax/swing/ImageIcon.java,
5593 javax/swing/JEditorPane.java,
5594 javax/swing/JRootPane.java,
5595 javax/swing/JTextField.java,
5596 javax/swing/LookAndFeel.java,
5597 javax/swing/plaf/basic/BasicTextUI.java:
5600 2004-06-10 Michael Koch <konqueror@gmx.de>
5602 * javax/swing/text/Style.java: Added javadocs.
5604 2004-06-10 Michael Koch <konqueror@gmx.de>
5606 * javax/swing/JComponent.java
5607 (fireVetoableChange): Removed redundant cast.
5608 * javax/swing/JLabel.java
5609 (getDisabledIcon): Save icon for next call.
5611 2004-06-10 Michael Koch <konqueror@gmx.de>
5613 * javax/swing/KeyStroke.java
5614 (getKeyStroke(char,boolean)): Marked deprecated.
5616 2004-06-10 Michael Koch <konqueror@gmx.de>
5618 * javax/swing/DefaultCellEditor.java,
5619 javax/swing/GrayFilter.java,
5620 javax/swing/event/DocumentEvent.java,
5621 javax/swing/text/JTextComponent.java,
5622 javax/swing/text/MutableAttributeSet.java:
5625 2004-06-10 Michael Koch <konqueror@gmx.de>
5627 * javax/swing/plaf/BorderUIResource.java:
5628 Added serialVersionUID all over.
5630 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5632 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5634 2004-06-10 Michael Koch <konqueror@gmx.de>
5636 * javax/swing/table/DefaultTableCellRenderer.java
5637 (noFocusBorder): Initialize directly.
5639 2004-06-10 Michael Koch <konqueror@gmx.de>
5641 * javax/swing/plaf/basic/BasicArrowButton.java
5642 (setDirection): Use method argument.
5644 2004-06-10 Michael Koch <konqueror@gmx.de>
5646 * javax/swing/plaf/BorderUIResource.java,
5647 javax/swing/plaf/ComponentUI.java,
5648 javax/swing/undo/CompoundEdit.java,
5649 javax/swing/undo/StateEdit.java:
5650 Fixed javadocs all over.
5652 2004-06-10 Michael Koch <konqueror@gmx.de>
5654 * javax/swing/DefaultButtonModel.java
5655 (ARMED): Made public final, fixed value.
5656 (ENABLED): Likewise.
5657 (PRESSED): Likewise.
5658 (ROLLOVER): Likewise.
5659 (SELECTED): Likewise.
5660 (stateMask): Initialize directly.
5661 (listenerList): Likewise.
5662 (mnemonic): Likewise.
5663 (fireStateChanged): Removed argument, use changeEvent as event.
5664 All places where this method is called are fixed too.
5665 (getActionCommant): Fixed javadoc.
5666 (setGroup): Fixed javadoc.
5667 (getGroup): New method.
5669 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5671 * javax/swing/AbstractButton.java
5672 (AbstractButton): Use init() to initialize the button.
5673 (init): New Method. Initializes AbstractButton.
5674 * javax/swing/JMenuItem.java: Documented.
5675 (JMenuItem): Reimplemented.
5676 (init): Implemented.
5677 (setEnabled): Changed to call super.setEnabled()
5678 (processMouseEvent): Reimplemented.
5679 (fireMenuKeyPressed): Implemented.
5680 (fireMenuKeyReleased): Implemented.
5681 (fireMenuKeyTyped): Implemented.
5682 (menuSelectionChanged): disarm the model if the menu item was
5684 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5685 (getPath): Change to use ArrayList instead of Vector.
5686 (getPreferredSize): Renamed variable.
5687 (paintMenuItem): Paint margin area of menu item.
5688 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5689 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5690 menu item's bounds before clearing the selection.
5692 2004-06-09 David Jee <djee@redhat.com>
5694 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5695 (GtkTextComponentPeer): Set caret position to 0.
5696 * java/awt/TextComponent.java
5697 (setText): Set caret position to 0.
5698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5699 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5700 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5701 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5704 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5707 2004-06-09 Kim Ho <kho@redhat.com>
5709 * Makefile.am: New files
5710 * Makefile.in: Regenerated
5711 * java/awt/Container.java
5712 (getComponentAt): Removed.
5713 * javax/swing/AbstractAction.java
5714 (ENABLED_PROPERTY): New property.
5715 (putValue): Fire PropertyChangeEvents.
5716 (setEnabled): ditto.
5717 (firePropertyChange): Javadoc and implement
5719 * javax/swing/AbstractButton.java
5720 (setAction): Don't create PropertyChangeListener
5721 if new Action is null.
5722 (setIcon): Don't set icon till after comparing
5724 (configurePropertiesFromAction): Check mnemonic
5725 key before calling intValue().
5726 (createActionPropertyChangeListener): Check
5727 properties rather than bulk change.
5728 * javax/swing/DefaultDesktopManager.java:
5730 * javax/swing/DesktopManager.java:
5732 * javax/swing/JComponent.java
5733 (fireVetoableChange): Implement.
5734 (paintImmediately): Use root component.
5735 * javax/swing/JDesktopPane.java: Implement
5736 * javax/swing/JInternalFrame.java: Implement
5737 * javax/swing/JLabel.java
5738 (getDisabledIcon): Return grayscaled icon if
5739 no disabled icon specified.
5740 * javax/swing/JMenuBar.java
5741 (getComponentAtIndex): Use getComponent
5742 * javax/swing/JOptionPane.java
5743 (getDesktopPaneForComponent): Use SwingUtilities'
5745 (getFrameForComponent): ditto.
5746 * javax/swing/JSplitPane.java
5747 (remove): Use getComponent.
5748 * javax/swing/SwingUtilities.java
5749 (convertPoint): Implement.
5750 * javax/swing/plaf/basic/BasicButtonUI.java
5751 (paintButtonNormal): Check opaqueness before
5753 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5755 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5757 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5759 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5761 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5762 Change InternalFrame and Desktop colors.
5764 2004-06-09 David Jee <djee@redhat.com>
5766 * java/awt/Container.java
5767 (remove): Do not set component to invisible.
5769 2004-06-09 Michael Koch <konqueror@gmx.de>
5771 * javax/swing/tree/DefaultMutableTreeNode.java
5772 (getLeafCount): Renamed enum to e.
5774 2004-06-09 Michael Koch <konqueror@gmx.de>
5776 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5777 (positionForMouseEvent): Removed redundant semicolon.
5778 (continueDrag): Use method arguments.
5780 2004-06-09 Michael Koch <konqueror@gmx.de>
5782 * javax/swing/border/TitledBorder.java,
5783 javax/swing/filechooser/FileSystemView.java,
5784 javax/swing/plaf/basic/BasicButtonListener.java,
5785 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5786 javax/swing/plaf/basic/BasicLabelUI.java,
5787 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5788 javax/swing/plaf/basic/BasicScrollBarUI.java,
5789 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5790 javax/swing/plaf/basic/BasicSliderUI.java,
5791 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5792 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5793 javax/swing/table/JTableHeader.java,
5794 javax/swing/text/AbstractDocument.java,
5795 javax/swing/text/DefaultCaret.java,
5796 javax/swing/text/StyledEditorKit.java,
5797 javax/swing/tree/DefaultTreeCellEditor.java:
5798 Reworked import statements.
5800 2004-06-08 Graydon Hoare <graydon@redhat.com>
5802 * javax/swing/Box.java: Temporarily comment out code
5803 broken due to visibility bug.
5805 2004-06-09 Michael Koch <konqueror@gmx.de>
5807 * javax/swing/ImageIcon.java
5808 (ImageIcon): Added missing constructor.
5810 2004-06-08 Michael Koch <konqueror@gmx.de>
5812 * javax/swing/JToggleButton.java
5813 (JToggleButton): New constructor.
5814 (getAccessibleContext): Moved documentation into javadoc.
5815 (getUIClassID): Likewise.
5817 2004-06-08 Michael Koch <konqueror@gmx.de>
5819 * javax/swing/AbstractButton.java
5820 (getDisabledIcon): Create disabled icon if none exists yet.
5822 2004-06-08 Michael Koch <konqueror@gmx.de>
5824 * javax/swing/plaf/basic/BasicLookAndFeel.java
5825 (initClassDefaults): Added FormattedTextFieldUI.
5826 (loadResourceBundle): Renamed enum to e.
5828 2004-06-08 Michael Koch <konqueror@gmx.de>
5830 * javax/swing/plaf/basic/BasicButtonUI.java
5831 (paintIcon): Simplified.
5832 (paintText): Paint disabled button correctly.
5834 2004-06-08 Michael Koch <konqueror@gmx.de>
5836 * javax/swing/JComponent.java
5837 (createToolTip): Use official JToolTip API.
5839 2004-06-08 Michael Koch <konqueror@gmx.de>
5841 * javax/swing/JToolTip.java
5842 (JToolTip): No arguments in API.
5843 (setTipText): New method.
5845 2004-06-08 Michael Koch <konqueror@gmx.de>
5847 * javax/swing/SwingUtilities.java
5848 (isLeftMouseButton): New method.
5849 (isMiddleMouseButton): New method.
5850 (isRightMouseButton): New method.
5852 2004-06-08 Michael Koch <konqueror@gmx.de>
5854 * javax/swing/AbstractButton.java,
5855 javax/swing/CellRendererPane.java,
5856 javax/swing/JCheckBoxMenuItem.java,
5857 javax/swing/JColorChooser.java,
5858 javax/swing/JComboBox.java,
5859 javax/swing/JComponent.java,
5860 javax/swing/JDesktopPane.java,
5861 javax/swing/JFileChooser.java,
5862 javax/swing/JMenu.java,
5863 javax/swing/JMenuItem.java,
5864 javax/swing/JOptionPane.java,
5865 javax/swing/JPasswordField.java,
5866 javax/swing/JPopupMenu.java,
5867 javax/swing/JProgressBar.java,
5868 javax/swing/JRadioButtonMenuItem.java,
5869 javax/swing/JScrollBar.java,
5870 javax/swing/JSeparator.java,
5871 javax/swing/JSlider.java,
5872 javax/swing/JSplitPane.java,
5873 javax/swing/JTabbedPane.java,
5874 javax/swing/JTextField.java,
5875 javax/swing/JToolBar.java,
5876 javax/swing/text/JTextComponent.java:
5877 Fixed all constructors of accessibility classes.
5879 2004-06-08 Michael Koch <konqueror@gmx.de>
5881 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5884 2004-06-08 Michael Koch <konqueror@gmx.de>
5886 * javax/swing/Box.java
5887 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5888 (AccessibleBoxFiller.serialVersionUID): New member variable.
5889 * javax/swing/DefaultButtonModel.java
5890 (stateMask): Made protected.
5891 (listenerList): Likewise.
5892 (changeEvent): Likewise.
5894 (mnemonic): Likewise.
5895 (actionCommand): Likewise.
5896 (getListeners): New method.
5897 (getActionListeners): New method.
5898 (getItemListeners): New method.
5899 (getChangeListeners): New method.
5900 (fireItemStateChanged): Simplified.
5901 (fireActionPerformed): Simplified.
5902 (fireStateChanged): Simplified.
5903 * javax/swing/JFrame.java
5904 (JFrame): Implements WindowContants.
5905 (HIDE_ON_CLOSE): Removed.
5906 (EXIT_ON_CLOSE): Removed.
5907 (DISPOSE_ON_CLOSE): Removed.
5908 (DO_NOTHING_ON_CLOSE): Removed.
5909 (processWindowEvent): Exit with code 0.
5910 (setDefaultCloseOperation): Do security check before setting value.
5911 * javax/swing/JOptionPane.java
5912 (message): Initialize only in constructor.
5913 * javax/swing/JToolTip.java: Removed unused imports.
5914 * javax/swing/JViewport.java
5915 (serialVersionUID): New member variable.
5916 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5917 (BLIT_SCROLL_MODE): Likewise.
5918 (BACKINGSTORE_SCROLL_MODE): Likewise.
5919 (scrollUnderway): Made protected.
5920 (isViewSizeSet): Likewise.
5921 * javax/swing/ListModel.java: Fixed javadoc.
5922 * javax/swing/Popup.java: Likewise.
5923 * javax/swing/RepaintManager.java
5924 (paintDirtyRegions): Don't use internal classes of
5925 java.util.AbstractMap.
5926 * javax/swing/ScrollPaneConstants.java: Reindented.
5927 * javax/swing/ScrollPaneLayout.java
5928 (viewport): Made protected.
5929 (verticalScrollBar): Made protected, renamed to vsb.
5930 (horizontalScrollBar): Made protected, renamed to hsb.
5931 (rowHeader): Made protected, renamed to rowHead.
5932 (columnHeader): Made protected, renamed to colHead.
5933 (lowerLeft): Made protected.
5934 (lowerRight): Made protected.
5935 (upperLeft): Made protected.
5936 (upperRight): Made protected.
5937 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5938 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5940 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5942 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5943 LOADING if flags has SOMEBITS set.
5945 2004-06-07 Michael Koch <konqueror@gmx.de>
5947 * javax/swing/AbstractButton.java: Reorganized imports.
5948 * javax/swing/ActionMap.java: Likewise.
5949 * javax/swing/DefaultButtonModel.java: Likewise.
5950 * javax/swing/DefaultListModel.java: Likewise.
5951 * javax/swing/ImageIcon.java: Likewise.
5952 (serialVersionUID): New member variable.
5953 * javax/swing/JComboBox.java: Reorganized imports.
5954 * javax/swing/JComponent.java: Likewise.
5955 (ui): Made protected.
5956 (listenerList): Made protected.
5957 (TOOL_TIP_TEXT_KEY): New constant.
5958 (scrollRectToVisible): Removed redundant null check.
5959 * javax/swing/JFrame.java: Reorganized imports.
5960 * javax/swing/JInternalFrame.java: Reorganized imports.
5961 * javax/swing/JProgressBar.java: Likewise.
5962 * javax/swing/JRootPane.java: Likewise.
5963 * javax/swing/JScrollBar.java: Likewise.
5964 * javax/swing/JSeparator.java: Likewise.
5965 * javax/swing/JSlider.java: Likewise.
5966 * javax/swing/JTabbedPane.java: Likewise.
5967 * javax/swing/JTextField.java: Likewise.
5968 * javax/swing/JToolBar.java: Likewise.
5969 * javax/swing/JTree.java: Likewise.
5970 * javax/swing/JViewport.java: Likewise.
5971 * javax/swing/JWindow.java: Likewise.
5972 * javax/swing/KeyStroke.java: Likewise.
5973 * javax/swing/LookAndFeel.java: Likewise.
5974 * javax/swing/MenuSelectionManager.java: Likewise.
5975 * javax/swing/SwingUtilities.java: Likewise.
5976 * javax/swing/Timer.java: Likewise.
5977 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5978 * javax/swing/JList.java
5979 (HORIZONTAL_WRAP): Made final, fixed value.
5980 (VERTICAL): Likewise.
5981 (VERTICAL_WRAP): Likewise.
5983 2004-06-07 Michael Koch <konqueror@gmx.de>
5985 * javax/swing/AbstractButton.java
5986 (serialVersionUID): New member variable.
5987 (AccessibleAbstractButton.serialVersionUID): Likewise.
5988 (AbstractButton): Made public.
5989 * javax/swing/Box.java
5990 (AccessibleBox.serialVersionUID): New member variable.
5991 (Filler.serialVersionUID): Likewise.
5992 * javax/swing/DefaultListSelectionModel.java
5993 (serialVersionUID): Likewise.
5994 * javax/swing/JApplet.java
5995 (serialVersionUID): Likewise.
5996 * javax/swing/JCheckBox.java
5997 (serialVersionUID): Likewise.
5998 * javax/swing/JCheckBoxMenuItem.java
5999 (serialVersionUID): Likewise.
6000 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6001 * javax/swing/JColorChooser.java
6002 (serialVersionUID): Likewise.
6003 (AccessibleJColorChooser.serialVersionUID): Likewise.
6004 * javax/swing/JComponent.java
6005 (serialVersionUID): Made private.
6006 (AccessibleJComponent.serialVersionUID): New member variable.
6007 * javax/swing/JDesktopPane.java
6008 (serialVersionUID): Likewise.
6009 * javax/swing/JDialog.java
6010 (serialVersionUID): Likewise.
6011 * javax/swing/JFormattedTextField.java
6012 (serialVersionUID): Fixed value.
6013 * javax/swing/JFrame.java
6014 (serialVersionUID): New member variable.
6015 (getDefaultCloseOpertation): Made public.
6016 * javax/swing/JLayeredPane.java
6017 (serialVersionUID): Likewise.
6018 (LAYER_PROPERTY): Made final, fixed value.
6019 (JLayeredPane): Made public.
6020 * javax/swing/JMenu.java
6021 (AccessibleJMenu.serialVersionUID): New member variable.
6022 (WinListener.serialVersionUID): Likewise.
6023 * javax/swing/JMenuBar.java
6024 (serialVersionUID): Likewise.
6025 (getComponentAtIndex): Added @deprecated tag.
6026 * javax/swing/JMenuItem.java
6027 (serialVersionUID): New member variable.
6028 (AccessibleJMenuItem.serialVersionUID): Likewise.
6029 * javax/swing/JOptionPane.java
6030 (serialVersionUID): Likewise.
6031 (AccessibleJOptionPane.serialVersionUID): Likewise.
6032 * javax/swing/JPopupMenu.java
6033 (serialVersionUID): Likewise.
6034 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6035 (getPopupMenuListeners): New method.
6036 (getComponentAtIndex): Added @deprecated tag.
6037 * javax/swing/JProgressBar.java
6038 (serialVersionUID): New member variable.
6039 (AccessibleJProgressBar.serialVersionUID): Likewise.
6040 * javax/swing/JRadioButton.java
6041 (serialVersionUID): Likewise.
6042 * javax/swing/JRadioButtonMenuItem.java
6043 (serialVersionUID): Likewise.
6044 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6045 * javax/swing/JScrollBar.java
6046 (serialVersionUID): Likewise.
6047 (AccessibleJScrollBar.serialVersionUID): Likewise.
6048 * javax/swing/JSeparator.java
6049 (serialVersionUID): Likewise.
6050 (AccessibleJSeparator.serialVersionUID): Likewise.
6051 * javax/swing/JSlider.java: Fixed javadocs.
6052 (AccessibleJSlider.serialVersionUID): New member variable.
6053 * javax/swing/JSplitPane.java: Added copyright statement.
6054 (serialVersionUID): New member variable.
6055 (AccessibleJSplitPane.serialVersionUID): Likewise.
6056 * javax/swing/JTabbedPane.java
6057 (serialVersionUID): Likewise.
6058 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6059 (ModelListener.serialVersionUID): Likewise.
6060 (ModelListener.ModelListener): New constructor.
6061 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6062 (WRAP_TAB_LAYOUT): Likewise.
6063 * javax/swing/JTable.java
6064 (serialVersionUID): New member variable.
6065 * javax/swing/JToggleButton.java
6066 (serialVersionUID): Likewise.
6067 (ToggleButtonModel): Made static.
6068 (ToggleButtonModel.serialVersionUID): New member variable.
6069 * javax/swing/JToolTip.java
6070 (serialVersionUID): Likewise.
6071 * javax/swing/JTree.java
6072 (serialVersionUID): Likewise.
6073 * javax/swing/JWindow.java
6074 (serialVersionUID): Likewise.
6075 * javax/swing/Timer.java
6076 (serialVersionUID): Likewise.
6078 2004-06-06 Michael Koch <konqueror@gmx.de>
6080 * javax/swing/SwingConstants.java
6081 (NEXT): New constant.
6082 (PREVIOUS): Likewise.
6083 * javax/swing/UIManager.java
6084 (LookAndFeel): Made public.
6085 (LookAndFeel.getClassName): Likewise.
6086 (LookAndFeel.getName): Likewise.
6088 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6090 * javax/swing/JCheckBoxMenuItem.java:
6092 * javax/swing/JMenu.java: Likewise.
6093 * javax/swing/JMenuBar.java: Likewise.
6094 * javax/swing/JMenuItem.java: Likewise.
6095 * javax/swing/JPopupMenu.java: Likewise.
6096 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6097 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6098 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6099 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6100 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6101 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6102 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6104 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6106 * javax/swing/plaf/basic/BasicMenuUI.java:
6107 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6108 Call getPath() from super class instead.
6110 2004-05-31 David Jee <djee@redhat.com>
6112 * java/awt/Container.java
6113 (remove): Set component visibility to false after removing it.
6115 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6117 * java/awt/Component.java (getForeground): Return SystemColor if
6119 (getBackground): Likewise.
6121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6122 (item_highlighted): New function.
6123 (connectSignals): Set item_highlighted as list's select
6126 * java/applet/Applet.java: Revert changes from 2004-04-29,
6127 2004-03-15 and 2004-03-14.
6129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6130 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6133 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6134 "Dialog" as the default font.
6135 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6137 * java/awt/Component.java (getFont): Return "Dialog" font by
6139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6140 Multiply size argument to pango_font_description_set_size by the
6141 DPI conversion factor rather than by PANGO_SCALE.
6142 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6151 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6152 Divide baseline y coordinate by DPI conversion factor rather
6153 than by PANGO_SCALE.
6154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6155 (area_prepared): Fix typo.
6156 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6157 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6159 (dpi_conversion_factor): New global variable.
6160 (init_dpi_conversion_factor): New function to calculate and
6161 track DPI conversion factor.
6162 (dpi_changed_cb): New callback.
6163 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6165 2004-05-27 David Jee <djee@redhat.com>
6167 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6168 (getGraphics): Return a new GdkGraphics instance.
6169 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6170 (getGraphics): Call super.getGraphics().
6172 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6175 (setNativeBounds): Clamp width and height values to >= 0.
6177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6178 (find_fg_color_widget): Handle GtkOptionMenu specially.
6180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6181 (pre_event_handler): Only post configure events to visible
6184 2004-05-26 David Jee <djee@redhat.com>
6186 * java/awt/BorderLayout.java
6187 (layoutContainer): Fix size calculations.
6189 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6192 (window_wm_protocols_filter): Remove function.
6193 (create): Remove filter that removes WM_TAKE_FOCUS client
6196 2004-06-17 Anthony Green <green@redhat.com>
6198 * java/util/zip/ZipFile.java (getInputStream): Return null if
6201 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6202 directory contents to the class path.
6204 2004-06-15 Andrew Haley <aph@redhat.com>
6206 * java/lang/natSystem.cc (getenv0): Don't assume environment
6207 variable is Latin 1 coded.
6209 2004-06-14 Andreas Jaeger <aj@suse.de>
6211 * configure.in: Support --enable-version-specific-runtime-libs.
6212 * configure: Regenerated.
6214 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6216 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6217 to pass ClassLoader argument.
6218 * java/util/GregorianCalendar.java: Likewise.
6219 * java/util/Currency.java: Likewise.
6220 * java/text/BreakIterator.java: Likewise.
6221 * java/text/Collator.java: Likewise.
6222 * java/text/DateFormat.java: Likewise.
6223 * java/text/DateFormatSymbols.java: Likewise.
6224 * java/text/DecimalFormatSymbols.java: Likewise.
6225 * java/text/NumberFormat.java: Likewise.
6226 * java/awt/Window.java: Likewise.
6228 2004-06-14 Andrew Haley <aph@redhat.com>
6230 * java/lang/System.java: (getenv0): New method.
6231 (getenv): Add security check. Do the right thing.
6232 * java/lang/natSystem.cc (getenv0): New method.
6234 2004-06-12 Mark Wielaard <mark@klomp.org>
6236 * javax/swing/RepaintManager.java
6237 (paintDirtyRegions): Use entrySet(), not values().
6239 2004-06-10 Mark Wielaard <mark@klomp.org>
6241 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6244 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6246 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6247 when we already know the answer.
6248 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6249 (setStartRule,setEndRule): Don't take abs of day number.
6250 (getOffset): Clarify docs. Add argument checks.
6251 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6252 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6255 2004-06-10 Tom Tromey <tromey@redhat.com>
6257 * interpret.cc (run): Handle wide fload.
6259 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6261 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6263 2004-06-05 Michael Koch <konqueror@gmx.de>
6265 * javax/swing/SwingConstants.java
6266 (NEXT): New constant.
6267 (PREVIOUS): Likewise.
6269 2004-06-05 Michael Koch <konqueror@gmx.de>
6271 * javax/swing/UIManager.java
6272 (LookAndFeel): Made public.
6273 (LookAndFeel.getName): Likewise.
6274 (LookAndFeel.getClassName): Likewise.
6276 2004-06-03 Michael Koch <konqueror@gmx.de>
6278 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6279 (requestFocus): Revert last changes.
6280 (gtkRequestFocus): Removed.
6281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6282 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6284 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6285 Reverted last patch.
6286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6287 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6288 Reverted comment change.
6290 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6292 * javax/swing/JCheckBoxMenuItem.java:
6294 * javax/swing/JMenu.java: Likewise.
6295 * javax/swing/JMenuBar.java: Likewise.
6296 * javax/swing/JMenuItem.java: Likewise.
6297 * javax/swing/JPopupMenu.java: Likewise.
6298 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6299 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6300 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6301 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6302 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6303 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6304 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6306 2004-06-01 Tom Tromey <tromey@redhat.com>
6308 * java/io/ObjectStreamField.java: Cleaned up imports.
6310 2004-06-01 Michael Koch <konqueror@gmx.de>
6312 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6314 2004-06-01 Mark Wielaard <mark@klomp.org>
6316 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6318 2004-06-01 Michael Koch <konqueror@gmx.de>
6320 * java/security/Security.java
6321 (insertProviderAt): Use equals() instead of ==.
6322 (removeProvicer): Likewise.
6323 (getProvider): Likewise.
6324 * java/security/Signature.java
6325 (sign): Don't set state to UNINITIALIZED.
6328 2004-06-01 Mark Wielaard <mark@klomp.org>
6330 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6331 Implement by calling gtkRequestFocus.
6332 (gtkRequestFocus): New native method.
6333 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6334 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6336 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6338 (filter_expose_event_handler):
6340 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6341 (menu_pos): Mark static.
6343 2004-06-01 Michael Koch <konqueror@gmx.de>
6345 * java/text/CollationElementIterator.java,
6346 java/text/CollationKey.java,
6347 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6348 * testsuite/libjava.mauve/xfails: Removed all
6349 java.text.CollationElementIterator tests.
6351 2004-06-01 Michael Koch <konqueror@gmx.de>
6353 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6355 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6356 Java 1.5 keyword usage.
6358 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6360 * javax/swing/plaf/basic/BasicMenuUI.java:
6361 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6362 Call getPath() from super class instead.
6364 2004-05-31 Michael Koch <konqueror@gmx.de>
6366 * java/io/SequenceInputStream.java:
6367 Rename enum to e because enum is a keyword in Java 1.5.
6369 2004-05-31 Michael Koch <konqueror@gmx.de>
6371 * gnu/java/rmi/rmic/CompilerProcess.java:
6372 Fixed javadoc to by XHTML compliant.
6374 2004-05-30 Mark Wielaard <mark@klomp.org>
6376 * java/awt/Toolkit.java (loadSystemColors): Implement.
6378 2004-05-30 Michael Koch <konqueror@gmx.de>
6380 * java/lang/System.java: Reordered imports.
6382 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6384 * java/text/DecimalFormat.java
6385 (parse): Fixed parsing of decimal strings. Number of maximum
6386 digits to be read should now work.
6387 * java/text/SimpleDateFormat.java
6388 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6389 formatter. This fixes DateFormatTest.
6391 2004-05-30 Michael Koch <konqueror@gmx.de>
6393 * java/nio/Buffer.java
6394 (limit): Fixed off by one error.
6395 * java/nio/CharBuffer.java
6396 (wrap): Fixed arguments, added javadocs.
6398 2004-05-30 Michael Koch <konqueror@gmx.de>
6400 * gnu/java/beans/BeanInfoEmbryo.java,
6401 java/awt/im/InputContext.java,
6402 javax/swing/tree/DefaultMutableTreeNode.java:
6403 Rename enum to e because enum is a keyword in Java 1.5.
6405 2004-05-30 Michael Koch <konqueror@gmx.de>
6407 * gnu/java/math/MPN.java,
6408 java/awt/geom/Arc2D.java:
6409 Fixed javadocs all over.
6411 2004-05-30 Michael Koch <konqueror@gmx.de>
6413 * java/awt/DefaultKeyboardFocusManager.java
6414 (dispatchEvent): Call method to get key event dispatchers.
6415 (dispatchKeyEvent): Call method to get key event post processors.
6416 * javax/swing/JComponent.java
6417 (listenerList): Made protected.
6418 * javax/swing/JOptionPane.java
6419 (message): Don't initialize.
6420 (JOptionPane): Set message text.
6421 * javax/swing/JPopupMenu.java
6422 (show): Fixed typo in argument name.
6423 * javax/swing/RepaintManager.java
6424 (paintDirtyRegions): Use public API of java.util.Map.
6425 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6426 (positionForMouseEvent): Removed redundant ';'.
6427 (continueDrag): Use method arguments.
6429 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6431 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6434 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6436 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6438 * gnu/gcj/RawDataManaged.java: New file.
6439 * java/lang/Thread.java (data): Declare as RawDataManaged.
6440 * java/lang/natThread.cc (init_native): Cast natThread data to
6441 RawDataManaged, not jobject.
6442 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6443 * Makefile.in: Rebuilt.
6445 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6447 * java/util/SimpleTimeZone.java: Reverting my last change until I
6448 can fix it properly.
6450 2004-05-27 Michael Koch <konqueror@gmx.de>
6452 * javax/swing/JPopupMenu.java
6453 (isVisible): Do not use visible directly.
6454 (setVisible): Likewise.
6455 * javax/swing/JWindow.java
6456 (JWindow): call accessible constructor.
6457 * javax/swing/RepaintManager.java
6458 (paintDirtyRegions): Use public methods to obtain iterator.
6460 2004-05-25 David Jee <djee@redhat.com>
6462 * java/awt/Container.java
6463 (remove): Set component's parent to null only after we removed the
6464 component from its parent's layout manager.
6466 2004-05-25 David Jee <djee@redhat.com>
6468 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6469 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6471 * gnu/java/awt/peer/gtk/GtkListPeer.java
6472 (getSize): Change native method declaration.
6473 (minimumSize): Pass visible row count into getSize().
6474 (preferredSize): Likewise.
6475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6476 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6477 natural size. Use visible row count to determine the final height
6480 2004-05-21 Graydon Hoare <graydon@redhat.com>
6482 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6483 (setClip): Minor correction to order of operations.
6485 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6486 * javax/swing/ScrollPaneLayout.java: Likewise.
6487 * javax/swing/JViewPort.java: Likewise.
6488 * javax/swing/ViewportLayout.java: Likewise.
6490 * javax/swing/JComponent.java: Rewrite.
6491 * javax/swing/RepaintManager.java: Likewise.
6493 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6494 * javax/swing/JList.java
6495 (setSelectedIndices):
6496 (getSelectedIndices):
6497 (getSelectedValues): New functions.
6498 (getPreferredScrollableViewportSize): Return preferred size.
6499 (getScrollableUnitIncrement):
6500 (getScrollableBlockIncrement): Initial implementations.
6501 * javax/swing/JRootPane.java: Clean up slightly.
6506 (isValidateRoot): Add overrides from JComponent.
6507 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6508 * javax/swing/UIManager.java (getDimension): Return the dimension.
6510 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6511 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6512 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6513 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6514 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6515 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6516 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6517 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6518 Likewise, and set background.
6519 * javax/swing/plaf/basic/BasicListUI.java:
6520 Likewise, and improve a bit.
6521 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6522 Likewise, and adjust calculations.
6523 * javax/swing/plaf/basic/BasicViewportUI.java:
6524 Likewise, and improve a bit.
6525 * javax/swing/plaf/basic/BasicLookAndFeel.java
6526 (Button.margin): Shrink.
6528 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6529 Hack to set horizontal always, workaround pango.
6531 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6533 Synchronize more often, check cairo status after ops,
6534 handle changes to cairo pattern API, check for disposal.
6536 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6538 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6539 (BasicMenuItemUI): Create propertyChangeListener.
6540 (getPath):Implemented.
6541 (installListeners): Add propertyChangeListener to menuItem.
6542 (uninstallListeners): Remove propertyChangeListener from menuItem.
6543 (update): Implemented.
6544 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6545 (mouseEntered): Take insets of popup menu into account when
6546 calculating position of popup menu.
6548 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6550 * Makefile.am: Added new file.
6551 * Makefile.in: Regenerate.
6552 * javax/swing/JMenuBar.java:
6553 Started implementation.
6554 * javax/swing/JPopupMenu.java:
6555 (setVisible): Fixed location of lightweight/mediumweight
6557 (show): Fixed location of PopupMenu.
6558 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6559 New file. UI Delegate for JMenuBar.
6560 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6561 (mouseEntered): Corrected position of the submenu.
6563 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6566 to _gtk_accel_group_attach.
6567 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6570 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6571 package access. Don't override setFont.
6572 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6573 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6574 gtkWidgetRequestFocus package access.
6575 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6577 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6578 Give gtkWidgetRequestFocus package access.
6579 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6580 gtkWidgetRequestFocus package access. Don't override setFont.
6581 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6583 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6584 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6586 (gtkSetFont): Likewise.
6587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6590 (gtkSetFont): Whitespace fix.
6592 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6593 (gtkWidgetSetUsize): Remove method.
6595 2004-05-18 David Jee <djee@redhat.com>
6597 * java/awt/image/MemoryImageSource.java
6598 (newPixels(int,int,int,int,boolean)): Set only the specified
6599 rectangle of pixels.
6600 (newPixels(byte[],ColorModel,int,int)): Implement.
6601 (newPixels(int[],ColorModel,int,int)): Implement.
6603 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6605 * Makefile.am: Added new file.
6606 * Makefile.in: Regenerate.
6607 * javax/swing/JMenu.java: Started
6609 * javax/swing/JPopupMenu.java:
6610 (insert): If specified index is -1, then
6611 add component at the end.
6612 (isPopupTrigger): Reimplemented.
6613 (JPopupMenu.LightWeightPopup): setBounds
6614 of the lightWeightPopup before adding it
6616 (javax/swing/plaf/basic/BasicIconFactory.java):
6617 (getMenuArrowIcon): Implemented.
6618 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6619 (getPreferredSize): Add size of the arrow icon
6620 if this menu item is instance of JMenu.
6621 (paintMenuItem): Paint arrow icon if this
6622 menu item is a submenu.
6623 * javax/swing/plaf/basic/BasicMenuUI.java:
6624 New File. UI Delegate for JMenu.
6626 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6628 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6629 Post KEY_TYPED events.
6630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6631 (generates_key_typed_event): Remove function.
6633 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6635 * javax/swing/JRootPane.java
6636 (JRootPane.RootLayout): Reimplemented to
6637 set bounds of contentPane and menuBar.
6638 (setJMenuBar): Add menu bar to the layered pane.
6639 (createLayeredPane): Set layout of layeredPane
6641 * javax/swing/JLayeredPane.java:
6642 (addImpl): Calculate index of the component in the
6643 layeredPane according to the specified position within
6646 2004-05-17 David Jee <djee@redhat.com>
6648 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6649 (setPixels): Change color model to the default model after
6651 * java/awt/image/MemoryImageSource.java
6652 (newPixels): Set only the specified rectangle of pixels.
6654 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6656 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6657 -l-java-beans -l-javax-accessibility -l-javax-swing.
6659 * java/awt/AWTEvent.java (toString): Print source's name rather
6660 than the source itself.
6662 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6664 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6667 (gdk_color_to_java_color): New function.
6668 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6670 2004-05-12 David Jee <djee@redhat.com>
6672 * java/awt/image/RGBImageFilter.java:
6673 Initialize origmodel as null.
6674 (makeColor): Fix pixel component order.
6675 (filterRGBPixels): Fix pixel iteration.
6676 (setPixels): Add extra checks for index color model. Convert pixels
6677 to default color model if necessary.
6678 (convertColorModelToDefault): New override method for byte pixels.
6679 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6680 (makeColorbyDefaultCM): New override method for byte pixels.
6681 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6682 (makeColor): Fix pixel component order.
6684 2004-05-11 Kim Ho <kho@redhat.com>
6686 * javax/swing/Box.java:
6687 Comment out more parts of Box.Filler.
6689 2004-05-11 Kim Ho <kho@redhat.com>
6691 * javax/swing/Box.java:
6692 Remove reference to AccessibleAWTComponent so
6695 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6697 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6698 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6699 implementation of list peer to use GtkTreeView instead of
6700 deprecated GtkCList.
6702 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6704 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6705 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6706 (handleEvent): Remove keyChar argument to
6707 gtkWidgetDispatchKeyEvent calls.
6708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6710 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6715 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6717 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6718 (gtkWidgetRequestFocus): Mark protected.
6719 (GtkComponentPeer): Only set the peer's bounds if its component
6721 * java/awt/Component.java (static): Set the default keyboard
6723 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6724 requestFocusInWindow(temporary)): Don't request focus if the
6725 component is not showing. Get tree lock before traversing
6726 component hierarchy.
6727 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6728 Only set the global focus owner if it is not a Window.
6729 (processKeyEvent): Consume keystrokes associated with the focus
6730 traversal keystroke.
6731 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6732 downFocusCycle): Call requestFocusInWindow instead of
6734 * java/awt/EventDispatchThread.java (run): Move setting of
6735 default keyboard focus manager to Component.java.
6736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6737 (awt_keycode_to_keysym): New function.
6738 (gtkWidgetDispatchKeyEvent): Finish implementation.
6739 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6740 (pre_event_handler): Add FIXME comment.
6742 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6744 (gtkWidgetRequestFocus): New method.
6745 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6746 disable Tab and Shift-Tab keystrokes.
6747 (addNotify, appendText, insertText, replaceText): Simplify peer
6749 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6750 (connectSignals): Remove connections to "commit" signals.
6751 Remove C++-style comments.
6753 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6754 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6755 (handleEvent): Activate GTK button when the space bar key is
6757 (gtkActivate): New method.
6759 2004-05-06 David Jee <djee@redhat.com>
6761 * java/awt/image/CropImageFilter.java
6762 (setPixels): Implement for byte array pixels.
6763 * java/awt/image/ReplicateScaleFilter.java
6764 (setPixels): Implement for byte array pixels.
6765 (replicatePixels): Overload for byte array pixels.
6767 2004-05-06 Kim Ho <kho@redhat.com>
6769 * javax/swing/Box.java:
6770 (getAccessibleContext): Return an instance of the
6773 2004-05-05 David Jee <djee@redhat.com>
6775 * gnu/java/awt/peer/gtk/GdkGraphics.java
6776 (drawImage): When component is null, use SystemColor.window as
6777 the default bgcolor.
6778 * gnu/java/awt/peer/gtk/GtkImage.java
6779 (setPixels): We can avoid iterating through the pixel rows only
6781 * java/awt/Image.java
6782 (getScaledInstance): Partially implement.
6783 * java/awt/image/CropImageFilter.java
6784 (setProperties): Fix "filter" property.
6785 (setPixels): Implement.
6786 * java/awt/image/ReplicateScaleFilter.java
6787 (setDimensions): Use scaled dimensions.
6788 (setPixels): Implement.
6789 (replicatePixels): New method.
6791 2004-05-05 David Jee <djee@redhat.com>
6793 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6794 (convertPixels): If either pixels or model is null, return null.
6795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6796 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6797 is null, do nothing and return.
6799 2004-05-03 Kim Ho <kho@redhat.com>
6801 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6802 (getGraphics): Like GtkFramePeer, the Graphics
6803 object needs to be translate to account for
6805 (postMouseEvent): New method. Account for
6807 (postExposeEvent): ditto.
6808 * javax/swing/Box.java: Stubbed.
6809 * javax/swing/JDialog.java: Ran through jalopy
6811 (JDialog): Call SwingUtilities' getOwnerFrame
6813 (setLayout): Check isRootPaneCheckingEnabled
6814 * javax/swing/JOptionPane.java: Re-implemented.
6815 * javax/swing/SwingUtilities.java:
6816 (getOwnerFrame): Static method to grab a default
6817 owner frame for Dialogs that don't specify owners.
6818 * javax/swing/event/SwingPropertyChangeSupport.java:
6819 (firePropertyChange): Fix early exit condition.
6820 * javax/swing/plaf/basic/BasicLabelUI.java:
6821 (paint): Avoid painting text if it is null
6823 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6826 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6828 * Makefile.am: Added new file.
6829 * Makefile.in: Regenerate.
6830 * javax/swing/JPopupMenu.java:
6831 Started implementation.
6832 * javax/swing/JWindow.java
6833 (JWindow): call super() if parent for window
6835 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6836 New File. UI Delegate for JPopupMenu.
6838 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6840 * javax/swing/JApplet.java: Indicated that JApplet
6841 implements RootPaneContainer and made method of this
6843 * javax/swing/JFrame.java: Ditto.
6844 * javax/swing/JWindow.java: Ditto.
6846 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6849 (nativeSetBounds): Call gdk_window_move in addition to
6852 * java/applet/Applet.java (preferredSize): Call parent's
6853 preferredSize if the applet stub is null.
6854 (minimumSize): Likewise for parent's minimumSize.
6856 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6858 * javax/swing/JMenuItem.java
6859 (createActionPropertyChangeListener): Implemented.
6860 (processMouseEvent): Ditto.
6861 (fireMenuDragMouseEntered): Ditto.
6862 (fireMenuDragMouseExited): Ditto.
6863 (fireMenuDragMouseDragged): Ditto.
6864 (fireMenuDragMouseReleased): Ditto.
6865 (menuSelectionChanged): Ditto.
6866 (getSubElements): Ditto.
6867 (getComponent): Ditto.
6868 (addMenuDragMouseListener): Ditto.
6869 (removeMenuDragMouseListener):Ditto.
6870 (addMenuKeyListener): Ditto.
6871 (removeMenuKeyListener): Ditto.
6872 * javax/swing/plaf/basic/BasicMenuItemUI.java
6873 (doClick): Imlemented.
6874 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6875 Don't handle mouse events here. Pass them to
6876 MenuSelectionManager.
6878 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6879 Used correct version of jalopy configuration
6880 file to fix style in the files below.
6882 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6884 * javax/swing/JCheckBoxMenuItem.java:
6885 Fixed style and removed unnecessary comments.
6886 * javax/swing/JMenuItem.java: Ditto.
6887 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6888 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6889 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6890 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6892 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6894 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6897 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6899 * java/awt/ContainerOrderFocusTraversalPolicy.java
6900 (getComponentAfter): Start from current component and work up
6901 the component hierarchy until an acceptable component is found.
6902 Synchronize on tree lock.
6903 (getComponentBefore): Likewise.
6905 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6907 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6908 focus-related debugging messages.
6909 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6910 * java/awt/EventDispatchThread.java: Likewise.
6911 * java/awt/KeyboardFocusManager.java: Likewise.
6912 * java/awt/Window.java: Likewise.
6913 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6914 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6917 new C++-style comments to C-style comments.
6918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6920 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6921 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6922 (handleEvent): Dispatch key press and key release events to
6924 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6925 (gtkWidgetRequestFocus): New method.
6926 (gtkWidgetDispatchKeyEvent): Likewise.
6927 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6928 requestFocusInWindow, requestFocusInWindow(boolean),
6929 getFocusCycleRootAncestor, nextFocus, transferFocus,
6930 transferFocusBackward, transferFocusUpCycle, hasFocus,
6931 isFocusOwner): Implement and document focus-handling methods.
6932 (setFocusTraversalKeys): Inherit focus traversal keys when
6933 keystrokes argument is null. Fix focus-handling documentation
6935 * java/awt/Container.java (setFocusTraversalKeys,
6936 getFocusTraversalKeys, areFocusTraversalKeysSet,
6937 isFocusCycleRoot, setFocusTraversalPolicy,
6938 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6939 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6940 Implement and document focus-handling methods.
6941 (transferFocusBackward): Remove method.
6942 (readObject, writeObject): Implement and document serialization
6944 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6946 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6948 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6950 * java/awt/EventDispatchThread.java (run): Set default keyboard
6951 focus manager. Attempt to dispatch each event to the keyboard
6952 focus manager before normal dispatch.
6953 * java/awt/KeyboardFocusManager.java: Implement and partially
6955 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6956 (show): Focus initial component when window is shown for the
6958 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6959 (pre_event_handler): Replace complex key press and key release
6960 logic with simple callbacks into GtkComponentPeer.
6961 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6963 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6965 * javax/swing/MenuSelectionManager.java
6966 (componentForPoint): Added new method.
6967 (defaultManager): New Method. Implemented.
6968 (getSelectedPath): Ditto.
6969 (isComponentPartOfCurrentMenu): Ditto.
6970 (processKeyEvent): Added new method.
6971 (processMouseEvent): New Method. Implemented.
6972 (setSelectedPath): Ditto.
6975 2004-04-19 Kim Ho <kho@redhat.com>
6977 * java/awt/Container.java:
6978 (remove): Set the component's parent to null.
6979 (getComponentAt): Implement.
6980 * javax/swing/JComponent.java:
6981 (JComponent): Initialize defaultLocale
6982 (getDefaultLocale): Implement.
6983 (setDefaultLocale): ditto.
6984 * javax/swing/JSlider.java:
6985 (JSlider): Fix calculation of value.
6986 * javax/swing/JSplitPane.java: Implement.
6987 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6988 Change SplitPane's default divider size.
6989 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6990 (paint): Remove unused code.
6991 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6992 Added comments and ran through jalopy.
6993 (setBasicSplitPaneUI): Get reference to hidden divider
6994 and set up one touch buttons if necessary.
6995 (setBorder): Fire propertyChangeEvent only if
6996 borders are different.
6997 (getPreferredSize): Defer to layout manager.
6998 (propertyChange): Implement.
6999 (oneTouchExpandableChanged): ditto.
7000 (createLeftOneTouchButton): Use BasicArrowButton.
7001 (createRightOneTouchButton): ditto.
7002 (moveDividerTo): New method. Moves the divider
7003 to a set location based on the last divider location.
7004 (BasicSplitPaneDivider::MouseHandler): Implement.
7005 (BasicSplitPaneDivider::OneTouchButton): Removed.
7006 (BasicSplitPaneDivider::DragController): Implement.
7007 (BasicSplitPaneDivider::VerticalDragController):
7009 (BasicSplitPaneDivider::DividerLayout): ditto.
7010 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7011 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7012 (calculateLayoutInfo): Don't show component if it's
7014 (paintTab): Fix title paint logic.
7016 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7019 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7020 (setStartRule,setEndRule): Don't take abs of day number.
7021 (getOffset): Clarify docs. Add argument checks.
7022 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7023 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7025 * testsuite/libjava.mauve/xfails
7026 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7028 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7030 Layout interfaces during preparation, not initialization.
7031 * java/lang/natClass.cc (initializeClass): Move
7032 _Jv_LayoutInterfaceMethods call...
7033 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7035 2004-05-19 Anthony Green <green@localhost.localdomain>
7037 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7039 * Makefile.in: Rebuilt.
7040 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7041 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7042 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7043 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7044 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7045 gnu/javax/rmi/CORBA/DelegateFactory.java,
7046 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7047 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7048 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7049 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7050 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7051 gnu/javax/rmi/PortableServer.java: Remove files.
7053 2004-05-19 Anthony Green <green@redhat.com>
7055 * Makefile.am: Define JAVA_EXT_DIRS.
7056 * Makefile.in: Rebuilt.
7057 * java/lang/natRuntime.cc (insertSystemProperties): Set
7058 java.ext.dirs property.
7060 2004-05-16 Mark Wielaard <mark@klomp.org>
7062 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7064 2004-05-15 Mark Wielaard <mark@klomp.org>
7066 * doc/cni.sgml: Removed, merged into gcj.texi.
7068 2004-05-15 Mark Wielaard <mark@klomp.org>
7070 * Makefile.am (ordinary_java_source_files): Add new javax.print
7072 * Makefile.in: Regenerated.
7074 2004-05-15 Michael Koch <konqueror@gmx.de>
7076 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7077 javax/print/attribute/standard/DateTimeAtCreation.java,
7078 javax/print/attribute/standard/DateTimeAtProcessing.java,
7079 javax/print/attribute/standard/DocumentName.java,
7080 javax/print/attribute/standard/JobHoldUntil.java,
7081 javax/print/attribute/standard/JobImpressionsCompleted.java,
7082 javax/print/attribute/standard/JobMessageFromOperator.java,
7083 javax/print/attribute/standard/JobName.java,
7084 javax/print/attribute/standard/JobOriginatingUserName.java,
7085 javax/print/attribute/standard/JobPriority.java,
7086 javax/print/attribute/standard/JobPrioritySupported.java,
7087 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7088 javax/print/attribute/standard/OutputDeviceAssigned.java,
7089 javax/print/attribute/standard/PrinterInfo.java,
7090 javax/print/attribute/standard/PrinterLocation.java,
7091 javax/print/attribute/standard/PrinterMakeAndModel.java,
7092 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7093 javax/print/attribute/standard/PrinterName.java,
7094 javax/print/attribute/standard/QueuedJobCount.java,
7095 javax/print/attribute/standard/RequestingUserName.java:
7096 Fixed javadocs all over.
7098 2004-05-15 Michael Koch <konqueror@gmx.de>
7100 * javax/print/DocFlavor.java,
7101 javax/print/attribute/standard/ColorSupported.java,
7102 javax/print/attribute/standard/Compression.java,
7103 javax/print/attribute/standard/CopiesSupported.java,
7104 javax/print/attribute/standard/Fidelity.java,
7105 javax/print/attribute/standard/Finishings.java,
7106 javax/print/attribute/standard/JobImpressionsSupported.java,
7107 javax/print/attribute/standard/JobKOctetsSupported.java,
7108 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7109 javax/print/attribute/standard/JobSheets.java,
7110 javax/print/attribute/standard/JobState.java,
7111 javax/print/attribute/standard/JobStateReason.java,
7112 javax/print/attribute/standard/JobStateReasons.java,
7113 javax/print/attribute/standard/Media.java,
7114 javax/print/attribute/standard/MediaSizeName.java,
7115 javax/print/attribute/standard/MultipleDocumentHandling.java,
7116 javax/print/attribute/standard/NumberUpSupported.java,
7117 javax/print/attribute/standard/OrientationRequested.java,
7118 javax/print/attribute/standard/PDLOverrideSupported.java,
7119 javax/print/attribute/standard/PageRanges.java,
7120 javax/print/attribute/standard/PresentationDirection.java,
7121 javax/print/attribute/standard/PrintQuality.java,
7122 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7123 javax/print/attribute/standard/PrinterMoreInfo.java,
7124 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7125 javax/print/attribute/standard/PrinterResolution.java,
7126 javax/print/attribute/standard/PrinterState.java,
7127 javax/print/attribute/standard/PrinterStateReason.java,
7128 javax/print/attribute/standard/PrinterStateReasons.java,
7129 javax/print/attribute/standard/PrinterURI.java,
7130 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7131 javax/print/attribute/standard/Severity.java,
7132 javax/print/attribute/standard/SheetCollate.java,
7133 javax/print/attribute/standard/Sides.java:
7134 Added serialVersionUID and removed final keyword where it doenst
7137 2004-05-15 Michael Koch <konqueror@gmx.de>
7139 * javax/print/PrintServiceLookup.java: New file.
7141 2004-05-15 Michael Koch <konqueror@gmx.de>
7143 * javax/print/DocFlavor.java:
7144 Implemented all flavor classes.
7146 2004-05-15 Michael Koch <konqueror@gmx.de>
7148 * javax/print/attribute/standard/ColorSupported.java,
7149 javax/print/attribute/standard/Compression.java,
7150 javax/print/attribute/standard/CopiesSupported.java,
7151 javax/print/attribute/standard/Fidelity.java,
7152 javax/print/attribute/standard/Finishings.java,
7153 javax/print/attribute/standard/JobImpressionsSupported.java,
7154 javax/print/attribute/standard/JobKOctetsSupported.java,
7155 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7156 javax/print/attribute/standard/JobSheets.java,
7157 javax/print/attribute/standard/JobState.java,
7158 javax/print/attribute/standard/JobStateReason.java,
7159 javax/print/attribute/standard/JobStateReasons.java,
7160 javax/print/attribute/standard/Media.java,
7161 javax/print/attribute/standard/MediaSizeName.java,
7162 javax/print/attribute/standard/MultipleDocumentHandling.java,
7163 javax/print/attribute/standard/NumberUpSupported.java,
7164 javax/print/attribute/standard/OrientationRequested.java,
7165 javax/print/attribute/standard/PDLOverrideSupported.java,
7166 javax/print/attribute/standard/PageRanges.java,
7167 javax/print/attribute/standard/PresentationDirection.java,
7168 javax/print/attribute/standard/PrintQuality.java,
7169 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7170 javax/print/attribute/standard/PrinterMoreInfo.java,
7171 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7172 javax/print/attribute/standard/PrinterResolution.java,
7173 javax/print/attribute/standard/PrinterState.java,
7174 javax/print/attribute/standard/PrinterStateReason.java,
7175 javax/print/attribute/standard/PrinterStateReasons.java,
7176 javax/print/attribute/standard/PrinterURI.java,
7177 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7178 javax/print/attribute/standard/Severity.java,
7179 javax/print/attribute/standard/SheetCollate.java,
7180 javax/print/attribute/standard/Sides.java: New files.
7182 2004-05-15 Michael Koch <konqueror@gmx.de>
7184 * javax/print/Doc.java
7185 (getPrintData): Throws IOException.
7186 (getReaderForText): Likewise.
7187 (getStreamForBytes): Likewise.
7188 * javax/print/DocFlavor.java:
7189 Fixed filename in copyright.
7190 (serialVersionUID): New field.
7191 * javax/print/ServiceUIFactory.java:
7192 Made all constants final.
7193 * javax/print/AttributeException.java
7194 javax/print/MultiDoc.java
7195 javax/print/MultiDocPrintJob.java
7196 javax/print/MultiDocPrintService.java
7197 javax/print/StreamPrintService.java
7198 javax/print/URIException.java: New files.
7199 * javax/print/Makefile.am
7200 (EXTRA_DIST): Added all new files.
7202 2004-05-15 Michael Koch <konqueror@gmx.de>
7204 * javax/print/attribute/standard/Copies.java,
7205 javax/print/attribute/standard/DateTimeAtCompleted.java,
7206 javax/print/attribute/standard/DateTimeAtCreation.java,
7207 javax/print/attribute/standard/DateTimeAtProcessing.java,
7208 javax/print/attribute/standard/DocumentName.java,
7209 javax/print/attribute/standard/JobHoldUntil.java,
7210 javax/print/attribute/standard/JobImpressions.java,
7211 javax/print/attribute/standard/JobImpressionsCompleted.java,
7212 javax/print/attribute/standard/JobKOctets.java,
7213 javax/print/attribute/standard/JobKOctetsProcessed.java,
7214 javax/print/attribute/standard/JobMediaSheets.java,
7215 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7216 javax/print/attribute/standard/JobMessageFromOperator.java,
7217 javax/print/attribute/standard/JobName.java,
7218 javax/print/attribute/standard/JobOriginatingUserName.java,
7219 javax/print/attribute/standard/JobPriority.java,
7220 javax/print/attribute/standard/JobPrioritySupported.java,
7221 javax/print/attribute/standard/NumberOfDocuments.java,
7222 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7223 javax/print/attribute/standard/NumberUp.java,
7224 javax/print/attribute/standard/OutputDeviceAssigned.java,
7225 javax/print/attribute/standard/PagesPerMinute.java,
7226 javax/print/attribute/standard/PagesPerMinuteColor.java:
7227 Fixed @return tag all over.
7229 2004-05-15 Michael Koch <konqueror@gmx.de>
7231 * javax/print/attribute/AttributeSetUtilities.java
7232 (verifyCategoryForValue): Fixed typo in javadoc.
7233 * javax/print/attribute/HashAttributeSet.java
7234 (containsKey): Fixed @return tag.
7235 (comtainsValue): Likewise.
7237 * javax/print/attribute/IntegerSyntax.java
7239 * javax/print/attribute/ResolutionSyntax.java
7241 (getCrossFeedResolution): Removed unused code.
7242 (getFeedResolution): Likewise.
7243 * javax/print/attribute/SetOfIntegerSyntax.java
7244 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7245 (equals): Fixed @return tag.
7246 * javax/print/attribute/TextSyntax.java
7247 (TextSyntax): Take locale into account.
7248 (hashCode): Better implementation.
7250 2004-05-15 Michael Koch <konqueror@gmx.de>
7252 * javax/print/CancelablePrintJob.java,
7253 javax/print/Doc.java,
7254 javax/print/DocFlavor.java,
7255 javax/print/DocPrintJob.java,
7256 javax/print/FlavorException.java,
7257 javax/print/PrintException.java,
7258 javax/print/PrintService.java,
7259 javax/print/ServiceUIFactory.java: New files.
7261 2004-05-15 Mark Wielaard <mark@klomp.org>
7263 * gnu/regexp/CharIndexedReader.java: Removed.
7264 * gnu/regexp/REFilterReader.java: Likewise.
7265 * gnu/regexp/RETokenLookAhead.java: Likewise.
7266 * Makefile.am (ordinary_java_source_files): Remove above classes.
7267 * Makefile.in: Regenerated.
7269 2004-05-14 Tom Tromey <tromey@redhat.com>
7271 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7272 not `XGraphicsConfiguration.XOffScreenImage'.
7274 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7276 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7278 2004-05-14 Steven Augart <augart@watson.ibm.com>
7280 * include/jni.h (_Jv_func): Removed.
7281 (struct JNINativeInterface): Use `void *' for reserved slots.
7282 (struct JNIInvokeInterface): Likewise.
7284 2004-05-11 Michael Koch <konqueror@gmx.de>
7286 * gnu/java/net/natPlainSocketImplPosix.cc
7287 (read): Fixed typo in expression.
7289 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7291 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7292 ld_library_additions. Adjust all calls to libjava_invoke to match
7295 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7296 path to cxxflagslist.
7297 Pass path of libstdc++ to libjava_invoke.
7299 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7300 libjava_invoke arguments.
7302 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7304 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7307 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7309 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7310 main binary against the JNI shared library.
7312 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7314 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7315 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7316 (SimpleTimeZone): Tweak docs. Add new variation.
7317 (setStartRule,setEndRule): Add new variations. Use
7318 startTimeMode and endTimeMode.
7320 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7322 * java/util/Calendar.java (getActualMinimum,
7323 getActualMaximum): Remove abstract. Implement.
7325 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7327 Run the jni tests using the interpreter.
7328 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7329 options_cxx to shared lib compile command.
7330 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7331 they are used to link the shared lib, not the main binary.
7332 Use libjava_invoke to run gij.
7334 2004-05-06 Michael Koch <konqueror@gmx.de>
7336 * java/util/logging/Level.java
7337 (parse): Use == instead of String.equals().
7339 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7341 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7342 verify_field_signature and verify_method_signature, not
7343 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7344 (_Jv_ClassReader::handleField): Likewise.
7345 (_Jv_ClassReader::handleMethod): Likewise.
7347 2004-05-06 Michael Koch <konqueror@gmx.de>
7349 * javax/swing/table/TableColumn.java:
7352 2004-05-06 Michael Koch <konqueror@gmx.de>
7354 * javax/imageio/spi/ImageReaderWriterSpi.java
7355 (ImageReaderWriterSpi): Made it public.
7356 * javax/imageio/stream/ImageInputStream.java:
7359 2004-05-06 Michael Koch <konqueror@gmx.de>
7361 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7364 2004-05-06 Michael Koch <konqueror@gmx.de>
7366 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7367 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7370 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7372 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7373 their own source file.
7374 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7375 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7376 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7377 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7378 (create): Define variable on top of function.
7379 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7380 (menu_pos): Prototyped.
7381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7382 (setTitle): Removed.
7383 * jni/gtk-peer/gthread-jni.c
7384 (gdk_threads_wake): Removed.
7385 * Makefile.am (gtk_c_source_files): Added new files
7386 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7388 * Makefile.in: Regenerated.
7390 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7392 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7395 2004-05-05 Mark Wielaard <mark@klomp.org>
7397 * javax/swing/AbstractButton.java: Replace special HTML entities with
7399 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7400 * javax/swing/DefaultButtonModel.java: Likewise.
7401 * javax/swing/DefaultListModel.java: Likewise.
7402 * javax/swing/JList.java: Likewise.
7403 * javax/swing/JSlider.java: Likewise.
7404 * javax/swing/ListModel.java: Likewise.
7405 * javax/swing/Popup.java: Likewise.
7406 * javax/swing/SwingUtilities.java: Likewise.
7408 2004-05-05 Michael Koch <konqueror@gmx.de>
7410 * javax/swing/AbstractButton.java,
7411 javax/swing/ActionMap.java,
7412 javax/swing/DefaultButtonModel.java,
7413 javax/swing/DefaultListModel.java,
7414 javax/swing/ImageIcon.java,
7415 javax/swing/JComboBox.java,
7416 javax/swing/JComponent.java,
7417 javax/swing/JFrame.java,
7418 javax/swing/JInternalFrame.java,
7419 javax/swing/JMenuBar.java,
7420 javax/swing/JMenuItem.java,
7421 javax/swing/JOptionPane.java,
7422 javax/swing/JProgressBar.java,
7423 javax/swing/JRootPane.java,
7424 javax/swing/JScrollBar.java,
7425 javax/swing/JScrollPane.java,
7426 javax/swing/JSeparator.java,
7427 javax/swing/JSlider.java,
7428 javax/swing/JTabbedPane.java,
7429 javax/swing/JTable.java,
7430 javax/swing/JTextField.java,
7431 javax/swing/JToolBar.java,
7432 javax/swing/JToolTip.java,
7433 javax/swing/JTree.java,
7434 javax/swing/JViewport.java,
7435 javax/swing/JWindow.java,
7436 javax/swing/KeyStroke.java,
7437 javax/swing/LookAndFeel.java,
7438 javax/swing/SwingUtilities.java,
7439 javax/swing/Timer.java,
7440 javax/swing/ToolTipManager.java,
7441 javax/swing/UIDefaults.java,
7442 javax/swing/border/TitledBorder.java,
7443 javax/swing/filechooser/FileSystemView.java,
7444 javax/swing/plaf/basic/BasicButtonListener.java,
7445 javax/swing/plaf/basic/BasicButtonUI.java,
7446 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7447 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7448 javax/swing/plaf/basic/BasicLabelUI.java,
7449 javax/swing/plaf/basic/BasicMenuItemUI.java,
7450 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7451 javax/swing/plaf/basic/BasicRootPaneUI.java,
7452 javax/swing/plaf/basic/BasicScrollBarUI.java,
7453 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7454 javax/swing/plaf/basic/BasicSliderUI.java,
7455 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7456 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7457 javax/swing/table/JTableHeader.java,
7458 javax/swing/text/AbstractDocument.java,
7459 javax/swing/text/DefaultCaret.java,
7460 javax/swing/text/StyledEditorKit.java,
7461 javax/swing/tree/DefaultTreeCellEditor.java:
7464 2004-05-05 Michael Koch <konqueror@gmx.de>
7466 * java/util/prefs/AbstractPreferences.java
7467 (AbstractPreferences): Added parenthesis for clarity.
7468 Closes classpath bug #7940.
7470 2004-05-05 Tom Tromey <tromey@redhat.com>
7472 * javax/naming/CompoundName.java (endsWith): Look at correct
7473 element of source name.
7475 2004-05-05 Mark Wielaard <mark@klomp.org>
7477 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7478 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7480 2004-05-05 Tom Tromey <tromey@redhat.com>
7482 * java/io/BufferedReader.java (skip): Removed unused
7485 2004-05-05 Michael Koch <konqueror@gmx.de>
7487 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7489 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7491 * java/text/AttributedString.java,
7492 java/text/AttributedStringIterator.java,
7493 java/text/Collator.java,
7494 java/text/DecimalFormatSymbols.java,
7495 java/text/NumberFormat.java,
7496 java/text/RuleBasedCollator.java:
7499 2004-05-05 Tom Tromey <tromey@redhat.com>
7501 * java/text/Format.java: Cleaned up imports.
7502 * java/text/DecimalFormat.java: Cleaned up imports.
7503 * java/security/SecureRandom.java: Cleaned up imports.
7504 (SecureRandom): Removed unused variable.
7505 * java/security/UnresolvedPermission.java: Cleaned up imports.
7506 * java/util/Date.java (parse): Removed unused variable.
7507 * java/util/ResourceBundle.java: Cleaned up imports.
7508 (getBundle): Removed unused variable.
7509 (tryBundle): Likewise.
7510 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7512 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7514 * java/text/SimpleDateFormat.java:
7515 (formatWithAttribute): New method. It implements
7516 the formatting process with attributes.
7517 (format): Use formatWithAttribute.
7518 (formatToCharacterIterator): New method. Use
7519 formatWithAttribute.
7521 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7523 * java/text/MessageFormat.java:
7524 (class Field): New class.
7525 (formatToCharacterIterator): New method.
7526 (format): Use formatInternal now.
7527 (formatInternal): New method. String formatter should
7528 be done here (with attributes). Attributes merging supported.
7529 (parse): More documentation.
7530 (getFormatsByArgumentIndex): New method.
7531 (setFormatByArgumentIndex): New method.
7532 (setFormatsByArgumentIndex): New method.
7534 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7536 * java/text/DecimalFormat.java
7537 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7538 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7539 (parse): Fixed handling of exponentiation notation and grouping.
7541 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7543 * java/text/DecimalFormat.java
7544 (scanFix): Build attribute array. Fixed error reporting.
7545 (applyPatternWithSymbols): Store attributes for the prefix and
7547 (formatInternal): New method. Changed the way the string is
7548 computed. Implemented attributes. Cleant up rounding in
7549 exponential notation.
7550 (format): Use formatInternal.
7551 (formatToCharacterIterator): New method.
7552 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7553 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7554 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7557 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7559 * java/security/interfaces/DSAKeyPairGenerator.java,
7560 java/security/interfaces/DSAPrivateKey.java,
7561 java/security/interfaces/DSAPublicKey.java,
7562 java/security/interfaces/RSAPrivateKey.java,
7563 java/security/interfaces/RSAPublicKey.java:
7566 2004-05-04 Michael Koch <konqueror@gmx.de>
7568 * java/nio/ByteBuffer.java,
7569 java/nio/CharBuffer.java,
7570 java/nio/DoubleBuffer.java,
7571 java/nio/FloatBuffer.java,
7572 java/nio/IntBuffer.java,
7573 java/nio/LongBuffer.java,
7574 java/nio/ShortBuffer.java:
7575 (compareTo): Fixed bogus implementation in all buffer classes.
7577 2004-05-04 Ingo Proetel <proetel@aicas.com>
7579 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7580 32 bit pixels not 8 bit pixels.
7581 (isCompatibleRaster): Added javadoc comment.
7583 2004-05-04 Ingo Proetel <proetel@aicas.com>
7585 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7588 2004-05-04 Ingo Proetel <proetel@aicas.com>
7590 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7591 (getColorModel): Return the actual color model.
7592 (getRaster): Implemented.
7593 (ColorRaster): New inner class.
7594 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7596 * java/awt/Color.java (<init>): Make exception more verbose.
7597 (createContext): Use ColorModel when creating a PaintContext.
7599 2004-05-04 Michael Koch <konqueror@gmx.de>
7601 * gnu/java/text/CharacterBreakIterator.java
7602 (previous): Removed unused variable.
7604 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7606 * gnu/java/text/FormatBuffer.java,
7607 gnu/java/text/AttributedFormatBuffer.java,
7608 gnu/java/text/StringFormatBuffer.java: New classes to implement
7609 attributed iterators in java.text.
7610 * gnu/java/text/FormatCharacterIterator.java: Moved
7611 from java/text as it is an internal class.
7612 * java/text/FormatCharacterIterator.java: Removed.
7613 * java/text/Format.java:
7614 Import gnu.java.text.FormatCharacterIterator.
7615 * Makefile.am (java_source_files): Added new files.
7616 * Makefile.in: Regenerated.
7619 2004-05-04 Mark Wielaard <mark@klomp.org>
7621 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7623 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7625 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7626 * Makefile.in: Rebuilt.
7628 2004-05-03 Mark Wielaard <mark@klomp.org>
7630 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7631 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7633 (set(String, String, int, String, String, String, String, String)):
7634 Assign this.file to path or path + "?" + query.
7635 * java/util/Arrays.java: Call static methods staticly.
7636 * java/util/zip/ZipEntry.java: Likewise.
7637 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7638 dir to this.direction.
7639 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7640 Assign static field only once.
7641 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7643 2004-05-03 Mark Wielaard <mark@klomp.org>
7645 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7646 unused variables hScrollbarHeight and vScrollbarWidth.
7647 (preferredSize): Likewise.
7648 * gnu/java/security/provider/DSAParameters.java (engineToString):
7649 Removed unused call to System.getProperty("line.seperator");
7650 * java/security/Security.java (loadProviders): Return result.
7652 2004-05-03 Tom Tromey <tromey@redhat.com>
7654 * java/net/URLStreamHandler.java (toExternalForm): Removed
7657 * java/math/BigDecimal.java (divide): Removed unused variable.
7658 * java/lang/Throwable.java: Cleaned up imports.
7659 * java/lang/ClassLoader.java: Cleaned up imports.
7660 * java/io/FilePermission.java (implies): Removed unused
7662 * java/awt/TextComponent.java: Removed unused import.
7663 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7664 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7665 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7666 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7668 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7669 * gnu/java/text/CharacterBreakIterator.java: Removed
7671 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7673 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7674 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7676 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7677 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7678 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7679 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7680 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7681 (lookupProviders): Removed unused variable.
7682 (loadNextServiceProvider): Likewise.
7683 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7685 2004-05-03 Michael Koch <konqueror@gmx.de>
7687 Fixes PR libgcj/14695:
7688 * java/net/NetworkInterface.java
7689 (getByName): Return null when no interface was found.
7691 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7692 Tom Tromey <tromey@redhat.com>
7694 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7695 additional option "-Wmissing-prototypes" for compiling C sources.
7696 Print actual filename for pass/fail rather than $name.c.
7697 * testsuite/libjava.jni/PR15133.java: New testcase file.
7698 * testsuite/libjava.jni/PR15133.c: Likewise.
7699 * testsuite/libjava.jni/PR15133.out: Likewise.
7701 2004-04-30 Roger Sayle <roger@eyesopen.com>
7703 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7706 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7708 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7709 limit the maximum heap size to avoid unnecessary thrashing.
7711 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7713 * java/text/CollationElementIterator.java (reset): Reset
7714 lookahead variables.
7716 2004-04-23 Mark Wielaard <mark@klomp.org>
7718 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7720 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7722 * java/sql/DriverManager.java:
7725 2004-04-23 Michael Koch <konqueror@gmx.de>
7728 (hashcode): Don't initialize with default value explicitely.
7729 (getContent): Removed redundant "final" keyword.
7730 (openStream): Likewise.
7731 (getURLStreamHandler): Fixed coding style.
7732 * java/net/URLConnection.java
7733 (defaultAllowUserInteraction): Don't initialize with default value
7735 (connected): Likewise.
7736 (doOutput): Likewise.
7737 (ifModifiedSince): Likewise.
7738 (dateformats_initialized): Likewise.
7739 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7741 2004-04-23 Michael Koch <konqueror@gmx.de>
7743 * gnu/java/nio/channels/FileChannelImpl.java
7744 (SET, CUR): Unused, removed.
7745 (read): Implement here directly.
7746 (implRead): Removed.
7747 (write): Implement here directly.
7748 (implWrite): Removed.
7750 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7752 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7753 javax/rmi/CORBA/Stub.java,
7754 javax/rmi/CORBA/Util.java,
7755 javax/rmi/CORBA/ValueHandler.java,
7756 javax/rmi/CORBA/ValueHandler.java,
7757 javax/rmi/PortableRemoteObject.java:
7760 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7762 * java/util/jar/JarFile.java,
7763 java/util/jar/JarInputStream.java,
7764 java/util/jar/JarOutputStream.java,
7765 java/util/jar/Manifest.java:
7768 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7770 * java/util/ArrayList.java,
7771 java/util/Calendar.java,
7772 java/util/Currency.java,
7773 java/util/HashMap.java,
7774 java/util/HashSet.java,
7775 java/util/Hashtable.java,
7776 java/util/LinkedList.java,
7777 java/util/Properties.java,
7778 java/util/PropertyPermission.java,
7779 java/util/TimeZone.java,
7780 java/util/TreeMap.java,
7781 java/util/TreeSet.java,
7782 java/util/Vector.java,
7783 java/util/WeakHashMap.java:
7786 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7788 * java/util/logging/FileHandler.java,
7789 java/util/logging/Formatter.java,
7790 java/util/logging/Handler.java,
7791 java/util/logging/Logger.java,
7792 java/util/logging/SimpleFormatter.java,
7793 java/util/logging/XMLFormatter.java:
7796 2004-04-22 Mark Wielaard <mark@klomp.org>
7798 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7799 -Wno-long-long flags variable.
7800 (gtk_c_files): Use PEDANTIC_CFLAGS.
7801 * Makefile.in: Regenerated.
7803 2004-04-22 Mark Wielaard <mark@klomp.org>
7805 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7806 Changed C++ comments into C comments.
7807 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7810 2004-04-22 Michael Koch <konqueror@gmx.de>
7812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7813 Merged copyright year with GNU classpath.
7815 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7817 * javax/security/auth/x500/X500Principal.java:
7820 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7822 * javax/swing/JSlider.java:
7823 Fixed HTML tags in comments.
7825 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7827 * javax/accessibility/AccessibleText.java:
7830 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7832 * java/net/URLStreamHandler.java
7833 (parseURL): Convert the file path to using '/' instead of native
7836 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7839 (userInfo): New field.
7840 (URL): Set authority to the right value.
7841 (setURL): Fixed authority and file initialization.
7842 * java/net/URLStreamHandler.java
7843 (parseURL): Take care of the query tag. Build authority.
7844 (toExternalForm): Fixed URL building using authority.
7846 2004-04-22 Michael Koch <konqueror@gmx.de>
7848 * java/net/Socket.java
7849 (impl): Made package-private.
7850 * java/net/ServerSocket.java
7851 (implAccept): Access Socket.impl field directly.
7853 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7855 * java/util/prefs/Preferences.java,
7856 java/util/prefs/InvalidPreferencesFormatException.java,
7857 java/util/prefs/BackingStoreException.java,
7858 java/util/prefs/AbstractPreferences.java:
7861 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7863 * java/util/regex/Matcher.java,
7864 java/util/regex/Pattern.java:
7867 2004-04-22 Michael Koch <konqueror@gmx.de>
7869 * java/nio/charset/IllegalCharsetNameException.java
7870 (charsetName): Made private.
7871 (IllegalCharsetNameException): Added @param tag to javadoc.
7872 (getCharsetName): Added @return tag to javadoc.
7873 * java/nio/charset/MalformedInputException.java
7874 (MalformedInputException): Added @param tag to javadoc.
7875 (getInputLength): Revised method description, added @return tag.
7876 (getMessage): Added @return tag.
7878 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7880 * java/awt/Font.java (deriveFont): Implement missing variants.
7881 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7884 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7886 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7887 Set method->index values for interface methods to their itable index.
7888 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7890 2004-04-21 Michael Koch <konqueror@gmx.de>
7892 * java/nio/DirectByteBufferImpl.java
7893 (shiftDown): Made static, give address as argument and
7894 provide a convenience method that overwrites shiftDown in
7895 ByteBufferImpl and calls the native shiftDown.
7896 * java/nio/MappedByteBufferImpl.java
7897 (): Use optimized method in DirectByteBufferImpl.
7898 * java/nio/natDirectByteBufferImpl.cc
7899 (shiftDown): Changed method signature. Removed usage of array_offset.
7901 2004-04-21 Michael Koch <konqueror@gmx.de>
7903 * gnu/java/net/natPlainSocketImplPosix.cc
7904 (SocketInputStream::read): Make sure returned data is a byte value.
7906 2004-04-21 Michael Koch <konqueror@gmx.de>
7908 * gnu/classpath/ServiceFactory.java,
7909 gnu/classpath/ServiceProviderLoadingAction.java,
7910 javax/imageio/ImageReader.java,
7911 javax/imageio/ImageTranscoder.java,
7912 javax/imageio/ImageWriter.java,
7913 javax/imageio/package.html,
7914 javax/imageio/spi/IIOServiceProvider.java,
7915 javax/imageio/spi/ImageInputStreamSpi.java,
7916 javax/imageio/spi/ImageOutputStreamSpi.java,
7917 javax/imageio/spi/ImageReaderWriterSpi.java,
7918 javax/imageio/spi/ImageTranscoderSpi.java,
7919 javax/imageio/spi/RegisterableService.java,
7920 javax/imageio/spi/ServiceRegistry.java,
7921 javax/imageio/spi/package.html,
7922 javax/imageio/stream/IIOByteBuffer.java,
7923 javax/imageio/stream/ImageInputStream.java,
7924 javax/imageio/stream/ImageOutputStream.java,
7925 javax/imageio/stream/package.html:
7928 (ordinary_java_source_files): Added
7929 gnu/classpath/ServiceFactory.java and
7930 gnu/classpath/ServiceProviderLoadingAction.java.
7931 (javax_source_files): Added
7932 javax/imageio/ImageReader.java,
7933 javax/imageio/ImageTranscoder.java,
7934 javax/imageio/ImageWriter.java,
7935 javax/imageio/spi/IIOServiceProvider.java,
7936 javax/imageio/spi/ImageInputStreamSpi.java,
7937 javax/imageio/spi/ImageOutputStreamSpi.java,
7938 javax/imageio/spi/ImageReaderWriterSpi.java,
7939 javax/imageio/spi/ImageTranscoderSpi.java,
7940 javax/imageio/spi/RegisterableService.java,
7941 javax/imageio/spi/ServiceRegistry.java,
7942 javax/imageio/stream/IIOByteBuffer.java,
7943 javax/imageio/stream/ImageInputStream.java and
7944 javax/imageio/stream/ImageOutputStream.java.
7945 * Makefile.in: Regenerated.
7947 2004-04-21 Michael Koch <konqueror@gmx.de>
7949 * java/util/Properties.java
7950 (load): Fix wrongly merged fix.
7952 2004-04-21 Mark Wielaard <mark@klomp.org>
7954 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7955 malloc and free buf.
7957 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7959 * javax/naming/AuthenticationException.java,
7960 javax/naming/AuthenticationNotSupportedException.java,
7961 javax/naming/CannotProceedException.java,
7962 javax/naming/CommunicationException.java,
7963 javax/naming/CompoundName.java,
7964 javax/naming/ConfigurationException.java,
7965 javax/naming/ContextNotEmptyException.java,
7966 javax/naming/InitialContext.java,
7967 javax/naming/InsufficientResourcesException.java,
7968 javax/naming/InterruptedNamingException.java,
7969 javax/naming/LimitExceededException.java,
7970 javax/naming/LinkException.java,
7971 javax/naming/LinkLoopException.java,
7972 javax/naming/LinkRef.java,
7973 javax/naming/MalformedLinkException.java,
7974 javax/naming/Name.java,
7975 javax/naming/NameAlreadyBoundException.java,
7976 javax/naming/NameNotFoundException.java,
7977 javax/naming/NamingSecurityException.java,
7978 javax/naming/NoInitialContextException.java,
7979 javax/naming/NoPermissionException.java,
7980 javax/naming/NotContextException.java,
7981 javax/naming/PartialResultException.java,
7982 javax/naming/ReferralException.java,
7983 javax/naming/ServiceUnavailableException.java,
7984 javax/naming/SizeLimitExceededException.java,
7985 javax/naming/TimeLimitExceededException.java,
7986 javax/naming/directory/Attribute.java,
7987 javax/naming/directory/Attributes.java,
7988 javax/naming/directory/SearchResult.java,
7989 javax/naming/event/NamingExceptionEvent.java,
7990 javax/naming/spi/ResolveResult.java:
7993 2004-04-21 Mark Wielaard <mark@klomp.org>
7995 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7996 Changed C++ comments into C comments. Removed commented out code.
7997 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7999 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8001 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8003 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8005 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8007 * native/jni/gtk-peer/gthread-jni.c:
8010 2004-04-21 Mark Wielaard <mark@klomp.org>
8012 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8013 static fields defined in interface.
8014 * javax/awt/JDialog.java: Likewise.
8015 (JDialog): Make constructors public.
8016 (getDefaultCloseOperation): Make public.
8017 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8018 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8019 * javax/swing/JViewport.java (JViewport): Make constructor public.
8021 2004-04-21 Michael Koch <konqueror@gmx.de>
8023 * java/util/Map.java
8024 (Entry): Removed redundant "static" modifier.
8025 * java/text/AttributedCharacterIterator.java:
8026 Updated copyright year.
8028 2004-04-20 Michael Koch <konqueror@gmx.de>
8030 * javax/naming/directory/SearchControls.java:
8031 Don't explicitely extend java.lang.Object.
8032 * javax/naming/spi/DirStateFactory.java:
8033 Merged copyright year with GNU classpath.
8035 2004-04-20 Michael Koch <konqueror@gmx.de>
8037 * java/nio/channels/Channels.java:
8038 Merged coding style with GNU classpath.
8040 2004-04-20 Michael Koch <konqueror@gmx.de>
8042 * java/net/ServerSocket.java
8043 Merged coding style from GNU classpath.
8045 2004-04-20 Michael Koch <konqueror@gmx.de>
8047 * java/io/BufferedWriter.java:
8048 Reordered variables to be at top of the class.
8049 (localFlush): Removed redundant final keyword.
8051 2004-04-20 Ingo Proetel <proetel@aicas.com>
8053 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8055 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8057 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8058 for percent and permill check.
8060 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8062 * java/text/FieldPosition.java
8063 (FieldPosition) Constructor now behaves as it should according
8064 to the java documentation.
8066 2004-04-20 Mark Wielaard <mark@klomp.org>
8068 * java/util/Properties.java: Use the word umlaut, not ä in api
8071 2004-04-20 Michael Koch <konqueror@gmx.de>
8073 * java/nio/Buffer.java,
8074 java/nio/channels/AlreadyConnectedException.java,
8075 java/nio/channels/AsynchronousCloseException.java,
8076 java/nio/channels/ByteChannel.java,
8077 java/nio/channels/CancelledKeyException.java,
8078 java/nio/channels/Channel.java,
8079 java/nio/channels/Channels.java,
8080 java/nio/channels/ClosedByInterruptException.java,
8081 java/nio/channels/ClosedChannelException.java,
8082 java/nio/channels/ClosedSelectorException.java,
8083 java/nio/channels/ConnectionPendingException.java,
8084 java/nio/channels/DatagramChannel.java,
8085 java/nio/channels/FileChannel.java,
8086 java/nio/channels/FileLock.java,
8087 java/nio/channels/FileLockInterruptionException.java,
8088 java/nio/channels/GatheringByteChannel.java,
8089 java/nio/channels/IllegalBlockingModeException.java,
8090 java/nio/channels/IllegalSelectorException.java,
8091 java/nio/channels/InterruptibleChannel.java,
8092 java/nio/channels/NoConnectionPendingException.java,
8093 java/nio/channels/NonReadableChannelException.java,
8094 java/nio/channels/NonWritableChannelException.java,
8095 java/nio/channels/NotYetBoundException.java,
8096 java/nio/channels/NotYetConnectedException.java,
8097 java/nio/channels/OverlappingFileLockException.java,
8098 java/nio/channels/Pipe.java,
8099 java/nio/channels/ReadableByteChannel.java,
8100 java/nio/channels/ScatteringByteChannel.java,
8101 java/nio/channels/SelectableChannel.java,
8102 java/nio/channels/SelectionKey.java,
8103 java/nio/channels/Selector.java,
8104 java/nio/channels/ServerSocketChannel.java,
8105 java/nio/channels/SocketChannel.java,
8106 java/nio/channels/UnresolvedAddressException.java,
8107 java/nio/channels/UnsupportedAddressTypeException.java,
8108 java/nio/channels/WritableByteChannel.java,
8109 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8110 java/nio/channels/spi/AbstractSelectableChannel.java,
8111 java/nio/channels/spi/AbstractSelectionKey.java,
8112 java/nio/channels/spi/AbstractSelector.java,
8113 java/nio/channels/spi/SelectorProvider.java,
8114 java/nio/charset/spi/CharsetProvider.java:
8115 Fixed javadocs and jalopied all over java.nio.
8117 2004-04-20 Michael Koch <konqueror@gmx.de>
8119 * java/nio/ByteBufferImpl.java,
8120 java/nio/CharBufferImpl.java,
8121 java/nio/DirectByteBufferImpl.java,
8122 java/nio/DoubleBufferImpl.java,
8123 java/nio/DoubleViewBufferImpl.java,
8124 java/nio/FloatBufferImpl.java,
8125 java/nio/FloatViewBufferImpl.java,
8126 java/nio/IntBufferImpl.java,
8127 java/nio/IntViewBufferImpl.java,
8128 java/nio/LongBufferImpl.java,
8129 java/nio/LongViewBufferImpl.java,
8130 java/nio/MappedByteBufferImpl.java,
8131 java/nio/ShortBufferImpl.java,
8132 java/nio/ShortViewBufferImpl.java:
8133 Made sure all classes are final and removed final keyword from all
8136 2004-04-20 Michael Koch <konqueror@gmx.de>
8138 * java/rmi/MarshalledObject.java,
8139 java/rmi/Naming.java,
8140 java/rmi/RemoteException.java,
8141 java/rmi/activation/ActivationException.java,
8142 java/rmi/server/ServerCloneException.java,
8143 java/security/AccessController.java,
8144 java/security/AlgorithmParameterGenerator.java,
8145 java/security/AlgorithmParameters.java,
8146 java/security/CodeSource.java,
8147 java/security/Identity.java,
8148 java/security/IdentityScope.java,
8149 java/security/KeyPairGenerator.java,
8150 java/security/KeyStore.java,
8151 java/security/Security.java,
8152 java/security/Signature.java,
8153 java/security/SignatureSpi.java,
8154 java/security/SignedObject.java,
8155 java/security/spec/DSAParameterSpec.java,
8156 java/security/spec/DSAPrivateKeySpec.java,
8157 java/security/spec/DSAPublicKeySpec.java,
8158 java/sql/Array.java,
8159 java/sql/DatabaseMetaData.java,
8160 java/sql/ResultSet.java,
8161 java/text/ChoiceFormat.java,
8162 java/text/CollationElementIterator.java,
8163 java/text/CollationKey.java,
8164 java/text/Collator.java,
8165 java/text/DateFormat.java,
8166 java/text/DateFormatSymbols.java,
8167 java/text/DecimalFormatSymbols.java,
8168 java/text/Format.java,
8169 java/text/ParsePosition.java,
8170 java/text/RuleBasedCollator.java,
8171 java/text/SimpleDateFormat.java,
8172 java/text/StringCharacterIterator.java,
8173 java/util/Collections.java,
8174 java/util/PropertyResourceBundle.java,
8175 java/util/ResourceBundle.java,
8176 java/util/StringTokenizer.java,
8177 java/util/jar/Attributes.java,
8178 java/util/logging/ConsoleHandler.java,
8179 java/util/logging/LogManager.java,
8180 java/util/logging/MemoryHandler.java,
8181 java/util/logging/SocketHandler.java,
8182 javax/naming/NamingException.java:
8183 Fixed javadoc, coding style and argument names all over.
8185 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8187 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8188 constructor. (valid) Added null check.
8190 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8192 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8193 * java/io/FileOutputStream.java
8194 (FileOutputStream) Reorganized constructors. Constructors now
8195 check whether the given path is directory.
8197 2004-04-20 Michael Koch <konqueror@gmx.de>
8199 * java/net/Authenticator.java,
8200 java/net/BindException.java,
8201 java/net/ConnectException.java,
8202 java/net/ContentHandler.java,
8203 java/net/ContentHandlerFactory.java,
8204 java/net/DatagramPacket.java,
8205 java/net/DatagramSocket.java,
8206 java/net/DatagramSocketImpl.java,
8207 java/net/DatagramSocketImplFactory.java,
8208 java/net/FileNameMap.java,
8209 java/net/HttpURLConnection.java,
8210 java/net/Inet4Address.java,
8211 java/net/Inet6Address.java,
8212 java/net/InetAddress.java,
8213 java/net/InetSocketAddress.java,
8214 java/net/JarURLConnection.java,
8215 java/net/MalformedURLException.java,
8216 java/net/MulticastSocket.java,
8217 java/net/NetPermission.java,
8218 java/net/NetworkInterface.java,
8219 java/net/NoRouteToHostException.java,
8220 java/net/PasswordAuthentication.java,
8221 java/net/PortUnreachableException.java,
8222 java/net/ProtocolException.java,
8223 java/net/ServerSocket.java,
8224 java/net/Socket.java,
8225 java/net/SocketAddress.java,
8226 java/net/SocketException.java,
8227 java/net/SocketImpl.java,
8228 java/net/SocketImplFactory.java,
8229 java/net/SocketOptions.java,
8230 java/net/SocketPermission.java,
8231 java/net/SocketTimeoutException.java,
8233 java/net/URISyntaxException.java,
8235 java/net/URLClassLoader.java,
8236 java/net/URLConnection.java,
8237 java/net/URLDecoder.java,
8238 java/net/URLEncoder.java,
8239 java/net/URLStreamHandler.java,
8240 java/net/URLStreamHandlerFactory.java,
8241 java/net/UnknownHostException.java,
8242 java/net/UnknownServiceException.java:
8243 Fixed javadocs, coding style and argument names all over.
8245 2004-04-20 Michael Koch <konqueror@gmx.de>
8247 * java/lang/Byte.java,
8248 java/lang/CharSequence.java,
8249 java/lang/ClassLoader.java,
8250 java/lang/Compiler.java,
8251 java/lang/Double.java,
8252 java/lang/Float.java,
8253 java/lang/Integer.java,
8254 java/lang/Long.java,
8255 java/lang/Math.java,
8256 java/lang/Number.java,
8257 java/lang/Package.java,
8258 java/lang/Runtime.java,
8259 java/lang/RuntimePermission.java,
8260 java/lang/SecurityManager.java,
8261 java/lang/Short.java,
8262 java/lang/StringBuffer.java,
8263 java/lang/System.java,
8264 java/lang/ThreadGroup.java,
8265 java/lang/Throwable.java,
8266 java/lang/reflect/InvocationHandler.java,
8267 java/lang/reflect/Proxy.java:
8268 Fixed javadocs, coding style and argument names all over.
8270 2004-04-20 Michael Koch <konqueror@gmx.de>
8272 * java/io/BufferedWriter.java,
8273 java/io/ByteArrayInputStream.java,
8274 java/io/CharArrayWriter.java,
8275 java/io/DataInput.java,
8276 java/io/DataInputStream.java,
8278 java/io/FilterInputStream.java,
8279 java/io/InputStream.java,
8280 java/io/InputStreamReader.java,
8281 java/io/ObjectInputStream.java,
8282 java/io/ObjectStreamClass.java,
8283 java/io/PipedInputStream.java,
8284 java/io/PipedReader.java,
8285 java/io/PushbackInputStream.java,
8286 java/io/PushbackReader.java,
8287 java/io/RandomAccessFile.java,
8288 java/io/SerializablePermission.java,
8289 java/io/StreamTokenizer.java,
8290 java/io/StringWriter.java,
8291 java/io/WriteAbortedException.java,
8292 java/io/Writer.java:
8293 Fixed javadocs all over, rename arguments to match javadocs,
8296 2004-04-20 Ingo Proetel <proetel@aicas.com>
8298 * java/awt/FontMetrics.java:
8299 (charsWidth): fixed accumulation of total_width
8300 (getWidth): simple default implementation
8301 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8302 in Rectangle constructor.
8303 * java/awt/image/Raster.java (toString): Added method.
8304 * java/awt/image/SampleModel.java (<init>): Added error cause
8305 information to thrown exception.
8306 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8308 (setDataElements): New method.
8309 (setPixels): New method.
8310 (toString): New method.
8312 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8314 * java/awt/image/ComponentColorModel.java
8315 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8316 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8317 Mauve tests on this method. Improved documentation.
8319 2004-04-20 Michael Koch <konqueror@gmx.de>
8321 * javax/swing/JLayeredPane.java,
8322 javax/swing/plaf/BorderUIResource.java,
8323 javax/swing/plaf/ComponentUI.java,
8324 javax/swing/undo/CompoundEdit.java,
8325 javax/swing/undo/StateEdit.java:
8326 Fixed HTML tags in javadocs all over.
8328 2004-04-20 Michael Koch <konqueror@gmx.de>
8330 * javax/print/attribute/EnumSyntax.java
8331 (getOffset): Made protected.
8332 * javax/print/attribute/HashAttributeSet.java
8333 (HashAttributeSet): Likewise.
8334 * javax/print/attribute/ResolutionSyntax.java
8335 (getFeedResolution): Fixed typo in exception name.
8336 (getCrossFeedResolution): Likewise.
8337 * javax/print/attribute/SetOfIntegerSyntax.java
8338 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8339 * javax/print/attribute/TextSyntax.java
8340 (TextSyntax): Handle locale correctly.
8341 (hashCode): Calc better hashcode value.
8342 (equals): Fixed @return tag.
8343 (toString): New method.
8345 2004-04-20 Michael Koch <konqueror@gmx.de>
8347 * gnu/java/nio/FileLockImpl.java
8348 (static): Removed, not needed anymore.
8349 * gnu/java/nio/channels/FileChannelImpl.java
8350 (FileChannelImpl): Made final.
8351 (mode): Made private.
8352 (READ, WRITE, APPEND): Made public.
8353 (EXCL, SYNC, DSYNC): Likewise.
8354 (static): Load native JNI library, when needed.
8355 (length): Unused, removed.
8356 (available): Made public.
8357 (implPosition): Throws IOException.
8359 (implTruncate): Likewise.
8363 2004-04-20 Michael Koch <konqueror@gmx.de>
8365 * java/awt/AWTPermission.java,
8366 java/awt/Component.java,
8367 java/awt/ComponentOrientation.java,,
8368 java/awt/Dialog.java,
8369 java/awt/FontMetrics.java,
8370 java/awt/Graphics.java,
8371 java/awt/datatransfer/DataFlavor.java,
8372 java/beans/Introspector.java,
8373 java/beans/PropertyEditor.java,
8374 java/beans/PropertyEditorManager.java,
8375 java/beans/beancontext/BeanContextServiceProvider.java:
8376 Fixed HTML tags in javadocs all over.
8378 2004-04-20 Mark Wielaard <mark@klomp.org>
8380 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8381 MissingResourceException is thrown.
8382 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8383 null when a MissingResourceException is thrown. Should never happen.
8385 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8387 * java/awt/image/DataBufferShort.java,
8388 java/awt/image/DataBufferFloat.java,
8389 java/awt/image/DataBufferDouble.java,
8390 java/awt/image/PixelInterleavedSampleModel.java: New files.
8391 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8392 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8394 2004-04-20 Michael Koch <konqueror@gmx.de>
8396 * Makefile.am (java_source_files): Added
8397 java/awt/image/DataBufferDouble.java,
8398 java/awt/image/DataBufferFloat.java,
8399 java/awt/image/DataBufferShort.java and
8400 java/awt/image/PixelInterleavedSampleModel.java.
8401 * Makefile.in: Regenerated.
8403 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8405 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8406 undocumented CNI calls.
8407 * include/java-interp.h (_Jv_InterpClass): No longer
8408 extends java.lang.Class.
8409 * java/lang/Class.h (Class): Add new field `aux_info'.
8410 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8411 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8412 Use Class->aux_info instead.
8413 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8414 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8415 Use Class->aux_info instead.
8416 * java/io/natObjectInputStream.cc (allocateObject): Use
8418 * java/lang/natClass.cc (newInstance): Likewise.
8419 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8420 * java/lang/natObject.cc (clone): Likewise.
8421 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8422 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8423 JvAllocObject. Allocate klass->aux_info here for interpreted
8426 2004-04-17 Mark Wielaard <mark@klomp.org>
8428 * javax/swing/JToggleButton.java (ToggleButtonModel):
8429 Make public static inner class.
8430 * javax/swing/JTabbedPane.java (setComponentAt):
8431 Call Page.setComponent().
8432 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8433 (WRAP_TAB_LAYOUT): Make public, value is 0.
8434 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8435 Make private static inner class.
8437 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8439 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8440 arguments to match new signature. Remove FIXME comments.
8442 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8444 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8449 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8451 * Makefile.am: Added new file.
8452 * Makefile.in: Regenerate.
8453 * javax/swing/ImageIcon.java:
8454 (ImageIcon(file)): set description of the icon
8456 * javax/swing/JCheckBoxMenuItem.java:
8457 Mostly Implemented. Work in progress.
8458 * javax/swing/JRadioButtonMenuItem.java:
8459 Reimplement constructors to use JToggleButtonModel.
8460 * javax/swing/plaf/basic/BasicIconFactory.java:
8461 (getCheckBoxMenuItemIcon): return check box
8463 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8464 paint menu item selected only when it is armed and
8467 2004-04-02 David Jee <djee@redhat.com>
8469 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8470 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8471 * java/awt/Component.java
8472 (add): Set the parent of the popup as this component.
8473 * java/awt/PopupMenu.java
8474 (addNotify): Create popup menu when peer is null.
8475 (show): Call addNotify() if peer is null.
8476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8477 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8478 argument for gtk_menu_popup() as zero. This causes the popup menu to
8479 respond to any mouse button.
8481 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8483 * Makefile.am: Added new file.
8484 * Makefile.in: Regenerate.
8485 * javax/swing/JRadioButtonMenuItem.java:
8487 * javax/swing/plaf/basic/BasicIconFactory.java:
8488 (getRadioButtonMenuItemIcon): Return
8490 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8491 (getPreferredSize): Add size of checkIcon if it
8493 (installDefaults): Don't initialize checkIcon.
8494 It's value will be set in subclasses.
8495 (uninstallDefaults): remove uninstallation of
8497 (paint): Moved code to paintMenuItem().
8498 (paintMenuItem): Implemented.
8499 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8500 UI delegate for JRadioButtonMenuItem.
8502 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8504 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8505 Corrected position of the accelerator.
8507 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8509 * Makefile.am: Added new file.
8510 * Makefile.in: Regenerate.
8511 * javax/swing/JMenuItem.java: Partly
8512 implemented. Work in progress
8513 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8514 Changed default value of acceleratorDelimiter.
8515 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8516 New class. Partly implemented.
8518 2004-03-26 Mark Wielaard <mark@klomp.org>
8520 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8521 (item_activate): Declare label before use.
8522 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8523 (gtkSetFont): Removed unused variable label.
8524 (addExposeFilter): Declare variables before use.
8525 (removeExposeFilter): Likewise.
8526 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8527 (ok_clicked): Declare str_fileName before use.
8529 2004-03-26 David Jee <djee@redhat.com>
8531 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8532 (addSeparator): Remove.
8533 * java/awt/Menu.java
8534 (separator): Remove static final MenuItem field.
8535 (separatorLabel): New static final String field.
8536 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8537 Use separatorLabel to denote that it is a separator.
8538 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8539 of reusing the static separator instance, because a MenuItem instance
8540 can't be added more than once without being cloned.
8541 * java/awt/peer/MenuPeer.java
8542 (addSeparator): Remove from interface.
8544 2004-03-26 David Jee <djee@redhat.com>
8546 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8547 (connectSignals): New native method declaration.
8548 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8549 * java/awt/MenuItem.java
8550 (getActionCommand): Return the label if the action command is not set.
8551 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8552 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8553 gtk_menu_shell_append().
8554 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8555 (item_activate): Fix argument type.
8556 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8558 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8561 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8562 given. Add the menu widget's top-level GtkWindow to the global window
8563 group, so it can grab the pointer.
8564 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8565 gtk_menu_shell_append().
8567 2004-03-23 Graydon Hoare <graydon@redhat.com>
8569 * java/text/AttributedString.java
8570 (addAttribute): Fix off-by-one.
8571 (getIterator): Likewise.
8572 * java/text/AttributedStringIterator.java
8573 (getRunLimit): Correct logic.
8574 (getRunStart): Likewise.
8575 (getAttribute): Fix inequality.
8576 (getAttributes): Likewise.
8577 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8579 2004-03-23 Kim Ho <kho@redhat.com>
8581 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8582 (calculateSizes): Return real width and height.
8584 2004-03-23 Kim Ho <kho@redhat.com>
8586 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8587 (calculateTabRects): Set the selectedRun before
8588 trying to rotate tabs.
8590 2004-03-23 Kim Ho <kho@redhat.com>
8592 * Makefile.am: New file
8593 * Makefile.in: Regenerate
8594 * java/awt/Graphics.java: (drawRect):
8595 Draw to the correct point.
8596 * javax/swing/DefaultSingleSelectionModel.java
8597 (isSelected): Return true if the selected index
8599 * javax/swing/JLabel.java: Do not change mnemonic
8600 index if text is null.
8601 * javax/swing/JProgressBar.java: Use JComponent's
8603 * javax/swing/JScrollBar.java: Ditto.
8604 * javax/swing/JSlider.java: Ditto.
8605 * javax/swing/JTabbedPane.java: Reimplement.
8606 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8607 Add defaults for TabbedPane.
8608 * javax/swing/plaf/basic/BasicArrowButton.java:
8610 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8611 (paintDeterminate): Don't paint String if it's
8613 (paintIndeterminate): ditto.
8614 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8617 2004-03-19 Michael Koch <konqueror@gmx.de>
8619 * java/awt/image/AffineTransformOp.java
8620 (AffineTransformOp): Made public.
8621 * javax/swing/JComponent.java
8622 (listenerList): Made protected.
8623 (accessibleContext): Likewise.
8624 * javax/swing/JList.java
8625 (valueChanged): Dont use internal fields of ListSelectionEvent.
8626 * javax/swing/JViewport.java
8627 (getView): Dont use internal fields of Component.
8628 (addImpl): Likewise.
8629 * javax/swing/Timer.java
8630 (isRunning): Made public.
8633 * javax/swing/UIDefaults.java
8634 (getInt): Made public.
8635 * javax/swing/plaf/basic/BasicListUI.java
8636 (mousePressed): Dont use internal fields of MouseEvent.
8637 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8638 * javax/swing/plaf/basic/BasicScrollBarUI.java
8639 (arrowIcon): Made static.
8640 * javax/swing/plaf/basic/BasicViewportUI.java
8641 (stateChanged): Dont use internal field on ChangeEvent.
8642 * javax/swing/text/JTextComponent.java
8643 (getUI): Call UIManager.getUI().
8644 (updateUI): Use getUI().
8646 2004-03-19 Graydon Hoare <graydon@redhat.com>
8648 * javax/swing/JComponent.java: Turn off double buffer by default.
8649 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8651 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8652 Use cairo to copy areas.
8653 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8654 Initialize and set clip region.
8656 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8658 * java/applet/Applet.java (preferredSize): Override deprecated
8659 variant of getPreferredSize.
8660 (minimumSize): Override deprecated variant of getMinimumSize.
8662 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8664 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8665 (drawImage(img,xform,bgcolor,obs)): New Method.
8666 Helper function that every drawImage method will
8668 (drawRaster): Added new parameter, bgcolor. All
8669 transparent pixels are changed to bgcolor before
8671 (drawRenderedImage): Fixed to use changed drawRaster().
8672 (drawImage(image,xform,obs): Fixed to use new helper function
8673 (drawImage(image,op,x,y)): Ditto.
8674 (drawImage (img,x,y,observer)): Ditto.
8675 ((PainterThread) bgcolor): New Field.
8676 ((PainterThread) (setPixels)): Changed all transparent pixels
8678 (drawImage(img,x,y,width,height,bgcolor,observer)):
8679 Fixed FIXME - all the transparent pixels are
8680 changed to the specified bgcolor.
8681 (drawImage(img, x, y, width, height, observer): Changed to
8683 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8684 Fixed FIXME- changed all transparent pixels to bgcolor.
8685 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8686 Changed to use function above.
8688 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8690 * java/applet/Applet.java (dimensions): New field.
8691 (getDimensions): New method.
8692 (getPreferredSize): Call getDimensions.
8693 (getMinimumSize): Likewise.
8695 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8697 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8698 * jni/classpath/jnilink.c: Likewise.
8700 * java/applet/Applet.java (getPreferredSize): New method.
8701 (getMinimumSize): New method.
8703 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8705 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8706 (_Jv_AllocObjectNoFinalizer): Likewise.
8707 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8708 (_Jv_AllocPtrFreeObject): Likewise.
8709 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8710 directly even in the JVMPI case.
8711 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8712 _Jv_AllocObject calls.
8713 * gcj/javaprims.h: Update prototypes.
8714 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8715 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8716 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8718 2004-04-14 Andrew Haley <aph@redhat.com>
8719 Bryce McKinlay <mckinlay@redhat.com>
8721 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8722 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8723 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8725 * testsuite/libjava.lang/InvokeInterface.java: New file.
8726 * testsuite/libjava.lang/InvokeInterface.out: New file.
8728 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8730 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8732 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8733 StackTraceElement directly.
8734 (newElement): New native helper method to create StackTraceElement
8735 bypassing Java access control.
8736 (createStackTraceElement): Use newElement() instead of directly
8737 calling StackTraceElement's constructor.
8738 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8740 2004-04-01 Michael Koch <konqueror@gmx.de>
8742 * java/lang/SecurityManager.java
8743 (checkAwtEventQueueAccess): Implemented.
8745 2004-04-01 Gary Benson <gbenson@redhat.com>
8747 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8748 (_Jv_SearchMethodInClass): Likewise.
8750 2004-03-26 Peter Moon <peterm@miraculum.com>
8752 * java/text/NumberFormat.java: Fix spelling of setCurrency
8755 2004-03-21 Anthony Green <green@redhat.com>
8757 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8758 recursion when searching for the system ClassLoader.
8760 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8762 * java/net/ServerSocket.java
8763 (accept): Close the socket when error occured.
8765 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8767 * java/net/URI.java (parseURI): Added unquoting.
8768 (unquote): New method.
8769 (quoteAuthority): Implemented.
8770 (quote(String,String)): New method.
8771 (quotePath): Implemented.
8772 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8773 (getSchemeSpecificPart): Removed FIXME comment.
8774 (getRawAuthority): Return new rawAuthority field.
8775 (getAuthority): Removed FIXME comment.
8776 (getRawUserInfo): Return new rawUserInfo field.
8777 (getUserInfo): Removed FIXME comment.
8778 (getRawPath): Return new rawPath field.
8779 (getPath): Removed FIXME comment.
8780 (getRawQuery): Return new rawQuery field.
8781 (getQuery): Removed FIXME comment.
8782 (getRawFragment): Return new rawFragment field.
8783 (getFragment): Removed FIXME comment.
8785 2004-03-20 Michael Koch <konqueror@gmx.de>
8787 * java/net/URLConnection.java: Merged copyright year with classpath.
8789 2004-03-20 Norbert Frese <postfach@nfrese.net>
8791 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8792 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8793 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8795 (getObjectInputStream): Return object reference, throw IOException if null.
8796 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8797 (getObjectOutputStream): Return object reference, throw IOException if null.
8798 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8799 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8800 (UnicastConnectionManager): Throw RemoteException if port is not available.
8801 (getInstance): Throw RemoteException.
8802 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8803 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8804 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8805 Collect Exceptions which are returned by a rmi-call and fix void returns.
8806 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8807 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8808 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8809 (dispatch): Answer ping messages which are sent by other java implementions.
8810 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8811 for every rmi-message and fix void return problems.
8812 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8813 (UnicastServerRef): Throw RemoteException.
8814 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8815 In some situations it is necessary to export a subclass of the class which has the _Stub.
8816 For instance when the class with has the _Stub is abstract.
8817 (findStubSkelClass): New method which looks for the class which has the _Stub.
8818 (getClientHost): Implementated.
8819 * gcc/libjava/java/rmi/server/RemoteServer.java
8820 (getClientHost): Implementated.
8821 * gcc/libjava/Makefile.am (rmi_java_source_files):
8822 Added gnu/java/rmi/server/RMIIncomingThread.java.
8823 * Makefile.in: Regenerated.
8825 2004-03-20 Michael Koch <konqueror@gmx.de>
8827 * java/net/InetAddress.java
8828 (getLocalHostname): Added javadoc.
8830 2004-03-19 Per Bothner <per@bothner.com>
8832 * configure.in: FILE variable overrides FLATFORM when linking
8833 natFileChannelXXX.cc.
8835 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8836 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8838 2004-03-19 Per Bothner <per@bothner.com>
8840 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8841 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8842 * Makefile.am: Update accordingly.
8843 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8844 as aliases for UnicodeLittle and UnicodeBig.
8846 2004-03-20 Mark Wielaard <mark@klomp.org>
8848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8849 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8850 Don't access ws when it is null.
8851 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8854 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8856 * java/lang/ThreadGroup.java (list): Changed print to println.
8858 2004-03-19 Mark Wielaard <mark@klomp.org>
8860 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8863 2004-02-10 Randolph Chung <tausq@debian.org>
8865 * configure.in: Build java for hppa target.
8866 * configure: Regenerate.
8867 * libjava/configure.host (hppa-*): Add target.
8868 * libjava/sysdeps/pa/lock.h: New file.
8870 2004-03-19 Mark Wielaard <mark@klomp.org>
8872 Reported by Stephen Crawley
8873 * java/io/FilePermission.java (implies): Use String.length() -1 to
8874 access last char of String.
8876 2004-03-19 Michael Koch <konqueror@gmx.de>
8878 * java/awt/image/AffineTransformOp.java
8879 (AffineTransformOp): Made public.
8880 * javax/swing/JComponent.java
8881 (listenerList): Made protected.
8882 (accessibleContext): Likewise.
8883 * javax/swing/JList.java
8884 (valueChanged): Dont use internal fields of ListSelectionEvent.
8885 * javax/swing/JViewport.java
8886 (getView): Dont use internal fields of Component.
8887 (addImpl): Likewise.
8888 * javax/swing/Timer.java
8889 (isRunning): Made public.
8892 * javax/swing/UIDefaults.java
8893 (getInt): Made public.
8894 * javax/swing/plaf/basic/BasicListUI.java
8895 (mousePressed): Dont use internal fields of MouseEvent.
8896 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8897 * javax/swing/plaf/basic/BasicScrollBarUI.java
8898 (arrowIcon): Made static.
8899 * javax/swing/plaf/basic/BasicViewportUI.java
8900 (stateChanged): Dont use internal field on ChangeEvent.
8901 * javax/swing/text/JTextComponent.java
8902 (getUI): Call UIManager.getUI().
8903 (updateUI): Use getUI().
8905 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8907 * verify.cc: Undef PC.
8909 2004-03-18 Michael Koch <konqueror@gmx.de>
8911 * java/nio/channels/spi/AbstractSelectableChannel.java
8912 (keys): Initialize at declaration.
8913 (locate): keys cant be null.
8915 (addSelectionKey): New method.
8916 (removeSelectionKey): New method.
8917 * java/nio/channels/spi/AbstractSelectionKey.java
8918 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8919 * java/nio/channels/spi/AbstractSelector.java
8920 (provider): Javadoc added.
8921 (cancelledKeys): Javadoc added.
8922 (cancelKey): Javadoc added, add key to cancelledKeys.
8923 (deregister): Implemented.
8925 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8927 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8928 MAP_FAILED to void *.
8930 2004-03-12 Graydon Hoare <graydon@redhat.com>
8932 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8933 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8934 * javax/swing/JList.java (ListListener): Revalidate on changes.
8935 * javax/swing/JScrollPane.java: Reimplement.
8936 * javax/swing/JViewport.java: Reimplement.
8937 * javax/swing/ScrollPaneLayout.java: Reimplement.
8938 * javax/swing/ViewportLayout.java: Tidy up.
8939 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8940 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8941 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8942 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8945 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8948 (window_wm_protocols_filter): New function.
8949 (window_focus_in_cb): Remove function.
8950 (window_focus_out_cb): Likewise.
8951 (window_focus_or_active_state_change_cb): New function.
8952 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8953 (connectSignals): Don't attach handlers to focus-in-event or
8954 focus-out-event signals. Handle notify signal.
8956 2004-03-11 David Jee <djee@redhat.com>
8958 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8959 (gtkSetLabel): New native method declaration.
8960 (setLabel): Use gtkSetLabel.
8961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8962 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8964 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8966 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8967 black when color argument is null.
8969 2004-03-10 Kim Ho <kho@redhat.com>
8971 * java/awt/Container.java: Remove check
8974 2004-03-10 Kim Ho <kho@redhat.com>
8976 * java/awt/Container.java: (visitChild):
8977 Remove candidate clip. Use the component
8979 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8980 (handleEvent): Use the PaintEvent's clip.
8982 2004-03-10 Kim Ho <kho@redhat.com>
8984 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8985 (handleEvent): Don't set the clip for the
8988 2004-03-09 Graydon Hoare <graydon@redhat.com>
8990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8991 Fix double <-> fixed macros, reset font transform.
8992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8995 2004-03-09Â Kim Ho <kho@redhat.com>
8997 * java/awt/Container.java: (visitChild): Move
8998 the x and y coordinate of the component rectangle
8999 to correct position.
9000 (handleEvent): Forward drag events to the pressed
9002 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9004 (ArrowButtonListener::mousePressed): Stop the
9006 (mouseDragged): Implement.
9007 (TrackListener::mousePressed): Only react if
9008 the press doesn't occur on the thumb, otherwise
9009 just set the offset.
9010 (TrackListener::mouseReleased): Unset the isAdjusting
9012 (createIncreaseIcon): Switch icon.
9013 (createDecreaseIcon): Switch icon.
9014 (calculatePreferredSize): Use width.
9015 (getThumbBounds): Use the top as the lower value.
9016 (layoutVScrollBar): Switch the button locations.
9017 (paintIncreaseHighlight): Paint correct side of thumb.
9018 (paintDecreaseHighlight): ditto.
9019 (valueForYPosition): Use top as the lower value.
9020 * javax/swing/plaf/basic/BasicSliderUI.java:
9022 (mouseDragged): Implement.
9023 (mousePressed): Only react when the thumb isn't
9024 pressed, otherwise just set offset.
9025 (mouseReleased): Handle a release of the thumb.
9026 (scrollDueToClickInTrack): Stop the timer first.
9027 * javax/swing/JProgressBar.java:
9028 (setString): Fix change condition.
9029 * javax/swing/JSeparator.java:
9032 2004-03-08 David Jee <djee@redhat.com>
9034 * java/awt/image/AffineTransformOp.java:
9035 (filter): Use Graphics2D interface instead of directly using the
9038 2004-03-05 David Jee <djee@redhat.com>
9040 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9041 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9042 * java/awt/Container.java
9043 (acquireComponentForMouseEvent): Fixed.
9044 (handleEvent): Fixed.
9045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9046 (state_to_awt_mods_with_button_states): New method.
9047 (pre_event_handler): Fixed mouse event generation.
9049 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9051 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9052 (GdkGraphics2D (BufferedImage)): Initialize
9053 pixmap associated with specified BufferedImage.
9054 (setPaint): Changed implementation of Texture
9055 Paint to use AffineTransformOp.
9056 * java/awt/image/AffineTransformOp.java
9057 (createCompatibleDestRaster): Throw RasterFormatException
9058 if resulting width or height of raster is 0.
9060 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9062 * java/awt/image/AffineTransformOp.java:
9063 Removed unnecessary field interpolationType.
9064 Formatted some of the lines to be consistent with
9066 (AffineTransformOp): Create new RenderingHints
9067 containing specified interpolation type.
9068 (createCompatibleDestImage): Implemented.
9069 (createCompatibleDestRaster): Implemented.
9070 (filter): Implemented.
9071 (getBounds2D(BufferedImage)): Implemented.
9072 (getBounds2D(Raster)): Implemented.
9073 (getInterpolationType): Get interpolation value from
9076 2004-03-04 David Jee <djee@redhat.com>
9078 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9079 (setFont): Check if child peers are null.
9081 2004-03-04 Graydon Hoare <graydon@redhat.com>
9083 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9085 (libjava_arguments): Add new libraries to argument list.
9087 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9089 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9090 * Makefile.in: Re-generated.
9091 * java/awt/image/AffineTransformOp.java: New Class.
9093 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9095 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9096 (setPaint): Interpret correctly TexturePaint's
9098 (drawImage): Fixed scale factors of the affine
9101 2004-02-27 David Jee <djee@redhat.com>
9103 * gnu/java/awt/peer/gtk/GdkGraphics.java
9104 (GdkGraphics(Component)): Inherit font from component.
9105 (drawString): Use font style.
9106 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9107 (gtkSetFont): New native method declaration.
9108 (setFont): New method.
9109 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9110 (gtkSetFont): New native method declaration.
9111 (setFont): Call new native method gtkSetFont.
9112 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9113 (setFont): For all child components who do not their fonts set,
9114 set their peers' fonts with this container's font.
9115 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9116 Move all native method declarations to the top for readability.
9117 (gtkSetFont): New native method declaration.
9118 (setFont): New method.
9119 * java/awt/Component.java
9120 (setFont): Invalidate after setting the font.
9121 * java/awt/Container.java
9122 (invalidateTree): New method.
9123 (setFont): Invalidate the container tree after setting the font.
9124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9125 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9126 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9127 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9128 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9129 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9131 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9133 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9135 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9136 (updateBufferedImage): New helper function.
9137 Updates BufferedImage in memory if it was changed.
9138 (draw): changed to update BufferedImage in memory after
9139 this drawing operation
9141 (draw3DRect): Ditto.
9142 (fill3DRect): Ditto.
9144 (drawRaster): Ditto.
9145 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9146 no affine transformation.
9147 (drawGlyphVector): Ditto.
9149 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9151 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9152 (isBufferedImageGraphics): New Helper function.
9153 Returns true if this graphics2d can be used to draw
9154 into buffered image and false otherwise.
9155 (updateImagePixels): New Helper function.
9156 Updates pixels in the BufferedImage.
9157 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9158 (getImagePixels): New function. Returns pixels
9159 of the buffered image associated with
9162 2004-02-26 David Jee <djee@redhat.com>
9164 * java/awt/BorderLayout.java
9165 (layoutContainer): Fix width and height calculations to ensure
9166 that they're non-negative.
9167 * java/awt/Component.java
9168 (setBackground): If c is null, inherit from closest ancestor whose
9169 background color is set.
9171 2004-02-26 Kim Ho <kho@redhat.com>
9173 * Makefile.am: Add new files.
9174 * Makefile.in: Re-generate.
9175 * javax/swing/JProgressBar.java:
9176 (JProgressBar(int, int int)): Throw
9177 IllegalArgumentException if orientation is
9179 (JProgressBar(BoundedRangeModel)): Create
9180 ChangeListener and register it. UpdateUI.
9181 (getChangeListeners): Implement.
9182 (setModel): Reset ChangeListener.
9183 * javax/swing/JScrollBar.java: Implement.
9184 * javax/swing/JSeparator.java: Implement.
9185 * javax/swing/JSlider.java:
9186 (JSlider(int, int, int, int)): Throw
9187 IllegalArgumentException if orientation
9189 (getChangeListeners): Fix method name.
9190 * javax/swing/SwingUtilities.java:
9191 (layoutCompoundLabel): If there is no text,
9192 set the text rectangle dimensions to 0.
9193 * javax/swing/plaf/basic/BasicButtonUI.java:
9194 (paint): If there is no text, don't paint it.
9195 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9197 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9199 * javax/swing/plaf/basic/BasicSliderUI.java:
9200 (propertyChange): If the model changes, change
9201 the listeners accordingly.
9203 2004-02-25 Graydon Hoare <graydon@redhat.com>
9205 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9206 * javax/swing/JList.java: Reimplement.
9207 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9208 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9209 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9210 * javax/swing/ListModel.java: Javadoc.
9211 * javax/swing/ListSelectionModel.java: Add missing methods.
9212 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9213 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9214 * javax/swing/ListModel.java: Javadoc and corrections.
9215 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9217 2004-02-25 David Jee <djee@redhat.com>
9219 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9220 (GtkFontPeer): Change default size to 12.
9221 * gnu/java/awt/peer/gtk/GtkToolkit.java
9222 (getFontPeer): Change default size to 12.
9223 (getClasspathFontPeer): Likewise. Set default name to "Default".
9224 * java/awt/Font.java
9225 (Font(Map)): Call Font(String,Map).
9226 (Font(String,Map)): If attrs is null, initialize it as an empty
9227 HashMap, which will ensure that the Font will get default attributes.
9229 2004-02-25 David Jee <djee@redhat.com>
9231 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9232 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9233 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9234 * gnu/java/awt/peer/gtk/GtkToolkit.java
9235 (getFontPeer(String,int)): Call the new overload method with size 1.
9236 (getFontPeer(String,int,int)): New method. Overloaded with size
9238 (getClasspathFontPeer): Set the size of the font.
9240 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9242 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9243 (bimage): New field.
9244 (GdkGraphics2D): New Constructor. Constructs Graphics
9245 object that can be used to draw into the Buffered Image.
9246 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9247 (GdkGraphicsEnvironment): Fixed to include public
9249 (createGraphics): Implemented.
9250 * gnu/java/awt/peer/gtk/GtkToolkit.java
9251 (getLocalGraphicsEnvironment): Implemented.
9252 * java/awt/GraphicsEnvironment.java:
9253 (getLocalGraphicsEnvironment): Implemented.
9254 * java/awt/image/BufferedImage.java:
9255 (createGraphics): Implemented.
9257 2004-02-24 David Jee <djee@redhat.com>
9259 * java/awt/Component.java
9260 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9261 * java/awt/Container.java
9262 (addNotifyContainerChildren): Fix event enabling.
9264 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9266 * Makefile.am: Added
9267 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9268 * Makefile.in: Re-generated.
9269 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9272 2004-02-19 Kim Ho <kho@redhat.com>
9274 * Makefile.am: Add BasicProgressBarUI
9275 * Makefile.in: Regenerate.
9276 * javax/swing/JProgressBar.java:
9278 * javax/swing/plaf/basic/BasicLookAndFeel.java
9279 Add constants for JProgressBar.
9280 * javax/swing/plaf/basic/BasicProgressBarUI.java
9282 * javax/swing/plaf/basic/BasicSliderUI.java
9284 (calculateGeometry): New method
9285 (paint): Remove unnecessary size calculations.
9287 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9289 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9290 (drawRaster): Fixed small error that caused
9291 imageToUser transformation to be set incorrectly.
9292 (toString): Implemented.
9294 2004-02-18 David Jee <djee@redhat.com>
9296 * java/awt/CardLayout.java
9297 (addLayoutComponent): Show the first component added as the default.
9298 (removeLayoutComponent): After removing, show the next component.
9299 (gotoComponent): If there is only one component, show it and return.
9301 2004-02-18 Kim Ho <kho@redhat.com>
9303 * javax/swing/JSlider.java: Re-order
9305 * javax/swing/JLabel.java: Re-order
9307 * javax/swing/JComponent.java:
9308 (addPropertyChangeListener):
9310 (removePropertyChangeListener):
9312 (firePropertyChangeEvent):
9315 2004-02-17 David Jee <djee@redhat.com>
9317 * java/awt/Component.java
9318 (show): Dispatch ComponentEvent via system event queue.
9322 (reshape): Likewise.
9323 * java/awt/Window.java
9324 (setBoundsCallback): Likewise.
9326 2004-02-17 David Jee <djee@redhat.com>
9328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9329 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9330 Use gtk_widget_set_size_request() instead of the deprecated
9331 gtk_widget_set_usize().
9333 2004-02-17 Kim Ho <kho@redhat.com>
9335 * javax/swing/JSlider.java: Fix comments and
9336 make property strings constants.
9337 (createStandardLabels): Use the labels
9338 preferred size as bounds.
9339 * javax/swing/plaf/basic/BasicSliderUI.java
9341 (ScrollHandler::actionPerformed): Don't
9342 calculate the timer stop value. Let the
9343 MouseListeners find the stop location.
9344 (getPreferredHorizontalSize): Re-implement.
9345 (getPreferredVerticalSize): ditto.
9346 (getMinimumHorizontalSize): ditto.
9347 (getMinimumVerticalSize): ditto.
9348 (getPreferredSize): ditto.
9349 (getMinimumSize): ditto.
9350 (getMaximumSize): ditto.
9351 (paintTicks): Use doubles to find the
9353 (paintHorizontalLabel):Â Use preferredSize
9354 as initial width and height.
9355 (paintVerticalLabel): ditto.
9357 2004-02-17 Kim Ho <kho@redhat.com>
9359 * javax/swing/JLabel.java: Changed
9360 property strings to constants.
9361 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9363 (setText): Change mnemonic index if
9365 (setDisplayedMnemonicIndex): Fire property
9367 (getDisplayedMnemonicIndex): Remove check
9370 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9372 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9373 (drawImage(img,xform,obs)): Invert xform before
9374 passing the xform to cairo.
9375 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9376 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9378 (drawImage (img,x,y,w,h,obs)): Implemented.
9379 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9380 bgcolor,obs)): Partly implemented.
9381 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9383 * java/awt/image/BufferedImage.java:
9384 (copyData): if dest is null, create raster with same
9385 dimensions as the current image.
9387 2004-02-16 Graydon Hoare <graydon@redhat.com>
9389 * javax/swing/plaf/basic/BasicLabelUI.java
9390 (getPreferredSize): Use layoutCL.
9391 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9392 (getPreferredButtonSize): Start with empty view rect, layout using
9393 component's preferred alignment.
9394 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9397 2004-02-16 David Jee <djee@redhat.com>
9399 * java/awt/Component.java
9400 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9401 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9402 (move): Erase old bounds and repaint new bounds. Dispatch
9403 COMPONENT_MOVED ComponentEvent.
9404 (resize): Erase old bounds and repaint new bounds. Dispatch
9405 COMPONENT_RESIZED ComponentEvent.
9406 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9408 * java/awt/Window.java
9409 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9412 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9414 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9415 (setRenderingHint): Added implementation of
9416 Interpolation rendering hints.
9417 (setRenderingHints): Ditto.
9418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9419 (drawPixels): fixed to allow user to choose type
9420 of filtering that should be used when displaying images.
9421 (cairoSurfaceSetFilter): New method. Sets filter type for
9422 interpolation of pixel values.
9424 2004-02-16 David Jee <djee@redhat.com>
9426 * java/awt/GridBagLayout.java
9427 (calcCellSizes): Rows or columns with zero sizes should still be
9428 considered for extra space distribution.
9430 2004-02-16 Kim Ho <kho@redhat.com>
9432 * javax/swing/JLabel.java: Re-implement.
9433 * javax/swing/plaf/basic/BasicLabelUI.java
9435 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9438 2004-02-16 Kim Ho <kho@redhat.com>
9440 * javax/swing/JSlider.java: Fix indentation and comments.
9441 (setModel): Remove null check to conform with Sun's.
9442 (setOrientation): Throw exception if not
9443 HORIZONTAL or VERTICAL.
9444 (getInverted): Use private variable instead of
9445 ComponentOrientation.
9446 (setInverted): ditto.
9447 * javax/swing/plaf/basic/BasicSliderUI.java:
9448 Fix indentation and comments.
9449 (propertyChange): Remove check for inverted slider, handle
9451 (getMinimumSize): Return preferred size.
9452 (getMaximumSize): ditto.
9453 (calculateFocusRect): Don't relocate rectangle.
9454 (drawInverted): Return XOR of the slider's inversion and
9455 the component's orientation.
9456 (paint): Update leftToRightCache
9458 2004-02-13 David Jee <djee@redhat.com>
9460 * java/awt/GridBagLayout.java
9461 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9462 code to helper methods.
9463 (sortBySpan): New helper method.
9464 (distributeSizeAndWeight): Likewise.
9465 (calcCellWeights): Likewise.
9466 (calcCellSizes): Add comments.
9468 2004-02-13 David Jee <djee@redhat.com>
9470 * java/awt/Component.java
9471 (show): Only do something if component is invisible at the moment.
9472 (hide): Only do something if component is visible at the moment.
9473 (reshape): If lightweight, erase old bounds and repaint new bounds.
9475 2004-02-13 Kim Ho <kho@redhat.com>
9477 * Makefile.am: Updated for new file.
9478 * Makefile.in: Regenerated.
9479 * javax/swing/JSlider.java: Reimplement.
9480 * javax/swing/SwingUtilities.java
9481 (layoutCompoundLabel): Use icon height
9483 (paintComponent): Implement.
9484 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9485 Add JSlider defaults.
9486 * javax/swing/plaf/basic/BasicSliderUI.java:
9487 Implement. New file.
9489 2004-03-17 Michael Koch <konqueror@gmx.de>
9491 * gnu/java/net/PlainDatagramSocketImpl.java
9492 (RECEIVE_LOCK): New member field.
9493 (SEND_LOCK): New member field.
9494 (send0): New method.
9495 (send): Synchronize on SEND_LOCK.
9496 (receive0): New method.
9497 (receive): Synchronize on RECEIVE_LOCK.
9498 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9499 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9500 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9501 (send0): Renamed from send.
9502 (receive0): Renamed from receive.
9503 2004-03-17 Michael Koch <konqueror@gmx.de>
9505 * gnu/java/net/natPlainSocketImplPosix.cc
9506 (write): Just call write(jbyteArray, offset, len).
9507 (read): Just call read(jbyteArray, offset, len).
9509 2004-03-16 Michael Koch <konqueror@gmx.de>
9511 * javax/swing/JTabbedPane.java
9512 (serialVersionUID): New field.
9514 2004-03-16 Norbert Frese <postfach@nfrese.net>
9516 * java/net/InetAddress.java
9517 (getByName): Handle hostname == "" case.
9519 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9521 Reported by: Adam Heath <doogie@debian.org>
9522 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9525 2004-03-15 Michael Koch <konqueror@gmx.de>
9527 * java/util/Locale.java: Reverting my last patch
9528 and add a comment why the original version was okay.
9530 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9532 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9533 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9534 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9535 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9537 2004-03-12 Michael Koch <konqueror@gmx.de>
9539 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9541 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9543 * java/net/URI.java (toURL): Implemented.
9545 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9548 (URI_REGEXP) updated to contain scheme specific part.
9549 (SCHEME_SPEC_PART_GROUP) new constant.
9550 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9551 updated to make room for SCHEME_SPEC_PART_GROUP.
9552 (parseURI) parse scheme specific part.
9553 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9554 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9555 getQuery, getFragment) implemented.
9557 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9559 * libraries/javalib/java/net/URI.java
9560 partially implemented using java.util.regex.
9561 (URI_REGEXP) new constant. Used to parse URIs.
9562 (SCHEME_GROUP) new constant representing index of scheme group
9564 (AUTHORITY_GROUP) new constant representing index of authority
9565 group in parsed URI.
9566 (PATH_GROUP) new constant representing index of path group in
9568 (QUERY_GROUP) new constant representing index of query group in
9570 (FRAGMENT_GROUP) new constant representing index of fragment
9571 group in parsed URI.
9572 (getURIGroup) new static utility method.
9573 (parseURI) implemented.
9574 (quote) stub for new static utility method.
9575 (quoteAuthority) stub for new static utility method.
9576 (quoteHost) stub for new static utility method.
9577 (quotePath) stub for new static utility method.
9578 (quoteUserInfo) stub for new static utility method.
9580 (create) don't throw URISyntaxException. Implemented.
9581 (toString) implemented.
9583 2004-03-12 Michael Koch <konqueror@gmx.de>
9585 * java/net/HttpURLConnection.java
9586 (getResponseCode): Fix another typo in javadoc.
9588 2004-03-11 Michael Koch <konqueror@gmx.de>
9590 * java/util/logging/Level.java
9591 (parse): Use String.equals() instead of ==.
9593 2004-03-11 Michael Koch <konqueror@gmx.de>
9595 * gnu/java/net/protocol/jar/Connection.java
9596 (getContentLength): New method.
9598 2004-03-11 Michael Koch <konqueror@gmx.de>
9600 * gnu/java/net/PlainSocketImpl.java:
9601 Reformated to merge better with classpath's version.
9603 2004-03-11 Michael Koch <konqueror@gmx.de>
9605 * java/util/Locale.java
9606 (getISO3Language): Use String.equals() instead of ==.
9607 (getISO3Country): Likewise.
9609 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9611 * java/text/AttributedString.java
9612 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9613 Use HashMap instead of Hashtable since value can be null, and
9614 you can not store a null value in a Hashtable.
9616 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9618 * java/text/AttributedStringIterator.java
9619 (getAllAttributesKey): Return only keys concerned
9620 by the current iterator.
9621 (getAttributes): Use strict inequality for
9624 2004-03-11 Michael Koch <konqueror@gmx.de>
9626 * java/net/HttpURLConnection.java:
9627 Fixed typo in javadoc.
9629 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9631 * java/io/BufferedInputStream.java (marktarget): New field for max
9633 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9634 (mark): Use new fields.
9636 (read(byte[],int,int)): Likewise.
9640 2004-03-11 Mark Wielaard <mark@klomp.org>
9642 * java/beans/BeanDescriptor.java (BeanDescriptor):
9643 Set the FeatureDescriptor programmatic name.
9645 2004-03-11 Michael Koch <konqueror@gmx.de>
9647 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9648 This file was was just copied form java/io/natFileDescriptorEcos.cc
9649 and never changed to compile correctly.
9651 2004-03-11 Michael Koch <konqueror@gmx.de>
9653 * gnu/java/nio/PipeImpl.java
9654 (SourceChannelImpl): Made final.
9655 (read): Implemented.
9656 (SinkChannelImpl): Made final.
9657 (write): Implemented.
9659 2004-03-11 Michael Koch <konqueror@gmx.de>
9661 * gnu/java/net/PlainDatagramSocketImpl.java:
9662 Reformated to match classpath's version more.
9664 2004-03-11 Michael Koch <konqueror@gmx.de>
9666 * gnu/java/awt/peer/ClasspathFontPeer.java:
9667 Fixed javadoc to be correct xhtml.
9668 * gnu/java/awt/peer/gtk/GtkArgList.java
9669 (add): Use Boolean.valueOf() instead of new Boolean().
9671 2004-03-09 Michael Koch <konqueror@gmx.de>
9673 * java/lang/Thread.java
9674 (runnable): Moved around.
9675 (daemon): Renamed from daemon_flag.
9676 (contextClassLoader): Renamed from context_class_loader.
9677 (Thread): Reordered constructors.
9678 (activeCount): Use group directly.
9679 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9680 (holdsLock): Reworked javadoc.
9681 (setDaemon): Reworked.
9682 * java/lang/natThread.cc
9685 2004-03-08 Anthony Green <green@redhat.com>
9687 * Makefile.am: Build property resource files into libgcj.
9688 * Makefile.in: Rebuilt.
9689 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9690 java/util/regex/PatternSyntaxException.java,
9691 gnu/regexp/CharIndexed.java,
9692 gnu/regexp/CharIndexedCharArray.java,
9693 gnu/regexp/CharIndexedInputStream.java,
9694 gnu/regexp/CharIndexedReader.java,
9695 gnu/regexp/CharIndexedString.java,
9696 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9697 gnu/regexp/REException.java,
9698 gnu/regexp/REFilterInputStream.java,
9699 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9700 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9701 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9702 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9703 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9704 gnu/regexp/RETokenLookAhead.java,
9705 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9706 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9707 gnu/regexp/RETokenStart.java,
9708 gnu/regexp/RETokenWordBoundary.java,
9709 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9711 2004-03-03 Per Bothner <per@bothner.com>
9713 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9714 Optimize when argument is a FileChannelImpl.
9715 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9717 * java/nio/channels/natChannels.cc: New file for new native methods.
9718 * Makefile.am: Update accordingly.
9720 2004-03-02 Jan Hubicka <jh@suse.cz>
9722 * configure.host: Pass -fno-omit-frame-pointer for i386.
9723 * configure.in: Likewise.
9724 * configure: Regenerate.
9726 2004-03-01 Per Bothner <per@bothner.com>
9728 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9730 2004-02-29 Per Bothner <per@bothner.com>
9732 * java/nio/channels/FileChannelImpl.java: Moved to package
9733 gnu/java/nio/channels, since we need to refer to it from java.io.
9734 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9735 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9736 from java/nio/channels. Don't depend on FileDescriptor.
9737 (in, out, err): New static fields.
9739 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9740 from FileDescriptor.
9741 (by): Removed MappedByteBuffer field.
9742 (map): New working implementation.
9743 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9744 some code "ported" from natFileDescriptoPosix.cc.
9745 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9746 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9747 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9748 Remove native methods.
9749 * Makefile.am, configure.in: Updated accordingly.
9751 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9752 (ch): New FileChannelImpl field. Update constructor to match.
9753 (releaseImpl): Remove native method. Instead ...
9754 (release): Call unlock on channel.
9755 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9757 * java/io/natFileDescriptorEcos.cc: Remove file.
9758 * java/io/natFileDescriptorPosix.cc: Remove file.
9759 * java/io/natFileDescriptorWin32.cc: Remove file.
9760 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9761 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9762 (<init>(FileChannelImpl)): New package-private constructor.
9763 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9764 (available, close, read, skip): Implement using FileChannelImpl.
9765 (getFD): Allocate FileDescriptor if needed.
9766 (getChannel): Is now trivial.
9767 * java/io/FileOutputStream.java: Corresponding changes.
9768 * java/io/RandomAccessFile.java: Corresponding changes.
9770 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9771 unmapImpl): New dummy methods, to be overridden by subclass.
9772 (finalize, isLoaded, load, force): New methods.
9773 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9774 Now works, at least for read mapping.
9776 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9777 streams using FileChannelImpl, not FileDescriptor.
9778 * java/lang/natWin32Process.cc (startProcess): Likewise.
9780 2004-02-28 Michael Koch <konqueror@gmx.de>
9782 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9785 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9787 * java/io/ObjectInputStream.java
9788 (readClassDescriptor): Keep elements of the mapping non null.
9789 (checkTypeConsistency): New method.
9790 (readFields): Fixed main loop and base logic. Small reindentation.
9791 * java/io/ObjectStreamField.java
9792 (lookupField): New method to update the field reference.
9793 (checkFieldType): New method.
9794 * java/io/ObjectStreamClass.java
9795 (setClass, setFields): Call lookupField when building the field
9796 database. Check the real field type.
9798 2004-02-28 Michael Koch <konqueror@gmx.de>
9800 * java/nio/ByteOrder.java
9801 (nativeOrder): Use equals() to compare strings.
9803 2004-02-26 Michael Koch <konqueror@gmx.de>
9805 * gnu/java/nio/FileLockImpl.java
9806 (finalize): Made protected.
9807 * java/nio/channels/FileChannel.java
9808 (MapMode.READ_ONLY): Made final.
9809 (MapMode.READ_WRITE): Made final.
9810 (MapMode.PRIVATE): Made final.
9811 * java/nio/channels/SocketChannel.java
9812 (open): Simplified code.
9813 * java/nio/channels/spi/AbstractSelectableChannel.java
9814 (registered): Unused, removed.
9815 (keyFor): Check channel is open, only locate key
9816 and not add a new one.
9817 (register): Don't delete attachments.
9819 2004-02-26 Michael Koch <konqueror@gmx.de>
9821 * gnu/java/awt/ComponentDataBlitOp.java
9822 (INSTANCE): Made final.
9823 * gnu/java/awt/image/ImageDecoder.java:
9825 (cm): Unused, removed.
9827 2004-02-26 Michael Koch <konqueror@gmx.de>
9829 * gnu/java/nio/DatagramChannelImpl.java
9830 (send): Check if target address is resolved.
9832 2004-02-26 Michael Koch <konqueror@gmx.de>
9834 * Makefile.am: Generate and install headers for inner classes in
9835 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9836 * Makefile.in: Regenerated.
9838 2004-02-24 Anthony Green <green@redhat.com>
9840 * java/lang/StringBuffer.java: No need to NULL out remainder of
9841 buffer since ensureCapacity_unsynchronized will have done this for
9844 2004-02-20 Michael Koch <konqueror@gmx.de>
9846 * gnu/java/net/protocol/jar/Handler.java
9847 (): Removed unneeded check for file != null. java.net.URL.getFile()
9848 returns an empty string but never null.
9850 2004-02-20 Michael Koch <konqueror@gmx.de>
9852 * gnu/gcj/convert/Convert.java
9853 (main): Use equals() to compare strings.
9855 2004-02-20 Michael Koch <konqueror@gmx.de>
9857 * javax/swing/AbstractButton.java: Made several constants final.
9858 (getRolloverSelectedIcon): Made public.
9859 (getSelectedIcon): Made public.
9861 2004-02-16 Per Bothner <per@bothner.com>
9863 * java/nio/CharBufferImpl.java: Inline super constructor.
9864 * java/nio/DoubleBufferImpl.java: Likewise.
9865 * java/nio/FloatBufferImpl.java: Likewise.
9866 * java/nio/IntBufferImpl.java: Likewise.
9867 * java/nio/LongBufferImpl.java: Likewise.
9868 * java/nio/ShortBufferImpl.java: Likewise.
9869 * java/nio/CharBuffer.java: Remove unused constructor.
9870 * java/nio/DoubleBuffer.java: Likewise.
9871 * java/nio/FloatBuffer.java: Likewise.
9872 * java/nio/IntBuffer.java: Likewise.
9873 * java/nio/LongBuffer.java: Likewise.
9874 * java/nio/ShortBuffer.java: Likewise.
9875 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9876 Fix buggy call to super constructor.
9877 * java/nio/DoubleViewBufferImpl.java: Likewise.
9878 * java/nio/FloatViewBufferImpl.java: Likewise.
9879 * java/nio/IntViewBufferImpl.java: Likewise.
9880 * java/nio/LongViewBufferImpl.java: Likewise.
9881 * java/nio/ShortViewBufferImpl.java: Likewise.
9883 * java/nio/ByteBuffer.java (endian): Make non-private so other
9884 java.nio classes can inherit it.
9885 (<init>): Don't bother clearing array_offset.
9886 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9887 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9888 Remove redundant test.
9890 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9891 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9892 Use new XxxViewBufferImpl constructors.
9893 * java/nio/MappedByteBufferImpl.java: Likewise.
9894 * java/nio/DirectByteBufferImpl.java: Likewise.
9896 * java/nio/ByteBufferImpl.java: Remove one constructor.
9897 Inline super in remaining constructor.
9898 * java/nio/ByteBuffer.java: Remove unused constructor.
9900 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9902 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9903 * java/nio/DirectByteBufferImpl.java (owner): New field.
9904 (offset): Remove unused field.
9905 (<init>): Modify one and add another constructor. Change callers.
9906 (allocateDirect): Removed - not used.
9907 (getImpl, putImpl): Make static and pass address explicitly,
9908 to make them useful for MappedByteBufferImpl.
9909 (get, put): Check for underflow. Modify for new getImpl.
9910 (getImpl): New native method where target is array.
9911 (get(byte[],int,int)): Use the above.
9912 (adjustAddress): New static native method.
9913 (slice, duplicate, asReadOnly): New implementations.
9914 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9915 adjustAddress): New or updated native methods.
9917 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9919 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9920 overflow of fieldmapping.
9922 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9924 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9926 2004-02-14 Per Bothner <per@bothner.com>
9928 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9929 Set closed before calling implCloseChannel, as in the spec.
9931 2004-02-09 Graydon Hoare <graydon@redhat.com>
9933 * javax/swing/ToggleButtonModel.java: Remove dead class.
9934 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9935 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9936 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9937 * Makefile.am: Update for new and removed files.
9938 * Makefile.in: Regenerate.
9940 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9941 * javax/swing/AbstractButton.java
9942 (AbstractButton): Initialize fields correctly in ctor.
9943 * javax/swing/JCheckbox.java
9944 (JCheckBox): Override painting flags.
9945 * javax/swing/DefaultButtonModel.java: Conform to sun.
9946 * javax/swing/JComponent.java (paint): Fill with background color
9948 (processComponentKeyEvent)
9951 (processMouseMotionEvent): Remove event-consuming empty methods.
9952 (getUIClassID): Return "ComponentUI" not "JComponent"
9953 * javax/swing/JFrame.java: Remove some debugging chatter.
9954 (JFrame): Subscribe to window events.
9955 * javax/swing/JRadioButton.java
9956 (JRadioButton): Override painting flags.
9957 * javax/swing/JRootPane.java
9958 (JRootPane): Set background from UIDefaults.
9959 * javax/swing/JToggleButton.java
9960 (ToggleButtonModel): New inner class.
9961 (JToggleButton): Override layout alighment.
9962 * javax/swing/SwingUtilities.java:
9963 (getLocalBounds): Return width and height, not x and y.
9964 (calculateInnerArea): Use local bounds, not bounds.
9965 (layoutCompoundLabel): Provide overridden form.
9966 (layoutCompoundLabel): Correct bugs.
9967 * javax/swing/UIDefaults.java: Correct comment.
9968 * javax/swing/plaf/basic/BasicButtonUI.java:
9969 Move most logic into defaults, external listener.
9970 (paintIcon): Implement icon painting.
9971 (paint): Fix state painting to conform to changes in model.
9972 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9973 Remove most dead/wrong methods.
9974 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9975 * javax/swing/plaf/basic/BasicIconFactory.java:
9976 (DummyIcon): New class.
9977 (getMenuItemCheckIcon)
9978 (getMenuItemArrowIcon)
9980 (getCheckBoxMenuItemIcon)
9981 (getRadioButtonMenuItemIcon)
9982 (createEmptyFrameIcon): Return DummyIcons, not null.
9983 (getCheckBoxIcon): Implement an icon that looks like sun's.
9984 (getRadioButtonIcon): Implement an icon that looks like sun's.
9985 * javax/swing/plaf/basic/BasicLookAndFeel.java
9986 (initComponentDefaults): Fix impossible values, add some missing.
9987 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9988 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9989 Remove most dead/wrong methods.
9991 (getDefaultIcon): New method.
9992 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9993 Remove most dead/wrong methods.
9994 * javax/swing/plaf/metal/MetalLookAndFeel.java
9995 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9996 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9997 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9998 Implement "clearing" as drawing, when on pixmap drawables.
10000 * javax/swing/JButton.java (getUIClassID):
10001 * javax/swing/JCheckBox.java (getUIClassID):
10002 * javax/swing/JEditorPane.java (getUIClassID):
10003 * javax/swing/JLabel.java (getUIClassID):
10004 * javax/swing/JList.java (getUIClassID):
10005 * javax/swing/JOptionPane.java (getUIClassID):
10006 * javax/swing/JPanel.java (getUIClassID):
10007 * javax/swing/JPasswordField.java (uiClassID):
10008 * javax/swing/JRadioButton.java (getUIClassID):
10009 * javax/swing/JRootPane.java (getUIClassID):
10010 * javax/swing/JScrollPane.java (getUIClassID):
10011 * javax/swing/JTabbedPane.java (getUIClassID):
10012 * javax/swing/JToggleButton.java (getUIClassID):
10013 * javax/swing/JTree.java (getUIClassID):
10014 * javax/swing/JViewport.java (getUIClassID):
10015 * javax/swing/text/JTextComponent.java (getUIClassID):
10016 Return "fooUI" not "Jfoo"
10018 2004-02-11 Michael Koch <konqueror@gmx.de>
10020 * java/net/DatagramSocket.java
10021 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10023 (setBroadcast): Likewise.
10024 * java/net/MulticastSocket.java
10025 (setLoopbackMode): Likewise.
10026 * java/net/ServerSocket.java
10027 (setReuseAddress): Likewise.
10028 * java/net/Socket.java
10029 (setTcpNoDelay): Likewise.
10030 (setSoLinger): Likewise.
10031 (setOOBInline): Likewise.
10032 (setKeepAlive): Likewise.
10033 (setReuseAddress): Likewise.
10034 * java/net/URLConnection.java
10035 (setContentHandler): Replace == with equals().
10036 * java/net/URLStreamHandler.java
10037 (hostSEquals): Fix checking host addresses.
10038 (toExternalForm): Dont check protocol for null. We know already its
10041 2004-02-10 David Jee <djee@redhat.com>
10043 * java/awt/BorderLayout.java
10044 (calcCompSize): Invisible components get zero dimensions.
10045 * java/awt/Button.java
10046 (setLabel): Set actionCommand.
10047 * java/awt/Component.java
10048 (show): Invalidate component and parent container.
10051 2004-02-10 David Jee <djee@redhat.com>
10053 * java/awt/GridBagLayout.java
10054 (GridBagLayout): New private field, internalcomptable.
10055 (lookupInternalConstraints): New method.
10056 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10057 (GetLayoutInfo): Reimplement.
10058 (calcCellSizes): Ignore rows/columns with size 0.
10060 2004-02-10 Michael Koch <konqueror@gmx.de>
10062 * gnu/java/awt/EmbeddedWindow.java
10063 (setHandle): Use java.awt.Component.getPeer() instead of
10064 java.awt.Component.peer directly.
10066 2004-02-10 David Jee <djee@redhat.com>
10068 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10069 (gtkSetLabel): New native method definition.
10070 (setLabel): Use gtkSetLabel.
10071 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10072 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10074 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10076 * include/powerpc-signal.h: Revert 2004-01-21 change.
10077 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10078 from syscall for ppc32 versions.
10080 2004-02-08 Per Bothner <per@bothner.com>
10082 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10083 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10084 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10085 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10086 Pass ByteOrder parameter to most methods, since the underlying
10087 ByteBuffer's order isn't always what we should use.
10088 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10089 * java/nio/DirectByteBufferImpl.java: Likewise.
10090 Use ByteBufferHelper methods.
10091 * java/nio/MappedByteBufferImpl.java: Likewise.
10092 (compact): Use shiftDown.
10093 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10094 (get, put): Use ByteBufferHelper.
10095 (compact): Use new shiftDown method.
10096 (duplicate(boolean)): New helper method.
10097 (duplicate, asReadOnlyBuffer): Use it.
10098 (order): Return endian field.
10099 * java/nio/DoubleViewBufferImpl.java: Likewise.
10100 * java/nio/FloatViewBufferImpl.java: Likewise.
10101 * java/nio/IntViewBufferImpl.java: Likewise.
10102 * java/nio/LongViewBufferImpl.java: Likewise.
10103 * java/nio/ShortViewBufferImpl.java: Likewise.
10104 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10105 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10106 (compact): Re-implement using shiftDown.
10108 2004-02-08 Andreas Jaeger <aj@suse.de>
10110 * include/x86_64-signal.h: Fix typo.
10112 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10114 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10115 qualifier to _regs.
10116 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10118 2004-02-06 Michael Koch <konqueror@gmx.de>
10120 * java/io/ObjectInputStream.java
10121 (currentClassLoader): Reverted to old version of this method.
10123 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10125 * java/io/ObjectInputStream.java: Made all calls
10126 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10127 use cached info from ObjectStreamClass. (readClassDescriptor):
10128 Cache more information in ObjectStreamClass. (processResolution,
10129 readFields): Use cached info from ObjectStreamClass.
10130 (newObject): Throw exception instead of returning null for failure.
10131 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10132 setCharField, setDoubleField, setFloatField, setIntField,
10133 setLongField, setShortField, setObjectField, readObjectParams):
10134 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10136 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10137 (setClass): Added call to cacheMethods() (findMethod): New method.
10138 (cacheMethods): New method. (ObjectStreamClass): Added call to
10139 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10140 AccessController.doPrivileged to invoke setAccessible.
10141 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10142 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10144 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10145 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10146 isPrimitive): Made safe for cases where type == null.
10147 (setBooleanField, setByteField, setCharField, setShortField,
10148 setIntField, setLongField, setFloatField, setDoubleField,
10149 setObjectField): New methods.
10151 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10153 * java/awt/Component.java (getFont): Return a default font
10156 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10157 (Scrollbar (int, int, int, int, int)): Make default page
10159 (setValues): Only call peer.setValues if one of the values has
10161 (generateName): New method.
10162 (getUniqueLong): New method.
10163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10164 (range_scrollbar): Remove structure.
10165 (post_adjustment_event): Remove function.
10166 (post_change_event): Accept jobject argument.
10167 (create): Cast jints to gdoubles. Round scrollbar values to the
10168 nearest integer. Clamp min, max and value settings.
10169 (connectJObject): Connect hook to widget->window.
10170 (connectSignals): Remove range_scrollbar structure variables.
10171 Remove "move-slider" connection. Pass global peer reference to
10172 "value-changed" callback.
10173 (setLineIncrement): Cast jint value to gdouble.
10174 (setPageIncrement): Likewise.
10175 (setValues): Likewise. Clamp min, max and value settings.
10177 2004-02-05 Michael Koch <konqueror@gmx.de>
10179 * javax/swing/AbstractCellEditor.java
10180 (getCellEditorValue): Removed.
10181 * javax/swing/Box.java: Reformated.
10182 (serialVersionUID): New field.
10183 * javax/swing/ButtonGroup.java:
10184 Removed some weird whitespace.
10185 * javax/swing/CellEditor.java: Reformated.
10186 * javax/swing/CellRendererPane.java
10187 (serialVersionUID): New field.
10188 (AccessibleCellRendererPaneserialVersionUID): New field.
10189 * javax/swing/DefaultListModel.java
10190 (serialVersionUID): New field.
10191 * javax/swing/JEditorPane.java
10192 (serialVersionUID): New field.
10193 (setPage): Throws IOException.
10194 (addHyperlinkListener): Implemented.
10195 (removeHyperlinkListener): Implemented.
10196 (getHyperlinkListener): New method.
10197 * javax/swing/JFileChooser.java
10198 (serialVersionUID): New field.
10199 (AccessibleJFileChooser.serialVersionUID): New field.
10200 (addActionListener): Implemented.
10201 (removeActionListener): Implemented.
10202 (getActionListeners): New method.
10203 * javax/swing/JFormattedTextField.java
10204 (serialVersionUID): New field.
10205 (AbstractFormatter.serialVersionUID): New field.
10206 (clone): Throws CloneNotSupportedException
10207 (setEditValid): Add missing argument.
10208 (stringToValue): Throws ParseExcpetion.
10209 (valueToString): Throws ParseException.
10210 (commitEdit): Throws ParseException.
10211 * javax/swing/JLabel.java
10212 (serialVersionUID): New field.
10213 * javax/swing/JList.java
10214 (serialVersionUID): New field.
10215 (addListSelectionListener): Reformated.
10216 (removeListSelectionListener): Reformated.
10217 (getListSelectionListeners): New method.
10218 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10220 (serialVersionUID): New field.
10221 * javax/swing/table/AbstractTableModel.java
10222 (getValueAt): Removed.
10223 (getColumnCount): Removed.
10224 (getRowCount): Removed.
10226 2004-02-05 Michael Koch <konqueror@gmx.de>
10228 * java/awt/datatransfer/DataFlavor.java
10229 (imageFlavor): Javadoc added.
10230 (javaJVMLocalObjectType): Fixed.
10232 2004-02-05 Michael Koch <konqueror@gmx.de>
10234 * java/lang/Thread.java
10235 (Thread): Reordered.
10236 (setContextClassLoader): Fixed javadoc comment.
10237 (setPriority): Reordered.
10238 (yield): Reordered.
10239 (initialize_native): Reordered.
10240 (gen_name): Reordered.
10242 2004-02-05 Michael Koch <konqueror@gmx.de>
10244 * java/lang/Thread.java: Reordered fields, reformated much code,
10245 no functional changes, some variables renamed, javadoc comments
10248 2004-02-05 Michael Koch <konqueror@gmx.de>
10250 * java/util/zip/Deflater.java,
10251 java/util/zip/DeflaterOutputStream.java,
10252 java/util/zip/GZIPInputStream.java:
10253 Reformated and javadoc comments merged from classpath.
10255 2004-02-05 Michael Koch <konqueror@gmx.de>
10257 * gnu/java/nio/NIOServerSocket.java
10258 (impl): Unused, removed.
10259 * gnu/java/nio/SocketChannelImpl.java
10260 (finnishConnect): Don't throw NoConnectionPendingException if not
10261 connected or no connection pending.
10263 2004-02-02 Graydon Hoare <graydon@redhat.com>
10265 * javax/swing/SwingUtilities.java: Many new functions.
10266 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10267 * javax/swing/basic/BasicGraphicsUtils.java
10268 (getPreferredButtonSize): Start layout from top-left corner.
10270 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10272 * java/awt/geom/AffineTransform.java:
10273 Corrected comments on the field definitions for
10275 (shear): Fixed few errors that caused shear
10276 transformation to be performed incorrectly.
10277 (createInverse): Fixed to return correct
10278 inverse of the given matrix.
10280 2004-02-03 Tom Tromey <tromey@redhat.com>
10282 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10283 PATH or LD_LIBRARY_PATH is not set in parent environment.
10285 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10287 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10288 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10289 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10290 java/awt/Component.java, java/awt/Container.java,
10291 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10292 java/awt/LayoutManager2.java, java/awt/List.java,
10293 java/awt/Menu.java, java/awt/MenuBar.java,
10294 java/awt/MenuItem.java, java/awt/Polygon.java,
10295 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10296 java/awt/Scrollbar.java, java/awt/TextArea.java,
10297 java/awt/TextField.java,
10298 java/awt/image/renderable/RenderContext.java,
10299 javax/swing/JApplet.java: Fix handling of alias methods, where a
10300 method has been deprecated in favour of a new one with the same
10301 funtion but a different name. Put the method implementation in
10302 the deprecated method and have the new method call the
10303 deprecated one. Make all other code call the new method.
10305 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10307 * gnu/java/nio/DatagramChannelImpl.java
10308 (inChannelOperation): New field.
10309 (isInChannelOperation): New accessor.
10310 (setInChannelOperation): New modifier.
10311 (receive): Use capacity() - position() of destination
10312 buffer instead of remaining(). Set and reset our "in
10313 channel operation indicator" before and after delegating
10314 the receive to our datagram socket. Removed testing code.
10315 Update destination buffer's current position if it is
10316 backed by a byte array (hasArray() is true).
10317 (send): Set and reset our "in channel operation indicator"
10318 before and after delegating the send to our datagram socket.
10319 Removed testing code. Update source buffer's current position
10320 if it is backed by a byte array (hasArray() is true).
10321 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10322 Use capacity() - position() of destination buffer instead
10324 * java/net/DatagramSocket.java (receive): Don't throw an
10325 IllegalBlockingModeException if we have a non-blocking
10326 channel which initiated this operation.
10329 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10331 * configure.in: Add pkgconfig check for glib and gthread.
10332 * configure: Regenerate.
10334 2004-02-01 Michael Koch <konqueror@gmx.de>
10336 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10338 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10339 * verify.cc (debug_print): Mark 'fmt' unused.
10341 2004-01-30 Michael Koch <konqueror@gmx.de>
10343 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10344 * configure: Regenerated.
10345 * glib-2.0.m4: Removed.
10346 * gtk-2.0.m4: Removed.
10347 * libart.m4: Removed.
10348 * pkg.m4: New file.
10350 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10352 * gnu/java/net/PlainSocketImpl.java
10353 (inChannelOperation): New field.
10354 (isInChannelOperation): New accessor.
10355 (setInChannelOperation): New modifier.
10356 * gnu/java/nio/ServerSocketChannelImpl.java
10357 (accept): Set and reset our server socket's PlainSocketImpl's
10358 "in channel operation" indicator before and after delegating
10359 the accept to our server socket.
10360 * gnu/java/nio/SocketChannelImpl.java
10361 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10362 operation" indicator before and after delegating the operation to
10366 * java/net/ServerSocket.java (implAccept): Don't throw an
10367 IllegalBlockingModeException if we have a non-blocking
10368 channel which initiated this accept operation.
10369 * java/net/Socket.java (connect): Don't throw an
10370 IllegalBlockingModeException if we have a non-blocking
10371 channel which initiated this connect operation.
10372 * java/nio/channels/spi/AbstractSelectableChannel.java
10373 (configureBlocking): Only call implConfigureBlocking() if
10374 the desired blocking mode is different from our current one.
10376 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10378 * java/io/BufferedReader.java (sbuf): New field.
10379 (readLine): Use String.valueOf instead of new String() as per
10380 Per Bothner's suggestion. Use instance sbuf field instead of a
10381 local StringBuffer instance.
10382 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10383 caller's buffer to refill().
10384 (read(void)): Pass our internal work buffer to refill if our
10385 input queue is empty.
10386 (refill): Changed return type to int. Use the specified buffer
10387 instead of our work buffer as per Bryce McKinlay's suggestion.
10388 Return the number of characters read or -1 for EOF.
10390 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10392 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10394 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10396 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10397 * Makefile.in: Re-generated.
10398 * gnu/awt/xlib/XFontPeer.java: New file.
10399 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10400 (setClip): Commented out debug printout.
10401 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10402 (getFontPeer): Return XFontPeer.
10403 (getLocalGraphicsEnvironment): New method.
10404 (getClasspathFontPeer): New method.
10405 (createFont): New method.
10407 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10409 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10412 2004-01-29 Kim Ho <kho@redhat.com>
10414 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10415 (gtkLayoutSetVisible): New method
10416 (setMenuBar): Hide layout before setting MenuBar
10417 and reshow it after.
10418 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10419 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10421 2004-01-28 Michael Koch <konqueror@gmx.de>
10423 * gnu/java/lang/ClassHelper.java
10424 (getPackagePortion): Removed.
10426 2004-01-28 Michael Koch <konqueror@gmx.de>
10428 * javax/swing/JComponent.java
10429 (listenerList): Initalize globally.
10430 (ancestor_list): Removed.
10431 (veto_list): Removed.
10432 (change_list): Removed.
10433 (get_veto_list): Removed.
10434 (get_change_list): Removed.
10435 (get_ancestor_list): Removed.
10436 (removeAncestorListener): Reimplemented.
10437 (removePropertyChangeListener): Likewise.
10438 (removeVetoableChangeListener): Likewise.
10439 (addAncestorListener): Likewise.
10440 (addPropertyChangeListener): Likewise.
10441 (addVetoableChangeListener): Likewise.
10442 (getListeners): New method.
10443 (getAncestorListeners): Likewise.
10444 (getVetoableChangeListeners): Likewise.
10445 (fireVetoableChange): Throws PropertyVetoException.
10446 * javax/swing/JEditorPane.java
10447 (JEditorPane): Throws IOException.
10449 2004-01-28 David Jee <djee@redhat.com>
10451 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10452 (create): Set the default foreground color to
10453 java.awt.SystemColor.windowText.
10455 2004-01-27 Michael Koch <konqueror@gmx.de>
10457 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10458 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10459 Reindented to merge with classpath.
10461 2004-01-27 David Jee <djee@redhat.com>
10463 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10464 (addExposeFilter): Handle GtkFramePeer separately.
10465 (removeExposeFilter): Likewise.
10467 2004-01-27 Michael Koch <konqueror@gmx.de>
10469 * gnu/java/net/protocol/http/Connection.java
10470 (getOutputStream): Fixed typo.
10472 2004-01-27 Michael Koch <konqueror@gmx.de>
10474 * java/lang/Class.java
10475 (getConstructor): Removed SecurityException from throws clause.
10476 (_getConstructors): Likewise.
10477 (getConstructors): Likewise.
10478 (getDeclaredConstructor): Likewise.
10479 (getDeclaredClasses): Likewise.
10480 (getDeclaredConstructors): Likewise.
10481 (getDeclaredField): Likewise.
10482 (getDeclaredMethod): Likewise.
10483 (getDeclaredMethods): Likewise.
10484 (getField): Likewise.
10485 (getMethod): Likewise.
10486 (getMethods): Likewise.
10488 2004-01-27 Kim Ho <kho@redhat.com>
10490 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10491 (removeMenuBarPeer): Remove MenuBarPeer argument.
10492 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10493 (dispose): Call native method.
10494 * java/awt/Frame.java (setMenuBar): Create and remove
10495 MenuBar peers only if the Frame has a peer.
10496 (addNotify): Create the MenuBar peer if one exists.
10497 (removeNotify): Remove MenuBar peer if one exists.
10498 * java/awt/Menu.java: Fix imports.
10499 (addNotify): Don't use full class name.
10500 (removeNotify): Call removeNotify on all children.
10501 * java/awt/MenuBar.java (removeNotify): Call
10502 removeNotify on all children.
10503 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10504 (removeMenuBarPeer): Remove MenuBarPeer argument.
10505 Iterate through children to find the Frame's MenuBar.
10506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10508 (dispose): Remove references to the MenuComponent.
10510 2004-01-27 Michael Koch <konqueror@gmx.de>
10512 * javax/swing/AbstractCellEditor.java: Reformated.
10513 * javax/swing/DefaultListSelectionModel.java
10514 (listenerList): Made protected.
10515 (addListSelectionListener): Javadoc added.
10516 (removeListSelectionListener): Likewise.
10517 (getListeners): Likewise.
10518 (getListSelectionListeners): Likewise.
10519 * javax/swing/JComboBox.java: Merged copyright year.
10520 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10522 2004-01-26 Andrew Haley <aph@redhat.com>
10524 * javax/swing/table/JTableHeader.java: Extend JComponent
10526 2004-01-26 Kim Ho <kho@redhat.com>
10528 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10531 2004-01-26 Kim Ho <kho@redhat.com>
10533 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10535 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10536 height and let the Layout Managers readjust anything that
10538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10539 (moveLayout): New method. Shift everything in the Gtk
10540 layout in the Y direction by an offset.
10542 2004-01-26 David Jee <djee@redhat.com>
10544 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10545 (handleEvent): Implemented. Handles PaintEvents.
10546 (paint): Implemented. Use GTK native methods to queue updates
10547 for this heavyweight peer.
10548 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10549 (handleEvent): Removed.
10550 * java/awt/Component.java
10551 (paint): Implemented. Explictly paint the heavyweight peer.
10552 (update): Clear the background for heavyweight components.
10553 (paintAll): No need to call peer.paint() anymore.
10554 (processEvent): Don't process PaintEvents here. It's now done in
10555 the peer's handleEvent().
10556 (processPaintEvent): Removed.
10557 * java/awt/Container.java
10558 (paint): No need to call super.paint(). Visit heavyweight
10560 (update): Don't clear the background here. It's done in
10561 Component.update().
10562 (visitChildren): Added check to not recurse into Containers.
10563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10564 (filter_expose_event_handler): New method. Filter unwanted
10565 expose events while painting heavyweight peers.
10566 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10567 New method. Connect filter and block pre_event_handler.
10568 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10569 New method. Disconnect filter and unblock pre_event_handler.
10570 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10571 New method. Invalidate and update given area.
10572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10573 (pre_event_handler): Add checks for unwanted expose events.
10575 2004-01-26 David Jee <djee@redhat.com>
10577 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10578 (find_bg_color_widget): For GtkButton, return its child.
10580 2004-01-26 Kim Ho <kho@redhat.com>
10582 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10584 (setMenuBar): Grab MenuBar height and change insets.
10585 (setBounds): Account for MenuBar height.
10586 (postInsetsChangedEvent): Ditto.
10587 (postSizeAllocateEvent): Remove.
10588 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10589 (menubar_resize_cb): Remove
10590 (setMenuBarPeer): Remove callback.
10591 (getMenuBarHeight): Use size requisition instead of
10594 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10596 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10597 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10599 (setColumns): Remove FIXME -- peer will retrieve number of
10600 columns by calling getColumns.
10601 (setRows): Likewise for number of rows.
10602 (next_text_number): New field.
10603 (paramString): Fix param string.
10604 (generateName): New method.
10605 (getUniqueLong): New method.
10607 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10609 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10610 image observer of image loading status.
10611 (getImage (String)): Start image production.
10612 (getImage (URL)): Likewise.
10614 2004-01-25 Michael Koch <konqueror@gmx.de>
10616 * java/lang/Class.java: Imports reworked, reformated.
10617 (Class): Javadoc added.
10618 (forName): Likewise.
10619 (getClasses): Likewise.
10620 (getClassLoader): Likewise.
10621 (getComponentType): Likewise.
10622 (getConstructor): Likewise.
10623 (getConstructors): Likewise.
10624 (getDeclaredConstructor): Likewise.
10625 (getDeclaredClasses): Likewise.
10626 (getDeclaredConstructors): Likewise.
10627 (getDeclaredField): Likewise.
10628 (getDeclaredMethod): Likewise.
10629 (getDeclaredMethods): Likewise.
10630 (getDeclaringClass): Likewise.
10631 (getField): Likewise.
10632 (getInterfaces): Likewise.
10633 (getMethod): Likewise.
10634 (getMethods): Likewise.
10635 (getModifiers): Likewise.
10636 (getName): Likewise.
10637 (getResource): Likewise.
10638 (getResourceAsStream): Likewise.
10639 (getSigners): Likewise.
10640 (setSigners): Likewise.
10641 (getSuperclass): Likewise.
10642 (isArray): Likewise.
10643 (isAssignableFrom): Likewise.
10644 (isInstance): Likewise.
10645 (isInterface): Likewise.
10646 (isPrimitive): Likewise.
10647 (newInstance): Likewise.
10648 (getProtectionDomain): Likewise.
10649 (toString): Likewise.
10651 (initializeClass): Likewise.
10652 (finalize): Likewise.
10654 2004-01-24 Michael Koch <konqueror@gmx.de>
10656 * gnu/java/net/protocol/jar/Connection.java
10657 (hdrHash): Removed.
10659 (gotHeaders): Removed.
10660 (getHeaderField): Removed.
10661 (getHeaderFields): Removed.
10662 (getHeaderFieldKey): Removed.
10664 (getField): Removed.
10665 (getHeaders): Removed.
10667 2004-01-24 Michael Koch <konqueror@gmx.de>
10669 * Makefile.am: Added library version to gtk peer lib.
10670 * Makefile.in: Regenerated.
10672 2004-01-24 Michael Koch <konqueror@gmx.de>
10674 * java/util/zip/InflaterInputStream.java: Merged class documentation
10677 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10679 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10680 header. For __powerpc64__ provide the default-signal.h definitions
10682 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10683 instead of the dummy definitions.
10684 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10685 (powerpc64*-*): Remove with_libffi_default.
10686 Only add -mminimal-toc for 64-bit compilations.
10687 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10688 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10689 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10690 * configure: Rebuilt.
10692 2004-01-23 Michael Koch <konqueror@gmx.de>
10694 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10696 2004-01-23 Michael Koch <konqueror@gmx.de>
10698 * java/lang/VMClassLoader.java: Reworked imports.
10700 2004-01-23 Michael Koch <konqueror@gmx.de>
10702 * javax/swing/AbstractAction.java: Reformated.
10704 2004-01-23 Michael Koch <konqueror@gmx.de>
10706 * java/text/CollationElementIterator.java:
10707 (setText): New method.
10709 2004-01-23 Michael Koch <konqueror@gmx.de>
10711 * gnu/java/nio/FileLockImpl.java:
10712 Fixed filename in copyright.
10713 (released): Removed.
10714 (finalize): New method.
10715 * gnu/java/nio/natFileLockImpl.cc
10716 (releaseImpl): Implemented.
10717 * java/nio/channels/FileChannelImpl.java:
10719 (lock): Implemented.
10720 (lockImpl): New method.
10721 (tryLock): Implemented.
10722 (tryLockImpl): New method.
10723 * java/nio/channels/natFileChannelImpl.cc
10724 (lockImpl): New method.
10725 (tryLockImpl): New method.
10727 2004-01-23 Michael Koch <konqueror@gmx.de>
10729 * java/io/FileDescriptor.java
10730 (lock): New method.
10731 (tryLock): New method.
10732 (unlock): New method.
10733 * java/io/natFileDescriptorEcos.cc
10734 (lock): New method.
10735 (tryLock): New method.
10736 (unlock): New method.
10737 * java/io/natFileDescriptorPosix.cc
10738 (lock): New method.
10739 (tryLock): New method.
10740 (unlock): New method.
10741 * java/io/natFileDescriptorWin32.cc
10742 (lock): New method.
10743 (tryLock): New method.
10744 (unlock): New method.
10746 2004-01-23 Michael Koch <konqueror@gmx.de>
10748 * java/io/FileDescriptor.java
10749 (sync): Moved around, added javadoc.
10754 (setLength): Likewise.
10756 (getLength): Likewise.
10757 (getFilePointer): Likewise.
10759 (available): Likewise.
10760 (finalize): Likewise.
10762 2004-01-23 Michael Koch <konqueror@gmx.de>
10764 * javax/swing/AbstractAction.java: Reformated.
10765 (getPropertyChangeListeners): New method.
10766 * javax/swing/AbstractCellEditor.java: Reformated.
10767 (getCellEditorListeners): New method.
10768 * javax/swing/DefaultListSelectionModel.java
10769 (listenerList): New field.
10770 (listeners): Removed.
10771 (get_listeners): Removed.
10772 (addListSelectionListener): Rewritten.
10773 (removeListSelectionListener): Rewritten.
10774 (getListSelectionListeners): New method.
10775 (getListeners): New method.
10776 * javax/swing/JComboBox.java: Imports reworked.
10777 (addActionListener): Implemented.
10778 (removeActionListener): Implemented.
10779 (addItemListener): Implemented.
10780 (removeItemListener): Implemented.
10781 (addPopupMenuListener): Implemented.
10782 (removePopupMenuListener): Implemented.
10783 (getActionListeners): New method.
10784 (getItemListeners): New method.
10785 (getPopupMenuListeners): New method.
10787 2004-01-23 Michael Koch <konqueror@gmx.de>
10789 * gnu/java/net/protocol/http/Connection.java
10790 (connect): Don't initialize bufferedOutputStream if not needed.
10791 (sendRequest): Set property for content length if content is present.
10792 Write content only if present.
10793 (getOutputStream): Check if already connected, dont connect,
10794 initalize bufferedOutputStream if needed.
10796 2004-01-23 Michael Koch <konqueror@gmx.de>
10798 * java/io/FileDescriptor.java
10799 (in, out, err): Added javadoc.
10800 (static): Merged loading code.
10801 (fd, position): Moved around.
10803 2004-01-23 Michael Koch <konqueror@gmx.de>
10805 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10808 2004-01-23 Michael Koch <konqueror@gmx.de>
10810 * java/lang/Class.java,
10811 java/lang/Object.java,
10812 java/lang/Thread.java: Merged copyright with classpath.
10814 2004-01-23 Michael Koch <konqueror@gmx.de>
10816 * java/io/FileDescriptor.java: Merged copyright with classpath to
10817 start merging this class.
10819 2004-01-22 Tom Tromey <tromey@redhat.com>
10822 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10823 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10824 * testsuite/libjava.lang/pr13107_3.java: New file.
10825 * testsuite/libjava.lang/pr13107_3.out: New file.
10826 * testsuite/libjava.lang/pr13107_2.java: New file.
10827 * testsuite/libjava.lang/pr13107_2.out: New file.
10828 * testsuite/libjava.lang/pr13107.java: New file.
10829 * testsuite/libjava.lang/pr13107.out: New file.
10830 * verify.cc (jsr_ptrs): Removed.
10831 (entry_points): Likewise.
10832 (struct subr_info): Likewise.
10833 (struct subr_entry_info): Likewise.
10834 (type_val::unused_by_subroutine_type): Likewise.
10835 (type::merge): Don't handle unused_by_subroutine_type.
10836 (type::print): Likewise.
10837 (state::flags): Removed.
10838 (state::subroutine): Likewise.
10839 (state::seen_subrs): Likewise.
10840 (state::NO_STACK): Likewise.
10841 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10842 (state): Updated all methods.
10843 (state::clean_subrs): Removed.
10844 (state::state): Removed `ret_semantics' flag.
10845 (state::copy): Likewise.
10846 (state::add_subr): Removed.
10847 (state::enter_subroutine): Likewise.
10848 (type::set_return_address): New method.
10849 (handle_jsr_insn): Set return address on the type. Always
10850 invalidate PC after call.
10851 (check_nonrecursive_call): Removed.
10852 (~_Jv_BytecodeVerifier): Updated.
10853 (branch_prepass): Removed special handling of jsr.
10854 (note_branch_target): Likewise.
10855 (get_subroutine): Removed.
10856 (state::merge): Don't merge subroutines and don't handle
10857 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10858 (state::note_variable): Removed.
10859 (state::is_unmerged_ret_state): Likewise.
10860 (state::print): Updated.
10861 (set_variable): Likewise.
10862 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10863 and jsr_semantics arguments. Updated for new reverification
10865 (pop_jump): Rewrote.
10866 (construct_primitive_array_type): Updated.
10867 (state::next): Removed.
10868 (INVALID_STATE): New define.
10869 (state::INVALID): Removed.
10870 (state::NO_NEXT): New value.
10871 (state::pc, state::next): New fields.
10872 (state::get_pc): New method.
10873 (next_verify_pc): Removed.
10874 (next_verify_state): New field.
10875 (verify_instructions_0): Always check for falling off end.
10876 (linked): New type.
10877 (linked_utf8): Removed.
10878 (states): Changed type.
10879 (type::state_mergeable_p): New method.
10880 (state::state_mergeable_p): Likewise.
10881 (handle_ret_insn): Removed most code.
10882 (state::reverify): New method.
10883 (add_new_state): Likewise.
10884 (state::set_pc): Likewise.
10886 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10889 * testsuite/libjava.compile/PR13733.java: New file.
10890 * testsuite/libjava.compile/PR13733.xfail: New file.
10892 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10893 Michael Koch <konqueror@gmx.de>
10895 * javax/swing/table/DefaultTableCellRenderer.java
10896 (DefaultTableCellRenderer): Added javadoc for the class and for
10897 the constructor, Border instance, create an EmptyBorder.
10898 (UIResource): Removed the comment at the end of the class
10899 (setForeground): New method.
10900 (setBackground): New method.
10901 (updateUI): New method.
10902 (getTableCellRendererComponent): Rewritten with the help of
10903 dvholten and Stephane Meslin-Weber.
10904 (validate): New method.
10905 (repaint): New method.
10906 (firePropertyChange): New method.
10907 (setValue): New method.
10909 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10912 (connectJObject): Replace printf calls with g_assert statements.
10913 Move property-notify-event signal connection to ...
10914 (connectSignals): Connect property-notify-event signal. Iterate
10915 through the vbox's children to find layout.
10917 2004-01-22 Graydon Hoare <graydon@redhat.com>
10919 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10920 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10921 Predicate static initialization on GtkToolkit.useGraphics2D().
10922 * java/awt/Component.java (processPaintEvent): Consume event.
10923 * javax/swing/AbstractButton.java: Reimplement, document.
10924 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10925 * javax/swing/JComponent.java (paint): Use double buffer.
10926 (listenerList): Enable member.
10927 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10928 * javax/swing/JToggleButton.java
10929 (JToggleButton): Modify model constructor.
10930 * javax/swing/SwingUtilities.java
10931 (layoutCompoundLabel): Adjust arithmetic.
10932 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10933 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10934 (getPreferredButtonSize): Include margins in calculation.
10935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10936 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10937 Receive up events from subordinate layout component.
10939 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10941 * java/awt/Component.java (show): Set visible to true before
10944 2004-01-21 Kim Ho <kho@redhat.com>
10946 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10948 (removeMenuBarPeer): Make package private.
10949 (setMenuBarPeer): Make package private.
10950 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10951 (menubar_resize_cb): Mark attributes unused.
10952 (getMenuBarHeight): ditto.
10954 2004-01-21 David Jee <djee@redhat.com>
10956 * java/awt/Container.java
10957 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10958 dispatching MOUSE_ENTERED event twice. Translate the point for
10959 the mouse event target before dispatching the event.
10961 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10963 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10964 lib_org_w3c_dom_la_LDFLAGS): New.
10965 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10966 * Makefile.in: Rebuilt.
10968 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10970 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10971 Calculate proper offsets for heavyweight components packed in
10972 lightweight containers.
10974 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10975 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10976 (native create): Add width parameter.
10977 (create): Calculate text entry width based on current font's
10978 metrics and number of columns. Set TextField's font if not
10979 already set. Call native create.
10980 (gtkEntryGetBorderWidth): New native method.
10981 (gtkEntryGetSize): Remove method.
10982 (getMinimumSize): Call minimumSize.
10983 (getPreferredSize): Call preferredSize.
10984 (minimumSize): Calculate minimum size based on backing
10985 GtkEntry's borders, font metrics and number of columns.
10986 (preferredSize): Likewise for preferred size.
10987 (get_border_width): New static function.
10989 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10990 Override GtkWindowPeer's setResizable method to account for menu
10991 bar height when setting the frame's size.
10993 2004-01-19 Matthias Klose <doko@debian.org>
10995 * libtool-version: Increased `current' to 6.
10997 2004-01-19 Kim Ho <kho@redhat.com>
10999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11000 (connectJObject): Iterate through the vbox's children to find layout.
11002 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11004 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11005 isDispatchThread method to replace wrong test condition.
11007 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11009 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11010 events to the queue out of order by acquiring locks in the proper
11011 order and not by releasing one before acquiring the other.
11013 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11015 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11016 visible so that dialog can be reused.
11018 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11020 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11021 events may be handled by any queue in the stack.
11023 2004-01-19 Kim Ho <kho@redhat.com>
11025 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11026 MenuBarPeer parameter.
11027 (removeMenuBarPeer): New native method.
11028 (setMenuBar): Call remove if menu bar is null. Adjust insets
11030 (postSizeAllocateEvent): New method. Called when menu bar size is
11031 allocated. Adjust insets and redo layout.
11032 (GtkFramePeer): Set menu bar during frame creation.
11033 (postConfigureEvent): Adjust position and size to accomodate
11035 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11036 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11037 (addNotify): Create the peer if it doesn't exist and call addNotify
11038 for the menu's items.
11039 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11040 * java/awt/MenuItem.java (addNotify): Create the peer if it
11042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11043 (removeMenuBarPeer): New method. Remove menu bar on the current
11045 (setMenuBarPeer): Add the menu bar to the current frame and the
11046 callback for size-allocate events on the menu bar.
11047 (getMenuBarHeight): Add menu bar parameter.
11048 (menubar_resize_cb): New callback method for postSizeAllocate events.
11050 Also: Fix indentation on last ChangeLog entry.
11052 2004-01-16 Kim Ho <kho@redhat.com>
11054 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11055 (gtkWidgetGetDimensions): Remove.
11056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11057 (gtkWidgetGetDimensions): Remove.
11059 2004-01-16 Tom Tromey <tromey@redhat.com>
11061 * java/awt/Container.java: Typo and indentation fixes.
11063 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11064 * java/lang/natVMClassLoader.cc: ...here. New file.
11065 * Makefile.in: Rebuilt.
11066 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11068 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11071 Discard GDK_ENTER_NOTIFY related to ungrabs.
11073 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11075 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11076 is called for an intermediate queue.
11078 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11081 (window_property_changed_cb): Set id_set.
11083 2004-01-16 Kim Ho <kho@redhat.com>
11085 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11086 it is a FileDialog and has dimensions of 0 by 0, then the initial
11087 size is set to size request plus insets.
11088 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11089 (gtkWidgetGetDimensions): Override method.
11090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11091 (gtkWidgetGetDimensions): Override method. Returns size request plus
11094 2004-01-16 Andrew Haley <aph@redhat.com>
11096 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11097 * sysdep/i386/locks.h: Likewise.
11099 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11101 * java/awt/EventDispatchThread.java (run): Stop running when
11103 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11104 Reset the queue after transferring its contents.
11105 (push): Start a new dispatch thread if none is running.
11107 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11109 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11110 (doPolygon): set fill rule of polygon to
11111 WIND_EVEN_ODD by default.
11113 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11115 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11116 Implemented rendering hints related methods.
11117 (getDefaultHints): New helper method. Returns
11118 default rendering hints.
11119 (walkPath): changed to normalize path if
11120 the KEY_STROKE_CONTROL key is in "normalize" mode.
11121 (draw3DRect): changed coordinates of rectangle by +0.5
11122 if in "normalize" mode.
11124 2004-01-15 Tom Tromey <tromey@redhat.com>
11126 * Makefile.in: Rebuilt.
11127 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11128 (%.lo: %.java) Filter out StackTrace.lo.
11130 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11132 * configure.in: Add in AC_PREREQ(2.13)
11133 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11136 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11137 Tom Tromey <tromey@redhat.com>
11140 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11141 array to superclass.
11142 (init): Changed interface; add URLs here.
11143 (initialize): New static method.
11144 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11145 (_Jv_RunMain): ... not here.
11147 2004-01-14 Michael Koch <konqueror@gmx.de>
11149 * java/text/MessageFormat.java:
11150 Added descriptions to exceptions.
11151 This fixes PR libgcj/2429.
11153 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11155 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11156 (push): Make sure push is performed at the top of the thread stack.
11158 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11160 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11161 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11162 (native create): Add width and height parameters. Set text
11163 view's size request according to new parameters.
11164 (create): Calculate text view size based on current font's
11165 metrics and number of rows and columns. Set TextArea's font if
11166 not already set. Call native create.
11167 (getMinimumSize): Call minimumSize.
11168 (getPreferredSize): Call preferredSize.
11169 (getHScrollbarHeight): New method.
11170 (getVScrollbarWidth): New method.
11171 (minimumSize): Calculate minimum size based on scrollbar
11172 visibility, scrollbar sizes, font metrics and number of rows and
11174 (preferredSize): Likewise for preferred size.
11175 (gtkTextGetSize): Remove method.
11177 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11179 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11180 (initializeInsets): Remove method.
11181 (GtkComponentPeer): Initialize insets field. Remove call to
11183 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11185 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11187 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11188 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11189 (latestInsets): Remove field.
11190 (native create): Add insets parameter. Call
11191 window_get_frame_extents. Set the window's default size and
11192 size request based on its frame extents.
11193 (create): Initialize insets.
11194 (postInsetsChangedEvent): New method.
11195 (postConfigureEvent): Remove parameters top, left, bottom,
11196 right. Remove insets-related logic.
11197 (connectJObject): Handle property-notify-event.
11198 (window_get_frame_extents, request_frame_extents,
11199 property_notify_predicate, window_property_changed_cb): New
11201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11202 (pre_event_handler): Remove insets-related logic for configure
11204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11205 Update postConfigureEvent signature.
11207 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11209 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11210 to handle Window "Closing" events.
11212 2004-01-13 David Jee <djee@redhat.com>
11214 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11215 (setBackground): New method. Children with no explicitly-set
11216 background will be repainted with the parent container's new
11219 2004-01-13 David Jee <djee@redhat.com>
11221 * Makefile.am: Add BitwiseXORComposite.java.
11222 * Makefile.in: Regenerated.
11223 * gcj/Makefile.in: Regenerated.
11224 * include/Makefile.in: Regenerated.
11225 * testsuite/Makefile.in: Regenerated.
11227 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11229 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11230 not show modal dialogs twice and so that it allows showing a modal
11231 dialog from another modal dialog.
11233 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11235 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11236 and run secondary dispatch thread to process event queue while this
11239 2004-01-12 Graydon Hoare <graydon@redhat.com>
11241 * gnu/java/awt/gtk/GdkGraphics2D.java
11242 (static): Check GtkToolkit before initializing static state.
11243 (Graphics2D): Don't construct transform with 0.5 unit offset.
11245 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11247 * gnu/java/awt/BitwiseXORComposite.java: Add.
11248 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11249 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11250 (BitwiseXORComposite): Remove inner class.
11252 2004-01-11 Michael Koch <konqueror@gmx.de>
11254 * gnu/java/lang/reflect/TypeSignature.java
11255 (getEncodingOfClass): Documentation fixed.
11256 (getClassForEncoding): Give class loader to Class.forName().
11257 Documentation fixed.
11259 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11261 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11263 2004-01-11 Michael Koch <konqueror@gmx.de>
11265 * javax/swing/undo/StateEditable.java
11266 (RCSID): Removed redundant modifiers.
11268 2004-01-10 Michael Koch <konqueror@gmx.de>
11270 * javax/print/attribute/EnumSyntax.java
11271 (getStringTable): Made protected.
11272 (getEnumValueTable): Likewise.
11273 * javax/print/attribute/standard/JobKOctetsProcessed.java
11274 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11275 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11276 (JobMediaSheetsCompleted): Made class final.
11277 * javax/print/attribute/standard/OutputDeviceAssigned.java
11278 (getName): Fixed typo.
11279 * javax/print/attribute/standard/RequestingUserName.java
11280 (serialVersionUID): Fixed value.
11282 2004-01-10 Michael Koch <konqueror@gmx.de>
11284 * javax/swing/plaf/basic/BasicButtonUI.java,
11285 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11286 javax/swing/plaf/basic/BasicListUI.java,
11287 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11288 javax/swing/plaf/basic/BasicPanelUI.java,
11289 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11290 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11291 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11292 javax/swing/plaf/basic/BasicViewportUI.java:
11293 Fixed import statements.
11295 2004-01-10 Michael Koch <konqueror@gmx.de>
11297 * gnu/java/awt/image/ImageDecoder.java
11298 (produce): Made public.
11299 * gnu/java/awt/peer/GLightweightPeer.java,
11300 gnu/java/awt/peer/gtk/GtkToolkit.java:
11303 2004-01-10 Michael Koch <konqueror@gmx.de>
11305 * javax/swing/JRadioButtonMenuItem.java,
11306 javax/swing/JSeparator.java,
11307 javax/swing/JSplitPane.java,
11308 javax/swing/JTextPane.java,
11309 javax/swing/JToolBar.java,
11310 javax/swing/ListCellRenderer.java,
11311 javax/swing/ListModel.java,
11312 javax/swing/MenuElement.java,
11313 javax/swing/OverlayLayout.java,
11314 javax/swing/ProgressMonitor.java,
11315 javax/swing/ProgressMonitorInputStream.java,
11316 javax/swing/Renderer.java,
11317 javax/swing/RootPaneContainer.java,
11318 javax/swing/Scrollable.java,
11319 javax/swing/SingleSelectionModel.java,
11320 javax/swing/ToolTipManager.java,
11321 javax/swing/ViewportLayout.java,
11322 javax/swing/event/DocumentEvent.java,
11323 javax/swing/event/SwingPropertyChangeSupport.java,
11324 javax/swing/event/TreeSelectionEvent.java,
11325 javax/swing/event/UndoableEditEvent.java,
11326 javax/swing/text/AbstractDocument.java,
11327 javax/swing/text/AttributeSet.java,
11328 javax/swing/text/Caret.java,
11329 javax/swing/text/ComponentView.java,
11330 javax/swing/text/DefaultCaret.java,
11331 javax/swing/text/DefaultEditorKit.java,
11332 javax/swing/text/Document.java,
11333 javax/swing/text/EditorKit.java,
11334 javax/swing/text/GapContent.java,
11335 javax/swing/text/Keymap.java,
11336 javax/swing/text/MutableAttributeSet.java,
11337 javax/swing/text/PlainEditorKit.java,
11338 javax/swing/text/Segment.java,
11339 javax/swing/text/Style.java,
11340 javax/swing/text/StyledDocument.java,
11341 javax/swing/text/StyledEditorKit.java,
11342 javax/swing/text/TextAction.java,
11343 javax/swing/text/View.java: Fixed import statements.
11345 2004-01-08 Graydon Hoare <graydon@redhat.com>
11347 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11348 djee@redhat.com's recent inverse ordering of Container elements.
11350 2004-01-09 Michael Koch <konqueror@gmx.de>
11352 * gnu/java/lang/ArrayHelper.java
11353 (equalsArray): Removed.
11355 2004-01-09 Andrew Haley <aph@redhat.com>
11357 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11358 a Utf8Const field before looking at its class.
11360 2004-01-09 Michael Koch <konqueror@gmx.de>
11362 * javax/print/attribute/standard/DocumentName.java,
11363 javax/print/attribute/standard/JobHoldUntil.java,
11364 javax/print/attribute/standard/JobMessageFromOperator.java,
11365 javax/print/attribute/standard/JobName.java,
11366 javax/print/attribute/standard/JobOriginatingUserName.java,
11367 javax/print/attribute/standard/OutputDeviceAssigned.java,
11368 javax/print/attribute/standard/PrinterInfo.java,
11369 javax/print/attribute/standard/PrinterLocation.java,
11370 javax/print/attribute/standard/PrinterMakeAndModel.java,
11371 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11372 javax/print/attribute/standard/PrinterName.java,
11373 javax/print/attribute/standard/RequestingUserName.java: New files.
11374 * Makefile.am (javax_source_files): Added new files.
11375 * Makefile.in: Regenerated.
11377 2004-01-09 Michael Koch <konqueror@gmx.de>
11379 * javax/swing/AbstractAction.java,
11380 javax/swing/AbstractSet.java,
11381 javax/swing/Action.java,
11382 javax/swing/ActionMap.java,
11383 javax/swing/BoundedRangeModel.java,
11384 javax/swing/ButtonModel.java,
11385 javax/swing/CellEditor.java,
11386 javax/swing/CellRendererPane.java,
11387 javax/swing/ComboBoxEditor.java,
11388 javax/swing/DebugGraphics.java,
11389 javax/swing/DefaultCellEditor.java,
11390 javax/swing/DefaultCellRenderer.java,
11391 javax/swing/DefaultComboBoxModel.java,
11392 javax/swing/DefaultDesktopManager.java,
11393 javax/swing/DefaultFocusManager.java,
11394 javax/swing/DefaultListCellRenderer.java,
11395 javax/swing/Icon.java,
11396 javax/swing/JButton.java,
11397 javax/swing/JCheckBoxMenuItem.java,
11398 javax/swing/JDesktopPane.java,
11399 javax/swing/JEditorPane.java,
11400 javax/swing/JMenu.java,
11401 javax/swing/JPanel.java,
11402 javax/swing/JPasswordField.java,
11403 javax/swing/JPopupMenu.java,
11404 javax/swing/JProgressBar.java: Reworked imports.
11406 2004-01-09 Michael Koch <konqueror@gmx.de>
11408 * java/awt/geom/PathIterator.java
11409 (WIND_EVEN_ODD): Removed redundant modifiers.
11410 (WIND_NON_ZERO): Likewise.
11411 (SEG_MOVETO): Likewise.
11412 (SEG_LINETO): Likewise.
11413 (SEG_QUADTO): Likewise.
11414 (SEG_CUBICTO): Likewise.
11415 (SEG_CLOSE): Likewise.
11416 * java/awt/image/SinglePixelPackedSampleModel.java:
11417 Removed redundant semicolon.
11418 * java/io/ObjectInputStream.java
11419 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11420 * java/util/logging/Filter.java
11421 (isLoggable): Removed redundant modifier.
11422 * java/util/logging/LogManager.java:
11423 Removed redundant semicolon.
11424 * java/util/logging/XMLFormatter.java
11425 (format): Removed unused variable "key".
11427 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11429 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11430 New name for the former setFile native method.
11431 (setFile): New method.
11432 (setDirectory): Implemented.
11433 (connectSignals): New native method.
11434 (setFilenameFilter): Improve comment.
11435 (getGraphics): Comment.
11436 (gtkHideFileDialog): New method.
11437 (gtkDisposeFileDialog): New method.
11438 (gtkSetFilename): New method.
11439 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11440 for FileDialog for now.
11441 (hide): New method.
11442 (dispose): New method.
11443 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11444 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11445 deprecated creation functions. Make dialog modal. Add it to the
11447 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11449 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11451 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11453 (window_closed): New function.
11454 (ok_clicked): New function.
11455 (cancel_clicked): New function.
11457 2004-01-08 Michael Koch <konqueror@gmx.de>
11459 * javax/swing/JLayeredPane.java: Revert changes to standard
11460 boilerplate, reworked imports.
11462 2004-01-07 Tom Tromey <tromey@redhat.com>
11465 * verify.cc (state::merge): Copy changed locals out of subroutine
11467 (state::FLAG_CHANGED): New const.
11468 (state::FLAG_UNUSED): Likewise.
11469 (state::local_changed): Removed. Updated all users.
11470 (state::flags): New field.
11471 (state::merge): Added jsr_semantics argument, more logic.
11472 (push_jump_merge): Added jsr_semantics argument.
11473 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11474 merging through the jsr instruction.
11476 2004-01-07 Tom Tromey <tromey@redhat.com>
11478 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11481 2004-01-07 Graydon Hoare <graydon@redhat.com>
11483 * java/awt/Container.java (LightweightDispatcher): Implement.
11484 (visitChild): Reuse graphics object.
11485 (dispatchEventImpl): Optionally dispatch to lightweight.
11486 (addNotifyContainerChildren): Build LightweightDispatcher.
11488 2004-01-07 David Jee <djee@redhat.com>
11490 * java/awt/Container.java
11491 (update): Clear only the clipped region, instead of clearing the
11493 (visitChildren): Visit children in descending order.
11495 2004-01-07 Michael Koch <konqueror@gmx.de>
11497 * java/lang/reflect/Array.java: Merged documentation with classpath.
11499 2004-01-07 Michael Koch <konqueror@gmx.de>
11501 * java/text/CollationElementIterator.java
11502 (textIndex): Renamed from index.
11503 * java/text/CollationKey.java
11504 (collator): New member.
11505 (CollationKey): New argument for parent collator.
11506 (equals): Check for same collator, source string and key array.
11507 * java/text/RuleBasedCollator.java:
11509 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11511 (getCollationElementIterator): Rewritten.
11512 (getCollationKey): Added new argument to CollationKey constructor.
11514 2004-01-07 Michael Koch <konqueror@gmx.de>
11516 * gnu/java/nio/DatagramChannelImpl.java
11517 (blocking): Removed.
11518 (DatagramChannelImpl): Call configureBlocking().
11519 (implConfigureBlocking): Dont initialize blocking.
11520 * gnu/java/nio/ServerSocketChannelImpl.java
11521 (blocking): Removed.
11522 (ServerSocketChannelImpl): Call configureBlocking().
11523 (implConfigureBlocking): Dont initialize blocking.
11524 * gnu/java/nio/SocketChannelImpl.java
11525 (blocking): Removed.
11526 (SocketChannelImpl): Call configureBlocking().
11527 (implConfigureBlocking): Dont initialize blocking.
11528 (connect): Use isBlocking().
11529 * java/nio/channels/spi/AbstractSelectableChannel.java
11530 (configureBlocking): Use blockingLock() instead of LOCK.
11531 Set blocking after successfully called implConfigureBlocking().
11532 (register): Use blockingLock() instead of LOCK.
11534 2004-01-07 Michael Koch <konqueror@gmx.de>
11536 * java/net/ServerSocket.java (isBound): Fixed documentation.
11538 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11540 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11541 (changeEvent): Create event object on demand.
11542 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11543 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11544 fireStateChanged): Re-written.
11545 * javax/swing/event/EventListenerList.java: Reformatted, document
11547 (toString): Implemented.
11548 (getListeners): Re-written.
11549 (remove): Re-written.
11551 (NO_LISTENERS): New singleton field.
11552 (listenerList): Declare as transient; document.
11553 (serialVersionUID): Document.
11554 (getListenerCount(Class)): More efficient implementation,
11555 also accepts null argument. Improve Javadoc.
11556 (getListenerCount()): Remove unnecessary cast; docfix.
11557 * javax/swing/undo/UndoableEditSupport.java:
11558 Re-format, document.
11559 (UndoableEditSupport): Set realSource field. Improve documentation.
11560 (_postEdit): Iterate over cloned listener vector.
11561 (toString): Don't emit realSource.
11562 (beginUpdate, endUpdate): Support nested updates.
11563 (postEdit): Use compound edit if present.
11565 2004-01-06 Graydon Hoare <graydon@redhat.com>
11567 * java/awt/Container.java (swapComponents): Add forgotten
11568 function, required for JLayeredPane change.
11570 2004-01-06 Michael Koch <konqueror@gmx.de>
11572 * java/text/CollationElementIterator.java: Reformated.
11573 (CollationElementIterator): Changed order of arguments.
11574 * java/text/RuleBasedCollator.java
11575 (RuleBasedCollator): Merged class documentation.
11576 (CollationElement): Added documentation.
11577 (compare): Reformated, renamed arguments.
11578 (equals): Likewise.
11579 (getCollationElementIterator): Likewise.
11580 (getCollationKey): Likewise.
11582 2004-01-06 Graydon Hoare <graydon@redhat.com>
11584 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11586 2004-01-06 Michael Koch <konqueror@gmx.de>
11588 * gnu/java/net/protocol/file/Connection.java:
11589 Reformated copyright.
11590 (hdrHash): Removed.
11592 (gotHeaders): Removed.
11593 (getHeaderField): Removed.
11594 (getHeaderField): Removed.
11595 (getHeaderFieldKey): Removed.
11597 (getField): Removed.
11598 (getHeaders): Removed.
11600 2004-01-06 Michael Koch <konqueror@gmx.de>
11602 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11603 javax/print/attribute/standard/DateTimeAtCreation.java,
11604 javax/print/attribute/standard/DateTimeAtProcessing.java,
11605 javax/print/attribute/standard/JobImpressionsCompleted.java,
11606 javax/print/attribute/standard/JobKOctets.java,
11607 javax/print/attribute/standard/JobKOctetsProcessed.java,
11608 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11609 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11610 * Makefile.am (javax_source_files): Added new files.
11611 * Makefile.in: Regenerated.
11613 2004-01-06 Michael Koch <konqueror@gmx.de>
11615 * java/net/URLConnection.java
11616 (contentHandler): Removed.
11618 (getHeaderFields): Return an empty map instead of null.
11619 (getContent): Connect if needed, renamed "cType" to "type" and
11620 "contentHandler" to "ch" and made it a local variable.
11621 (getPermission): Don't use package in class name.
11622 (setDefaultRequestProperty): Fixed typo in documentation.
11623 (initializeDateFormats): Made locale a local variable.
11625 2004-01-06 Michael Koch <konqueror@gmx.de>
11627 * java/lang/Package.java
11628 (getPackage): Get the current class loader directly.
11629 * java/lang/SecurityManager.java
11630 (currentLoadedClass): Dont iterate over class contexts.
11631 (classLoaderDepth): Don't check class loaders if everything is allowed.
11633 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11636 (pre_event_handler): Set all insets to 0 when a Configure event
11637 is received for a GtkPlug.
11638 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11639 Make handle long, not int.
11640 (EmbeddedWindow()): New constructor.
11641 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11643 (setHandle): New method.
11644 (getHandle): Return long, not int.
11645 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11647 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11648 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11649 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11650 argument to GdkNativeWindow.
11651 (construct): New method.
11652 (embed): New method.
11654 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11655 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11656 (create(int, int)): New method.
11657 (create): Call new create method.
11658 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11660 (childResized): Remove native implementation. Implement in
11662 (getHScrollbarHeight, getVScrollbarWidth): Call
11663 gtk_widget_size_request to get scrollbar dimensions.
11664 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11665 call getVScrollbarWidth and getHScrollbarHeight when vertical
11666 and horizontal scrollbars respectively are needed.
11667 (doLayout): Enlarge child if it is smaller than the viewport.
11669 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11671 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11672 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11673 argument as per spec.
11675 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11677 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11679 (remove): Ditto. Also, Check for valid argument.
11680 (removeAll): Use peer interface method.
11681 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11682 native add function.
11683 (nativeRemove): New name for native remove function.
11684 (getHistory): New native function.
11685 (constructor): Generate ItemEvent.
11686 (add): Ditto, if selection is changed.
11687 (remove): Ditto, ditto.
11688 (removeAll): Add implementation.
11689 (handleEvent): Remove. Dead code.
11690 (choicePostItemEvent): Add comment.
11691 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11692 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11693 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11694 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11695 comments and fix condition to change selection.
11696 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11697 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11698 remove all capability.
11699 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11700 (item_activate): Add cast to remove compiler warning.
11702 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11704 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11705 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11706 (getPreferredSize): Call preferredSize.
11707 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11708 (getMinimumSize): Call minimumSize.
11709 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11710 (gtkWidgetGetDimensions): Return the peer widget's current size
11712 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11713 natural size request.
11715 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11717 Thanks to Brian Gough <bjg@network-theory.com>
11718 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11719 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11721 2004-01-04 Matthias Klose <doko@debian.org>
11723 * aclocal.m4: Rebuilt using "aclocal -I .".
11724 * configure: Rebuilt.
11726 2004-01-03 Per Bothner <per@bothner.com>
11728 * java/util/Date.java (parse): Fix a number of problems.
11729 (skipParens): Remove no-longer-needed method.