1 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
4 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
6 2004-10-23 Michael Koch <konqueror@gmx.de>
8 * javax/print/DocFlavor.java,
9 javax/print/attribute/standard/JobStateReason.java,
10 javax/print/attribute/standard/MultipleDocumentHandling.java:
11 Added missing constants.
13 2004-10-22 Tom Tromey <tromey@redhat.com>
15 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
18 2004-10-22 Michael Koch <konqueror@gmx.de>
21 * gnu/java/net/protocol/http/Connection.java
22 (sendRequest): Handle case when url.getFile() returns an empty string.
24 2004-10-22 Michael Koch <konqueror@gmx.de>
26 * java/lang/Math.java,
27 java/lang/StackTraceElement.java,
29 java/nio/ByteBuffer.java,
30 java/nio/CharBuffer.java,
31 java/nio/DoubleBuffer.java,
32 java/nio/FloatBuffer.java,
33 java/nio/IntBuffer.java,
34 java/nio/LongBuffer.java,
35 java/nio/ShortBuffer.java,
36 java/nio/charset/Charset.java,
37 java/rmi/server/RMIClassLoader.java,
38 java/rmi/server/RMISocketFactory.java,
39 java/security/Policy.java,
40 java/text/ChoiceFormat.java,
41 java/text/CollationElementIterator.java,
42 java/text/DateFormat.java,
43 java/text/DecimalFormat.java,
44 java/text/DecimalFormatSymbols.java,
45 java/text/MessageFormat.java,
46 java/text/NumberFormat.java,
47 java/text/RuleBasedCollator.java,
48 java/text/SimpleDateFormat.java,
49 java/util/BitSet.java,
50 java/util/Calendar.java,
51 java/util/Collections.java,
52 java/util/IdentityHashMap.java,
53 java/util/Locale.java,
54 java/util/TreeMap.java,
55 java/util/logging/LogRecord.java,
56 java/util/logging/XMLFormatter.java,
57 java/util/prefs/AbstractPreferences.java,
58 java/util/prefs/Preferences.java,
59 javax/crypto/interfaces/DHPrivateKey.java,
60 javax/crypto/interfaces/DHPublicKey.java,
61 javax/crypto/interfaces/PBEKey.java,
62 javax/net/ssl/HandshakeCompletedEvent.java,
63 javax/security/auth/Subject.java:
64 Removed redundant and reordered modifiers.
66 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
68 * gnu/java/net/natPlainSocketImplPosix.cc
69 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
70 with 'int *' argument instead of 'long *'.
72 2004-10-21 Michael Koch <konqueror@gmx.de>
74 * java/net/NetworkInterface.java,
75 java/text/Format.java,
76 javax/security/auth/x500/X500Principal.java,
77 javax/security/auth/x500/X500PrivateCredential.java,
78 javax/security/cert/X509CertBridge.java,
79 javax/security/sasl/Sasl.java,
80 javax/sql/XAConnection.java:
83 2004-10-21 Michael Koch <konqueror@gmx.de>
85 * javax/net/ssl/HandshakeCompletedEvent.java,
86 javax/net/ssl/KeyManagerFactory.java,
87 javax/net/ssl/SSLContext.java,
88 javax/net/ssl/SSLServerSocketFactory.java,
89 javax/net/ssl/SSLSession.java,
90 javax/net/ssl/SSLSocketFactory.java,
91 javax/net/ssl/TrustManagerFactory.java:
94 2004-10-21 Michael Koch <konqueror@gmx.de>
96 * javax/naming/directory/BasicAttribute.java,
97 javax/naming/directory/BasicAttributes.java,
98 javax/naming/directory/InitialDirContext.java,
99 javax/naming/event/NamingEvent.java,
100 javax/naming/ldap/ControlFactory.java,
101 javax/naming/ldap/ExtendedRequest.java,
102 javax/naming/ldap/InitialLdapContext.java,
103 javax/naming/ldap/LdapReferralException.java,
104 javax/naming/spi/DirObjectFactory.java,
105 javax/naming/spi/DirStateFactory.java,
106 javax/naming/spi/DirectoryManager.java,
107 javax/naming/spi/InitialContextFactory.java,
108 javax/naming/spi/InitialContextFactoryBuilder.java,
109 javax/naming/spi/NamingManager.java,
110 javax/naming/spi/ObjectFactory.java,
111 javax/naming/spi/ObjectFactoryBuilder.java,
112 javax/naming/spi/StateFactory.java:
115 2004-10-21 Michael Koch <konqueror@gmx.de>
117 * javax/crypto/Cipher.java,
118 javax/crypto/EncryptedPrivateKeyInfo.java,
119 javax/crypto/ExemptionMechanism.java,
120 javax/crypto/KeyAgreement.java,
121 javax/crypto/KeyGenerator.java,
122 javax/crypto/Mac.java,
123 javax/crypto/SecretKeyFactory.java,
124 javax/crypto/SecretKeyFactorySpi.java,
125 javax/crypto/spec/SecretKeySpec.java:
128 2004-10-21 Michael Koch <konqueror@gmx.de>
130 * java/security/AlgorithmParameterGenerator.java,
131 java/security/AlgorithmParameters.java,
132 java/security/AlgorithmParametersSpi.java,
133 java/security/AllPermission.java,
134 java/security/BasicPermission.java,
135 java/security/Certificate.java,
136 java/security/CodeSource.java,
137 java/security/DigestInputStream.java,
138 java/security/DigestOutputStream.java,
139 java/security/GuardedObject.java,
140 java/security/KeyFactory.java,
141 java/security/KeyFactorySpi.java,
142 java/security/KeyPairGenerator.java,
143 java/security/KeyStore.java,
144 java/security/KeyStoreSpi.java,
145 java/security/Permissions.java,
146 java/security/Security.java,
147 java/security/Signature.java,
148 java/security/UnresolvedPermission.java,
149 java/security/cert/CertPathBuilder.java,
150 java/security/cert/CertPathValidator.java,
151 java/security/cert/CertStore.java,
152 java/security/cert/Certificate.java,
153 java/security/cert/CertificateFactory.java,
154 java/security/cert/PolicyQualifierInfo.java,
155 java/security/cert/TrustAnchor.java,
156 java/security/cert/X509CRL.java,
157 java/security/cert/X509CRLSelector.java,
158 java/security/cert/X509CertSelector.java:
161 2004-10-21 Michael Koch <konqueror@gmx.de>
163 * java/rmi/MarshalledObject.java,
164 java/rmi/Naming.java,
165 java/rmi/activation/Activatable.java,
166 java/rmi/activation/ActivationGroup.java,
167 java/rmi/activation/ActivationGroupDesc.java,
168 java/rmi/activation/ActivationInstantiator.java,
169 java/rmi/activation/ActivationMonitor.java,
170 java/rmi/activation/ActivationSystem.java,
171 java/rmi/activation/Activator.java,
172 java/rmi/registry/LocateRegistry.java,
173 java/rmi/registry/Registry.java,
174 java/rmi/server/LogStream.java,
175 java/rmi/server/ObjID.java,
176 java/rmi/server/RMIClientSocketFactory.java,
177 java/rmi/server/RMIServerSocketFactory.java,
178 java/rmi/server/RMISocketFactory.java,
179 java/rmi/server/RemoteCall.java,
180 java/rmi/server/RemoteServer.java,
181 java/rmi/server/ServerRef.java,
182 java/rmi/server/UID.java,
183 java/rmi/server/UnicastRemoteObject.java:
186 2004-10-21 Tom Tromey <tromey@redhat.com>
188 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
189 exception if we hit EOF of `in'.
190 (read): Handle case where inflating returns -1.
192 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
194 * gnu/java/nio/channels/natFileChannelPosix.cc
195 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
196 argument instead of 'long *'.
198 2004-10-21 Tom Tromey <tromey@redhat.com>
200 * java/util/ResourceBundle.java (tryBundle): Also ignore
203 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
205 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
206 for all sh*-*-linux* targets.
207 * configure: Regenerate.
208 * include/sh-signal.h: New file.
210 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
212 * java/lang/ieeefp.h: Add m32r support.
214 2004-10-20 Andreas Schwab <schwab@suse.de>
216 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
218 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
221 2004-10-20 Michael Koch <konqueror@gmx.de>
223 * javax/print/attribute/standard/ColorSupported.java,
224 javax/print/attribute/standard/Compression.java,
225 javax/print/attribute/standard/Copies.java,
226 javax/print/attribute/standard/CopiesSupported.java,
227 javax/print/attribute/standard/DateTimeAtCompleted.java,
228 javax/print/attribute/standard/DateTimeAtCreation.java,
229 javax/print/attribute/standard/DateTimeAtProcessing.java,
230 javax/print/attribute/standard/DocumentName.java,
231 javax/print/attribute/standard/Fidelity.java,
232 javax/print/attribute/standard/Finishings.java,
233 javax/print/attribute/standard/JobHoldUntil.java,
234 javax/print/attribute/standard/JobImpressions.java,
235 javax/print/attribute/standard/JobImpressionsCompleted.java,
236 javax/print/attribute/standard/JobImpressionsSupported.java,
237 javax/print/attribute/standard/JobKOctets.java,
238 javax/print/attribute/standard/JobKOctetsProcessed.java,
239 javax/print/attribute/standard/JobKOctetsSupported.java,
240 javax/print/attribute/standard/JobMediaSheets.java,
241 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
242 javax/print/attribute/standard/JobMediaSheetsSupported.java,
243 javax/print/attribute/standard/JobMessageFromOperator.java,
244 javax/print/attribute/standard/JobName.java,
245 javax/print/attribute/standard/JobOriginatingUserName.java,
246 javax/print/attribute/standard/JobPriority.java,
247 javax/print/attribute/standard/JobPrioritySupported.java,
248 javax/print/attribute/standard/JobSheets.java,
249 javax/print/attribute/standard/JobState.java,
250 javax/print/attribute/standard/JobStateReason.java,
251 javax/print/attribute/standard/JobStateReasons.java,
252 javax/print/attribute/standard/Media.java,
253 javax/print/attribute/standard/MultipleDocumentHandling.java,
254 javax/print/attribute/standard/NumberOfDocuments.java,
255 javax/print/attribute/standard/NumberOfInterveningJobs.java,
256 javax/print/attribute/standard/NumberUp.java,
257 javax/print/attribute/standard/NumberUpSupported.java,
258 javax/print/attribute/standard/OrientationRequested.java,
259 javax/print/attribute/standard/OutputDeviceAssigned.java,
260 javax/print/attribute/standard/PDLOverrideSupported.java,
261 javax/print/attribute/standard/PageRanges.java,
262 javax/print/attribute/standard/PagesPerMinute.java,
263 javax/print/attribute/standard/PagesPerMinuteColor.java,
264 javax/print/attribute/standard/PrintQuality.java,
265 javax/print/attribute/standard/PrinterInfo.java,
266 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
267 javax/print/attribute/standard/PrinterLocation.java,
268 javax/print/attribute/standard/PrinterMakeAndModel.java,
269 javax/print/attribute/standard/PrinterMessageFromOperator.java,
270 javax/print/attribute/standard/PrinterMoreInfo.java,
271 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
272 javax/print/attribute/standard/PrinterName.java,
273 javax/print/attribute/standard/PrinterStateReason.java,
274 javax/print/attribute/standard/PrinterStateReasons.java,
275 javax/print/attribute/standard/PrinterURI.java,
276 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
277 javax/print/attribute/standard/RequestingUserName.java:
278 Reorganized imports and removed redundant final modifiers.
280 2004-10-20 Michael Koch <konqueror@gmx.de>
282 * javax/security/sasl/SaslClient.java,
283 javax/security/sasl/SaslClientFactory.java,
284 javax/security/sasl/SaslException.java,
285 javax/security/sasl/SaslServer.java,
286 javax/security/sasl/SaslServerFactory.java:
289 2004-10-20 Michael Koch <konqueror@gmx.de>
291 * javax/security/auth/login/NullConfiguration.java,
292 javax/security/auth/x500/X500Principal.java,
293 javax/security/cert/X509Certificate.java,
294 javax/security/sasl/AuthenticationException.java,
295 javax/security/sasl/AuthorizeCallback.java,
296 javax/security/sasl/RealmCallback.java,
297 javax/security/sasl/RealmChoiceCallback.java,
298 javax/security/sasl/Sasl.java,
299 javax/security/sasl/SaslClient.java,
300 javax/security/sasl/SaslClientFactory.java,
301 javax/security/sasl/SaslException.java,
302 javax/security/sasl/SaslServer.java,
303 javax/security/sasl/SaslServerFactory.java:
304 Cleaned up import statements and copyright notices.
306 2004-10-20 Michael Koch <konqueror@gmx.de>
308 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
310 2004-10-20 Michael Koch <konqueror@gmx.de>
312 * java/sql/Timestamp.java,
313 java/text/AttributedCharacterIterator.java,
314 java/text/AttributedString.java,
315 java/util/zip/CheckedOutputStream.java,
316 java/util/zip/DeflaterOutputStream.java,
317 java/util/zip/ZipFile.java,
318 javax/crypto/Cipher.java,
319 javax/crypto/ExemptionMechanismException.java,
320 javax/crypto/SecretKey.java,
321 javax/crypto/SecretKeyFactory.java,
322 javax/naming/directory/ModificationItem.java,
323 javax/naming/directory/SearchControls.java,
324 javax/naming/event/NamingListener.java,
325 javax/naming/ldap/Control.java,
326 javax/naming/ldap/ExtendedResponse.java,
327 javax/net/ssl/SSLSocketFactory.java:
328 Reorganized imports and fixed copyright headers.
330 2004-10-20 Michael Koch <konqueror@gmx.de>
332 * java/util/logging/ConsoleHandler.java,
333 java/util/logging/ErrorManager.java,
334 java/util/logging/FileHandler.java,
335 java/util/logging/Filter.java,
336 java/util/logging/Formatter.java,
337 java/util/logging/Handler.java,
338 java/util/logging/Level.java,
339 java/util/logging/LogManager.java,
340 java/util/logging/LogRecord.java,
341 java/util/logging/Logger.java,
342 java/util/logging/LoggingPermission.java,
343 java/util/logging/MemoryHandler.java,
344 java/util/logging/SimpleFormatter.java,
345 java/util/logging/SocketHandler.java,
346 java/util/logging/StreamHandler.java,
347 java/util/logging/XMLFormatter.java:
348 Standardized copyrigth header.
350 2004-10-20 Michael Koch <konqueror@gmx.de>
352 * java/security/AlgorithmParameterGenerator.java,
353 java/security/AlgorithmParameters.java,
354 java/security/DigestInputStream.java,
355 java/security/Identity.java,
356 java/security/KeyFactory.java,
357 java/security/KeyPairGenerator.java,
358 java/security/KeyStore.java,
359 java/security/MessageDigest.java,
360 java/security/MessageDigestSpi.java,
361 java/security/Policy.java,
362 java/security/SecureRandom.java,
363 java/security/Security.java,
364 java/security/Signature.java,
365 java/security/SignatureSpi.java,
366 java/security/cert/CertPathBuilder.java,
367 java/security/cert/CertPathValidator.java,
368 java/security/cert/CertStore.java,
369 java/security/cert/Certificate.java,
370 java/security/cert/CertificateFactory.java,
371 java/security/cert/PolicyQualifierInfo.java,
372 java/security/cert/TrustAnchor.java,
373 java/security/cert/X509CRL.java,
374 java/security/cert/X509CRLEntry.java,
375 java/security/cert/X509Certificate.java,
376 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
377 Import statements reorganized, some little formatting issues,
378 used java-style array declarations, added comments in empty catch
381 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
383 * java/security/Security.java
384 (static): Use AccessController.doPrivileged to get system property.
386 2004-10-18 Sven de Marothy <sven@physto.se>
388 * java/nio/ByteBufferHelper.java
389 (putDouble): Use Double.toRawLongBits instead.
391 2004-10-18 Mark Wielaard <mark@klomp.org>
392 Andrew Haley <aph@redhat.com>
394 * testsuite/libjava.lang/ExtraClassLoader.java: New.
396 2004-10-18 Andrew Haley <aph@redhat.com>
399 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
400 and correct logic used to find interpreter.
402 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
404 * java/util/logging/LogManager.java
405 (findAncestor): Fixed IndexOutOfBoundsException.
407 2004-10-18 Michael Koch <konqueror@gmx.de>
409 * java/io/BufferedInputStream.java: Fixed @author tag.
410 (read): Simplified expression.
411 (read): Merged javadoc a bit more.
412 (read): Renamed 'remain' to 'totalBytesRead'.
413 * java/io/DataInputStream.java,
414 java/io/DataOutputStream.java,
415 java/io/ObjectInputStream.java,
416 java/io/ObjectOutputStream.java:
417 Reworked modifier order.
419 2004-10-18 Michael Koch <konqueror@gmx.de>
421 * java/net/Inet4Address.java: Merged file header and javadocs.
422 * java/net/Inet6Address.java: Likewise.
423 * java/net/InetAddress.java
424 (getCanonicalHostName): Create Inet4Address object instead of
425 InetAddress and add comment regarding IPv6.
426 (toString): Simplified.
428 2004-10-18 Michael Koch <konqueror@gmx.de>
430 * gnu/java/net/protocol/http/Connection.java,
431 java/nio/MappedByteBufferImpl.java,
432 java/text/RuleBasedCollator.java,
433 java/util/ResourceBundle.java:
434 Reworked import statements.
436 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
438 * java/security/IdentityScope.java
439 (systemScope): Removed useless initializer.
440 * java/security/Policy.java
441 (currentPolicy): Likewise.
443 2004-10-18 Michael Koch <konqueror@gmx.de>
445 * java/lang/System.java: Revert accidential change.
447 2004-10-18 Michael Koch <konqueror@gmx.de>
449 * java/lang/Math.java,
450 java/lang/Package.java,
451 java/lang/Runtime.java,
452 java/lang/StrictMath.java,
453 java/lang/System.java,
454 java/lang/Thread.java,
455 java/lang/ThreadLocal.java,
457 Reworked import statements, HTML in javadocs and modifier orders.
459 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
461 * java/util/Timer.java
462 (nr): Removed useless initializer.
463 * java/util/logging/LogRecord.java
464 (lastSeqNum): Likewise.
465 * javax/naming/spi/NamingManager.java
466 (icfb, ofb): Likewise.
468 2004-10-18 Michael Koch <konqueror@gmx.de>
470 * gnu/java/net/PlainDatagramSocketImpl.java:
471 Reworked import statements.
472 * gnu/java/security/provider/DSAParameters.java:
473 Fixed copyrigth years.
474 * java/net/JarURLConnection.java:
475 Fixed HTML in @author tags.
478 2004-10-18 Michael Koch <konqueror@gmx.de>
480 * java/rmi/activation/ActivationSystem.java
481 (SYSTEM_PORT): Initialize with correct port number.
483 2004-10-18 Michael Koch <konqueror@gmx.de>
485 * java/lang/reflect/Proxy.java: Improved javadocs.
487 2004-10-18 Michael Koch <konqueror@gmx.de>
489 * java/lang/reflect/AccessibleObject.java
490 (checkPermission): Removed redundant final modifier.
491 (secureSetAccessible): Likewise.
492 * java/lang/reflect/Proxy.java:
493 Reworked import statements.
494 (generate): Removed redundant final modifier.
495 * java/lang/reflect/ReflectPermission.java:
496 Reorder package declaration and import statement.
498 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
500 * java/lang/reflect/Proxy.java
501 (count): Removed useless initializer.
503 2004-10-17 Michael Koch <konqueror@gmx.de>
505 * java/net/BindException.java,
506 java/net/ConnectException.java,
507 java/net/ContentHandler.java,
508 java/net/ContentHandlerFactory.java,
509 java/net/DatagramPacket.java,
510 java/net/DatagramSocket.java,
511 java/net/DatagramSocketImpl.java,
512 java/net/DatagramSocketImplFactory.java,
513 java/net/FileNameMap.java,
514 java/net/HttpURLConnection.java,
515 java/net/MalformedURLException.java,
516 java/net/MulticastSocket.java,
517 java/net/NetworkInterface.java,
518 java/net/NoRouteToHostException.java,
519 java/net/PasswordAuthentication.java,
520 java/net/PortUnreachableException.java,
521 java/net/ProtocolException.java,
522 java/net/ServerSocket.java,
523 java/net/Socket.java,
524 java/net/SocketException.java,
525 java/net/SocketImpl.java,
526 java/net/SocketImplFactory.java,
527 java/net/SocketOptions.java,
528 java/net/SocketPermission.java,
529 java/net/SocketTimeoutException.java,
531 java/net/URISyntaxException.java,
533 java/net/URLDecoder.java,
534 java/net/URLEncoder.java,
535 java/net/URLStreamHandler.java,
536 java/net/URLStreamHandlerFactory.java,
537 java/net/UnknownHostException.java,
538 java/net/UnknownServiceException.java:
539 Big import statement and @author tag cleanup.
541 2004-10-17 Michael Koch <konqueror@gmx.de>
543 * gnu/java/security/OID.java,
544 gnu/java/security/provider/DSAParameters.java,
545 gnu/java/security/provider/DSASignature.java,
546 gnu/java/security/x509/X500DistinguishedName.java,
547 gnu/java/security/x509/X509CRL.java:
548 Import statements cleaned up.
550 2004-10-16 Michael Koch <konqueror@gmx.de>
552 * gnu/java/nio/NIODatagramSocket.java,
553 gnu/java/nio/ServerSocketChannelImpl.java:
554 Reorganized import statements.
556 2004-10-16 Michael Koch <konqueror@gmx.de>
558 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
559 gnu/java/rmi/rmic/RMIC.java,
560 gnu/java/rmi/server/RMIHashes.java,
561 gnu/java/rmi/server/RMIObjectInputStream.java,
562 gnu/java/rmi/server/RMIObjectOutputStream.java,
563 gnu/java/rmi/server/UnicastConnection.java,
564 gnu/java/rmi/server/UnicastConnectionManager.java,
565 gnu/java/rmi/server/UnicastRemoteCall.java,
566 gnu/java/rmi/server/UnicastServer.java,
567 gnu/java/rmi/server/UnicastServerRef.java,
568 java/rmi/MarshalledObject.java,
569 java/rmi/Naming.java,
570 java/rmi/RMISecurityManager.java,
571 java/rmi/Remote.java,
572 java/rmi/activation/Activatable.java,
573 java/rmi/activation/ActivationDesc.java,
574 java/rmi/activation/ActivationGroup.java,
575 java/rmi/activation/ActivationGroupDesc.java,
576 java/rmi/activation/ActivationGroupID.java,
577 java/rmi/activation/ActivationID.java,
578 java/rmi/activation/ActivationInstantiator.java,
579 java/rmi/activation/ActivationMonitor.java,
580 java/rmi/activation/ActivationSystem.java,
581 java/rmi/activation/Activator.java,
582 java/rmi/dgc/DGC.java,
583 java/rmi/dgc/Lease.java,
584 java/rmi/dgc/VMID.java,
585 java/rmi/registry/LocateRegistry.java,
586 java/rmi/registry/Registry.java,
587 java/rmi/registry/RegistryHandler.java,
588 java/rmi/server/LoaderHandler.java,
589 java/rmi/server/LogStream.java,
590 java/rmi/server/ObjID.java,
591 java/rmi/server/Operation.java,
592 java/rmi/server/RMIClassLoader.java,
593 java/rmi/server/RMIClassLoaderSpi.java,
594 java/rmi/server/RMIClientSocketFactory.java,
595 java/rmi/server/RMIFailureHandler.java,
596 java/rmi/server/RMIServerSocketFactory.java,
597 java/rmi/server/RMISocketFactory.java,
598 java/rmi/server/RemoteCall.java,
599 java/rmi/server/RemoteObject.java,
600 java/rmi/server/RemoteRef.java,
601 java/rmi/server/RemoteServer.java,
602 java/rmi/server/RemoteStub.java,
603 java/rmi/server/ServerRef.java,
604 java/rmi/server/Skeleton.java,
605 java/rmi/server/SkeletonMismatchException.java,
606 java/rmi/server/UID.java,
607 java/rmi/server/UnicastRemoteObject.java,
608 java/rmi/server/Unreferenced.java:
609 File headers and import statements cleaned up.
611 2004-10-16 Michael Koch <konqueror@gmx.de>
613 * libjava/gnu/java/nio/charset/UTF_16.java,
614 libjava/gnu/java/nio/charset/UTF_16BE.java,
615 libjava/gnu/java/nio/charset/UTF_16LE.java,
616 libjava/java/nio/ByteOrder.java,
617 libjava/java/nio/MappedByteBuffer.java,
618 libjava/java/nio/channels/Channels.java,
619 libjava/java/nio/channels/spi/SelectorProvider.java,
620 libjava/java/nio/charset/Charset.java:
623 2004-10-16 Michael Koch <konqueror@gmx.de>
625 * gnu/java/nio/charset/UTF_16Encoder.java
626 (UTF_16Encoder): Fixed maxBytesPerChar handling.
628 2004-10-16 Michael Koch <konqueror@gmx.de>
630 * java/math/BigDecimal.java, java/math/BigInteger.java:
631 Reorganized import statements, removed redundant and
632 reorganized modifiers.
634 2004-10-16 Michael Koch <konqueror@gmx.de>
636 * gnu/java/beans/ExplicitBeanInfo.java:
637 Explicitely import java.awt.Image.
638 (getIcon): Fixed off-by-one error.
640 2004-10-15 Andrew Haley <aph@redhat.com>
642 * Makefile.am (nat_files, xlib_nat_files): New.
643 * Makefile.in: Regenerate.
645 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
647 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
648 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
650 2004-10-13 Andrew Haley <aph@redhat.com>
652 * interpret.cc (_Jv_InterpMethod::run): Initialize
653 _Jv_StartOfInterpreter.
654 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
655 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
656 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
657 _Unwind_FindEnclosingFunction to discover whether PC is within the
660 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
663 * testsuite/libjava.lang/md5test.java: New file.
664 * testsuite/libjava.lang/md5test.out: Likewise.
665 * testsuite/libjava.lang/shatest.java: Likewise.
666 * testsuite/libjava.lang/shatest.out: Likewise.
668 2004-10-11 Richard Henderson <rth@redhat.com>
670 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
671 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
673 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
675 * java/util/Calendar.java (set): Invalidate DST_OFFSET
676 field as a DST boundary may have been crossed.
677 * java/util/GregorianCalendar.java (add): Throw
678 IllegalArgumentException on attempt to add to DST_OFFSET or
679 ZONE_OFFSET fields. Update javadoc.
681 2004-10-09 Michael Koch <konqueror@gmx.de>
683 * java/io/CharArrayWriter.java
684 (resize): Removed redundant 'final' modifier.
685 * java/io/DataInputStream.java
686 (readFully): Throw IndexOutOfBoundsException of len < 0.
687 * java/io/FileDescriptor.java,
688 java/io/FileInputStream.java,
689 java/io/FileOutputStream.java,
690 java/io/ObjectOutputStream.java,
691 java/io/ObjectStreamClass.java,
692 java/io/PipedInputStream.java,
693 java/io/RandomAccessFile.java:
694 Reorganized import statements.
696 2004-10-09 Michael Koch <konqueror@gmx.de>
698 * gnu/java/rmi/rmic/RMIC.java,
699 gnu/java/rmi/server/RMIHashes.java,
700 gnu/java/rmi/server/RMIObjectInputStream.java,
701 gnu/java/rmi/server/UnicastConnection.java,
702 gnu/java/rmi/server/UnicastConnectionManager.java,
703 gnu/java/rmi/server/UnicastRemoteCall.java,
704 gnu/java/rmi/server/UnicastServerRef.java:
705 Reworked import statements and fixed file headers.
707 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
709 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
711 * configure: Rebuilt.
713 2004-09-30 Tom Tromey <tromey@redhat.com>
715 * java/text/MessageFormat.java (Field): Constructor now
718 2004-09-30 Tom Tromey <tromey@redhat.com>
720 * javax/crypto/MacSpi.java: Fixed typo.
722 2004-09-30 Michael Koch <konqueror@gmx.de>
724 * java/net/InetAddress.java: Reformatted.
725 (loopback): Initialize with Inet4Address object.
726 (static): Initialize ANY_IF with Inet4Address object.
727 (InetAddress): Removed unused package-private constructor.
729 2004-09-30 Michael Koch <konqueror@gmx.de>
731 * java/beans/Beans.java,
732 java/beans/EventHandler.java,
733 java/beans/EventSetDescriptor.java,
734 java/beans/Introspector.java,
735 java/beans/PropertyEditorManager.java,
736 java/beans/beancontext/BeanContext.java,
737 java/beans/beancontext/BeanContextChild.java,
738 java/beans/beancontext/BeanContextChildSupport.java,
739 java/beans/beancontext/BeanContextMembershipEvent.java:
740 Reordered import statements and removed redundant modifiers.
742 2004-09-29 Tom Tromey <tromey@redhat.com>
745 * Makefile.in: Rebuilt.
746 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
748 (all_property_files): New macro.
750 * Makefile.in: Rebuilt.
751 * Makefile.am (ordinary_java_source_files): Re-sorted.
752 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
754 2004-09-28 Tom Tromey <tromey@redhat.com>
756 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
759 * Makefile.am (libgcj.la): Restored.
760 * Makefile.in: Rebuilt.
762 2004-09-28 Michael Koch <konqueror@gmx.de>
764 * java/net/URLConnection.java: Reformatted.
765 * java/net/URLClassLoader.java: Reformatted.
766 (getContent): Reordered return of content.
767 (getContentHandler): Don't check for null explicitely.
769 2004-09-27 Michael Koch <konqueror@gmx.de>
771 * java/io/BufferedInputStream.java
772 (BufferedInputStream): Added Jeroen Frijters to authors.
773 (count): Don't explicitely initialize with default value.
775 (marklimit): Likewise.
776 (read): Changed boolean expression to match GNU classpath' version.
777 (reset): Add proper message to exception.
778 (skip): Check for closed stream.
781 2004-09-26 Per Bothner <per@bothner.com>
783 * prims.cc (unblock_signal): Annotate signum with __unused__ to
784 avoid warnings in the non-POSIX_VERSION case.
785 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
786 so place it inside an #if block.
787 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
788 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
789 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
790 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
792 2004-09-26 Per Bothner <per@bothner.com>
794 * prims.cc (process_gcj_properties): Optimization.
796 2004-09-26 Per Bothner <per@bothner.com>
798 * java/util/Collections.java (sort): Copy from array in forwards
799 order, rather than reverse order which may be much less efficient.
801 2004-09-26 Mark Wielaard <mark@klomp.org>
803 * java/lang/System.java (properties): Make package private.
804 * java/lang/Throwable.java (StaticData.nl): Initialize through
805 directly accessing System.properties.getProperty().
807 * java/lang/Throwable.java (nl): Remove static field.
808 (StaticData): New private static inner class.
809 (stackTraceStringBuffer): Use StaticData.nl.
811 2004-09-26 Casey Marshall <csm@gnu.org>
813 * java/security/ProtectionDomain.java
814 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
817 * java/security/SecureClassLoader.java
818 (defineClass): make protection domain dynamically bound.
819 (getPermissions): call `getCurrentPolicy' to avoid permission
822 2004-09-25 Mark Wielaard <mark@klomp.org>
824 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
825 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
826 * Makefile.in: Regenerated.
828 * gcj/javaprims.h: Regenerated.
830 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
831 (getDefaultTimeZone): Make package private. Check that GMToffset
832 contains at least one digit.
833 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
835 * util/VMTimeZone.java: New file with above methods.
837 * java/util/natTimeZone.cc: Removed (renamed).
838 * java/util/natVMTimeZone.cc: Added (renamed).
840 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
842 * java/util/TimeZone.java
843 (getDefaultTimeZone): Fixed test to distinguish between hours and
844 minutes in specified timezone.
846 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
848 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
849 handling of default package. (generate): Removed confused comments
850 and code about making Method and Field accessible.
852 2004-09-25 Tom Tromey <tromey@redhat.com>
855 * testsuite/libjava.compile/pr17500.java: New file.
857 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
858 Mark Wielaard <mark@klomp.org>
860 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
861 * gnu/regexp/RETokenLookAhead.java: New file.
863 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
864 * Makefile.in: Regenerated.
866 2004-09-25 Michael Koch <konqueror@gmx.de>
868 * java/io/ObjectStreamField.java:
869 Removed unused import statement.
871 2004-09-24 Tom Tromey <tromey@redhat.com>
874 * testsuite/libjava.compile/pr15656.xfail: New file.
875 * testsuite/libjava.compile/pr15656.java: new file.
878 * testsuite/libjava.lang/pr16789.out: New file.
879 * testsuite/libjava.lang/pr16789.java: New file.
881 2004-09-24 Andrew Haley <aph@redhat.com>
884 * testsuite/libjava.compile/AssertBug.java: New file.
886 2004-09-24 Casey Marshall <csm@gnu.org>
888 * java/util/PropertyPermissionCollection.java
889 (implies): avoid infinite loop.
891 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
893 * javax/security/auth/PrivateCredentialPermission.java
894 (PrivateCredentialPermission): added serialization UID
897 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
899 * gnu/java/rmi/server/UnicastServer.java
900 (incomingMessageCall): Added code to handle Errors.
901 * gnu/java/rmi/server/UnicastServerRef.java
902 (incomingMessageCall): Added code to handle Errors.
905 2004-09-24 Tom Tromey <tromey@redhat.com>
907 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
908 (definedPackages): Likewise.
910 2004-09-24 Michael Koch <konqueror@gmx.de>
912 * java/io/ObjectInputStream.java:
915 2004-09-24 Casey Marshall <csm@gnu.org>
917 * java/io/ObjectInputStream.java (callReadMethod): re-throw
918 `ClassNotFoundException'.
920 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
922 * java/io/ObjectInputStream.java (readObject): Delegate instantation
923 of Externalizable classes to ObjectStreamClass.
924 * java/io/ObjectStreamClass.java (newInstance): New method to
925 instantiate Externalizable (while ignoring the accessibility of
926 the constructor). (constructor): New field to cache the constructor.
928 2004-09-24 Mark Wielaard <mark@klomp.org>
930 * java/net/URL.java (systemClassLoader): New static field.
931 (getURLStreamHandler): Always use system/application classloader
932 for finding URLStreamhandler. Remove unecessary instanceof checks.
934 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
937 (set): This method now matches the behaviour of the JDK.
938 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
940 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
942 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
944 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
946 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
947 Don't set authority if host isn't specified.
949 2004-09-24 Michael Koch <konqueror@gmx.de>
951 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
952 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
953 * gnu/java/nio/VMPipe.java,
954 gnu/java/nio/VMSelector.java:
956 * gnu/java/nio/natPipeImplEcos.cc,
957 gnu/java/nio/natPipeImplPosix.cc,
958 gnu/java/nio/natPipeImplWin32.cc:
960 * gnu/java/nio/natSelectorImplEcos.cc,
961 gnu/java/nio/natSelectorImplPosix.cc,
962 gnu/java/nio/natSelectorImplWin32.cc:
963 Ported to VMSelector.
964 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
965 gnu/java/nio/VMSelector.java.
966 * Makefile.in: Regenerated.
968 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
970 * java/lang/StackTraceElement.java
971 (className): Renamed field to declaringClass to be compatible
972 with Sun serialization format.
974 2004-09-23 Michael Koch <konqueror@gmx.de>
976 * java/applet/AppletContext.java,
977 java/applet/Applet.java,
978 java/applet/AppletStub.java,
979 java/applet/AudioClip.java:
980 Jalopied and checkstyle clean.
982 2004-09-23 Mark Wielaard <mark@klomp.org>
984 * java/util/Collections.java
985 (binarySearch(List, Object, Comparator)): Explicitly
986 reverse direction in list iterator.
987 (rotate): Just return when list is empty.
989 2004-09-23 Tom Tromey <tromey@redhat.com>
992 * testsuite/libjava.compile/pr17329.java: New file.
995 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
998 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1000 * Makefile.am: Run aclocal with -I ../config
1001 * acinclude.m4: Delete macros picked up from ../config and tidy.
1002 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1003 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1004 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1006 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1008 * aclocal.m4: Regenerate with aclocal 1.9.2.
1009 * configure: Regenerate.
1010 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1011 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1013 2004-09-22 David Daney <ddaney@avtrex.com>
1016 * java/net/URL.java (URL): Copy userInfo from context.
1017 (getUserInfo): Return cached userInfo if present.
1019 2004-09-22 Tom Tromey <tromey@redhat.com>
1022 * mauve-libgcj: Enable java.lang.Character tests.
1024 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1026 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1028 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1029 * Makefile.in: Regenerated.
1031 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1033 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1034 * configure: Regenerate.
1035 * include/config.h.in: Likewise.
1036 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1040 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1041 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1043 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1046 2004-09-22 Tom Tromey <tromey@redhat.com>
1049 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1050 when comparing CRCs.
1051 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1053 (read()): New overload.
1055 2004-09-21 Tom Tromey <tromey@redhat.com>
1057 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1060 2004-09-21 Michael Koch <konqueror@gmx.de>
1062 * java/net/Socket.java
1063 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1065 2004-09-21 Casey Marshall <csm@gnu.org>
1067 * javax/crypto/MacSpi.java (clone): Provide meaningful
1070 2004-09-21 Tom Tromey <tromey@redhat.com>
1073 * Makefile.in: Rebuilt.
1074 * Makefile.am (MOSTLYCLEANFILES): Removed.
1075 (mostlyclean-local): Remove header files.
1077 2004-09-21 Casey Marshall <csm@gnu.org>
1079 * java/security/cert/X509CRLSelector.java:
1080 (match): remove unreachable try-catch clauses.
1081 Reported by: Dalibor Topic <robilad@kaffe.org>
1083 2004-09-21 Mark Wielaard <mark@klomp.org>
1085 * java/util/TreeMap.java (root): Don't initialize.
1086 (TreeMap(Comparator)): Call fabricateTree(0).
1087 (fabricateTree): Initialize root and size when count is 0.
1089 2004-09-21 Sven de Marothy <sven@physto.se>
1091 * java/nio/ByteBuffer.java (hashCode): Implemented.
1092 * java/nio/CharBuffer.java: Likewise.
1093 * java/nio/DoubleBuffer.java: Likewise.
1094 * java/nio/FloatBuffer.java: Likewise.
1095 * java/nio/LongBuffer.java: Likewise.
1096 * java/nio/IntBuffer.java: Likewise.
1097 * java/nio/ShortBuffer.java: Likewise.
1099 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1101 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1103 2004-09-21 Michael Koch <konqueror@gmx.de>
1105 * javax/net/ssl/SSLServerSocket.java:
1106 Removed comment about "Do not edit this file, it's generated.".
1108 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1110 Import the big Crypto/Jessie/Security merge from Classpath.
1112 * Makefile.am: Add imported files.
1113 * Makefile.in: Regenerate.
1115 2004-08-14 Casey Marshall <csm@gnu.org>
1117 The Big Crypto Merge of 2004.
1119 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1122 Files imported from GNU Crypto.
1123 * javax/crypto/BadPaddingException.java
1124 * javax/crypto/Cipher.java
1125 * javax/crypto/CipherInputStream.java
1126 * javax/crypto/CipherOutputStream.java
1127 * javax/crypto/CipherSpi.java
1128 * javax/crypto/EncryptedPrivateKeyInfo.java
1129 * javax/crypto/ExemptionMechanism.java
1130 * javax/crypto/ExemptionMechanismException.java
1131 * javax/crypto/ExemptionMechanismSpi.java
1132 * javax/crypto/IllegalBlockSizeException.java
1133 * javax/crypto/KeyAgreement.java
1134 * javax/crypto/KeyAgreementSpi.java
1135 * javax/crypto/KeyGenerator.java
1136 * javax/crypto/KeyGeneratorSpi.java
1137 * javax/crypto/Mac.java
1138 * javax/crypto/MacSpi.java
1139 * javax/crypto/Makefile.am
1140 * javax/crypto/NoSuchPaddingException.java
1141 * javax/crypto/NullCipher.java
1142 * javax/crypto/NullCipherImpl.java
1143 * javax/crypto/SealedObject.java
1144 * javax/crypto/SecretKey.java
1145 * javax/crypto/SecretKeyFactory.java
1146 * javax/crypto/SecretKeyFactorySpi.java
1147 * javax/crypto/ShortBufferException.java
1148 * javax/crypto/interfaces/DHKey.java
1149 * javax/crypto/interfaces/DHPrivateKey.java
1150 * javax/crypto/interfaces/DHPublicKey.java
1151 * javax/crypto/interfaces/PBEKey.java
1152 * javax/crypto/spec/DESKeySpec.java
1153 * javax/crypto/spec/DESedeKeySpec.java
1154 * javax/crypto/spec/DHGenParameterSpec.java
1155 * javax/crypto/spec/DHParameterSpec.java
1156 * javax/crypto/spec/DHPrivateKeySpec.java
1157 * javax/crypto/spec/DHPublicKeySpec.java
1158 * javax/crypto/spec/IvParameterSpec.java
1159 * javax/crypto/spec/PBEKeySpec.java
1160 * javax/crypto/spec/PBEParameterSpec.java
1161 * javax/crypto/spec/RC2ParameterSpec.java
1162 * javax/crypto/spec/RC5ParameterSpec.java
1163 * javax/crypto/spec/SecretKeySpec.java
1164 * javax/security/auth/AuthPermission.java
1165 * javax/security/auth/DestroyFailedException.java
1166 * javax/security/auth/Destroyable.java
1167 * javax/security/auth/Policy.java
1168 * javax/security/auth/PrivateCredentialPermission.java
1169 * javax/security/auth/RefreshFailedException.java
1170 * javax/security/auth/Refreshable.java
1171 * javax/security/auth/Subject.java
1172 * javax/security/auth/SubjectDomainCombiner.java
1173 * javax/security/auth/callback/Callback.java
1174 * javax/security/auth/callback/CallbackHandler.java
1175 * javax/security/auth/callback/ChoiceCallback.java
1176 * javax/security/auth/callback/ConfirmationCallback.java
1177 * javax/security/auth/callback/LanguageCallback.java
1178 * javax/security/auth/callback/NameCallback.java
1179 * javax/security/auth/callback/PasswordCallback.java
1180 * javax/security/auth/callback/TextInputCallback.java
1181 * javax/security/auth/callback/TextOutputCallback.java
1182 * javax/security/auth/callback/UnsupportedCallbackException.java
1183 * javax/security/auth/login/AccountExpiredException.java
1184 * javax/security/auth/login/AppConfigurationEntry.java
1185 * javax/security/auth/login/Configuration.java
1186 * javax/security/auth/login/CredentialExpiredException.java
1187 * javax/security/auth/login/FailedLoginException.java
1188 * javax/security/auth/login/LoginContext.java
1189 * javax/security/auth/login/LoginException.java
1190 * javax/security/auth/login/NullConfiguration.java
1191 * javax/security/auth/x500/X500PrivateCredential.java
1192 * javax/security/sasl/AuthenticationException.java
1193 * javax/security/sasl/AuthorizeCallback.java
1194 * javax/security/sasl/RealmCallback.java
1195 * javax/security/sasl/RealmChoiceCallback.java
1196 * javax/security/sasl/Sasl.java
1197 * javax/security/sasl/SaslClient.java
1198 * javax/security/sasl/SaslClientFactory.java
1199 * javax/security/sasl/SaslException.java
1200 * javax/security/sasl/SaslServer.java
1201 * javax/security/sasl/SaslServerFactory.java
1202 * org/ietf/jgss/ChannelBinding.java
1203 * org/ietf/jgss/GSSContext.java
1204 * org/ietf/jgss/GSSCredential.java
1205 * org/ietf/jgss/GSSException.java
1206 * org/ietf/jgss/GSSManager.java
1207 * org/ietf/jgss/GSSName.java
1208 * org/ietf/jgss/MessageProp.java
1209 * org/ietf/jgss/Oid.java
1210 * org/ietf/jgss/MessagesBundle.properties
1212 Files imported from Jessie <http://www.nongnu.org/jessie/>
1213 * javax/net/ServerSocketFactory.java
1214 * javax/net/SocketFactory.java
1215 * javax/net/VanillaServerSocketFactory.java
1216 * javax/net/VanillaSocketFactory.java
1217 * javax/net/ssl/HandshakeCompletedEvent.java
1218 * javax/net/ssl/HandshakeCompletedListener.java
1219 * javax/net/ssl/HostnameVerifier.java
1220 * javax/net/ssl/HttpsURLConnection.java
1221 * javax/net/ssl/KeyManager.java
1222 * javax/net/ssl/KeyManagerFactory.java
1223 * javax/net/ssl/KeyManagerFactorySpi.java
1224 * javax/net/ssl/ManagerFactoryParameters.java
1225 * javax/net/ssl/SSLContext.java
1226 * javax/net/ssl/SSLContextSpi.java
1227 * javax/net/ssl/SSLException.java
1228 * javax/net/ssl/SSLHandshakeException.java
1229 * javax/net/ssl/SSLKeyException.java
1230 * javax/net/ssl/SSLPeerUnverifiedException.java
1231 * javax/net/ssl/SSLPermission.java
1232 * javax/net/ssl/SSLProtocolException.java
1233 * javax/net/ssl/SSLServerSocket.java
1234 * javax/net/ssl/SSLServerSocketFactory.java
1235 * javax/net/ssl/SSLSession.java
1236 * javax/net/ssl/SSLSessionBindingEvent.java
1237 * javax/net/ssl/SSLSessionBindingListener.java
1238 * javax/net/ssl/SSLSessionContext.java
1239 * javax/net/ssl/SSLSocket.java
1240 * javax/net/ssl/SSLSocketFactory.java
1241 * javax/net/ssl/TrivialHostnameVerifier.java
1242 * javax/net/ssl/TrustManager.java
1243 * javax/net/ssl/TrustManagerFactory.java
1244 * javax/net/ssl/TrustManagerFactorySpi.java
1245 * javax/net/ssl/X509KeyManager.java
1246 * javax/net/ssl/X509TrustManager.java
1247 * javax/security/cert/Certificate.java
1248 * javax/security/cert/CertificateEncodingException.java
1249 * javax/security/cert/CertificateException.java
1250 * javax/security/cert/CertificateExpiredException.java
1251 * javax/security/cert/CertificateNotYetValidException.java
1252 * javax/security/cert/CertificateParsingException.java
1253 * javax/security/cert/X509CertBridge.java
1254 * javax/security/cert/X509Certificate.java
1256 2004-08-20 Casey Marshall <csm@gnu.org>
1258 * java/security/cert/X509CRLSelector.java: New file.
1259 * java/security/cert/X509CertSelector.java: New file.
1261 2004-09-15 Michael Koch <konqueror@gmx.de>
1263 * gnu/java/net/protocol/file/Handler.java
1264 (openConnection): Don't throw exception if host part for file: URI is
1265 present. setURL() keeps file: protocol if ftp: protocol is not
1268 2004-09-14 Richard Henderson <rth@redhat.com>
1270 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1271 value of sigsuspend.
1273 2004-09-12 Tom Tromey <tromey@redhat.com>
1275 * javax/naming/CompoundName.java (CompoundName): Don't check for
1276 separator in "flat" case.
1278 2004-09-12 Michael Koch <konqueror@gmx.de>
1280 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1281 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1282 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1285 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1288 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1289 handle in newly-allocated _Jv_Thread_t.
1290 (_Jv_ThreadDestroyData): Close thread handle.
1291 (_Jv_ThreadStart): Remove obsolete comment.
1292 Store handle of newly-created thread in _Jv_Thread_t.
1293 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1294 before including <windows.h>
1295 #define _Jv_HaveCondDestroy
1297 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1299 * java/lang/natThread.cc (finalize_native): Destroy
1300 join conditional variable and mutex if these destroy
1301 operations are supported.
1303 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1305 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1306 (DEFAULT_PERMISSION): New constant.
1307 (Connection): Create a FilePermission with permission to read file.
1309 2004-09-10 Michael Koch <konqueror@gmx.de>
1311 * gnu/java/net/protocol/file/Connection.java
1312 (getLastModified): Moved around.
1313 (getPermission): Return stored permission.
1315 2004-09-10 Michael Koch <konqueror@gmx.de>
1317 * Makefile.in: Regenerate.
1319 2004-09-10 Michael Koch <konqueror@gmx.de>
1321 * Makefile.am: Reverted accidently commited stuff.
1322 * configure: Regenerated.
1324 2004-09-10 Michael Koch <konqueror@gmx.de>
1326 * gnu/java/net/protocol/file/Connection.java
1327 (lineSeparator): Made non-final.
1329 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1330 instead of StringBufferInputStream.
1332 2004-09-10 Michael Koch <konqueror@gmx.de>
1334 * gnu/java/net/protocol/file/Connection.java
1335 (connect): Handle file is a directory case.
1337 2004-09-10 Michael Koch <konqueror@gmx.de>
1340 (xlib_includes): Removed.
1341 (AM_CPPFLAGS): Renamed from INCLUDES.
1342 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1343 * Makefile.in: Regenerate.
1345 2004-09-09 Michael Koch <konqueror@gmx.de>
1347 * java/security/ProtectionDomain.java,
1348 * java/util/PropertyPermissionCollection.java:
1349 Fixed javadocs all over.
1351 2004-09-09 Sven de Marothy <sven@physto.se>
1353 Patch from David Gilbert <david.gilbert@object-refinery.com>
1354 * java/lang/Comparable.java: Fixed documentation errors.
1355 * java/util/Arrays.java: Likewise.
1357 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1359 * java/net/Inet4Address.java
1360 (Inet4Address): Added comment to serialization UID.
1361 * java/text/Format.java
1362 (Format): Added comment to serialization UID.
1364 2004-09-09 Michael Koch <konqueror@gmx.de>
1366 * java/lang/System.java
1367 (err): Fixed javadoci to point to setErr() and not setOut().
1369 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1371 (normalizePath): Added special case for windows systems.
1373 2004-09-09 Michael Koch <konqueror@gmx.de>
1376 (dupSeparator): Made private.
1377 (File(URI)): New constructor.
1378 (getParentFile): Fixed javadoc.
1379 (createTempFile): Reformated.
1380 (setReadOnly): Added comment.
1381 (deleteOnExit): Merged javadoc with classpath version.
1383 2004-09-09 Michael Koch <konqueror@gmx.de>
1385 * Makefile.am: Don't try to include deps.mk.
1386 * Makefile.in: Regenerated.
1388 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1390 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1392 * configure: Rebuilt.
1394 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1396 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1397 Changed pfn from static local to local.
1399 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1400 H.J. Lu <hongjiu.lu@intel.com>
1403 * Makefile.am (GCJCOMPILE): Remove definition.
1404 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1405 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1406 * Makefile.in: Rebuilt.
1408 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1410 * configure.ac (enable-gc-debug): Update help for new syntax.
1411 * configure: Regenerate.
1413 2004-09-03 David Daney <ddaney@avtrex.com>
1415 * include/mips-signal.h: Update copyright.
1417 2004-09-03 David Daney <ddaney@avtrex.com>
1419 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1420 * include/mips-signal.h: Added HANDLE_FPE support.
1422 2004-08-31 Michael Koch <konqueror@gmx.de>
1424 * javax/swing/plaf/basic/BasicTextAreaUI.java
1425 (create): New method.
1426 * javax/swing/text/DefaultHighlighter.java
1427 (DefaultHighlightPainter.debugRect): Removed.
1428 * javax/swing/text/StyleContext.java
1429 (DEFAULT_STYLE): New field.
1431 2004-08-31 Michael Koch <konqueror@gmx.de>
1433 * javax/swing/plaf/basic/BasicLookAndFeel.java
1434 (initComponentDefaults): Add keybindings for selection.backward and
1435 selection-forward for text components.
1436 * javax/swing/plaf/basic/BasicTextUI.java
1437 (paintSafely): Paint highlight only when something is actually
1439 * javax/swing/text/DefaultCaret.java
1440 (handleHighlight): New method.
1441 (setSelectionVisible): Don't do anything when nothing changes.
1443 (moveDot): Reimplemented. Handle highlight.
1444 (setDot): Set mark too. Handle highlight.
1445 (getSelectionPainter): New method.
1446 * javax/swing/text/DefaultEditorKit.java
1447 (defaultActions): Added new actions for text selection.
1448 * javax/swing/text/DefaultHighlighter.java
1449 (DefaultHighlightPainter): New inner class.
1450 (DefaultPainter): New field.
1451 (paint): Implemented.
1452 * javax/swing/text/PlainView.java
1453 (paint): Don't draw background here again.
1454 * javax/swing/text/Utilities.java
1455 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1456 (drawTabbedText): Likewise.
1458 2004-08-31 Graydon Hoare <graydon@redhat.com>
1460 * javax/swing/JComponent.java
1461 (resetKeyboardActions): Add null checks.
1463 2004-08-31 Graydon Hoare <graydon@redhat.com>
1465 * javax/swing/DefaultButtonModel.java:
1466 Skip group notification when no group is set.
1468 2004-08-31 Graydon Hoare <graydon@redhat.com>
1470 * javax/swing/JColorChooser.java:
1471 Make a couple inner classes static, for jikes.
1473 2004-08-31 Michael Koch <konqueror@gmx.de>
1475 * javax/swing/plaf/basic/BasicTextUI.java
1476 (RottView.modelToView): New method.
1477 (UpdateHandler): Renamed from EventHandler.
1478 (updateHandler): Renamed from eventHandler.
1479 (modelToView): Implemented.
1480 * javax/swing/text/AbstractDocument.java
1481 (BranchElement.getElement): Return null for non-existing indeces.
1482 (BranchElement.getElementIndex): Return 0 in some corner cases.
1483 * javax/swing/text/FieldView.java
1484 (modelToView): New method.
1485 * javax/swing/text/PlainView.java
1486 (modelToView): Made public.
1488 2004-08-31 Kim Ho <kho@redhat.com>
1490 * Makefile.am: New files.
1491 * Makefile.in: Regenerate.
1492 * gcj/Makefile.in: Regenerate.
1493 * include/Makefile.in: Regenerate.
1494 * java/awt/Color.java: Fix documentation.
1495 (RGBtoHSB): Use floats for conversions.
1496 * javax/swing/ButtonGroup.java: Run Jalopy.
1497 (setSelected): Reimplement.
1498 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1499 (changeState): Let ButtonGroup know that the button
1501 * javax/swing/JColorChooser.java: Implement.
1502 * javax/swing/JLabel.java: Run Jalopy.
1503 * javax/swing/JSpinner.java: Run Jalopy.
1504 (setValue): New method.
1505 * javax/swing/JTabbedPane.java: Run Jalopy.
1506 (removeTabAt): Call correct remove method.
1507 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1508 (getPreviousValue): Compare minimum value.
1509 * javax/swing/Timer.java: Run Jalopy.
1510 (run): Comment out println.
1511 * javax/swing/ToolTipManager.java:
1512 (mouseMoved): Get new tooltip text for location.
1513 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1515 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1517 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1519 (setSelectedColor): Fire ChangeEvent.
1520 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1521 New file. Implement.
1522 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1524 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1526 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1528 * javax/swing/plaf/basic/BasicArrowButton.java:
1529 (getArrow): Fix size of upward pointing button.
1530 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1532 * javax/swing/plaf/basic/BasicSliderUI.java:
1533 (getWidthOfWidestLabel): Use preferred dimensions.
1534 (getHeightOfTallestLabel): Ditto.
1535 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1537 (mousePressed): Disable changes to spinner if it is not enabled.
1538 * testsuite/Makefile.in: Regenerate.
1541 2004-08-31 Michael Koch <konqueror@gmx.de>
1543 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1544 javax/swing/plaf/basic/BasicTableUI.java:
1545 Added copyright notice.
1547 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1549 * Makefile.am: Added new files.
1550 * Makefile.in: Regenerate.
1551 * javax/swing/ComboBoxEditor.java: Added javadocs.
1552 * javax/swing/ComboBoxModel.java: Likewise.
1553 * javax/swing/DefaultComboBoxModel.java: Implemented.
1554 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1555 and ran through jalopy to fix formatting style.
1556 (getListCellRendererComponent): Use appropriate border
1557 if renderer has focus and use noFocusBorder when it doesn't.
1558 * javax/swing/JComboBox.java: Implemented.
1559 * javax/swing/JList.java:
1560 (locationToIndex): New Method. Implemented.
1561 (indexToLocation): New Method.
1562 * javax/swing/JPopupMenu.java:
1563 (visible): New field.
1564 (isVisible): Changed to use new field above.
1565 (setVisible): Likewise.
1566 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1567 * javax/swing/plaf/basic/BasicArrowButton.java:
1568 (shadow): Changed default color to Color.gray.
1569 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1570 UI delegate for JComboBox.
1571 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1572 Popup menu containing list of JComboBox's items.
1573 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1574 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1575 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1576 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1577 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1578 (popupMenuWillBecomeVisible): Set selected path to the first
1579 element only if it is of type MenuElement. Also fix formatting
1581 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1584 2004-08-31 Michael Koch <konqueror@gmx.de>
1586 * javax/swing/text/AbstractDocument.java
1587 (createBranchElement): Use new constructor of BranchElement.
1588 (createLeafElement): Renamed arguments.
1589 (getRootElements): Implemented.
1590 (BranchElement.start): Removed.
1591 (BranchElement.end): Likewise.
1592 (BranchElement.BranchElement): Fixed arguments.
1593 (BranchElement.getEndOffset): Reimplemented.
1594 (BranchElement.getStartOffset): Likewis.
1595 * javax/swing/text/DefaultCaret.java
1596 (paint): Draw simple vertical line as caret instead of a rectangle.
1597 * javax/swing/text/JTextComponent.java
1598 (setText): Use doc directly.
1599 * javax/swing/text/PlainView.java
1600 (nextTabStop): Implemented.
1601 * javax/swing/text/Utilities.java
1602 (drawTabbedText): nextTabStop() returns an absolute x position.
1603 (getTabbedTextWidth): Likewise.
1605 2004-08-31 Graydon Hoare <graydon@redhat.com>
1607 * java/awt/Component.java
1608 (isFocusTraversable): Predicate on isLightweight()
1609 (setFocusable): Set isFocusTraversableOverridden.
1610 (requestFocus): Predicate peer dispatch on !isLightweight()
1611 (requestFocusInWindow): Likewise.
1612 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1613 * java/awt/Container.java
1614 (dispatchEventImpl): Predicate on event mask.
1615 (LightweightDispatcher): Remove focus machinery.
1616 * java/awt/DefaultFocusTraversalPolicy.java
1617 (accept): Expand predicate to include isFocusable().
1618 * java/awt/DefaultKeyboardFocusManager.java:
1619 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1620 * java/awt/KeyboardFocusManager.java
1621 (redispatchEvent): Synchronize on event to prevent feedback.
1622 * javax/swing/AbstractButton.java
1623 (ButtonFocusListener): Remove class.
1624 (init): Set focusPainted, focusable.
1625 * javax/swing/ActionMap.java (get): Check parent for null.
1626 * javax/swing/InputMap.java (get): Likewise.
1627 * javax/swing/JComponent.java
1628 (inputMap_whenFocused): New InputMap.
1629 (inputMap_whenAncestorOfFocused): Likewise.
1630 (inputMap_whenInFocusedWindow): Likewise.
1631 (getActionForKeyStroke): Rewrite.
1632 (getConditionForKeystroke): Likewise.
1633 (ActionListenerProxy): New private class.
1634 (setInputMap): Implement.
1635 (getInputMap): Likewise.
1636 (setActionMap): Likewise.
1637 (getActionMap): Likewise.
1638 (processComponentKeyEvent): New empty method.
1639 (processKeyEvent): Implement.
1640 (processKeyBinding): Likewise.
1641 (resetKeyboardActions): Rewrite.
1642 * javax/swing/KeyStroke.java: Rewrite.
1643 * javax/swing/SwingUtilities.java
1644 (notifyAction): Implement.
1645 (replaceUIActionMap): Likewise.
1646 (replaceUIInputMap): Likewise.
1647 * javax/swing/plaf/basic/BasicButtonListener.java
1648 (focusGained): Implement.
1649 (focusLost): Repaint if focusPainted().
1650 (installKeyboardActions): Install pressed / released actions.
1651 (uninstallKeyboardActions): Implement.
1652 * javax/swing/plaf/basic/BasicButtonUI.java
1653 (focusColor): New field.
1654 (installDefaults): Load focus color, install input map.
1655 (installKeyboardActions): Implement.
1656 (uninstallKeyboardActions): Likewise.
1657 (paintFocus): Rewrite.
1658 * javax/swing/plaf/basic/BasicLookAndFeel.java
1659 (Button.focus): New default, midPurple.
1660 * javax/swing/plaf/basic/BasicTextUI.java
1662 (installUI): Get doc from kit, load defaults.
1663 (getKeymapName): Implement.
1664 (createKeymap): Likewise.
1665 (installKeyboardActions): Likewise.
1666 (getInputMap): Likewise.
1667 (getActionMap): Likewise.
1668 (createActionMap): Likewise.
1669 * javax/swing/text/AbstractDocument.java
1670 (getStartPosition): Implement.
1671 (getEndPosition): Likewise.
1672 * javax/swing/text/DefaultEditorKit.java
1673 (CopyAction): New class.
1674 (CutAction): Likewise.
1675 (DefaultKeyTypedAction): Likewise.
1676 (InsertBreakAction): Likewise.
1677 (InsertContentAction): Likewise.
1678 (InsertTabAction): Likewise.
1679 (PasteAction): Likewise.
1680 (defaultActions): New static table.
1681 (createCaret): Implement.
1682 (getActions): Likewise.
1683 * javax/swing/text/JTextComponent.java
1684 (KeymapWrapper): New private class.
1685 (KeymapActionMap): Likewise.
1686 (DefaultKeymap): New class.
1687 (keymaps): New static table.
1688 (keymap): New field.
1689 (getKeymap): Implement.
1690 (removeKeymap): Likewise.
1691 (addKeymap): Likewise.
1692 (setKeymap): Likewise.
1693 (loadKeymap): Likewise.
1694 (getActions): Likewise.
1695 (margin): New field.
1696 (JTextComponent): Build and install default keymap.
1697 * javax/swing/text/TextAction.java
1698 (textAction): Call super properly.
1699 (getTextComponent): Implement.
1700 * javax/swing/text/Utilities.java
1701 (drawTabbedText): Adjust position by ascent.
1703 2004-08-31 David Jee <djee@redhat.com>
1707 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1708 (setEnabled): Make it a native method.
1709 * java/awt/DefaultKeyboardFocusManager.java
1710 (postProcessKeyEvent): Only post event if the menu item
1712 * java/awt/MenuItem.java:
1713 Private field 'enabled' should be true by default.
1714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1715 (setEnabled): New function.
1717 2004-08-31 David Jee <djee@redhat.com>
1721 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1722 (nativeSetHelpMenu): New native method declaration.
1723 (addHelpMenu): Call nativeSetHelpMenu().
1725 * java/awt/MenuBar.java
1726 (setHelpMenu): Call addNotify() on the new help menu.
1727 (add): Call addNotify() on the new menu.
1728 (addNotify): Set the help menu if one exists.
1729 * java/awt/peer/MenuBarPeer.java
1731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1732 (nativeSetHelpMenu): New method.
1734 2004-08-31 Graydon Hoare <graydon@redhat.com>
1736 * Makefile.am: Add new files.
1737 * Makefile.in: Regenerate.
1738 * javax/swing/Box.java: Fix setting of layout in ctor.
1739 * javax/swing/JScrollPane.java: Scroll headers as well.
1740 * javax/swing/JTable.java: Reimplement.
1741 * javax/swing/JViewPort.java: Only add non-null children.
1742 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1743 * javax/swing/Timer.java: Fix stopping null waker.
1744 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1745 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1746 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1747 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1748 * javax/swing/table/DefaultTableModel.java: Clean up.
1749 * javax/swing/table/JTableHeader.java: Implement.
1751 2004-08-31 Mark Wielaard <mark@klomp.org>
1753 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1756 2004-08-31 Mark Wielaard <mark@klomp.org>
1758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1759 Declare variables at top of functions/block.
1760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1762 2004-08-31 Mark Wielaard <mark@klomp.org>
1764 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1767 2004-08-31 Michael Koch <konqueror@gmx.de>
1769 * javax/swing/text/PlainView.java
1770 (selectedColor): New field.
1771 (unselectedColor): Likewise.
1773 (updateMetrics): New method.
1774 (lineToRect): Likewise.
1775 (modelToView): Likewise.
1776 (drawSelectedText): Use color from JTextComponent ad draw with
1778 (drawUnselectedText): Likewise.
1779 (paint): Initialize helper fields.
1780 * javax/swing/text/View.java
1781 (getChildAllocation): New method.
1782 (getViewIndex): Likewise.
1783 (getToolTipText): Likewise.
1785 2004-08-31 Michael Koch <konqueror@gmx.de>
1787 * javax/swing/text/Utilities.java
1788 (drawTabbedText): Reimplemented.
1789 (getTabbedTextWidth): Likewise.
1791 2004-08-31 Michael Koch <konqueror@gmx.de>
1793 * javax/swing/plaf/basic/BasicTextUI.java
1794 (installDefaults): Install caret and highlighter.
1795 (modelToView): Use Bias.Forward when calling sibling.
1796 * javax/swing/text/AbstractDocument.java
1797 (ElementEdit): Implements DocumentEvent.ElementChange.
1798 (ElementEdit.ElementEdit): New method.
1799 (ElementEdit.getChildrenAdded): Likewise.
1800 (ElementEdit.getChildrenRemoved): Likewise.
1801 (ElementEdit.getElement): Likewise.
1802 (ElementEdit.getIndex): Likewise.
1803 * javax/swing/text/DefaultCaret.java
1805 (textComponent): Renamed from parent, made private.
1806 (selectionVisible): Renamed from vis_sel, made private.
1807 (blinkRate): Renamed from blink, made private.
1808 (magicCaretPosition): Renamed from magic, made private.
1809 (visible): Renamed from vis, made private.
1810 (dot): Made private.
1812 (deinstall): Remove as MouseMotionListener.
1813 (install): Initialize textComponent first. Add as MouseMotionListener.
1814 (paint): Reimplemented.
1815 * javax/swing/text/JTextComponent.java
1816 (setCaret): Deinstall old caret, install new one and fire property
1817 change after setting property.
1818 (setHighlighter): Deinstall old highlighter, install new one and fire
1819 property change after setting property.
1820 (setCaretColor): Fire property change after setting property.
1821 (setDisabledTextColor): Likewise.
1822 (setSelectedTextColor): Likewise.
1823 (setSelectionColor): Likewise.
1824 (modelToView): New method.
1826 2004-08-31 Michael Koch <konqueror@gmx.de>
1828 * javax/swing/text/AbstractDocument.java
1829 (getText): Simplified.
1830 * javax/swing/text/Segment.java
1831 (current): New field.
1832 (current): Reimplemented.
1834 (getIndex): Likewise.
1837 (previous): Likewise.
1838 (setIndex): Likewise.
1840 2004-08-31 Michael Koch <konqueror@gmx.de>
1842 * javax/swing/plaf/basic/BasicButtonUI.java
1843 (defaultTextIconGap): Made protected.
1844 (defaultTextShiftOffset): Likewise.
1845 (textShiftOffset): New field.
1846 (clearTextShiftOffset): New method.
1847 (getTextShiftOffset): Likewise.
1848 (setTextShiftOffset): Likewise.
1850 2004-08-31 Michael Koch <konqueror@gmx.de>
1852 * javax/swing/plaf/basic/BasicTextUI.java
1853 (installUI): Add eventHandler as property listener.
1854 (uninstallUI): remove eventHandler as propert listener.
1855 (installDefaults): Added comment.
1856 (installListeners): Likewise.
1857 (installKeyboardActions): Likewise.
1858 (uninstallDefaults): Likewise.
1859 (uninstallListeners): Likewise.
1860 (uninstallKeyboardActions): Likewise.
1862 2004-08-31 Michael Koch <konqueror@gmx.de>
1864 * javax/swing/text/AbstractDocument.java:
1865 Fixed some typos in comments.
1866 (insertString): Reimplemented.
1868 (replace): New method.
1869 (children): Dont use fully qualified class name.
1870 (DefaultDocumentEvent.offset): Renamed from off.
1871 (DefaultDocumentEvent.length): Renamed from len.
1872 (DefaultDocumentEvent.type): New field.
1873 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1874 (DefaultDocumentEvent.getType): Implemented.
1876 2004-08-31 Michael Koch <konqueror@gmx.de>
1878 * javax/swing/plaf/basic/BasicTextUI.java
1879 (RootView.textComponent): Removed.
1880 (RootView.RootView): Don't initialize textComponent.
1881 (RootView.getViewFactory): New method.
1882 (EventHandler): New inner class.
1883 (rootView): Initialize at instance creation.
1884 (eventHandler): New field.
1885 (installUI): Don't create view hierarchy directly,
1886 call modelChanged() instead.
1887 (modelChanged): New method.
1888 * javax/swing/text/JTextComponent.java
1889 (setDocument): Fire property change event.
1891 2004-08-31 Michael Koch <konqueror@gmx.de>
1893 * javax/swing/plaf/basic/BasicTextUI.java
1894 (RootView.paint): Removed debug output.
1895 (paintSafely): Draw highlighter before text.
1896 (paintBackground): Use background color of text component.
1897 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1900 2004-08-31 Michael Koch <konqueror@gmx.de>
1902 * javax/swing/plaf/basic/BasicToolBarUI.java
1903 (BasicToolBarUI): Fixed arguments for constructor.
1904 (createUI): Fixed creation of object.
1906 2004-08-31 Michael Koch <konqueror@gmx.de>
1908 * javax/swing/DefaultListSelectionModel.java
1909 (fireValueChanged): Renamed from fireSelectionValueChanged,
1912 2004-08-31 Michael Koch <konqueror@gmx.de>
1914 * javax/swing/text/TabSet.java
1915 (TabSet): Implements java.io.Serializable.
1916 * javax/swing/text/TabStop.java
1917 (TabStop): Implements java.io.Serializable.
1918 (TabStop): Made public.
1920 2004-08-31 Michael Koch <konqueror@gmx.de>
1922 * javax/swing/JComponent.java
1923 (setUI): Fire PropertyChange.
1924 * javax/swing/JLabel.java
1925 (text): Renamed from labelText.
1926 (horizontalAlignment): New default vlaue.
1927 (icon): Renamed from activeIcon.
1928 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1929 (displayedMnemonicIndex): Renamed from underlineChar.
1930 (setDisplayedMnemonic): Reimplemented.
1931 * javax/swing/JRadioButton.java
1932 (JRadioButton): New constructors.
1933 * javax/swing/JTextField.java
1934 (JTextField): Throw exception if colums < 0, initialitialz
1935 this.columns directly and initialize document with text conditionally.
1937 2004-08-31 Michael Koch <konqueror@gmx.de>
1939 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1940 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1941 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1942 * javax/swing/text/FieldView.java
1943 (paint): Just call super method for now.
1944 * Makefile.am: Added new files.
1945 * Makefile.in: Regenerated.
1947 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1949 * javax/swing/AbstractSpinnerModel.java,
1950 javax/swing/JSpinner.java,
1951 javax/swing/SpinnerNumberModel.java,
1952 javax/swing/plaf/basic/BasicSpinnerUI.java:
1954 * javax/swing/plaf/basic/BasicLookAndFeel.java
1955 (initClassDefaults): Added defaults for BasicSpinnerUI.
1957 2004-08-31 Michael Koch <konqueror@gmx.de>
1959 * Makefile.am: Added new files.
1960 * Makefile.in: Regenerated.
1962 2004-08-31 Michael Koch <konqueror@gmx.de>
1964 * javax/swing/TransferHandler.java,
1965 javax/swing/plaf/basic/ComboPopup.java: New files
1966 * Makefile.am: Added javax/swing/TransferHandler.java and
1967 javax/swing/plaf/basic/ComboPopup.java
1968 * Makefile.in: Regenerated.
1970 2004-08-31 Roman Kennke <roman@ontographics.com>
1972 * javax/swing/text/Utilities.java: New file.
1974 2004-08-31 Michael Koch <konqueror@gmx.de>
1976 * Makefile.am: Added javax/swing/text/Utilities.java.
1977 * Makefile.in: Regenerated.
1979 2004-08-31 Graydon Hoare <graydon@redhat.com>
1981 * javax/swing/text/SimpleAttributeSet.java: New file.
1982 * javax/swing/text/StyleConstants.java: New file.
1983 * javax/swing/text/StyleContext.java: New file.
1984 * javax/swing/text/TabSet.java: New file.
1985 * javax/swing/text/TabStop.java: New file.
1986 * javax/swing/text/AbstactDocument.java:
1987 (AbstractElement): Implement attribute support.
1988 * javax/swing/text/AttributeSet.java
1989 (NameAttribute): New static field.
1990 (ResolveAttribute): New static field.
1991 * Makefile.am: Update for new files.
1992 * Makefile.in: Regenerate.
1994 2004-08-31 Craig Black <craig.black@aonix.com>
1996 * gnu/java/awt/peer/gtk/GdkGraphics.java
1997 (drawImage): Add support for scaling pixmaps.
1998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1999 (copyAndScalePixmap): New native method.
2001 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2004 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2005 type-punning compiler warnings using unions.
2006 (throw): Replace bzero with memset.
2008 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2009 Thomas Fitzsimmons <fitzsim@redhat.com>
2011 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2012 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2013 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2015 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2017 2004-08-31 Mark Wielaard <mark@klomp.org>
2019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2020 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2021 and stdlib.h, not gtkpeer.h.
2022 (*vm): New static variable.
2023 (areaPreparedID): Make static.
2024 (areaUpdatedID): Likewise.
2025 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2026 (area_prepared): Likewise.
2027 (area_updated): Likewise.
2029 (initStaticState): Initialize *vm javaVM.
2030 (pumpBytes): Use given env, not global gdk_env.
2032 2004-08-31 Mark Wielaard <mark@klomp.org>
2034 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2037 2004-08-31 Sven de Marothy <sven@physto.se>
2039 * java/awt/geom/CubicCurve2D.java: Reindent.
2040 (contains): Implemented.
2041 (intersects): Implemented.
2042 * java/awt/geom/QuadCurve2D.java: Likewise.
2043 * java/awt/geom/GeneralPath.java: Reindent and document.
2044 Fully (re)implemented using separate xpoints and ypoints
2046 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2048 2004-08-31 Michael Koch <konqueror@gmx.de>
2050 * javax/swing/JMenuItem.java
2051 (getMenuDragMouseListeners): New method.
2052 (getMenuKeyListeners): Likewise.
2054 2004-08-31 Michael Koch <konqueror@gmx.de>
2056 * javax/swing/AbstractButton.java
2057 (model): Made protected.
2058 (actionListener): Likewise.
2059 (changeListener): Likewise.
2060 (itemListener): Likewise.
2061 (multiClickThreshhold): New field.
2062 (getActionListeners): New method.
2063 (getChangeListeners): Likewise.
2064 (getItemListeners): Likewise.
2065 (fireItemStateChanged): Simplified implementation.
2066 (fireActionPerformed): Likewise.
2067 (fireStateChanged): Likewise.
2068 (getMultiClickThreshhold): New method.
2069 (setMultiClickThreshhold): Likewise.
2071 2004-08-31 Tom Tromey <tromey@redhat.com>
2073 * java/awt/image/Kernel.java (clone): Use super.clone().
2075 2004-08-31 David Jee <djee@redhat.com>
2078 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2079 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2080 (nativeSetIconImageFromData): New native method declaration.
2081 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2082 * gnu/java/awt/peer/gtk/GtkImage.java
2083 (getPixelCache): New method.
2084 (getColorModel): New method.
2085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2086 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2087 (free_pixbuf_data): New helper function.
2088 (nativeSetIconImageFromData): New function.
2090 2004-08-31 Graydon Hoare <graydon@redhat.com>
2093 * javax/swing/JLayeredPane.java
2094 (setLayer): Permit changing layer after addition.
2095 (setPosition): Permit over-length positions.
2096 (layerToRange): Compare intValue()s.
2097 * javax/swing/Box.java (createHorizontalBox): Implement.
2098 (createRigidArea): Likewise.
2099 (createVerticalBox): Likewise.
2101 2004-08-31 Kim Ho <kho@redhat.com>
2103 * java/awt/Component.java:
2104 (processMouseEvent): Consume event after
2105 listeners process it.
2106 (processMouseMotionEvent): ditto.
2107 (processMouseWheelEvent): ditto.
2108 * java/awt/Container.java:
2109 (acquireComponentForMouseEvent):
2110 Do not dispatch to events that have been
2111 removed from the Container.
2112 (handleEvent): Consume the MouseEvents.
2113 * javax/swing/RepaintManager.java:
2114 (paintDirtyRegions): Do not add to list of
2115 damaged areas if the component has no root.
2117 2004-08-31 Michael Koch <konqueror@gmx.de>
2119 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2121 2004-08-31 Mark Wielaard <mark@klomp.org>
2123 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2124 null when a MissingResourceException is thrown. Should never happen.
2126 2004-08-31 Mark Wielaard <mark@klomp.org>
2128 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2129 when argument is null.
2131 2004-08-31 Mark Wielaard <mark@klomp.org>
2133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2134 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2135 Define hid at start of function.
2136 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2139 2004-08-31 Mark Wielaard <mark@klomp.org>
2141 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2142 * javax/swing/JButton.java: Reindent.
2143 * javax/swing/JCheckBox.java: Reindent.
2145 2004-08-31 Mark Wielaard <mark@klomp.org>
2147 * Makefile.am (gtk_c_source_files): Added
2148 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2149 (gtk_awt_peer_sources): Added
2150 gnu/java/awt/peer/gtk/GThreadMutex.java and
2151 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2152 * Makefile.in: Regenerated.
2154 2004-08-31 Archie Cobbs <archie@dellroad.org>
2156 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2158 2004-08-31 Steven Augart <augart@watson.ibm.com>
2160 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2161 Added jfieldID, jmethodID.
2163 2004-08-31 Mark Wielaard <mark@klomp.org>
2165 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2166 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2167 gdk_env before calling any gdk or gtk function.
2169 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2170 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2171 (run): Set gtkInitCalled.
2173 2004-08-31 Steven Augart <augart@watson.ibm.com>
2175 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2176 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2179 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2180 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2182 (init_glib_threads): New function.
2184 2004-08-31 Mark Wielaard <mark@klomp.org>
2186 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2187 PRIORITY when not already defined in header file.
2189 2004-08-31 Mark Wielaard <mark@klomp.org>
2191 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2192 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2194 2004-08-31 Steven Augart <augart@watson.ibm.com>
2196 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2197 Implemented missing functions for GTK2.
2198 Added error handling.
2199 Renamed static functions out of the g_ namespace.
2200 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2201 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2202 Rewrote global-reference code.
2203 Eliminated cascading errors.
2204 (mutex_trylock_jni_impl) Fully implemented.
2205 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2207 (setup_cache) New function.
2208 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2209 bug where they were not unlocking the GMutex associated with the
2210 condition variable during the wait on that condition variable.
2212 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2213 native/jni/gtk-peer/gthread-jni.c,
2214 native/jni/gtk-peer/gthread-jni.h
2215 (g_thread_jni_functions): Renamed to ...
2216 (portable_native_sync_jni_functions): this name.
2217 (gdk_vm): Renamed to...
2218 (the_vm): this name.
2220 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2221 (gdk_vm): Removed duplicate definition.
2222 (gtkInit): Removed stray message to stdout.
2223 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2224 (gtkInit): Fix a const assignment bug.
2225 (gtkInit): Simplified code.
2227 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2228 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2229 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2230 gnu/java/awt/peer/gtk/GThreadMutex.java:
2233 2004-08-31 Mark Wielaard <mark@klomp.org>
2235 * javax/swing/Box.java: Put FIXME comment above class declaration.
2236 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2237 * javax/swing/JCheckBox.java: Likewise.
2238 * javax/swing/JDialog.java: Likewise.
2239 * javax/swing/JRadioButton.java: Likewise.
2240 * javax/swing/JToggleButton.java: Likewise.
2241 * javax/swing/UIManager.java: Likewise.
2242 * javax/swing/border/TitledBorder.java: Likewise.
2243 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2244 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2245 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2246 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2247 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2248 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2249 * javax/swing/text/JTextComponent.java: Likewise.
2251 2004-08-31 David Jee <djee@redhat.com>
2254 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2255 (setIconImage): Add a FIXME for unhandled cases.
2257 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2260 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2261 getModifiers. Replace old button masks with new ones.
2262 * gnu/awt/xlib/XEventLoop.java: Likewise.
2263 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2264 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2265 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2266 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2267 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2268 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2269 * java/awt/Component.java: Replace old modifier masks with new
2271 * java/awt/Container.java: Call getModifiersEx, not
2273 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2275 * javax/swing/JMenuItem.java: Replace old button masks with new
2277 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2279 * javax/swing/SwingUtilities.java: Likewise.
2280 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2281 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2282 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2283 mask macros with new ones.
2284 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2285 macros with new ones representing new masks.
2287 2004-08-31 Craig Black <craig.black@aonix.com>
2289 * gnu/java/awt/peer/gtk/GdkGraphics.java
2290 (drawRoundRect): Implemented.
2291 (fillRoundRect): Implemented.
2292 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2293 (drawRoundRect): Reimplemented to match GdkGraphics.
2294 (fillRoundRect): Reimplemented to match GdkGraphics.
2296 2004-08-31 Mark Wielaard <mark@klomp.org>
2298 * Makefile.in: Regenerated.
2300 2004-08-31 Michael Koch <konqueror@gmx.de>
2302 * gnu/java/awt/EmbeddedWindow.java
2303 (addNotify): Use AccessController to allow execution of privileged
2306 2004-08-31 Michael Koch <konqueror@gmx.de>
2308 * gnu/java/awt/EmbeddedWindow.java
2310 (addNotify): Set peer via reflection.
2311 (setWindowPeer): Removed.
2312 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2313 * Makefile.am (nat_source_files):
2314 Removed gnu/java/awt/natEmbeddedWindow.cc.
2316 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2318 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2319 and gnu/java/security/action/SetAccessibleAction.java.
2321 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2323 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2324 Renamed from 'setName'. New 2-argument form with default value.
2325 (run): Pass default 'value' parameter to System.getProperty().
2326 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2329 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2331 * gnu/java/security/action/GetPropertyAction.java: New class.
2332 * gnu/java/security/action/SetAccessibleAction.java: New class.
2334 2004-08-31 David Jee <djee@redhat.com>
2336 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2337 (setIconImage): Check if image is null.
2339 2004-08-31 David Jee <djee@redhat.com>
2341 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2342 (create): Set the icon image.
2343 (nativeSetIconImage): New native method declaration.
2344 (setIconImage): Implement.
2345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2346 (nativeSetIconImage): New function.
2348 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2350 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2351 (filenameFilterCallback): Declare local variable accepted before use.
2353 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2355 * gnu/java/awt/ComponentDataBlitOp.java:
2358 2004-08-31 Tom Tromey <tromey@redhat.com>
2360 * gnu/java/awt/peer/GLightweightPeer.java,
2361 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2362 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2363 javax/swing/JScrollPane.java: Removed
2366 2004-08-31 David Jee <djee@redhat.com>
2368 * java/awt/DefaultKeyboardFocusManager.java
2369 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2370 event. Fix shift modifier checking.
2371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2372 (accel_attach): Remove.
2373 (setupAccelGroup): Remove calls to accel_attach.
2375 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2377 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2378 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2380 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2382 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2383 * Makefile.in: Regenerate.
2384 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2385 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2386 (create(String)): New method.
2387 (create): Call new create method.
2388 (getArgs): Remove method.
2389 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2390 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2391 (nativeCreate): Rename to create.
2392 (gtkSetLabel): Rename to gtkButtonSetLabel.
2393 (gtkToggleButtonSetActive): New method.
2394 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2395 (setState): Replace set call with gtkToggleButtonSetActive.
2396 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2397 (getArgs): Remove method.
2398 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2399 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2400 (gtkWidgetSetSensitive): New method.
2401 (gtkWidgetSetParent): Likewise.
2402 (GtkComponentPeer): Call setParent, setComponentBounds and
2403 setVisibleAndEnabled.
2404 (setParent): New method.
2405 (setComponentBounds): New method.
2406 (setVisibleAndEnabled): New method.
2407 (setEnabled): Call gtkWidgetSetSensitive.
2408 (getArgs): Remove method.
2409 Remove all set methods.
2410 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2411 gtkWindowSetModal, setTitle and setResizable.
2412 (getArgs): Remove method.
2413 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2414 (setComponentBounds): New method.
2415 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2416 Replace set call with gtkWindowSetResizable.
2417 (getArgs): Remove method.
2418 (create): Call setTitle and setResizable.
2419 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2420 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2421 (gtkWindowSetTitle): New method.
2422 (gtkWindowSetResizable): New method.
2423 (gtkWindowSetModal): New method.
2424 (setParent): New method.
2425 (setVisibleAndEnabled): New method.
2426 (getArgs): Remove method.
2427 (setTitle): Call gtkWindowSetTitle.
2428 (setResizable): Call gtkWindowSetResizable.
2429 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2430 and off locking instrumentation.
2432 2004-08-31 Kim Ho <kho@redhat.com>
2434 * Makefile.am: Add new file.
2435 * Makefile.in: Regenerate.
2436 * gcj/Makefile.in: Regenerate
2437 * include/Makefile.in:
2438 * java/awt/Container.java:
2439 (acquireComponentForMouseEvent): Respect
2440 the event mask when looking for candidate.
2441 * javax/swing/JComponent.java:
2442 Remove toolTip field.
2443 (createToolTip): Create a tooltip on demand.
2444 (setToolTipText): Register with the ToolTipManager.
2445 (getToolTipText(MouseEvent)): Return getToolTipText().
2446 * javax/swing/JToolTip.java: Implement.
2447 * javax/swing/Timer.java: Jalopy.
2448 (restart): Call stop, then start.
2449 (stop): Interrupt the timer rather than wait for
2450 the timer to come to a stop naturally.
2451 * javax/swing/ToolTipManager.java: Implement.
2452 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2453 Change ToolTip.background color.
2454 * javax/swing/plaf/basic/BasicToolTipUI.java:
2456 * testsuite/Makefile.in: Regenerate
2458 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2460 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2461 constructor param comments.
2463 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2465 * java/awt/Component.java: Document AWT 1.0 event handler
2468 2004-08-31 Roman Kennke <roman@ontographics.com>
2470 * javax/swing/Box.java:
2471 (createGlue): Implemented
2472 (createHorizontalGlue): Implemented
2473 (createHorizontalStrut): Implemented
2474 (createVerticalGlue): Implemented
2475 (createVerticalStrut): Implemented
2477 2004-08-31 David Jee <djee@redhat.com>
2479 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2480 (GtkChoicePeer): Do not automatically select first item.
2481 (getHistory): Remove.
2482 (nativeGetSelected): New method.
2483 (nativeRemoveAll): New method.
2484 (add): Use nativeGetSelected() instead of getHistory().
2486 (removeAll): Call nativeRemoveAll().
2487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2488 (create): Migrate to GtkComboBox.
2490 (nativeAdd): Likewise.
2491 (nativeRemove): Likewise.
2493 (nativeRemoveAll): New method.
2494 (nativeGetSelected): New method.
2495 (selection_changed): New method.
2496 (getHistory): Remove.
2497 (item_activate): Remove.
2498 (item_removed): Remove.
2499 (connect_choice_item_selectable_hook): Remove.
2501 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2503 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2504 variable in setEditable call.
2506 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2507 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2508 (gtkWidgetSetBackground): New method.
2509 (gtkWidgetSetForeground): Likewise.
2510 (create): Set peer's editable state based on awtComponent's.
2512 * java/awt/Button.java (Button()): Use empty string rather than
2513 null in no-label constructor.
2515 2004-08-31 Roman Kennke <roman@ontographics.com>
2517 * javax/swing/BoxLayout.java: Reimplement.
2519 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2521 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2522 gnu_java_awt_peer_gtk_GdkGraphics.c
2523 (initState(GtkComponentPeer)): Don't return array of colour
2525 (GdkGraphics(int,int)): Set default font to size 12.
2526 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2527 component's foreground colour.
2528 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2529 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2530 (initState(GtkComponentPeer)): Don't return array of colour
2532 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2533 colours to component's colours.
2534 (current_colors_of_widget): Remove function.
2535 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2536 Return a new graphics object.
2537 * java/awt/Font.java (toString): Fix format.
2538 * java/awt/Graphics.java (toString): Likewise.
2540 2004-08-31 Craig Black <craig.black@aonix.com>
2542 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2543 (addTearOff): New function.
2544 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2546 (init): Call addTearOff() when menu.isTearOff().
2548 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2550 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2551 Default implementation.
2552 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2553 Implement using GdkPixbufDecoder.
2555 2004-08-31 David Jee <djee@redhat.com>
2557 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2558 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2559 setting the size of GtkFileDialogPeers.
2560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2561 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2562 use their default sizes rather than their natural requisitions.
2564 2004-08-31 Michael Koch <konqueror@gmx.de>
2566 * javax/swing/JFormattedTextField.java
2567 (JFormattedTextField): Implemented.
2568 * javax/swing/text/DefaultEditorKit.java
2569 (BeepAction): New inner class.
2570 * javax/swing/text/Segment.java
2571 (partialReturn): New field.
2572 (setPartialReturn): New method.
2573 (isPartialReturn): Likewise.
2574 * javax/swing/text/View.java
2575 (createFragment): Fixed typo.
2576 (getStartOffset): New method.
2577 (getEndOffset): Likewise.
2579 2004-08-31 Michael Koch <konqueror@gmx.de>
2581 * javax/swing/table/DefaultTableColumnModel.java
2582 (serialVersionUID): Made private.
2583 (listenerList): Initialize.
2584 (changeEvent): Initialize.
2585 * javax/swing/table/JTableHeader.java
2586 (JTableHeader): New constructors.
2587 (createDefaultColumnModel): New method.
2588 * javax/swing/table/TableColumn.java
2589 (setHeaderRenderer): Simplified code.
2590 (setCellRenderer): Likewise.
2591 (setWidth): Likewise.
2593 2004-08-31 Tom Tromey <tromey@redhat.com>
2595 * java/text/AttributedString.java (AttributedString): Use
2596 ArrayList to build array of attribute ranges. Don't use
2597 `attribs' before it is set.
2599 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2601 * HACKING: Remove reference to special automake. No longer needed.
2603 2004-08-30 Tom Tromey <tromey@redhat.com>
2605 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2606 return result from `add'.
2608 2004-08-30 Tom Tromey <tromey@redhat.com>
2610 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2612 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2614 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2616 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2618 * java/io/File.java File(String,String): Fixed handling of empty
2621 2004-08-30 Casey Marshall <csm@gnu.org>
2623 Author e-mail updated for all files.
2624 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2626 (compareTo): Use `equals'.
2627 * gnu/java/security/der/BitString.java (equals): Test if the
2628 argument is an instance of BitString.
2629 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2630 class final. Made fields private.
2631 (<init>): New constructor.
2633 (makeString): Made static; don't use NIO.
2634 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2635 * gnu/java/security/der/DERWriter.java: Fixed imports.
2636 (writeString): Don't use NIO.
2637 (toIso88591, toUtf16Be, toUtf8): New methods.
2638 * gnu/java/security/der/DERValue.java: Formatting changes only.
2639 * gnu/java/security/der/DER.java: Likewise.
2641 2004-08-30 Tom Tromey <tromey@redhat.com>
2643 * java/nio/CharBuffer.java (put): Fix typo.
2644 * java/nio/DoubleBuffer.java (put): Fix typo.
2645 * java/nio/FloatBuffer.java (put): Fix typo.
2646 * java/nio/IntBuffer.java (put): Fix typo.
2647 * java/nio/LongBuffer.java (put): Fix typo.
2648 * java/nio/ShortBuffer.java (put): Fix typo.
2650 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2652 * java/nio/ByteBuffer.java (put): Fix typo.
2654 2004-08-30 Casey Marshall <csm@gnu.org>
2656 * java/security/DummyKeyPairGenerator.java (clone): Removed
2657 useless instanceof check.
2658 * java/security/DummyMessageDigest.java (clone): Likewise.
2659 * java/security/DummySignature.java (clone): Likewise.
2660 * java/security/MessageDigest.java (clone): Remove useless
2662 * java/security/MessageDigestSpi.java (clone): Likewise.
2663 * java/security/Signature.java (clone): Provide meaningful
2665 * java/security/SignatureSpi.java (clone): Likewise.
2667 2004-08-29 Mark Wielaard <mark@klomp.org>
2669 * java/util/Arrays.java
2670 (sort(byte[], int, int)): Check fromIndex < 0.
2671 (sort(char[], int, int)): Likewise.
2672 (sort(short[], int, int)): Likewise.
2673 (sort(int[], int, int)): Likewise.
2674 (sort(long[], int, int)): Likewise.
2675 (sort(float[], int, int)): Likewise.
2676 (sort(double[], int, int)): Likewise.
2677 (sort(Object[], int, int, Comparator)): Likewise.
2678 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2679 (qsort(char[], int, int)): Likewise.
2680 (qsort(short[], int, int)): Likewise.
2681 (qsort(int[], int, int)): Likewise.
2682 (qsort(long[], int, int)): Likewise.
2683 (qsort(float[], int, int)): Likewise.
2684 (qsort(double[], int, int)): Likewise.
2686 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2688 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2689 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2690 java/util/ArrayList.java, java/util/Arrays.java,
2691 java/util/BitSet.java, java/util/Calendar.java,
2692 java/util/Collection.java, java/util/ListIterator.java,
2693 java/util/Map.java, java/util/SortedSet.java:
2694 Added additional exceptions to documentation, along
2695 with some additions and corrections.
2697 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2699 * configure.ac: Handle --enable-gc-debug.
2700 * configure: Regenerate.
2701 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2702 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2703 Rearrange include file order.
2704 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2705 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2706 (disable_gc_mutex): Delete along with all references.
2707 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2708 adjust for debug header size.
2709 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2711 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2712 (gcj_describe_type_fn): New.
2713 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2714 Register gcj_describe_type_fn.
2715 * include/boehm-gc.h:
2716 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2717 Don't define, but declare, for debug case.
2718 * java/lang/natObject.cc:
2719 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2721 2004-08-26 Mark Wielaard <mark@klomp.org>
2723 Fixes PR libgcj/17002:
2724 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2725 a TimeZoneId string and then try to convert that to a TimeZone with
2726 getDefaultSystemTimeZone(String).
2727 (timezones0): Changed type from Hashtable to HashMap.
2728 (timezones): Create HashMap, not Hashtable.
2729 (getDefaultTimeZone): New method, rewritten from CNI version.
2730 (readTimeZoneFile): New method.
2731 (readtzFile): Likewise.
2732 (skipFully): Likewise.
2733 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2734 getDefaultTimeZoneId and rewritten.
2735 (getDefaultTimeZoneId): Rewritten in java.
2737 2004-08-25 David Daney <daney@avtrex.com>
2739 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2740 * Makefile.in: Regenerated.
2742 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2744 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2745 only if jvmpi is enabled.
2746 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2747 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2748 (_Jv_AllocString): Likewise.
2749 (_Jv_AllocPtrFreeObject): Likewise.
2751 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2753 * defineclass.cc: Include <stdio.h>.
2754 * java/lang/natClassLoader.cc: Include <stdio.h>.
2756 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2757 Michael Koch <konqueror@gmx.de>
2759 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2760 * Makefile.in: Regenerated.
2762 2004-08-20 Michael Koch <konqueror@gmx.de>
2764 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2765 AC_COMPILE_IFELSE macros.
2767 2004-08-20 Michael Koch <konqueror@gmx.de>
2769 * configure.in: Renamed to configure.ac.
2770 * configure.ac: New file.
2771 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2772 include/config.h.in, testsuite/Makefile.in: Regenerated.
2774 2004-08-20 Michael Koch <konqueror@gmx.de>
2776 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2777 * aclocal.m4, configure: Regenerated.
2779 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2780 Michael Koch <konqueror@gmx.de>
2782 * configure.in, Makefile.am: Ported to automake 1.9.
2783 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2784 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2787 2004-08-19 Tom Tromey <tromey@redhat.com>
2789 * java/net/DatagramSocket.java: Fixed typo.
2791 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2794 * java/net/URI.java (string): New field. Make all other fields
2796 (readObject): Implemented.
2797 (writeObject): Implemented.
2798 (URI): Set 'string'.
2800 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2803 * java/util/logging/Handler.java (isLoggable): Accept record if its
2804 log level equals the threshold level. From Robin Green.
2806 2004-08-18 David Daney <ddaney@avtrex.com>
2808 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2811 2004-08-17 Michael Koch <konqueror@gmx.de>
2813 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2814 * Makefile.in: Regenerated.
2816 2004-08-16 Tom Tromey <tromey@redhat.com>
2819 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2821 2004-08-16 Michael Koch <konqueror@gmx.de>
2824 (math_c_files): Renamed from c_files.
2825 (math_c_source_files): Renamed from c_source_files.
2828 include/Makefile.in,
2829 testsuite/Makefile.in: Regenerated.
2831 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2833 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2834 to avoid autoconf warning.
2835 * configure: Rebuilt.
2837 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2839 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2840 localhostAddress to loopbackAddress.
2841 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2843 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2845 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2846 boehm-gc's include dirs.
2847 * configure: Rebuilt.
2848 * include/boehm-gc.h: Include gc_config.h.
2850 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2852 * java/net/InetAddress.java (loopbackAddress): Renamed from
2854 (getByName): Return loopback address for null hostname, without
2855 security check. Use lookup(), not getAllByName.
2856 (getAllByName): Return loopback address for null hostname, without
2858 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2861 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2864 Reported by Robin Green.
2865 * defineclass.cc (handleField): Don't throw exception on unrecognised
2866 modifier. Add FIXME comments for spec compliance.
2867 (handleMethod): Likewise.
2869 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2872 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2873 (Almost everywhere): add LOG calls, fix, add comments.
2874 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2875 Add explicit check for LOCKED bit in slow case (PR 16662).
2876 (_Jv_MonitorExit): Add casts in debug-only code.
2877 Always release LOCKED bit before throwing exception.
2878 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2879 isn't. Handle easy cases without lock acquisition.
2880 (Object::wait): Use NotifyAll for lock inflation.
2882 2004-08-12 David Daney <ddaney@avtrex.com>
2884 * testsuite/libjava.lang/Process_1.java: New test.
2885 * testsuite/libjava.lang/Process_2.java: New test.
2886 * testsuite/libjava.lang/Process_3.java: New test.
2887 * testsuite/libjava.lang/Process_4.java: New test.
2888 * testsuite/libjava.lang/Process_5.java: New test.
2889 * testsuite/libjava.lang/Process_6.java: New test.
2890 * testsuite/libjava.lang/Process_1.out: Expected result.
2891 * testsuite/libjava.lang/Process_2.out: Expected result.
2892 * testsuite/libjava.lang/Process_3.out: Expected result.
2893 * testsuite/libjava.lang/Process_4.out: Expected result.
2894 * testsuite/libjava.lang/Process_5.out: Expected result.
2895 * testsuite/libjava.lang/Process_6.out: Expected result.
2897 2004-08-12 David Daney <ddaney@avtrex.com>
2900 * java/lang/PosixProcess.java: Rewrote.
2901 * java/lang/natPosixProcess.cc: Rewrote.
2902 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2903 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2904 * posix-threads.cc (block_sigchld) New function.
2905 (_Jv_ThreadRegister) Use it.
2906 (_Jv_ThreadStart) Use it.
2907 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2908 * Makefile.am: ... to specify extra native headers.
2909 * configure: Regenerated.
2910 * include/config.h: Regenerated.
2911 * Makefile.in: Regenerated.
2912 * gcj/Makefile.in: Regenerated.
2913 * include/Makefile.in: Regenerated.
2914 * testsuite/Makefile.in: Regenerated.
2916 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2918 PR tree-optimization/16867
2919 * testsuite/libjava.lang/PR16867.java: New test.
2921 2004-08-09 Per Bothner <per@bothner.com>
2923 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2924 with private fields and access methods.
2925 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2926 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2927 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2928 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2929 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2930 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2932 * resolve.cc: Likewise.
2933 * gcj/field.h: Likewise.
2934 * include/jvm.h: Likewise.
2935 * java/lang/Class.h: Likewise.
2936 * java/lang/natClass.cc: Likwise.
2937 * java/lang/natClassLoader.cc: Likewise
2938 * java/lang/reflect/natMethod.cc: Likewise
2939 * verify.cc: Likewise.
2940 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2941 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2943 2004-08-10 Andrew Haley <aph@redhat.com>
2945 * testsuite/libjava.lang/err14.java: New file.
2946 * testsuite/libjava.lang/err14.out: New file.
2948 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2950 * Makefile.am: Fix missing rename from x_nat_headers to
2952 * Makefile.in: Regenerated.
2954 2004-08-04 Andrew Haley <aph@redhat.com>
2956 * java/security/BasicPermission.java: Don't check wildcards.
2958 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2959 Michael Koch <konqueror@gmx.de>
2961 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2962 * configure.in: Replaced all usages of AC_LINK_FILES by
2965 configure: Regenerated.
2967 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2968 Michael Koch <konqueror@gmx.de>
2970 * acconfig.h: Removed.
2971 * Makefile.am: Rename variables for xlib peer to include xlib and
2972 gtk_c_headers to gtk_jni_headers.
2973 * Makefile.in: Regenerated.
2975 2004-08-04 Andrew Haley <aph@redhat.com>
2977 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2980 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2982 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2983 Replace most top level 'dnl' comments with '#' comments, conforming
2984 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2986 * configure: Rebuilt.
2988 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2990 * acinclude.m4: Include no-executables.m4.
2991 * aclocal.m4: Rebuild.
2992 * configure.in: Convert to the autoconf 2.59 version of
2993 of the no-executables hack, and also of the nonstandard CXX
2994 hack and the multilibbed CC and CXX hack. Change prerequisite
2996 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2997 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2998 testsuite/Makefile.in: Regenerate.
3000 2004-08-03 Tom Tromey <tromey@redhat.com>
3002 * jni.cc: Reindented.
3004 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3006 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3008 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3010 * testsuite/libjava.compile/PR16701.java: New test.
3012 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3014 * java/util/Collection.java, java/util/List.java,
3015 java/util/Map.java, java/util/Set.java,
3016 java/util/SortedMap.java, java/util/SortedSet.java:
3017 Added additional exceptions to documentation.
3019 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3022 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3023 * configure. Regenerate.
3024 * include/win32.h: Explicitly include winsock2.h
3025 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3028 2004-07-30 Michael Koch <konqueror@gmx.de>
3030 * java/util/zip/GZIPInputStream.java
3031 (GZIPInputStream): Increase buffer size to 4k.
3032 * java/util/zip/GZIPOutputStream.java
3033 (GZIPOutputStream): Likewise.
3034 * java/util/zip/Inflater.java
3035 (setInput): Merged formating with GNU classpath.
3036 * java/util/zip/InflaterInputStream.java
3037 (InflaterInputStream): Increase buffer size to 4k.
3038 (fill): Throw exception if stream ends early.
3039 (read): Merged endless-loop with GNU classpath.
3040 (skip): Increase buffer size to 2k.
3042 2004-07-30 Michael Koch <konqueror@gmx.de>
3044 * gnu/java/awt/EmbeddedWindow.java
3045 (addNotify): Use AccessController to allow execution of privileged
3048 2004-07-29 Michael Koch <konqueror@gmx.de>
3050 * gnu/java/lang/MainThread.java:
3051 Explicitely import used classes.
3052 (args): Make it type String[].
3054 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3056 * gnu/java/awt/ComponentDataBlitOp.java,
3057 gnu/java/beans/ExplicitBeanInfo.java,
3058 gnu/java/beans/IntrospectionIncubator.java,
3059 gnu/java/beans/editors/ColorEditor.java,
3060 gnu/java/beans/editors/FontEditor.java,
3061 gnu/java/beans/editors/NativeBooleanEditor.java,
3062 gnu/java/beans/editors/NativeByteEditor.java,
3063 gnu/java/beans/editors/NativeDoubleEditor.java,
3064 gnu/java/beans/editors/NativeFloatEditor.java,
3065 gnu/java/beans/editors/NativeIntEditor.java,
3066 gnu/java/beans/editors/NativeLongEditor.java,
3067 gnu/java/beans/editors/NativeShortEditor.java,
3068 gnu/java/beans/editors/StringEditor.java,
3069 gnu/java/io/ClassLoaderObjectInputStream.java,
3070 gnu/java/io/decode/Decoder.java,
3071 gnu/java/io/encode/Encoder.java,
3072 gnu/java/lang/ClassHelper.java,
3073 gnu/java/locale/Calendar.java,
3074 gnu/java/locale/Calendar_de.java,
3075 gnu/java/locale/Calendar_en.java,
3076 gnu/java/locale/Calendar_nl.java,
3077 gnu/java/locale/LocaleInformation_de.java,
3078 gnu/java/locale/LocaleInformation_en.java,
3079 gnu/java/locale/LocaleInformation_nl.java:
3082 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3084 * README: Remove obsolete info. Update bug URL.
3086 * NEWS: Updated with news up to GCC 3.4 release.
3088 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3090 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3091 Renamed from 'setName'. New 2-argument form with default value.
3092 (run): Pass default 'value' parameter to System.getProperty().
3093 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3095 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3098 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3100 * configure.in: Check for minimum GTK version 2.4 requirement.
3101 * configure: Rebuilt.
3103 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3105 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3106 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3108 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3110 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3111 address. Reduce sleep times. Synchronize with target threads before
3112 attempting to interrupt them. Don't try to calibrate yeild count,
3113 instead, always loop for a fixed time.
3114 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3115 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3116 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3117 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3118 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3119 * testsuite/libjava.lang/pr179.java: Likewise.
3120 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3121 time. Remove upper bounds check on sleep time.
3123 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3125 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3126 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3128 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3130 * java/io/File.java (toURI): Throw RuntimeException, not
3132 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3133 class name, not instance.
3135 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3137 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3138 and gnu/java/security/action/SetAccessibleAction.java.
3139 * Makefile.in: Rebuilt.
3141 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3143 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3144 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3146 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3147 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3148 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3150 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3152 * Makefile.am: Replace jar, rmic and rmiregistry references with
3153 gjar, grmic and grmiregistry.
3154 * configure.in: Likewise.
3155 * Makefile.in: Regenerate.
3156 * configure: Likewise.
3157 * gcj/Makefile.in: Likewise.
3158 * include/Makefile.in: Likewise.
3159 * testsuite/Makefile.in: Likewise.
3161 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3163 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3164 for privileged getProperty calls.
3165 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3166 SetAccessibleAction instead of anonymous class for doPrivileged call.
3167 (getMethod): Likewise.
3168 (setAccessible): New field. PrivilegedAction object to use when
3169 calling setAccessible.
3170 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3171 SetAccessibleAction instead of anonymous class for diPrivileged call.
3172 (setFields): Likewise.
3173 (getClassUID): Likewise.
3174 (findMethod): Likewise.
3175 * gnu/java/security/action/GetPropertyAction.java: New class.
3176 * gnu/java/security/action/SetAccessibleAction.java: New class.
3178 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3180 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3182 * testsuite/libjava.lang/Serialization.java: New test.
3183 * testsuite/libjava.lang/Serialization.out: New.
3185 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3187 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3188 missed in last commit.
3190 2004-07-23 Mark Wielaard <mark@klomp.org>
3192 * java/lang/System.java (static): Set http.agent system property when
3194 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3195 from system property inside AccessController.doPrivileged() call.
3196 (proxyPort): Made package private.
3197 (proxyInUse): Likewise.
3198 (proxyHost): Likewise.
3199 (userAgent): Likewise.
3201 2004-07-23 Mark Wielaard <mark@klomp.org>
3203 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3206 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3208 * Makefile.am (ordinary_java_source_files): Add
3209 DefaultContentHandlerFactory.java.
3210 * Makefile.in: Rebuilt.
3211 * java/net/URLConnection.java (defaultFactory): New field.
3213 (getContentHandler): Renamed from 'setContentHandler'. Try
3214 defaultFactory after user-set factory, if any. Search for content
3215 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3216 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3218 (getLastModified): Implemented.
3219 (getPermission): Create file permission here, instead of in
3221 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3223 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3225 (getLastModified): Implemented.
3226 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3227 Default implementation.
3228 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3229 Implement using GdkPixbufDecoder.
3231 2004-07-21 Michael Koch <konqueror@gmx.de>
3233 * javax/swing/JTextArea.java
3234 (setLineWrap): Fire property change event after new value is set.
3235 (setTabSize): Likewise.
3237 2004-07-21 Michael Koch <konqueror@gmx.de>
3239 * javax/swing/JTable.java
3240 (autoCreateColumnsFromModel): New field.
3241 (autoResizeMode): Likewise.
3242 (cellEditor): Likewise.
3243 (cellSelectionEnabled): Likewise.
3244 (columnModel): Likewise.
3245 (dataModel): Likewise.
3246 (defaultEditorsByColumnClass): Likewise.
3247 (defaultRenderersByColumnClass): Likewise.
3248 (editingColumn): Likewise.
3249 (editingRow): Likewise.
3250 (gridColor): Likewise.
3251 (preferredViewportSize): Likewise.
3252 (rowHeight): Likewise.
3253 (rowMargin): Likewise.
3254 (rowSelectionAllowed): Likewise.
3255 (selectionBackground): Likewise.
3256 (selectionForeground): Likewise.
3257 (selectionModel): Likewise.
3258 (showHorizontalLines): Likewise.
3259 (showVerticalLines): Likewise.
3260 (tableHeader): Likewise.
3261 (JTable): Implemented.
3262 (getColumnModel): Likewise.
3263 (getSelectedRow): Likewise.
3264 (getSelectionModel): Likewise.
3265 (setModel): Likewise.
3266 (setSelectionModel): Likewise.
3267 (createScrollPaneForTable): New method.
3268 (createDefaultDataModel): Likewise.
3269 (createDefaultListSelectionModel): Likewise.
3270 (getModel): Likewise.
3271 (getTableHeader): Likewise.
3272 (setTableHeader): Likewise.
3273 (getColumnSelectionAllowed): Likewise.
3274 (setColumnSelectionAllowed): Likewise.
3275 (getRowSelectionAllowed): Likewise.
3276 (setRowSelectionAllowed): Likewise.
3277 (getAutoResizeMode): Likewise.
3278 (setAutoResizeMode): Likewise.
3279 (getColumnCount): Likewise.
3280 (getRowCount): Likewise.
3281 (getCellRenderer): Likewise.
3282 * javax/swing/JTree.java
3283 (cellRenderer): New field.
3284 (editable): Likewise.
3285 (rootVisible): Likewise.
3286 (showsRootHandles): Likewise.
3287 (getModel): New method.
3288 (setModel): Likewise.
3289 (isEditable): Likewise.
3290 (setEditable): Likewise.
3291 (isRootVisbile): Likewise.
3292 (setRootVisible): Likewise.
3293 (getShowsRootHandles): Likewise.
3294 (setShowRootHandles): Likewise.
3295 (getCellRenderer): Likewise.
3296 (setCellRenderer): Likewise.
3298 2004-07-21 Michael Koch <konqueror@gmx.de>
3300 * javax/swing/JFormattedTextField.java
3301 (setDocument): Implemented.
3302 * javax/swing/JRootPane.java:
3304 * javax/swing/JTable.java
3305 (getDefaultRenderer): New method.
3306 * javax/swing/JTextField.java
3307 (setFont): Likewise.
3308 (getPreferredSize): Likewise.
3309 * javax/swing/JToggleButton.java
3310 (getAccessibleContext): Fix javadoc.
3311 * javax/swing/JTree.java:
3313 * javax/swing/JViewport.java:
3316 2004-07-21 David Jee <djee@redhat.com>
3318 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3319 Collect all native method declaration at the top.
3320 (create): Set the filename filter if necessary.
3321 (setDirectory): Call nativeSetDirectory().
3322 (setFilenameFilter): Implement.
3323 (filenameFilterCallback): New method.
3324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3325 (create): Configure dialog to show hidden files.
3326 (filenameFilterCallback): New function.
3327 (nativeSetFilenameFilter): New function.
3328 (nativeSetDirectory): New function.
3330 2004-07-21 Kim Ho <kho@redhat.com>
3332 * javax/swing/plaf/basic/BasicSliderUI.java:
3334 (paintTrack): Fill the track before painting
3337 2004-07-21 Graydon Hoare <graydon@redhat.com>
3339 patch from Roman Kennke <roman@ontographics.com>
3340 * javax/swing/Spring.java: New file.
3341 * javax/swing/SpringLayout.java: New file.
3342 * Makefile.am: Add new files.
3343 * Makefile.in: Regenerate.
3345 2004-07-21 Graydon Hoare <graydon@redhat.com>
3347 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3348 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3349 * javax/swing/ScrollPaneLayout.java: Likewise.
3351 2004-07-21 Kim Ho <kho@redhat.com>
3353 * javax/swing/DefaultDesktopManager.java:
3354 (findMinimum): Removed.
3355 (resizeFrame): Trust the UI to pass valid
3357 * javax/swing/JOptionPane.java:
3358 Implemented showInternalXXXDialog methods.
3359 (startModal): New method.
3360 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3361 (BorderListener::mouseDragged): Verify that the new
3362 bounds are valid before passing them to the DesktopManager.
3363 (preferredLayoutSize): Delegate
3365 (minimumLayoutSize): Ditto.
3366 (getSize): New method.
3367 (GlassPaneDispatcher): Reimplemented by copying
3368 a stripped down LightweightDispatcher from Container.
3369 (getMinimumSize): Call minimumLayoutSize.
3370 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3372 (mousePressed): Add ability to properly close
3374 * javax/swing/plaf/basic/BasicToolBarUI.java:
3375 (DragWindow): Set owner for DragWindow.
3377 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3379 * java/awt/image/ShortLookupTable.java: New file.
3380 * java/awt/image/ByteLookupTable.java: New file.
3381 * Makefile.am: Added new files.
3382 * Makefile.in: Regenerated.
3384 2004-07-21 David Jee <djee@redhat.com>
3386 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3387 (create(GtkContainerPeer)): New native method.
3388 (create()): Call native create(), passing in the parent frame
3389 as the paramter. Natively set the current file and directory.
3390 (setFile): Construct an absolute filename before passing it to
3392 (nativeGetDirectory): New method.
3393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3394 (window_closed): Removed.
3395 (ok_clicked): Likewise.
3396 (cancel_clicked): Likewise.
3397 (handle_response): New method.
3398 (create): Use GtkFileChooserDialog.
3399 (connectSignals): Connect to handle_response.
3400 (nativeGetDirectory): New method.
3401 (nativeSetFile): Use GtkFileChooserDialog.
3403 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3405 * java/awt/image/LookupTable.java: New file.
3406 * Makefile.am: Added new file.
3407 * Makefile.in: Regenerated.
3409 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3411 * java/awt/image/Kernel.java: New file.
3412 * Makefile.am: Added new file.
3413 * Makefile.in: Regenerated.
3415 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3417 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3418 * javax/swing/JMenu.java: Likewise.
3419 * javax/swing/JMenuBar.java: Likewise.
3420 (MARGIN_CHANGED_PROPERTY): New property.
3421 (setMargin): Implemented.
3422 * javax/swing/JMenuItem.java: Fixed javadocs.
3423 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3424 (LABEL_CHANGED_PROPERTY): New property.
3425 (add): changed to use createActionComponent.
3426 (createActionComponent): Implemented.
3427 (setLabel): Fire PropertyChangeEvent if label property
3429 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3430 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3431 (ContainerHandler): Repaint if margin property has changed.
3432 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3433 (installUI): Call installComponents().
3434 (uninstallUI): Call uinstallComponents().
3435 * javax/swing/plaf/basic/BasicMenuUI.java:
3437 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3440 2004-07-21 Kim Ho <kho@redhat.com>
3442 * javax/swing/plaf/basic/BasicToolBarUI.java:
3443 (DragWindow): Use the right constructor.
3445 2004-07-21 Kim Ho <kho@redhat.com>
3447 * javax/swing/JToolBar.java:
3448 (layoutContainer): Use getComponents.
3449 * javax/swing/plaf/basic/BasicToolBarUI.java:
3450 (DragWindow): Don't use SwingUtilities'
3452 (ToolBarDialog): ditto.
3454 2004-07-21 Kim Ho <kho@redhat.com>
3456 * javax/swing/JRootPane.java:
3458 (layoutContainer): Set the glasspane's size to
3459 be the same as the content pane.
3460 (createGlassPane): Set opaque property to false.
3462 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3464 * java/awt/Component.java (requestFocus()): Don't handle Panels
3466 (requestFocus(boolean)): Likewise.
3467 (requestFocusInWindow(boolean)): Likewise.
3468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3469 Set GTK_CAN_FOCUS flag.
3471 2004-07-21 Kim Ho <kho@redhat.com>
3473 * Makefile.am: Added new file.
3474 * Makefile.in: Regenerated.
3475 * gcj/Makefile.in: Regenerated.
3476 * include/Makefile.in: Regenerated.
3477 * javax/swing/AbstractButton.java:
3478 Add rollOverEnabled property.
3479 (setRolloverEnabled): Use new property.
3480 (isRolloverEnabled): Use new property.
3481 * javax/swing/JTabbedPane.java:
3482 (setComponent): Remove useless JTabbedPane.this.
3483 * javax/swing/JToolBar.java: Finish implementation.
3484 * javax/swing/plaf/basic/BasicArrowButton.java:
3485 (paint): Moved border painting to a border.
3486 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3487 Change JToolBar look and feel defaults.
3488 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3489 (actionPerformed): Return Integer index instead of name.
3490 (addButtonComponents): Check to see if component is
3492 (createMessageArea): Don't use components that are not
3494 (getIconForType): Use temporary icons.
3495 * javax/swing/plaf/basic/BasicSliderUI.java:
3496 (mousePressed): Do not return if it's on thumb.
3497 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3498 (paintMinorTickForVertSlider): ditto.
3499 (paintMajorTickForHorizSlider): ditto.
3500 (paintMajorTickForVertSlider): ditto.
3501 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3502 Add a border around the SplitPaneDivider.
3503 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3505 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3506 New file. Implemented.
3507 * javax/swing/plaf/basic/BasicToolBarUI.java:
3509 * testsuite/Makefile.in: Regenerated.
3511 2004-07-21 Graydon Hoare <graydon@redhat.com>
3513 * javax/swing/Timer.java (run): Queue events each time cycle.
3515 2004-07-21 David Jee <djee@redhat.com>
3517 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3518 (imageComplete): Call image.imageComplete().
3519 * java/awt/image/MemoryImageSource.java:
3520 Reimplement consumers as a Vector instead of a Hashtable. This is
3521 because enumeration on a Hashtable is not thread-safe.
3522 (addConsumer): Adapt to Vector consumers.
3523 (isConsumer): Adapt to Vector consumers.
3524 (removeConsumer): Adapt to Vector consumers.
3525 (startProduction): Adapt to Vector consumers. Call imageComplete()
3526 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3527 (newPixels): Adapt to Vector consumers.
3528 (sendPicture): Set the color model of the image consumer.
3529 (newPixels(IIII)): Adapt to Vector consumers.
3530 (newPixels(IIIIB)): Adapt to Vector consumers.
3532 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3534 * java/awt/Component.java (deliverEvent): Implement.
3535 (postEvent): Implement.
3536 (handleEvent): Implement.
3537 (translateEvent): New method.
3538 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3539 * java/awt/Container.java (deliverEvent): Implement.
3540 * java/awt/Event.java (paramString): Fix formatting.
3541 * java/awt/Font.java (toString): Likewise.
3542 * java/awt/Window.java (postEvent): Implement.
3544 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3546 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3547 Set window's focus owner upon receiving a FOCUS_LOST event.
3548 * java/awt/Window.java (Window()): Refocus the previously
3549 focused component within the window when the window regains the
3551 (setFocusOwner): New method.
3552 * java/awt/Component.java (requestFocus): Add FIXME.
3554 * libgcj.pc.in: Remove library flags.
3556 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3558 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3559 MOUSE_PRESSED event.
3560 * java/awt/Component.java (requestFocus()): Handle Panel
3561 specially. Post FOCUS_LOST event on opposite component.
3562 (requestFocus(boolean)): Likewise.
3563 (requestFocusInWindow(boolean)): Likewise.
3564 (paramString): Reorder dimension fields.
3565 * java/awt/Container.java (paramString): Fix string format.
3566 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3567 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3568 process key events if the focus owner is non-null.
3569 (dispatchKeyEvent): Likewise.
3570 * java/awt/Frame.java (paramString): Fix formatting.
3571 (generateName): New method.
3572 (getUniqueLong): Likewise.
3573 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3574 the temporary focus owner is null. If so, return the permanent
3576 * java/awt/Panel.java (generateName): New method.
3577 (getUniqueLong): Likewise.
3578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3579 signal handling to make callbacks more specific.
3581 2004-07-21 Michael Koch <konqueror@gmx.de>
3583 * javax/swing/text/Position.java
3584 (Bias): Implemented.
3586 2004-07-21 Michael Koch <konqueror@gmx.de>
3588 * javax/swing/LookAndFeel.java
3589 (provideErrorFeedback): New method.
3591 2004-07-21 Michael Koch <konqueror@gmx.de>
3593 * javax/swing/JTextArea.java
3594 (tabSize): New field.
3595 (getTabSize): New method.
3596 (setTabSize): Likewise.
3598 2004-07-21 Michael Koch <konqueror@gmx.de>
3600 * javax/swing/ActionMap.java:
3601 Fixed javadocs all over.
3602 (serialVersionUID): Made private.
3603 (parent): Don't explicitely initialize with default value.
3605 (keys): Reimplemented.
3606 (allKeys): Likewise.
3607 (convertSet): Removed.
3608 * javax/swing/ComponentInputMap.java:
3609 Fixed javadocs all over.
3610 (ComponentInputMap): Implemented.
3614 (SetParent): Likewise.
3615 (getComponent): Likewise.
3616 * javax/swing/InputMap.java:
3617 Fixed javadocs all over.
3618 (serialVersionUID): Made private.
3619 (parent): Don't explicitely initialize with default value.
3621 (keys): Reimplemented.
3622 (allKeys): Likewise.
3623 (convertSet): Removed.
3625 2004-07-21 Michael Koch <konqueror@gmx.de>
3627 * javax/swing/ActionMap.java,
3628 javax/swing/ComponentInputMap.java,
3629 javax/swing/InputMap.java,
3630 javax/swing/table/DefaultTableColumnModel.java,
3631 javax/swing/table/TableColumn.java,
3632 javax/swing/table/TableColumnModel.java,
3633 javax/swing/table/TableModel.java,
3634 javax/swing/text/AbstractDocument.java,
3635 javax/swing/text/TextAction.java:
3638 2004-07-21 Graydon Hoare <graydon@redhat.com>
3640 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3641 Make method non-static.
3642 * javax/swing/AbstractButton.java:
3643 Rename fields to match property names where possible.
3644 (iconTextGap): New property.
3645 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3646 (init) New method, call from after various constructors.
3647 * javax/swing/JComponent.java (revalidate):
3648 Invalidate before queueing repair.
3649 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3650 Reimplement in terms of visibleRowCount property.
3651 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3652 * javax/swing/JScrollPane.java (createScrollListener):
3653 Remove tracing chatter.
3654 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3655 * javax/swing/RepaintManager.java (addInvalidComponent):
3657 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3659 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3660 Mimic sun behavior on top left/right positioning.
3661 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3662 Remove mistaken use of preferredScrollableViewportSize here.
3663 (layoutContainer): Use view's preferred size as basis.
3664 * javax/swing/plaf/basic/BasicButtonUI.java:
3665 Set, get, and use textIconGap property.
3666 (paint) Paint text returned from layout (with ellipsis).
3667 * javax/swing/plaf/basic/BasicListUI.java:
3668 Remove tracing chatter, correct various minor calculations.
3669 (getCellBounds): Update layout state before calculating.
3670 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3671 Use margin default similar to sun's.
3672 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3673 (createIncreaseIcon): Center icon, minimize margins.
3674 (createDecreaseIcon): Likewise.
3675 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3677 (installUI): Call it.
3678 (uninstallDefaults): Implement.
3679 (uninstallUI): Call it.
3680 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3681 Call existing Window constructor.
3682 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3683 Set clip before painting.
3685 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3687 * javax/swing/JMenuItem.java:
3688 (processMouseEvent): Reimplemented to deal with
3690 (createMenuDragMouseEvent): New private helper method.
3691 Creates MenuDragMouseEvent.
3692 * javax/swing/MenuSelectionManager.java
3693 (componentForPoint): Implemented.
3694 (isComponentPartOfCurrentMenu): Made public.
3695 (processMouseEvent): Reimplemented to deal with
3697 (setSelectedPath): Corrected small mistake that caused
3698 path to be set incorrectly.
3699 (getPath): If given component is JMenu then also add this
3700 menu's popup menu to the selected path.
3701 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3703 (getPreferredSize): Call getPreferredMenuItemSize().
3704 (getPreferredItemSize): Moved code from getPreferredSize to here.
3705 (installListeners): Install MouseMotionListeners.
3706 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3707 if mouse wasn't released in the bounds of this menu item.
3708 (MenuDragMouseHandler): Implemented.
3709 * javax/swing/plaf/basic/BasicMenuUI.java:
3710 (installListeners): Install MouseMotionListener and
3711 MenuDrageMouseListener.
3712 (MenuDragMouseHandler): Implemented.
3713 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3714 (uninstallListeners): Implemented.
3716 2004-07-21 Michael Koch <konqueror@gmx.de>
3718 * javax/swing/JCheckBox.java: Reformated.
3719 (JCheckBox): Fixed all constructors.
3720 (isBorderPaintedFlat): New method.
3721 (setBorderPaintedFlat): New method.
3722 * javax/swing/JEditorPane.java
3723 (createEditorKitForContentType): Made public.
3724 (scrollToReference): Likewise.
3725 * javax/swing/JTextArea.java
3726 (setLineWrap): Fire property change.
3727 * javax/swing/JToggleButton.java
3728 (JToggleButton): New constructor.
3729 (JToggleButton): Simplified.
3730 * javax/swing/text/AttributeSet.java
3731 (FontAttribute): Renamed from FontCharacterAttribute.
3732 * javax/swing/text/JTextComponent.java
3733 (KeyBinBinding): Added javadoc.
3734 (JTextComponent): Likewise.
3735 (getAccessibleContext): Fixed javadoc.
3736 * javax/swing/text/View.java
3737 (View): Added javadoc.
3738 * javax/swing/text/TabableView.java: New file.
3739 * Makefile.am: Added javax/swing/text/TabableView.java.
3740 * Makefile.in: Regenerated.
3742 2004-07-21 Graydon Hoare <graydon@redhat.com>
3744 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3745 * gnu/java/awt/peer/gtk/GtkToolkit.java
3746 (GtkErrorImage): New helper class.
3747 (bufferedImageOrError): New helper method.
3748 (createImage): Use it.
3750 2004-07-21 David Jee <djee@redhat.com>
3752 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3753 (setCaretPosition): Scroll the text view so the new caret position
3754 is visible on screen.
3756 2004-07-21 David Jee <djee@redhat.com>
3758 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3759 (setBounds): Do not validate awtComponent here.
3760 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3761 (getPreferredSize): New method.
3762 * java/awt/ScrollPane.java
3763 (ScrollPane): Set default size to 100x100.
3764 (addNotify): If child is not a Panel, wrap it with a new Panel.
3765 (paramString): Implement.
3767 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3769 * javax/swing/JMenu.java:
3770 (setSelected): Display popup menu only if this menu
3771 is showing on the screen.
3772 * javax/swing/JPopupMenu.java:
3773 (processMouseEvent): Added comment.
3774 (processKeyEvent): Likewise.
3775 * javax/swing/MenuSelectionManager.java:
3776 (clearSelectedPath): Only fireStateChanged() after
3777 selected path was changed, not before.
3778 (setSelectedPath): Likewise.
3779 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3780 (paintMenuItem): Corrected position of menu item's
3782 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3783 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3784 (popupMenuCanceled): Reimplemented.
3785 (popupMenuWillBecomeVisible): Select first menu item by default
3786 when displaying free floating popup menus.
3787 (TopWindowListener): Reimplemented.
3789 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3791 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3792 Panel from being painted twice when it is first shown.
3794 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3796 * java/awt/Window.java: Reverted changes from my
3797 previous patch for creating window without an owner.
3798 * javax/swing/SwingUtilities.java:
3799 (SwingUtilities.OwnerFrame): made static.
3800 (OwnerFrame.setVisible): New method. Overridden with
3801 empty implementation.
3802 (OwnerFrame.isShowing): New method. Ovverridden
3803 to return always true.
3805 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3807 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3808 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3809 (GtkComponentPeer): Remove temporary try/catch block.
3810 (setVisible): Call show and hide.
3811 (show): Make native.
3813 (getArgs): Don't add "visible" argument.
3814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3815 (property_notify_predicate): Return Bool instead of int.
3816 (find_layout): New function.
3817 (connectJObject): Call find_layout.
3818 (connectSignals): Likewise.
3819 (moveLayout): Likewise.
3820 (gtkLayoutSetVisible): Likewise.
3822 2004-07-21 Mark Wielaard <mark@klomp.org>
3824 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3825 on notifier object before calling notifyAll().
3827 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3829 * java/awt/Window.java: Changed constructors to use new
3830 method that is described below. Constructors call this
3831 methods only if newly created window should have an owner.
3832 (setWindowOwner): New method. Implementation for
3833 this method is moved from this(owner,configuration).
3834 * javax/swing/JWindow.java:
3835 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3837 * javax/swing/SwingUtilities.java:
3838 (ownerFrame): Change type of this field to OwnerFrame.
3839 (getOwnerFrame): Changed to return object of type OwnerFrame.
3840 (SwingUtilities.OwnerFrame): New class. Represents owner
3841 of a Window that is not provided with one.
3843 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3845 * javax/swing/AbstractButton.java:
3846 (configurePropertiesFromAction): Set action command
3847 to button's text by default if action command is not
3848 explicitely specified.
3849 * javax/swing/JMenu.java: Remove unnecessary listener
3850 and methods relevant to it.
3851 (setSelected): Reimplemented.
3852 (menuSelectionChanged): Moved most part of implementation to
3853 setSelected() and call it instead.
3854 * javax/swing/JMenuItem.java:
3855 (init): Comment out statement that sets paint_border to false.
3856 (configurePropertiesFromAction): Do not set accelerator
3858 (menuSelectionChanged): Change selected index in the selection
3859 model of menu item's parent.
3860 * javax/swing/JPopupMenu.java:
3861 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3862 instead of GridBagConstraints.HORIZONTAL.
3864 (createActionChangeListener): Implemented.
3865 (setVisible): Correct location of HeavyWeightMenu and
3866 don't firePopupMenuCanceled().
3867 (menuSelectionChanged): Implemented.
3868 (ActionChangeListener): New Listener. Implemented.
3869 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3870 (BasicMenuBarUI.ContainerHandler): Implemented.
3871 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3872 (paintMenuItem): Uncommented out code that paints
3873 icon, now that icons are working properly.
3874 (PropertyChangeListener): Implemented.
3875 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3877 (topWindowListener): New field.
3878 (Constructor): initialize topWindowListener.
3879 (BasicPopupMenuUI.TopWindowListener): Implemented.
3880 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3881 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3884 2004-07-21 Michael Koch <konqueror@gmx.de>
3886 * javax/swing/plaf/basic/BasicButtonUI.java
3887 (paintFocus): Fixed method signature.
3888 (paintButtonPressed): Likewise.
3889 (paintButtonNormal): Likewise.
3890 (paintText): New method.
3891 * javax/swing/plaf/basic/BasicLabelUI.java
3892 (paint): Re-indented.
3893 * javax/swing/plaf/basic/BasicTextUI.java
3894 (installUI): Set parent textComponent to opaque.
3895 * javax/swing/text/DefaultHighlighter.java
3896 (checkPositions): New helper method.
3897 (addHighlight): Throws BadLocationException, check positions.
3898 (changeHighlight): Likewise.
3899 * javax/swing/text/EditorKit.java
3900 (EditorKit): Implements Serializable.
3901 * javax/swing/text/JTextComponent.java
3902 (getUI): Added javadoc.
3904 (upadteUI): Added javadoc, don't revalidate and repaint.
3906 2004-07-21 David Jee <djee@redhat.com>
3908 * java/awt/GridBagLayout.java
3909 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3910 * javax/swing/AbstractButton.java
3911 (setText): Reindent.
3912 * javax/swing/RepaintManager.java
3913 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3915 2004-07-21 Michael Koch <konqueror@gmx.de>
3917 * javax/swing/JFormattedTextField.java
3919 (JFormattedTextField): Implemented.
3920 (getValue): Likewise.
3921 (setValue): Likewise.
3922 * javax/swing/LookAndFeel.java
3923 (getSupportsWindowDecorations): New method.
3924 * javax/swing/UIDefaults.java:
3925 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3926 (addPropertyChangeListener): Made public.
3927 (addResourceBundle): Likewise.
3928 (removeResourceBundle): Likewise.
3929 (setDefaultLocale): Likewise.
3930 * javax/swing/plaf/basic/BasicRootPaneUI.java
3931 (BasicRootPaneUI): Implements PropertyChangeListener.
3932 (propertyChange): New method.
3933 * javax/swing/plaf/basic/BasicTextUI.java
3934 (BasicHighlighter): New inner class.
3935 (createHighlighter): New method.
3936 * javax/swing/plaf/basic/BasicToolBarUI.java
3937 (DragWindow): Extends java.awt.Window.
3938 * javax/swing/text/JTextComponent.java
3939 (getDocument): Removed debug output.
3940 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3941 javax/swing/text/DefaultHighlighter.java,
3942 javax/swing/text/FieldView.java,
3943 javax/swing/text/PlainView.java: New files.
3944 * Makefile.am: Added new files.
3945 * Makefile.in: Regenerated.
3947 2004-07-21 Michael Koch <konqueror@gmx.de>
3949 * javax/swing/JEditorPane.java
3950 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3951 (createEditorKitForContentType): Likewise.
3952 * javax/swing/text/DefaultEditorKit.java
3953 (serialVersionUID): Added constant field.
3954 (EndOfLineStringPropery): Fixed typo.
3955 (DefaultEditorKit): New constructor.
3956 * javax/swing/text/Segment.java:
3957 Import java.text.CharacterIterator.
3958 * javax/swing/text/CharacterIterator.java,
3959 javax/swing/text/PlainEditorKit.java: Removed.
3960 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3961 javax/swing/text/PlainEditorKit.java.
3962 * Makefile.in: Regenerated.
3964 2004-07-21 Michael Koch <konqueror@gmx.de>
3966 * javax/swing/JButton.java,
3967 javax/swing/text/DefaultEditorKit.java,
3968 javax/swing/text/EditorKit.java,
3969 javax/swing/text/Segment.java,
3970 javax/swing/text/StyledEditorKit.java:
3973 2004-07-21 Michael Koch <konqueror@gmx.de>
3975 * javax/swing/ImageIcon.java
3977 (description): Renamed from descr.
3978 (ImageIcon): Added missing constructors.
3979 (setParent): Removed.
3980 (setImageObserver): New method.
3981 (getImageObserver): New method.
3982 (paintIcon): Handle observer = null.
3983 * javax/swing/JButton.java
3984 (removeNotify): Fixed javadoc.
3985 (updateUI): Simplified.
3986 * javax/swing/JRootPane.java
3987 (serialVersionUID): New constant field.
3988 * javax/swing/UIManager.java:
3989 Fixed javadocs all over.
3990 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3991 * javax/swing/text/AbstractDocument.java
3992 (createPosition): Throws BadLocationException.
3993 (getText): Likewise.
3995 * javax/swing/text/ComponentView.java
3996 (modelToView): Likewise.
3997 * javax/swing/text/DefaultEditorKit.java:
3998 Made all public methods public.
3999 (read): Throws BadLocationException and IOException.
4001 * javax/swing/text/EditorKit.java:
4002 Made all public methods public.
4003 (serialVersionUID): New constant field.
4004 (clone): New method.
4005 (read): Throws BadLocationException and IOException.
4007 * javax/swing/text/Segment.java
4008 (array): Made public.
4011 (Segment): New constructors.
4012 (clone): Reimplemented.
4013 * javax/swing/text/StyledEditorKit.java
4014 (serialVersionUID): New constant field.
4016 2004-07-21 Graydon Hoare <graydon@redhat.com>
4018 * java/awt/image/BufferedImage.java
4019 (getSource): Implement.
4020 * javax/swing/ImageIcon.java
4021 (ImageIcon): Implement ctor.
4022 * javax/swing/ScrollPaneLayout.java
4023 (preferredLayoutSize): Be more careful about nulls.
4025 2004-07-21 Michael Koch <konqueror@gmx.de>
4027 * javax/swing/text/AttributeSet.java
4028 (CharacterAttribute): New interface
4029 (ColorAttribute): Likewise.
4030 (FontCharacterAttribute): Likewise.
4031 (ParagraphAttribute): Likewise.
4032 * javax/swing/text/DefaultCaret.java
4033 (moveCaret): New method.
4034 (positionCaret): Likewise.
4035 (repaint): Made protected.
4036 * javax/swing/text/JTextComponent.java
4037 (KeyBinding): Made it static.
4038 * javax/swing/text/View.java
4039 (getContainer): Honor parent == null.
4041 2004-07-21 Michael Koch <konqueror@gmx.de>
4043 * javax/swing/text/AbstractDocument.java:
4046 2004-07-21 Michael Koch <konqueror@gmx.de>
4048 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4049 Import javax.swing.UIManager explicitely.
4050 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4051 (ScrollingButton): Made it static.
4053 2004-07-21 Michael Koch <konqueror@gmx.de>
4055 * javax/swing/UIDefaults.java
4056 (ActiveValue): Made public.
4057 (LazyValue): Likewise.
4058 * javax/swing/plaf/basic/BasicTextUI.java
4059 (RootView): Reintroduced.
4061 (rootView): New field.
4062 (installUI): Create document if needed, initialize rootView.
4063 (uninstallUI): Hanle rootView.
4065 (getRootView): Likewise.
4066 (setView): Likewise.
4067 * javax/swing/text/DefaultCaret.java:
4068 Renamed all "evt" variables to "event".
4070 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4072 * libgcj.spec.in: Add -l-java-util-logging.
4074 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4077 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4078 gtk-xft-dpi can no calculate the right value.
4079 (dpi_changed_cb): Mark *pspec as unsused.
4081 2004-07-21 David Jee <djee@redhat.com>
4083 * java/awt/Component.java
4084 (move): Delegate to setBounds().
4086 (reshape): Fix so it repaints parent and self only when necessary.
4088 2004-07-21 David Jee <djee@redhat.com>
4090 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4091 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4092 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4093 (setVisible): Likewise.
4096 (getArgs): Likewise.
4097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4098 (property_notify_predicate): Likewise.
4099 (find_layout): Likewise.
4100 (connectJObject): Likewise.
4101 (connectSignals): Likewise.
4102 (moveLayout): Likewise.
4103 (gtkLayoutSetVisible): Likewise.
4105 2004-07-21 Graydon Hoare <graydon@redhat.com>
4111 (rmiregistry_LDADD): Add lib-java-util-logging.la
4112 * Makefile.in: Regenerate.
4114 2004-07-21 Michael Koch <konqueror@gmx.de>
4116 * javax/swing/text/AbstractDocument.java
4117 (replace): Dont use protected method of java.util.Vector directly.
4119 2004-07-21 Michael Koch <konqueror@gmx.de>
4121 * javax/swing/plaf/basic/BasicTextUI.java
4122 (installUI): Call specialized install methods.
4123 (installDefaults): New method.
4124 (installListeners): Likewise.
4125 (installKeyboardActions): Likewise.
4126 (uninstallUI): Likewise.
4127 (uninstallDefaults): New method.
4128 (uninstallListeners): Likewise.
4129 (uninstallKeyboardActions): Likewise.
4130 (getPropertyPrefix): New abstract method.
4131 (paint): Made final, just call paintSafely().
4132 (paintSavely): New method.
4133 (paintBackground): Likewise.
4134 (getVisibleEditorRect): Likewise.
4135 * javax/swing/text/LayeredHighlighter.java,
4136 javax/swing/text/TabExpander.java: New files.
4137 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4138 and javax/swing/text/TabExpander.java.
4139 * Makefile.in: Regenerated.
4141 2004-07-21 Michael Koch <konqueror@gmx.de>
4143 * javax/swing/plaf/basic/BasicTextUI.java
4144 (BasicTextUI): Made abstract.
4145 (BasicCaret): New inner class.
4146 (view): Don't explicitely initialize with "null".
4147 (textComponent): New field.
4148 (textColor): Removed.
4149 (disabledTextColor): Removed.
4150 (normalBackgroundColor): Removed.
4151 (RootView): Removed commented out inner class.
4152 (createUI): Removed.
4153 (createCaret): New method.
4154 (getComponent): Likewise.
4155 (installUI): Initialize textComponent only.
4156 (getPreferredSize): Use installed JTextComponent.
4157 (setView): New method.
4159 * javax/swing/text/JTextComponent.java
4160 (highlighter): New field.
4161 (caretColor): Likewise.
4162 (disabledTextColor): Likewise.
4163 (seletedTextColor): Likewise.
4164 (selectionColor): Likewise.
4165 (setUI): New method.
4166 (getCaretColor): Likewise.
4167 (setCaretColor): Likewise.
4168 (getDisabledColor): Likewise.
4169 (setDisabledColor): Likewise.
4170 (getSelectedTextColor): Likewise.
4171 (setSelectedTextColor): Likewise.
4172 (getSelectionColor): Likewise.
4173 (setSelectionColor): Likewise.
4174 (getHighlighter): Likewise.
4175 (setHighlighter): Likewise.
4176 (replaceSelection): Likewise.
4178 2004-07-21 Michael Koch <konqueror@gmx.de>
4180 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4181 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4182 * javax/swing/plaf/basic/BasicToolBarUI.java
4183 (BasicToolBarUI): Implements SwingConstants.
4185 2004-07-21 Michael Koch <konqueror@gmx.de>
4187 * javax/swing/JPopupMenu.java: Removed CVS tags.
4188 * javax/swing/UIDefaults.java: Reformatted.
4189 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4190 Explicitely import used classes.
4192 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4194 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4195 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4196 (GtkComponentPeer): Remove temporary try/catch block.
4197 (setVisible): Call show and hide.
4198 (show): Make native.
4200 (getArgs): Don't add "visible" argument.
4201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4202 (property_notify_predicate): Return Bool instead of int.
4203 (find_layout): New function.
4204 (connectJObject): Call find_layout.
4205 (connectSignals): Likewise.
4206 (moveLayout): Likewise.
4207 (gtkLayoutSetVisible): Likewise.
4209 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4211 * javax/swing/AbstractButton.java:
4212 (setDisplayedMnemonicIndex): Check if button
4213 text is not null before checking its length.
4214 * javax/swing/JMenuItem.java:
4215 (processMouseEvent): Disarm menu item if mouse has
4217 * javax/swing/plaf/basic/BasicMenuUI.java:
4218 (MouseInputHandler.mouseEntered): Do not raise
4219 popup menu if this menu is already selected.
4220 (MouseInputHandler.mousePressed): Do not fire
4222 (MenuHandler): Implemented.
4224 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4226 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4227 (getSelectedObjects): Implemented.
4228 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4229 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4230 Added javadoc for few methods.
4231 (processMouseEvent): Made public.
4232 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4233 (processMouseEvent): Likewise.
4235 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4237 * javax/swing/AbstractButton.java:
4238 (init): Set display mnemonic index to -1.
4239 (setMnemonic(char)): Use setMnemonic(int).
4240 (setMnemonic(int)): Set display mnemonic index.
4241 (getDisplayedMnemonicIndex): Change method signature
4242 by removing 'index' parameter.
4243 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4244 Added default for Menu.selectionBackground.
4245 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4246 (paintMenuItem): Change background color of the selected
4248 (paintText): Paint differently when menu item is disabled.
4249 Also paint mnemonic if it appears in the menu item's label.
4250 (paintAccelerator): Paint accelerator differently
4251 if menu item is disabled.
4252 * javax/swing/plaf/basic/BasicMenuUI.java:
4253 (installDefaults): Install defaults for
4254 selectionForeground and selectionBackground.
4255 (uninstallDefaults): Uninstall defauls for
4256 selectionForeground and selectionBackground.
4258 2004-07-21 Michael Koch <konqueror@gmx.de>
4260 * javax/swing/text/AbstractDocument.java
4261 (BranchElement): Implemented.
4262 (LeafElement): Implemented.
4263 * javax/swing/text/DefaultCaret.java:
4264 Import used classes.
4265 (serialVersionUID): New constant.
4266 * javax/swing/text/JTextComponent.java
4267 (AccessibleJTextComponent): Removed dead declaration.
4268 (caretPos): Removed.
4269 (setCaret): New method.
4270 * javax/swing/text/PlainDocument.java
4271 (rootElement): New field.
4272 (PlainDocument): Initialize rootElement.
4273 (createDefaultRoot): New method.
4274 (getDefaultRootElement): Implemented.
4275 * javax/swing/text/View.java: Reformatted.
4276 * javax/swing/text/ViewFactory.java
4277 (create): Added javadoc.
4279 2004-07-21 Michael Koch <konqueror@gmx.de>
4281 * javax/swing/ToolTipManager.java: Reformatted.
4283 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4285 * javax/swing/AbstractButton.java
4286 (changeEvent): New field.
4287 (fireItemStateChanged): Change source of the event
4288 to 'this' before firing it to button listeners.
4289 (fireActionPerformed): Likewise.
4290 (fireStateChanged): Likewise.
4291 (createActionListener): Do not set source
4292 of the event to AbstractButton.
4293 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4294 (ContainerHandler.componentAdded): Removed
4295 print out statement.
4296 (ContainerHandler.componentRemoved): Likewise.
4298 2004-07-21 Michael Koch <konqueror@gmx.de>
4300 * javax/swing/text/Highlighter.java: New file.
4301 * Makefile.am: Added javax/swing/text/Highlighter.java.
4302 * Makefile.in: Regenerated.
4304 2004-07-21 Michael Koch <konqueror@gmx.de>
4306 * javax/swing/ToolTipManager.java
4307 (stillInsideTimerAction): Fixed constructor arguments.
4308 (outsideTimerAction): Likewise.
4309 (insideTimerAction): Likewise.
4311 2004-07-21 Michael Koch <konqueror@gmx.de>
4313 * javax/swing/JButton.java: Reformatted.
4314 * javax/swing/JFormattedTextField.java
4315 (getUIClassID): Implemented.
4316 * javax/swing/JRootPane.java
4317 (serialVersionUID): New constant.
4318 * javax/swing/JTextField.java
4320 (JTextField): Simplified.
4321 (getUIClassID): New method.
4322 (getActionListeners): Added @since tag.
4323 (setColumns): Invalidate layout and repaint.
4324 (getHorizontalAlignment): New method.
4325 (setHorizontalAlignment): New method.
4326 (selectAll): Removed.
4327 * javax/swing/SwingUtilities.java
4328 (getAncestorOfClass): Removed redundant @see tag.
4329 (isLeftMouseButton): Fixed implementation.
4330 (isMiddleMouseButton): Likewise.
4331 (isRightMouseButton): Likewise.
4332 * javax/swing/text/AbstractDocument.java
4333 (AttributeContext.addAttribute): New method.
4334 (AttributeContext.addAttributes): New method.
4335 (AttributeContext.getEmptySet): New method.
4336 (AttributeContext.reclaim): New method.
4337 (AttributeContext.removeAttribute): New method.
4338 (AttributeContext.removeAttributes): New method.
4339 * javax/swing/text/Document.java
4340 (createPosition): Throws BadLocationException.
4341 (getText): Likewise.
4343 * javax/swing/text/JTextComponent.java
4344 (getText): Return null if no document is set. Catch
4345 BadLocationException.
4347 (updateUI): Simplified.
4349 2004-07-21 Michael Koch <konqueror@gmx.de>
4351 * javax/swing/JButton.java
4352 (removeNotify): Fixed javadoc.
4353 (updateUI): Simplified.
4355 2004-07-21 David Jee <djee@redhat.com>
4357 * gnu/java/awt/image/ImageDecoder.java
4358 (startProduction): Only add consumer if it's not added yet.
4359 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4360 (GdkPixbufDecoder): Don't call initState() here.
4361 (produce): Call initState() here, to ensure area_prepared and
4362 area_updated signals are properly connected.
4363 * gnu/java/awt/peer/gtk/GtkImage.java
4364 (setColorModel): Use equals() to compare ColorModel objects.
4365 (setPixels): Likewise.
4366 * java/awt/image/ColorModel.java
4367 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4368 * java/awt/image/RGBImageFilter.java
4369 (setColorModel): Set consumer's color model.
4370 (setPixels): Use equals() to compare ColorModel objects.
4372 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4374 * java/net/URLConnection.java (position): New field.
4375 (dateFormat1, dateFormat2, dateFormat3): Removed.
4376 (dateFormats): New field.
4377 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4378 each time instead of re-allocating.
4379 (initializeDateFormats): Initialize 'dateFormats'.
4381 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4384 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4387 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4389 * java/net/Socket.java (getImpl): Now private. Remove comment.
4391 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4393 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4394 of chained Writer when calling super-constructor.
4395 * java/io/FilterWriter.java (FilterWriter): Likewise.
4396 * java/io/PrintWriter.java (PrintWriter): Likewise.
4398 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4400 * prims.cc (process_gcj_properties): Don't increment i within LHS
4403 2004-07-19 Per Bothner <per@bothner.com>
4405 Print -verbose:message on "loading", not initialization.
4406 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4407 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4408 gcj::verbose_class_flag.
4409 * java/lang/natClass.cc (initializeClass): Don't print message here.
4410 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4411 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4412 (_Jv_PrepareCompiledClass): Likewise.
4414 2004-07-18 Matthias Klose <doko@debian.org>
4416 * configure.in: Substitute target_noncanonical.
4417 * configure: Regenerate
4419 2004-07-17 Michael Koch <konqueror@gmx.de>
4421 * java/lang/String.java: Fixed javadocs all over.
4423 2004-07-17 Mark Wielaard <mark@klomp.org>
4425 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4426 when size is smaller.
4427 * java/io/RandomAccessFile.java (setLength): Use truncate for
4428 shrinking the file and seek plus write for expanding the file.
4430 2004-07-17 Michael Koch <konqueror@gmx.de>
4432 * gnu/java/nio/channels/natFileChannelPosix.cc
4433 (implTruncate): Always save current position. Only reposition file
4434 pointer to where we started if not beyond new lenght. Reposition file
4435 pointer to file length if it points beyond the end of file.
4437 2004-07-17 Mark Wielaard <mark@klomp.org>
4439 * javax/swing/Box.java: Put FIXME comment above class declaration.
4440 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4441 * javax/swing/JCheckBox.java: Likewise.
4442 * javax/swing/JDialog.java: Likewise.
4443 * javax/swing/JRadioButton.java: Likewise.
4444 * javax/swing/JToggleButton.java: Likewise.
4445 * javax/swing/UIManager.java: Likewise.
4446 * javax/swing/border/TitledBorder.java: Likewise.
4447 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4448 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4449 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4450 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4451 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4452 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4453 * javax/swing/text/JTextComponent.java: Likewise.
4455 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4457 * java/net/DatagramPacket.java (setAddress): Removed check for
4460 2004-07-17 Michael Koch <konqueror@gmx.de>
4462 * java/net/DatagramSocket.java
4463 (getLocalAddress): Check if socket is bound or not.
4464 * java/net/Socket.java
4465 (getLocalAddrss): Check if socket is bound or not.
4466 (getPort): Return -1 when not connected. Dont check getImpl() for
4468 (setReuseAddress): Check if socket is closed.
4469 (isConnected): Check if getImpl() returns null.
4471 2004-07-17 Mark Wielaard <mark@klomp.org>
4473 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4474 on notifier object before calling notifyAll().
4476 2004-07-17 Michael Koch <konqueror@gmx.de>
4478 * gnu/java/nio/channels/FileChannelImpl.java
4479 (finalize): Added javadoc.
4481 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4483 * java/text/CollationElementIterator.java
4484 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4485 (setText): Use ArrayList instead of Vector.
4487 2004-07-17 Michael Koch <konqueror@gmx.de>
4489 * java/nio/ByteOrder.java
4490 (static): Removed. Not needed.
4491 Thanks to Patrick Reali for noticing.
4492 * java/nio/charset/CharsetDecoder.java
4493 (decode): Fix for classpath bug #9177: Reset state before flipping.
4495 2004-07-17 Michael Koch <konqueror@gmx.de>
4497 * java/security/Security.java: Fixed javadocs all over.
4499 2004-07-17 Michael Koch <konqueror@gmx.de>
4501 * gnu/java/awt/EmbeddedWindow.java
4503 (addNotify): Set peer via reflection.
4504 (setWindowPeer): Removed.
4505 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4506 * Makefile.am (nat_source_files):
4507 Removed gnu/java/awt/natEmbeddedWindow.cc.
4508 * Makefile.in: Regenerated.
4510 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4512 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4514 * configure: Regenerated.
4516 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4518 * configure.in: Use build_noncanonical rather than build_alias.
4519 * configure: Rebuild.
4521 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4522 by logic refactoring. Move default definition of NATIVE closer
4523 to first alternate definition.
4524 * configure: Regenerate.
4526 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4527 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4528 gcj/Makefile.in: Regenerate.
4529 * configure.in: Set ZIP and GCJH. Remove redundant condition
4530 in AM_CONDITIONAL(NATIVE,...)
4531 * configure: Regenerate.
4533 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4535 * configure.in: Use target_noncanonical rather than
4536 target_alias for forward-compatibility with autoconf 2.59.
4537 * configure: Regenerate.
4538 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4539 testsuite/Makefile.am: Substitute target_noncanonical.
4540 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4541 testsuite/Makefile.in: Regenerate.
4543 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4544 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4545 * acinclude.m4: Include acx.m4.
4546 * aclocal.m4: Regenerate.
4547 * configure: Regenerate.
4549 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4552 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4553 (decimalFormat): New static variable.
4555 (getTime): New. Override Date.getTime().
4556 (toString): Synchronize. Use decimalFormat to format nanos value
4557 correctly. Truncate extra zeros.
4558 (before): Compare getNanos() only if getTime() is equal.
4561 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4563 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4564 * configure.in: ...here.
4565 * aclocal.m4: Regenerate.
4566 * configure: Regenerate.
4568 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4569 * configure: Rebuilt with autoconf 2.13.
4570 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4571 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4573 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4576 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4578 * Makefile.in: Rebuilt.
4579 * testsuite/libjava.lang/LargeFile.java: New test case.
4580 * testsuite/libjava.lang/LargeFile.out: New file.
4582 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4584 * java/beans/EventHandler.java: Remove debugging statements.
4586 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4588 * java/beans/EventHandler.java: New file.
4589 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4590 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4591 testsuite/Makefile.in: Regenerate.
4593 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4595 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4596 flag to the gcj_setup.
4597 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4599 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4600 deprecation flag change. 58 XFAILS removed.
4602 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4604 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4605 -fno-use-divide-subroutine.
4606 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4607 (HANDLE_FPE): Define.
4608 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4609 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4610 (HANDLE_DIVIDE_OVERFLOW): Define.
4612 2004-07-14 Michael Koch <konqueror@gmx.de>
4613 Matthias Klose <doko@debian.org>
4615 * java/awt/im/InputContext.java: Initialize in, line.
4617 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4619 * interpret.cc (run): Correctly access libffi return values of
4620 integral smaller-than-int type; these are implicitly promoted.
4622 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4625 * interpret.cc (compile_mutex): New.
4626 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4627 (run): Lock compile_mutex before calling compile() if compilation is
4629 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4630 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4632 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4635 * include/jvm.h (_Jv_value): New union type.
4636 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4637 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4640 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4642 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4643 * gnu/awt/xlib/XOffScreenImage.java
4644 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4645 constructor argument. Add constructor using ImageProducer.
4646 (getSource): Implement.
4647 (imageComplete): New method.
4648 (setColorModel): New method.
4649 (setDimensions): New method.
4650 (setHints): New method.
4651 (setPixels): New method.
4652 (setProperties): New method.
4653 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4654 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4656 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4659 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4660 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4661 (finalizerReady): Now native.
4663 (runFinalizers): Removed.
4664 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4665 a primitive lock, and don't hold it while running the finalizers.
4666 (runFinalizers): Implement. Don't aquire any Java lock.
4667 (finalizerReady): Use lock primitives to signal finalizer thread.
4669 2004-07-11 Mark Wielaard <mark@klomp.org>
4671 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4672 * java/net/URLStreamHandler.java (parseURL): When url file part
4673 doesn't contain a '/' just ignore context.
4675 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4677 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4678 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4679 (MAKE_THROW_FRAME): Do not modify PSW address.
4680 (INIT_SEGV): Install SIGINFO-style signal handler.
4681 (INIT_FPE): Likewise.
4683 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4685 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4686 status. 21 xfail's removed, 1 added.
4688 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4690 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4692 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4694 * java/text/MessageFormat.java
4695 (formatInternal): Append "{n}" if argument n is unavailable.
4696 (format(Object, StringBuffer, FieldPosition)): This
4697 should be equivalent to format(Object[],
4698 StringBuffer, FieldPosition).
4700 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4702 * java.util.Calendar.java (cache): New private static field. Cached
4703 mappings of locales->calendar classes.
4704 (ctorArgTypes): New private static field. Singleton argument for
4705 calendar class constructor lookup.
4706 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4707 Optimize by bypassing reflection instantiation for the
4708 GregorianCalendar case.
4710 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4712 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4713 ResourceBundle.getBundle() calls.
4714 * java/util/GregorianCalendar.java: Likewise.
4715 * java/util/Currency.java: Likewise.
4716 * java/text/BreakIterator.java: Likewise.
4717 * java/text/Collator.java: Likewise.
4718 * java/text/DateFormat.java: Likewise.
4719 * java/text/DateFormatSymbols.java: Likewise.
4720 * java/text/DecimalFormatSymbols.java: Likewise.
4721 * java/text/NumberFormat.java: Likewise.
4722 * java/awt/Window.java: Likewise.
4724 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4726 * java/util/ResourceBundle.java (bundleCache): Renamed from
4727 resourceBundleCache. Update comments.
4728 (getObject): Don't catch MissingResourceException.
4729 (getBundle(String)): Remove 'final'. Use system classloader if
4730 getCallingClassLoader returned null.
4731 (getBundle(String, Locale)): Likewise.
4732 (BundleKey): New private class. HashMap key for bundle cache lookup.
4733 (lookupKey): New. Singleton instance of BundleKey.
4734 (nullEntry): New. Cache entry to represent failed lookups.
4735 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4736 caching strategy, no-allocation lookup, and new tryBundle methods.
4737 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4738 name using given classloader.
4739 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4740 baseName for given Locale and attempt to load bundle.
4742 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4744 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4745 illegal protected method calls.
4747 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4749 Fix or remove some bogus test cases.
4750 * testsuite/libjava.compile/pr10459_2.java: Removed.
4751 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4753 * testsuite/libjava.compile/inner_data.java: Test against its own
4756 2004-07-09 Michael Koch <konqueror@gmx.de>
4758 * scripts/unicode-muncher.pl: Updated to version 2.1
4759 from GNU classpath. Added some clarifications on where to find the
4760 needed files from www.unicode.org.
4761 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4762 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4763 Removed, these can directly be downloaded from www.unicode.org if
4765 * gnu/java/lang/CharData.java: Regenerated.
4766 * include/java-chartables.h: Regenerated.
4767 * Makefile.am (ordinary_java_source_files):
4768 Removed gnu/java/lang/CharData.java.
4769 * Makefile.in: Regenerated.
4771 2004-07-09 Michael Koch <konqueror@gmx.de>
4773 * java/security/AccessControlContext.java,
4774 java/security/SecureClassLoader.java:
4777 2004-07-09 Michael Koch <konqueror@gmx.de>
4779 * java/io/ObjectInputStream.java (readFields): Use long datatype
4780 when shifting byte values more then 24 bits left.
4782 2004-07-09 Michael Koch <konqueror@gmx.de>
4784 * java/util/zip/DeflaterOutputStream.java,
4785 java/util/zip/GZIPInputStream.java,
4786 java/util/zip/GZIPOutputStream.java,
4787 java/util/zip/InflaterInputStream.java:
4788 Reformatted. Added javadocs. Reordered all stuff.
4789 Renamed variables to be more clear.
4791 2004-07-09 Michael Koch <konqueror@gmx.de>
4793 * javax/imageio/IIOException.java,
4794 javax/imageio/event/IIOReadProgressListener.java,
4795 javax/imageio/event/IIOReadUpdateListener.java,
4796 javax/imageio/event/IIOReadWarningListener.java,
4797 javax/imageio/event/IIOWriteProgressListener.java,
4798 javax/imageio/event/IIOWriteWarningListener.java:
4800 * Makefile.am: Added new files.
4801 * Makefile.in: Regenerated.
4803 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4805 * java/text/RuleBasedCollator.java
4806 (mergeRules): Use ArrayList instead of Vector.
4807 (subParseString): likewise.
4808 (parseString): likewise.
4809 (buildCollationVector): likewise.
4810 (getCollationKey): likewise.
4812 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4814 * java/text/DateFormat.java (parse):
4815 Improved javadoc. Improved exception message.
4817 2004-07-09 Mark Wielaard <mark@klomp.org>
4819 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4820 interrupted() method to clear interupt flag of our Thread.
4822 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4824 * java/nio/Buffer.java,
4825 java/nio/ByteBuffer.java,
4826 java/nio/ByteBufferHelper.java,
4827 java/nio/ByteBufferImpl.java,
4828 java/nio/CharBuffer.java,
4829 java/nio/CharBufferImpl.java,
4830 java/nio/CharViewBufferImpl.java,
4831 java/nio/DirectByteBufferImpl.java,
4832 java/nio/DoubleBuffer.java,
4833 java/nio/DoubleBufferImpl.java,
4834 java/nio/DoubleViewBufferImpl.java,
4835 java/nio/FloatBuffer.java,
4836 java/nio/FloatBufferImpl.java,
4837 java/nio/FloatViewBufferImpl.java,
4838 java/nio/IntBuffer.java,
4839 java/nio/IntBufferImpl.java,
4840 java/nio/IntViewBufferImpl.java,
4841 java/nio/LongBuffer.java,
4842 java/nio/LongBufferImpl.java,
4843 java/nio/LongViewBufferImpl.java,
4844 java/nio/MappedByteBufferImpl.java,
4845 java/nio/ShortBuffer.java,
4846 java/nio/ShortBufferImpl.java,
4847 java/nio/ShortViewBufferImpl.java:
4848 Fixed javadocs all over. Improved input error
4851 * java/nio/Buffer.java
4852 (checkForUnderflow, checkForOverflow, checkIndex,
4853 checkIfReadOnly, checkArraySize): New helper methods
4856 * java/nio/ByteBufferHelper.java
4857 (checkRemainingForRead, checkRemainingForWrite,
4858 checkAvailableForRead, checkAvailableForWrite): Removed
4859 no longer needed methods.
4861 2004-07-09 Michael Koch <konqueror@gmx.de>
4863 * gnu/regexp/CharIndexedInputStream.java:
4864 Reordered imports to match classpath.
4866 2004-07-09 Michael Koch <konqueror@gmx.de>
4868 * gnu/java/awt/EmbeddedWindow.java:
4869 Load native library for setWindowPeer method.
4871 2004-07-08 Randolph Chung <tausq@debian.org>
4873 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4874 * configure: Regenerate.
4875 * configure.host: Set can_unwind_signal for hppa*-linux.
4876 * include/pa-signal.h: New file.
4878 2004-07-07 Per Bothner <per@bothner.com>
4880 * Makefile.am: Add rules to build libgij from just gij.cc.
4882 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4883 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4884 (initializeClass): If verbose_class_flag, print message.
4885 * gij.cc (main): Handle -verbose:class flag.
4887 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4889 * configure.host: Enable hash synchronization on Darwin.
4890 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4891 ';', since this is a comment on Darwin.
4892 (compare_and_swap_release): Likewise.
4894 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4896 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4897 file portion of URL in addition to spec for file: protocol.
4899 2004-07-05 Anthony Green <green@redhat.com>
4901 * java/io/File.java (toURI): Merge from Classpath.
4903 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4905 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4906 before passing to URL constructor. Rethrow any MalformedURLException
4907 as a RuntimeException. Catch MalformedURLException specifically, not
4910 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4912 * java/util/Locale.java (readObject): Intern strings read from object
4915 2004-07-04 Michael Koch <konqueror@gmx.de>
4917 * gnu/gcj/runtime/FirstThread.java,
4918 gnu/gcj/runtime/natFirstThread.cc: Removed.
4919 * gnu/java/lang/MainThread.java,
4920 gnu/java/lang/natMainThread.cc: New files.
4921 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4922 * Makefile.am: Added new files and removed deleted ones.
4923 * Makefile.in: Regenerated.
4925 2004-07-03 Mark Wielaard <mark@klomp.org>
4926 Anthony Green <green@redhat.com>
4928 * java/net/URL.java (getFile): Clarify return value doc.
4929 (getPath): Return null if file is empty - not empty String.
4930 (set): Convert protocol to lower case before doing anything.
4931 Only change the protocol handler if it's different.
4933 2004-07-03 Anthony Green <green@redhat.com>
4935 * java/net/URL.java (URL): Convert protocol to lower case before
4936 doing anything, so we getURLStreamHandler() with the proper value.
4938 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4940 * java/util/Locale.java (hashcode): Made transient.
4941 (hashCode): No longer synchronized.
4942 (equals): Remove comment.
4943 (writeObject): No longer synchronized. Implement using writeObject
4944 calls instead of tweaking hashCode field. Update doc.
4945 (readObject): Implement using readObject calls.
4947 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4948 Andreas Tobler <a.tobler@schweiz.ch>
4950 * configure.host (powerpc-*-darwin*): New case, define
4952 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4953 * configure: Regenerate.
4954 * include/darwin-signal.h: New.
4956 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4958 * java/beans/Statement.java (doExecute): Fix formatting.
4960 2004-06-29 Per Bothner <per@bothner.com>
4962 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4963 etc etc): Remove needless parenthesis, which causes __stdcall__
4964 attribute on MinGW to get ignored.
4966 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4968 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4970 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4972 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4974 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4976 * java/beans/Expression.java: New file.
4977 * java/beans/Statement.java: New file.
4978 * Makefile.am: Added new files.
4979 * Makefile.in: Re-generate.
4981 2004-06-27 Mark Wielaard <mark@klomp.org>
4983 * java/io/FilePermission.java (usingPerms): Removed.
4984 (actionsString): Made final.
4985 (cachePerms): Renamed to checkPerms.
4986 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4988 (FilePermission): Check arguments, call checkPerms().
4989 (equals): Remove cachePerms() call.
4990 (implies): Likewise.
4992 2004-06-27 Mark Wielaard <mark@klomp.org>
4994 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4996 (sendRequest): Use new field in user-agent http agent.
4998 2004-06-27 Mark Wielaard <mark@klomp.org>
5000 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5001 when argument is null.
5003 2004-06-26 Mark Wielaard <mark@klomp.org>
5005 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5006 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5008 (cancel_clicked): Likewise.
5010 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5012 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5013 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5014 can not calculate the right value.
5015 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5017 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5019 * testsuite/libjava.jacks/jacks.xfail: Remove
5020 15.9.1-qualified-concrete-20.
5022 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5024 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5025 encoding name to iconv.
5026 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5028 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5031 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5032 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5033 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5035 2004-06-21 Andrew Haley <aph@redhat.com>
5037 * java/io/ObjectOutputStream.java: Add DEBUG statements
5039 (dumpElementln): New method.
5041 * java/io/ObjectInputStream.java
5042 (currentClassLoader): Make native.
5043 (callersClassLoader): New field.
5045 (readObject): ENDBLOCKDATA is generated if the class has a write
5046 method, not if it has a read method.
5047 (readObject): Save and restore this.currentObject and
5048 this.currentObjectStreamClass around calls to callReadMethod().
5049 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5052 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5054 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5057 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5059 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5060 if desired, before the default class loader is initialised.
5061 Call INIT_SEGV only if HANDLE_SEGV is defined.
5063 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5065 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5066 directory only if it actually exists.
5068 2004-06-18 Graydon Hoare <graydon@redhat.com>
5070 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5071 Fix up non-ansi comments.
5073 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5075 * javax/swing/text/AbstractDocument.java: Adding missing import
5076 for javax.swing.event.EventListenerList.
5077 * javax/swing/text/DefaultCaret.java: Likewise.
5079 2004-06-17 Michael Koch <konqueror@gmx.de>
5081 * javax/swing/JToolBar.java
5083 (JToolBar): Use Component.setName(String) instead of doing it all
5085 * javax/swing/Timer.java
5086 (queueEvent): Added missing modifier.
5088 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5090 * Makefile.am: Added new file.
5091 * Makefile.in: Re-generate.
5092 * javax/swing/JMenu.java:
5093 (insertSeparator): Implemented.
5094 * javax/swing/JPopupMenu.java:
5095 (JPopupMenu.Separator): Implemented.
5096 * javax/swing/MenuSelectionManager.java:
5097 (processMouseEvent): Use java.awt.Component
5098 for event source instead of javax.swing.JComponent.
5099 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5100 New File. Implemented.
5102 2004-06-16 David Jee <djee@redhat.com>
5104 * java/awt/GridBagLayout.java
5105 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5106 Make sure pos_x and pos_y are never negative.
5108 2004-04-16 Andrew Overholt <overholt@redhat.com>
5110 * Makefile.am: Add new file.
5111 * Makefile.in: Re-generate.
5112 * javax/swing/JToolBar.java
5113 Partially implemented.
5114 * javax/swing/plaf/basic/BasicToolBarUI.java
5115 New file. Partially implemented.
5117 2004-06-16 Graydon Hoare <graydon@redhat.com>
5119 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5120 (setComposite): Accept AlphaComposite arguments.
5121 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5122 (createBufferedImage): Add new overloads.
5123 * gnu/java/awt/peer/gtk/GtkToolkit.java
5124 (createImage): Use GdkPixbufDecoder.createBufferedImage
5125 when useGraphics2D() is true.
5126 (getImage): Delegate to createImage.
5127 * javax/swing/JList.java
5129 (getFirstVisibleIndex):
5130 (getLastVisibleIndex):
5132 (ensureIndexIsVisible): New methods.
5133 * javax/swing/Timer.java: Reimplement.
5135 2004-06-16 Michael Koch <konqueror@gmx.de>
5137 * javax/swing/text/AbstractDocument.java
5138 (AbstracElement): Made public, implements java.io.Serializable.
5139 (AttributeContext): Made public.
5140 (BranchElement): Likewise.
5141 (Content): Likewise.
5142 (DefaultDocumentEvent): Made public, extends
5143 javax.swing.undo.CompoundEdit.
5144 (ElementEdit): Made public, extends
5145 javax.swing.undo.AbstractUndoableEdit.
5146 (LeafElement): Made public.
5147 (LeafElement.LeafElement): Made public.
5149 2004-06-16 Michael Koch <konqueror@gmx.de>
5151 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5152 methods (that were obviously never be intended to get included hi this
5153 class. Added some methods too.
5155 2004-06-16 Michael Koch <konqueror@gmx.de>
5157 * javax/swing/text/PlainDocument.java
5158 (serialVersionUID): New constant.
5159 (lineLimitAttribute): Likewise.
5160 (tabSizeAttribute): Likewise.
5161 (tabSize): New field.
5162 (PlainDocument): Made public.
5163 (PlainDocument): New constructor.
5165 2004-06-16 Michael Koch <konqueror@gmx.de>
5167 * javax/swing/text/AbstractDocument.java
5168 (insertString): Throws BadLocationException.
5169 * javax/swing/text/Document.java
5170 (insertString): Likewise.
5171 * javax/swing/text/JTextComponent.java:
5172 Javadocs and comments cleaned up.
5174 2004-06-16 Michael Koch <konqueror@gmx.de>
5176 * javax/swing/event/UndoableEditListener.java: Reformatted.
5177 * javax/swing/text/AbstractDocument.java
5178 (AbstractDocument): Implements java.io.Serializable.
5179 (doc_list): Removed.
5180 (undo_list): Removed.
5181 (AbstractElement.serialVerionUID): New field.
5182 (BranchElement.serialVerionUID): Likewise.
5183 (DefaultDocumentEvent.serialVerionUID): Likewise.
5184 (ElementEdit.serialVerionUID): Likewise.
5185 (LeafElement.serialVerionUID): Likewise.
5186 (serialVerionUID): Likewise.
5187 (BAD_LOCATION): New constant.
5188 (BidiElementName): Likewise.
5189 (ContentElementName): Likewise.
5190 (ParagraphElementName): Likewise.
5191 (SectionElementName): Likewise.
5192 (ElementNameAttribute): Likewise.
5193 (AbstractDocument): Made protected.
5194 (AbstractDocument): New construtor.
5195 (listenerList): New field.
5196 (fireChangedUpdate): Implemented.
5197 (fireInsertUpdate): Likewise.
5198 (fireRemoveUpdate): Likewise.
5199 (fireUndoableEditUpdate): Likewise.
5200 (getListeners): Likewise.
5201 (addDocumentListener): Likewise.
5202 (removeDocumentListener): Likewise.
5203 (addUndoableEditListener): Likewise.
5204 (removeUndoableEditListener): Likewise.
5205 (getDocumentListeners): New method.
5206 (getUndoableEditListeners): Likewise.
5207 (getAsynchronousLoadPriority): Made public.
5208 (getBidiRootElement): Likewise.
5209 (setAsynchronousLoadPriority): Likewise.
5210 (setDocumentProperties): Likewise.
5211 * javax/swing/text/BadLocationException.java
5212 (serialVerionUID): New field.
5213 * javax/swing/text/DefaultCaret.java
5214 (changeEvent): New field.
5215 (listenerList): Likewise.
5217 (addChangeListener): Reimplemented.
5218 (removeChangeListener): Likewise.
5219 (getListeners): New method.
5220 (getChangeListeners): Likwise.
5221 (getComponent): Likewise.
5222 * javax/swing/text/GapContent.java
5223 (GapContent): Implements java.io.Serializable.
5224 (serialVerionUID): New field.
5226 2004-06-16 Michael Koch <konqueror@gmx.de>
5228 * javax/swing/JTree.java
5229 (treeModel): New field.
5230 (JTree): New constructors, one existing one made public.
5231 (createTreeModel): New method.
5232 (addTreeExpansionListener): Likewise.
5233 (removeTreeExpansionListener): Likewise.
5234 (getTreeExpansionListeners): Likewise.
5235 (fireTreeCollapsed): Likewise.
5236 (fireTreeExpanded): Likewise.
5237 (addTreeSelectionListener): Likewise.
5238 (removeTreeSelectionListener): Likewise.
5239 (getTreeSelectionListeners): Likewise.
5240 (fireValueChanged): Likewise.
5241 (addTreeWillExpandListener): Likewise.
5242 (removeTreeWillExpandListener): Likewise.
5243 (getTreeWillExpandListeners): Likewise.
5244 (fireTreeWillCollapse): Likewise.
5245 (fireTreeWillExpand): Likewise.
5247 2004-06-16 Michael Koch <konqueror@gmx.de>
5249 * javax/swing/JTree.java: Reformatted.
5251 2004-06-16 Michael Koch <konqueror@gmx.de>
5253 * javax/swing/JTextArea.java: New file.
5254 * javax/swing/JTextField.java
5256 (notifyAction): New constant.
5257 (columns): New field.
5258 (JTextField): New constructors.
5259 (createDefaultModel): New method.
5260 (addActionListener): Reimplmemented.
5261 (removeActionListener): Reimplemented.
5262 (getActionListeners): New method.
5263 (fireActionPerformed): New method.
5264 (getColumns): New method.
5265 (setColumne): New method.
5266 * javax/swing/text/JTextComponent.java
5267 (AccessibleJTextComponent.serialVersionUID): New field.
5268 (serialVersionUID): Likewise.
5269 (DEFAULT_KEYMAP): Likewise.
5270 (FOCUS_ACCELERATOR_KEY): Likewise.
5271 (doc): Made private.
5272 (icon_gap): Likewise.
5275 (JTextComponent): Some constructors removed.
5276 (getScrollableTracksViewportHeight): New method.
5277 (getScrollableTracksViewportWidth): Likewise.
5278 * Makefile.am: Added javax/swing/JTextArea.java.
5279 * Makefile.in: Regenerated.
5281 2004-06-15 Graydon Hoare <graydon@redhat.com>
5283 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5284 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5285 * javax/swing/JViewport.java
5286 (getExtentSize): Return size rather than preferred size.
5287 (toViewCoordinates): New methods.
5288 (getViewSize): Return size rather than preferred size.
5289 (setViewSize): Note view size as set.
5290 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5291 * javax/swing/plaf/basic/BasicScrollBarUI.java
5292 (getPreferredSize): Don't redo layout.
5293 * javax/swing/plaf/basic/BasicViewportUI.java
5294 (paint): Translate image properly and eat exceptions.
5296 2004-06-15 Kim Ho <kho@redhat.com>
5298 * javax/swing/JTabbedPane.java
5299 (setComponent): Remove old component and
5301 (setSelectedIndex): Don't operate on the
5302 components if they're null. Don't set index
5303 on the model if the index is the same.
5304 (insertTab): Don't add or hide the component
5305 if it's null. Repaint the container.
5306 * javax/swing/plaf/basic/BasicLookAndFeel.java
5307 Change colors for TabbedPane.
5308 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5309 (mousePressed): Re-layout and paint the component.
5310 (layoutContainer): Don't set location on the view.
5311 (ScrollingViewport::paint): Remove.
5313 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5315 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5316 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5318 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5319 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5320 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5322 (drawLine): Call gdk_flush before leaving GDK critical region.
5323 (fillRect): Likewise.
5324 (drawRect): Likewise.
5325 (copyArea): Likewise.
5326 (copyPixmap): Likewise.
5327 (clearRect): Likewise.
5328 (drawArc): Likewise.
5329 (drawPolyline): Likewise.
5330 (drawPolygon): Likewise.
5331 (fillPolygon): Likewise.
5332 (fillArc): Likewise.
5333 (drawOval): Likewise.
5334 (fillOval): Likewise.
5336 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5338 (GdkFontMetrics): Add style argument to initState call.
5339 (stringWidth(String,int,int,String)): Add style parameter.
5340 (stringWidth(String)): Add style argument to stringWidth call.
5341 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5342 (initState): Set pango font style and weight based on AWT style
5343 parameter. Pass default GTK language to
5344 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5345 simply dividing by PANGO_SCALE.
5346 (stringWidth): Set pango font style and weight based on AWT style
5349 * java/awt/Button.java (next_button_number): New field.
5350 (paramString): Change output.
5351 (generateName): New method.
5352 (getUniqueLong): New method.
5354 2004-06-14 Kim Ho <kho@redhat.com>
5356 * javax/swing/JTabbedPane.java:
5357 (setComponentAt): Set the component, not
5359 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5360 (actionPerformed): Let deiconize catch exception.
5362 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5364 * javax/swing/JPopupMenu.java:
5365 (setVisible): Corrected location of a
5366 heavyweight popup menu.
5368 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5370 * javax/swing/MenuSelectionManager.java:
5371 Ran through jalopy to fix formatting style.
5373 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5375 * javax/swing/JLayeredPane.java:
5376 (remove): Revalidate and repaint layered pane after
5377 the component was removed.
5378 javax/swing/JMenu.java:
5379 (setVisible): Display popup menu at the user location,
5380 if one was set by the user.
5381 (setMenuLocation): Reimplemented. Fixed javadoc.
5382 * javax/swing/JMenuBar.java: Added javadoc.
5383 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5384 (MODEL_CHANGED_PROPERTY): New Property.
5385 (isSelected): Implemented.
5386 (setBorderPainted): Fire PropertyChangeEvent
5387 if paintBorder property changes.
5388 (setSelected): Implemented.
5389 (setSelectionModel): Implemented.
5390 * javax/swing/JPopupMenu.java: Added Javadoc
5391 (pack): Implemented.
5392 (setVisible): Reimplemented.
5393 (show): Fixed location.
5394 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5395 Container instead of JPanel.
5396 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5397 (clearSelectedPath): Reimplemented to clear selectedPath
5399 (processMouseEvent): Reimplemented.
5400 (setSelectedPath): Fire stateChange event indicating that
5401 selected menu path has changed.
5402 (getPath): Change to use ArrayList instead of Vector.
5403 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5404 (installUI): call installKeyboardActions().
5405 (uninstallUI): call uninstallKeyboardActions().
5407 2004-06-13 Michael Koch <konqueror@gmx.de>
5409 * javax/swing/text/DefaultCaret.java,
5410 javax/swing/text/BadLocationException.java:
5413 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5415 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5416 DEFAULT_COLS): New variables.
5417 (create): Don't allow 0 rows or 0 columns. Instead, set the
5418 values to DEFAULT_ROWS or DEFAULT_COLS.
5419 (getMinimumSize): Likewise.
5420 (getPreferredSize): Likewise.
5421 (minimumSize): Likewise.
5422 (preferredSize): Likewise.
5423 (create): Set peer's editable state.
5424 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5425 zero. Update javadocs.
5426 (TextArea(String)): Likewise.
5427 (TextArea(int,int)): Fix javadocs.
5428 (TextArea(String,int,int,int)): Only throw exception if one of
5429 rows or columns is zero. Fix javadocs.
5431 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5433 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5434 addition to Components.
5436 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5437 wasn't consumed by normal processing, send it to the parent
5440 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5441 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5444 2004-06-11 David Jee <djee@redhat.com>
5446 * java/awt/MediaTracker.java
5447 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5448 (addImage(Image,int,int,int)): Likewise.
5450 2004-06-11 Michael Koch <konqueror@gmx.de>
5452 * javax/swing/text/AbstractDocument.java,
5453 javax/swing/text/Document.java,
5454 javax/swing/text/GapContent.java,
5455 javax/swing/text/JTextComponent.java,
5456 javax/swing/text/PlainDocument.java:
5459 2004-06-11 Michael Koch <konqueror@gmx.de>
5461 * javax/swing/JRootPane.java
5462 (AccessibleJRootPane.serialVersionUID): New field.
5463 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5464 (AccessibleJRootPane.getAccessibleRole): New method.
5465 (RootLayout): Implements Serializable.
5466 (RootLayout.serialVersionUID): New field.
5467 (RootLayout.RootLayout): New constructor.
5468 (setJMenuBar): Made public.
5469 (getJMenuBar): Likewise.
5470 (JRootPane): Likewise.
5471 (createContentPane): Likewise.
5472 (createGlassPane): Likewise.
5473 (createLayeredPane): Likewise.
5475 2004-06-11 Michael Koch <konqueror@gmx.de>
5477 * javax/swing/SwingUtilities.java
5478 (isLeftMouseButton): Fixed javadoc.
5479 (isMiddleMouseButton): Likewise.
5480 (isRightMouseButton): Likewise.
5482 2004-06-11 Michael Koch <konqueror@gmx.de>
5484 * javax/swing/JScrollPane.java
5485 (serialVersionUID): New field.
5486 (columnHeader): Made protected.
5487 (rowHeader): Likewise.
5488 (lowerLeft): Likewise.
5489 (lowerRight): Likewise.
5490 (upperLeft): Likewise.
5491 (upperRight): Likewise.
5492 (horizontalScrollBar): Likewise.
5493 (horizontalScrollBarPolicy): Likewise.
5494 (verticalScrollBar): Likewise.
5495 (verticalScrollBarPolicy): Likewise.
5496 (viewport): Likewise.
5498 2004-06-11 Michael Koch <konqueror@gmx.de>
5500 * javax/swing/LookAndFeel.java: Fixed javadocs.
5502 2004-06-11 Michael Koch <konqueror@gmx.de>
5504 * javax/swing/JEditorPane.java: Fixed javadocs.
5505 (JEditorPane): Removed redundant call to to this().
5506 (fireHyperlinkUpdate): Implemented.
5508 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5510 * javax/swing/JMenu.java: Fixed file name
5511 in the file comment.
5513 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5515 * javax/swing/JMenu.java: Added javadoc.
5516 (JMenu): Added MenuChangeListener to listen to
5517 ChangeEvents occuring in menu's model.
5518 (insert): Throw IllegalArgumentException if
5519 index is less than 0
5520 (setSelected): Reimplement.
5521 (setPopupMenuVisible): Call menu's model isEnabled()
5522 (setDelay): Throw IllegalArgumentException if
5523 given amount of delay is less than 0.
5524 (createActionComponent): Implemented.
5525 (createActionChangeListener): Implemented.
5526 (addSeparator): Implemented.
5527 (getItem): Throw IllegalArgumentException if index is
5529 (getItemCount): Implemented.
5530 (fireMenuSelected): Changed to use menuEvent.
5531 (fireMenuDeselected): Likewise.
5532 (fireMenuCanceled): Likewise.
5533 (setAccelerator): Changed to throw an error if this
5535 (doClick): Implemented.
5536 (JMenu.ActionChangedListener): New inner class to handle
5537 PropertyChangeEvents occuring in the actions associated with menu.
5538 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5539 (BasicMenuUI): Added PropertyChangeListener to the menu.
5540 (createChangeListener): Implemented.
5541 (createMenuDragMouseListener): Likewise.
5542 (createMenuKeyListener): Likewise.
5543 (createPropertyChangeListener): Likewise.
5544 (uninstallListeners): Likewise.
5545 (BasicMenuUI.MouseInputHandler): Reimplemented.
5546 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5547 (BasicMenuUI.ChangeHandler): Likewise.
5548 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5549 (BasicMenuUI.MenuKeyHandler): Likewise.
5551 2004-06-10 David Jee <djee@redhat.com>
5553 * java/awt/MediaTracker.java
5554 (imageUpdate): Only do notifyAll() if the image is complete.
5556 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5558 * javax/swing/JApplet.java:
5559 (getJMenuBar): Made public.
5560 (setJMenuBar): Likewise.
5561 * javax/swing/JFrame.java:
5562 (getJMenuBar): Made public.
5563 (setJMenuBar): Likewise.
5564 * javax/swing/JWindow.java:
5565 (getJMenuBar): Removed.
5566 (setJMenuBar): Removed.
5568 2004-06-10 Michael Koch <konqueror@gmx.de>
5570 * javax/swing/JEditorPane.java
5571 (createEditorKitForContentType): Fixed visibility.
5572 (fireHyperlinkUpdate): Likewise.
5573 (getContentType): Likewise.
5574 (getEditorKit): Likewise.
5575 (getEditorKitForContentType): Likewise.
5576 (getPage): Likewise.
5578 (registerEditorKitForContentTyoe): Likewise.
5579 (replaceSelection): Likewise.
5580 (setContentType): Likewise.
5581 (setEditorKit): Likewise.
5582 (setPage): Likewise.
5584 2004-06-10 Michael Koch <konqueror@gmx.de>
5586 * javax/swing/Timer.java
5587 (Timer): New constructor.
5588 * javax/swing/plaf/basic/BasicProgressBarUI.java
5589 (animationTimer): Don't initialize at construction.
5590 (startAnimationTimer): Added since tag.
5591 (stopAnimationTimer): Likewise.
5592 (installUI): Use new Timer constructor.
5593 * javax/swing/plaf/basic/BasicScrollBarUI.java
5594 (installUI): Likewise.
5595 * javax/swing/plaf/basic/BasicSliderUI.java
5596 (installUI): Likewise.
5598 2004-06-10 Michael Koch <konqueror@gmx.de>
5600 * javax/swing/ButtonGroup.java
5601 (serialVersionUID): Made private.
5602 (buttons): Renamed from v, added javadoc.
5603 (sel): Added javadoc.
5604 (ButtonGroup): Likewise.
5607 (getElements): Likewise.
5608 (getSelection): Likewise.
5609 (setSelected): Likewise.
5610 (isSelected): Likewise.
5611 (getButtonCount): Likewise.
5613 2004-06-10 Michael Koch <konqueror@gmx.de>
5615 * javax/swing/ButtonGroup.java,
5616 javax/swing/ImageIcon.java,
5617 javax/swing/JEditorPane.java,
5618 javax/swing/JRootPane.java,
5619 javax/swing/JTextField.java,
5620 javax/swing/LookAndFeel.java,
5621 javax/swing/plaf/basic/BasicTextUI.java:
5624 2004-06-10 Michael Koch <konqueror@gmx.de>
5626 * javax/swing/text/Style.java: Added javadocs.
5628 2004-06-10 Michael Koch <konqueror@gmx.de>
5630 * javax/swing/JComponent.java
5631 (fireVetoableChange): Removed redundant cast.
5632 * javax/swing/JLabel.java
5633 (getDisabledIcon): Save icon for next call.
5635 2004-06-10 Michael Koch <konqueror@gmx.de>
5637 * javax/swing/KeyStroke.java
5638 (getKeyStroke(char,boolean)): Marked deprecated.
5640 2004-06-10 Michael Koch <konqueror@gmx.de>
5642 * javax/swing/DefaultCellEditor.java,
5643 javax/swing/GrayFilter.java,
5644 javax/swing/event/DocumentEvent.java,
5645 javax/swing/text/JTextComponent.java,
5646 javax/swing/text/MutableAttributeSet.java:
5649 2004-06-10 Michael Koch <konqueror@gmx.de>
5651 * javax/swing/plaf/BorderUIResource.java:
5652 Added serialVersionUID all over.
5654 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5656 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5658 2004-06-10 Michael Koch <konqueror@gmx.de>
5660 * javax/swing/table/DefaultTableCellRenderer.java
5661 (noFocusBorder): Initialize directly.
5663 2004-06-10 Michael Koch <konqueror@gmx.de>
5665 * javax/swing/plaf/basic/BasicArrowButton.java
5666 (setDirection): Use method argument.
5668 2004-06-10 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/plaf/BorderUIResource.java,
5671 javax/swing/plaf/ComponentUI.java,
5672 javax/swing/undo/CompoundEdit.java,
5673 javax/swing/undo/StateEdit.java:
5674 Fixed javadocs all over.
5676 2004-06-10 Michael Koch <konqueror@gmx.de>
5678 * javax/swing/DefaultButtonModel.java
5679 (ARMED): Made public final, fixed value.
5680 (ENABLED): Likewise.
5681 (PRESSED): Likewise.
5682 (ROLLOVER): Likewise.
5683 (SELECTED): Likewise.
5684 (stateMask): Initialize directly.
5685 (listenerList): Likewise.
5686 (mnemonic): Likewise.
5687 (fireStateChanged): Removed argument, use changeEvent as event.
5688 All places where this method is called are fixed too.
5689 (getActionCommant): Fixed javadoc.
5690 (setGroup): Fixed javadoc.
5691 (getGroup): New method.
5693 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5695 * javax/swing/AbstractButton.java
5696 (AbstractButton): Use init() to initialize the button.
5697 (init): New Method. Initializes AbstractButton.
5698 * javax/swing/JMenuItem.java: Documented.
5699 (JMenuItem): Reimplemented.
5700 (init): Implemented.
5701 (setEnabled): Changed to call super.setEnabled()
5702 (processMouseEvent): Reimplemented.
5703 (fireMenuKeyPressed): Implemented.
5704 (fireMenuKeyReleased): Implemented.
5705 (fireMenuKeyTyped): Implemented.
5706 (menuSelectionChanged): disarm the model if the menu item was
5708 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5709 (getPath): Change to use ArrayList instead of Vector.
5710 (getPreferredSize): Renamed variable.
5711 (paintMenuItem): Paint margin area of menu item.
5712 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5713 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5714 menu item's bounds before clearing the selection.
5716 2004-06-09 David Jee <djee@redhat.com>
5718 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5719 (GtkTextComponentPeer): Set caret position to 0.
5720 * java/awt/TextComponent.java
5721 (setText): Set caret position to 0.
5722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5723 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5724 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5725 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5727 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5728 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5731 2004-06-09 Kim Ho <kho@redhat.com>
5733 * Makefile.am: New files
5734 * Makefile.in: Regenerated
5735 * java/awt/Container.java
5736 (getComponentAt): Removed.
5737 * javax/swing/AbstractAction.java
5738 (ENABLED_PROPERTY): New property.
5739 (putValue): Fire PropertyChangeEvents.
5740 (setEnabled): ditto.
5741 (firePropertyChange): Javadoc and implement
5743 * javax/swing/AbstractButton.java
5744 (setAction): Don't create PropertyChangeListener
5745 if new Action is null.
5746 (setIcon): Don't set icon till after comparing
5748 (configurePropertiesFromAction): Check mnemonic
5749 key before calling intValue().
5750 (createActionPropertyChangeListener): Check
5751 properties rather than bulk change.
5752 * javax/swing/DefaultDesktopManager.java:
5754 * javax/swing/DesktopManager.java:
5756 * javax/swing/JComponent.java
5757 (fireVetoableChange): Implement.
5758 (paintImmediately): Use root component.
5759 * javax/swing/JDesktopPane.java: Implement
5760 * javax/swing/JInternalFrame.java: Implement
5761 * javax/swing/JLabel.java
5762 (getDisabledIcon): Return grayscaled icon if
5763 no disabled icon specified.
5764 * javax/swing/JMenuBar.java
5765 (getComponentAtIndex): Use getComponent
5766 * javax/swing/JOptionPane.java
5767 (getDesktopPaneForComponent): Use SwingUtilities'
5769 (getFrameForComponent): ditto.
5770 * javax/swing/JSplitPane.java
5771 (remove): Use getComponent.
5772 * javax/swing/SwingUtilities.java
5773 (convertPoint): Implement.
5774 * javax/swing/plaf/basic/BasicButtonUI.java
5775 (paintButtonNormal): Check opaqueness before
5777 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5779 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5781 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5783 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5785 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5786 Change InternalFrame and Desktop colors.
5788 2004-06-09 David Jee <djee@redhat.com>
5790 * java/awt/Container.java
5791 (remove): Do not set component to invisible.
5793 2004-06-09 Michael Koch <konqueror@gmx.de>
5795 * javax/swing/tree/DefaultMutableTreeNode.java
5796 (getLeafCount): Renamed enum to e.
5798 2004-06-09 Michael Koch <konqueror@gmx.de>
5800 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5801 (positionForMouseEvent): Removed redundant semicolon.
5802 (continueDrag): Use method arguments.
5804 2004-06-09 Michael Koch <konqueror@gmx.de>
5806 * javax/swing/border/TitledBorder.java,
5807 javax/swing/filechooser/FileSystemView.java,
5808 javax/swing/plaf/basic/BasicButtonListener.java,
5809 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5810 javax/swing/plaf/basic/BasicLabelUI.java,
5811 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5812 javax/swing/plaf/basic/BasicScrollBarUI.java,
5813 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5814 javax/swing/plaf/basic/BasicSliderUI.java,
5815 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5816 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5817 javax/swing/table/JTableHeader.java,
5818 javax/swing/text/AbstractDocument.java,
5819 javax/swing/text/DefaultCaret.java,
5820 javax/swing/text/StyledEditorKit.java,
5821 javax/swing/tree/DefaultTreeCellEditor.java:
5822 Reworked import statements.
5824 2004-06-08 Graydon Hoare <graydon@redhat.com>
5826 * javax/swing/Box.java: Temporarily comment out code
5827 broken due to visibility bug.
5829 2004-06-09 Michael Koch <konqueror@gmx.de>
5831 * javax/swing/ImageIcon.java
5832 (ImageIcon): Added missing constructor.
5834 2004-06-08 Michael Koch <konqueror@gmx.de>
5836 * javax/swing/JToggleButton.java
5837 (JToggleButton): New constructor.
5838 (getAccessibleContext): Moved documentation into javadoc.
5839 (getUIClassID): Likewise.
5841 2004-06-08 Michael Koch <konqueror@gmx.de>
5843 * javax/swing/AbstractButton.java
5844 (getDisabledIcon): Create disabled icon if none exists yet.
5846 2004-06-08 Michael Koch <konqueror@gmx.de>
5848 * javax/swing/plaf/basic/BasicLookAndFeel.java
5849 (initClassDefaults): Added FormattedTextFieldUI.
5850 (loadResourceBundle): Renamed enum to e.
5852 2004-06-08 Michael Koch <konqueror@gmx.de>
5854 * javax/swing/plaf/basic/BasicButtonUI.java
5855 (paintIcon): Simplified.
5856 (paintText): Paint disabled button correctly.
5858 2004-06-08 Michael Koch <konqueror@gmx.de>
5860 * javax/swing/JComponent.java
5861 (createToolTip): Use official JToolTip API.
5863 2004-06-08 Michael Koch <konqueror@gmx.de>
5865 * javax/swing/JToolTip.java
5866 (JToolTip): No arguments in API.
5867 (setTipText): New method.
5869 2004-06-08 Michael Koch <konqueror@gmx.de>
5871 * javax/swing/SwingUtilities.java
5872 (isLeftMouseButton): New method.
5873 (isMiddleMouseButton): New method.
5874 (isRightMouseButton): New method.
5876 2004-06-08 Michael Koch <konqueror@gmx.de>
5878 * javax/swing/AbstractButton.java,
5879 javax/swing/CellRendererPane.java,
5880 javax/swing/JCheckBoxMenuItem.java,
5881 javax/swing/JColorChooser.java,
5882 javax/swing/JComboBox.java,
5883 javax/swing/JComponent.java,
5884 javax/swing/JDesktopPane.java,
5885 javax/swing/JFileChooser.java,
5886 javax/swing/JMenu.java,
5887 javax/swing/JMenuItem.java,
5888 javax/swing/JOptionPane.java,
5889 javax/swing/JPasswordField.java,
5890 javax/swing/JPopupMenu.java,
5891 javax/swing/JProgressBar.java,
5892 javax/swing/JRadioButtonMenuItem.java,
5893 javax/swing/JScrollBar.java,
5894 javax/swing/JSeparator.java,
5895 javax/swing/JSlider.java,
5896 javax/swing/JSplitPane.java,
5897 javax/swing/JTabbedPane.java,
5898 javax/swing/JTextField.java,
5899 javax/swing/JToolBar.java,
5900 javax/swing/text/JTextComponent.java:
5901 Fixed all constructors of accessibility classes.
5903 2004-06-08 Michael Koch <konqueror@gmx.de>
5905 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5908 2004-06-08 Michael Koch <konqueror@gmx.de>
5910 * javax/swing/Box.java
5911 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5912 (AccessibleBoxFiller.serialVersionUID): New member variable.
5913 * javax/swing/DefaultButtonModel.java
5914 (stateMask): Made protected.
5915 (listenerList): Likewise.
5916 (changeEvent): Likewise.
5918 (mnemonic): Likewise.
5919 (actionCommand): Likewise.
5920 (getListeners): New method.
5921 (getActionListeners): New method.
5922 (getItemListeners): New method.
5923 (getChangeListeners): New method.
5924 (fireItemStateChanged): Simplified.
5925 (fireActionPerformed): Simplified.
5926 (fireStateChanged): Simplified.
5927 * javax/swing/JFrame.java
5928 (JFrame): Implements WindowContants.
5929 (HIDE_ON_CLOSE): Removed.
5930 (EXIT_ON_CLOSE): Removed.
5931 (DISPOSE_ON_CLOSE): Removed.
5932 (DO_NOTHING_ON_CLOSE): Removed.
5933 (processWindowEvent): Exit with code 0.
5934 (setDefaultCloseOperation): Do security check before setting value.
5935 * javax/swing/JOptionPane.java
5936 (message): Initialize only in constructor.
5937 * javax/swing/JToolTip.java: Removed unused imports.
5938 * javax/swing/JViewport.java
5939 (serialVersionUID): New member variable.
5940 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5941 (BLIT_SCROLL_MODE): Likewise.
5942 (BACKINGSTORE_SCROLL_MODE): Likewise.
5943 (scrollUnderway): Made protected.
5944 (isViewSizeSet): Likewise.
5945 * javax/swing/ListModel.java: Fixed javadoc.
5946 * javax/swing/Popup.java: Likewise.
5947 * javax/swing/RepaintManager.java
5948 (paintDirtyRegions): Don't use internal classes of
5949 java.util.AbstractMap.
5950 * javax/swing/ScrollPaneConstants.java: Reindented.
5951 * javax/swing/ScrollPaneLayout.java
5952 (viewport): Made protected.
5953 (verticalScrollBar): Made protected, renamed to vsb.
5954 (horizontalScrollBar): Made protected, renamed to hsb.
5955 (rowHeader): Made protected, renamed to rowHead.
5956 (columnHeader): Made protected, renamed to colHead.
5957 (lowerLeft): Made protected.
5958 (lowerRight): Made protected.
5959 (upperLeft): Made protected.
5960 (upperRight): Made protected.
5961 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5962 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5964 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5966 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5967 LOADING if flags has SOMEBITS set.
5969 2004-06-07 Michael Koch <konqueror@gmx.de>
5971 * javax/swing/AbstractButton.java: Reorganized imports.
5972 * javax/swing/ActionMap.java: Likewise.
5973 * javax/swing/DefaultButtonModel.java: Likewise.
5974 * javax/swing/DefaultListModel.java: Likewise.
5975 * javax/swing/ImageIcon.java: Likewise.
5976 (serialVersionUID): New member variable.
5977 * javax/swing/JComboBox.java: Reorganized imports.
5978 * javax/swing/JComponent.java: Likewise.
5979 (ui): Made protected.
5980 (listenerList): Made protected.
5981 (TOOL_TIP_TEXT_KEY): New constant.
5982 (scrollRectToVisible): Removed redundant null check.
5983 * javax/swing/JFrame.java: Reorganized imports.
5984 * javax/swing/JInternalFrame.java: Reorganized imports.
5985 * javax/swing/JProgressBar.java: Likewise.
5986 * javax/swing/JRootPane.java: Likewise.
5987 * javax/swing/JScrollBar.java: Likewise.
5988 * javax/swing/JSeparator.java: Likewise.
5989 * javax/swing/JSlider.java: Likewise.
5990 * javax/swing/JTabbedPane.java: Likewise.
5991 * javax/swing/JTextField.java: Likewise.
5992 * javax/swing/JToolBar.java: Likewise.
5993 * javax/swing/JTree.java: Likewise.
5994 * javax/swing/JViewport.java: Likewise.
5995 * javax/swing/JWindow.java: Likewise.
5996 * javax/swing/KeyStroke.java: Likewise.
5997 * javax/swing/LookAndFeel.java: Likewise.
5998 * javax/swing/MenuSelectionManager.java: Likewise.
5999 * javax/swing/SwingUtilities.java: Likewise.
6000 * javax/swing/Timer.java: Likewise.
6001 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6002 * javax/swing/JList.java
6003 (HORIZONTAL_WRAP): Made final, fixed value.
6004 (VERTICAL): Likewise.
6005 (VERTICAL_WRAP): Likewise.
6007 2004-06-07 Michael Koch <konqueror@gmx.de>
6009 * javax/swing/AbstractButton.java
6010 (serialVersionUID): New member variable.
6011 (AccessibleAbstractButton.serialVersionUID): Likewise.
6012 (AbstractButton): Made public.
6013 * javax/swing/Box.java
6014 (AccessibleBox.serialVersionUID): New member variable.
6015 (Filler.serialVersionUID): Likewise.
6016 * javax/swing/DefaultListSelectionModel.java
6017 (serialVersionUID): Likewise.
6018 * javax/swing/JApplet.java
6019 (serialVersionUID): Likewise.
6020 * javax/swing/JCheckBox.java
6021 (serialVersionUID): Likewise.
6022 * javax/swing/JCheckBoxMenuItem.java
6023 (serialVersionUID): Likewise.
6024 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6025 * javax/swing/JColorChooser.java
6026 (serialVersionUID): Likewise.
6027 (AccessibleJColorChooser.serialVersionUID): Likewise.
6028 * javax/swing/JComponent.java
6029 (serialVersionUID): Made private.
6030 (AccessibleJComponent.serialVersionUID): New member variable.
6031 * javax/swing/JDesktopPane.java
6032 (serialVersionUID): Likewise.
6033 * javax/swing/JDialog.java
6034 (serialVersionUID): Likewise.
6035 * javax/swing/JFormattedTextField.java
6036 (serialVersionUID): Fixed value.
6037 * javax/swing/JFrame.java
6038 (serialVersionUID): New member variable.
6039 (getDefaultCloseOpertation): Made public.
6040 * javax/swing/JLayeredPane.java
6041 (serialVersionUID): Likewise.
6042 (LAYER_PROPERTY): Made final, fixed value.
6043 (JLayeredPane): Made public.
6044 * javax/swing/JMenu.java
6045 (AccessibleJMenu.serialVersionUID): New member variable.
6046 (WinListener.serialVersionUID): Likewise.
6047 * javax/swing/JMenuBar.java
6048 (serialVersionUID): Likewise.
6049 (getComponentAtIndex): Added @deprecated tag.
6050 * javax/swing/JMenuItem.java
6051 (serialVersionUID): New member variable.
6052 (AccessibleJMenuItem.serialVersionUID): Likewise.
6053 * javax/swing/JOptionPane.java
6054 (serialVersionUID): Likewise.
6055 (AccessibleJOptionPane.serialVersionUID): Likewise.
6056 * javax/swing/JPopupMenu.java
6057 (serialVersionUID): Likewise.
6058 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6059 (getPopupMenuListeners): New method.
6060 (getComponentAtIndex): Added @deprecated tag.
6061 * javax/swing/JProgressBar.java
6062 (serialVersionUID): New member variable.
6063 (AccessibleJProgressBar.serialVersionUID): Likewise.
6064 * javax/swing/JRadioButton.java
6065 (serialVersionUID): Likewise.
6066 * javax/swing/JRadioButtonMenuItem.java
6067 (serialVersionUID): Likewise.
6068 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6069 * javax/swing/JScrollBar.java
6070 (serialVersionUID): Likewise.
6071 (AccessibleJScrollBar.serialVersionUID): Likewise.
6072 * javax/swing/JSeparator.java
6073 (serialVersionUID): Likewise.
6074 (AccessibleJSeparator.serialVersionUID): Likewise.
6075 * javax/swing/JSlider.java: Fixed javadocs.
6076 (AccessibleJSlider.serialVersionUID): New member variable.
6077 * javax/swing/JSplitPane.java: Added copyright statement.
6078 (serialVersionUID): New member variable.
6079 (AccessibleJSplitPane.serialVersionUID): Likewise.
6080 * javax/swing/JTabbedPane.java
6081 (serialVersionUID): Likewise.
6082 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6083 (ModelListener.serialVersionUID): Likewise.
6084 (ModelListener.ModelListener): New constructor.
6085 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6086 (WRAP_TAB_LAYOUT): Likewise.
6087 * javax/swing/JTable.java
6088 (serialVersionUID): New member variable.
6089 * javax/swing/JToggleButton.java
6090 (serialVersionUID): Likewise.
6091 (ToggleButtonModel): Made static.
6092 (ToggleButtonModel.serialVersionUID): New member variable.
6093 * javax/swing/JToolTip.java
6094 (serialVersionUID): Likewise.
6095 * javax/swing/JTree.java
6096 (serialVersionUID): Likewise.
6097 * javax/swing/JWindow.java
6098 (serialVersionUID): Likewise.
6099 * javax/swing/Timer.java
6100 (serialVersionUID): Likewise.
6102 2004-06-06 Michael Koch <konqueror@gmx.de>
6104 * javax/swing/SwingConstants.java
6105 (NEXT): New constant.
6106 (PREVIOUS): Likewise.
6107 * javax/swing/UIManager.java
6108 (LookAndFeel): Made public.
6109 (LookAndFeel.getClassName): Likewise.
6110 (LookAndFeel.getName): Likewise.
6112 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6114 * javax/swing/JCheckBoxMenuItem.java:
6116 * javax/swing/JMenu.java: Likewise.
6117 * javax/swing/JMenuBar.java: Likewise.
6118 * javax/swing/JMenuItem.java: Likewise.
6119 * javax/swing/JPopupMenu.java: Likewise.
6120 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6121 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6122 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6123 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6124 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6125 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6126 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6128 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6130 * javax/swing/plaf/basic/BasicMenuUI.java:
6131 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6132 Call getPath() from super class instead.
6134 2004-05-31 David Jee <djee@redhat.com>
6136 * java/awt/Container.java
6137 (remove): Set component visibility to false after removing it.
6139 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6141 * java/awt/Component.java (getForeground): Return SystemColor if
6143 (getBackground): Likewise.
6145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6146 (item_highlighted): New function.
6147 (connectSignals): Set item_highlighted as list's select
6150 * java/applet/Applet.java: Revert changes from 2004-04-29,
6151 2004-03-15 and 2004-03-14.
6153 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6154 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6157 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6158 "Dialog" as the default font.
6159 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6161 * java/awt/Component.java (getFont): Return "Dialog" font by
6163 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6164 Multiply size argument to pango_font_description_set_size by the
6165 DPI conversion factor rather than by PANGO_SCALE.
6166 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6168 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6170 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6173 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6175 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6176 Divide baseline y coordinate by DPI conversion factor rather
6177 than by PANGO_SCALE.
6178 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6179 (area_prepared): Fix typo.
6180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6181 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6183 (dpi_conversion_factor): New global variable.
6184 (init_dpi_conversion_factor): New function to calculate and
6185 track DPI conversion factor.
6186 (dpi_changed_cb): New callback.
6187 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6189 2004-05-27 David Jee <djee@redhat.com>
6191 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6192 (getGraphics): Return a new GdkGraphics instance.
6193 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6194 (getGraphics): Call super.getGraphics().
6196 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6199 (setNativeBounds): Clamp width and height values to >= 0.
6201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6202 (find_fg_color_widget): Handle GtkOptionMenu specially.
6204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6205 (pre_event_handler): Only post configure events to visible
6208 2004-05-26 David Jee <djee@redhat.com>
6210 * java/awt/BorderLayout.java
6211 (layoutContainer): Fix size calculations.
6213 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6216 (window_wm_protocols_filter): Remove function.
6217 (create): Remove filter that removes WM_TAKE_FOCUS client
6220 2004-06-17 Anthony Green <green@redhat.com>
6222 * java/util/zip/ZipFile.java (getInputStream): Return null if
6225 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6226 directory contents to the class path.
6228 2004-06-15 Andrew Haley <aph@redhat.com>
6230 * java/lang/natSystem.cc (getenv0): Don't assume environment
6231 variable is Latin 1 coded.
6233 2004-06-14 Andreas Jaeger <aj@suse.de>
6235 * configure.in: Support --enable-version-specific-runtime-libs.
6236 * configure: Regenerated.
6238 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6240 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6241 to pass ClassLoader argument.
6242 * java/util/GregorianCalendar.java: Likewise.
6243 * java/util/Currency.java: Likewise.
6244 * java/text/BreakIterator.java: Likewise.
6245 * java/text/Collator.java: Likewise.
6246 * java/text/DateFormat.java: Likewise.
6247 * java/text/DateFormatSymbols.java: Likewise.
6248 * java/text/DecimalFormatSymbols.java: Likewise.
6249 * java/text/NumberFormat.java: Likewise.
6250 * java/awt/Window.java: Likewise.
6252 2004-06-14 Andrew Haley <aph@redhat.com>
6254 * java/lang/System.java: (getenv0): New method.
6255 (getenv): Add security check. Do the right thing.
6256 * java/lang/natSystem.cc (getenv0): New method.
6258 2004-06-12 Mark Wielaard <mark@klomp.org>
6260 * javax/swing/RepaintManager.java
6261 (paintDirtyRegions): Use entrySet(), not values().
6263 2004-06-10 Mark Wielaard <mark@klomp.org>
6265 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6268 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6270 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6271 when we already know the answer.
6272 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6273 (setStartRule,setEndRule): Don't take abs of day number.
6274 (getOffset): Clarify docs. Add argument checks.
6275 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6276 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6279 2004-06-10 Tom Tromey <tromey@redhat.com>
6281 * interpret.cc (run): Handle wide fload.
6283 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6285 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6287 2004-06-05 Michael Koch <konqueror@gmx.de>
6289 * javax/swing/SwingConstants.java
6290 (NEXT): New constant.
6291 (PREVIOUS): Likewise.
6293 2004-06-05 Michael Koch <konqueror@gmx.de>
6295 * javax/swing/UIManager.java
6296 (LookAndFeel): Made public.
6297 (LookAndFeel.getName): Likewise.
6298 (LookAndFeel.getClassName): Likewise.
6300 2004-06-03 Michael Koch <konqueror@gmx.de>
6302 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6303 (requestFocus): Revert last changes.
6304 (gtkRequestFocus): Removed.
6305 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6306 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6308 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6309 Reverted last patch.
6310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6311 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6312 Reverted comment change.
6314 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6316 * javax/swing/JCheckBoxMenuItem.java:
6318 * javax/swing/JMenu.java: Likewise.
6319 * javax/swing/JMenuBar.java: Likewise.
6320 * javax/swing/JMenuItem.java: Likewise.
6321 * javax/swing/JPopupMenu.java: Likewise.
6322 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6323 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6324 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6325 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6326 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6327 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6328 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6330 2004-06-01 Tom Tromey <tromey@redhat.com>
6332 * java/io/ObjectStreamField.java: Cleaned up imports.
6334 2004-06-01 Michael Koch <konqueror@gmx.de>
6336 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6338 2004-06-01 Mark Wielaard <mark@klomp.org>
6340 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6342 2004-06-01 Michael Koch <konqueror@gmx.de>
6344 * java/security/Security.java
6345 (insertProviderAt): Use equals() instead of ==.
6346 (removeProvicer): Likewise.
6347 (getProvider): Likewise.
6348 * java/security/Signature.java
6349 (sign): Don't set state to UNINITIALIZED.
6352 2004-06-01 Mark Wielaard <mark@klomp.org>
6354 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6355 Implement by calling gtkRequestFocus.
6356 (gtkRequestFocus): New native method.
6357 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6358 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6360 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6362 (filter_expose_event_handler):
6364 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6365 (menu_pos): Mark static.
6367 2004-06-01 Michael Koch <konqueror@gmx.de>
6369 * java/text/CollationElementIterator.java,
6370 java/text/CollationKey.java,
6371 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6372 * testsuite/libjava.mauve/xfails: Removed all
6373 java.text.CollationElementIterator tests.
6375 2004-06-01 Michael Koch <konqueror@gmx.de>
6377 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6379 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6380 Java 1.5 keyword usage.
6382 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6384 * javax/swing/plaf/basic/BasicMenuUI.java:
6385 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6386 Call getPath() from super class instead.
6388 2004-05-31 Michael Koch <konqueror@gmx.de>
6390 * java/io/SequenceInputStream.java:
6391 Rename enum to e because enum is a keyword in Java 1.5.
6393 2004-05-31 Michael Koch <konqueror@gmx.de>
6395 * gnu/java/rmi/rmic/CompilerProcess.java:
6396 Fixed javadoc to by XHTML compliant.
6398 2004-05-30 Mark Wielaard <mark@klomp.org>
6400 * java/awt/Toolkit.java (loadSystemColors): Implement.
6402 2004-05-30 Michael Koch <konqueror@gmx.de>
6404 * java/lang/System.java: Reordered imports.
6406 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6408 * java/text/DecimalFormat.java
6409 (parse): Fixed parsing of decimal strings. Number of maximum
6410 digits to be read should now work.
6411 * java/text/SimpleDateFormat.java
6412 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6413 formatter. This fixes DateFormatTest.
6415 2004-05-30 Michael Koch <konqueror@gmx.de>
6417 * java/nio/Buffer.java
6418 (limit): Fixed off by one error.
6419 * java/nio/CharBuffer.java
6420 (wrap): Fixed arguments, added javadocs.
6422 2004-05-30 Michael Koch <konqueror@gmx.de>
6424 * gnu/java/beans/BeanInfoEmbryo.java,
6425 java/awt/im/InputContext.java,
6426 javax/swing/tree/DefaultMutableTreeNode.java:
6427 Rename enum to e because enum is a keyword in Java 1.5.
6429 2004-05-30 Michael Koch <konqueror@gmx.de>
6431 * gnu/java/math/MPN.java,
6432 java/awt/geom/Arc2D.java:
6433 Fixed javadocs all over.
6435 2004-05-30 Michael Koch <konqueror@gmx.de>
6437 * java/awt/DefaultKeyboardFocusManager.java
6438 (dispatchEvent): Call method to get key event dispatchers.
6439 (dispatchKeyEvent): Call method to get key event post processors.
6440 * javax/swing/JComponent.java
6441 (listenerList): Made protected.
6442 * javax/swing/JOptionPane.java
6443 (message): Don't initialize.
6444 (JOptionPane): Set message text.
6445 * javax/swing/JPopupMenu.java
6446 (show): Fixed typo in argument name.
6447 * javax/swing/RepaintManager.java
6448 (paintDirtyRegions): Use public API of java.util.Map.
6449 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6450 (positionForMouseEvent): Removed redundant ';'.
6451 (continueDrag): Use method arguments.
6453 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6455 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6458 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6460 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6462 * gnu/gcj/RawDataManaged.java: New file.
6463 * java/lang/Thread.java (data): Declare as RawDataManaged.
6464 * java/lang/natThread.cc (init_native): Cast natThread data to
6465 RawDataManaged, not jobject.
6466 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6467 * Makefile.in: Rebuilt.
6469 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6471 * java/util/SimpleTimeZone.java: Reverting my last change until I
6472 can fix it properly.
6474 2004-05-27 Michael Koch <konqueror@gmx.de>
6476 * javax/swing/JPopupMenu.java
6477 (isVisible): Do not use visible directly.
6478 (setVisible): Likewise.
6479 * javax/swing/JWindow.java
6480 (JWindow): call accessible constructor.
6481 * javax/swing/RepaintManager.java
6482 (paintDirtyRegions): Use public methods to obtain iterator.
6484 2004-05-25 David Jee <djee@redhat.com>
6486 * java/awt/Container.java
6487 (remove): Set component's parent to null only after we removed the
6488 component from its parent's layout manager.
6490 2004-05-25 David Jee <djee@redhat.com>
6492 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6493 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6495 * gnu/java/awt/peer/gtk/GtkListPeer.java
6496 (getSize): Change native method declaration.
6497 (minimumSize): Pass visible row count into getSize().
6498 (preferredSize): Likewise.
6499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6500 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6501 natural size. Use visible row count to determine the final height
6504 2004-05-21 Graydon Hoare <graydon@redhat.com>
6506 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6507 (setClip): Minor correction to order of operations.
6509 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6510 * javax/swing/ScrollPaneLayout.java: Likewise.
6511 * javax/swing/JViewPort.java: Likewise.
6512 * javax/swing/ViewportLayout.java: Likewise.
6514 * javax/swing/JComponent.java: Rewrite.
6515 * javax/swing/RepaintManager.java: Likewise.
6517 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6518 * javax/swing/JList.java
6519 (setSelectedIndices):
6520 (getSelectedIndices):
6521 (getSelectedValues): New functions.
6522 (getPreferredScrollableViewportSize): Return preferred size.
6523 (getScrollableUnitIncrement):
6524 (getScrollableBlockIncrement): Initial implementations.
6525 * javax/swing/JRootPane.java: Clean up slightly.
6530 (isValidateRoot): Add overrides from JComponent.
6531 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6532 * javax/swing/UIManager.java (getDimension): Return the dimension.
6534 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6535 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6536 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6537 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6538 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6539 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6540 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6541 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6542 Likewise, and set background.
6543 * javax/swing/plaf/basic/BasicListUI.java:
6544 Likewise, and improve a bit.
6545 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6546 Likewise, and adjust calculations.
6547 * javax/swing/plaf/basic/BasicViewportUI.java:
6548 Likewise, and improve a bit.
6549 * javax/swing/plaf/basic/BasicLookAndFeel.java
6550 (Button.margin): Shrink.
6552 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6553 Hack to set horizontal always, workaround pango.
6555 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6557 Synchronize more often, check cairo status after ops,
6558 handle changes to cairo pattern API, check for disposal.
6560 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6562 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6563 (BasicMenuItemUI): Create propertyChangeListener.
6564 (getPath):Implemented.
6565 (installListeners): Add propertyChangeListener to menuItem.
6566 (uninstallListeners): Remove propertyChangeListener from menuItem.
6567 (update): Implemented.
6568 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6569 (mouseEntered): Take insets of popup menu into account when
6570 calculating position of popup menu.
6572 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6574 * Makefile.am: Added new file.
6575 * Makefile.in: Regenerate.
6576 * javax/swing/JMenuBar.java:
6577 Started implementation.
6578 * javax/swing/JPopupMenu.java:
6579 (setVisible): Fixed location of lightweight/mediumweight
6581 (show): Fixed location of PopupMenu.
6582 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6583 New file. UI Delegate for JMenuBar.
6584 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6585 (mouseEntered): Corrected position of the submenu.
6587 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6590 to _gtk_accel_group_attach.
6591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6594 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6595 package access. Don't override setFont.
6596 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6597 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6598 gtkWidgetRequestFocus package access.
6599 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6601 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6602 Give gtkWidgetRequestFocus package access.
6603 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6604 gtkWidgetRequestFocus package access. Don't override setFont.
6605 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6608 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6610 (gtkSetFont): Likewise.
6611 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6614 (gtkSetFont): Whitespace fix.
6616 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6617 (gtkWidgetSetUsize): Remove method.
6619 2004-05-18 David Jee <djee@redhat.com>
6621 * java/awt/image/MemoryImageSource.java
6622 (newPixels(int,int,int,int,boolean)): Set only the specified
6623 rectangle of pixels.
6624 (newPixels(byte[],ColorModel,int,int)): Implement.
6625 (newPixels(int[],ColorModel,int,int)): Implement.
6627 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6629 * Makefile.am: Added new file.
6630 * Makefile.in: Regenerate.
6631 * javax/swing/JMenu.java: Started
6633 * javax/swing/JPopupMenu.java:
6634 (insert): If specified index is -1, then
6635 add component at the end.
6636 (isPopupTrigger): Reimplemented.
6637 (JPopupMenu.LightWeightPopup): setBounds
6638 of the lightWeightPopup before adding it
6640 (javax/swing/plaf/basic/BasicIconFactory.java):
6641 (getMenuArrowIcon): Implemented.
6642 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6643 (getPreferredSize): Add size of the arrow icon
6644 if this menu item is instance of JMenu.
6645 (paintMenuItem): Paint arrow icon if this
6646 menu item is a submenu.
6647 * javax/swing/plaf/basic/BasicMenuUI.java:
6648 New File. UI Delegate for JMenu.
6650 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6652 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6653 Post KEY_TYPED events.
6654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6655 (generates_key_typed_event): Remove function.
6657 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6659 * javax/swing/JRootPane.java
6660 (JRootPane.RootLayout): Reimplemented to
6661 set bounds of contentPane and menuBar.
6662 (setJMenuBar): Add menu bar to the layered pane.
6663 (createLayeredPane): Set layout of layeredPane
6665 * javax/swing/JLayeredPane.java:
6666 (addImpl): Calculate index of the component in the
6667 layeredPane according to the specified position within
6670 2004-05-17 David Jee <djee@redhat.com>
6672 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6673 (setPixels): Change color model to the default model after
6675 * java/awt/image/MemoryImageSource.java
6676 (newPixels): Set only the specified rectangle of pixels.
6678 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6680 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6681 -l-java-beans -l-javax-accessibility -l-javax-swing.
6683 * java/awt/AWTEvent.java (toString): Print source's name rather
6684 than the source itself.
6686 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6688 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6691 (gdk_color_to_java_color): New function.
6692 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6694 2004-05-12 David Jee <djee@redhat.com>
6696 * java/awt/image/RGBImageFilter.java:
6697 Initialize origmodel as null.
6698 (makeColor): Fix pixel component order.
6699 (filterRGBPixels): Fix pixel iteration.
6700 (setPixels): Add extra checks for index color model. Convert pixels
6701 to default color model if necessary.
6702 (convertColorModelToDefault): New override method for byte pixels.
6703 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6704 (makeColorbyDefaultCM): New override method for byte pixels.
6705 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6706 (makeColor): Fix pixel component order.
6708 2004-05-11 Kim Ho <kho@redhat.com>
6710 * javax/swing/Box.java:
6711 Comment out more parts of Box.Filler.
6713 2004-05-11 Kim Ho <kho@redhat.com>
6715 * javax/swing/Box.java:
6716 Remove reference to AccessibleAWTComponent so
6719 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6721 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6722 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6723 implementation of list peer to use GtkTreeView instead of
6724 deprecated GtkCList.
6726 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6728 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6729 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6730 (handleEvent): Remove keyChar argument to
6731 gtkWidgetDispatchKeyEvent calls.
6732 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6739 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6741 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6742 (gtkWidgetRequestFocus): Mark protected.
6743 (GtkComponentPeer): Only set the peer's bounds if its component
6745 * java/awt/Component.java (static): Set the default keyboard
6747 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6748 requestFocusInWindow(temporary)): Don't request focus if the
6749 component is not showing. Get tree lock before traversing
6750 component hierarchy.
6751 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6752 Only set the global focus owner if it is not a Window.
6753 (processKeyEvent): Consume keystrokes associated with the focus
6754 traversal keystroke.
6755 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6756 downFocusCycle): Call requestFocusInWindow instead of
6758 * java/awt/EventDispatchThread.java (run): Move setting of
6759 default keyboard focus manager to Component.java.
6760 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6761 (awt_keycode_to_keysym): New function.
6762 (gtkWidgetDispatchKeyEvent): Finish implementation.
6763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6764 (pre_event_handler): Add FIXME comment.
6766 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6767 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6768 (gtkWidgetRequestFocus): New method.
6769 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6770 disable Tab and Shift-Tab keystrokes.
6771 (addNotify, appendText, insertText, replaceText): Simplify peer
6773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6774 (connectSignals): Remove connections to "commit" signals.
6775 Remove C++-style comments.
6777 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6778 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6779 (handleEvent): Activate GTK button when the space bar key is
6781 (gtkActivate): New method.
6783 2004-05-06 David Jee <djee@redhat.com>
6785 * java/awt/image/CropImageFilter.java
6786 (setPixels): Implement for byte array pixels.
6787 * java/awt/image/ReplicateScaleFilter.java
6788 (setPixels): Implement for byte array pixels.
6789 (replicatePixels): Overload for byte array pixels.
6791 2004-05-06 Kim Ho <kho@redhat.com>
6793 * javax/swing/Box.java:
6794 (getAccessibleContext): Return an instance of the
6797 2004-05-05 David Jee <djee@redhat.com>
6799 * gnu/java/awt/peer/gtk/GdkGraphics.java
6800 (drawImage): When component is null, use SystemColor.window as
6801 the default bgcolor.
6802 * gnu/java/awt/peer/gtk/GtkImage.java
6803 (setPixels): We can avoid iterating through the pixel rows only
6805 * java/awt/Image.java
6806 (getScaledInstance): Partially implement.
6807 * java/awt/image/CropImageFilter.java
6808 (setProperties): Fix "filter" property.
6809 (setPixels): Implement.
6810 * java/awt/image/ReplicateScaleFilter.java
6811 (setDimensions): Use scaled dimensions.
6812 (setPixels): Implement.
6813 (replicatePixels): New method.
6815 2004-05-05 David Jee <djee@redhat.com>
6817 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6818 (convertPixels): If either pixels or model is null, return null.
6819 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6820 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6821 is null, do nothing and return.
6823 2004-05-03 Kim Ho <kho@redhat.com>
6825 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6826 (getGraphics): Like GtkFramePeer, the Graphics
6827 object needs to be translate to account for
6829 (postMouseEvent): New method. Account for
6831 (postExposeEvent): ditto.
6832 * javax/swing/Box.java: Stubbed.
6833 * javax/swing/JDialog.java: Ran through jalopy
6835 (JDialog): Call SwingUtilities' getOwnerFrame
6837 (setLayout): Check isRootPaneCheckingEnabled
6838 * javax/swing/JOptionPane.java: Re-implemented.
6839 * javax/swing/SwingUtilities.java:
6840 (getOwnerFrame): Static method to grab a default
6841 owner frame for Dialogs that don't specify owners.
6842 * javax/swing/event/SwingPropertyChangeSupport.java:
6843 (firePropertyChange): Fix early exit condition.
6844 * javax/swing/plaf/basic/BasicLabelUI.java:
6845 (paint): Avoid painting text if it is null
6847 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6850 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6852 * Makefile.am: Added new file.
6853 * Makefile.in: Regenerate.
6854 * javax/swing/JPopupMenu.java:
6855 Started implementation.
6856 * javax/swing/JWindow.java
6857 (JWindow): call super() if parent for window
6859 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6860 New File. UI Delegate for JPopupMenu.
6862 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6864 * javax/swing/JApplet.java: Indicated that JApplet
6865 implements RootPaneContainer and made method of this
6867 * javax/swing/JFrame.java: Ditto.
6868 * javax/swing/JWindow.java: Ditto.
6870 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6872 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6873 (nativeSetBounds): Call gdk_window_move in addition to
6876 * java/applet/Applet.java (preferredSize): Call parent's
6877 preferredSize if the applet stub is null.
6878 (minimumSize): Likewise for parent's minimumSize.
6880 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6882 * javax/swing/JMenuItem.java
6883 (createActionPropertyChangeListener): Implemented.
6884 (processMouseEvent): Ditto.
6885 (fireMenuDragMouseEntered): Ditto.
6886 (fireMenuDragMouseExited): Ditto.
6887 (fireMenuDragMouseDragged): Ditto.
6888 (fireMenuDragMouseReleased): Ditto.
6889 (menuSelectionChanged): Ditto.
6890 (getSubElements): Ditto.
6891 (getComponent): Ditto.
6892 (addMenuDragMouseListener): Ditto.
6893 (removeMenuDragMouseListener):Ditto.
6894 (addMenuKeyListener): Ditto.
6895 (removeMenuKeyListener): Ditto.
6896 * javax/swing/plaf/basic/BasicMenuItemUI.java
6897 (doClick): Imlemented.
6898 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6899 Don't handle mouse events here. Pass them to
6900 MenuSelectionManager.
6902 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6903 Used correct version of jalopy configuration
6904 file to fix style in the files below.
6906 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6908 * javax/swing/JCheckBoxMenuItem.java:
6909 Fixed style and removed unnecessary comments.
6910 * javax/swing/JMenuItem.java: Ditto.
6911 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6912 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6913 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6914 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6916 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6918 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6921 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6923 * java/awt/ContainerOrderFocusTraversalPolicy.java
6924 (getComponentAfter): Start from current component and work up
6925 the component hierarchy until an acceptable component is found.
6926 Synchronize on tree lock.
6927 (getComponentBefore): Likewise.
6929 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6932 focus-related debugging messages.
6933 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6934 * java/awt/EventDispatchThread.java: Likewise.
6935 * java/awt/KeyboardFocusManager.java: Likewise.
6936 * java/awt/Window.java: Likewise.
6937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6940 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6941 new C++-style comments to C-style comments.
6942 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6944 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6945 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6946 (handleEvent): Dispatch key press and key release events to
6948 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6949 (gtkWidgetRequestFocus): New method.
6950 (gtkWidgetDispatchKeyEvent): Likewise.
6951 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6952 requestFocusInWindow, requestFocusInWindow(boolean),
6953 getFocusCycleRootAncestor, nextFocus, transferFocus,
6954 transferFocusBackward, transferFocusUpCycle, hasFocus,
6955 isFocusOwner): Implement and document focus-handling methods.
6956 (setFocusTraversalKeys): Inherit focus traversal keys when
6957 keystrokes argument is null. Fix focus-handling documentation
6959 * java/awt/Container.java (setFocusTraversalKeys,
6960 getFocusTraversalKeys, areFocusTraversalKeysSet,
6961 isFocusCycleRoot, setFocusTraversalPolicy,
6962 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6963 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6964 Implement and document focus-handling methods.
6965 (transferFocusBackward): Remove method.
6966 (readObject, writeObject): Implement and document serialization
6968 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6970 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6972 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6974 * java/awt/EventDispatchThread.java (run): Set default keyboard
6975 focus manager. Attempt to dispatch each event to the keyboard
6976 focus manager before normal dispatch.
6977 * java/awt/KeyboardFocusManager.java: Implement and partially
6979 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6980 (show): Focus initial component when window is shown for the
6982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6983 (pre_event_handler): Replace complex key press and key release
6984 logic with simple callbacks into GtkComponentPeer.
6985 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6987 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6989 * javax/swing/MenuSelectionManager.java
6990 (componentForPoint): Added new method.
6991 (defaultManager): New Method. Implemented.
6992 (getSelectedPath): Ditto.
6993 (isComponentPartOfCurrentMenu): Ditto.
6994 (processKeyEvent): Added new method.
6995 (processMouseEvent): New Method. Implemented.
6996 (setSelectedPath): Ditto.
6999 2004-04-19 Kim Ho <kho@redhat.com>
7001 * java/awt/Container.java:
7002 (remove): Set the component's parent to null.
7003 (getComponentAt): Implement.
7004 * javax/swing/JComponent.java:
7005 (JComponent): Initialize defaultLocale
7006 (getDefaultLocale): Implement.
7007 (setDefaultLocale): ditto.
7008 * javax/swing/JSlider.java:
7009 (JSlider): Fix calculation of value.
7010 * javax/swing/JSplitPane.java: Implement.
7011 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7012 Change SplitPane's default divider size.
7013 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7014 (paint): Remove unused code.
7015 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7016 Added comments and ran through jalopy.
7017 (setBasicSplitPaneUI): Get reference to hidden divider
7018 and set up one touch buttons if necessary.
7019 (setBorder): Fire propertyChangeEvent only if
7020 borders are different.
7021 (getPreferredSize): Defer to layout manager.
7022 (propertyChange): Implement.
7023 (oneTouchExpandableChanged): ditto.
7024 (createLeftOneTouchButton): Use BasicArrowButton.
7025 (createRightOneTouchButton): ditto.
7026 (moveDividerTo): New method. Moves the divider
7027 to a set location based on the last divider location.
7028 (BasicSplitPaneDivider::MouseHandler): Implement.
7029 (BasicSplitPaneDivider::OneTouchButton): Removed.
7030 (BasicSplitPaneDivider::DragController): Implement.
7031 (BasicSplitPaneDivider::VerticalDragController):
7033 (BasicSplitPaneDivider::DividerLayout): ditto.
7034 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7035 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7036 (calculateLayoutInfo): Don't show component if it's
7038 (paintTab): Fix title paint logic.
7040 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7043 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7044 (setStartRule,setEndRule): Don't take abs of day number.
7045 (getOffset): Clarify docs. Add argument checks.
7046 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7047 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7049 * testsuite/libjava.mauve/xfails
7050 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7052 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7054 Layout interfaces during preparation, not initialization.
7055 * java/lang/natClass.cc (initializeClass): Move
7056 _Jv_LayoutInterfaceMethods call...
7057 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7059 2004-05-19 Anthony Green <green@localhost.localdomain>
7061 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7063 * Makefile.in: Rebuilt.
7064 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7065 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7066 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7067 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7068 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7069 gnu/javax/rmi/CORBA/DelegateFactory.java,
7070 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7071 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7072 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7073 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7074 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7075 gnu/javax/rmi/PortableServer.java: Remove files.
7077 2004-05-19 Anthony Green <green@redhat.com>
7079 * Makefile.am: Define JAVA_EXT_DIRS.
7080 * Makefile.in: Rebuilt.
7081 * java/lang/natRuntime.cc (insertSystemProperties): Set
7082 java.ext.dirs property.
7084 2004-05-16 Mark Wielaard <mark@klomp.org>
7086 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7088 2004-05-15 Mark Wielaard <mark@klomp.org>
7090 * doc/cni.sgml: Removed, merged into gcj.texi.
7092 2004-05-15 Mark Wielaard <mark@klomp.org>
7094 * Makefile.am (ordinary_java_source_files): Add new javax.print
7096 * Makefile.in: Regenerated.
7098 2004-05-15 Michael Koch <konqueror@gmx.de>
7100 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7101 javax/print/attribute/standard/DateTimeAtCreation.java,
7102 javax/print/attribute/standard/DateTimeAtProcessing.java,
7103 javax/print/attribute/standard/DocumentName.java,
7104 javax/print/attribute/standard/JobHoldUntil.java,
7105 javax/print/attribute/standard/JobImpressionsCompleted.java,
7106 javax/print/attribute/standard/JobMessageFromOperator.java,
7107 javax/print/attribute/standard/JobName.java,
7108 javax/print/attribute/standard/JobOriginatingUserName.java,
7109 javax/print/attribute/standard/JobPriority.java,
7110 javax/print/attribute/standard/JobPrioritySupported.java,
7111 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7112 javax/print/attribute/standard/OutputDeviceAssigned.java,
7113 javax/print/attribute/standard/PrinterInfo.java,
7114 javax/print/attribute/standard/PrinterLocation.java,
7115 javax/print/attribute/standard/PrinterMakeAndModel.java,
7116 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7117 javax/print/attribute/standard/PrinterName.java,
7118 javax/print/attribute/standard/QueuedJobCount.java,
7119 javax/print/attribute/standard/RequestingUserName.java:
7120 Fixed javadocs all over.
7122 2004-05-15 Michael Koch <konqueror@gmx.de>
7124 * javax/print/DocFlavor.java,
7125 javax/print/attribute/standard/ColorSupported.java,
7126 javax/print/attribute/standard/Compression.java,
7127 javax/print/attribute/standard/CopiesSupported.java,
7128 javax/print/attribute/standard/Fidelity.java,
7129 javax/print/attribute/standard/Finishings.java,
7130 javax/print/attribute/standard/JobImpressionsSupported.java,
7131 javax/print/attribute/standard/JobKOctetsSupported.java,
7132 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7133 javax/print/attribute/standard/JobSheets.java,
7134 javax/print/attribute/standard/JobState.java,
7135 javax/print/attribute/standard/JobStateReason.java,
7136 javax/print/attribute/standard/JobStateReasons.java,
7137 javax/print/attribute/standard/Media.java,
7138 javax/print/attribute/standard/MediaSizeName.java,
7139 javax/print/attribute/standard/MultipleDocumentHandling.java,
7140 javax/print/attribute/standard/NumberUpSupported.java,
7141 javax/print/attribute/standard/OrientationRequested.java,
7142 javax/print/attribute/standard/PDLOverrideSupported.java,
7143 javax/print/attribute/standard/PageRanges.java,
7144 javax/print/attribute/standard/PresentationDirection.java,
7145 javax/print/attribute/standard/PrintQuality.java,
7146 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7147 javax/print/attribute/standard/PrinterMoreInfo.java,
7148 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7149 javax/print/attribute/standard/PrinterResolution.java,
7150 javax/print/attribute/standard/PrinterState.java,
7151 javax/print/attribute/standard/PrinterStateReason.java,
7152 javax/print/attribute/standard/PrinterStateReasons.java,
7153 javax/print/attribute/standard/PrinterURI.java,
7154 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7155 javax/print/attribute/standard/Severity.java,
7156 javax/print/attribute/standard/SheetCollate.java,
7157 javax/print/attribute/standard/Sides.java:
7158 Added serialVersionUID and removed final keyword where it doenst
7161 2004-05-15 Michael Koch <konqueror@gmx.de>
7163 * javax/print/PrintServiceLookup.java: New file.
7165 2004-05-15 Michael Koch <konqueror@gmx.de>
7167 * javax/print/DocFlavor.java:
7168 Implemented all flavor classes.
7170 2004-05-15 Michael Koch <konqueror@gmx.de>
7172 * javax/print/attribute/standard/ColorSupported.java,
7173 javax/print/attribute/standard/Compression.java,
7174 javax/print/attribute/standard/CopiesSupported.java,
7175 javax/print/attribute/standard/Fidelity.java,
7176 javax/print/attribute/standard/Finishings.java,
7177 javax/print/attribute/standard/JobImpressionsSupported.java,
7178 javax/print/attribute/standard/JobKOctetsSupported.java,
7179 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7180 javax/print/attribute/standard/JobSheets.java,
7181 javax/print/attribute/standard/JobState.java,
7182 javax/print/attribute/standard/JobStateReason.java,
7183 javax/print/attribute/standard/JobStateReasons.java,
7184 javax/print/attribute/standard/Media.java,
7185 javax/print/attribute/standard/MediaSizeName.java,
7186 javax/print/attribute/standard/MultipleDocumentHandling.java,
7187 javax/print/attribute/standard/NumberUpSupported.java,
7188 javax/print/attribute/standard/OrientationRequested.java,
7189 javax/print/attribute/standard/PDLOverrideSupported.java,
7190 javax/print/attribute/standard/PageRanges.java,
7191 javax/print/attribute/standard/PresentationDirection.java,
7192 javax/print/attribute/standard/PrintQuality.java,
7193 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7194 javax/print/attribute/standard/PrinterMoreInfo.java,
7195 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7196 javax/print/attribute/standard/PrinterResolution.java,
7197 javax/print/attribute/standard/PrinterState.java,
7198 javax/print/attribute/standard/PrinterStateReason.java,
7199 javax/print/attribute/standard/PrinterStateReasons.java,
7200 javax/print/attribute/standard/PrinterURI.java,
7201 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7202 javax/print/attribute/standard/Severity.java,
7203 javax/print/attribute/standard/SheetCollate.java,
7204 javax/print/attribute/standard/Sides.java: New files.
7206 2004-05-15 Michael Koch <konqueror@gmx.de>
7208 * javax/print/Doc.java
7209 (getPrintData): Throws IOException.
7210 (getReaderForText): Likewise.
7211 (getStreamForBytes): Likewise.
7212 * javax/print/DocFlavor.java:
7213 Fixed filename in copyright.
7214 (serialVersionUID): New field.
7215 * javax/print/ServiceUIFactory.java:
7216 Made all constants final.
7217 * javax/print/AttributeException.java
7218 javax/print/MultiDoc.java
7219 javax/print/MultiDocPrintJob.java
7220 javax/print/MultiDocPrintService.java
7221 javax/print/StreamPrintService.java
7222 javax/print/URIException.java: New files.
7223 * javax/print/Makefile.am
7224 (EXTRA_DIST): Added all new files.
7226 2004-05-15 Michael Koch <konqueror@gmx.de>
7228 * javax/print/attribute/standard/Copies.java,
7229 javax/print/attribute/standard/DateTimeAtCompleted.java,
7230 javax/print/attribute/standard/DateTimeAtCreation.java,
7231 javax/print/attribute/standard/DateTimeAtProcessing.java,
7232 javax/print/attribute/standard/DocumentName.java,
7233 javax/print/attribute/standard/JobHoldUntil.java,
7234 javax/print/attribute/standard/JobImpressions.java,
7235 javax/print/attribute/standard/JobImpressionsCompleted.java,
7236 javax/print/attribute/standard/JobKOctets.java,
7237 javax/print/attribute/standard/JobKOctetsProcessed.java,
7238 javax/print/attribute/standard/JobMediaSheets.java,
7239 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7240 javax/print/attribute/standard/JobMessageFromOperator.java,
7241 javax/print/attribute/standard/JobName.java,
7242 javax/print/attribute/standard/JobOriginatingUserName.java,
7243 javax/print/attribute/standard/JobPriority.java,
7244 javax/print/attribute/standard/JobPrioritySupported.java,
7245 javax/print/attribute/standard/NumberOfDocuments.java,
7246 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7247 javax/print/attribute/standard/NumberUp.java,
7248 javax/print/attribute/standard/OutputDeviceAssigned.java,
7249 javax/print/attribute/standard/PagesPerMinute.java,
7250 javax/print/attribute/standard/PagesPerMinuteColor.java:
7251 Fixed @return tag all over.
7253 2004-05-15 Michael Koch <konqueror@gmx.de>
7255 * javax/print/attribute/AttributeSetUtilities.java
7256 (verifyCategoryForValue): Fixed typo in javadoc.
7257 * javax/print/attribute/HashAttributeSet.java
7258 (containsKey): Fixed @return tag.
7259 (comtainsValue): Likewise.
7261 * javax/print/attribute/IntegerSyntax.java
7263 * javax/print/attribute/ResolutionSyntax.java
7265 (getCrossFeedResolution): Removed unused code.
7266 (getFeedResolution): Likewise.
7267 * javax/print/attribute/SetOfIntegerSyntax.java
7268 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7269 (equals): Fixed @return tag.
7270 * javax/print/attribute/TextSyntax.java
7271 (TextSyntax): Take locale into account.
7272 (hashCode): Better implementation.
7274 2004-05-15 Michael Koch <konqueror@gmx.de>
7276 * javax/print/CancelablePrintJob.java,
7277 javax/print/Doc.java,
7278 javax/print/DocFlavor.java,
7279 javax/print/DocPrintJob.java,
7280 javax/print/FlavorException.java,
7281 javax/print/PrintException.java,
7282 javax/print/PrintService.java,
7283 javax/print/ServiceUIFactory.java: New files.
7285 2004-05-15 Mark Wielaard <mark@klomp.org>
7287 * gnu/regexp/CharIndexedReader.java: Removed.
7288 * gnu/regexp/REFilterReader.java: Likewise.
7289 * gnu/regexp/RETokenLookAhead.java: Likewise.
7290 * Makefile.am (ordinary_java_source_files): Remove above classes.
7291 * Makefile.in: Regenerated.
7293 2004-05-14 Tom Tromey <tromey@redhat.com>
7295 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7296 not `XGraphicsConfiguration.XOffScreenImage'.
7298 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7300 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7302 2004-05-14 Steven Augart <augart@watson.ibm.com>
7304 * include/jni.h (_Jv_func): Removed.
7305 (struct JNINativeInterface): Use `void *' for reserved slots.
7306 (struct JNIInvokeInterface): Likewise.
7308 2004-05-11 Michael Koch <konqueror@gmx.de>
7310 * gnu/java/net/natPlainSocketImplPosix.cc
7311 (read): Fixed typo in expression.
7313 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7315 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7316 ld_library_additions. Adjust all calls to libjava_invoke to match
7319 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7320 path to cxxflagslist.
7321 Pass path of libstdc++ to libjava_invoke.
7323 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7324 libjava_invoke arguments.
7326 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7328 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7331 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7333 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7334 main binary against the JNI shared library.
7336 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7338 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7339 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7340 (SimpleTimeZone): Tweak docs. Add new variation.
7341 (setStartRule,setEndRule): Add new variations. Use
7342 startTimeMode and endTimeMode.
7344 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7346 * java/util/Calendar.java (getActualMinimum,
7347 getActualMaximum): Remove abstract. Implement.
7349 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7351 Run the jni tests using the interpreter.
7352 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7353 options_cxx to shared lib compile command.
7354 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7355 they are used to link the shared lib, not the main binary.
7356 Use libjava_invoke to run gij.
7358 2004-05-06 Michael Koch <konqueror@gmx.de>
7360 * java/util/logging/Level.java
7361 (parse): Use == instead of String.equals().
7363 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7365 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7366 verify_field_signature and verify_method_signature, not
7367 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7368 (_Jv_ClassReader::handleField): Likewise.
7369 (_Jv_ClassReader::handleMethod): Likewise.
7371 2004-05-06 Michael Koch <konqueror@gmx.de>
7373 * javax/swing/table/TableColumn.java:
7376 2004-05-06 Michael Koch <konqueror@gmx.de>
7378 * javax/imageio/spi/ImageReaderWriterSpi.java
7379 (ImageReaderWriterSpi): Made it public.
7380 * javax/imageio/stream/ImageInputStream.java:
7383 2004-05-06 Michael Koch <konqueror@gmx.de>
7385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7388 2004-05-06 Michael Koch <konqueror@gmx.de>
7390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7391 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7394 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7395 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7396 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7397 their own source file.
7398 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7399 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7400 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7401 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7402 (create): Define variable on top of function.
7403 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7404 (menu_pos): Prototyped.
7405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7406 (setTitle): Removed.
7407 * jni/gtk-peer/gthread-jni.c
7408 (gdk_threads_wake): Removed.
7409 * Makefile.am (gtk_c_source_files): Added new files
7410 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7411 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7412 * Makefile.in: Regenerated.
7414 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7416 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7419 2004-05-05 Mark Wielaard <mark@klomp.org>
7421 * javax/swing/AbstractButton.java: Replace special HTML entities with
7423 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7424 * javax/swing/DefaultButtonModel.java: Likewise.
7425 * javax/swing/DefaultListModel.java: Likewise.
7426 * javax/swing/JList.java: Likewise.
7427 * javax/swing/JSlider.java: Likewise.
7428 * javax/swing/ListModel.java: Likewise.
7429 * javax/swing/Popup.java: Likewise.
7430 * javax/swing/SwingUtilities.java: Likewise.
7432 2004-05-05 Michael Koch <konqueror@gmx.de>
7434 * javax/swing/AbstractButton.java,
7435 javax/swing/ActionMap.java,
7436 javax/swing/DefaultButtonModel.java,
7437 javax/swing/DefaultListModel.java,
7438 javax/swing/ImageIcon.java,
7439 javax/swing/JComboBox.java,
7440 javax/swing/JComponent.java,
7441 javax/swing/JFrame.java,
7442 javax/swing/JInternalFrame.java,
7443 javax/swing/JMenuBar.java,
7444 javax/swing/JMenuItem.java,
7445 javax/swing/JOptionPane.java,
7446 javax/swing/JProgressBar.java,
7447 javax/swing/JRootPane.java,
7448 javax/swing/JScrollBar.java,
7449 javax/swing/JScrollPane.java,
7450 javax/swing/JSeparator.java,
7451 javax/swing/JSlider.java,
7452 javax/swing/JTabbedPane.java,
7453 javax/swing/JTable.java,
7454 javax/swing/JTextField.java,
7455 javax/swing/JToolBar.java,
7456 javax/swing/JToolTip.java,
7457 javax/swing/JTree.java,
7458 javax/swing/JViewport.java,
7459 javax/swing/JWindow.java,
7460 javax/swing/KeyStroke.java,
7461 javax/swing/LookAndFeel.java,
7462 javax/swing/SwingUtilities.java,
7463 javax/swing/Timer.java,
7464 javax/swing/ToolTipManager.java,
7465 javax/swing/UIDefaults.java,
7466 javax/swing/border/TitledBorder.java,
7467 javax/swing/filechooser/FileSystemView.java,
7468 javax/swing/plaf/basic/BasicButtonListener.java,
7469 javax/swing/plaf/basic/BasicButtonUI.java,
7470 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7471 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7472 javax/swing/plaf/basic/BasicLabelUI.java,
7473 javax/swing/plaf/basic/BasicMenuItemUI.java,
7474 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7475 javax/swing/plaf/basic/BasicRootPaneUI.java,
7476 javax/swing/plaf/basic/BasicScrollBarUI.java,
7477 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7478 javax/swing/plaf/basic/BasicSliderUI.java,
7479 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7480 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7481 javax/swing/table/JTableHeader.java,
7482 javax/swing/text/AbstractDocument.java,
7483 javax/swing/text/DefaultCaret.java,
7484 javax/swing/text/StyledEditorKit.java,
7485 javax/swing/tree/DefaultTreeCellEditor.java:
7488 2004-05-05 Michael Koch <konqueror@gmx.de>
7490 * java/util/prefs/AbstractPreferences.java
7491 (AbstractPreferences): Added parenthesis for clarity.
7492 Closes classpath bug #7940.
7494 2004-05-05 Tom Tromey <tromey@redhat.com>
7496 * javax/naming/CompoundName.java (endsWith): Look at correct
7497 element of source name.
7499 2004-05-05 Mark Wielaard <mark@klomp.org>
7501 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7502 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7504 2004-05-05 Tom Tromey <tromey@redhat.com>
7506 * java/io/BufferedReader.java (skip): Removed unused
7509 2004-05-05 Michael Koch <konqueror@gmx.de>
7511 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7513 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7515 * java/text/AttributedString.java,
7516 java/text/AttributedStringIterator.java,
7517 java/text/Collator.java,
7518 java/text/DecimalFormatSymbols.java,
7519 java/text/NumberFormat.java,
7520 java/text/RuleBasedCollator.java:
7523 2004-05-05 Tom Tromey <tromey@redhat.com>
7525 * java/text/Format.java: Cleaned up imports.
7526 * java/text/DecimalFormat.java: Cleaned up imports.
7527 * java/security/SecureRandom.java: Cleaned up imports.
7528 (SecureRandom): Removed unused variable.
7529 * java/security/UnresolvedPermission.java: Cleaned up imports.
7530 * java/util/Date.java (parse): Removed unused variable.
7531 * java/util/ResourceBundle.java: Cleaned up imports.
7532 (getBundle): Removed unused variable.
7533 (tryBundle): Likewise.
7534 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7536 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7538 * java/text/SimpleDateFormat.java:
7539 (formatWithAttribute): New method. It implements
7540 the formatting process with attributes.
7541 (format): Use formatWithAttribute.
7542 (formatToCharacterIterator): New method. Use
7543 formatWithAttribute.
7545 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7547 * java/text/MessageFormat.java:
7548 (class Field): New class.
7549 (formatToCharacterIterator): New method.
7550 (format): Use formatInternal now.
7551 (formatInternal): New method. String formatter should
7552 be done here (with attributes). Attributes merging supported.
7553 (parse): More documentation.
7554 (getFormatsByArgumentIndex): New method.
7555 (setFormatByArgumentIndex): New method.
7556 (setFormatsByArgumentIndex): New method.
7558 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7560 * java/text/DecimalFormat.java
7561 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7562 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7563 (parse): Fixed handling of exponentiation notation and grouping.
7565 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7567 * java/text/DecimalFormat.java
7568 (scanFix): Build attribute array. Fixed error reporting.
7569 (applyPatternWithSymbols): Store attributes for the prefix and
7571 (formatInternal): New method. Changed the way the string is
7572 computed. Implemented attributes. Cleant up rounding in
7573 exponential notation.
7574 (format): Use formatInternal.
7575 (formatToCharacterIterator): New method.
7576 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7577 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7578 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7581 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7583 * java/security/interfaces/DSAKeyPairGenerator.java,
7584 java/security/interfaces/DSAPrivateKey.java,
7585 java/security/interfaces/DSAPublicKey.java,
7586 java/security/interfaces/RSAPrivateKey.java,
7587 java/security/interfaces/RSAPublicKey.java:
7590 2004-05-04 Michael Koch <konqueror@gmx.de>
7592 * java/nio/ByteBuffer.java,
7593 java/nio/CharBuffer.java,
7594 java/nio/DoubleBuffer.java,
7595 java/nio/FloatBuffer.java,
7596 java/nio/IntBuffer.java,
7597 java/nio/LongBuffer.java,
7598 java/nio/ShortBuffer.java:
7599 (compareTo): Fixed bogus implementation in all buffer classes.
7601 2004-05-04 Ingo Proetel <proetel@aicas.com>
7603 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7604 32 bit pixels not 8 bit pixels.
7605 (isCompatibleRaster): Added javadoc comment.
7607 2004-05-04 Ingo Proetel <proetel@aicas.com>
7609 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7612 2004-05-04 Ingo Proetel <proetel@aicas.com>
7614 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7615 (getColorModel): Return the actual color model.
7616 (getRaster): Implemented.
7617 (ColorRaster): New inner class.
7618 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7620 * java/awt/Color.java (<init>): Make exception more verbose.
7621 (createContext): Use ColorModel when creating a PaintContext.
7623 2004-05-04 Michael Koch <konqueror@gmx.de>
7625 * gnu/java/text/CharacterBreakIterator.java
7626 (previous): Removed unused variable.
7628 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7630 * gnu/java/text/FormatBuffer.java,
7631 gnu/java/text/AttributedFormatBuffer.java,
7632 gnu/java/text/StringFormatBuffer.java: New classes to implement
7633 attributed iterators in java.text.
7634 * gnu/java/text/FormatCharacterIterator.java: Moved
7635 from java/text as it is an internal class.
7636 * java/text/FormatCharacterIterator.java: Removed.
7637 * java/text/Format.java:
7638 Import gnu.java.text.FormatCharacterIterator.
7639 * Makefile.am (java_source_files): Added new files.
7640 * Makefile.in: Regenerated.
7643 2004-05-04 Mark Wielaard <mark@klomp.org>
7645 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7647 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7649 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7650 * Makefile.in: Rebuilt.
7652 2004-05-03 Mark Wielaard <mark@klomp.org>
7654 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7655 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7657 (set(String, String, int, String, String, String, String, String)):
7658 Assign this.file to path or path + "?" + query.
7659 * java/util/Arrays.java: Call static methods staticly.
7660 * java/util/zip/ZipEntry.java: Likewise.
7661 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7662 dir to this.direction.
7663 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7664 Assign static field only once.
7665 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7667 2004-05-03 Mark Wielaard <mark@klomp.org>
7669 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7670 unused variables hScrollbarHeight and vScrollbarWidth.
7671 (preferredSize): Likewise.
7672 * gnu/java/security/provider/DSAParameters.java (engineToString):
7673 Removed unused call to System.getProperty("line.seperator");
7674 * java/security/Security.java (loadProviders): Return result.
7676 2004-05-03 Tom Tromey <tromey@redhat.com>
7678 * java/net/URLStreamHandler.java (toExternalForm): Removed
7681 * java/math/BigDecimal.java (divide): Removed unused variable.
7682 * java/lang/Throwable.java: Cleaned up imports.
7683 * java/lang/ClassLoader.java: Cleaned up imports.
7684 * java/io/FilePermission.java (implies): Removed unused
7686 * java/awt/TextComponent.java: Removed unused import.
7687 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7688 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7689 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7690 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7692 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7693 * gnu/java/text/CharacterBreakIterator.java: Removed
7695 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7697 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7698 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7700 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7701 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7702 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7703 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7704 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7705 (lookupProviders): Removed unused variable.
7706 (loadNextServiceProvider): Likewise.
7707 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7709 2004-05-03 Michael Koch <konqueror@gmx.de>
7711 Fixes PR libgcj/14695:
7712 * java/net/NetworkInterface.java
7713 (getByName): Return null when no interface was found.
7715 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7716 Tom Tromey <tromey@redhat.com>
7718 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7719 additional option "-Wmissing-prototypes" for compiling C sources.
7720 Print actual filename for pass/fail rather than $name.c.
7721 * testsuite/libjava.jni/PR15133.java: New testcase file.
7722 * testsuite/libjava.jni/PR15133.c: Likewise.
7723 * testsuite/libjava.jni/PR15133.out: Likewise.
7725 2004-04-30 Roger Sayle <roger@eyesopen.com>
7727 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7730 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7732 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7733 limit the maximum heap size to avoid unnecessary thrashing.
7735 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7737 * java/text/CollationElementIterator.java (reset): Reset
7738 lookahead variables.
7740 2004-04-23 Mark Wielaard <mark@klomp.org>
7742 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7744 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7746 * java/sql/DriverManager.java:
7749 2004-04-23 Michael Koch <konqueror@gmx.de>
7752 (hashcode): Don't initialize with default value explicitely.
7753 (getContent): Removed redundant "final" keyword.
7754 (openStream): Likewise.
7755 (getURLStreamHandler): Fixed coding style.
7756 * java/net/URLConnection.java
7757 (defaultAllowUserInteraction): Don't initialize with default value
7759 (connected): Likewise.
7760 (doOutput): Likewise.
7761 (ifModifiedSince): Likewise.
7762 (dateformats_initialized): Likewise.
7763 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7765 2004-04-23 Michael Koch <konqueror@gmx.de>
7767 * gnu/java/nio/channels/FileChannelImpl.java
7768 (SET, CUR): Unused, removed.
7769 (read): Implement here directly.
7770 (implRead): Removed.
7771 (write): Implement here directly.
7772 (implWrite): Removed.
7774 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7776 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7777 javax/rmi/CORBA/Stub.java,
7778 javax/rmi/CORBA/Util.java,
7779 javax/rmi/CORBA/ValueHandler.java,
7780 javax/rmi/CORBA/ValueHandler.java,
7781 javax/rmi/PortableRemoteObject.java:
7784 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7786 * java/util/jar/JarFile.java,
7787 java/util/jar/JarInputStream.java,
7788 java/util/jar/JarOutputStream.java,
7789 java/util/jar/Manifest.java:
7792 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7794 * java/util/ArrayList.java,
7795 java/util/Calendar.java,
7796 java/util/Currency.java,
7797 java/util/HashMap.java,
7798 java/util/HashSet.java,
7799 java/util/Hashtable.java,
7800 java/util/LinkedList.java,
7801 java/util/Properties.java,
7802 java/util/PropertyPermission.java,
7803 java/util/TimeZone.java,
7804 java/util/TreeMap.java,
7805 java/util/TreeSet.java,
7806 java/util/Vector.java,
7807 java/util/WeakHashMap.java:
7810 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7812 * java/util/logging/FileHandler.java,
7813 java/util/logging/Formatter.java,
7814 java/util/logging/Handler.java,
7815 java/util/logging/Logger.java,
7816 java/util/logging/SimpleFormatter.java,
7817 java/util/logging/XMLFormatter.java:
7820 2004-04-22 Mark Wielaard <mark@klomp.org>
7822 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7823 -Wno-long-long flags variable.
7824 (gtk_c_files): Use PEDANTIC_CFLAGS.
7825 * Makefile.in: Regenerated.
7827 2004-04-22 Mark Wielaard <mark@klomp.org>
7829 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7830 Changed C++ comments into C comments.
7831 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7834 2004-04-22 Michael Koch <konqueror@gmx.de>
7836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7837 Merged copyright year with GNU classpath.
7839 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7841 * javax/security/auth/x500/X500Principal.java:
7844 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7846 * javax/swing/JSlider.java:
7847 Fixed HTML tags in comments.
7849 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7851 * javax/accessibility/AccessibleText.java:
7854 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7856 * java/net/URLStreamHandler.java
7857 (parseURL): Convert the file path to using '/' instead of native
7860 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7863 (userInfo): New field.
7864 (URL): Set authority to the right value.
7865 (setURL): Fixed authority and file initialization.
7866 * java/net/URLStreamHandler.java
7867 (parseURL): Take care of the query tag. Build authority.
7868 (toExternalForm): Fixed URL building using authority.
7870 2004-04-22 Michael Koch <konqueror@gmx.de>
7872 * java/net/Socket.java
7873 (impl): Made package-private.
7874 * java/net/ServerSocket.java
7875 (implAccept): Access Socket.impl field directly.
7877 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7879 * java/util/prefs/Preferences.java,
7880 java/util/prefs/InvalidPreferencesFormatException.java,
7881 java/util/prefs/BackingStoreException.java,
7882 java/util/prefs/AbstractPreferences.java:
7885 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7887 * java/util/regex/Matcher.java,
7888 java/util/regex/Pattern.java:
7891 2004-04-22 Michael Koch <konqueror@gmx.de>
7893 * java/nio/charset/IllegalCharsetNameException.java
7894 (charsetName): Made private.
7895 (IllegalCharsetNameException): Added @param tag to javadoc.
7896 (getCharsetName): Added @return tag to javadoc.
7897 * java/nio/charset/MalformedInputException.java
7898 (MalformedInputException): Added @param tag to javadoc.
7899 (getInputLength): Revised method description, added @return tag.
7900 (getMessage): Added @return tag.
7902 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7904 * java/awt/Font.java (deriveFont): Implement missing variants.
7905 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7908 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7910 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7911 Set method->index values for interface methods to their itable index.
7912 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7914 2004-04-21 Michael Koch <konqueror@gmx.de>
7916 * java/nio/DirectByteBufferImpl.java
7917 (shiftDown): Made static, give address as argument and
7918 provide a convenience method that overwrites shiftDown in
7919 ByteBufferImpl and calls the native shiftDown.
7920 * java/nio/MappedByteBufferImpl.java
7921 (): Use optimized method in DirectByteBufferImpl.
7922 * java/nio/natDirectByteBufferImpl.cc
7923 (shiftDown): Changed method signature. Removed usage of array_offset.
7925 2004-04-21 Michael Koch <konqueror@gmx.de>
7927 * gnu/java/net/natPlainSocketImplPosix.cc
7928 (SocketInputStream::read): Make sure returned data is a byte value.
7930 2004-04-21 Michael Koch <konqueror@gmx.de>
7932 * gnu/classpath/ServiceFactory.java,
7933 gnu/classpath/ServiceProviderLoadingAction.java,
7934 javax/imageio/ImageReader.java,
7935 javax/imageio/ImageTranscoder.java,
7936 javax/imageio/ImageWriter.java,
7937 javax/imageio/package.html,
7938 javax/imageio/spi/IIOServiceProvider.java,
7939 javax/imageio/spi/ImageInputStreamSpi.java,
7940 javax/imageio/spi/ImageOutputStreamSpi.java,
7941 javax/imageio/spi/ImageReaderWriterSpi.java,
7942 javax/imageio/spi/ImageTranscoderSpi.java,
7943 javax/imageio/spi/RegisterableService.java,
7944 javax/imageio/spi/ServiceRegistry.java,
7945 javax/imageio/spi/package.html,
7946 javax/imageio/stream/IIOByteBuffer.java,
7947 javax/imageio/stream/ImageInputStream.java,
7948 javax/imageio/stream/ImageOutputStream.java,
7949 javax/imageio/stream/package.html:
7952 (ordinary_java_source_files): Added
7953 gnu/classpath/ServiceFactory.java and
7954 gnu/classpath/ServiceProviderLoadingAction.java.
7955 (javax_source_files): Added
7956 javax/imageio/ImageReader.java,
7957 javax/imageio/ImageTranscoder.java,
7958 javax/imageio/ImageWriter.java,
7959 javax/imageio/spi/IIOServiceProvider.java,
7960 javax/imageio/spi/ImageInputStreamSpi.java,
7961 javax/imageio/spi/ImageOutputStreamSpi.java,
7962 javax/imageio/spi/ImageReaderWriterSpi.java,
7963 javax/imageio/spi/ImageTranscoderSpi.java,
7964 javax/imageio/spi/RegisterableService.java,
7965 javax/imageio/spi/ServiceRegistry.java,
7966 javax/imageio/stream/IIOByteBuffer.java,
7967 javax/imageio/stream/ImageInputStream.java and
7968 javax/imageio/stream/ImageOutputStream.java.
7969 * Makefile.in: Regenerated.
7971 2004-04-21 Michael Koch <konqueror@gmx.de>
7973 * java/util/Properties.java
7974 (load): Fix wrongly merged fix.
7976 2004-04-21 Mark Wielaard <mark@klomp.org>
7978 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7979 malloc and free buf.
7981 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7983 * javax/naming/AuthenticationException.java,
7984 javax/naming/AuthenticationNotSupportedException.java,
7985 javax/naming/CannotProceedException.java,
7986 javax/naming/CommunicationException.java,
7987 javax/naming/CompoundName.java,
7988 javax/naming/ConfigurationException.java,
7989 javax/naming/ContextNotEmptyException.java,
7990 javax/naming/InitialContext.java,
7991 javax/naming/InsufficientResourcesException.java,
7992 javax/naming/InterruptedNamingException.java,
7993 javax/naming/LimitExceededException.java,
7994 javax/naming/LinkException.java,
7995 javax/naming/LinkLoopException.java,
7996 javax/naming/LinkRef.java,
7997 javax/naming/MalformedLinkException.java,
7998 javax/naming/Name.java,
7999 javax/naming/NameAlreadyBoundException.java,
8000 javax/naming/NameNotFoundException.java,
8001 javax/naming/NamingSecurityException.java,
8002 javax/naming/NoInitialContextException.java,
8003 javax/naming/NoPermissionException.java,
8004 javax/naming/NotContextException.java,
8005 javax/naming/PartialResultException.java,
8006 javax/naming/ReferralException.java,
8007 javax/naming/ServiceUnavailableException.java,
8008 javax/naming/SizeLimitExceededException.java,
8009 javax/naming/TimeLimitExceededException.java,
8010 javax/naming/directory/Attribute.java,
8011 javax/naming/directory/Attributes.java,
8012 javax/naming/directory/SearchResult.java,
8013 javax/naming/event/NamingExceptionEvent.java,
8014 javax/naming/spi/ResolveResult.java:
8017 2004-04-21 Mark Wielaard <mark@klomp.org>
8019 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8020 Changed C++ comments into C comments. Removed commented out code.
8021 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8023 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8025 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8027 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8029 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8031 * native/jni/gtk-peer/gthread-jni.c:
8034 2004-04-21 Mark Wielaard <mark@klomp.org>
8036 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8037 static fields defined in interface.
8038 * javax/awt/JDialog.java: Likewise.
8039 (JDialog): Make constructors public.
8040 (getDefaultCloseOperation): Make public.
8041 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8042 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8043 * javax/swing/JViewport.java (JViewport): Make constructor public.
8045 2004-04-21 Michael Koch <konqueror@gmx.de>
8047 * java/util/Map.java
8048 (Entry): Removed redundant "static" modifier.
8049 * java/text/AttributedCharacterIterator.java:
8050 Updated copyright year.
8052 2004-04-20 Michael Koch <konqueror@gmx.de>
8054 * javax/naming/directory/SearchControls.java:
8055 Don't explicitely extend java.lang.Object.
8056 * javax/naming/spi/DirStateFactory.java:
8057 Merged copyright year with GNU classpath.
8059 2004-04-20 Michael Koch <konqueror@gmx.de>
8061 * java/nio/channels/Channels.java:
8062 Merged coding style with GNU classpath.
8064 2004-04-20 Michael Koch <konqueror@gmx.de>
8066 * java/net/ServerSocket.java
8067 Merged coding style from GNU classpath.
8069 2004-04-20 Michael Koch <konqueror@gmx.de>
8071 * java/io/BufferedWriter.java:
8072 Reordered variables to be at top of the class.
8073 (localFlush): Removed redundant final keyword.
8075 2004-04-20 Ingo Proetel <proetel@aicas.com>
8077 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8079 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8081 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8082 for percent and permill check.
8084 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8086 * java/text/FieldPosition.java
8087 (FieldPosition) Constructor now behaves as it should according
8088 to the java documentation.
8090 2004-04-20 Mark Wielaard <mark@klomp.org>
8092 * java/util/Properties.java: Use the word umlaut, not ä in api
8095 2004-04-20 Michael Koch <konqueror@gmx.de>
8097 * java/nio/Buffer.java,
8098 java/nio/channels/AlreadyConnectedException.java,
8099 java/nio/channels/AsynchronousCloseException.java,
8100 java/nio/channels/ByteChannel.java,
8101 java/nio/channels/CancelledKeyException.java,
8102 java/nio/channels/Channel.java,
8103 java/nio/channels/Channels.java,
8104 java/nio/channels/ClosedByInterruptException.java,
8105 java/nio/channels/ClosedChannelException.java,
8106 java/nio/channels/ClosedSelectorException.java,
8107 java/nio/channels/ConnectionPendingException.java,
8108 java/nio/channels/DatagramChannel.java,
8109 java/nio/channels/FileChannel.java,
8110 java/nio/channels/FileLock.java,
8111 java/nio/channels/FileLockInterruptionException.java,
8112 java/nio/channels/GatheringByteChannel.java,
8113 java/nio/channels/IllegalBlockingModeException.java,
8114 java/nio/channels/IllegalSelectorException.java,
8115 java/nio/channels/InterruptibleChannel.java,
8116 java/nio/channels/NoConnectionPendingException.java,
8117 java/nio/channels/NonReadableChannelException.java,
8118 java/nio/channels/NonWritableChannelException.java,
8119 java/nio/channels/NotYetBoundException.java,
8120 java/nio/channels/NotYetConnectedException.java,
8121 java/nio/channels/OverlappingFileLockException.java,
8122 java/nio/channels/Pipe.java,
8123 java/nio/channels/ReadableByteChannel.java,
8124 java/nio/channels/ScatteringByteChannel.java,
8125 java/nio/channels/SelectableChannel.java,
8126 java/nio/channels/SelectionKey.java,
8127 java/nio/channels/Selector.java,
8128 java/nio/channels/ServerSocketChannel.java,
8129 java/nio/channels/SocketChannel.java,
8130 java/nio/channels/UnresolvedAddressException.java,
8131 java/nio/channels/UnsupportedAddressTypeException.java,
8132 java/nio/channels/WritableByteChannel.java,
8133 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8134 java/nio/channels/spi/AbstractSelectableChannel.java,
8135 java/nio/channels/spi/AbstractSelectionKey.java,
8136 java/nio/channels/spi/AbstractSelector.java,
8137 java/nio/channels/spi/SelectorProvider.java,
8138 java/nio/charset/spi/CharsetProvider.java:
8139 Fixed javadocs and jalopied all over java.nio.
8141 2004-04-20 Michael Koch <konqueror@gmx.de>
8143 * java/nio/ByteBufferImpl.java,
8144 java/nio/CharBufferImpl.java,
8145 java/nio/DirectByteBufferImpl.java,
8146 java/nio/DoubleBufferImpl.java,
8147 java/nio/DoubleViewBufferImpl.java,
8148 java/nio/FloatBufferImpl.java,
8149 java/nio/FloatViewBufferImpl.java,
8150 java/nio/IntBufferImpl.java,
8151 java/nio/IntViewBufferImpl.java,
8152 java/nio/LongBufferImpl.java,
8153 java/nio/LongViewBufferImpl.java,
8154 java/nio/MappedByteBufferImpl.java,
8155 java/nio/ShortBufferImpl.java,
8156 java/nio/ShortViewBufferImpl.java:
8157 Made sure all classes are final and removed final keyword from all
8160 2004-04-20 Michael Koch <konqueror@gmx.de>
8162 * java/rmi/MarshalledObject.java,
8163 java/rmi/Naming.java,
8164 java/rmi/RemoteException.java,
8165 java/rmi/activation/ActivationException.java,
8166 java/rmi/server/ServerCloneException.java,
8167 java/security/AccessController.java,
8168 java/security/AlgorithmParameterGenerator.java,
8169 java/security/AlgorithmParameters.java,
8170 java/security/CodeSource.java,
8171 java/security/Identity.java,
8172 java/security/IdentityScope.java,
8173 java/security/KeyPairGenerator.java,
8174 java/security/KeyStore.java,
8175 java/security/Security.java,
8176 java/security/Signature.java,
8177 java/security/SignatureSpi.java,
8178 java/security/SignedObject.java,
8179 java/security/spec/DSAParameterSpec.java,
8180 java/security/spec/DSAPrivateKeySpec.java,
8181 java/security/spec/DSAPublicKeySpec.java,
8182 java/sql/Array.java,
8183 java/sql/DatabaseMetaData.java,
8184 java/sql/ResultSet.java,
8185 java/text/ChoiceFormat.java,
8186 java/text/CollationElementIterator.java,
8187 java/text/CollationKey.java,
8188 java/text/Collator.java,
8189 java/text/DateFormat.java,
8190 java/text/DateFormatSymbols.java,
8191 java/text/DecimalFormatSymbols.java,
8192 java/text/Format.java,
8193 java/text/ParsePosition.java,
8194 java/text/RuleBasedCollator.java,
8195 java/text/SimpleDateFormat.java,
8196 java/text/StringCharacterIterator.java,
8197 java/util/Collections.java,
8198 java/util/PropertyResourceBundle.java,
8199 java/util/ResourceBundle.java,
8200 java/util/StringTokenizer.java,
8201 java/util/jar/Attributes.java,
8202 java/util/logging/ConsoleHandler.java,
8203 java/util/logging/LogManager.java,
8204 java/util/logging/MemoryHandler.java,
8205 java/util/logging/SocketHandler.java,
8206 javax/naming/NamingException.java:
8207 Fixed javadoc, coding style and argument names all over.
8209 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8211 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8212 constructor. (valid) Added null check.
8214 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8216 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8217 * java/io/FileOutputStream.java
8218 (FileOutputStream) Reorganized constructors. Constructors now
8219 check whether the given path is directory.
8221 2004-04-20 Michael Koch <konqueror@gmx.de>
8223 * java/net/Authenticator.java,
8224 java/net/BindException.java,
8225 java/net/ConnectException.java,
8226 java/net/ContentHandler.java,
8227 java/net/ContentHandlerFactory.java,
8228 java/net/DatagramPacket.java,
8229 java/net/DatagramSocket.java,
8230 java/net/DatagramSocketImpl.java,
8231 java/net/DatagramSocketImplFactory.java,
8232 java/net/FileNameMap.java,
8233 java/net/HttpURLConnection.java,
8234 java/net/Inet4Address.java,
8235 java/net/Inet6Address.java,
8236 java/net/InetAddress.java,
8237 java/net/InetSocketAddress.java,
8238 java/net/JarURLConnection.java,
8239 java/net/MalformedURLException.java,
8240 java/net/MulticastSocket.java,
8241 java/net/NetPermission.java,
8242 java/net/NetworkInterface.java,
8243 java/net/NoRouteToHostException.java,
8244 java/net/PasswordAuthentication.java,
8245 java/net/PortUnreachableException.java,
8246 java/net/ProtocolException.java,
8247 java/net/ServerSocket.java,
8248 java/net/Socket.java,
8249 java/net/SocketAddress.java,
8250 java/net/SocketException.java,
8251 java/net/SocketImpl.java,
8252 java/net/SocketImplFactory.java,
8253 java/net/SocketOptions.java,
8254 java/net/SocketPermission.java,
8255 java/net/SocketTimeoutException.java,
8257 java/net/URISyntaxException.java,
8259 java/net/URLClassLoader.java,
8260 java/net/URLConnection.java,
8261 java/net/URLDecoder.java,
8262 java/net/URLEncoder.java,
8263 java/net/URLStreamHandler.java,
8264 java/net/URLStreamHandlerFactory.java,
8265 java/net/UnknownHostException.java,
8266 java/net/UnknownServiceException.java:
8267 Fixed javadocs, coding style and argument names all over.
8269 2004-04-20 Michael Koch <konqueror@gmx.de>
8271 * java/lang/Byte.java,
8272 java/lang/CharSequence.java,
8273 java/lang/ClassLoader.java,
8274 java/lang/Compiler.java,
8275 java/lang/Double.java,
8276 java/lang/Float.java,
8277 java/lang/Integer.java,
8278 java/lang/Long.java,
8279 java/lang/Math.java,
8280 java/lang/Number.java,
8281 java/lang/Package.java,
8282 java/lang/Runtime.java,
8283 java/lang/RuntimePermission.java,
8284 java/lang/SecurityManager.java,
8285 java/lang/Short.java,
8286 java/lang/StringBuffer.java,
8287 java/lang/System.java,
8288 java/lang/ThreadGroup.java,
8289 java/lang/Throwable.java,
8290 java/lang/reflect/InvocationHandler.java,
8291 java/lang/reflect/Proxy.java:
8292 Fixed javadocs, coding style and argument names all over.
8294 2004-04-20 Michael Koch <konqueror@gmx.de>
8296 * java/io/BufferedWriter.java,
8297 java/io/ByteArrayInputStream.java,
8298 java/io/CharArrayWriter.java,
8299 java/io/DataInput.java,
8300 java/io/DataInputStream.java,
8302 java/io/FilterInputStream.java,
8303 java/io/InputStream.java,
8304 java/io/InputStreamReader.java,
8305 java/io/ObjectInputStream.java,
8306 java/io/ObjectStreamClass.java,
8307 java/io/PipedInputStream.java,
8308 java/io/PipedReader.java,
8309 java/io/PushbackInputStream.java,
8310 java/io/PushbackReader.java,
8311 java/io/RandomAccessFile.java,
8312 java/io/SerializablePermission.java,
8313 java/io/StreamTokenizer.java,
8314 java/io/StringWriter.java,
8315 java/io/WriteAbortedException.java,
8316 java/io/Writer.java:
8317 Fixed javadocs all over, rename arguments to match javadocs,
8320 2004-04-20 Ingo Proetel <proetel@aicas.com>
8322 * java/awt/FontMetrics.java:
8323 (charsWidth): fixed accumulation of total_width
8324 (getWidth): simple default implementation
8325 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8326 in Rectangle constructor.
8327 * java/awt/image/Raster.java (toString): Added method.
8328 * java/awt/image/SampleModel.java (<init>): Added error cause
8329 information to thrown exception.
8330 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8332 (setDataElements): New method.
8333 (setPixels): New method.
8334 (toString): New method.
8336 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8338 * java/awt/image/ComponentColorModel.java
8339 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8340 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8341 Mauve tests on this method. Improved documentation.
8343 2004-04-20 Michael Koch <konqueror@gmx.de>
8345 * javax/swing/JLayeredPane.java,
8346 javax/swing/plaf/BorderUIResource.java,
8347 javax/swing/plaf/ComponentUI.java,
8348 javax/swing/undo/CompoundEdit.java,
8349 javax/swing/undo/StateEdit.java:
8350 Fixed HTML tags in javadocs all over.
8352 2004-04-20 Michael Koch <konqueror@gmx.de>
8354 * javax/print/attribute/EnumSyntax.java
8355 (getOffset): Made protected.
8356 * javax/print/attribute/HashAttributeSet.java
8357 (HashAttributeSet): Likewise.
8358 * javax/print/attribute/ResolutionSyntax.java
8359 (getFeedResolution): Fixed typo in exception name.
8360 (getCrossFeedResolution): Likewise.
8361 * javax/print/attribute/SetOfIntegerSyntax.java
8362 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8363 * javax/print/attribute/TextSyntax.java
8364 (TextSyntax): Handle locale correctly.
8365 (hashCode): Calc better hashcode value.
8366 (equals): Fixed @return tag.
8367 (toString): New method.
8369 2004-04-20 Michael Koch <konqueror@gmx.de>
8371 * gnu/java/nio/FileLockImpl.java
8372 (static): Removed, not needed anymore.
8373 * gnu/java/nio/channels/FileChannelImpl.java
8374 (FileChannelImpl): Made final.
8375 (mode): Made private.
8376 (READ, WRITE, APPEND): Made public.
8377 (EXCL, SYNC, DSYNC): Likewise.
8378 (static): Load native JNI library, when needed.
8379 (length): Unused, removed.
8380 (available): Made public.
8381 (implPosition): Throws IOException.
8383 (implTruncate): Likewise.
8387 2004-04-20 Michael Koch <konqueror@gmx.de>
8389 * java/awt/AWTPermission.java,
8390 java/awt/Component.java,
8391 java/awt/ComponentOrientation.java,,
8392 java/awt/Dialog.java,
8393 java/awt/FontMetrics.java,
8394 java/awt/Graphics.java,
8395 java/awt/datatransfer/DataFlavor.java,
8396 java/beans/Introspector.java,
8397 java/beans/PropertyEditor.java,
8398 java/beans/PropertyEditorManager.java,
8399 java/beans/beancontext/BeanContextServiceProvider.java:
8400 Fixed HTML tags in javadocs all over.
8402 2004-04-20 Mark Wielaard <mark@klomp.org>
8404 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8405 MissingResourceException is thrown.
8406 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8407 null when a MissingResourceException is thrown. Should never happen.
8409 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8411 * java/awt/image/DataBufferShort.java,
8412 java/awt/image/DataBufferFloat.java,
8413 java/awt/image/DataBufferDouble.java,
8414 java/awt/image/PixelInterleavedSampleModel.java: New files.
8415 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8416 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8418 2004-04-20 Michael Koch <konqueror@gmx.de>
8420 * Makefile.am (java_source_files): Added
8421 java/awt/image/DataBufferDouble.java,
8422 java/awt/image/DataBufferFloat.java,
8423 java/awt/image/DataBufferShort.java and
8424 java/awt/image/PixelInterleavedSampleModel.java.
8425 * Makefile.in: Regenerated.
8427 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8429 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8430 undocumented CNI calls.
8431 * include/java-interp.h (_Jv_InterpClass): No longer
8432 extends java.lang.Class.
8433 * java/lang/Class.h (Class): Add new field `aux_info'.
8434 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8435 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8436 Use Class->aux_info instead.
8437 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8438 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8439 Use Class->aux_info instead.
8440 * java/io/natObjectInputStream.cc (allocateObject): Use
8442 * java/lang/natClass.cc (newInstance): Likewise.
8443 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8444 * java/lang/natObject.cc (clone): Likewise.
8445 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8446 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8447 JvAllocObject. Allocate klass->aux_info here for interpreted
8450 2004-04-17 Mark Wielaard <mark@klomp.org>
8452 * javax/swing/JToggleButton.java (ToggleButtonModel):
8453 Make public static inner class.
8454 * javax/swing/JTabbedPane.java (setComponentAt):
8455 Call Page.setComponent().
8456 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8457 (WRAP_TAB_LAYOUT): Make public, value is 0.
8458 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8459 Make private static inner class.
8461 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8463 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8464 arguments to match new signature. Remove FIXME comments.
8466 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8468 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8473 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8475 * Makefile.am: Added new file.
8476 * Makefile.in: Regenerate.
8477 * javax/swing/ImageIcon.java:
8478 (ImageIcon(file)): set description of the icon
8480 * javax/swing/JCheckBoxMenuItem.java:
8481 Mostly Implemented. Work in progress.
8482 * javax/swing/JRadioButtonMenuItem.java:
8483 Reimplement constructors to use JToggleButtonModel.
8484 * javax/swing/plaf/basic/BasicIconFactory.java:
8485 (getCheckBoxMenuItemIcon): return check box
8487 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8488 paint menu item selected only when it is armed and
8491 2004-04-02 David Jee <djee@redhat.com>
8493 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8494 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8495 * java/awt/Component.java
8496 (add): Set the parent of the popup as this component.
8497 * java/awt/PopupMenu.java
8498 (addNotify): Create popup menu when peer is null.
8499 (show): Call addNotify() if peer is null.
8500 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8501 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8502 argument for gtk_menu_popup() as zero. This causes the popup menu to
8503 respond to any mouse button.
8505 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8507 * Makefile.am: Added new file.
8508 * Makefile.in: Regenerate.
8509 * javax/swing/JRadioButtonMenuItem.java:
8511 * javax/swing/plaf/basic/BasicIconFactory.java:
8512 (getRadioButtonMenuItemIcon): Return
8514 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8515 (getPreferredSize): Add size of checkIcon if it
8517 (installDefaults): Don't initialize checkIcon.
8518 It's value will be set in subclasses.
8519 (uninstallDefaults): remove uninstallation of
8521 (paint): Moved code to paintMenuItem().
8522 (paintMenuItem): Implemented.
8523 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8524 UI delegate for JRadioButtonMenuItem.
8526 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8528 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8529 Corrected position of the accelerator.
8531 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8533 * Makefile.am: Added new file.
8534 * Makefile.in: Regenerate.
8535 * javax/swing/JMenuItem.java: Partly
8536 implemented. Work in progress
8537 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8538 Changed default value of acceleratorDelimiter.
8539 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8540 New class. Partly implemented.
8542 2004-03-26 Mark Wielaard <mark@klomp.org>
8544 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8545 (item_activate): Declare label before use.
8546 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8547 (gtkSetFont): Removed unused variable label.
8548 (addExposeFilter): Declare variables before use.
8549 (removeExposeFilter): Likewise.
8550 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8551 (ok_clicked): Declare str_fileName before use.
8553 2004-03-26 David Jee <djee@redhat.com>
8555 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8556 (addSeparator): Remove.
8557 * java/awt/Menu.java
8558 (separator): Remove static final MenuItem field.
8559 (separatorLabel): New static final String field.
8560 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8561 Use separatorLabel to denote that it is a separator.
8562 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8563 of reusing the static separator instance, because a MenuItem instance
8564 can't be added more than once without being cloned.
8565 * java/awt/peer/MenuPeer.java
8566 (addSeparator): Remove from interface.
8568 2004-03-26 David Jee <djee@redhat.com>
8570 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8571 (connectSignals): New native method declaration.
8572 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8573 * java/awt/MenuItem.java
8574 (getActionCommand): Return the label if the action command is not set.
8575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8576 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8577 gtk_menu_shell_append().
8578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8579 (item_activate): Fix argument type.
8580 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8582 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8584 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8585 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8586 given. Add the menu widget's top-level GtkWindow to the global window
8587 group, so it can grab the pointer.
8588 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8589 gtk_menu_shell_append().
8591 2004-03-23 Graydon Hoare <graydon@redhat.com>
8593 * java/text/AttributedString.java
8594 (addAttribute): Fix off-by-one.
8595 (getIterator): Likewise.
8596 * java/text/AttributedStringIterator.java
8597 (getRunLimit): Correct logic.
8598 (getRunStart): Likewise.
8599 (getAttribute): Fix inequality.
8600 (getAttributes): Likewise.
8601 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8603 2004-03-23 Kim Ho <kho@redhat.com>
8605 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8606 (calculateSizes): Return real width and height.
8608 2004-03-23 Kim Ho <kho@redhat.com>
8610 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8611 (calculateTabRects): Set the selectedRun before
8612 trying to rotate tabs.
8614 2004-03-23 Kim Ho <kho@redhat.com>
8616 * Makefile.am: New file
8617 * Makefile.in: Regenerate
8618 * java/awt/Graphics.java: (drawRect):
8619 Draw to the correct point.
8620 * javax/swing/DefaultSingleSelectionModel.java
8621 (isSelected): Return true if the selected index
8623 * javax/swing/JLabel.java: Do not change mnemonic
8624 index if text is null.
8625 * javax/swing/JProgressBar.java: Use JComponent's
8627 * javax/swing/JScrollBar.java: Ditto.
8628 * javax/swing/JSlider.java: Ditto.
8629 * javax/swing/JTabbedPane.java: Reimplement.
8630 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8631 Add defaults for TabbedPane.
8632 * javax/swing/plaf/basic/BasicArrowButton.java:
8634 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8635 (paintDeterminate): Don't paint String if it's
8637 (paintIndeterminate): ditto.
8638 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8641 2004-03-19 Michael Koch <konqueror@gmx.de>
8643 * java/awt/image/AffineTransformOp.java
8644 (AffineTransformOp): Made public.
8645 * javax/swing/JComponent.java
8646 (listenerList): Made protected.
8647 (accessibleContext): Likewise.
8648 * javax/swing/JList.java
8649 (valueChanged): Dont use internal fields of ListSelectionEvent.
8650 * javax/swing/JViewport.java
8651 (getView): Dont use internal fields of Component.
8652 (addImpl): Likewise.
8653 * javax/swing/Timer.java
8654 (isRunning): Made public.
8657 * javax/swing/UIDefaults.java
8658 (getInt): Made public.
8659 * javax/swing/plaf/basic/BasicListUI.java
8660 (mousePressed): Dont use internal fields of MouseEvent.
8661 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8662 * javax/swing/plaf/basic/BasicScrollBarUI.java
8663 (arrowIcon): Made static.
8664 * javax/swing/plaf/basic/BasicViewportUI.java
8665 (stateChanged): Dont use internal field on ChangeEvent.
8666 * javax/swing/text/JTextComponent.java
8667 (getUI): Call UIManager.getUI().
8668 (updateUI): Use getUI().
8670 2004-03-19 Graydon Hoare <graydon@redhat.com>
8672 * javax/swing/JComponent.java: Turn off double buffer by default.
8673 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8675 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8676 Use cairo to copy areas.
8677 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8678 Initialize and set clip region.
8680 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8682 * java/applet/Applet.java (preferredSize): Override deprecated
8683 variant of getPreferredSize.
8684 (minimumSize): Override deprecated variant of getMinimumSize.
8686 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8688 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8689 (drawImage(img,xform,bgcolor,obs)): New Method.
8690 Helper function that every drawImage method will
8692 (drawRaster): Added new parameter, bgcolor. All
8693 transparent pixels are changed to bgcolor before
8695 (drawRenderedImage): Fixed to use changed drawRaster().
8696 (drawImage(image,xform,obs): Fixed to use new helper function
8697 (drawImage(image,op,x,y)): Ditto.
8698 (drawImage (img,x,y,observer)): Ditto.
8699 ((PainterThread) bgcolor): New Field.
8700 ((PainterThread) (setPixels)): Changed all transparent pixels
8702 (drawImage(img,x,y,width,height,bgcolor,observer)):
8703 Fixed FIXME - all the transparent pixels are
8704 changed to the specified bgcolor.
8705 (drawImage(img, x, y, width, height, observer): Changed to
8707 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8708 Fixed FIXME- changed all transparent pixels to bgcolor.
8709 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8710 Changed to use function above.
8712 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8714 * java/applet/Applet.java (dimensions): New field.
8715 (getDimensions): New method.
8716 (getPreferredSize): Call getDimensions.
8717 (getMinimumSize): Likewise.
8719 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8721 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8722 * jni/classpath/jnilink.c: Likewise.
8724 * java/applet/Applet.java (getPreferredSize): New method.
8725 (getMinimumSize): New method.
8727 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8729 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8730 (_Jv_AllocObjectNoFinalizer): Likewise.
8731 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8732 (_Jv_AllocPtrFreeObject): Likewise.
8733 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8734 directly even in the JVMPI case.
8735 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8736 _Jv_AllocObject calls.
8737 * gcj/javaprims.h: Update prototypes.
8738 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8739 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8740 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8742 2004-04-14 Andrew Haley <aph@redhat.com>
8743 Bryce McKinlay <mckinlay@redhat.com>
8745 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8746 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8747 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8749 * testsuite/libjava.lang/InvokeInterface.java: New file.
8750 * testsuite/libjava.lang/InvokeInterface.out: New file.
8752 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8754 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8756 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8757 StackTraceElement directly.
8758 (newElement): New native helper method to create StackTraceElement
8759 bypassing Java access control.
8760 (createStackTraceElement): Use newElement() instead of directly
8761 calling StackTraceElement's constructor.
8762 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8764 2004-04-01 Michael Koch <konqueror@gmx.de>
8766 * java/lang/SecurityManager.java
8767 (checkAwtEventQueueAccess): Implemented.
8769 2004-04-01 Gary Benson <gbenson@redhat.com>
8771 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8772 (_Jv_SearchMethodInClass): Likewise.
8774 2004-03-26 Peter Moon <peterm@miraculum.com>
8776 * java/text/NumberFormat.java: Fix spelling of setCurrency
8779 2004-03-21 Anthony Green <green@redhat.com>
8781 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8782 recursion when searching for the system ClassLoader.
8784 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8786 * java/net/ServerSocket.java
8787 (accept): Close the socket when error occured.
8789 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8791 * java/net/URI.java (parseURI): Added unquoting.
8792 (unquote): New method.
8793 (quoteAuthority): Implemented.
8794 (quote(String,String)): New method.
8795 (quotePath): Implemented.
8796 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8797 (getSchemeSpecificPart): Removed FIXME comment.
8798 (getRawAuthority): Return new rawAuthority field.
8799 (getAuthority): Removed FIXME comment.
8800 (getRawUserInfo): Return new rawUserInfo field.
8801 (getUserInfo): Removed FIXME comment.
8802 (getRawPath): Return new rawPath field.
8803 (getPath): Removed FIXME comment.
8804 (getRawQuery): Return new rawQuery field.
8805 (getQuery): Removed FIXME comment.
8806 (getRawFragment): Return new rawFragment field.
8807 (getFragment): Removed FIXME comment.
8809 2004-03-20 Michael Koch <konqueror@gmx.de>
8811 * java/net/URLConnection.java: Merged copyright year with classpath.
8813 2004-03-20 Norbert Frese <postfach@nfrese.net>
8815 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8816 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8817 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8819 (getObjectInputStream): Return object reference, throw IOException if null.
8820 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8821 (getObjectOutputStream): Return object reference, throw IOException if null.
8822 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8823 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8824 (UnicastConnectionManager): Throw RemoteException if port is not available.
8825 (getInstance): Throw RemoteException.
8826 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8827 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8828 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8829 Collect Exceptions which are returned by a rmi-call and fix void returns.
8830 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8831 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8832 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8833 (dispatch): Answer ping messages which are sent by other java implementions.
8834 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8835 for every rmi-message and fix void return problems.
8836 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8837 (UnicastServerRef): Throw RemoteException.
8838 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8839 In some situations it is necessary to export a subclass of the class which has the _Stub.
8840 For instance when the class with has the _Stub is abstract.
8841 (findStubSkelClass): New method which looks for the class which has the _Stub.
8842 (getClientHost): Implementated.
8843 * gcc/libjava/java/rmi/server/RemoteServer.java
8844 (getClientHost): Implementated.
8845 * gcc/libjava/Makefile.am (rmi_java_source_files):
8846 Added gnu/java/rmi/server/RMIIncomingThread.java.
8847 * Makefile.in: Regenerated.
8849 2004-03-20 Michael Koch <konqueror@gmx.de>
8851 * java/net/InetAddress.java
8852 (getLocalHostname): Added javadoc.
8854 2004-03-19 Per Bothner <per@bothner.com>
8856 * configure.in: FILE variable overrides FLATFORM when linking
8857 natFileChannelXXX.cc.
8859 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8860 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8862 2004-03-19 Per Bothner <per@bothner.com>
8864 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8865 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8866 * Makefile.am: Update accordingly.
8867 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8868 as aliases for UnicodeLittle and UnicodeBig.
8870 2004-03-20 Mark Wielaard <mark@klomp.org>
8872 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8873 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8874 Don't access ws when it is null.
8875 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8878 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8880 * java/lang/ThreadGroup.java (list): Changed print to println.
8882 2004-03-19 Mark Wielaard <mark@klomp.org>
8884 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8887 2004-02-10 Randolph Chung <tausq@debian.org>
8889 * configure.in: Build java for hppa target.
8890 * configure: Regenerate.
8891 * libjava/configure.host (hppa-*): Add target.
8892 * libjava/sysdeps/pa/lock.h: New file.
8894 2004-03-19 Mark Wielaard <mark@klomp.org>
8896 Reported by Stephen Crawley
8897 * java/io/FilePermission.java (implies): Use String.length() -1 to
8898 access last char of String.
8900 2004-03-19 Michael Koch <konqueror@gmx.de>
8902 * java/awt/image/AffineTransformOp.java
8903 (AffineTransformOp): Made public.
8904 * javax/swing/JComponent.java
8905 (listenerList): Made protected.
8906 (accessibleContext): Likewise.
8907 * javax/swing/JList.java
8908 (valueChanged): Dont use internal fields of ListSelectionEvent.
8909 * javax/swing/JViewport.java
8910 (getView): Dont use internal fields of Component.
8911 (addImpl): Likewise.
8912 * javax/swing/Timer.java
8913 (isRunning): Made public.
8916 * javax/swing/UIDefaults.java
8917 (getInt): Made public.
8918 * javax/swing/plaf/basic/BasicListUI.java
8919 (mousePressed): Dont use internal fields of MouseEvent.
8920 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8921 * javax/swing/plaf/basic/BasicScrollBarUI.java
8922 (arrowIcon): Made static.
8923 * javax/swing/plaf/basic/BasicViewportUI.java
8924 (stateChanged): Dont use internal field on ChangeEvent.
8925 * javax/swing/text/JTextComponent.java
8926 (getUI): Call UIManager.getUI().
8927 (updateUI): Use getUI().
8929 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8931 * verify.cc: Undef PC.
8933 2004-03-18 Michael Koch <konqueror@gmx.de>
8935 * java/nio/channels/spi/AbstractSelectableChannel.java
8936 (keys): Initialize at declaration.
8937 (locate): keys cant be null.
8939 (addSelectionKey): New method.
8940 (removeSelectionKey): New method.
8941 * java/nio/channels/spi/AbstractSelectionKey.java
8942 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8943 * java/nio/channels/spi/AbstractSelector.java
8944 (provider): Javadoc added.
8945 (cancelledKeys): Javadoc added.
8946 (cancelKey): Javadoc added, add key to cancelledKeys.
8947 (deregister): Implemented.
8949 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8951 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8952 MAP_FAILED to void *.
8954 2004-03-12 Graydon Hoare <graydon@redhat.com>
8956 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8957 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8958 * javax/swing/JList.java (ListListener): Revalidate on changes.
8959 * javax/swing/JScrollPane.java: Reimplement.
8960 * javax/swing/JViewport.java: Reimplement.
8961 * javax/swing/ScrollPaneLayout.java: Reimplement.
8962 * javax/swing/ViewportLayout.java: Tidy up.
8963 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8964 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8965 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8966 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8969 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8972 (window_wm_protocols_filter): New function.
8973 (window_focus_in_cb): Remove function.
8974 (window_focus_out_cb): Likewise.
8975 (window_focus_or_active_state_change_cb): New function.
8976 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8977 (connectSignals): Don't attach handlers to focus-in-event or
8978 focus-out-event signals. Handle notify signal.
8980 2004-03-11 David Jee <djee@redhat.com>
8982 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8983 (gtkSetLabel): New native method declaration.
8984 (setLabel): Use gtkSetLabel.
8985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8986 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8988 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8990 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8991 black when color argument is null.
8993 2004-03-10 Kim Ho <kho@redhat.com>
8995 * java/awt/Container.java: Remove check
8998 2004-03-10 Kim Ho <kho@redhat.com>
9000 * java/awt/Container.java: (visitChild):
9001 Remove candidate clip. Use the component
9003 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9004 (handleEvent): Use the PaintEvent's clip.
9006 2004-03-10 Kim Ho <kho@redhat.com>
9008 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9009 (handleEvent): Don't set the clip for the
9012 2004-03-09 Graydon Hoare <graydon@redhat.com>
9014 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9015 Fix double <-> fixed macros, reset font transform.
9016 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9019 2004-03-09Â Kim Ho <kho@redhat.com>
9021 * java/awt/Container.java: (visitChild): Move
9022 the x and y coordinate of the component rectangle
9023 to correct position.
9024 (handleEvent): Forward drag events to the pressed
9026 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9028 (ArrowButtonListener::mousePressed): Stop the
9030 (mouseDragged): Implement.
9031 (TrackListener::mousePressed): Only react if
9032 the press doesn't occur on the thumb, otherwise
9033 just set the offset.
9034 (TrackListener::mouseReleased): Unset the isAdjusting
9036 (createIncreaseIcon): Switch icon.
9037 (createDecreaseIcon): Switch icon.
9038 (calculatePreferredSize): Use width.
9039 (getThumbBounds): Use the top as the lower value.
9040 (layoutVScrollBar): Switch the button locations.
9041 (paintIncreaseHighlight): Paint correct side of thumb.
9042 (paintDecreaseHighlight): ditto.
9043 (valueForYPosition): Use top as the lower value.
9044 * javax/swing/plaf/basic/BasicSliderUI.java:
9046 (mouseDragged): Implement.
9047 (mousePressed): Only react when the thumb isn't
9048 pressed, otherwise just set offset.
9049 (mouseReleased): Handle a release of the thumb.
9050 (scrollDueToClickInTrack): Stop the timer first.
9051 * javax/swing/JProgressBar.java:
9052 (setString): Fix change condition.
9053 * javax/swing/JSeparator.java:
9056 2004-03-08 David Jee <djee@redhat.com>
9058 * java/awt/image/AffineTransformOp.java:
9059 (filter): Use Graphics2D interface instead of directly using the
9062 2004-03-05 David Jee <djee@redhat.com>
9064 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9065 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9066 * java/awt/Container.java
9067 (acquireComponentForMouseEvent): Fixed.
9068 (handleEvent): Fixed.
9069 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9070 (state_to_awt_mods_with_button_states): New method.
9071 (pre_event_handler): Fixed mouse event generation.
9073 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9075 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9076 (GdkGraphics2D (BufferedImage)): Initialize
9077 pixmap associated with specified BufferedImage.
9078 (setPaint): Changed implementation of Texture
9079 Paint to use AffineTransformOp.
9080 * java/awt/image/AffineTransformOp.java
9081 (createCompatibleDestRaster): Throw RasterFormatException
9082 if resulting width or height of raster is 0.
9084 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9086 * java/awt/image/AffineTransformOp.java:
9087 Removed unnecessary field interpolationType.
9088 Formatted some of the lines to be consistent with
9090 (AffineTransformOp): Create new RenderingHints
9091 containing specified interpolation type.
9092 (createCompatibleDestImage): Implemented.
9093 (createCompatibleDestRaster): Implemented.
9094 (filter): Implemented.
9095 (getBounds2D(BufferedImage)): Implemented.
9096 (getBounds2D(Raster)): Implemented.
9097 (getInterpolationType): Get interpolation value from
9100 2004-03-04 David Jee <djee@redhat.com>
9102 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9103 (setFont): Check if child peers are null.
9105 2004-03-04 Graydon Hoare <graydon@redhat.com>
9107 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9109 (libjava_arguments): Add new libraries to argument list.
9111 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9113 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9114 * Makefile.in: Re-generated.
9115 * java/awt/image/AffineTransformOp.java: New Class.
9117 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9119 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9120 (setPaint): Interpret correctly TexturePaint's
9122 (drawImage): Fixed scale factors of the affine
9125 2004-02-27 David Jee <djee@redhat.com>
9127 * gnu/java/awt/peer/gtk/GdkGraphics.java
9128 (GdkGraphics(Component)): Inherit font from component.
9129 (drawString): Use font style.
9130 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9131 (gtkSetFont): New native method declaration.
9132 (setFont): New method.
9133 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9134 (gtkSetFont): New native method declaration.
9135 (setFont): Call new native method gtkSetFont.
9136 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9137 (setFont): For all child components who do not their fonts set,
9138 set their peers' fonts with this container's font.
9139 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9140 Move all native method declarations to the top for readability.
9141 (gtkSetFont): New native method declaration.
9142 (setFont): New method.
9143 * java/awt/Component.java
9144 (setFont): Invalidate after setting the font.
9145 * java/awt/Container.java
9146 (invalidateTree): New method.
9147 (setFont): Invalidate the container tree after setting the font.
9148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9149 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9151 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9153 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9154 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9155 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9157 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9159 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9160 (updateBufferedImage): New helper function.
9161 Updates BufferedImage in memory if it was changed.
9162 (draw): changed to update BufferedImage in memory after
9163 this drawing operation
9165 (draw3DRect): Ditto.
9166 (fill3DRect): Ditto.
9168 (drawRaster): Ditto.
9169 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9170 no affine transformation.
9171 (drawGlyphVector): Ditto.
9173 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9175 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9176 (isBufferedImageGraphics): New Helper function.
9177 Returns true if this graphics2d can be used to draw
9178 into buffered image and false otherwise.
9179 (updateImagePixels): New Helper function.
9180 Updates pixels in the BufferedImage.
9181 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9182 (getImagePixels): New function. Returns pixels
9183 of the buffered image associated with
9186 2004-02-26 David Jee <djee@redhat.com>
9188 * java/awt/BorderLayout.java
9189 (layoutContainer): Fix width and height calculations to ensure
9190 that they're non-negative.
9191 * java/awt/Component.java
9192 (setBackground): If c is null, inherit from closest ancestor whose
9193 background color is set.
9195 2004-02-26 Kim Ho <kho@redhat.com>
9197 * Makefile.am: Add new files.
9198 * Makefile.in: Re-generate.
9199 * javax/swing/JProgressBar.java:
9200 (JProgressBar(int, int int)): Throw
9201 IllegalArgumentException if orientation is
9203 (JProgressBar(BoundedRangeModel)): Create
9204 ChangeListener and register it. UpdateUI.
9205 (getChangeListeners): Implement.
9206 (setModel): Reset ChangeListener.
9207 * javax/swing/JScrollBar.java: Implement.
9208 * javax/swing/JSeparator.java: Implement.
9209 * javax/swing/JSlider.java:
9210 (JSlider(int, int, int, int)): Throw
9211 IllegalArgumentException if orientation
9213 (getChangeListeners): Fix method name.
9214 * javax/swing/SwingUtilities.java:
9215 (layoutCompoundLabel): If there is no text,
9216 set the text rectangle dimensions to 0.
9217 * javax/swing/plaf/basic/BasicButtonUI.java:
9218 (paint): If there is no text, don't paint it.
9219 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9221 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9223 * javax/swing/plaf/basic/BasicSliderUI.java:
9224 (propertyChange): If the model changes, change
9225 the listeners accordingly.
9227 2004-02-25 Graydon Hoare <graydon@redhat.com>
9229 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9230 * javax/swing/JList.java: Reimplement.
9231 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9232 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9233 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9234 * javax/swing/ListModel.java: Javadoc.
9235 * javax/swing/ListSelectionModel.java: Add missing methods.
9236 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9237 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9238 * javax/swing/ListModel.java: Javadoc and corrections.
9239 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9241 2004-02-25 David Jee <djee@redhat.com>
9243 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9244 (GtkFontPeer): Change default size to 12.
9245 * gnu/java/awt/peer/gtk/GtkToolkit.java
9246 (getFontPeer): Change default size to 12.
9247 (getClasspathFontPeer): Likewise. Set default name to "Default".
9248 * java/awt/Font.java
9249 (Font(Map)): Call Font(String,Map).
9250 (Font(String,Map)): If attrs is null, initialize it as an empty
9251 HashMap, which will ensure that the Font will get default attributes.
9253 2004-02-25 David Jee <djee@redhat.com>
9255 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9256 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9257 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9258 * gnu/java/awt/peer/gtk/GtkToolkit.java
9259 (getFontPeer(String,int)): Call the new overload method with size 1.
9260 (getFontPeer(String,int,int)): New method. Overloaded with size
9262 (getClasspathFontPeer): Set the size of the font.
9264 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9266 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9267 (bimage): New field.
9268 (GdkGraphics2D): New Constructor. Constructs Graphics
9269 object that can be used to draw into the Buffered Image.
9270 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9271 (GdkGraphicsEnvironment): Fixed to include public
9273 (createGraphics): Implemented.
9274 * gnu/java/awt/peer/gtk/GtkToolkit.java
9275 (getLocalGraphicsEnvironment): Implemented.
9276 * java/awt/GraphicsEnvironment.java:
9277 (getLocalGraphicsEnvironment): Implemented.
9278 * java/awt/image/BufferedImage.java:
9279 (createGraphics): Implemented.
9281 2004-02-24 David Jee <djee@redhat.com>
9283 * java/awt/Component.java
9284 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9285 * java/awt/Container.java
9286 (addNotifyContainerChildren): Fix event enabling.
9288 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9290 * Makefile.am: Added
9291 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9292 * Makefile.in: Re-generated.
9293 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9296 2004-02-19 Kim Ho <kho@redhat.com>
9298 * Makefile.am: Add BasicProgressBarUI
9299 * Makefile.in: Regenerate.
9300 * javax/swing/JProgressBar.java:
9302 * javax/swing/plaf/basic/BasicLookAndFeel.java
9303 Add constants for JProgressBar.
9304 * javax/swing/plaf/basic/BasicProgressBarUI.java
9306 * javax/swing/plaf/basic/BasicSliderUI.java
9308 (calculateGeometry): New method
9309 (paint): Remove unnecessary size calculations.
9311 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9313 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9314 (drawRaster): Fixed small error that caused
9315 imageToUser transformation to be set incorrectly.
9316 (toString): Implemented.
9318 2004-02-18 David Jee <djee@redhat.com>
9320 * java/awt/CardLayout.java
9321 (addLayoutComponent): Show the first component added as the default.
9322 (removeLayoutComponent): After removing, show the next component.
9323 (gotoComponent): If there is only one component, show it and return.
9325 2004-02-18 Kim Ho <kho@redhat.com>
9327 * javax/swing/JSlider.java: Re-order
9329 * javax/swing/JLabel.java: Re-order
9331 * javax/swing/JComponent.java:
9332 (addPropertyChangeListener):
9334 (removePropertyChangeListener):
9336 (firePropertyChangeEvent):
9339 2004-02-17 David Jee <djee@redhat.com>
9341 * java/awt/Component.java
9342 (show): Dispatch ComponentEvent via system event queue.
9346 (reshape): Likewise.
9347 * java/awt/Window.java
9348 (setBoundsCallback): Likewise.
9350 2004-02-17 David Jee <djee@redhat.com>
9352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9353 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9354 Use gtk_widget_set_size_request() instead of the deprecated
9355 gtk_widget_set_usize().
9357 2004-02-17 Kim Ho <kho@redhat.com>
9359 * javax/swing/JSlider.java: Fix comments and
9360 make property strings constants.
9361 (createStandardLabels): Use the labels
9362 preferred size as bounds.
9363 * javax/swing/plaf/basic/BasicSliderUI.java
9365 (ScrollHandler::actionPerformed): Don't
9366 calculate the timer stop value. Let the
9367 MouseListeners find the stop location.
9368 (getPreferredHorizontalSize): Re-implement.
9369 (getPreferredVerticalSize): ditto.
9370 (getMinimumHorizontalSize): ditto.
9371 (getMinimumVerticalSize): ditto.
9372 (getPreferredSize): ditto.
9373 (getMinimumSize): ditto.
9374 (getMaximumSize): ditto.
9375 (paintTicks): Use doubles to find the
9377 (paintHorizontalLabel):Â Use preferredSize
9378 as initial width and height.
9379 (paintVerticalLabel): ditto.
9381 2004-02-17 Kim Ho <kho@redhat.com>
9383 * javax/swing/JLabel.java: Changed
9384 property strings to constants.
9385 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9387 (setText): Change mnemonic index if
9389 (setDisplayedMnemonicIndex): Fire property
9391 (getDisplayedMnemonicIndex): Remove check
9394 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9396 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9397 (drawImage(img,xform,obs)): Invert xform before
9398 passing the xform to cairo.
9399 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9400 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9402 (drawImage (img,x,y,w,h,obs)): Implemented.
9403 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9404 bgcolor,obs)): Partly implemented.
9405 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9407 * java/awt/image/BufferedImage.java:
9408 (copyData): if dest is null, create raster with same
9409 dimensions as the current image.
9411 2004-02-16 Graydon Hoare <graydon@redhat.com>
9413 * javax/swing/plaf/basic/BasicLabelUI.java
9414 (getPreferredSize): Use layoutCL.
9415 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9416 (getPreferredButtonSize): Start with empty view rect, layout using
9417 component's preferred alignment.
9418 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9421 2004-02-16 David Jee <djee@redhat.com>
9423 * java/awt/Component.java
9424 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9425 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9426 (move): Erase old bounds and repaint new bounds. Dispatch
9427 COMPONENT_MOVED ComponentEvent.
9428 (resize): Erase old bounds and repaint new bounds. Dispatch
9429 COMPONENT_RESIZED ComponentEvent.
9430 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9432 * java/awt/Window.java
9433 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9436 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9438 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9439 (setRenderingHint): Added implementation of
9440 Interpolation rendering hints.
9441 (setRenderingHints): Ditto.
9442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9443 (drawPixels): fixed to allow user to choose type
9444 of filtering that should be used when displaying images.
9445 (cairoSurfaceSetFilter): New method. Sets filter type for
9446 interpolation of pixel values.
9448 2004-02-16 David Jee <djee@redhat.com>
9450 * java/awt/GridBagLayout.java
9451 (calcCellSizes): Rows or columns with zero sizes should still be
9452 considered for extra space distribution.
9454 2004-02-16 Kim Ho <kho@redhat.com>
9456 * javax/swing/JLabel.java: Re-implement.
9457 * javax/swing/plaf/basic/BasicLabelUI.java
9459 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9462 2004-02-16 Kim Ho <kho@redhat.com>
9464 * javax/swing/JSlider.java: Fix indentation and comments.
9465 (setModel): Remove null check to conform with Sun's.
9466 (setOrientation): Throw exception if not
9467 HORIZONTAL or VERTICAL.
9468 (getInverted): Use private variable instead of
9469 ComponentOrientation.
9470 (setInverted): ditto.
9471 * javax/swing/plaf/basic/BasicSliderUI.java:
9472 Fix indentation and comments.
9473 (propertyChange): Remove check for inverted slider, handle
9475 (getMinimumSize): Return preferred size.
9476 (getMaximumSize): ditto.
9477 (calculateFocusRect): Don't relocate rectangle.
9478 (drawInverted): Return XOR of the slider's inversion and
9479 the component's orientation.
9480 (paint): Update leftToRightCache
9482 2004-02-13 David Jee <djee@redhat.com>
9484 * java/awt/GridBagLayout.java
9485 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9486 code to helper methods.
9487 (sortBySpan): New helper method.
9488 (distributeSizeAndWeight): Likewise.
9489 (calcCellWeights): Likewise.
9490 (calcCellSizes): Add comments.
9492 2004-02-13 David Jee <djee@redhat.com>
9494 * java/awt/Component.java
9495 (show): Only do something if component is invisible at the moment.
9496 (hide): Only do something if component is visible at the moment.
9497 (reshape): If lightweight, erase old bounds and repaint new bounds.
9499 2004-02-13 Kim Ho <kho@redhat.com>
9501 * Makefile.am: Updated for new file.
9502 * Makefile.in: Regenerated.
9503 * javax/swing/JSlider.java: Reimplement.
9504 * javax/swing/SwingUtilities.java
9505 (layoutCompoundLabel): Use icon height
9507 (paintComponent): Implement.
9508 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9509 Add JSlider defaults.
9510 * javax/swing/plaf/basic/BasicSliderUI.java:
9511 Implement. New file.
9513 2004-03-17 Michael Koch <konqueror@gmx.de>
9515 * gnu/java/net/PlainDatagramSocketImpl.java
9516 (RECEIVE_LOCK): New member field.
9517 (SEND_LOCK): New member field.
9518 (send0): New method.
9519 (send): Synchronize on SEND_LOCK.
9520 (receive0): New method.
9521 (receive): Synchronize on RECEIVE_LOCK.
9522 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9523 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9524 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9525 (send0): Renamed from send.
9526 (receive0): Renamed from receive.
9527 2004-03-17 Michael Koch <konqueror@gmx.de>
9529 * gnu/java/net/natPlainSocketImplPosix.cc
9530 (write): Just call write(jbyteArray, offset, len).
9531 (read): Just call read(jbyteArray, offset, len).
9533 2004-03-16 Michael Koch <konqueror@gmx.de>
9535 * javax/swing/JTabbedPane.java
9536 (serialVersionUID): New field.
9538 2004-03-16 Norbert Frese <postfach@nfrese.net>
9540 * java/net/InetAddress.java
9541 (getByName): Handle hostname == "" case.
9543 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9545 Reported by: Adam Heath <doogie@debian.org>
9546 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9549 2004-03-15 Michael Koch <konqueror@gmx.de>
9551 * java/util/Locale.java: Reverting my last patch
9552 and add a comment why the original version was okay.
9554 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9556 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9557 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9558 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9559 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9561 2004-03-12 Michael Koch <konqueror@gmx.de>
9563 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9565 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9567 * java/net/URI.java (toURL): Implemented.
9569 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9572 (URI_REGEXP) updated to contain scheme specific part.
9573 (SCHEME_SPEC_PART_GROUP) new constant.
9574 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9575 updated to make room for SCHEME_SPEC_PART_GROUP.
9576 (parseURI) parse scheme specific part.
9577 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9578 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9579 getQuery, getFragment) implemented.
9581 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9583 * libraries/javalib/java/net/URI.java
9584 partially implemented using java.util.regex.
9585 (URI_REGEXP) new constant. Used to parse URIs.
9586 (SCHEME_GROUP) new constant representing index of scheme group
9588 (AUTHORITY_GROUP) new constant representing index of authority
9589 group in parsed URI.
9590 (PATH_GROUP) new constant representing index of path group in
9592 (QUERY_GROUP) new constant representing index of query group in
9594 (FRAGMENT_GROUP) new constant representing index of fragment
9595 group in parsed URI.
9596 (getURIGroup) new static utility method.
9597 (parseURI) implemented.
9598 (quote) stub for new static utility method.
9599 (quoteAuthority) stub for new static utility method.
9600 (quoteHost) stub for new static utility method.
9601 (quotePath) stub for new static utility method.
9602 (quoteUserInfo) stub for new static utility method.
9604 (create) don't throw URISyntaxException. Implemented.
9605 (toString) implemented.
9607 2004-03-12 Michael Koch <konqueror@gmx.de>
9609 * java/net/HttpURLConnection.java
9610 (getResponseCode): Fix another typo in javadoc.
9612 2004-03-11 Michael Koch <konqueror@gmx.de>
9614 * java/util/logging/Level.java
9615 (parse): Use String.equals() instead of ==.
9617 2004-03-11 Michael Koch <konqueror@gmx.de>
9619 * gnu/java/net/protocol/jar/Connection.java
9620 (getContentLength): New method.
9622 2004-03-11 Michael Koch <konqueror@gmx.de>
9624 * gnu/java/net/PlainSocketImpl.java:
9625 Reformated to merge better with classpath's version.
9627 2004-03-11 Michael Koch <konqueror@gmx.de>
9629 * java/util/Locale.java
9630 (getISO3Language): Use String.equals() instead of ==.
9631 (getISO3Country): Likewise.
9633 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9635 * java/text/AttributedString.java
9636 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9637 Use HashMap instead of Hashtable since value can be null, and
9638 you can not store a null value in a Hashtable.
9640 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9642 * java/text/AttributedStringIterator.java
9643 (getAllAttributesKey): Return only keys concerned
9644 by the current iterator.
9645 (getAttributes): Use strict inequality for
9648 2004-03-11 Michael Koch <konqueror@gmx.de>
9650 * java/net/HttpURLConnection.java:
9651 Fixed typo in javadoc.
9653 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9655 * java/io/BufferedInputStream.java (marktarget): New field for max
9657 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9658 (mark): Use new fields.
9660 (read(byte[],int,int)): Likewise.
9664 2004-03-11 Mark Wielaard <mark@klomp.org>
9666 * java/beans/BeanDescriptor.java (BeanDescriptor):
9667 Set the FeatureDescriptor programmatic name.
9669 2004-03-11 Michael Koch <konqueror@gmx.de>
9671 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9672 This file was was just copied form java/io/natFileDescriptorEcos.cc
9673 and never changed to compile correctly.
9675 2004-03-11 Michael Koch <konqueror@gmx.de>
9677 * gnu/java/nio/PipeImpl.java
9678 (SourceChannelImpl): Made final.
9679 (read): Implemented.
9680 (SinkChannelImpl): Made final.
9681 (write): Implemented.
9683 2004-03-11 Michael Koch <konqueror@gmx.de>
9685 * gnu/java/net/PlainDatagramSocketImpl.java:
9686 Reformated to match classpath's version more.
9688 2004-03-11 Michael Koch <konqueror@gmx.de>
9690 * gnu/java/awt/peer/ClasspathFontPeer.java:
9691 Fixed javadoc to be correct xhtml.
9692 * gnu/java/awt/peer/gtk/GtkArgList.java
9693 (add): Use Boolean.valueOf() instead of new Boolean().
9695 2004-03-09 Michael Koch <konqueror@gmx.de>
9697 * java/lang/Thread.java
9698 (runnable): Moved around.
9699 (daemon): Renamed from daemon_flag.
9700 (contextClassLoader): Renamed from context_class_loader.
9701 (Thread): Reordered constructors.
9702 (activeCount): Use group directly.
9703 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9704 (holdsLock): Reworked javadoc.
9705 (setDaemon): Reworked.
9706 * java/lang/natThread.cc
9709 2004-03-08 Anthony Green <green@redhat.com>
9711 * Makefile.am: Build property resource files into libgcj.
9712 * Makefile.in: Rebuilt.
9713 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9714 java/util/regex/PatternSyntaxException.java,
9715 gnu/regexp/CharIndexed.java,
9716 gnu/regexp/CharIndexedCharArray.java,
9717 gnu/regexp/CharIndexedInputStream.java,
9718 gnu/regexp/CharIndexedReader.java,
9719 gnu/regexp/CharIndexedString.java,
9720 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9721 gnu/regexp/REException.java,
9722 gnu/regexp/REFilterInputStream.java,
9723 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9724 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9725 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9726 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9727 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9728 gnu/regexp/RETokenLookAhead.java,
9729 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9730 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9731 gnu/regexp/RETokenStart.java,
9732 gnu/regexp/RETokenWordBoundary.java,
9733 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9735 2004-03-03 Per Bothner <per@bothner.com>
9737 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9738 Optimize when argument is a FileChannelImpl.
9739 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9741 * java/nio/channels/natChannels.cc: New file for new native methods.
9742 * Makefile.am: Update accordingly.
9744 2004-03-02 Jan Hubicka <jh@suse.cz>
9746 * configure.host: Pass -fno-omit-frame-pointer for i386.
9747 * configure.in: Likewise.
9748 * configure: Regenerate.
9750 2004-03-01 Per Bothner <per@bothner.com>
9752 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9754 2004-02-29 Per Bothner <per@bothner.com>
9756 * java/nio/channels/FileChannelImpl.java: Moved to package
9757 gnu/java/nio/channels, since we need to refer to it from java.io.
9758 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9759 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9760 from java/nio/channels. Don't depend on FileDescriptor.
9761 (in, out, err): New static fields.
9763 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9764 from FileDescriptor.
9765 (by): Removed MappedByteBuffer field.
9766 (map): New working implementation.
9767 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9768 some code "ported" from natFileDescriptoPosix.cc.
9769 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9770 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9771 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9772 Remove native methods.
9773 * Makefile.am, configure.in: Updated accordingly.
9775 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9776 (ch): New FileChannelImpl field. Update constructor to match.
9777 (releaseImpl): Remove native method. Instead ...
9778 (release): Call unlock on channel.
9779 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9781 * java/io/natFileDescriptorEcos.cc: Remove file.
9782 * java/io/natFileDescriptorPosix.cc: Remove file.
9783 * java/io/natFileDescriptorWin32.cc: Remove file.
9784 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9785 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9786 (<init>(FileChannelImpl)): New package-private constructor.
9787 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9788 (available, close, read, skip): Implement using FileChannelImpl.
9789 (getFD): Allocate FileDescriptor if needed.
9790 (getChannel): Is now trivial.
9791 * java/io/FileOutputStream.java: Corresponding changes.
9792 * java/io/RandomAccessFile.java: Corresponding changes.
9794 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9795 unmapImpl): New dummy methods, to be overridden by subclass.
9796 (finalize, isLoaded, load, force): New methods.
9797 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9798 Now works, at least for read mapping.
9800 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9801 streams using FileChannelImpl, not FileDescriptor.
9802 * java/lang/natWin32Process.cc (startProcess): Likewise.
9804 2004-02-28 Michael Koch <konqueror@gmx.de>
9806 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9809 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9811 * java/io/ObjectInputStream.java
9812 (readClassDescriptor): Keep elements of the mapping non null.
9813 (checkTypeConsistency): New method.
9814 (readFields): Fixed main loop and base logic. Small reindentation.
9815 * java/io/ObjectStreamField.java
9816 (lookupField): New method to update the field reference.
9817 (checkFieldType): New method.
9818 * java/io/ObjectStreamClass.java
9819 (setClass, setFields): Call lookupField when building the field
9820 database. Check the real field type.
9822 2004-02-28 Michael Koch <konqueror@gmx.de>
9824 * java/nio/ByteOrder.java
9825 (nativeOrder): Use equals() to compare strings.
9827 2004-02-26 Michael Koch <konqueror@gmx.de>
9829 * gnu/java/nio/FileLockImpl.java
9830 (finalize): Made protected.
9831 * java/nio/channels/FileChannel.java
9832 (MapMode.READ_ONLY): Made final.
9833 (MapMode.READ_WRITE): Made final.
9834 (MapMode.PRIVATE): Made final.
9835 * java/nio/channels/SocketChannel.java
9836 (open): Simplified code.
9837 * java/nio/channels/spi/AbstractSelectableChannel.java
9838 (registered): Unused, removed.
9839 (keyFor): Check channel is open, only locate key
9840 and not add a new one.
9841 (register): Don't delete attachments.
9843 2004-02-26 Michael Koch <konqueror@gmx.de>
9845 * gnu/java/awt/ComponentDataBlitOp.java
9846 (INSTANCE): Made final.
9847 * gnu/java/awt/image/ImageDecoder.java:
9849 (cm): Unused, removed.
9851 2004-02-26 Michael Koch <konqueror@gmx.de>
9853 * gnu/java/nio/DatagramChannelImpl.java
9854 (send): Check if target address is resolved.
9856 2004-02-26 Michael Koch <konqueror@gmx.de>
9858 * Makefile.am: Generate and install headers for inner classes in
9859 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9860 * Makefile.in: Regenerated.
9862 2004-02-24 Anthony Green <green@redhat.com>
9864 * java/lang/StringBuffer.java: No need to NULL out remainder of
9865 buffer since ensureCapacity_unsynchronized will have done this for
9868 2004-02-20 Michael Koch <konqueror@gmx.de>
9870 * gnu/java/net/protocol/jar/Handler.java
9871 (): Removed unneeded check for file != null. java.net.URL.getFile()
9872 returns an empty string but never null.
9874 2004-02-20 Michael Koch <konqueror@gmx.de>
9876 * gnu/gcj/convert/Convert.java
9877 (main): Use equals() to compare strings.
9879 2004-02-20 Michael Koch <konqueror@gmx.de>
9881 * javax/swing/AbstractButton.java: Made several constants final.
9882 (getRolloverSelectedIcon): Made public.
9883 (getSelectedIcon): Made public.
9885 2004-02-16 Per Bothner <per@bothner.com>
9887 * java/nio/CharBufferImpl.java: Inline super constructor.
9888 * java/nio/DoubleBufferImpl.java: Likewise.
9889 * java/nio/FloatBufferImpl.java: Likewise.
9890 * java/nio/IntBufferImpl.java: Likewise.
9891 * java/nio/LongBufferImpl.java: Likewise.
9892 * java/nio/ShortBufferImpl.java: Likewise.
9893 * java/nio/CharBuffer.java: Remove unused constructor.
9894 * java/nio/DoubleBuffer.java: Likewise.
9895 * java/nio/FloatBuffer.java: Likewise.
9896 * java/nio/IntBuffer.java: Likewise.
9897 * java/nio/LongBuffer.java: Likewise.
9898 * java/nio/ShortBuffer.java: Likewise.
9899 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9900 Fix buggy call to super constructor.
9901 * java/nio/DoubleViewBufferImpl.java: Likewise.
9902 * java/nio/FloatViewBufferImpl.java: Likewise.
9903 * java/nio/IntViewBufferImpl.java: Likewise.
9904 * java/nio/LongViewBufferImpl.java: Likewise.
9905 * java/nio/ShortViewBufferImpl.java: Likewise.
9907 * java/nio/ByteBuffer.java (endian): Make non-private so other
9908 java.nio classes can inherit it.
9909 (<init>): Don't bother clearing array_offset.
9910 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9911 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9912 Remove redundant test.
9914 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9915 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9916 Use new XxxViewBufferImpl constructors.
9917 * java/nio/MappedByteBufferImpl.java: Likewise.
9918 * java/nio/DirectByteBufferImpl.java: Likewise.
9920 * java/nio/ByteBufferImpl.java: Remove one constructor.
9921 Inline super in remaining constructor.
9922 * java/nio/ByteBuffer.java: Remove unused constructor.
9924 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9926 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9927 * java/nio/DirectByteBufferImpl.java (owner): New field.
9928 (offset): Remove unused field.
9929 (<init>): Modify one and add another constructor. Change callers.
9930 (allocateDirect): Removed - not used.
9931 (getImpl, putImpl): Make static and pass address explicitly,
9932 to make them useful for MappedByteBufferImpl.
9933 (get, put): Check for underflow. Modify for new getImpl.
9934 (getImpl): New native method where target is array.
9935 (get(byte[],int,int)): Use the above.
9936 (adjustAddress): New static native method.
9937 (slice, duplicate, asReadOnly): New implementations.
9938 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9939 adjustAddress): New or updated native methods.
9941 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9943 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9944 overflow of fieldmapping.
9946 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9948 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9950 2004-02-14 Per Bothner <per@bothner.com>
9952 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9953 Set closed before calling implCloseChannel, as in the spec.
9955 2004-02-09 Graydon Hoare <graydon@redhat.com>
9957 * javax/swing/ToggleButtonModel.java: Remove dead class.
9958 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9959 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9960 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9961 * Makefile.am: Update for new and removed files.
9962 * Makefile.in: Regenerate.
9964 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9965 * javax/swing/AbstractButton.java
9966 (AbstractButton): Initialize fields correctly in ctor.
9967 * javax/swing/JCheckbox.java
9968 (JCheckBox): Override painting flags.
9969 * javax/swing/DefaultButtonModel.java: Conform to sun.
9970 * javax/swing/JComponent.java (paint): Fill with background color
9972 (processComponentKeyEvent)
9975 (processMouseMotionEvent): Remove event-consuming empty methods.
9976 (getUIClassID): Return "ComponentUI" not "JComponent"
9977 * javax/swing/JFrame.java: Remove some debugging chatter.
9978 (JFrame): Subscribe to window events.
9979 * javax/swing/JRadioButton.java
9980 (JRadioButton): Override painting flags.
9981 * javax/swing/JRootPane.java
9982 (JRootPane): Set background from UIDefaults.
9983 * javax/swing/JToggleButton.java
9984 (ToggleButtonModel): New inner class.
9985 (JToggleButton): Override layout alighment.
9986 * javax/swing/SwingUtilities.java:
9987 (getLocalBounds): Return width and height, not x and y.
9988 (calculateInnerArea): Use local bounds, not bounds.
9989 (layoutCompoundLabel): Provide overridden form.
9990 (layoutCompoundLabel): Correct bugs.
9991 * javax/swing/UIDefaults.java: Correct comment.
9992 * javax/swing/plaf/basic/BasicButtonUI.java:
9993 Move most logic into defaults, external listener.
9994 (paintIcon): Implement icon painting.
9995 (paint): Fix state painting to conform to changes in model.
9996 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9997 Remove most dead/wrong methods.
9998 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9999 * javax/swing/plaf/basic/BasicIconFactory.java:
10000 (DummyIcon): New class.
10001 (getMenuItemCheckIcon)
10002 (getMenuItemArrowIcon)
10004 (getCheckBoxMenuItemIcon)
10005 (getRadioButtonMenuItemIcon)
10006 (createEmptyFrameIcon): Return DummyIcons, not null.
10007 (getCheckBoxIcon): Implement an icon that looks like sun's.
10008 (getRadioButtonIcon): Implement an icon that looks like sun's.
10009 * javax/swing/plaf/basic/BasicLookAndFeel.java
10010 (initComponentDefaults): Fix impossible values, add some missing.
10011 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10012 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10013 Remove most dead/wrong methods.
10015 (getDefaultIcon): New method.
10016 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10017 Remove most dead/wrong methods.
10018 * javax/swing/plaf/metal/MetalLookAndFeel.java
10019 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10021 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10022 Implement "clearing" as drawing, when on pixmap drawables.
10024 * javax/swing/JButton.java (getUIClassID):
10025 * javax/swing/JCheckBox.java (getUIClassID):
10026 * javax/swing/JEditorPane.java (getUIClassID):
10027 * javax/swing/JLabel.java (getUIClassID):
10028 * javax/swing/JList.java (getUIClassID):
10029 * javax/swing/JOptionPane.java (getUIClassID):
10030 * javax/swing/JPanel.java (getUIClassID):
10031 * javax/swing/JPasswordField.java (uiClassID):
10032 * javax/swing/JRadioButton.java (getUIClassID):
10033 * javax/swing/JRootPane.java (getUIClassID):
10034 * javax/swing/JScrollPane.java (getUIClassID):
10035 * javax/swing/JTabbedPane.java (getUIClassID):
10036 * javax/swing/JToggleButton.java (getUIClassID):
10037 * javax/swing/JTree.java (getUIClassID):
10038 * javax/swing/JViewport.java (getUIClassID):
10039 * javax/swing/text/JTextComponent.java (getUIClassID):
10040 Return "fooUI" not "Jfoo"
10042 2004-02-11 Michael Koch <konqueror@gmx.de>
10044 * java/net/DatagramSocket.java
10045 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10047 (setBroadcast): Likewise.
10048 * java/net/MulticastSocket.java
10049 (setLoopbackMode): Likewise.
10050 * java/net/ServerSocket.java
10051 (setReuseAddress): Likewise.
10052 * java/net/Socket.java
10053 (setTcpNoDelay): Likewise.
10054 (setSoLinger): Likewise.
10055 (setOOBInline): Likewise.
10056 (setKeepAlive): Likewise.
10057 (setReuseAddress): Likewise.
10058 * java/net/URLConnection.java
10059 (setContentHandler): Replace == with equals().
10060 * java/net/URLStreamHandler.java
10061 (hostSEquals): Fix checking host addresses.
10062 (toExternalForm): Dont check protocol for null. We know already its
10065 2004-02-10 David Jee <djee@redhat.com>
10067 * java/awt/BorderLayout.java
10068 (calcCompSize): Invisible components get zero dimensions.
10069 * java/awt/Button.java
10070 (setLabel): Set actionCommand.
10071 * java/awt/Component.java
10072 (show): Invalidate component and parent container.
10075 2004-02-10 David Jee <djee@redhat.com>
10077 * java/awt/GridBagLayout.java
10078 (GridBagLayout): New private field, internalcomptable.
10079 (lookupInternalConstraints): New method.
10080 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10081 (GetLayoutInfo): Reimplement.
10082 (calcCellSizes): Ignore rows/columns with size 0.
10084 2004-02-10 Michael Koch <konqueror@gmx.de>
10086 * gnu/java/awt/EmbeddedWindow.java
10087 (setHandle): Use java.awt.Component.getPeer() instead of
10088 java.awt.Component.peer directly.
10090 2004-02-10 David Jee <djee@redhat.com>
10092 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10093 (gtkSetLabel): New native method definition.
10094 (setLabel): Use gtkSetLabel.
10095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10096 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10098 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10100 * include/powerpc-signal.h: Revert 2004-01-21 change.
10101 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10102 from syscall for ppc32 versions.
10104 2004-02-08 Per Bothner <per@bothner.com>
10106 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10107 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10108 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10109 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10110 Pass ByteOrder parameter to most methods, since the underlying
10111 ByteBuffer's order isn't always what we should use.
10112 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10113 * java/nio/DirectByteBufferImpl.java: Likewise.
10114 Use ByteBufferHelper methods.
10115 * java/nio/MappedByteBufferImpl.java: Likewise.
10116 (compact): Use shiftDown.
10117 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10118 (get, put): Use ByteBufferHelper.
10119 (compact): Use new shiftDown method.
10120 (duplicate(boolean)): New helper method.
10121 (duplicate, asReadOnlyBuffer): Use it.
10122 (order): Return endian field.
10123 * java/nio/DoubleViewBufferImpl.java: Likewise.
10124 * java/nio/FloatViewBufferImpl.java: Likewise.
10125 * java/nio/IntViewBufferImpl.java: Likewise.
10126 * java/nio/LongViewBufferImpl.java: Likewise.
10127 * java/nio/ShortViewBufferImpl.java: Likewise.
10128 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10129 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10130 (compact): Re-implement using shiftDown.
10132 2004-02-08 Andreas Jaeger <aj@suse.de>
10134 * include/x86_64-signal.h: Fix typo.
10136 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10138 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10139 qualifier to _regs.
10140 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10142 2004-02-06 Michael Koch <konqueror@gmx.de>
10144 * java/io/ObjectInputStream.java
10145 (currentClassLoader): Reverted to old version of this method.
10147 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10149 * java/io/ObjectInputStream.java: Made all calls
10150 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10151 use cached info from ObjectStreamClass. (readClassDescriptor):
10152 Cache more information in ObjectStreamClass. (processResolution,
10153 readFields): Use cached info from ObjectStreamClass.
10154 (newObject): Throw exception instead of returning null for failure.
10155 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10156 setCharField, setDoubleField, setFloatField, setIntField,
10157 setLongField, setShortField, setObjectField, readObjectParams):
10158 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10160 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10161 (setClass): Added call to cacheMethods() (findMethod): New method.
10162 (cacheMethods): New method. (ObjectStreamClass): Added call to
10163 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10164 AccessController.doPrivileged to invoke setAccessible.
10165 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10166 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10168 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10169 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10170 isPrimitive): Made safe for cases where type == null.
10171 (setBooleanField, setByteField, setCharField, setShortField,
10172 setIntField, setLongField, setFloatField, setDoubleField,
10173 setObjectField): New methods.
10175 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10177 * java/awt/Component.java (getFont): Return a default font
10180 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10181 (Scrollbar (int, int, int, int, int)): Make default page
10183 (setValues): Only call peer.setValues if one of the values has
10185 (generateName): New method.
10186 (getUniqueLong): New method.
10187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10188 (range_scrollbar): Remove structure.
10189 (post_adjustment_event): Remove function.
10190 (post_change_event): Accept jobject argument.
10191 (create): Cast jints to gdoubles. Round scrollbar values to the
10192 nearest integer. Clamp min, max and value settings.
10193 (connectJObject): Connect hook to widget->window.
10194 (connectSignals): Remove range_scrollbar structure variables.
10195 Remove "move-slider" connection. Pass global peer reference to
10196 "value-changed" callback.
10197 (setLineIncrement): Cast jint value to gdouble.
10198 (setPageIncrement): Likewise.
10199 (setValues): Likewise. Clamp min, max and value settings.
10201 2004-02-05 Michael Koch <konqueror@gmx.de>
10203 * javax/swing/AbstractCellEditor.java
10204 (getCellEditorValue): Removed.
10205 * javax/swing/Box.java: Reformated.
10206 (serialVersionUID): New field.
10207 * javax/swing/ButtonGroup.java:
10208 Removed some weird whitespace.
10209 * javax/swing/CellEditor.java: Reformated.
10210 * javax/swing/CellRendererPane.java
10211 (serialVersionUID): New field.
10212 (AccessibleCellRendererPaneserialVersionUID): New field.
10213 * javax/swing/DefaultListModel.java
10214 (serialVersionUID): New field.
10215 * javax/swing/JEditorPane.java
10216 (serialVersionUID): New field.
10217 (setPage): Throws IOException.
10218 (addHyperlinkListener): Implemented.
10219 (removeHyperlinkListener): Implemented.
10220 (getHyperlinkListener): New method.
10221 * javax/swing/JFileChooser.java
10222 (serialVersionUID): New field.
10223 (AccessibleJFileChooser.serialVersionUID): New field.
10224 (addActionListener): Implemented.
10225 (removeActionListener): Implemented.
10226 (getActionListeners): New method.
10227 * javax/swing/JFormattedTextField.java
10228 (serialVersionUID): New field.
10229 (AbstractFormatter.serialVersionUID): New field.
10230 (clone): Throws CloneNotSupportedException
10231 (setEditValid): Add missing argument.
10232 (stringToValue): Throws ParseExcpetion.
10233 (valueToString): Throws ParseException.
10234 (commitEdit): Throws ParseException.
10235 * javax/swing/JLabel.java
10236 (serialVersionUID): New field.
10237 * javax/swing/JList.java
10238 (serialVersionUID): New field.
10239 (addListSelectionListener): Reformated.
10240 (removeListSelectionListener): Reformated.
10241 (getListSelectionListeners): New method.
10242 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10244 (serialVersionUID): New field.
10245 * javax/swing/table/AbstractTableModel.java
10246 (getValueAt): Removed.
10247 (getColumnCount): Removed.
10248 (getRowCount): Removed.
10250 2004-02-05 Michael Koch <konqueror@gmx.de>
10252 * java/awt/datatransfer/DataFlavor.java
10253 (imageFlavor): Javadoc added.
10254 (javaJVMLocalObjectType): Fixed.
10256 2004-02-05 Michael Koch <konqueror@gmx.de>
10258 * java/lang/Thread.java
10259 (Thread): Reordered.
10260 (setContextClassLoader): Fixed javadoc comment.
10261 (setPriority): Reordered.
10262 (yield): Reordered.
10263 (initialize_native): Reordered.
10264 (gen_name): Reordered.
10266 2004-02-05 Michael Koch <konqueror@gmx.de>
10268 * java/lang/Thread.java: Reordered fields, reformated much code,
10269 no functional changes, some variables renamed, javadoc comments
10272 2004-02-05 Michael Koch <konqueror@gmx.de>
10274 * java/util/zip/Deflater.java,
10275 java/util/zip/DeflaterOutputStream.java,
10276 java/util/zip/GZIPInputStream.java:
10277 Reformated and javadoc comments merged from classpath.
10279 2004-02-05 Michael Koch <konqueror@gmx.de>
10281 * gnu/java/nio/NIOServerSocket.java
10282 (impl): Unused, removed.
10283 * gnu/java/nio/SocketChannelImpl.java
10284 (finnishConnect): Don't throw NoConnectionPendingException if not
10285 connected or no connection pending.
10287 2004-02-02 Graydon Hoare <graydon@redhat.com>
10289 * javax/swing/SwingUtilities.java: Many new functions.
10290 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10291 * javax/swing/basic/BasicGraphicsUtils.java
10292 (getPreferredButtonSize): Start layout from top-left corner.
10294 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10296 * java/awt/geom/AffineTransform.java:
10297 Corrected comments on the field definitions for
10299 (shear): Fixed few errors that caused shear
10300 transformation to be performed incorrectly.
10301 (createInverse): Fixed to return correct
10302 inverse of the given matrix.
10304 2004-02-03 Tom Tromey <tromey@redhat.com>
10306 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10307 PATH or LD_LIBRARY_PATH is not set in parent environment.
10309 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10311 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10312 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10313 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10314 java/awt/Component.java, java/awt/Container.java,
10315 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10316 java/awt/LayoutManager2.java, java/awt/List.java,
10317 java/awt/Menu.java, java/awt/MenuBar.java,
10318 java/awt/MenuItem.java, java/awt/Polygon.java,
10319 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10320 java/awt/Scrollbar.java, java/awt/TextArea.java,
10321 java/awt/TextField.java,
10322 java/awt/image/renderable/RenderContext.java,
10323 javax/swing/JApplet.java: Fix handling of alias methods, where a
10324 method has been deprecated in favour of a new one with the same
10325 funtion but a different name. Put the method implementation in
10326 the deprecated method and have the new method call the
10327 deprecated one. Make all other code call the new method.
10329 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10331 * gnu/java/nio/DatagramChannelImpl.java
10332 (inChannelOperation): New field.
10333 (isInChannelOperation): New accessor.
10334 (setInChannelOperation): New modifier.
10335 (receive): Use capacity() - position() of destination
10336 buffer instead of remaining(). Set and reset our "in
10337 channel operation indicator" before and after delegating
10338 the receive to our datagram socket. Removed testing code.
10339 Update destination buffer's current position if it is
10340 backed by a byte array (hasArray() is true).
10341 (send): Set and reset our "in channel operation indicator"
10342 before and after delegating the send to our datagram socket.
10343 Removed testing code. Update source buffer's current position
10344 if it is backed by a byte array (hasArray() is true).
10345 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10346 Use capacity() - position() of destination buffer instead
10348 * java/net/DatagramSocket.java (receive): Don't throw an
10349 IllegalBlockingModeException if we have a non-blocking
10350 channel which initiated this operation.
10353 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10355 * configure.in: Add pkgconfig check for glib and gthread.
10356 * configure: Regenerate.
10358 2004-02-01 Michael Koch <konqueror@gmx.de>
10360 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10362 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10363 * verify.cc (debug_print): Mark 'fmt' unused.
10365 2004-01-30 Michael Koch <konqueror@gmx.de>
10367 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10368 * configure: Regenerated.
10369 * glib-2.0.m4: Removed.
10370 * gtk-2.0.m4: Removed.
10371 * libart.m4: Removed.
10372 * pkg.m4: New file.
10374 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10376 * gnu/java/net/PlainSocketImpl.java
10377 (inChannelOperation): New field.
10378 (isInChannelOperation): New accessor.
10379 (setInChannelOperation): New modifier.
10380 * gnu/java/nio/ServerSocketChannelImpl.java
10381 (accept): Set and reset our server socket's PlainSocketImpl's
10382 "in channel operation" indicator before and after delegating
10383 the accept to our server socket.
10384 * gnu/java/nio/SocketChannelImpl.java
10385 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10386 operation" indicator before and after delegating the operation to
10390 * java/net/ServerSocket.java (implAccept): Don't throw an
10391 IllegalBlockingModeException if we have a non-blocking
10392 channel which initiated this accept operation.
10393 * java/net/Socket.java (connect): Don't throw an
10394 IllegalBlockingModeException if we have a non-blocking
10395 channel which initiated this connect operation.
10396 * java/nio/channels/spi/AbstractSelectableChannel.java
10397 (configureBlocking): Only call implConfigureBlocking() if
10398 the desired blocking mode is different from our current one.
10400 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10402 * java/io/BufferedReader.java (sbuf): New field.
10403 (readLine): Use String.valueOf instead of new String() as per
10404 Per Bothner's suggestion. Use instance sbuf field instead of a
10405 local StringBuffer instance.
10406 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10407 caller's buffer to refill().
10408 (read(void)): Pass our internal work buffer to refill if our
10409 input queue is empty.
10410 (refill): Changed return type to int. Use the specified buffer
10411 instead of our work buffer as per Bryce McKinlay's suggestion.
10412 Return the number of characters read or -1 for EOF.
10414 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10416 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10418 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10420 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10421 * Makefile.in: Re-generated.
10422 * gnu/awt/xlib/XFontPeer.java: New file.
10423 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10424 (setClip): Commented out debug printout.
10425 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10426 (getFontPeer): Return XFontPeer.
10427 (getLocalGraphicsEnvironment): New method.
10428 (getClasspathFontPeer): New method.
10429 (createFont): New method.
10431 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10433 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10436 2004-01-29 Kim Ho <kho@redhat.com>
10438 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10439 (gtkLayoutSetVisible): New method
10440 (setMenuBar): Hide layout before setting MenuBar
10441 and reshow it after.
10442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10443 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10445 2004-01-28 Michael Koch <konqueror@gmx.de>
10447 * gnu/java/lang/ClassHelper.java
10448 (getPackagePortion): Removed.
10450 2004-01-28 Michael Koch <konqueror@gmx.de>
10452 * javax/swing/JComponent.java
10453 (listenerList): Initalize globally.
10454 (ancestor_list): Removed.
10455 (veto_list): Removed.
10456 (change_list): Removed.
10457 (get_veto_list): Removed.
10458 (get_change_list): Removed.
10459 (get_ancestor_list): Removed.
10460 (removeAncestorListener): Reimplemented.
10461 (removePropertyChangeListener): Likewise.
10462 (removeVetoableChangeListener): Likewise.
10463 (addAncestorListener): Likewise.
10464 (addPropertyChangeListener): Likewise.
10465 (addVetoableChangeListener): Likewise.
10466 (getListeners): New method.
10467 (getAncestorListeners): Likewise.
10468 (getVetoableChangeListeners): Likewise.
10469 (fireVetoableChange): Throws PropertyVetoException.
10470 * javax/swing/JEditorPane.java
10471 (JEditorPane): Throws IOException.
10473 2004-01-28 David Jee <djee@redhat.com>
10475 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10476 (create): Set the default foreground color to
10477 java.awt.SystemColor.windowText.
10479 2004-01-27 Michael Koch <konqueror@gmx.de>
10481 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10482 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10483 Reindented to merge with classpath.
10485 2004-01-27 David Jee <djee@redhat.com>
10487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10488 (addExposeFilter): Handle GtkFramePeer separately.
10489 (removeExposeFilter): Likewise.
10491 2004-01-27 Michael Koch <konqueror@gmx.de>
10493 * gnu/java/net/protocol/http/Connection.java
10494 (getOutputStream): Fixed typo.
10496 2004-01-27 Michael Koch <konqueror@gmx.de>
10498 * java/lang/Class.java
10499 (getConstructor): Removed SecurityException from throws clause.
10500 (_getConstructors): Likewise.
10501 (getConstructors): Likewise.
10502 (getDeclaredConstructor): Likewise.
10503 (getDeclaredClasses): Likewise.
10504 (getDeclaredConstructors): Likewise.
10505 (getDeclaredField): Likewise.
10506 (getDeclaredMethod): Likewise.
10507 (getDeclaredMethods): Likewise.
10508 (getField): Likewise.
10509 (getMethod): Likewise.
10510 (getMethods): Likewise.
10512 2004-01-27 Kim Ho <kho@redhat.com>
10514 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10515 (removeMenuBarPeer): Remove MenuBarPeer argument.
10516 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10517 (dispose): Call native method.
10518 * java/awt/Frame.java (setMenuBar): Create and remove
10519 MenuBar peers only if the Frame has a peer.
10520 (addNotify): Create the MenuBar peer if one exists.
10521 (removeNotify): Remove MenuBar peer if one exists.
10522 * java/awt/Menu.java: Fix imports.
10523 (addNotify): Don't use full class name.
10524 (removeNotify): Call removeNotify on all children.
10525 * java/awt/MenuBar.java (removeNotify): Call
10526 removeNotify on all children.
10527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10528 (removeMenuBarPeer): Remove MenuBarPeer argument.
10529 Iterate through children to find the Frame's MenuBar.
10530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10532 (dispose): Remove references to the MenuComponent.
10534 2004-01-27 Michael Koch <konqueror@gmx.de>
10536 * javax/swing/AbstractCellEditor.java: Reformated.
10537 * javax/swing/DefaultListSelectionModel.java
10538 (listenerList): Made protected.
10539 (addListSelectionListener): Javadoc added.
10540 (removeListSelectionListener): Likewise.
10541 (getListeners): Likewise.
10542 (getListSelectionListeners): Likewise.
10543 * javax/swing/JComboBox.java: Merged copyright year.
10544 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10546 2004-01-26 Andrew Haley <aph@redhat.com>
10548 * javax/swing/table/JTableHeader.java: Extend JComponent
10550 2004-01-26 Kim Ho <kho@redhat.com>
10552 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10555 2004-01-26 Kim Ho <kho@redhat.com>
10557 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10559 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10560 height and let the Layout Managers readjust anything that
10562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10563 (moveLayout): New method. Shift everything in the Gtk
10564 layout in the Y direction by an offset.
10566 2004-01-26 David Jee <djee@redhat.com>
10568 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10569 (handleEvent): Implemented. Handles PaintEvents.
10570 (paint): Implemented. Use GTK native methods to queue updates
10571 for this heavyweight peer.
10572 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10573 (handleEvent): Removed.
10574 * java/awt/Component.java
10575 (paint): Implemented. Explictly paint the heavyweight peer.
10576 (update): Clear the background for heavyweight components.
10577 (paintAll): No need to call peer.paint() anymore.
10578 (processEvent): Don't process PaintEvents here. It's now done in
10579 the peer's handleEvent().
10580 (processPaintEvent): Removed.
10581 * java/awt/Container.java
10582 (paint): No need to call super.paint(). Visit heavyweight
10584 (update): Don't clear the background here. It's done in
10585 Component.update().
10586 (visitChildren): Added check to not recurse into Containers.
10587 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10588 (filter_expose_event_handler): New method. Filter unwanted
10589 expose events while painting heavyweight peers.
10590 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10591 New method. Connect filter and block pre_event_handler.
10592 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10593 New method. Disconnect filter and unblock pre_event_handler.
10594 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10595 New method. Invalidate and update given area.
10596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10597 (pre_event_handler): Add checks for unwanted expose events.
10599 2004-01-26 David Jee <djee@redhat.com>
10601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10602 (find_bg_color_widget): For GtkButton, return its child.
10604 2004-01-26 Kim Ho <kho@redhat.com>
10606 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10608 (setMenuBar): Grab MenuBar height and change insets.
10609 (setBounds): Account for MenuBar height.
10610 (postInsetsChangedEvent): Ditto.
10611 (postSizeAllocateEvent): Remove.
10612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10613 (menubar_resize_cb): Remove
10614 (setMenuBarPeer): Remove callback.
10615 (getMenuBarHeight): Use size requisition instead of
10618 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10620 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10621 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10623 (setColumns): Remove FIXME -- peer will retrieve number of
10624 columns by calling getColumns.
10625 (setRows): Likewise for number of rows.
10626 (next_text_number): New field.
10627 (paramString): Fix param string.
10628 (generateName): New method.
10629 (getUniqueLong): New method.
10631 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10633 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10634 image observer of image loading status.
10635 (getImage (String)): Start image production.
10636 (getImage (URL)): Likewise.
10638 2004-01-25 Michael Koch <konqueror@gmx.de>
10640 * java/lang/Class.java: Imports reworked, reformated.
10641 (Class): Javadoc added.
10642 (forName): Likewise.
10643 (getClasses): Likewise.
10644 (getClassLoader): Likewise.
10645 (getComponentType): Likewise.
10646 (getConstructor): Likewise.
10647 (getConstructors): Likewise.
10648 (getDeclaredConstructor): Likewise.
10649 (getDeclaredClasses): Likewise.
10650 (getDeclaredConstructors): Likewise.
10651 (getDeclaredField): Likewise.
10652 (getDeclaredMethod): Likewise.
10653 (getDeclaredMethods): Likewise.
10654 (getDeclaringClass): Likewise.
10655 (getField): Likewise.
10656 (getInterfaces): Likewise.
10657 (getMethod): Likewise.
10658 (getMethods): Likewise.
10659 (getModifiers): Likewise.
10660 (getName): Likewise.
10661 (getResource): Likewise.
10662 (getResourceAsStream): Likewise.
10663 (getSigners): Likewise.
10664 (setSigners): Likewise.
10665 (getSuperclass): Likewise.
10666 (isArray): Likewise.
10667 (isAssignableFrom): Likewise.
10668 (isInstance): Likewise.
10669 (isInterface): Likewise.
10670 (isPrimitive): Likewise.
10671 (newInstance): Likewise.
10672 (getProtectionDomain): Likewise.
10673 (toString): Likewise.
10675 (initializeClass): Likewise.
10676 (finalize): Likewise.
10678 2004-01-24 Michael Koch <konqueror@gmx.de>
10680 * gnu/java/net/protocol/jar/Connection.java
10681 (hdrHash): Removed.
10683 (gotHeaders): Removed.
10684 (getHeaderField): Removed.
10685 (getHeaderFields): Removed.
10686 (getHeaderFieldKey): Removed.
10688 (getField): Removed.
10689 (getHeaders): Removed.
10691 2004-01-24 Michael Koch <konqueror@gmx.de>
10693 * Makefile.am: Added library version to gtk peer lib.
10694 * Makefile.in: Regenerated.
10696 2004-01-24 Michael Koch <konqueror@gmx.de>
10698 * java/util/zip/InflaterInputStream.java: Merged class documentation
10701 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10703 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10704 header. For __powerpc64__ provide the default-signal.h definitions
10706 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10707 instead of the dummy definitions.
10708 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10709 (powerpc64*-*): Remove with_libffi_default.
10710 Only add -mminimal-toc for 64-bit compilations.
10711 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10712 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10713 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10714 * configure: Rebuilt.
10716 2004-01-23 Michael Koch <konqueror@gmx.de>
10718 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10720 2004-01-23 Michael Koch <konqueror@gmx.de>
10722 * java/lang/VMClassLoader.java: Reworked imports.
10724 2004-01-23 Michael Koch <konqueror@gmx.de>
10726 * javax/swing/AbstractAction.java: Reformated.
10728 2004-01-23 Michael Koch <konqueror@gmx.de>
10730 * java/text/CollationElementIterator.java:
10731 (setText): New method.
10733 2004-01-23 Michael Koch <konqueror@gmx.de>
10735 * gnu/java/nio/FileLockImpl.java:
10736 Fixed filename in copyright.
10737 (released): Removed.
10738 (finalize): New method.
10739 * gnu/java/nio/natFileLockImpl.cc
10740 (releaseImpl): Implemented.
10741 * java/nio/channels/FileChannelImpl.java:
10743 (lock): Implemented.
10744 (lockImpl): New method.
10745 (tryLock): Implemented.
10746 (tryLockImpl): New method.
10747 * java/nio/channels/natFileChannelImpl.cc
10748 (lockImpl): New method.
10749 (tryLockImpl): New method.
10751 2004-01-23 Michael Koch <konqueror@gmx.de>
10753 * java/io/FileDescriptor.java
10754 (lock): New method.
10755 (tryLock): New method.
10756 (unlock): New method.
10757 * java/io/natFileDescriptorEcos.cc
10758 (lock): New method.
10759 (tryLock): New method.
10760 (unlock): New method.
10761 * java/io/natFileDescriptorPosix.cc
10762 (lock): New method.
10763 (tryLock): New method.
10764 (unlock): New method.
10765 * java/io/natFileDescriptorWin32.cc
10766 (lock): New method.
10767 (tryLock): New method.
10768 (unlock): New method.
10770 2004-01-23 Michael Koch <konqueror@gmx.de>
10772 * java/io/FileDescriptor.java
10773 (sync): Moved around, added javadoc.
10778 (setLength): Likewise.
10780 (getLength): Likewise.
10781 (getFilePointer): Likewise.
10783 (available): Likewise.
10784 (finalize): Likewise.
10786 2004-01-23 Michael Koch <konqueror@gmx.de>
10788 * javax/swing/AbstractAction.java: Reformated.
10789 (getPropertyChangeListeners): New method.
10790 * javax/swing/AbstractCellEditor.java: Reformated.
10791 (getCellEditorListeners): New method.
10792 * javax/swing/DefaultListSelectionModel.java
10793 (listenerList): New field.
10794 (listeners): Removed.
10795 (get_listeners): Removed.
10796 (addListSelectionListener): Rewritten.
10797 (removeListSelectionListener): Rewritten.
10798 (getListSelectionListeners): New method.
10799 (getListeners): New method.
10800 * javax/swing/JComboBox.java: Imports reworked.
10801 (addActionListener): Implemented.
10802 (removeActionListener): Implemented.
10803 (addItemListener): Implemented.
10804 (removeItemListener): Implemented.
10805 (addPopupMenuListener): Implemented.
10806 (removePopupMenuListener): Implemented.
10807 (getActionListeners): New method.
10808 (getItemListeners): New method.
10809 (getPopupMenuListeners): New method.
10811 2004-01-23 Michael Koch <konqueror@gmx.de>
10813 * gnu/java/net/protocol/http/Connection.java
10814 (connect): Don't initialize bufferedOutputStream if not needed.
10815 (sendRequest): Set property for content length if content is present.
10816 Write content only if present.
10817 (getOutputStream): Check if already connected, dont connect,
10818 initalize bufferedOutputStream if needed.
10820 2004-01-23 Michael Koch <konqueror@gmx.de>
10822 * java/io/FileDescriptor.java
10823 (in, out, err): Added javadoc.
10824 (static): Merged loading code.
10825 (fd, position): Moved around.
10827 2004-01-23 Michael Koch <konqueror@gmx.de>
10829 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10832 2004-01-23 Michael Koch <konqueror@gmx.de>
10834 * java/lang/Class.java,
10835 java/lang/Object.java,
10836 java/lang/Thread.java: Merged copyright with classpath.
10838 2004-01-23 Michael Koch <konqueror@gmx.de>
10840 * java/io/FileDescriptor.java: Merged copyright with classpath to
10841 start merging this class.
10843 2004-01-22 Tom Tromey <tromey@redhat.com>
10846 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10847 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10848 * testsuite/libjava.lang/pr13107_3.java: New file.
10849 * testsuite/libjava.lang/pr13107_3.out: New file.
10850 * testsuite/libjava.lang/pr13107_2.java: New file.
10851 * testsuite/libjava.lang/pr13107_2.out: New file.
10852 * testsuite/libjava.lang/pr13107.java: New file.
10853 * testsuite/libjava.lang/pr13107.out: New file.
10854 * verify.cc (jsr_ptrs): Removed.
10855 (entry_points): Likewise.
10856 (struct subr_info): Likewise.
10857 (struct subr_entry_info): Likewise.
10858 (type_val::unused_by_subroutine_type): Likewise.
10859 (type::merge): Don't handle unused_by_subroutine_type.
10860 (type::print): Likewise.
10861 (state::flags): Removed.
10862 (state::subroutine): Likewise.
10863 (state::seen_subrs): Likewise.
10864 (state::NO_STACK): Likewise.
10865 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10866 (state): Updated all methods.
10867 (state::clean_subrs): Removed.
10868 (state::state): Removed `ret_semantics' flag.
10869 (state::copy): Likewise.
10870 (state::add_subr): Removed.
10871 (state::enter_subroutine): Likewise.
10872 (type::set_return_address): New method.
10873 (handle_jsr_insn): Set return address on the type. Always
10874 invalidate PC after call.
10875 (check_nonrecursive_call): Removed.
10876 (~_Jv_BytecodeVerifier): Updated.
10877 (branch_prepass): Removed special handling of jsr.
10878 (note_branch_target): Likewise.
10879 (get_subroutine): Removed.
10880 (state::merge): Don't merge subroutines and don't handle
10881 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10882 (state::note_variable): Removed.
10883 (state::is_unmerged_ret_state): Likewise.
10884 (state::print): Updated.
10885 (set_variable): Likewise.
10886 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10887 and jsr_semantics arguments. Updated for new reverification
10889 (pop_jump): Rewrote.
10890 (construct_primitive_array_type): Updated.
10891 (state::next): Removed.
10892 (INVALID_STATE): New define.
10893 (state::INVALID): Removed.
10894 (state::NO_NEXT): New value.
10895 (state::pc, state::next): New fields.
10896 (state::get_pc): New method.
10897 (next_verify_pc): Removed.
10898 (next_verify_state): New field.
10899 (verify_instructions_0): Always check for falling off end.
10900 (linked): New type.
10901 (linked_utf8): Removed.
10902 (states): Changed type.
10903 (type::state_mergeable_p): New method.
10904 (state::state_mergeable_p): Likewise.
10905 (handle_ret_insn): Removed most code.
10906 (state::reverify): New method.
10907 (add_new_state): Likewise.
10908 (state::set_pc): Likewise.
10910 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10913 * testsuite/libjava.compile/PR13733.java: New file.
10914 * testsuite/libjava.compile/PR13733.xfail: New file.
10916 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10917 Michael Koch <konqueror@gmx.de>
10919 * javax/swing/table/DefaultTableCellRenderer.java
10920 (DefaultTableCellRenderer): Added javadoc for the class and for
10921 the constructor, Border instance, create an EmptyBorder.
10922 (UIResource): Removed the comment at the end of the class
10923 (setForeground): New method.
10924 (setBackground): New method.
10925 (updateUI): New method.
10926 (getTableCellRendererComponent): Rewritten with the help of
10927 dvholten and Stephane Meslin-Weber.
10928 (validate): New method.
10929 (repaint): New method.
10930 (firePropertyChange): New method.
10931 (setValue): New method.
10933 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10936 (connectJObject): Replace printf calls with g_assert statements.
10937 Move property-notify-event signal connection to ...
10938 (connectSignals): Connect property-notify-event signal. Iterate
10939 through the vbox's children to find layout.
10941 2004-01-22 Graydon Hoare <graydon@redhat.com>
10943 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10944 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10945 Predicate static initialization on GtkToolkit.useGraphics2D().
10946 * java/awt/Component.java (processPaintEvent): Consume event.
10947 * javax/swing/AbstractButton.java: Reimplement, document.
10948 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10949 * javax/swing/JComponent.java (paint): Use double buffer.
10950 (listenerList): Enable member.
10951 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10952 * javax/swing/JToggleButton.java
10953 (JToggleButton): Modify model constructor.
10954 * javax/swing/SwingUtilities.java
10955 (layoutCompoundLabel): Adjust arithmetic.
10956 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10957 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10958 (getPreferredButtonSize): Include margins in calculation.
10959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10960 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10961 Receive up events from subordinate layout component.
10963 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10965 * java/awt/Component.java (show): Set visible to true before
10968 2004-01-21 Kim Ho <kho@redhat.com>
10970 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10972 (removeMenuBarPeer): Make package private.
10973 (setMenuBarPeer): Make package private.
10974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10975 (menubar_resize_cb): Mark attributes unused.
10976 (getMenuBarHeight): ditto.
10978 2004-01-21 David Jee <djee@redhat.com>
10980 * java/awt/Container.java
10981 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10982 dispatching MOUSE_ENTERED event twice. Translate the point for
10983 the mouse event target before dispatching the event.
10985 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10987 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10988 lib_org_w3c_dom_la_LDFLAGS): New.
10989 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10990 * Makefile.in: Rebuilt.
10992 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10994 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10995 Calculate proper offsets for heavyweight components packed in
10996 lightweight containers.
10998 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10999 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11000 (native create): Add width parameter.
11001 (create): Calculate text entry width based on current font's
11002 metrics and number of columns. Set TextField's font if not
11003 already set. Call native create.
11004 (gtkEntryGetBorderWidth): New native method.
11005 (gtkEntryGetSize): Remove method.
11006 (getMinimumSize): Call minimumSize.
11007 (getPreferredSize): Call preferredSize.
11008 (minimumSize): Calculate minimum size based on backing
11009 GtkEntry's borders, font metrics and number of columns.
11010 (preferredSize): Likewise for preferred size.
11011 (get_border_width): New static function.
11013 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11014 Override GtkWindowPeer's setResizable method to account for menu
11015 bar height when setting the frame's size.
11017 2004-01-19 Matthias Klose <doko@debian.org>
11019 * libtool-version: Increased `current' to 6.
11021 2004-01-19 Kim Ho <kho@redhat.com>
11023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11024 (connectJObject): Iterate through the vbox's children to find layout.
11026 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11028 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11029 isDispatchThread method to replace wrong test condition.
11031 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11033 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11034 events to the queue out of order by acquiring locks in the proper
11035 order and not by releasing one before acquiring the other.
11037 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11039 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11040 visible so that dialog can be reused.
11042 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11044 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11045 events may be handled by any queue in the stack.
11047 2004-01-19 Kim Ho <kho@redhat.com>
11049 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11050 MenuBarPeer parameter.
11051 (removeMenuBarPeer): New native method.
11052 (setMenuBar): Call remove if menu bar is null. Adjust insets
11054 (postSizeAllocateEvent): New method. Called when menu bar size is
11055 allocated. Adjust insets and redo layout.
11056 (GtkFramePeer): Set menu bar during frame creation.
11057 (postConfigureEvent): Adjust position and size to accomodate
11059 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11060 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11061 (addNotify): Create the peer if it doesn't exist and call addNotify
11062 for the menu's items.
11063 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11064 * java/awt/MenuItem.java (addNotify): Create the peer if it
11066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11067 (removeMenuBarPeer): New method. Remove menu bar on the current
11069 (setMenuBarPeer): Add the menu bar to the current frame and the
11070 callback for size-allocate events on the menu bar.
11071 (getMenuBarHeight): Add menu bar parameter.
11072 (menubar_resize_cb): New callback method for postSizeAllocate events.
11074 Also: Fix indentation on last ChangeLog entry.
11076 2004-01-16 Kim Ho <kho@redhat.com>
11078 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11079 (gtkWidgetGetDimensions): Remove.
11080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11081 (gtkWidgetGetDimensions): Remove.
11083 2004-01-16 Tom Tromey <tromey@redhat.com>
11085 * java/awt/Container.java: Typo and indentation fixes.
11087 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11088 * java/lang/natVMClassLoader.cc: ...here. New file.
11089 * Makefile.in: Rebuilt.
11090 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11092 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11095 Discard GDK_ENTER_NOTIFY related to ungrabs.
11097 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11099 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11100 is called for an intermediate queue.
11102 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11105 (window_property_changed_cb): Set id_set.
11107 2004-01-16 Kim Ho <kho@redhat.com>
11109 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11110 it is a FileDialog and has dimensions of 0 by 0, then the initial
11111 size is set to size request plus insets.
11112 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11113 (gtkWidgetGetDimensions): Override method.
11114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11115 (gtkWidgetGetDimensions): Override method. Returns size request plus
11118 2004-01-16 Andrew Haley <aph@redhat.com>
11120 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11121 * sysdep/i386/locks.h: Likewise.
11123 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11125 * java/awt/EventDispatchThread.java (run): Stop running when
11127 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11128 Reset the queue after transferring its contents.
11129 (push): Start a new dispatch thread if none is running.
11131 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11133 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11134 (doPolygon): set fill rule of polygon to
11135 WIND_EVEN_ODD by default.
11137 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11139 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11140 Implemented rendering hints related methods.
11141 (getDefaultHints): New helper method. Returns
11142 default rendering hints.
11143 (walkPath): changed to normalize path if
11144 the KEY_STROKE_CONTROL key is in "normalize" mode.
11145 (draw3DRect): changed coordinates of rectangle by +0.5
11146 if in "normalize" mode.
11148 2004-01-15 Tom Tromey <tromey@redhat.com>
11150 * Makefile.in: Rebuilt.
11151 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11152 (%.lo: %.java) Filter out StackTrace.lo.
11154 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11156 * configure.in: Add in AC_PREREQ(2.13)
11157 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11160 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11161 Tom Tromey <tromey@redhat.com>
11164 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11165 array to superclass.
11166 (init): Changed interface; add URLs here.
11167 (initialize): New static method.
11168 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11169 (_Jv_RunMain): ... not here.
11171 2004-01-14 Michael Koch <konqueror@gmx.de>
11173 * java/text/MessageFormat.java:
11174 Added descriptions to exceptions.
11175 This fixes PR libgcj/2429.
11177 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11179 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11180 (push): Make sure push is performed at the top of the thread stack.
11182 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11184 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11185 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11186 (native create): Add width and height parameters. Set text
11187 view's size request according to new parameters.
11188 (create): Calculate text view size based on current font's
11189 metrics and number of rows and columns. Set TextArea's font if
11190 not already set. Call native create.
11191 (getMinimumSize): Call minimumSize.
11192 (getPreferredSize): Call preferredSize.
11193 (getHScrollbarHeight): New method.
11194 (getVScrollbarWidth): New method.
11195 (minimumSize): Calculate minimum size based on scrollbar
11196 visibility, scrollbar sizes, font metrics and number of rows and
11198 (preferredSize): Likewise for preferred size.
11199 (gtkTextGetSize): Remove method.
11201 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11203 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11204 (initializeInsets): Remove method.
11205 (GtkComponentPeer): Initialize insets field. Remove call to
11207 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11209 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11211 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11213 (latestInsets): Remove field.
11214 (native create): Add insets parameter. Call
11215 window_get_frame_extents. Set the window's default size and
11216 size request based on its frame extents.
11217 (create): Initialize insets.
11218 (postInsetsChangedEvent): New method.
11219 (postConfigureEvent): Remove parameters top, left, bottom,
11220 right. Remove insets-related logic.
11221 (connectJObject): Handle property-notify-event.
11222 (window_get_frame_extents, request_frame_extents,
11223 property_notify_predicate, window_property_changed_cb): New
11225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11226 (pre_event_handler): Remove insets-related logic for configure
11228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11229 Update postConfigureEvent signature.
11231 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11233 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11234 to handle Window "Closing" events.
11236 2004-01-13 David Jee <djee@redhat.com>
11238 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11239 (setBackground): New method. Children with no explicitly-set
11240 background will be repainted with the parent container's new
11243 2004-01-13 David Jee <djee@redhat.com>
11245 * Makefile.am: Add BitwiseXORComposite.java.
11246 * Makefile.in: Regenerated.
11247 * gcj/Makefile.in: Regenerated.
11248 * include/Makefile.in: Regenerated.
11249 * testsuite/Makefile.in: Regenerated.
11251 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11253 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11254 not show modal dialogs twice and so that it allows showing a modal
11255 dialog from another modal dialog.
11257 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11259 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11260 and run secondary dispatch thread to process event queue while this
11263 2004-01-12 Graydon Hoare <graydon@redhat.com>
11265 * gnu/java/awt/gtk/GdkGraphics2D.java
11266 (static): Check GtkToolkit before initializing static state.
11267 (Graphics2D): Don't construct transform with 0.5 unit offset.
11269 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11271 * gnu/java/awt/BitwiseXORComposite.java: Add.
11272 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11273 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11274 (BitwiseXORComposite): Remove inner class.
11276 2004-01-11 Michael Koch <konqueror@gmx.de>
11278 * gnu/java/lang/reflect/TypeSignature.java
11279 (getEncodingOfClass): Documentation fixed.
11280 (getClassForEncoding): Give class loader to Class.forName().
11281 Documentation fixed.
11283 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11285 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11287 2004-01-11 Michael Koch <konqueror@gmx.de>
11289 * javax/swing/undo/StateEditable.java
11290 (RCSID): Removed redundant modifiers.
11292 2004-01-10 Michael Koch <konqueror@gmx.de>
11294 * javax/print/attribute/EnumSyntax.java
11295 (getStringTable): Made protected.
11296 (getEnumValueTable): Likewise.
11297 * javax/print/attribute/standard/JobKOctetsProcessed.java
11298 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11299 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11300 (JobMediaSheetsCompleted): Made class final.
11301 * javax/print/attribute/standard/OutputDeviceAssigned.java
11302 (getName): Fixed typo.
11303 * javax/print/attribute/standard/RequestingUserName.java
11304 (serialVersionUID): Fixed value.
11306 2004-01-10 Michael Koch <konqueror@gmx.de>
11308 * javax/swing/plaf/basic/BasicButtonUI.java,
11309 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11310 javax/swing/plaf/basic/BasicListUI.java,
11311 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11312 javax/swing/plaf/basic/BasicPanelUI.java,
11313 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11314 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11315 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11316 javax/swing/plaf/basic/BasicViewportUI.java:
11317 Fixed import statements.
11319 2004-01-10 Michael Koch <konqueror@gmx.de>
11321 * gnu/java/awt/image/ImageDecoder.java
11322 (produce): Made public.
11323 * gnu/java/awt/peer/GLightweightPeer.java,
11324 gnu/java/awt/peer/gtk/GtkToolkit.java:
11327 2004-01-10 Michael Koch <konqueror@gmx.de>
11329 * javax/swing/JRadioButtonMenuItem.java,
11330 javax/swing/JSeparator.java,
11331 javax/swing/JSplitPane.java,
11332 javax/swing/JTextPane.java,
11333 javax/swing/JToolBar.java,
11334 javax/swing/ListCellRenderer.java,
11335 javax/swing/ListModel.java,
11336 javax/swing/MenuElement.java,
11337 javax/swing/OverlayLayout.java,
11338 javax/swing/ProgressMonitor.java,
11339 javax/swing/ProgressMonitorInputStream.java,
11340 javax/swing/Renderer.java,
11341 javax/swing/RootPaneContainer.java,
11342 javax/swing/Scrollable.java,
11343 javax/swing/SingleSelectionModel.java,
11344 javax/swing/ToolTipManager.java,
11345 javax/swing/ViewportLayout.java,
11346 javax/swing/event/DocumentEvent.java,
11347 javax/swing/event/SwingPropertyChangeSupport.java,
11348 javax/swing/event/TreeSelectionEvent.java,
11349 javax/swing/event/UndoableEditEvent.java,
11350 javax/swing/text/AbstractDocument.java,
11351 javax/swing/text/AttributeSet.java,
11352 javax/swing/text/Caret.java,
11353 javax/swing/text/ComponentView.java,
11354 javax/swing/text/DefaultCaret.java,
11355 javax/swing/text/DefaultEditorKit.java,
11356 javax/swing/text/Document.java,
11357 javax/swing/text/EditorKit.java,
11358 javax/swing/text/GapContent.java,
11359 javax/swing/text/Keymap.java,
11360 javax/swing/text/MutableAttributeSet.java,
11361 javax/swing/text/PlainEditorKit.java,
11362 javax/swing/text/Segment.java,
11363 javax/swing/text/Style.java,
11364 javax/swing/text/StyledDocument.java,
11365 javax/swing/text/StyledEditorKit.java,
11366 javax/swing/text/TextAction.java,
11367 javax/swing/text/View.java: Fixed import statements.
11369 2004-01-08 Graydon Hoare <graydon@redhat.com>
11371 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11372 djee@redhat.com's recent inverse ordering of Container elements.
11374 2004-01-09 Michael Koch <konqueror@gmx.de>
11376 * gnu/java/lang/ArrayHelper.java
11377 (equalsArray): Removed.
11379 2004-01-09 Andrew Haley <aph@redhat.com>
11381 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11382 a Utf8Const field before looking at its class.
11384 2004-01-09 Michael Koch <konqueror@gmx.de>
11386 * javax/print/attribute/standard/DocumentName.java,
11387 javax/print/attribute/standard/JobHoldUntil.java,
11388 javax/print/attribute/standard/JobMessageFromOperator.java,
11389 javax/print/attribute/standard/JobName.java,
11390 javax/print/attribute/standard/JobOriginatingUserName.java,
11391 javax/print/attribute/standard/OutputDeviceAssigned.java,
11392 javax/print/attribute/standard/PrinterInfo.java,
11393 javax/print/attribute/standard/PrinterLocation.java,
11394 javax/print/attribute/standard/PrinterMakeAndModel.java,
11395 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11396 javax/print/attribute/standard/PrinterName.java,
11397 javax/print/attribute/standard/RequestingUserName.java: New files.
11398 * Makefile.am (javax_source_files): Added new files.
11399 * Makefile.in: Regenerated.
11401 2004-01-09 Michael Koch <konqueror@gmx.de>
11403 * javax/swing/AbstractAction.java,
11404 javax/swing/AbstractSet.java,
11405 javax/swing/Action.java,
11406 javax/swing/ActionMap.java,
11407 javax/swing/BoundedRangeModel.java,
11408 javax/swing/ButtonModel.java,
11409 javax/swing/CellEditor.java,
11410 javax/swing/CellRendererPane.java,
11411 javax/swing/ComboBoxEditor.java,
11412 javax/swing/DebugGraphics.java,
11413 javax/swing/DefaultCellEditor.java,
11414 javax/swing/DefaultCellRenderer.java,
11415 javax/swing/DefaultComboBoxModel.java,
11416 javax/swing/DefaultDesktopManager.java,
11417 javax/swing/DefaultFocusManager.java,
11418 javax/swing/DefaultListCellRenderer.java,
11419 javax/swing/Icon.java,
11420 javax/swing/JButton.java,
11421 javax/swing/JCheckBoxMenuItem.java,
11422 javax/swing/JDesktopPane.java,
11423 javax/swing/JEditorPane.java,
11424 javax/swing/JMenu.java,
11425 javax/swing/JPanel.java,
11426 javax/swing/JPasswordField.java,
11427 javax/swing/JPopupMenu.java,
11428 javax/swing/JProgressBar.java: Reworked imports.
11430 2004-01-09 Michael Koch <konqueror@gmx.de>
11432 * java/awt/geom/PathIterator.java
11433 (WIND_EVEN_ODD): Removed redundant modifiers.
11434 (WIND_NON_ZERO): Likewise.
11435 (SEG_MOVETO): Likewise.
11436 (SEG_LINETO): Likewise.
11437 (SEG_QUADTO): Likewise.
11438 (SEG_CUBICTO): Likewise.
11439 (SEG_CLOSE): Likewise.
11440 * java/awt/image/SinglePixelPackedSampleModel.java:
11441 Removed redundant semicolon.
11442 * java/io/ObjectInputStream.java
11443 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11444 * java/util/logging/Filter.java
11445 (isLoggable): Removed redundant modifier.
11446 * java/util/logging/LogManager.java:
11447 Removed redundant semicolon.
11448 * java/util/logging/XMLFormatter.java
11449 (format): Removed unused variable "key".
11451 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11453 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11454 New name for the former setFile native method.
11455 (setFile): New method.
11456 (setDirectory): Implemented.
11457 (connectSignals): New native method.
11458 (setFilenameFilter): Improve comment.
11459 (getGraphics): Comment.
11460 (gtkHideFileDialog): New method.
11461 (gtkDisposeFileDialog): New method.
11462 (gtkSetFilename): New method.
11463 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11464 for FileDialog for now.
11465 (hide): New method.
11466 (dispose): New method.
11467 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11468 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11469 deprecated creation functions. Make dialog modal. Add it to the
11471 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11473 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11475 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11477 (window_closed): New function.
11478 (ok_clicked): New function.
11479 (cancel_clicked): New function.
11481 2004-01-08 Michael Koch <konqueror@gmx.de>
11483 * javax/swing/JLayeredPane.java: Revert changes to standard
11484 boilerplate, reworked imports.
11486 2004-01-07 Tom Tromey <tromey@redhat.com>
11489 * verify.cc (state::merge): Copy changed locals out of subroutine
11491 (state::FLAG_CHANGED): New const.
11492 (state::FLAG_UNUSED): Likewise.
11493 (state::local_changed): Removed. Updated all users.
11494 (state::flags): New field.
11495 (state::merge): Added jsr_semantics argument, more logic.
11496 (push_jump_merge): Added jsr_semantics argument.
11497 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11498 merging through the jsr instruction.
11500 2004-01-07 Tom Tromey <tromey@redhat.com>
11502 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11505 2004-01-07 Graydon Hoare <graydon@redhat.com>
11507 * java/awt/Container.java (LightweightDispatcher): Implement.
11508 (visitChild): Reuse graphics object.
11509 (dispatchEventImpl): Optionally dispatch to lightweight.
11510 (addNotifyContainerChildren): Build LightweightDispatcher.
11512 2004-01-07 David Jee <djee@redhat.com>
11514 * java/awt/Container.java
11515 (update): Clear only the clipped region, instead of clearing the
11517 (visitChildren): Visit children in descending order.
11519 2004-01-07 Michael Koch <konqueror@gmx.de>
11521 * java/lang/reflect/Array.java: Merged documentation with classpath.
11523 2004-01-07 Michael Koch <konqueror@gmx.de>
11525 * java/text/CollationElementIterator.java
11526 (textIndex): Renamed from index.
11527 * java/text/CollationKey.java
11528 (collator): New member.
11529 (CollationKey): New argument for parent collator.
11530 (equals): Check for same collator, source string and key array.
11531 * java/text/RuleBasedCollator.java:
11533 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11535 (getCollationElementIterator): Rewritten.
11536 (getCollationKey): Added new argument to CollationKey constructor.
11538 2004-01-07 Michael Koch <konqueror@gmx.de>
11540 * gnu/java/nio/DatagramChannelImpl.java
11541 (blocking): Removed.
11542 (DatagramChannelImpl): Call configureBlocking().
11543 (implConfigureBlocking): Dont initialize blocking.
11544 * gnu/java/nio/ServerSocketChannelImpl.java
11545 (blocking): Removed.
11546 (ServerSocketChannelImpl): Call configureBlocking().
11547 (implConfigureBlocking): Dont initialize blocking.
11548 * gnu/java/nio/SocketChannelImpl.java
11549 (blocking): Removed.
11550 (SocketChannelImpl): Call configureBlocking().
11551 (implConfigureBlocking): Dont initialize blocking.
11552 (connect): Use isBlocking().
11553 * java/nio/channels/spi/AbstractSelectableChannel.java
11554 (configureBlocking): Use blockingLock() instead of LOCK.
11555 Set blocking after successfully called implConfigureBlocking().
11556 (register): Use blockingLock() instead of LOCK.
11558 2004-01-07 Michael Koch <konqueror@gmx.de>
11560 * java/net/ServerSocket.java (isBound): Fixed documentation.
11562 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11564 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11565 (changeEvent): Create event object on demand.
11566 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11567 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11568 fireStateChanged): Re-written.
11569 * javax/swing/event/EventListenerList.java: Reformatted, document
11571 (toString): Implemented.
11572 (getListeners): Re-written.
11573 (remove): Re-written.
11575 (NO_LISTENERS): New singleton field.
11576 (listenerList): Declare as transient; document.
11577 (serialVersionUID): Document.
11578 (getListenerCount(Class)): More efficient implementation,
11579 also accepts null argument. Improve Javadoc.
11580 (getListenerCount()): Remove unnecessary cast; docfix.
11581 * javax/swing/undo/UndoableEditSupport.java:
11582 Re-format, document.
11583 (UndoableEditSupport): Set realSource field. Improve documentation.
11584 (_postEdit): Iterate over cloned listener vector.
11585 (toString): Don't emit realSource.
11586 (beginUpdate, endUpdate): Support nested updates.
11587 (postEdit): Use compound edit if present.
11589 2004-01-06 Graydon Hoare <graydon@redhat.com>
11591 * java/awt/Container.java (swapComponents): Add forgotten
11592 function, required for JLayeredPane change.
11594 2004-01-06 Michael Koch <konqueror@gmx.de>
11596 * java/text/CollationElementIterator.java: Reformated.
11597 (CollationElementIterator): Changed order of arguments.
11598 * java/text/RuleBasedCollator.java
11599 (RuleBasedCollator): Merged class documentation.
11600 (CollationElement): Added documentation.
11601 (compare): Reformated, renamed arguments.
11602 (equals): Likewise.
11603 (getCollationElementIterator): Likewise.
11604 (getCollationKey): Likewise.
11606 2004-01-06 Graydon Hoare <graydon@redhat.com>
11608 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11610 2004-01-06 Michael Koch <konqueror@gmx.de>
11612 * gnu/java/net/protocol/file/Connection.java:
11613 Reformated copyright.
11614 (hdrHash): Removed.
11616 (gotHeaders): Removed.
11617 (getHeaderField): Removed.
11618 (getHeaderField): Removed.
11619 (getHeaderFieldKey): Removed.
11621 (getField): Removed.
11622 (getHeaders): Removed.
11624 2004-01-06 Michael Koch <konqueror@gmx.de>
11626 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11627 javax/print/attribute/standard/DateTimeAtCreation.java,
11628 javax/print/attribute/standard/DateTimeAtProcessing.java,
11629 javax/print/attribute/standard/JobImpressionsCompleted.java,
11630 javax/print/attribute/standard/JobKOctets.java,
11631 javax/print/attribute/standard/JobKOctetsProcessed.java,
11632 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11633 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11634 * Makefile.am (javax_source_files): Added new files.
11635 * Makefile.in: Regenerated.
11637 2004-01-06 Michael Koch <konqueror@gmx.de>
11639 * java/net/URLConnection.java
11640 (contentHandler): Removed.
11642 (getHeaderFields): Return an empty map instead of null.
11643 (getContent): Connect if needed, renamed "cType" to "type" and
11644 "contentHandler" to "ch" and made it a local variable.
11645 (getPermission): Don't use package in class name.
11646 (setDefaultRequestProperty): Fixed typo in documentation.
11647 (initializeDateFormats): Made locale a local variable.
11649 2004-01-06 Michael Koch <konqueror@gmx.de>
11651 * java/lang/Package.java
11652 (getPackage): Get the current class loader directly.
11653 * java/lang/SecurityManager.java
11654 (currentLoadedClass): Dont iterate over class contexts.
11655 (classLoaderDepth): Don't check class loaders if everything is allowed.
11657 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11660 (pre_event_handler): Set all insets to 0 when a Configure event
11661 is received for a GtkPlug.
11662 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11663 Make handle long, not int.
11664 (EmbeddedWindow()): New constructor.
11665 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11667 (setHandle): New method.
11668 (getHandle): Return long, not int.
11669 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11671 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11672 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11673 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11674 argument to GdkNativeWindow.
11675 (construct): New method.
11676 (embed): New method.
11678 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11679 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11680 (create(int, int)): New method.
11681 (create): Call new create method.
11682 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11684 (childResized): Remove native implementation. Implement in
11686 (getHScrollbarHeight, getVScrollbarWidth): Call
11687 gtk_widget_size_request to get scrollbar dimensions.
11688 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11689 call getVScrollbarWidth and getHScrollbarHeight when vertical
11690 and horizontal scrollbars respectively are needed.
11691 (doLayout): Enlarge child if it is smaller than the viewport.
11693 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11695 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11696 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11697 argument as per spec.
11699 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11701 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11703 (remove): Ditto. Also, Check for valid argument.
11704 (removeAll): Use peer interface method.
11705 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11706 native add function.
11707 (nativeRemove): New name for native remove function.
11708 (getHistory): New native function.
11709 (constructor): Generate ItemEvent.
11710 (add): Ditto, if selection is changed.
11711 (remove): Ditto, ditto.
11712 (removeAll): Add implementation.
11713 (handleEvent): Remove. Dead code.
11714 (choicePostItemEvent): Add comment.
11715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11716 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11717 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11718 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11719 comments and fix condition to change selection.
11720 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11721 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11722 remove all capability.
11723 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11724 (item_activate): Add cast to remove compiler warning.
11726 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11728 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11729 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11730 (getPreferredSize): Call preferredSize.
11731 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11732 (getMinimumSize): Call minimumSize.
11733 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11734 (gtkWidgetGetDimensions): Return the peer widget's current size
11736 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11737 natural size request.
11739 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11741 Thanks to Brian Gough <bjg@network-theory.com>
11742 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11743 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11745 2004-01-04 Matthias Klose <doko@debian.org>
11747 * aclocal.m4: Rebuilt using "aclocal -I .".
11748 * configure: Rebuilt.
11750 2004-01-03 Per Bothner <per@bothner.com>
11752 * java/util/Date.java (parse): Fix a number of problems.
11753 (skipParens): Remove no-longer-needed method.