1 2004-10-25 Tom Tromey <tromey@redhat.com>
3 * java/util/ResourceBundle.java (tryBundle): Use
4 Class.isAssignableFrom rather than catching ClassCastException.
6 2004-10-25 Tom Tromey <tromey@redhat.com>
8 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
10 * gnu/java/text/SentenceBreakIterator.java
11 (SentenceBreakIterator): Don't initialize `iter'.
12 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
14 * gnu/java/text/CharacterBreakIterator.java
15 (CharacterBreakIterator): Don't initialize `iter'.
16 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
18 * java/text/BreakIterator.java: Updated documentation.
20 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
23 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
25 2004-10-23 Michael Koch <konqueror@gmx.de>
27 * javax/print/DocFlavor.java,
28 javax/print/attribute/standard/JobStateReason.java,
29 javax/print/attribute/standard/MultipleDocumentHandling.java:
30 Added missing constants.
32 2004-10-22 Tom Tromey <tromey@redhat.com>
34 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
37 2004-10-22 Michael Koch <konqueror@gmx.de>
40 * gnu/java/net/protocol/http/Connection.java
41 (sendRequest): Handle case when url.getFile() returns an empty string.
43 2004-10-22 Michael Koch <konqueror@gmx.de>
45 * java/lang/Math.java,
46 java/lang/StackTraceElement.java,
48 java/nio/ByteBuffer.java,
49 java/nio/CharBuffer.java,
50 java/nio/DoubleBuffer.java,
51 java/nio/FloatBuffer.java,
52 java/nio/IntBuffer.java,
53 java/nio/LongBuffer.java,
54 java/nio/ShortBuffer.java,
55 java/nio/charset/Charset.java,
56 java/rmi/server/RMIClassLoader.java,
57 java/rmi/server/RMISocketFactory.java,
58 java/security/Policy.java,
59 java/text/ChoiceFormat.java,
60 java/text/CollationElementIterator.java,
61 java/text/DateFormat.java,
62 java/text/DecimalFormat.java,
63 java/text/DecimalFormatSymbols.java,
64 java/text/MessageFormat.java,
65 java/text/NumberFormat.java,
66 java/text/RuleBasedCollator.java,
67 java/text/SimpleDateFormat.java,
68 java/util/BitSet.java,
69 java/util/Calendar.java,
70 java/util/Collections.java,
71 java/util/IdentityHashMap.java,
72 java/util/Locale.java,
73 java/util/TreeMap.java,
74 java/util/logging/LogRecord.java,
75 java/util/logging/XMLFormatter.java,
76 java/util/prefs/AbstractPreferences.java,
77 java/util/prefs/Preferences.java,
78 javax/crypto/interfaces/DHPrivateKey.java,
79 javax/crypto/interfaces/DHPublicKey.java,
80 javax/crypto/interfaces/PBEKey.java,
81 javax/net/ssl/HandshakeCompletedEvent.java,
82 javax/security/auth/Subject.java:
83 Removed redundant and reordered modifiers.
85 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
87 * gnu/java/net/natPlainSocketImplPosix.cc
88 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
89 with 'int *' argument instead of 'long *'.
91 2004-10-21 Michael Koch <konqueror@gmx.de>
93 * java/net/NetworkInterface.java,
94 java/text/Format.java,
95 javax/security/auth/x500/X500Principal.java,
96 javax/security/auth/x500/X500PrivateCredential.java,
97 javax/security/cert/X509CertBridge.java,
98 javax/security/sasl/Sasl.java,
99 javax/sql/XAConnection.java:
102 2004-10-21 Michael Koch <konqueror@gmx.de>
104 * javax/net/ssl/HandshakeCompletedEvent.java,
105 javax/net/ssl/KeyManagerFactory.java,
106 javax/net/ssl/SSLContext.java,
107 javax/net/ssl/SSLServerSocketFactory.java,
108 javax/net/ssl/SSLSession.java,
109 javax/net/ssl/SSLSocketFactory.java,
110 javax/net/ssl/TrustManagerFactory.java:
113 2004-10-21 Michael Koch <konqueror@gmx.de>
115 * javax/naming/directory/BasicAttribute.java,
116 javax/naming/directory/BasicAttributes.java,
117 javax/naming/directory/InitialDirContext.java,
118 javax/naming/event/NamingEvent.java,
119 javax/naming/ldap/ControlFactory.java,
120 javax/naming/ldap/ExtendedRequest.java,
121 javax/naming/ldap/InitialLdapContext.java,
122 javax/naming/ldap/LdapReferralException.java,
123 javax/naming/spi/DirObjectFactory.java,
124 javax/naming/spi/DirStateFactory.java,
125 javax/naming/spi/DirectoryManager.java,
126 javax/naming/spi/InitialContextFactory.java,
127 javax/naming/spi/InitialContextFactoryBuilder.java,
128 javax/naming/spi/NamingManager.java,
129 javax/naming/spi/ObjectFactory.java,
130 javax/naming/spi/ObjectFactoryBuilder.java,
131 javax/naming/spi/StateFactory.java:
134 2004-10-21 Michael Koch <konqueror@gmx.de>
136 * javax/crypto/Cipher.java,
137 javax/crypto/EncryptedPrivateKeyInfo.java,
138 javax/crypto/ExemptionMechanism.java,
139 javax/crypto/KeyAgreement.java,
140 javax/crypto/KeyGenerator.java,
141 javax/crypto/Mac.java,
142 javax/crypto/SecretKeyFactory.java,
143 javax/crypto/SecretKeyFactorySpi.java,
144 javax/crypto/spec/SecretKeySpec.java:
147 2004-10-21 Michael Koch <konqueror@gmx.de>
149 * java/security/AlgorithmParameterGenerator.java,
150 java/security/AlgorithmParameters.java,
151 java/security/AlgorithmParametersSpi.java,
152 java/security/AllPermission.java,
153 java/security/BasicPermission.java,
154 java/security/Certificate.java,
155 java/security/CodeSource.java,
156 java/security/DigestInputStream.java,
157 java/security/DigestOutputStream.java,
158 java/security/GuardedObject.java,
159 java/security/KeyFactory.java,
160 java/security/KeyFactorySpi.java,
161 java/security/KeyPairGenerator.java,
162 java/security/KeyStore.java,
163 java/security/KeyStoreSpi.java,
164 java/security/Permissions.java,
165 java/security/Security.java,
166 java/security/Signature.java,
167 java/security/UnresolvedPermission.java,
168 java/security/cert/CertPathBuilder.java,
169 java/security/cert/CertPathValidator.java,
170 java/security/cert/CertStore.java,
171 java/security/cert/Certificate.java,
172 java/security/cert/CertificateFactory.java,
173 java/security/cert/PolicyQualifierInfo.java,
174 java/security/cert/TrustAnchor.java,
175 java/security/cert/X509CRL.java,
176 java/security/cert/X509CRLSelector.java,
177 java/security/cert/X509CertSelector.java:
180 2004-10-21 Michael Koch <konqueror@gmx.de>
182 * java/rmi/MarshalledObject.java,
183 java/rmi/Naming.java,
184 java/rmi/activation/Activatable.java,
185 java/rmi/activation/ActivationGroup.java,
186 java/rmi/activation/ActivationGroupDesc.java,
187 java/rmi/activation/ActivationInstantiator.java,
188 java/rmi/activation/ActivationMonitor.java,
189 java/rmi/activation/ActivationSystem.java,
190 java/rmi/activation/Activator.java,
191 java/rmi/registry/LocateRegistry.java,
192 java/rmi/registry/Registry.java,
193 java/rmi/server/LogStream.java,
194 java/rmi/server/ObjID.java,
195 java/rmi/server/RMIClientSocketFactory.java,
196 java/rmi/server/RMIServerSocketFactory.java,
197 java/rmi/server/RMISocketFactory.java,
198 java/rmi/server/RemoteCall.java,
199 java/rmi/server/RemoteServer.java,
200 java/rmi/server/ServerRef.java,
201 java/rmi/server/UID.java,
202 java/rmi/server/UnicastRemoteObject.java:
205 2004-10-21 Tom Tromey <tromey@redhat.com>
207 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
208 exception if we hit EOF of `in'.
209 (read): Handle case where inflating returns -1.
211 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
213 * gnu/java/nio/channels/natFileChannelPosix.cc
214 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
215 argument instead of 'long *'.
217 2004-10-21 Tom Tromey <tromey@redhat.com>
219 * java/util/ResourceBundle.java (tryBundle): Also ignore
222 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
224 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
225 for all sh*-*-linux* targets.
226 * configure: Regenerate.
227 * include/sh-signal.h: New file.
229 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
231 * java/lang/ieeefp.h: Add m32r support.
233 2004-10-20 Andreas Schwab <schwab@suse.de>
235 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
237 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
240 2004-10-20 Michael Koch <konqueror@gmx.de>
242 * javax/print/attribute/standard/ColorSupported.java,
243 javax/print/attribute/standard/Compression.java,
244 javax/print/attribute/standard/Copies.java,
245 javax/print/attribute/standard/CopiesSupported.java,
246 javax/print/attribute/standard/DateTimeAtCompleted.java,
247 javax/print/attribute/standard/DateTimeAtCreation.java,
248 javax/print/attribute/standard/DateTimeAtProcessing.java,
249 javax/print/attribute/standard/DocumentName.java,
250 javax/print/attribute/standard/Fidelity.java,
251 javax/print/attribute/standard/Finishings.java,
252 javax/print/attribute/standard/JobHoldUntil.java,
253 javax/print/attribute/standard/JobImpressions.java,
254 javax/print/attribute/standard/JobImpressionsCompleted.java,
255 javax/print/attribute/standard/JobImpressionsSupported.java,
256 javax/print/attribute/standard/JobKOctets.java,
257 javax/print/attribute/standard/JobKOctetsProcessed.java,
258 javax/print/attribute/standard/JobKOctetsSupported.java,
259 javax/print/attribute/standard/JobMediaSheets.java,
260 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
261 javax/print/attribute/standard/JobMediaSheetsSupported.java,
262 javax/print/attribute/standard/JobMessageFromOperator.java,
263 javax/print/attribute/standard/JobName.java,
264 javax/print/attribute/standard/JobOriginatingUserName.java,
265 javax/print/attribute/standard/JobPriority.java,
266 javax/print/attribute/standard/JobPrioritySupported.java,
267 javax/print/attribute/standard/JobSheets.java,
268 javax/print/attribute/standard/JobState.java,
269 javax/print/attribute/standard/JobStateReason.java,
270 javax/print/attribute/standard/JobStateReasons.java,
271 javax/print/attribute/standard/Media.java,
272 javax/print/attribute/standard/MultipleDocumentHandling.java,
273 javax/print/attribute/standard/NumberOfDocuments.java,
274 javax/print/attribute/standard/NumberOfInterveningJobs.java,
275 javax/print/attribute/standard/NumberUp.java,
276 javax/print/attribute/standard/NumberUpSupported.java,
277 javax/print/attribute/standard/OrientationRequested.java,
278 javax/print/attribute/standard/OutputDeviceAssigned.java,
279 javax/print/attribute/standard/PDLOverrideSupported.java,
280 javax/print/attribute/standard/PageRanges.java,
281 javax/print/attribute/standard/PagesPerMinute.java,
282 javax/print/attribute/standard/PagesPerMinuteColor.java,
283 javax/print/attribute/standard/PrintQuality.java,
284 javax/print/attribute/standard/PrinterInfo.java,
285 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
286 javax/print/attribute/standard/PrinterLocation.java,
287 javax/print/attribute/standard/PrinterMakeAndModel.java,
288 javax/print/attribute/standard/PrinterMessageFromOperator.java,
289 javax/print/attribute/standard/PrinterMoreInfo.java,
290 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
291 javax/print/attribute/standard/PrinterName.java,
292 javax/print/attribute/standard/PrinterStateReason.java,
293 javax/print/attribute/standard/PrinterStateReasons.java,
294 javax/print/attribute/standard/PrinterURI.java,
295 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
296 javax/print/attribute/standard/RequestingUserName.java:
297 Reorganized imports and removed redundant final modifiers.
299 2004-10-20 Michael Koch <konqueror@gmx.de>
301 * javax/security/sasl/SaslClient.java,
302 javax/security/sasl/SaslClientFactory.java,
303 javax/security/sasl/SaslException.java,
304 javax/security/sasl/SaslServer.java,
305 javax/security/sasl/SaslServerFactory.java:
308 2004-10-20 Michael Koch <konqueror@gmx.de>
310 * javax/security/auth/login/NullConfiguration.java,
311 javax/security/auth/x500/X500Principal.java,
312 javax/security/cert/X509Certificate.java,
313 javax/security/sasl/AuthenticationException.java,
314 javax/security/sasl/AuthorizeCallback.java,
315 javax/security/sasl/RealmCallback.java,
316 javax/security/sasl/RealmChoiceCallback.java,
317 javax/security/sasl/Sasl.java,
318 javax/security/sasl/SaslClient.java,
319 javax/security/sasl/SaslClientFactory.java,
320 javax/security/sasl/SaslException.java,
321 javax/security/sasl/SaslServer.java,
322 javax/security/sasl/SaslServerFactory.java:
323 Cleaned up import statements and copyright notices.
325 2004-10-20 Michael Koch <konqueror@gmx.de>
327 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
329 2004-10-20 Michael Koch <konqueror@gmx.de>
331 * java/sql/Timestamp.java,
332 java/text/AttributedCharacterIterator.java,
333 java/text/AttributedString.java,
334 java/util/zip/CheckedOutputStream.java,
335 java/util/zip/DeflaterOutputStream.java,
336 java/util/zip/ZipFile.java,
337 javax/crypto/Cipher.java,
338 javax/crypto/ExemptionMechanismException.java,
339 javax/crypto/SecretKey.java,
340 javax/crypto/SecretKeyFactory.java,
341 javax/naming/directory/ModificationItem.java,
342 javax/naming/directory/SearchControls.java,
343 javax/naming/event/NamingListener.java,
344 javax/naming/ldap/Control.java,
345 javax/naming/ldap/ExtendedResponse.java,
346 javax/net/ssl/SSLSocketFactory.java:
347 Reorganized imports and fixed copyright headers.
349 2004-10-20 Michael Koch <konqueror@gmx.de>
351 * java/util/logging/ConsoleHandler.java,
352 java/util/logging/ErrorManager.java,
353 java/util/logging/FileHandler.java,
354 java/util/logging/Filter.java,
355 java/util/logging/Formatter.java,
356 java/util/logging/Handler.java,
357 java/util/logging/Level.java,
358 java/util/logging/LogManager.java,
359 java/util/logging/LogRecord.java,
360 java/util/logging/Logger.java,
361 java/util/logging/LoggingPermission.java,
362 java/util/logging/MemoryHandler.java,
363 java/util/logging/SimpleFormatter.java,
364 java/util/logging/SocketHandler.java,
365 java/util/logging/StreamHandler.java,
366 java/util/logging/XMLFormatter.java:
367 Standardized copyrigth header.
369 2004-10-20 Michael Koch <konqueror@gmx.de>
371 * java/security/AlgorithmParameterGenerator.java,
372 java/security/AlgorithmParameters.java,
373 java/security/DigestInputStream.java,
374 java/security/Identity.java,
375 java/security/KeyFactory.java,
376 java/security/KeyPairGenerator.java,
377 java/security/KeyStore.java,
378 java/security/MessageDigest.java,
379 java/security/MessageDigestSpi.java,
380 java/security/Policy.java,
381 java/security/SecureRandom.java,
382 java/security/Security.java,
383 java/security/Signature.java,
384 java/security/SignatureSpi.java,
385 java/security/cert/CertPathBuilder.java,
386 java/security/cert/CertPathValidator.java,
387 java/security/cert/CertStore.java,
388 java/security/cert/Certificate.java,
389 java/security/cert/CertificateFactory.java,
390 java/security/cert/PolicyQualifierInfo.java,
391 java/security/cert/TrustAnchor.java,
392 java/security/cert/X509CRL.java,
393 java/security/cert/X509CRLEntry.java,
394 java/security/cert/X509Certificate.java,
395 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
396 Import statements reorganized, some little formatting issues,
397 used java-style array declarations, added comments in empty catch
400 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
402 * java/security/Security.java
403 (static): Use AccessController.doPrivileged to get system property.
405 2004-10-18 Sven de Marothy <sven@physto.se>
407 * java/nio/ByteBufferHelper.java
408 (putDouble): Use Double.toRawLongBits instead.
410 2004-10-18 Mark Wielaard <mark@klomp.org>
411 Andrew Haley <aph@redhat.com>
413 * testsuite/libjava.lang/ExtraClassLoader.java: New.
415 2004-10-18 Andrew Haley <aph@redhat.com>
418 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
419 and correct logic used to find interpreter.
421 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
423 * java/util/logging/LogManager.java
424 (findAncestor): Fixed IndexOutOfBoundsException.
426 2004-10-18 Michael Koch <konqueror@gmx.de>
428 * java/io/BufferedInputStream.java: Fixed @author tag.
429 (read): Simplified expression.
430 (read): Merged javadoc a bit more.
431 (read): Renamed 'remain' to 'totalBytesRead'.
432 * java/io/DataInputStream.java,
433 java/io/DataOutputStream.java,
434 java/io/ObjectInputStream.java,
435 java/io/ObjectOutputStream.java:
436 Reworked modifier order.
438 2004-10-18 Michael Koch <konqueror@gmx.de>
440 * java/net/Inet4Address.java: Merged file header and javadocs.
441 * java/net/Inet6Address.java: Likewise.
442 * java/net/InetAddress.java
443 (getCanonicalHostName): Create Inet4Address object instead of
444 InetAddress and add comment regarding IPv6.
445 (toString): Simplified.
447 2004-10-18 Michael Koch <konqueror@gmx.de>
449 * gnu/java/net/protocol/http/Connection.java,
450 java/nio/MappedByteBufferImpl.java,
451 java/text/RuleBasedCollator.java,
452 java/util/ResourceBundle.java:
453 Reworked import statements.
455 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
457 * java/security/IdentityScope.java
458 (systemScope): Removed useless initializer.
459 * java/security/Policy.java
460 (currentPolicy): Likewise.
462 2004-10-18 Michael Koch <konqueror@gmx.de>
464 * java/lang/System.java: Revert accidential change.
466 2004-10-18 Michael Koch <konqueror@gmx.de>
468 * java/lang/Math.java,
469 java/lang/Package.java,
470 java/lang/Runtime.java,
471 java/lang/StrictMath.java,
472 java/lang/System.java,
473 java/lang/Thread.java,
474 java/lang/ThreadLocal.java,
476 Reworked import statements, HTML in javadocs and modifier orders.
478 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
480 * java/util/Timer.java
481 (nr): Removed useless initializer.
482 * java/util/logging/LogRecord.java
483 (lastSeqNum): Likewise.
484 * javax/naming/spi/NamingManager.java
485 (icfb, ofb): Likewise.
487 2004-10-18 Michael Koch <konqueror@gmx.de>
489 * gnu/java/net/PlainDatagramSocketImpl.java:
490 Reworked import statements.
491 * gnu/java/security/provider/DSAParameters.java:
492 Fixed copyrigth years.
493 * java/net/JarURLConnection.java:
494 Fixed HTML in @author tags.
497 2004-10-18 Michael Koch <konqueror@gmx.de>
499 * java/rmi/activation/ActivationSystem.java
500 (SYSTEM_PORT): Initialize with correct port number.
502 2004-10-18 Michael Koch <konqueror@gmx.de>
504 * java/lang/reflect/Proxy.java: Improved javadocs.
506 2004-10-18 Michael Koch <konqueror@gmx.de>
508 * java/lang/reflect/AccessibleObject.java
509 (checkPermission): Removed redundant final modifier.
510 (secureSetAccessible): Likewise.
511 * java/lang/reflect/Proxy.java:
512 Reworked import statements.
513 (generate): Removed redundant final modifier.
514 * java/lang/reflect/ReflectPermission.java:
515 Reorder package declaration and import statement.
517 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
519 * java/lang/reflect/Proxy.java
520 (count): Removed useless initializer.
522 2004-10-17 Michael Koch <konqueror@gmx.de>
524 * java/net/BindException.java,
525 java/net/ConnectException.java,
526 java/net/ContentHandler.java,
527 java/net/ContentHandlerFactory.java,
528 java/net/DatagramPacket.java,
529 java/net/DatagramSocket.java,
530 java/net/DatagramSocketImpl.java,
531 java/net/DatagramSocketImplFactory.java,
532 java/net/FileNameMap.java,
533 java/net/HttpURLConnection.java,
534 java/net/MalformedURLException.java,
535 java/net/MulticastSocket.java,
536 java/net/NetworkInterface.java,
537 java/net/NoRouteToHostException.java,
538 java/net/PasswordAuthentication.java,
539 java/net/PortUnreachableException.java,
540 java/net/ProtocolException.java,
541 java/net/ServerSocket.java,
542 java/net/Socket.java,
543 java/net/SocketException.java,
544 java/net/SocketImpl.java,
545 java/net/SocketImplFactory.java,
546 java/net/SocketOptions.java,
547 java/net/SocketPermission.java,
548 java/net/SocketTimeoutException.java,
550 java/net/URISyntaxException.java,
552 java/net/URLDecoder.java,
553 java/net/URLEncoder.java,
554 java/net/URLStreamHandler.java,
555 java/net/URLStreamHandlerFactory.java,
556 java/net/UnknownHostException.java,
557 java/net/UnknownServiceException.java:
558 Big import statement and @author tag cleanup.
560 2004-10-17 Michael Koch <konqueror@gmx.de>
562 * gnu/java/security/OID.java,
563 gnu/java/security/provider/DSAParameters.java,
564 gnu/java/security/provider/DSASignature.java,
565 gnu/java/security/x509/X500DistinguishedName.java,
566 gnu/java/security/x509/X509CRL.java:
567 Import statements cleaned up.
569 2004-10-16 Michael Koch <konqueror@gmx.de>
571 * gnu/java/nio/NIODatagramSocket.java,
572 gnu/java/nio/ServerSocketChannelImpl.java:
573 Reorganized import statements.
575 2004-10-16 Michael Koch <konqueror@gmx.de>
577 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
578 gnu/java/rmi/rmic/RMIC.java,
579 gnu/java/rmi/server/RMIHashes.java,
580 gnu/java/rmi/server/RMIObjectInputStream.java,
581 gnu/java/rmi/server/RMIObjectOutputStream.java,
582 gnu/java/rmi/server/UnicastConnection.java,
583 gnu/java/rmi/server/UnicastConnectionManager.java,
584 gnu/java/rmi/server/UnicastRemoteCall.java,
585 gnu/java/rmi/server/UnicastServer.java,
586 gnu/java/rmi/server/UnicastServerRef.java,
587 java/rmi/MarshalledObject.java,
588 java/rmi/Naming.java,
589 java/rmi/RMISecurityManager.java,
590 java/rmi/Remote.java,
591 java/rmi/activation/Activatable.java,
592 java/rmi/activation/ActivationDesc.java,
593 java/rmi/activation/ActivationGroup.java,
594 java/rmi/activation/ActivationGroupDesc.java,
595 java/rmi/activation/ActivationGroupID.java,
596 java/rmi/activation/ActivationID.java,
597 java/rmi/activation/ActivationInstantiator.java,
598 java/rmi/activation/ActivationMonitor.java,
599 java/rmi/activation/ActivationSystem.java,
600 java/rmi/activation/Activator.java,
601 java/rmi/dgc/DGC.java,
602 java/rmi/dgc/Lease.java,
603 java/rmi/dgc/VMID.java,
604 java/rmi/registry/LocateRegistry.java,
605 java/rmi/registry/Registry.java,
606 java/rmi/registry/RegistryHandler.java,
607 java/rmi/server/LoaderHandler.java,
608 java/rmi/server/LogStream.java,
609 java/rmi/server/ObjID.java,
610 java/rmi/server/Operation.java,
611 java/rmi/server/RMIClassLoader.java,
612 java/rmi/server/RMIClassLoaderSpi.java,
613 java/rmi/server/RMIClientSocketFactory.java,
614 java/rmi/server/RMIFailureHandler.java,
615 java/rmi/server/RMIServerSocketFactory.java,
616 java/rmi/server/RMISocketFactory.java,
617 java/rmi/server/RemoteCall.java,
618 java/rmi/server/RemoteObject.java,
619 java/rmi/server/RemoteRef.java,
620 java/rmi/server/RemoteServer.java,
621 java/rmi/server/RemoteStub.java,
622 java/rmi/server/ServerRef.java,
623 java/rmi/server/Skeleton.java,
624 java/rmi/server/SkeletonMismatchException.java,
625 java/rmi/server/UID.java,
626 java/rmi/server/UnicastRemoteObject.java,
627 java/rmi/server/Unreferenced.java:
628 File headers and import statements cleaned up.
630 2004-10-16 Michael Koch <konqueror@gmx.de>
632 * libjava/gnu/java/nio/charset/UTF_16.java,
633 libjava/gnu/java/nio/charset/UTF_16BE.java,
634 libjava/gnu/java/nio/charset/UTF_16LE.java,
635 libjava/java/nio/ByteOrder.java,
636 libjava/java/nio/MappedByteBuffer.java,
637 libjava/java/nio/channels/Channels.java,
638 libjava/java/nio/channels/spi/SelectorProvider.java,
639 libjava/java/nio/charset/Charset.java:
642 2004-10-16 Michael Koch <konqueror@gmx.de>
644 * gnu/java/nio/charset/UTF_16Encoder.java
645 (UTF_16Encoder): Fixed maxBytesPerChar handling.
647 2004-10-16 Michael Koch <konqueror@gmx.de>
649 * java/math/BigDecimal.java, java/math/BigInteger.java:
650 Reorganized import statements, removed redundant and
651 reorganized modifiers.
653 2004-10-16 Michael Koch <konqueror@gmx.de>
655 * gnu/java/beans/ExplicitBeanInfo.java:
656 Explicitely import java.awt.Image.
657 (getIcon): Fixed off-by-one error.
659 2004-10-15 Andrew Haley <aph@redhat.com>
661 * Makefile.am (nat_files, xlib_nat_files): New.
662 * Makefile.in: Regenerate.
664 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
666 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
667 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
669 2004-10-13 Andrew Haley <aph@redhat.com>
671 * interpret.cc (_Jv_InterpMethod::run): Initialize
672 _Jv_StartOfInterpreter.
673 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
674 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
675 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
676 _Unwind_FindEnclosingFunction to discover whether PC is within the
679 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
682 * testsuite/libjava.lang/md5test.java: New file.
683 * testsuite/libjava.lang/md5test.out: Likewise.
684 * testsuite/libjava.lang/shatest.java: Likewise.
685 * testsuite/libjava.lang/shatest.out: Likewise.
687 2004-10-11 Richard Henderson <rth@redhat.com>
689 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
690 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
692 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
694 * java/util/Calendar.java (set): Invalidate DST_OFFSET
695 field as a DST boundary may have been crossed.
696 * java/util/GregorianCalendar.java (add): Throw
697 IllegalArgumentException on attempt to add to DST_OFFSET or
698 ZONE_OFFSET fields. Update javadoc.
700 2004-10-09 Michael Koch <konqueror@gmx.de>
702 * java/io/CharArrayWriter.java
703 (resize): Removed redundant 'final' modifier.
704 * java/io/DataInputStream.java
705 (readFully): Throw IndexOutOfBoundsException of len < 0.
706 * java/io/FileDescriptor.java,
707 java/io/FileInputStream.java,
708 java/io/FileOutputStream.java,
709 java/io/ObjectOutputStream.java,
710 java/io/ObjectStreamClass.java,
711 java/io/PipedInputStream.java,
712 java/io/RandomAccessFile.java:
713 Reorganized import statements.
715 2004-10-09 Michael Koch <konqueror@gmx.de>
717 * gnu/java/rmi/rmic/RMIC.java,
718 gnu/java/rmi/server/RMIHashes.java,
719 gnu/java/rmi/server/RMIObjectInputStream.java,
720 gnu/java/rmi/server/UnicastConnection.java,
721 gnu/java/rmi/server/UnicastConnectionManager.java,
722 gnu/java/rmi/server/UnicastRemoteCall.java,
723 gnu/java/rmi/server/UnicastServerRef.java:
724 Reworked import statements and fixed file headers.
726 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
728 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
730 * configure: Rebuilt.
732 2004-09-30 Tom Tromey <tromey@redhat.com>
734 * java/text/MessageFormat.java (Field): Constructor now
737 2004-09-30 Tom Tromey <tromey@redhat.com>
739 * javax/crypto/MacSpi.java: Fixed typo.
741 2004-09-30 Michael Koch <konqueror@gmx.de>
743 * java/net/InetAddress.java: Reformatted.
744 (loopback): Initialize with Inet4Address object.
745 (static): Initialize ANY_IF with Inet4Address object.
746 (InetAddress): Removed unused package-private constructor.
748 2004-09-30 Michael Koch <konqueror@gmx.de>
750 * java/beans/Beans.java,
751 java/beans/EventHandler.java,
752 java/beans/EventSetDescriptor.java,
753 java/beans/Introspector.java,
754 java/beans/PropertyEditorManager.java,
755 java/beans/beancontext/BeanContext.java,
756 java/beans/beancontext/BeanContextChild.java,
757 java/beans/beancontext/BeanContextChildSupport.java,
758 java/beans/beancontext/BeanContextMembershipEvent.java:
759 Reordered import statements and removed redundant modifiers.
761 2004-09-29 Tom Tromey <tromey@redhat.com>
764 * Makefile.in: Rebuilt.
765 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
767 (all_property_files): New macro.
769 * Makefile.in: Rebuilt.
770 * Makefile.am (ordinary_java_source_files): Re-sorted.
771 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
773 2004-09-28 Tom Tromey <tromey@redhat.com>
775 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
778 * Makefile.am (libgcj.la): Restored.
779 * Makefile.in: Rebuilt.
781 2004-09-28 Michael Koch <konqueror@gmx.de>
783 * java/net/URLConnection.java: Reformatted.
784 * java/net/URLClassLoader.java: Reformatted.
785 (getContent): Reordered return of content.
786 (getContentHandler): Don't check for null explicitely.
788 2004-09-27 Michael Koch <konqueror@gmx.de>
790 * java/io/BufferedInputStream.java
791 (BufferedInputStream): Added Jeroen Frijters to authors.
792 (count): Don't explicitely initialize with default value.
794 (marklimit): Likewise.
795 (read): Changed boolean expression to match GNU classpath' version.
796 (reset): Add proper message to exception.
797 (skip): Check for closed stream.
800 2004-09-26 Per Bothner <per@bothner.com>
802 * prims.cc (unblock_signal): Annotate signum with __unused__ to
803 avoid warnings in the non-POSIX_VERSION case.
804 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
805 so place it inside an #if block.
806 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
807 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
808 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
809 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
811 2004-09-26 Per Bothner <per@bothner.com>
813 * prims.cc (process_gcj_properties): Optimization.
815 2004-09-26 Per Bothner <per@bothner.com>
817 * java/util/Collections.java (sort): Copy from array in forwards
818 order, rather than reverse order which may be much less efficient.
820 2004-09-26 Mark Wielaard <mark@klomp.org>
822 * java/lang/System.java (properties): Make package private.
823 * java/lang/Throwable.java (StaticData.nl): Initialize through
824 directly accessing System.properties.getProperty().
826 * java/lang/Throwable.java (nl): Remove static field.
827 (StaticData): New private static inner class.
828 (stackTraceStringBuffer): Use StaticData.nl.
830 2004-09-26 Casey Marshall <csm@gnu.org>
832 * java/security/ProtectionDomain.java
833 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
836 * java/security/SecureClassLoader.java
837 (defineClass): make protection domain dynamically bound.
838 (getPermissions): call `getCurrentPolicy' to avoid permission
841 2004-09-25 Mark Wielaard <mark@klomp.org>
843 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
844 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
845 * Makefile.in: Regenerated.
847 * gcj/javaprims.h: Regenerated.
849 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
850 (getDefaultTimeZone): Make package private. Check that GMToffset
851 contains at least one digit.
852 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
854 * util/VMTimeZone.java: New file with above methods.
856 * java/util/natTimeZone.cc: Removed (renamed).
857 * java/util/natVMTimeZone.cc: Added (renamed).
859 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
861 * java/util/TimeZone.java
862 (getDefaultTimeZone): Fixed test to distinguish between hours and
863 minutes in specified timezone.
865 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
867 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
868 handling of default package. (generate): Removed confused comments
869 and code about making Method and Field accessible.
871 2004-09-25 Tom Tromey <tromey@redhat.com>
874 * testsuite/libjava.compile/pr17500.java: New file.
876 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
877 Mark Wielaard <mark@klomp.org>
879 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
880 * gnu/regexp/RETokenLookAhead.java: New file.
882 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
883 * Makefile.in: Regenerated.
885 2004-09-25 Michael Koch <konqueror@gmx.de>
887 * java/io/ObjectStreamField.java:
888 Removed unused import statement.
890 2004-09-24 Tom Tromey <tromey@redhat.com>
893 * testsuite/libjava.compile/pr15656.xfail: New file.
894 * testsuite/libjava.compile/pr15656.java: new file.
897 * testsuite/libjava.lang/pr16789.out: New file.
898 * testsuite/libjava.lang/pr16789.java: New file.
900 2004-09-24 Andrew Haley <aph@redhat.com>
903 * testsuite/libjava.compile/AssertBug.java: New file.
905 2004-09-24 Casey Marshall <csm@gnu.org>
907 * java/util/PropertyPermissionCollection.java
908 (implies): avoid infinite loop.
910 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
912 * javax/security/auth/PrivateCredentialPermission.java
913 (PrivateCredentialPermission): added serialization UID
916 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
918 * gnu/java/rmi/server/UnicastServer.java
919 (incomingMessageCall): Added code to handle Errors.
920 * gnu/java/rmi/server/UnicastServerRef.java
921 (incomingMessageCall): Added code to handle Errors.
924 2004-09-24 Tom Tromey <tromey@redhat.com>
926 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
927 (definedPackages): Likewise.
929 2004-09-24 Michael Koch <konqueror@gmx.de>
931 * java/io/ObjectInputStream.java:
934 2004-09-24 Casey Marshall <csm@gnu.org>
936 * java/io/ObjectInputStream.java (callReadMethod): re-throw
937 `ClassNotFoundException'.
939 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
941 * java/io/ObjectInputStream.java (readObject): Delegate instantation
942 of Externalizable classes to ObjectStreamClass.
943 * java/io/ObjectStreamClass.java (newInstance): New method to
944 instantiate Externalizable (while ignoring the accessibility of
945 the constructor). (constructor): New field to cache the constructor.
947 2004-09-24 Mark Wielaard <mark@klomp.org>
949 * java/net/URL.java (systemClassLoader): New static field.
950 (getURLStreamHandler): Always use system/application classloader
951 for finding URLStreamhandler. Remove unecessary instanceof checks.
953 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
956 (set): This method now matches the behaviour of the JDK.
957 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
959 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
961 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
963 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
965 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
966 Don't set authority if host isn't specified.
968 2004-09-24 Michael Koch <konqueror@gmx.de>
970 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
971 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
972 * gnu/java/nio/VMPipe.java,
973 gnu/java/nio/VMSelector.java:
975 * gnu/java/nio/natPipeImplEcos.cc,
976 gnu/java/nio/natPipeImplPosix.cc,
977 gnu/java/nio/natPipeImplWin32.cc:
979 * gnu/java/nio/natSelectorImplEcos.cc,
980 gnu/java/nio/natSelectorImplPosix.cc,
981 gnu/java/nio/natSelectorImplWin32.cc:
982 Ported to VMSelector.
983 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
984 gnu/java/nio/VMSelector.java.
985 * Makefile.in: Regenerated.
987 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
989 * java/lang/StackTraceElement.java
990 (className): Renamed field to declaringClass to be compatible
991 with Sun serialization format.
993 2004-09-23 Michael Koch <konqueror@gmx.de>
995 * java/applet/AppletContext.java,
996 java/applet/Applet.java,
997 java/applet/AppletStub.java,
998 java/applet/AudioClip.java:
999 Jalopied and checkstyle clean.
1001 2004-09-23 Mark Wielaard <mark@klomp.org>
1003 * java/util/Collections.java
1004 (binarySearch(List, Object, Comparator)): Explicitly
1005 reverse direction in list iterator.
1006 (rotate): Just return when list is empty.
1008 2004-09-23 Tom Tromey <tromey@redhat.com>
1011 * testsuite/libjava.compile/pr17329.java: New file.
1014 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1017 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1019 * Makefile.am: Run aclocal with -I ../config
1020 * acinclude.m4: Delete macros picked up from ../config and tidy.
1021 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1022 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1023 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1025 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1027 * aclocal.m4: Regenerate with aclocal 1.9.2.
1028 * configure: Regenerate.
1029 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1030 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1032 2004-09-22 David Daney <ddaney@avtrex.com>
1035 * java/net/URL.java (URL): Copy userInfo from context.
1036 (getUserInfo): Return cached userInfo if present.
1038 2004-09-22 Tom Tromey <tromey@redhat.com>
1041 * mauve-libgcj: Enable java.lang.Character tests.
1043 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1045 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1047 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1048 * Makefile.in: Regenerated.
1050 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1052 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1053 * configure: Regenerate.
1054 * include/config.h.in: Likewise.
1055 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1059 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1060 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1065 2004-09-22 Tom Tromey <tromey@redhat.com>
1068 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1069 when comparing CRCs.
1070 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1072 (read()): New overload.
1074 2004-09-21 Tom Tromey <tromey@redhat.com>
1076 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1079 2004-09-21 Michael Koch <konqueror@gmx.de>
1081 * java/net/Socket.java
1082 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1084 2004-09-21 Casey Marshall <csm@gnu.org>
1086 * javax/crypto/MacSpi.java (clone): Provide meaningful
1089 2004-09-21 Tom Tromey <tromey@redhat.com>
1092 * Makefile.in: Rebuilt.
1093 * Makefile.am (MOSTLYCLEANFILES): Removed.
1094 (mostlyclean-local): Remove header files.
1096 2004-09-21 Casey Marshall <csm@gnu.org>
1098 * java/security/cert/X509CRLSelector.java:
1099 (match): remove unreachable try-catch clauses.
1100 Reported by: Dalibor Topic <robilad@kaffe.org>
1102 2004-09-21 Mark Wielaard <mark@klomp.org>
1104 * java/util/TreeMap.java (root): Don't initialize.
1105 (TreeMap(Comparator)): Call fabricateTree(0).
1106 (fabricateTree): Initialize root and size when count is 0.
1108 2004-09-21 Sven de Marothy <sven@physto.se>
1110 * java/nio/ByteBuffer.java (hashCode): Implemented.
1111 * java/nio/CharBuffer.java: Likewise.
1112 * java/nio/DoubleBuffer.java: Likewise.
1113 * java/nio/FloatBuffer.java: Likewise.
1114 * java/nio/LongBuffer.java: Likewise.
1115 * java/nio/IntBuffer.java: Likewise.
1116 * java/nio/ShortBuffer.java: Likewise.
1118 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1120 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1122 2004-09-21 Michael Koch <konqueror@gmx.de>
1124 * javax/net/ssl/SSLServerSocket.java:
1125 Removed comment about "Do not edit this file, it's generated.".
1127 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1129 Import the big Crypto/Jessie/Security merge from Classpath.
1131 * Makefile.am: Add imported files.
1132 * Makefile.in: Regenerate.
1134 2004-08-14 Casey Marshall <csm@gnu.org>
1136 The Big Crypto Merge of 2004.
1138 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1141 Files imported from GNU Crypto.
1142 * javax/crypto/BadPaddingException.java
1143 * javax/crypto/Cipher.java
1144 * javax/crypto/CipherInputStream.java
1145 * javax/crypto/CipherOutputStream.java
1146 * javax/crypto/CipherSpi.java
1147 * javax/crypto/EncryptedPrivateKeyInfo.java
1148 * javax/crypto/ExemptionMechanism.java
1149 * javax/crypto/ExemptionMechanismException.java
1150 * javax/crypto/ExemptionMechanismSpi.java
1151 * javax/crypto/IllegalBlockSizeException.java
1152 * javax/crypto/KeyAgreement.java
1153 * javax/crypto/KeyAgreementSpi.java
1154 * javax/crypto/KeyGenerator.java
1155 * javax/crypto/KeyGeneratorSpi.java
1156 * javax/crypto/Mac.java
1157 * javax/crypto/MacSpi.java
1158 * javax/crypto/Makefile.am
1159 * javax/crypto/NoSuchPaddingException.java
1160 * javax/crypto/NullCipher.java
1161 * javax/crypto/NullCipherImpl.java
1162 * javax/crypto/SealedObject.java
1163 * javax/crypto/SecretKey.java
1164 * javax/crypto/SecretKeyFactory.java
1165 * javax/crypto/SecretKeyFactorySpi.java
1166 * javax/crypto/ShortBufferException.java
1167 * javax/crypto/interfaces/DHKey.java
1168 * javax/crypto/interfaces/DHPrivateKey.java
1169 * javax/crypto/interfaces/DHPublicKey.java
1170 * javax/crypto/interfaces/PBEKey.java
1171 * javax/crypto/spec/DESKeySpec.java
1172 * javax/crypto/spec/DESedeKeySpec.java
1173 * javax/crypto/spec/DHGenParameterSpec.java
1174 * javax/crypto/spec/DHParameterSpec.java
1175 * javax/crypto/spec/DHPrivateKeySpec.java
1176 * javax/crypto/spec/DHPublicKeySpec.java
1177 * javax/crypto/spec/IvParameterSpec.java
1178 * javax/crypto/spec/PBEKeySpec.java
1179 * javax/crypto/spec/PBEParameterSpec.java
1180 * javax/crypto/spec/RC2ParameterSpec.java
1181 * javax/crypto/spec/RC5ParameterSpec.java
1182 * javax/crypto/spec/SecretKeySpec.java
1183 * javax/security/auth/AuthPermission.java
1184 * javax/security/auth/DestroyFailedException.java
1185 * javax/security/auth/Destroyable.java
1186 * javax/security/auth/Policy.java
1187 * javax/security/auth/PrivateCredentialPermission.java
1188 * javax/security/auth/RefreshFailedException.java
1189 * javax/security/auth/Refreshable.java
1190 * javax/security/auth/Subject.java
1191 * javax/security/auth/SubjectDomainCombiner.java
1192 * javax/security/auth/callback/Callback.java
1193 * javax/security/auth/callback/CallbackHandler.java
1194 * javax/security/auth/callback/ChoiceCallback.java
1195 * javax/security/auth/callback/ConfirmationCallback.java
1196 * javax/security/auth/callback/LanguageCallback.java
1197 * javax/security/auth/callback/NameCallback.java
1198 * javax/security/auth/callback/PasswordCallback.java
1199 * javax/security/auth/callback/TextInputCallback.java
1200 * javax/security/auth/callback/TextOutputCallback.java
1201 * javax/security/auth/callback/UnsupportedCallbackException.java
1202 * javax/security/auth/login/AccountExpiredException.java
1203 * javax/security/auth/login/AppConfigurationEntry.java
1204 * javax/security/auth/login/Configuration.java
1205 * javax/security/auth/login/CredentialExpiredException.java
1206 * javax/security/auth/login/FailedLoginException.java
1207 * javax/security/auth/login/LoginContext.java
1208 * javax/security/auth/login/LoginException.java
1209 * javax/security/auth/login/NullConfiguration.java
1210 * javax/security/auth/x500/X500PrivateCredential.java
1211 * javax/security/sasl/AuthenticationException.java
1212 * javax/security/sasl/AuthorizeCallback.java
1213 * javax/security/sasl/RealmCallback.java
1214 * javax/security/sasl/RealmChoiceCallback.java
1215 * javax/security/sasl/Sasl.java
1216 * javax/security/sasl/SaslClient.java
1217 * javax/security/sasl/SaslClientFactory.java
1218 * javax/security/sasl/SaslException.java
1219 * javax/security/sasl/SaslServer.java
1220 * javax/security/sasl/SaslServerFactory.java
1221 * org/ietf/jgss/ChannelBinding.java
1222 * org/ietf/jgss/GSSContext.java
1223 * org/ietf/jgss/GSSCredential.java
1224 * org/ietf/jgss/GSSException.java
1225 * org/ietf/jgss/GSSManager.java
1226 * org/ietf/jgss/GSSName.java
1227 * org/ietf/jgss/MessageProp.java
1228 * org/ietf/jgss/Oid.java
1229 * org/ietf/jgss/MessagesBundle.properties
1231 Files imported from Jessie <http://www.nongnu.org/jessie/>
1232 * javax/net/ServerSocketFactory.java
1233 * javax/net/SocketFactory.java
1234 * javax/net/VanillaServerSocketFactory.java
1235 * javax/net/VanillaSocketFactory.java
1236 * javax/net/ssl/HandshakeCompletedEvent.java
1237 * javax/net/ssl/HandshakeCompletedListener.java
1238 * javax/net/ssl/HostnameVerifier.java
1239 * javax/net/ssl/HttpsURLConnection.java
1240 * javax/net/ssl/KeyManager.java
1241 * javax/net/ssl/KeyManagerFactory.java
1242 * javax/net/ssl/KeyManagerFactorySpi.java
1243 * javax/net/ssl/ManagerFactoryParameters.java
1244 * javax/net/ssl/SSLContext.java
1245 * javax/net/ssl/SSLContextSpi.java
1246 * javax/net/ssl/SSLException.java
1247 * javax/net/ssl/SSLHandshakeException.java
1248 * javax/net/ssl/SSLKeyException.java
1249 * javax/net/ssl/SSLPeerUnverifiedException.java
1250 * javax/net/ssl/SSLPermission.java
1251 * javax/net/ssl/SSLProtocolException.java
1252 * javax/net/ssl/SSLServerSocket.java
1253 * javax/net/ssl/SSLServerSocketFactory.java
1254 * javax/net/ssl/SSLSession.java
1255 * javax/net/ssl/SSLSessionBindingEvent.java
1256 * javax/net/ssl/SSLSessionBindingListener.java
1257 * javax/net/ssl/SSLSessionContext.java
1258 * javax/net/ssl/SSLSocket.java
1259 * javax/net/ssl/SSLSocketFactory.java
1260 * javax/net/ssl/TrivialHostnameVerifier.java
1261 * javax/net/ssl/TrustManager.java
1262 * javax/net/ssl/TrustManagerFactory.java
1263 * javax/net/ssl/TrustManagerFactorySpi.java
1264 * javax/net/ssl/X509KeyManager.java
1265 * javax/net/ssl/X509TrustManager.java
1266 * javax/security/cert/Certificate.java
1267 * javax/security/cert/CertificateEncodingException.java
1268 * javax/security/cert/CertificateException.java
1269 * javax/security/cert/CertificateExpiredException.java
1270 * javax/security/cert/CertificateNotYetValidException.java
1271 * javax/security/cert/CertificateParsingException.java
1272 * javax/security/cert/X509CertBridge.java
1273 * javax/security/cert/X509Certificate.java
1275 2004-08-20 Casey Marshall <csm@gnu.org>
1277 * java/security/cert/X509CRLSelector.java: New file.
1278 * java/security/cert/X509CertSelector.java: New file.
1280 2004-09-15 Michael Koch <konqueror@gmx.de>
1282 * gnu/java/net/protocol/file/Handler.java
1283 (openConnection): Don't throw exception if host part for file: URI is
1284 present. setURL() keeps file: protocol if ftp: protocol is not
1287 2004-09-14 Richard Henderson <rth@redhat.com>
1289 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1290 value of sigsuspend.
1292 2004-09-12 Tom Tromey <tromey@redhat.com>
1294 * javax/naming/CompoundName.java (CompoundName): Don't check for
1295 separator in "flat" case.
1297 2004-09-12 Michael Koch <konqueror@gmx.de>
1299 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1300 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1301 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1304 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1307 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1308 handle in newly-allocated _Jv_Thread_t.
1309 (_Jv_ThreadDestroyData): Close thread handle.
1310 (_Jv_ThreadStart): Remove obsolete comment.
1311 Store handle of newly-created thread in _Jv_Thread_t.
1312 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1313 before including <windows.h>
1314 #define _Jv_HaveCondDestroy
1316 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1318 * java/lang/natThread.cc (finalize_native): Destroy
1319 join conditional variable and mutex if these destroy
1320 operations are supported.
1322 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1324 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1325 (DEFAULT_PERMISSION): New constant.
1326 (Connection): Create a FilePermission with permission to read file.
1328 2004-09-10 Michael Koch <konqueror@gmx.de>
1330 * gnu/java/net/protocol/file/Connection.java
1331 (getLastModified): Moved around.
1332 (getPermission): Return stored permission.
1334 2004-09-10 Michael Koch <konqueror@gmx.de>
1336 * Makefile.in: Regenerate.
1338 2004-09-10 Michael Koch <konqueror@gmx.de>
1340 * Makefile.am: Reverted accidently commited stuff.
1341 * configure: Regenerated.
1343 2004-09-10 Michael Koch <konqueror@gmx.de>
1345 * gnu/java/net/protocol/file/Connection.java
1346 (lineSeparator): Made non-final.
1348 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1349 instead of StringBufferInputStream.
1351 2004-09-10 Michael Koch <konqueror@gmx.de>
1353 * gnu/java/net/protocol/file/Connection.java
1354 (connect): Handle file is a directory case.
1356 2004-09-10 Michael Koch <konqueror@gmx.de>
1359 (xlib_includes): Removed.
1360 (AM_CPPFLAGS): Renamed from INCLUDES.
1361 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1362 * Makefile.in: Regenerate.
1364 2004-09-09 Michael Koch <konqueror@gmx.de>
1366 * java/security/ProtectionDomain.java,
1367 * java/util/PropertyPermissionCollection.java:
1368 Fixed javadocs all over.
1370 2004-09-09 Sven de Marothy <sven@physto.se>
1372 Patch from David Gilbert <david.gilbert@object-refinery.com>
1373 * java/lang/Comparable.java: Fixed documentation errors.
1374 * java/util/Arrays.java: Likewise.
1376 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1378 * java/net/Inet4Address.java
1379 (Inet4Address): Added comment to serialization UID.
1380 * java/text/Format.java
1381 (Format): Added comment to serialization UID.
1383 2004-09-09 Michael Koch <konqueror@gmx.de>
1385 * java/lang/System.java
1386 (err): Fixed javadoci to point to setErr() and not setOut().
1388 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1390 (normalizePath): Added special case for windows systems.
1392 2004-09-09 Michael Koch <konqueror@gmx.de>
1395 (dupSeparator): Made private.
1396 (File(URI)): New constructor.
1397 (getParentFile): Fixed javadoc.
1398 (createTempFile): Reformated.
1399 (setReadOnly): Added comment.
1400 (deleteOnExit): Merged javadoc with classpath version.
1402 2004-09-09 Michael Koch <konqueror@gmx.de>
1404 * Makefile.am: Don't try to include deps.mk.
1405 * Makefile.in: Regenerated.
1407 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1409 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1411 * configure: Rebuilt.
1413 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1415 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1416 Changed pfn from static local to local.
1418 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1419 H.J. Lu <hongjiu.lu@intel.com>
1422 * Makefile.am (GCJCOMPILE): Remove definition.
1423 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1424 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1425 * Makefile.in: Rebuilt.
1427 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1429 * configure.ac (enable-gc-debug): Update help for new syntax.
1430 * configure: Regenerate.
1432 2004-09-03 David Daney <ddaney@avtrex.com>
1434 * include/mips-signal.h: Update copyright.
1436 2004-09-03 David Daney <ddaney@avtrex.com>
1438 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1439 * include/mips-signal.h: Added HANDLE_FPE support.
1441 2004-08-31 Michael Koch <konqueror@gmx.de>
1443 * javax/swing/plaf/basic/BasicTextAreaUI.java
1444 (create): New method.
1445 * javax/swing/text/DefaultHighlighter.java
1446 (DefaultHighlightPainter.debugRect): Removed.
1447 * javax/swing/text/StyleContext.java
1448 (DEFAULT_STYLE): New field.
1450 2004-08-31 Michael Koch <konqueror@gmx.de>
1452 * javax/swing/plaf/basic/BasicLookAndFeel.java
1453 (initComponentDefaults): Add keybindings for selection.backward and
1454 selection-forward for text components.
1455 * javax/swing/plaf/basic/BasicTextUI.java
1456 (paintSafely): Paint highlight only when something is actually
1458 * javax/swing/text/DefaultCaret.java
1459 (handleHighlight): New method.
1460 (setSelectionVisible): Don't do anything when nothing changes.
1462 (moveDot): Reimplemented. Handle highlight.
1463 (setDot): Set mark too. Handle highlight.
1464 (getSelectionPainter): New method.
1465 * javax/swing/text/DefaultEditorKit.java
1466 (defaultActions): Added new actions for text selection.
1467 * javax/swing/text/DefaultHighlighter.java
1468 (DefaultHighlightPainter): New inner class.
1469 (DefaultPainter): New field.
1470 (paint): Implemented.
1471 * javax/swing/text/PlainView.java
1472 (paint): Don't draw background here again.
1473 * javax/swing/text/Utilities.java
1474 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1475 (drawTabbedText): Likewise.
1477 2004-08-31 Graydon Hoare <graydon@redhat.com>
1479 * javax/swing/JComponent.java
1480 (resetKeyboardActions): Add null checks.
1482 2004-08-31 Graydon Hoare <graydon@redhat.com>
1484 * javax/swing/DefaultButtonModel.java:
1485 Skip group notification when no group is set.
1487 2004-08-31 Graydon Hoare <graydon@redhat.com>
1489 * javax/swing/JColorChooser.java:
1490 Make a couple inner classes static, for jikes.
1492 2004-08-31 Michael Koch <konqueror@gmx.de>
1494 * javax/swing/plaf/basic/BasicTextUI.java
1495 (RottView.modelToView): New method.
1496 (UpdateHandler): Renamed from EventHandler.
1497 (updateHandler): Renamed from eventHandler.
1498 (modelToView): Implemented.
1499 * javax/swing/text/AbstractDocument.java
1500 (BranchElement.getElement): Return null for non-existing indeces.
1501 (BranchElement.getElementIndex): Return 0 in some corner cases.
1502 * javax/swing/text/FieldView.java
1503 (modelToView): New method.
1504 * javax/swing/text/PlainView.java
1505 (modelToView): Made public.
1507 2004-08-31 Kim Ho <kho@redhat.com>
1509 * Makefile.am: New files.
1510 * Makefile.in: Regenerate.
1511 * gcj/Makefile.in: Regenerate.
1512 * include/Makefile.in: Regenerate.
1513 * java/awt/Color.java: Fix documentation.
1514 (RGBtoHSB): Use floats for conversions.
1515 * javax/swing/ButtonGroup.java: Run Jalopy.
1516 (setSelected): Reimplement.
1517 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1518 (changeState): Let ButtonGroup know that the button
1520 * javax/swing/JColorChooser.java: Implement.
1521 * javax/swing/JLabel.java: Run Jalopy.
1522 * javax/swing/JSpinner.java: Run Jalopy.
1523 (setValue): New method.
1524 * javax/swing/JTabbedPane.java: Run Jalopy.
1525 (removeTabAt): Call correct remove method.
1526 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1527 (getPreviousValue): Compare minimum value.
1528 * javax/swing/Timer.java: Run Jalopy.
1529 (run): Comment out println.
1530 * javax/swing/ToolTipManager.java:
1531 (mouseMoved): Get new tooltip text for location.
1532 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1534 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1536 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1538 (setSelectedColor): Fire ChangeEvent.
1539 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1540 New file. Implement.
1541 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1543 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1545 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1547 * javax/swing/plaf/basic/BasicArrowButton.java:
1548 (getArrow): Fix size of upward pointing button.
1549 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1551 * javax/swing/plaf/basic/BasicSliderUI.java:
1552 (getWidthOfWidestLabel): Use preferred dimensions.
1553 (getHeightOfTallestLabel): Ditto.
1554 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1556 (mousePressed): Disable changes to spinner if it is not enabled.
1557 * testsuite/Makefile.in: Regenerate.
1560 2004-08-31 Michael Koch <konqueror@gmx.de>
1562 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1563 javax/swing/plaf/basic/BasicTableUI.java:
1564 Added copyright notice.
1566 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1568 * Makefile.am: Added new files.
1569 * Makefile.in: Regenerate.
1570 * javax/swing/ComboBoxEditor.java: Added javadocs.
1571 * javax/swing/ComboBoxModel.java: Likewise.
1572 * javax/swing/DefaultComboBoxModel.java: Implemented.
1573 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1574 and ran through jalopy to fix formatting style.
1575 (getListCellRendererComponent): Use appropriate border
1576 if renderer has focus and use noFocusBorder when it doesn't.
1577 * javax/swing/JComboBox.java: Implemented.
1578 * javax/swing/JList.java:
1579 (locationToIndex): New Method. Implemented.
1580 (indexToLocation): New Method.
1581 * javax/swing/JPopupMenu.java:
1582 (visible): New field.
1583 (isVisible): Changed to use new field above.
1584 (setVisible): Likewise.
1585 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1586 * javax/swing/plaf/basic/BasicArrowButton.java:
1587 (shadow): Changed default color to Color.gray.
1588 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1589 UI delegate for JComboBox.
1590 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1591 Popup menu containing list of JComboBox's items.
1592 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1593 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1594 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1595 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1596 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1597 (popupMenuWillBecomeVisible): Set selected path to the first
1598 element only if it is of type MenuElement. Also fix formatting
1600 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1603 2004-08-31 Michael Koch <konqueror@gmx.de>
1605 * javax/swing/text/AbstractDocument.java
1606 (createBranchElement): Use new constructor of BranchElement.
1607 (createLeafElement): Renamed arguments.
1608 (getRootElements): Implemented.
1609 (BranchElement.start): Removed.
1610 (BranchElement.end): Likewise.
1611 (BranchElement.BranchElement): Fixed arguments.
1612 (BranchElement.getEndOffset): Reimplemented.
1613 (BranchElement.getStartOffset): Likewis.
1614 * javax/swing/text/DefaultCaret.java
1615 (paint): Draw simple vertical line as caret instead of a rectangle.
1616 * javax/swing/text/JTextComponent.java
1617 (setText): Use doc directly.
1618 * javax/swing/text/PlainView.java
1619 (nextTabStop): Implemented.
1620 * javax/swing/text/Utilities.java
1621 (drawTabbedText): nextTabStop() returns an absolute x position.
1622 (getTabbedTextWidth): Likewise.
1624 2004-08-31 Graydon Hoare <graydon@redhat.com>
1626 * java/awt/Component.java
1627 (isFocusTraversable): Predicate on isLightweight()
1628 (setFocusable): Set isFocusTraversableOverridden.
1629 (requestFocus): Predicate peer dispatch on !isLightweight()
1630 (requestFocusInWindow): Likewise.
1631 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1632 * java/awt/Container.java
1633 (dispatchEventImpl): Predicate on event mask.
1634 (LightweightDispatcher): Remove focus machinery.
1635 * java/awt/DefaultFocusTraversalPolicy.java
1636 (accept): Expand predicate to include isFocusable().
1637 * java/awt/DefaultKeyboardFocusManager.java:
1638 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1639 * java/awt/KeyboardFocusManager.java
1640 (redispatchEvent): Synchronize on event to prevent feedback.
1641 * javax/swing/AbstractButton.java
1642 (ButtonFocusListener): Remove class.
1643 (init): Set focusPainted, focusable.
1644 * javax/swing/ActionMap.java (get): Check parent for null.
1645 * javax/swing/InputMap.java (get): Likewise.
1646 * javax/swing/JComponent.java
1647 (inputMap_whenFocused): New InputMap.
1648 (inputMap_whenAncestorOfFocused): Likewise.
1649 (inputMap_whenInFocusedWindow): Likewise.
1650 (getActionForKeyStroke): Rewrite.
1651 (getConditionForKeystroke): Likewise.
1652 (ActionListenerProxy): New private class.
1653 (setInputMap): Implement.
1654 (getInputMap): Likewise.
1655 (setActionMap): Likewise.
1656 (getActionMap): Likewise.
1657 (processComponentKeyEvent): New empty method.
1658 (processKeyEvent): Implement.
1659 (processKeyBinding): Likewise.
1660 (resetKeyboardActions): Rewrite.
1661 * javax/swing/KeyStroke.java: Rewrite.
1662 * javax/swing/SwingUtilities.java
1663 (notifyAction): Implement.
1664 (replaceUIActionMap): Likewise.
1665 (replaceUIInputMap): Likewise.
1666 * javax/swing/plaf/basic/BasicButtonListener.java
1667 (focusGained): Implement.
1668 (focusLost): Repaint if focusPainted().
1669 (installKeyboardActions): Install pressed / released actions.
1670 (uninstallKeyboardActions): Implement.
1671 * javax/swing/plaf/basic/BasicButtonUI.java
1672 (focusColor): New field.
1673 (installDefaults): Load focus color, install input map.
1674 (installKeyboardActions): Implement.
1675 (uninstallKeyboardActions): Likewise.
1676 (paintFocus): Rewrite.
1677 * javax/swing/plaf/basic/BasicLookAndFeel.java
1678 (Button.focus): New default, midPurple.
1679 * javax/swing/plaf/basic/BasicTextUI.java
1681 (installUI): Get doc from kit, load defaults.
1682 (getKeymapName): Implement.
1683 (createKeymap): Likewise.
1684 (installKeyboardActions): Likewise.
1685 (getInputMap): Likewise.
1686 (getActionMap): Likewise.
1687 (createActionMap): Likewise.
1688 * javax/swing/text/AbstractDocument.java
1689 (getStartPosition): Implement.
1690 (getEndPosition): Likewise.
1691 * javax/swing/text/DefaultEditorKit.java
1692 (CopyAction): New class.
1693 (CutAction): Likewise.
1694 (DefaultKeyTypedAction): Likewise.
1695 (InsertBreakAction): Likewise.
1696 (InsertContentAction): Likewise.
1697 (InsertTabAction): Likewise.
1698 (PasteAction): Likewise.
1699 (defaultActions): New static table.
1700 (createCaret): Implement.
1701 (getActions): Likewise.
1702 * javax/swing/text/JTextComponent.java
1703 (KeymapWrapper): New private class.
1704 (KeymapActionMap): Likewise.
1705 (DefaultKeymap): New class.
1706 (keymaps): New static table.
1707 (keymap): New field.
1708 (getKeymap): Implement.
1709 (removeKeymap): Likewise.
1710 (addKeymap): Likewise.
1711 (setKeymap): Likewise.
1712 (loadKeymap): Likewise.
1713 (getActions): Likewise.
1714 (margin): New field.
1715 (JTextComponent): Build and install default keymap.
1716 * javax/swing/text/TextAction.java
1717 (textAction): Call super properly.
1718 (getTextComponent): Implement.
1719 * javax/swing/text/Utilities.java
1720 (drawTabbedText): Adjust position by ascent.
1722 2004-08-31 David Jee <djee@redhat.com>
1726 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1727 (setEnabled): Make it a native method.
1728 * java/awt/DefaultKeyboardFocusManager.java
1729 (postProcessKeyEvent): Only post event if the menu item
1731 * java/awt/MenuItem.java:
1732 Private field 'enabled' should be true by default.
1733 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1734 (setEnabled): New function.
1736 2004-08-31 David Jee <djee@redhat.com>
1740 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1741 (nativeSetHelpMenu): New native method declaration.
1742 (addHelpMenu): Call nativeSetHelpMenu().
1744 * java/awt/MenuBar.java
1745 (setHelpMenu): Call addNotify() on the new help menu.
1746 (add): Call addNotify() on the new menu.
1747 (addNotify): Set the help menu if one exists.
1748 * java/awt/peer/MenuBarPeer.java
1750 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1751 (nativeSetHelpMenu): New method.
1753 2004-08-31 Graydon Hoare <graydon@redhat.com>
1755 * Makefile.am: Add new files.
1756 * Makefile.in: Regenerate.
1757 * javax/swing/Box.java: Fix setting of layout in ctor.
1758 * javax/swing/JScrollPane.java: Scroll headers as well.
1759 * javax/swing/JTable.java: Reimplement.
1760 * javax/swing/JViewPort.java: Only add non-null children.
1761 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1762 * javax/swing/Timer.java: Fix stopping null waker.
1763 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1764 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1765 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1766 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1767 * javax/swing/table/DefaultTableModel.java: Clean up.
1768 * javax/swing/table/JTableHeader.java: Implement.
1770 2004-08-31 Mark Wielaard <mark@klomp.org>
1772 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1775 2004-08-31 Mark Wielaard <mark@klomp.org>
1777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1778 Declare variables at top of functions/block.
1779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1781 2004-08-31 Mark Wielaard <mark@klomp.org>
1783 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1786 2004-08-31 Michael Koch <konqueror@gmx.de>
1788 * javax/swing/text/PlainView.java
1789 (selectedColor): New field.
1790 (unselectedColor): Likewise.
1792 (updateMetrics): New method.
1793 (lineToRect): Likewise.
1794 (modelToView): Likewise.
1795 (drawSelectedText): Use color from JTextComponent ad draw with
1797 (drawUnselectedText): Likewise.
1798 (paint): Initialize helper fields.
1799 * javax/swing/text/View.java
1800 (getChildAllocation): New method.
1801 (getViewIndex): Likewise.
1802 (getToolTipText): Likewise.
1804 2004-08-31 Michael Koch <konqueror@gmx.de>
1806 * javax/swing/text/Utilities.java
1807 (drawTabbedText): Reimplemented.
1808 (getTabbedTextWidth): Likewise.
1810 2004-08-31 Michael Koch <konqueror@gmx.de>
1812 * javax/swing/plaf/basic/BasicTextUI.java
1813 (installDefaults): Install caret and highlighter.
1814 (modelToView): Use Bias.Forward when calling sibling.
1815 * javax/swing/text/AbstractDocument.java
1816 (ElementEdit): Implements DocumentEvent.ElementChange.
1817 (ElementEdit.ElementEdit): New method.
1818 (ElementEdit.getChildrenAdded): Likewise.
1819 (ElementEdit.getChildrenRemoved): Likewise.
1820 (ElementEdit.getElement): Likewise.
1821 (ElementEdit.getIndex): Likewise.
1822 * javax/swing/text/DefaultCaret.java
1824 (textComponent): Renamed from parent, made private.
1825 (selectionVisible): Renamed from vis_sel, made private.
1826 (blinkRate): Renamed from blink, made private.
1827 (magicCaretPosition): Renamed from magic, made private.
1828 (visible): Renamed from vis, made private.
1829 (dot): Made private.
1831 (deinstall): Remove as MouseMotionListener.
1832 (install): Initialize textComponent first. Add as MouseMotionListener.
1833 (paint): Reimplemented.
1834 * javax/swing/text/JTextComponent.java
1835 (setCaret): Deinstall old caret, install new one and fire property
1836 change after setting property.
1837 (setHighlighter): Deinstall old highlighter, install new one and fire
1838 property change after setting property.
1839 (setCaretColor): Fire property change after setting property.
1840 (setDisabledTextColor): Likewise.
1841 (setSelectedTextColor): Likewise.
1842 (setSelectionColor): Likewise.
1843 (modelToView): New method.
1845 2004-08-31 Michael Koch <konqueror@gmx.de>
1847 * javax/swing/text/AbstractDocument.java
1848 (getText): Simplified.
1849 * javax/swing/text/Segment.java
1850 (current): New field.
1851 (current): Reimplemented.
1853 (getIndex): Likewise.
1856 (previous): Likewise.
1857 (setIndex): Likewise.
1859 2004-08-31 Michael Koch <konqueror@gmx.de>
1861 * javax/swing/plaf/basic/BasicButtonUI.java
1862 (defaultTextIconGap): Made protected.
1863 (defaultTextShiftOffset): Likewise.
1864 (textShiftOffset): New field.
1865 (clearTextShiftOffset): New method.
1866 (getTextShiftOffset): Likewise.
1867 (setTextShiftOffset): Likewise.
1869 2004-08-31 Michael Koch <konqueror@gmx.de>
1871 * javax/swing/plaf/basic/BasicTextUI.java
1872 (installUI): Add eventHandler as property listener.
1873 (uninstallUI): remove eventHandler as propert listener.
1874 (installDefaults): Added comment.
1875 (installListeners): Likewise.
1876 (installKeyboardActions): Likewise.
1877 (uninstallDefaults): Likewise.
1878 (uninstallListeners): Likewise.
1879 (uninstallKeyboardActions): Likewise.
1881 2004-08-31 Michael Koch <konqueror@gmx.de>
1883 * javax/swing/text/AbstractDocument.java:
1884 Fixed some typos in comments.
1885 (insertString): Reimplemented.
1887 (replace): New method.
1888 (children): Dont use fully qualified class name.
1889 (DefaultDocumentEvent.offset): Renamed from off.
1890 (DefaultDocumentEvent.length): Renamed from len.
1891 (DefaultDocumentEvent.type): New field.
1892 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1893 (DefaultDocumentEvent.getType): Implemented.
1895 2004-08-31 Michael Koch <konqueror@gmx.de>
1897 * javax/swing/plaf/basic/BasicTextUI.java
1898 (RootView.textComponent): Removed.
1899 (RootView.RootView): Don't initialize textComponent.
1900 (RootView.getViewFactory): New method.
1901 (EventHandler): New inner class.
1902 (rootView): Initialize at instance creation.
1903 (eventHandler): New field.
1904 (installUI): Don't create view hierarchy directly,
1905 call modelChanged() instead.
1906 (modelChanged): New method.
1907 * javax/swing/text/JTextComponent.java
1908 (setDocument): Fire property change event.
1910 2004-08-31 Michael Koch <konqueror@gmx.de>
1912 * javax/swing/plaf/basic/BasicTextUI.java
1913 (RootView.paint): Removed debug output.
1914 (paintSafely): Draw highlighter before text.
1915 (paintBackground): Use background color of text component.
1916 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1919 2004-08-31 Michael Koch <konqueror@gmx.de>
1921 * javax/swing/plaf/basic/BasicToolBarUI.java
1922 (BasicToolBarUI): Fixed arguments for constructor.
1923 (createUI): Fixed creation of object.
1925 2004-08-31 Michael Koch <konqueror@gmx.de>
1927 * javax/swing/DefaultListSelectionModel.java
1928 (fireValueChanged): Renamed from fireSelectionValueChanged,
1931 2004-08-31 Michael Koch <konqueror@gmx.de>
1933 * javax/swing/text/TabSet.java
1934 (TabSet): Implements java.io.Serializable.
1935 * javax/swing/text/TabStop.java
1936 (TabStop): Implements java.io.Serializable.
1937 (TabStop): Made public.
1939 2004-08-31 Michael Koch <konqueror@gmx.de>
1941 * javax/swing/JComponent.java
1942 (setUI): Fire PropertyChange.
1943 * javax/swing/JLabel.java
1944 (text): Renamed from labelText.
1945 (horizontalAlignment): New default vlaue.
1946 (icon): Renamed from activeIcon.
1947 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1948 (displayedMnemonicIndex): Renamed from underlineChar.
1949 (setDisplayedMnemonic): Reimplemented.
1950 * javax/swing/JRadioButton.java
1951 (JRadioButton): New constructors.
1952 * javax/swing/JTextField.java
1953 (JTextField): Throw exception if colums < 0, initialitialz
1954 this.columns directly and initialize document with text conditionally.
1956 2004-08-31 Michael Koch <konqueror@gmx.de>
1958 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1959 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1960 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1961 * javax/swing/text/FieldView.java
1962 (paint): Just call super method for now.
1963 * Makefile.am: Added new files.
1964 * Makefile.in: Regenerated.
1966 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1968 * javax/swing/AbstractSpinnerModel.java,
1969 javax/swing/JSpinner.java,
1970 javax/swing/SpinnerNumberModel.java,
1971 javax/swing/plaf/basic/BasicSpinnerUI.java:
1973 * javax/swing/plaf/basic/BasicLookAndFeel.java
1974 (initClassDefaults): Added defaults for BasicSpinnerUI.
1976 2004-08-31 Michael Koch <konqueror@gmx.de>
1978 * Makefile.am: Added new files.
1979 * Makefile.in: Regenerated.
1981 2004-08-31 Michael Koch <konqueror@gmx.de>
1983 * javax/swing/TransferHandler.java,
1984 javax/swing/plaf/basic/ComboPopup.java: New files
1985 * Makefile.am: Added javax/swing/TransferHandler.java and
1986 javax/swing/plaf/basic/ComboPopup.java
1987 * Makefile.in: Regenerated.
1989 2004-08-31 Roman Kennke <roman@ontographics.com>
1991 * javax/swing/text/Utilities.java: New file.
1993 2004-08-31 Michael Koch <konqueror@gmx.de>
1995 * Makefile.am: Added javax/swing/text/Utilities.java.
1996 * Makefile.in: Regenerated.
1998 2004-08-31 Graydon Hoare <graydon@redhat.com>
2000 * javax/swing/text/SimpleAttributeSet.java: New file.
2001 * javax/swing/text/StyleConstants.java: New file.
2002 * javax/swing/text/StyleContext.java: New file.
2003 * javax/swing/text/TabSet.java: New file.
2004 * javax/swing/text/TabStop.java: New file.
2005 * javax/swing/text/AbstactDocument.java:
2006 (AbstractElement): Implement attribute support.
2007 * javax/swing/text/AttributeSet.java
2008 (NameAttribute): New static field.
2009 (ResolveAttribute): New static field.
2010 * Makefile.am: Update for new files.
2011 * Makefile.in: Regenerate.
2013 2004-08-31 Craig Black <craig.black@aonix.com>
2015 * gnu/java/awt/peer/gtk/GdkGraphics.java
2016 (drawImage): Add support for scaling pixmaps.
2017 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2018 (copyAndScalePixmap): New native method.
2020 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2023 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2024 type-punning compiler warnings using unions.
2025 (throw): Replace bzero with memset.
2027 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2028 Thomas Fitzsimmons <fitzsim@redhat.com>
2030 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2031 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2032 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2033 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2034 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2036 2004-08-31 Mark Wielaard <mark@klomp.org>
2038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2039 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2040 and stdlib.h, not gtkpeer.h.
2041 (*vm): New static variable.
2042 (areaPreparedID): Make static.
2043 (areaUpdatedID): Likewise.
2044 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2045 (area_prepared): Likewise.
2046 (area_updated): Likewise.
2048 (initStaticState): Initialize *vm javaVM.
2049 (pumpBytes): Use given env, not global gdk_env.
2051 2004-08-31 Mark Wielaard <mark@klomp.org>
2053 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2056 2004-08-31 Sven de Marothy <sven@physto.se>
2058 * java/awt/geom/CubicCurve2D.java: Reindent.
2059 (contains): Implemented.
2060 (intersects): Implemented.
2061 * java/awt/geom/QuadCurve2D.java: Likewise.
2062 * java/awt/geom/GeneralPath.java: Reindent and document.
2063 Fully (re)implemented using separate xpoints and ypoints
2065 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2067 2004-08-31 Michael Koch <konqueror@gmx.de>
2069 * javax/swing/JMenuItem.java
2070 (getMenuDragMouseListeners): New method.
2071 (getMenuKeyListeners): Likewise.
2073 2004-08-31 Michael Koch <konqueror@gmx.de>
2075 * javax/swing/AbstractButton.java
2076 (model): Made protected.
2077 (actionListener): Likewise.
2078 (changeListener): Likewise.
2079 (itemListener): Likewise.
2080 (multiClickThreshhold): New field.
2081 (getActionListeners): New method.
2082 (getChangeListeners): Likewise.
2083 (getItemListeners): Likewise.
2084 (fireItemStateChanged): Simplified implementation.
2085 (fireActionPerformed): Likewise.
2086 (fireStateChanged): Likewise.
2087 (getMultiClickThreshhold): New method.
2088 (setMultiClickThreshhold): Likewise.
2090 2004-08-31 Tom Tromey <tromey@redhat.com>
2092 * java/awt/image/Kernel.java (clone): Use super.clone().
2094 2004-08-31 David Jee <djee@redhat.com>
2097 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2098 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2099 (nativeSetIconImageFromData): New native method declaration.
2100 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2101 * gnu/java/awt/peer/gtk/GtkImage.java
2102 (getPixelCache): New method.
2103 (getColorModel): New method.
2104 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2105 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2106 (free_pixbuf_data): New helper function.
2107 (nativeSetIconImageFromData): New function.
2109 2004-08-31 Graydon Hoare <graydon@redhat.com>
2112 * javax/swing/JLayeredPane.java
2113 (setLayer): Permit changing layer after addition.
2114 (setPosition): Permit over-length positions.
2115 (layerToRange): Compare intValue()s.
2116 * javax/swing/Box.java (createHorizontalBox): Implement.
2117 (createRigidArea): Likewise.
2118 (createVerticalBox): Likewise.
2120 2004-08-31 Kim Ho <kho@redhat.com>
2122 * java/awt/Component.java:
2123 (processMouseEvent): Consume event after
2124 listeners process it.
2125 (processMouseMotionEvent): ditto.
2126 (processMouseWheelEvent): ditto.
2127 * java/awt/Container.java:
2128 (acquireComponentForMouseEvent):
2129 Do not dispatch to events that have been
2130 removed from the Container.
2131 (handleEvent): Consume the MouseEvents.
2132 * javax/swing/RepaintManager.java:
2133 (paintDirtyRegions): Do not add to list of
2134 damaged areas if the component has no root.
2136 2004-08-31 Michael Koch <konqueror@gmx.de>
2138 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2140 2004-08-31 Mark Wielaard <mark@klomp.org>
2142 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2143 null when a MissingResourceException is thrown. Should never happen.
2145 2004-08-31 Mark Wielaard <mark@klomp.org>
2147 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2148 when argument is null.
2150 2004-08-31 Mark Wielaard <mark@klomp.org>
2152 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2153 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2154 Define hid at start of function.
2155 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2158 2004-08-31 Mark Wielaard <mark@klomp.org>
2160 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2161 * javax/swing/JButton.java: Reindent.
2162 * javax/swing/JCheckBox.java: Reindent.
2164 2004-08-31 Mark Wielaard <mark@klomp.org>
2166 * Makefile.am (gtk_c_source_files): Added
2167 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2168 (gtk_awt_peer_sources): Added
2169 gnu/java/awt/peer/gtk/GThreadMutex.java and
2170 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2171 * Makefile.in: Regenerated.
2173 2004-08-31 Archie Cobbs <archie@dellroad.org>
2175 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2177 2004-08-31 Steven Augart <augart@watson.ibm.com>
2179 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2180 Added jfieldID, jmethodID.
2182 2004-08-31 Mark Wielaard <mark@klomp.org>
2184 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2185 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2186 gdk_env before calling any gdk or gtk function.
2188 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2189 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2190 (run): Set gtkInitCalled.
2192 2004-08-31 Steven Augart <augart@watson.ibm.com>
2194 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2195 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2197 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2198 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2199 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2201 (init_glib_threads): New function.
2203 2004-08-31 Mark Wielaard <mark@klomp.org>
2205 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2206 PRIORITY when not already defined in header file.
2208 2004-08-31 Mark Wielaard <mark@klomp.org>
2210 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2211 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2213 2004-08-31 Steven Augart <augart@watson.ibm.com>
2215 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2216 Implemented missing functions for GTK2.
2217 Added error handling.
2218 Renamed static functions out of the g_ namespace.
2219 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2220 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2221 Rewrote global-reference code.
2222 Eliminated cascading errors.
2223 (mutex_trylock_jni_impl) Fully implemented.
2224 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2226 (setup_cache) New function.
2227 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2228 bug where they were not unlocking the GMutex associated with the
2229 condition variable during the wait on that condition variable.
2231 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2232 native/jni/gtk-peer/gthread-jni.c,
2233 native/jni/gtk-peer/gthread-jni.h
2234 (g_thread_jni_functions): Renamed to ...
2235 (portable_native_sync_jni_functions): this name.
2236 (gdk_vm): Renamed to...
2237 (the_vm): this name.
2239 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2240 (gdk_vm): Removed duplicate definition.
2241 (gtkInit): Removed stray message to stdout.
2242 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2243 (gtkInit): Fix a const assignment bug.
2244 (gtkInit): Simplified code.
2246 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2247 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2248 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2249 gnu/java/awt/peer/gtk/GThreadMutex.java:
2252 2004-08-31 Mark Wielaard <mark@klomp.org>
2254 * javax/swing/Box.java: Put FIXME comment above class declaration.
2255 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2256 * javax/swing/JCheckBox.java: Likewise.
2257 * javax/swing/JDialog.java: Likewise.
2258 * javax/swing/JRadioButton.java: Likewise.
2259 * javax/swing/JToggleButton.java: Likewise.
2260 * javax/swing/UIManager.java: Likewise.
2261 * javax/swing/border/TitledBorder.java: Likewise.
2262 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2263 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2264 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2265 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2266 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2267 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2268 * javax/swing/text/JTextComponent.java: Likewise.
2270 2004-08-31 David Jee <djee@redhat.com>
2273 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2274 (setIconImage): Add a FIXME for unhandled cases.
2276 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2279 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2280 getModifiers. Replace old button masks with new ones.
2281 * gnu/awt/xlib/XEventLoop.java: Likewise.
2282 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2283 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2284 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2285 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2286 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2287 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2288 * java/awt/Component.java: Replace old modifier masks with new
2290 * java/awt/Container.java: Call getModifiersEx, not
2292 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2294 * javax/swing/JMenuItem.java: Replace old button masks with new
2296 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2298 * javax/swing/SwingUtilities.java: Likewise.
2299 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2300 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2302 mask macros with new ones.
2303 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2304 macros with new ones representing new masks.
2306 2004-08-31 Craig Black <craig.black@aonix.com>
2308 * gnu/java/awt/peer/gtk/GdkGraphics.java
2309 (drawRoundRect): Implemented.
2310 (fillRoundRect): Implemented.
2311 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2312 (drawRoundRect): Reimplemented to match GdkGraphics.
2313 (fillRoundRect): Reimplemented to match GdkGraphics.
2315 2004-08-31 Mark Wielaard <mark@klomp.org>
2317 * Makefile.in: Regenerated.
2319 2004-08-31 Michael Koch <konqueror@gmx.de>
2321 * gnu/java/awt/EmbeddedWindow.java
2322 (addNotify): Use AccessController to allow execution of privileged
2325 2004-08-31 Michael Koch <konqueror@gmx.de>
2327 * gnu/java/awt/EmbeddedWindow.java
2329 (addNotify): Set peer via reflection.
2330 (setWindowPeer): Removed.
2331 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2332 * Makefile.am (nat_source_files):
2333 Removed gnu/java/awt/natEmbeddedWindow.cc.
2335 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2337 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2338 and gnu/java/security/action/SetAccessibleAction.java.
2340 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2342 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2343 Renamed from 'setName'. New 2-argument form with default value.
2344 (run): Pass default 'value' parameter to System.getProperty().
2345 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2348 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2350 * gnu/java/security/action/GetPropertyAction.java: New class.
2351 * gnu/java/security/action/SetAccessibleAction.java: New class.
2353 2004-08-31 David Jee <djee@redhat.com>
2355 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2356 (setIconImage): Check if image is null.
2358 2004-08-31 David Jee <djee@redhat.com>
2360 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2361 (create): Set the icon image.
2362 (nativeSetIconImage): New native method declaration.
2363 (setIconImage): Implement.
2364 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2365 (nativeSetIconImage): New function.
2367 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2369 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2370 (filenameFilterCallback): Declare local variable accepted before use.
2372 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2374 * gnu/java/awt/ComponentDataBlitOp.java:
2377 2004-08-31 Tom Tromey <tromey@redhat.com>
2379 * gnu/java/awt/peer/GLightweightPeer.java,
2380 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2381 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2382 javax/swing/JScrollPane.java: Removed
2385 2004-08-31 David Jee <djee@redhat.com>
2387 * java/awt/DefaultKeyboardFocusManager.java
2388 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2389 event. Fix shift modifier checking.
2390 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2391 (accel_attach): Remove.
2392 (setupAccelGroup): Remove calls to accel_attach.
2394 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2396 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2397 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2399 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2401 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2402 * Makefile.in: Regenerate.
2403 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2404 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2405 (create(String)): New method.
2406 (create): Call new create method.
2407 (getArgs): Remove method.
2408 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2409 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2410 (nativeCreate): Rename to create.
2411 (gtkSetLabel): Rename to gtkButtonSetLabel.
2412 (gtkToggleButtonSetActive): New method.
2413 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2414 (setState): Replace set call with gtkToggleButtonSetActive.
2415 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2416 (getArgs): Remove method.
2417 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2418 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2419 (gtkWidgetSetSensitive): New method.
2420 (gtkWidgetSetParent): Likewise.
2421 (GtkComponentPeer): Call setParent, setComponentBounds and
2422 setVisibleAndEnabled.
2423 (setParent): New method.
2424 (setComponentBounds): New method.
2425 (setVisibleAndEnabled): New method.
2426 (setEnabled): Call gtkWidgetSetSensitive.
2427 (getArgs): Remove method.
2428 Remove all set methods.
2429 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2430 gtkWindowSetModal, setTitle and setResizable.
2431 (getArgs): Remove method.
2432 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2433 (setComponentBounds): New method.
2434 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2435 Replace set call with gtkWindowSetResizable.
2436 (getArgs): Remove method.
2437 (create): Call setTitle and setResizable.
2438 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2439 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2440 (gtkWindowSetTitle): New method.
2441 (gtkWindowSetResizable): New method.
2442 (gtkWindowSetModal): New method.
2443 (setParent): New method.
2444 (setVisibleAndEnabled): New method.
2445 (getArgs): Remove method.
2446 (setTitle): Call gtkWindowSetTitle.
2447 (setResizable): Call gtkWindowSetResizable.
2448 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2449 and off locking instrumentation.
2451 2004-08-31 Kim Ho <kho@redhat.com>
2453 * Makefile.am: Add new file.
2454 * Makefile.in: Regenerate.
2455 * gcj/Makefile.in: Regenerate
2456 * include/Makefile.in:
2457 * java/awt/Container.java:
2458 (acquireComponentForMouseEvent): Respect
2459 the event mask when looking for candidate.
2460 * javax/swing/JComponent.java:
2461 Remove toolTip field.
2462 (createToolTip): Create a tooltip on demand.
2463 (setToolTipText): Register with the ToolTipManager.
2464 (getToolTipText(MouseEvent)): Return getToolTipText().
2465 * javax/swing/JToolTip.java: Implement.
2466 * javax/swing/Timer.java: Jalopy.
2467 (restart): Call stop, then start.
2468 (stop): Interrupt the timer rather than wait for
2469 the timer to come to a stop naturally.
2470 * javax/swing/ToolTipManager.java: Implement.
2471 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2472 Change ToolTip.background color.
2473 * javax/swing/plaf/basic/BasicToolTipUI.java:
2475 * testsuite/Makefile.in: Regenerate
2477 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2479 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2480 constructor param comments.
2482 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2484 * java/awt/Component.java: Document AWT 1.0 event handler
2487 2004-08-31 Roman Kennke <roman@ontographics.com>
2489 * javax/swing/Box.java:
2490 (createGlue): Implemented
2491 (createHorizontalGlue): Implemented
2492 (createHorizontalStrut): Implemented
2493 (createVerticalGlue): Implemented
2494 (createVerticalStrut): Implemented
2496 2004-08-31 David Jee <djee@redhat.com>
2498 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2499 (GtkChoicePeer): Do not automatically select first item.
2500 (getHistory): Remove.
2501 (nativeGetSelected): New method.
2502 (nativeRemoveAll): New method.
2503 (add): Use nativeGetSelected() instead of getHistory().
2505 (removeAll): Call nativeRemoveAll().
2506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2507 (create): Migrate to GtkComboBox.
2509 (nativeAdd): Likewise.
2510 (nativeRemove): Likewise.
2512 (nativeRemoveAll): New method.
2513 (nativeGetSelected): New method.
2514 (selection_changed): New method.
2515 (getHistory): Remove.
2516 (item_activate): Remove.
2517 (item_removed): Remove.
2518 (connect_choice_item_selectable_hook): Remove.
2520 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2522 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2523 variable in setEditable call.
2525 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2526 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2527 (gtkWidgetSetBackground): New method.
2528 (gtkWidgetSetForeground): Likewise.
2529 (create): Set peer's editable state based on awtComponent's.
2531 * java/awt/Button.java (Button()): Use empty string rather than
2532 null in no-label constructor.
2534 2004-08-31 Roman Kennke <roman@ontographics.com>
2536 * javax/swing/BoxLayout.java: Reimplement.
2538 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2540 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2541 gnu_java_awt_peer_gtk_GdkGraphics.c
2542 (initState(GtkComponentPeer)): Don't return array of colour
2544 (GdkGraphics(int,int)): Set default font to size 12.
2545 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2546 component's foreground colour.
2547 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2548 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2549 (initState(GtkComponentPeer)): Don't return array of colour
2551 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2552 colours to component's colours.
2553 (current_colors_of_widget): Remove function.
2554 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2555 Return a new graphics object.
2556 * java/awt/Font.java (toString): Fix format.
2557 * java/awt/Graphics.java (toString): Likewise.
2559 2004-08-31 Craig Black <craig.black@aonix.com>
2561 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2562 (addTearOff): New function.
2563 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2565 (init): Call addTearOff() when menu.isTearOff().
2567 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2569 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2570 Default implementation.
2571 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2572 Implement using GdkPixbufDecoder.
2574 2004-08-31 David Jee <djee@redhat.com>
2576 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2577 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2578 setting the size of GtkFileDialogPeers.
2579 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2580 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2581 use their default sizes rather than their natural requisitions.
2583 2004-08-31 Michael Koch <konqueror@gmx.de>
2585 * javax/swing/JFormattedTextField.java
2586 (JFormattedTextField): Implemented.
2587 * javax/swing/text/DefaultEditorKit.java
2588 (BeepAction): New inner class.
2589 * javax/swing/text/Segment.java
2590 (partialReturn): New field.
2591 (setPartialReturn): New method.
2592 (isPartialReturn): Likewise.
2593 * javax/swing/text/View.java
2594 (createFragment): Fixed typo.
2595 (getStartOffset): New method.
2596 (getEndOffset): Likewise.
2598 2004-08-31 Michael Koch <konqueror@gmx.de>
2600 * javax/swing/table/DefaultTableColumnModel.java
2601 (serialVersionUID): Made private.
2602 (listenerList): Initialize.
2603 (changeEvent): Initialize.
2604 * javax/swing/table/JTableHeader.java
2605 (JTableHeader): New constructors.
2606 (createDefaultColumnModel): New method.
2607 * javax/swing/table/TableColumn.java
2608 (setHeaderRenderer): Simplified code.
2609 (setCellRenderer): Likewise.
2610 (setWidth): Likewise.
2612 2004-08-31 Tom Tromey <tromey@redhat.com>
2614 * java/text/AttributedString.java (AttributedString): Use
2615 ArrayList to build array of attribute ranges. Don't use
2616 `attribs' before it is set.
2618 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2620 * HACKING: Remove reference to special automake. No longer needed.
2622 2004-08-30 Tom Tromey <tromey@redhat.com>
2624 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2625 return result from `add'.
2627 2004-08-30 Tom Tromey <tromey@redhat.com>
2629 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2631 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2633 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2635 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2637 * java/io/File.java File(String,String): Fixed handling of empty
2640 2004-08-30 Casey Marshall <csm@gnu.org>
2642 Author e-mail updated for all files.
2643 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2645 (compareTo): Use `equals'.
2646 * gnu/java/security/der/BitString.java (equals): Test if the
2647 argument is an instance of BitString.
2648 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2649 class final. Made fields private.
2650 (<init>): New constructor.
2652 (makeString): Made static; don't use NIO.
2653 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2654 * gnu/java/security/der/DERWriter.java: Fixed imports.
2655 (writeString): Don't use NIO.
2656 (toIso88591, toUtf16Be, toUtf8): New methods.
2657 * gnu/java/security/der/DERValue.java: Formatting changes only.
2658 * gnu/java/security/der/DER.java: Likewise.
2660 2004-08-30 Tom Tromey <tromey@redhat.com>
2662 * java/nio/CharBuffer.java (put): Fix typo.
2663 * java/nio/DoubleBuffer.java (put): Fix typo.
2664 * java/nio/FloatBuffer.java (put): Fix typo.
2665 * java/nio/IntBuffer.java (put): Fix typo.
2666 * java/nio/LongBuffer.java (put): Fix typo.
2667 * java/nio/ShortBuffer.java (put): Fix typo.
2669 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2671 * java/nio/ByteBuffer.java (put): Fix typo.
2673 2004-08-30 Casey Marshall <csm@gnu.org>
2675 * java/security/DummyKeyPairGenerator.java (clone): Removed
2676 useless instanceof check.
2677 * java/security/DummyMessageDigest.java (clone): Likewise.
2678 * java/security/DummySignature.java (clone): Likewise.
2679 * java/security/MessageDigest.java (clone): Remove useless
2681 * java/security/MessageDigestSpi.java (clone): Likewise.
2682 * java/security/Signature.java (clone): Provide meaningful
2684 * java/security/SignatureSpi.java (clone): Likewise.
2686 2004-08-29 Mark Wielaard <mark@klomp.org>
2688 * java/util/Arrays.java
2689 (sort(byte[], int, int)): Check fromIndex < 0.
2690 (sort(char[], int, int)): Likewise.
2691 (sort(short[], int, int)): Likewise.
2692 (sort(int[], int, int)): Likewise.
2693 (sort(long[], int, int)): Likewise.
2694 (sort(float[], int, int)): Likewise.
2695 (sort(double[], int, int)): Likewise.
2696 (sort(Object[], int, int, Comparator)): Likewise.
2697 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2698 (qsort(char[], int, int)): Likewise.
2699 (qsort(short[], int, int)): Likewise.
2700 (qsort(int[], int, int)): Likewise.
2701 (qsort(long[], int, int)): Likewise.
2702 (qsort(float[], int, int)): Likewise.
2703 (qsort(double[], int, int)): Likewise.
2705 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2707 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2708 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2709 java/util/ArrayList.java, java/util/Arrays.java,
2710 java/util/BitSet.java, java/util/Calendar.java,
2711 java/util/Collection.java, java/util/ListIterator.java,
2712 java/util/Map.java, java/util/SortedSet.java:
2713 Added additional exceptions to documentation, along
2714 with some additions and corrections.
2716 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2718 * configure.ac: Handle --enable-gc-debug.
2719 * configure: Regenerate.
2720 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2721 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2722 Rearrange include file order.
2723 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2724 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2725 (disable_gc_mutex): Delete along with all references.
2726 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2727 adjust for debug header size.
2728 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2730 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2731 (gcj_describe_type_fn): New.
2732 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2733 Register gcj_describe_type_fn.
2734 * include/boehm-gc.h:
2735 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2736 Don't define, but declare, for debug case.
2737 * java/lang/natObject.cc:
2738 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2740 2004-08-26 Mark Wielaard <mark@klomp.org>
2742 Fixes PR libgcj/17002:
2743 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2744 a TimeZoneId string and then try to convert that to a TimeZone with
2745 getDefaultSystemTimeZone(String).
2746 (timezones0): Changed type from Hashtable to HashMap.
2747 (timezones): Create HashMap, not Hashtable.
2748 (getDefaultTimeZone): New method, rewritten from CNI version.
2749 (readTimeZoneFile): New method.
2750 (readtzFile): Likewise.
2751 (skipFully): Likewise.
2752 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2753 getDefaultTimeZoneId and rewritten.
2754 (getDefaultTimeZoneId): Rewritten in java.
2756 2004-08-25 David Daney <daney@avtrex.com>
2758 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2759 * Makefile.in: Regenerated.
2761 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2763 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2764 only if jvmpi is enabled.
2765 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2766 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2767 (_Jv_AllocString): Likewise.
2768 (_Jv_AllocPtrFreeObject): Likewise.
2770 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2772 * defineclass.cc: Include <stdio.h>.
2773 * java/lang/natClassLoader.cc: Include <stdio.h>.
2775 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2776 Michael Koch <konqueror@gmx.de>
2778 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2779 * Makefile.in: Regenerated.
2781 2004-08-20 Michael Koch <konqueror@gmx.de>
2783 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2784 AC_COMPILE_IFELSE macros.
2786 2004-08-20 Michael Koch <konqueror@gmx.de>
2788 * configure.in: Renamed to configure.ac.
2789 * configure.ac: New file.
2790 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2791 include/config.h.in, testsuite/Makefile.in: Regenerated.
2793 2004-08-20 Michael Koch <konqueror@gmx.de>
2795 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2796 * aclocal.m4, configure: Regenerated.
2798 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2799 Michael Koch <konqueror@gmx.de>
2801 * configure.in, Makefile.am: Ported to automake 1.9.
2802 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2803 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2806 2004-08-19 Tom Tromey <tromey@redhat.com>
2808 * java/net/DatagramSocket.java: Fixed typo.
2810 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2813 * java/net/URI.java (string): New field. Make all other fields
2815 (readObject): Implemented.
2816 (writeObject): Implemented.
2817 (URI): Set 'string'.
2819 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2822 * java/util/logging/Handler.java (isLoggable): Accept record if its
2823 log level equals the threshold level. From Robin Green.
2825 2004-08-18 David Daney <ddaney@avtrex.com>
2827 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2830 2004-08-17 Michael Koch <konqueror@gmx.de>
2832 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2833 * Makefile.in: Regenerated.
2835 2004-08-16 Tom Tromey <tromey@redhat.com>
2838 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2840 2004-08-16 Michael Koch <konqueror@gmx.de>
2843 (math_c_files): Renamed from c_files.
2844 (math_c_source_files): Renamed from c_source_files.
2847 include/Makefile.in,
2848 testsuite/Makefile.in: Regenerated.
2850 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2852 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2853 to avoid autoconf warning.
2854 * configure: Rebuilt.
2856 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2858 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2859 localhostAddress to loopbackAddress.
2860 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2862 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2864 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2865 boehm-gc's include dirs.
2866 * configure: Rebuilt.
2867 * include/boehm-gc.h: Include gc_config.h.
2869 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2871 * java/net/InetAddress.java (loopbackAddress): Renamed from
2873 (getByName): Return loopback address for null hostname, without
2874 security check. Use lookup(), not getAllByName.
2875 (getAllByName): Return loopback address for null hostname, without
2877 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2880 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2883 Reported by Robin Green.
2884 * defineclass.cc (handleField): Don't throw exception on unrecognised
2885 modifier. Add FIXME comments for spec compliance.
2886 (handleMethod): Likewise.
2888 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2891 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2892 (Almost everywhere): add LOG calls, fix, add comments.
2893 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2894 Add explicit check for LOCKED bit in slow case (PR 16662).
2895 (_Jv_MonitorExit): Add casts in debug-only code.
2896 Always release LOCKED bit before throwing exception.
2897 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2898 isn't. Handle easy cases without lock acquisition.
2899 (Object::wait): Use NotifyAll for lock inflation.
2901 2004-08-12 David Daney <ddaney@avtrex.com>
2903 * testsuite/libjava.lang/Process_1.java: New test.
2904 * testsuite/libjava.lang/Process_2.java: New test.
2905 * testsuite/libjava.lang/Process_3.java: New test.
2906 * testsuite/libjava.lang/Process_4.java: New test.
2907 * testsuite/libjava.lang/Process_5.java: New test.
2908 * testsuite/libjava.lang/Process_6.java: New test.
2909 * testsuite/libjava.lang/Process_1.out: Expected result.
2910 * testsuite/libjava.lang/Process_2.out: Expected result.
2911 * testsuite/libjava.lang/Process_3.out: Expected result.
2912 * testsuite/libjava.lang/Process_4.out: Expected result.
2913 * testsuite/libjava.lang/Process_5.out: Expected result.
2914 * testsuite/libjava.lang/Process_6.out: Expected result.
2916 2004-08-12 David Daney <ddaney@avtrex.com>
2919 * java/lang/PosixProcess.java: Rewrote.
2920 * java/lang/natPosixProcess.cc: Rewrote.
2921 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2922 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2923 * posix-threads.cc (block_sigchld) New function.
2924 (_Jv_ThreadRegister) Use it.
2925 (_Jv_ThreadStart) Use it.
2926 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2927 * Makefile.am: ... to specify extra native headers.
2928 * configure: Regenerated.
2929 * include/config.h: Regenerated.
2930 * Makefile.in: Regenerated.
2931 * gcj/Makefile.in: Regenerated.
2932 * include/Makefile.in: Regenerated.
2933 * testsuite/Makefile.in: Regenerated.
2935 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2937 PR tree-optimization/16867
2938 * testsuite/libjava.lang/PR16867.java: New test.
2940 2004-08-09 Per Bothner <per@bothner.com>
2942 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2943 with private fields and access methods.
2944 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2945 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2946 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2947 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2948 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2949 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2951 * resolve.cc: Likewise.
2952 * gcj/field.h: Likewise.
2953 * include/jvm.h: Likewise.
2954 * java/lang/Class.h: Likewise.
2955 * java/lang/natClass.cc: Likwise.
2956 * java/lang/natClassLoader.cc: Likewise
2957 * java/lang/reflect/natMethod.cc: Likewise
2958 * verify.cc: Likewise.
2959 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2960 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2962 2004-08-10 Andrew Haley <aph@redhat.com>
2964 * testsuite/libjava.lang/err14.java: New file.
2965 * testsuite/libjava.lang/err14.out: New file.
2967 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2969 * Makefile.am: Fix missing rename from x_nat_headers to
2971 * Makefile.in: Regenerated.
2973 2004-08-04 Andrew Haley <aph@redhat.com>
2975 * java/security/BasicPermission.java: Don't check wildcards.
2977 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2978 Michael Koch <konqueror@gmx.de>
2980 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2981 * configure.in: Replaced all usages of AC_LINK_FILES by
2984 configure: Regenerated.
2986 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2987 Michael Koch <konqueror@gmx.de>
2989 * acconfig.h: Removed.
2990 * Makefile.am: Rename variables for xlib peer to include xlib and
2991 gtk_c_headers to gtk_jni_headers.
2992 * Makefile.in: Regenerated.
2994 2004-08-04 Andrew Haley <aph@redhat.com>
2996 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2999 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3001 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3002 Replace most top level 'dnl' comments with '#' comments, conforming
3003 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3005 * configure: Rebuilt.
3007 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3009 * acinclude.m4: Include no-executables.m4.
3010 * aclocal.m4: Rebuild.
3011 * configure.in: Convert to the autoconf 2.59 version of
3012 of the no-executables hack, and also of the nonstandard CXX
3013 hack and the multilibbed CC and CXX hack. Change prerequisite
3015 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3016 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3017 testsuite/Makefile.in: Regenerate.
3019 2004-08-03 Tom Tromey <tromey@redhat.com>
3021 * jni.cc: Reindented.
3023 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3025 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3027 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3029 * testsuite/libjava.compile/PR16701.java: New test.
3031 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3033 * java/util/Collection.java, java/util/List.java,
3034 java/util/Map.java, java/util/Set.java,
3035 java/util/SortedMap.java, java/util/SortedSet.java:
3036 Added additional exceptions to documentation.
3038 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3041 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3042 * configure. Regenerate.
3043 * include/win32.h: Explicitly include winsock2.h
3044 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3047 2004-07-30 Michael Koch <konqueror@gmx.de>
3049 * java/util/zip/GZIPInputStream.java
3050 (GZIPInputStream): Increase buffer size to 4k.
3051 * java/util/zip/GZIPOutputStream.java
3052 (GZIPOutputStream): Likewise.
3053 * java/util/zip/Inflater.java
3054 (setInput): Merged formating with GNU classpath.
3055 * java/util/zip/InflaterInputStream.java
3056 (InflaterInputStream): Increase buffer size to 4k.
3057 (fill): Throw exception if stream ends early.
3058 (read): Merged endless-loop with GNU classpath.
3059 (skip): Increase buffer size to 2k.
3061 2004-07-30 Michael Koch <konqueror@gmx.de>
3063 * gnu/java/awt/EmbeddedWindow.java
3064 (addNotify): Use AccessController to allow execution of privileged
3067 2004-07-29 Michael Koch <konqueror@gmx.de>
3069 * gnu/java/lang/MainThread.java:
3070 Explicitely import used classes.
3071 (args): Make it type String[].
3073 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3075 * gnu/java/awt/ComponentDataBlitOp.java,
3076 gnu/java/beans/ExplicitBeanInfo.java,
3077 gnu/java/beans/IntrospectionIncubator.java,
3078 gnu/java/beans/editors/ColorEditor.java,
3079 gnu/java/beans/editors/FontEditor.java,
3080 gnu/java/beans/editors/NativeBooleanEditor.java,
3081 gnu/java/beans/editors/NativeByteEditor.java,
3082 gnu/java/beans/editors/NativeDoubleEditor.java,
3083 gnu/java/beans/editors/NativeFloatEditor.java,
3084 gnu/java/beans/editors/NativeIntEditor.java,
3085 gnu/java/beans/editors/NativeLongEditor.java,
3086 gnu/java/beans/editors/NativeShortEditor.java,
3087 gnu/java/beans/editors/StringEditor.java,
3088 gnu/java/io/ClassLoaderObjectInputStream.java,
3089 gnu/java/io/decode/Decoder.java,
3090 gnu/java/io/encode/Encoder.java,
3091 gnu/java/lang/ClassHelper.java,
3092 gnu/java/locale/Calendar.java,
3093 gnu/java/locale/Calendar_de.java,
3094 gnu/java/locale/Calendar_en.java,
3095 gnu/java/locale/Calendar_nl.java,
3096 gnu/java/locale/LocaleInformation_de.java,
3097 gnu/java/locale/LocaleInformation_en.java,
3098 gnu/java/locale/LocaleInformation_nl.java:
3101 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3103 * README: Remove obsolete info. Update bug URL.
3105 * NEWS: Updated with news up to GCC 3.4 release.
3107 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3109 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3110 Renamed from 'setName'. New 2-argument form with default value.
3111 (run): Pass default 'value' parameter to System.getProperty().
3112 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3114 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3117 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3119 * configure.in: Check for minimum GTK version 2.4 requirement.
3120 * configure: Rebuilt.
3122 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3124 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3125 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3127 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3129 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3130 address. Reduce sleep times. Synchronize with target threads before
3131 attempting to interrupt them. Don't try to calibrate yeild count,
3132 instead, always loop for a fixed time.
3133 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3134 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3135 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3136 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3137 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3138 * testsuite/libjava.lang/pr179.java: Likewise.
3139 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3140 time. Remove upper bounds check on sleep time.
3142 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3144 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3145 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3147 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3149 * java/io/File.java (toURI): Throw RuntimeException, not
3151 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3152 class name, not instance.
3154 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3156 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3157 and gnu/java/security/action/SetAccessibleAction.java.
3158 * Makefile.in: Rebuilt.
3160 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3162 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3163 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3165 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3166 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3167 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3169 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3171 * Makefile.am: Replace jar, rmic and rmiregistry references with
3172 gjar, grmic and grmiregistry.
3173 * configure.in: Likewise.
3174 * Makefile.in: Regenerate.
3175 * configure: Likewise.
3176 * gcj/Makefile.in: Likewise.
3177 * include/Makefile.in: Likewise.
3178 * testsuite/Makefile.in: Likewise.
3180 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3182 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3183 for privileged getProperty calls.
3184 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3185 SetAccessibleAction instead of anonymous class for doPrivileged call.
3186 (getMethod): Likewise.
3187 (setAccessible): New field. PrivilegedAction object to use when
3188 calling setAccessible.
3189 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3190 SetAccessibleAction instead of anonymous class for diPrivileged call.
3191 (setFields): Likewise.
3192 (getClassUID): Likewise.
3193 (findMethod): Likewise.
3194 * gnu/java/security/action/GetPropertyAction.java: New class.
3195 * gnu/java/security/action/SetAccessibleAction.java: New class.
3197 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3199 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3201 * testsuite/libjava.lang/Serialization.java: New test.
3202 * testsuite/libjava.lang/Serialization.out: New.
3204 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3206 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3207 missed in last commit.
3209 2004-07-23 Mark Wielaard <mark@klomp.org>
3211 * java/lang/System.java (static): Set http.agent system property when
3213 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3214 from system property inside AccessController.doPrivileged() call.
3215 (proxyPort): Made package private.
3216 (proxyInUse): Likewise.
3217 (proxyHost): Likewise.
3218 (userAgent): Likewise.
3220 2004-07-23 Mark Wielaard <mark@klomp.org>
3222 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3225 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3227 * Makefile.am (ordinary_java_source_files): Add
3228 DefaultContentHandlerFactory.java.
3229 * Makefile.in: Rebuilt.
3230 * java/net/URLConnection.java (defaultFactory): New field.
3232 (getContentHandler): Renamed from 'setContentHandler'. Try
3233 defaultFactory after user-set factory, if any. Search for content
3234 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3235 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3237 (getLastModified): Implemented.
3238 (getPermission): Create file permission here, instead of in
3240 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3242 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3244 (getLastModified): Implemented.
3245 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3246 Default implementation.
3247 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3248 Implement using GdkPixbufDecoder.
3250 2004-07-21 Michael Koch <konqueror@gmx.de>
3252 * javax/swing/JTextArea.java
3253 (setLineWrap): Fire property change event after new value is set.
3254 (setTabSize): Likewise.
3256 2004-07-21 Michael Koch <konqueror@gmx.de>
3258 * javax/swing/JTable.java
3259 (autoCreateColumnsFromModel): New field.
3260 (autoResizeMode): Likewise.
3261 (cellEditor): Likewise.
3262 (cellSelectionEnabled): Likewise.
3263 (columnModel): Likewise.
3264 (dataModel): Likewise.
3265 (defaultEditorsByColumnClass): Likewise.
3266 (defaultRenderersByColumnClass): Likewise.
3267 (editingColumn): Likewise.
3268 (editingRow): Likewise.
3269 (gridColor): Likewise.
3270 (preferredViewportSize): Likewise.
3271 (rowHeight): Likewise.
3272 (rowMargin): Likewise.
3273 (rowSelectionAllowed): Likewise.
3274 (selectionBackground): Likewise.
3275 (selectionForeground): Likewise.
3276 (selectionModel): Likewise.
3277 (showHorizontalLines): Likewise.
3278 (showVerticalLines): Likewise.
3279 (tableHeader): Likewise.
3280 (JTable): Implemented.
3281 (getColumnModel): Likewise.
3282 (getSelectedRow): Likewise.
3283 (getSelectionModel): Likewise.
3284 (setModel): Likewise.
3285 (setSelectionModel): Likewise.
3286 (createScrollPaneForTable): New method.
3287 (createDefaultDataModel): Likewise.
3288 (createDefaultListSelectionModel): Likewise.
3289 (getModel): Likewise.
3290 (getTableHeader): Likewise.
3291 (setTableHeader): Likewise.
3292 (getColumnSelectionAllowed): Likewise.
3293 (setColumnSelectionAllowed): Likewise.
3294 (getRowSelectionAllowed): Likewise.
3295 (setRowSelectionAllowed): Likewise.
3296 (getAutoResizeMode): Likewise.
3297 (setAutoResizeMode): Likewise.
3298 (getColumnCount): Likewise.
3299 (getRowCount): Likewise.
3300 (getCellRenderer): Likewise.
3301 * javax/swing/JTree.java
3302 (cellRenderer): New field.
3303 (editable): Likewise.
3304 (rootVisible): Likewise.
3305 (showsRootHandles): Likewise.
3306 (getModel): New method.
3307 (setModel): Likewise.
3308 (isEditable): Likewise.
3309 (setEditable): Likewise.
3310 (isRootVisbile): Likewise.
3311 (setRootVisible): Likewise.
3312 (getShowsRootHandles): Likewise.
3313 (setShowRootHandles): Likewise.
3314 (getCellRenderer): Likewise.
3315 (setCellRenderer): Likewise.
3317 2004-07-21 Michael Koch <konqueror@gmx.de>
3319 * javax/swing/JFormattedTextField.java
3320 (setDocument): Implemented.
3321 * javax/swing/JRootPane.java:
3323 * javax/swing/JTable.java
3324 (getDefaultRenderer): New method.
3325 * javax/swing/JTextField.java
3326 (setFont): Likewise.
3327 (getPreferredSize): Likewise.
3328 * javax/swing/JToggleButton.java
3329 (getAccessibleContext): Fix javadoc.
3330 * javax/swing/JTree.java:
3332 * javax/swing/JViewport.java:
3335 2004-07-21 David Jee <djee@redhat.com>
3337 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3338 Collect all native method declaration at the top.
3339 (create): Set the filename filter if necessary.
3340 (setDirectory): Call nativeSetDirectory().
3341 (setFilenameFilter): Implement.
3342 (filenameFilterCallback): New method.
3343 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3344 (create): Configure dialog to show hidden files.
3345 (filenameFilterCallback): New function.
3346 (nativeSetFilenameFilter): New function.
3347 (nativeSetDirectory): New function.
3349 2004-07-21 Kim Ho <kho@redhat.com>
3351 * javax/swing/plaf/basic/BasicSliderUI.java:
3353 (paintTrack): Fill the track before painting
3356 2004-07-21 Graydon Hoare <graydon@redhat.com>
3358 patch from Roman Kennke <roman@ontographics.com>
3359 * javax/swing/Spring.java: New file.
3360 * javax/swing/SpringLayout.java: New file.
3361 * Makefile.am: Add new files.
3362 * Makefile.in: Regenerate.
3364 2004-07-21 Graydon Hoare <graydon@redhat.com>
3366 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3367 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3368 * javax/swing/ScrollPaneLayout.java: Likewise.
3370 2004-07-21 Kim Ho <kho@redhat.com>
3372 * javax/swing/DefaultDesktopManager.java:
3373 (findMinimum): Removed.
3374 (resizeFrame): Trust the UI to pass valid
3376 * javax/swing/JOptionPane.java:
3377 Implemented showInternalXXXDialog methods.
3378 (startModal): New method.
3379 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3380 (BorderListener::mouseDragged): Verify that the new
3381 bounds are valid before passing them to the DesktopManager.
3382 (preferredLayoutSize): Delegate
3384 (minimumLayoutSize): Ditto.
3385 (getSize): New method.
3386 (GlassPaneDispatcher): Reimplemented by copying
3387 a stripped down LightweightDispatcher from Container.
3388 (getMinimumSize): Call minimumLayoutSize.
3389 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3391 (mousePressed): Add ability to properly close
3393 * javax/swing/plaf/basic/BasicToolBarUI.java:
3394 (DragWindow): Set owner for DragWindow.
3396 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3398 * java/awt/image/ShortLookupTable.java: New file.
3399 * java/awt/image/ByteLookupTable.java: New file.
3400 * Makefile.am: Added new files.
3401 * Makefile.in: Regenerated.
3403 2004-07-21 David Jee <djee@redhat.com>
3405 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3406 (create(GtkContainerPeer)): New native method.
3407 (create()): Call native create(), passing in the parent frame
3408 as the paramter. Natively set the current file and directory.
3409 (setFile): Construct an absolute filename before passing it to
3411 (nativeGetDirectory): New method.
3412 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3413 (window_closed): Removed.
3414 (ok_clicked): Likewise.
3415 (cancel_clicked): Likewise.
3416 (handle_response): New method.
3417 (create): Use GtkFileChooserDialog.
3418 (connectSignals): Connect to handle_response.
3419 (nativeGetDirectory): New method.
3420 (nativeSetFile): Use GtkFileChooserDialog.
3422 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3424 * java/awt/image/LookupTable.java: New file.
3425 * Makefile.am: Added new file.
3426 * Makefile.in: Regenerated.
3428 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3430 * java/awt/image/Kernel.java: New file.
3431 * Makefile.am: Added new file.
3432 * Makefile.in: Regenerated.
3434 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3436 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3437 * javax/swing/JMenu.java: Likewise.
3438 * javax/swing/JMenuBar.java: Likewise.
3439 (MARGIN_CHANGED_PROPERTY): New property.
3440 (setMargin): Implemented.
3441 * javax/swing/JMenuItem.java: Fixed javadocs.
3442 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3443 (LABEL_CHANGED_PROPERTY): New property.
3444 (add): changed to use createActionComponent.
3445 (createActionComponent): Implemented.
3446 (setLabel): Fire PropertyChangeEvent if label property
3448 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3449 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3450 (ContainerHandler): Repaint if margin property has changed.
3451 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3452 (installUI): Call installComponents().
3453 (uninstallUI): Call uinstallComponents().
3454 * javax/swing/plaf/basic/BasicMenuUI.java:
3456 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3459 2004-07-21 Kim Ho <kho@redhat.com>
3461 * javax/swing/plaf/basic/BasicToolBarUI.java:
3462 (DragWindow): Use the right constructor.
3464 2004-07-21 Kim Ho <kho@redhat.com>
3466 * javax/swing/JToolBar.java:
3467 (layoutContainer): Use getComponents.
3468 * javax/swing/plaf/basic/BasicToolBarUI.java:
3469 (DragWindow): Don't use SwingUtilities'
3471 (ToolBarDialog): ditto.
3473 2004-07-21 Kim Ho <kho@redhat.com>
3475 * javax/swing/JRootPane.java:
3477 (layoutContainer): Set the glasspane's size to
3478 be the same as the content pane.
3479 (createGlassPane): Set opaque property to false.
3481 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3483 * java/awt/Component.java (requestFocus()): Don't handle Panels
3485 (requestFocus(boolean)): Likewise.
3486 (requestFocusInWindow(boolean)): Likewise.
3487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3488 Set GTK_CAN_FOCUS flag.
3490 2004-07-21 Kim Ho <kho@redhat.com>
3492 * Makefile.am: Added new file.
3493 * Makefile.in: Regenerated.
3494 * gcj/Makefile.in: Regenerated.
3495 * include/Makefile.in: Regenerated.
3496 * javax/swing/AbstractButton.java:
3497 Add rollOverEnabled property.
3498 (setRolloverEnabled): Use new property.
3499 (isRolloverEnabled): Use new property.
3500 * javax/swing/JTabbedPane.java:
3501 (setComponent): Remove useless JTabbedPane.this.
3502 * javax/swing/JToolBar.java: Finish implementation.
3503 * javax/swing/plaf/basic/BasicArrowButton.java:
3504 (paint): Moved border painting to a border.
3505 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3506 Change JToolBar look and feel defaults.
3507 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3508 (actionPerformed): Return Integer index instead of name.
3509 (addButtonComponents): Check to see if component is
3511 (createMessageArea): Don't use components that are not
3513 (getIconForType): Use temporary icons.
3514 * javax/swing/plaf/basic/BasicSliderUI.java:
3515 (mousePressed): Do not return if it's on thumb.
3516 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3517 (paintMinorTickForVertSlider): ditto.
3518 (paintMajorTickForHorizSlider): ditto.
3519 (paintMajorTickForVertSlider): ditto.
3520 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3521 Add a border around the SplitPaneDivider.
3522 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3524 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3525 New file. Implemented.
3526 * javax/swing/plaf/basic/BasicToolBarUI.java:
3528 * testsuite/Makefile.in: Regenerated.
3530 2004-07-21 Graydon Hoare <graydon@redhat.com>
3532 * javax/swing/Timer.java (run): Queue events each time cycle.
3534 2004-07-21 David Jee <djee@redhat.com>
3536 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3537 (imageComplete): Call image.imageComplete().
3538 * java/awt/image/MemoryImageSource.java:
3539 Reimplement consumers as a Vector instead of a Hashtable. This is
3540 because enumeration on a Hashtable is not thread-safe.
3541 (addConsumer): Adapt to Vector consumers.
3542 (isConsumer): Adapt to Vector consumers.
3543 (removeConsumer): Adapt to Vector consumers.
3544 (startProduction): Adapt to Vector consumers. Call imageComplete()
3545 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3546 (newPixels): Adapt to Vector consumers.
3547 (sendPicture): Set the color model of the image consumer.
3548 (newPixels(IIII)): Adapt to Vector consumers.
3549 (newPixels(IIIIB)): Adapt to Vector consumers.
3551 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3553 * java/awt/Component.java (deliverEvent): Implement.
3554 (postEvent): Implement.
3555 (handleEvent): Implement.
3556 (translateEvent): New method.
3557 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3558 * java/awt/Container.java (deliverEvent): Implement.
3559 * java/awt/Event.java (paramString): Fix formatting.
3560 * java/awt/Font.java (toString): Likewise.
3561 * java/awt/Window.java (postEvent): Implement.
3563 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3565 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3566 Set window's focus owner upon receiving a FOCUS_LOST event.
3567 * java/awt/Window.java (Window()): Refocus the previously
3568 focused component within the window when the window regains the
3570 (setFocusOwner): New method.
3571 * java/awt/Component.java (requestFocus): Add FIXME.
3573 * libgcj.pc.in: Remove library flags.
3575 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3577 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3578 MOUSE_PRESSED event.
3579 * java/awt/Component.java (requestFocus()): Handle Panel
3580 specially. Post FOCUS_LOST event on opposite component.
3581 (requestFocus(boolean)): Likewise.
3582 (requestFocusInWindow(boolean)): Likewise.
3583 (paramString): Reorder dimension fields.
3584 * java/awt/Container.java (paramString): Fix string format.
3585 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3586 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3587 process key events if the focus owner is non-null.
3588 (dispatchKeyEvent): Likewise.
3589 * java/awt/Frame.java (paramString): Fix formatting.
3590 (generateName): New method.
3591 (getUniqueLong): Likewise.
3592 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3593 the temporary focus owner is null. If so, return the permanent
3595 * java/awt/Panel.java (generateName): New method.
3596 (getUniqueLong): Likewise.
3597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3598 signal handling to make callbacks more specific.
3600 2004-07-21 Michael Koch <konqueror@gmx.de>
3602 * javax/swing/text/Position.java
3603 (Bias): Implemented.
3605 2004-07-21 Michael Koch <konqueror@gmx.de>
3607 * javax/swing/LookAndFeel.java
3608 (provideErrorFeedback): New method.
3610 2004-07-21 Michael Koch <konqueror@gmx.de>
3612 * javax/swing/JTextArea.java
3613 (tabSize): New field.
3614 (getTabSize): New method.
3615 (setTabSize): Likewise.
3617 2004-07-21 Michael Koch <konqueror@gmx.de>
3619 * javax/swing/ActionMap.java:
3620 Fixed javadocs all over.
3621 (serialVersionUID): Made private.
3622 (parent): Don't explicitely initialize with default value.
3624 (keys): Reimplemented.
3625 (allKeys): Likewise.
3626 (convertSet): Removed.
3627 * javax/swing/ComponentInputMap.java:
3628 Fixed javadocs all over.
3629 (ComponentInputMap): Implemented.
3633 (SetParent): Likewise.
3634 (getComponent): Likewise.
3635 * javax/swing/InputMap.java:
3636 Fixed javadocs all over.
3637 (serialVersionUID): Made private.
3638 (parent): Don't explicitely initialize with default value.
3640 (keys): Reimplemented.
3641 (allKeys): Likewise.
3642 (convertSet): Removed.
3644 2004-07-21 Michael Koch <konqueror@gmx.de>
3646 * javax/swing/ActionMap.java,
3647 javax/swing/ComponentInputMap.java,
3648 javax/swing/InputMap.java,
3649 javax/swing/table/DefaultTableColumnModel.java,
3650 javax/swing/table/TableColumn.java,
3651 javax/swing/table/TableColumnModel.java,
3652 javax/swing/table/TableModel.java,
3653 javax/swing/text/AbstractDocument.java,
3654 javax/swing/text/TextAction.java:
3657 2004-07-21 Graydon Hoare <graydon@redhat.com>
3659 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3660 Make method non-static.
3661 * javax/swing/AbstractButton.java:
3662 Rename fields to match property names where possible.
3663 (iconTextGap): New property.
3664 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3665 (init) New method, call from after various constructors.
3666 * javax/swing/JComponent.java (revalidate):
3667 Invalidate before queueing repair.
3668 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3669 Reimplement in terms of visibleRowCount property.
3670 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3671 * javax/swing/JScrollPane.java (createScrollListener):
3672 Remove tracing chatter.
3673 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3674 * javax/swing/RepaintManager.java (addInvalidComponent):
3676 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3678 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3679 Mimic sun behavior on top left/right positioning.
3680 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3681 Remove mistaken use of preferredScrollableViewportSize here.
3682 (layoutContainer): Use view's preferred size as basis.
3683 * javax/swing/plaf/basic/BasicButtonUI.java:
3684 Set, get, and use textIconGap property.
3685 (paint) Paint text returned from layout (with ellipsis).
3686 * javax/swing/plaf/basic/BasicListUI.java:
3687 Remove tracing chatter, correct various minor calculations.
3688 (getCellBounds): Update layout state before calculating.
3689 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3690 Use margin default similar to sun's.
3691 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3692 (createIncreaseIcon): Center icon, minimize margins.
3693 (createDecreaseIcon): Likewise.
3694 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3696 (installUI): Call it.
3697 (uninstallDefaults): Implement.
3698 (uninstallUI): Call it.
3699 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3700 Call existing Window constructor.
3701 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3702 Set clip before painting.
3704 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3706 * javax/swing/JMenuItem.java:
3707 (processMouseEvent): Reimplemented to deal with
3709 (createMenuDragMouseEvent): New private helper method.
3710 Creates MenuDragMouseEvent.
3711 * javax/swing/MenuSelectionManager.java
3712 (componentForPoint): Implemented.
3713 (isComponentPartOfCurrentMenu): Made public.
3714 (processMouseEvent): Reimplemented to deal with
3716 (setSelectedPath): Corrected small mistake that caused
3717 path to be set incorrectly.
3718 (getPath): If given component is JMenu then also add this
3719 menu's popup menu to the selected path.
3720 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3722 (getPreferredSize): Call getPreferredMenuItemSize().
3723 (getPreferredItemSize): Moved code from getPreferredSize to here.
3724 (installListeners): Install MouseMotionListeners.
3725 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3726 if mouse wasn't released in the bounds of this menu item.
3727 (MenuDragMouseHandler): Implemented.
3728 * javax/swing/plaf/basic/BasicMenuUI.java:
3729 (installListeners): Install MouseMotionListener and
3730 MenuDrageMouseListener.
3731 (MenuDragMouseHandler): Implemented.
3732 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3733 (uninstallListeners): Implemented.
3735 2004-07-21 Michael Koch <konqueror@gmx.de>
3737 * javax/swing/JCheckBox.java: Reformated.
3738 (JCheckBox): Fixed all constructors.
3739 (isBorderPaintedFlat): New method.
3740 (setBorderPaintedFlat): New method.
3741 * javax/swing/JEditorPane.java
3742 (createEditorKitForContentType): Made public.
3743 (scrollToReference): Likewise.
3744 * javax/swing/JTextArea.java
3745 (setLineWrap): Fire property change.
3746 * javax/swing/JToggleButton.java
3747 (JToggleButton): New constructor.
3748 (JToggleButton): Simplified.
3749 * javax/swing/text/AttributeSet.java
3750 (FontAttribute): Renamed from FontCharacterAttribute.
3751 * javax/swing/text/JTextComponent.java
3752 (KeyBinBinding): Added javadoc.
3753 (JTextComponent): Likewise.
3754 (getAccessibleContext): Fixed javadoc.
3755 * javax/swing/text/View.java
3756 (View): Added javadoc.
3757 * javax/swing/text/TabableView.java: New file.
3758 * Makefile.am: Added javax/swing/text/TabableView.java.
3759 * Makefile.in: Regenerated.
3761 2004-07-21 Graydon Hoare <graydon@redhat.com>
3763 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3764 * gnu/java/awt/peer/gtk/GtkToolkit.java
3765 (GtkErrorImage): New helper class.
3766 (bufferedImageOrError): New helper method.
3767 (createImage): Use it.
3769 2004-07-21 David Jee <djee@redhat.com>
3771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3772 (setCaretPosition): Scroll the text view so the new caret position
3773 is visible on screen.
3775 2004-07-21 David Jee <djee@redhat.com>
3777 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3778 (setBounds): Do not validate awtComponent here.
3779 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3780 (getPreferredSize): New method.
3781 * java/awt/ScrollPane.java
3782 (ScrollPane): Set default size to 100x100.
3783 (addNotify): If child is not a Panel, wrap it with a new Panel.
3784 (paramString): Implement.
3786 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3788 * javax/swing/JMenu.java:
3789 (setSelected): Display popup menu only if this menu
3790 is showing on the screen.
3791 * javax/swing/JPopupMenu.java:
3792 (processMouseEvent): Added comment.
3793 (processKeyEvent): Likewise.
3794 * javax/swing/MenuSelectionManager.java:
3795 (clearSelectedPath): Only fireStateChanged() after
3796 selected path was changed, not before.
3797 (setSelectedPath): Likewise.
3798 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3799 (paintMenuItem): Corrected position of menu item's
3801 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3802 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3803 (popupMenuCanceled): Reimplemented.
3804 (popupMenuWillBecomeVisible): Select first menu item by default
3805 when displaying free floating popup menus.
3806 (TopWindowListener): Reimplemented.
3808 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3810 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3811 Panel from being painted twice when it is first shown.
3813 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3815 * java/awt/Window.java: Reverted changes from my
3816 previous patch for creating window without an owner.
3817 * javax/swing/SwingUtilities.java:
3818 (SwingUtilities.OwnerFrame): made static.
3819 (OwnerFrame.setVisible): New method. Overridden with
3820 empty implementation.
3821 (OwnerFrame.isShowing): New method. Ovverridden
3822 to return always true.
3824 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3826 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3827 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3828 (GtkComponentPeer): Remove temporary try/catch block.
3829 (setVisible): Call show and hide.
3830 (show): Make native.
3832 (getArgs): Don't add "visible" argument.
3833 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3834 (property_notify_predicate): Return Bool instead of int.
3835 (find_layout): New function.
3836 (connectJObject): Call find_layout.
3837 (connectSignals): Likewise.
3838 (moveLayout): Likewise.
3839 (gtkLayoutSetVisible): Likewise.
3841 2004-07-21 Mark Wielaard <mark@klomp.org>
3843 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3844 on notifier object before calling notifyAll().
3846 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3848 * java/awt/Window.java: Changed constructors to use new
3849 method that is described below. Constructors call this
3850 methods only if newly created window should have an owner.
3851 (setWindowOwner): New method. Implementation for
3852 this method is moved from this(owner,configuration).
3853 * javax/swing/JWindow.java:
3854 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3856 * javax/swing/SwingUtilities.java:
3857 (ownerFrame): Change type of this field to OwnerFrame.
3858 (getOwnerFrame): Changed to return object of type OwnerFrame.
3859 (SwingUtilities.OwnerFrame): New class. Represents owner
3860 of a Window that is not provided with one.
3862 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3864 * javax/swing/AbstractButton.java:
3865 (configurePropertiesFromAction): Set action command
3866 to button's text by default if action command is not
3867 explicitely specified.
3868 * javax/swing/JMenu.java: Remove unnecessary listener
3869 and methods relevant to it.
3870 (setSelected): Reimplemented.
3871 (menuSelectionChanged): Moved most part of implementation to
3872 setSelected() and call it instead.
3873 * javax/swing/JMenuItem.java:
3874 (init): Comment out statement that sets paint_border to false.
3875 (configurePropertiesFromAction): Do not set accelerator
3877 (menuSelectionChanged): Change selected index in the selection
3878 model of menu item's parent.
3879 * javax/swing/JPopupMenu.java:
3880 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3881 instead of GridBagConstraints.HORIZONTAL.
3883 (createActionChangeListener): Implemented.
3884 (setVisible): Correct location of HeavyWeightMenu and
3885 don't firePopupMenuCanceled().
3886 (menuSelectionChanged): Implemented.
3887 (ActionChangeListener): New Listener. Implemented.
3888 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3889 (BasicMenuBarUI.ContainerHandler): Implemented.
3890 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3891 (paintMenuItem): Uncommented out code that paints
3892 icon, now that icons are working properly.
3893 (PropertyChangeListener): Implemented.
3894 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3896 (topWindowListener): New field.
3897 (Constructor): initialize topWindowListener.
3898 (BasicPopupMenuUI.TopWindowListener): Implemented.
3899 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3900 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3903 2004-07-21 Michael Koch <konqueror@gmx.de>
3905 * javax/swing/plaf/basic/BasicButtonUI.java
3906 (paintFocus): Fixed method signature.
3907 (paintButtonPressed): Likewise.
3908 (paintButtonNormal): Likewise.
3909 (paintText): New method.
3910 * javax/swing/plaf/basic/BasicLabelUI.java
3911 (paint): Re-indented.
3912 * javax/swing/plaf/basic/BasicTextUI.java
3913 (installUI): Set parent textComponent to opaque.
3914 * javax/swing/text/DefaultHighlighter.java
3915 (checkPositions): New helper method.
3916 (addHighlight): Throws BadLocationException, check positions.
3917 (changeHighlight): Likewise.
3918 * javax/swing/text/EditorKit.java
3919 (EditorKit): Implements Serializable.
3920 * javax/swing/text/JTextComponent.java
3921 (getUI): Added javadoc.
3923 (upadteUI): Added javadoc, don't revalidate and repaint.
3925 2004-07-21 David Jee <djee@redhat.com>
3927 * java/awt/GridBagLayout.java
3928 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3929 * javax/swing/AbstractButton.java
3930 (setText): Reindent.
3931 * javax/swing/RepaintManager.java
3932 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3934 2004-07-21 Michael Koch <konqueror@gmx.de>
3936 * javax/swing/JFormattedTextField.java
3938 (JFormattedTextField): Implemented.
3939 (getValue): Likewise.
3940 (setValue): Likewise.
3941 * javax/swing/LookAndFeel.java
3942 (getSupportsWindowDecorations): New method.
3943 * javax/swing/UIDefaults.java:
3944 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3945 (addPropertyChangeListener): Made public.
3946 (addResourceBundle): Likewise.
3947 (removeResourceBundle): Likewise.
3948 (setDefaultLocale): Likewise.
3949 * javax/swing/plaf/basic/BasicRootPaneUI.java
3950 (BasicRootPaneUI): Implements PropertyChangeListener.
3951 (propertyChange): New method.
3952 * javax/swing/plaf/basic/BasicTextUI.java
3953 (BasicHighlighter): New inner class.
3954 (createHighlighter): New method.
3955 * javax/swing/plaf/basic/BasicToolBarUI.java
3956 (DragWindow): Extends java.awt.Window.
3957 * javax/swing/text/JTextComponent.java
3958 (getDocument): Removed debug output.
3959 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3960 javax/swing/text/DefaultHighlighter.java,
3961 javax/swing/text/FieldView.java,
3962 javax/swing/text/PlainView.java: New files.
3963 * Makefile.am: Added new files.
3964 * Makefile.in: Regenerated.
3966 2004-07-21 Michael Koch <konqueror@gmx.de>
3968 * javax/swing/JEditorPane.java
3969 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3970 (createEditorKitForContentType): Likewise.
3971 * javax/swing/text/DefaultEditorKit.java
3972 (serialVersionUID): Added constant field.
3973 (EndOfLineStringPropery): Fixed typo.
3974 (DefaultEditorKit): New constructor.
3975 * javax/swing/text/Segment.java:
3976 Import java.text.CharacterIterator.
3977 * javax/swing/text/CharacterIterator.java,
3978 javax/swing/text/PlainEditorKit.java: Removed.
3979 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3980 javax/swing/text/PlainEditorKit.java.
3981 * Makefile.in: Regenerated.
3983 2004-07-21 Michael Koch <konqueror@gmx.de>
3985 * javax/swing/JButton.java,
3986 javax/swing/text/DefaultEditorKit.java,
3987 javax/swing/text/EditorKit.java,
3988 javax/swing/text/Segment.java,
3989 javax/swing/text/StyledEditorKit.java:
3992 2004-07-21 Michael Koch <konqueror@gmx.de>
3994 * javax/swing/ImageIcon.java
3996 (description): Renamed from descr.
3997 (ImageIcon): Added missing constructors.
3998 (setParent): Removed.
3999 (setImageObserver): New method.
4000 (getImageObserver): New method.
4001 (paintIcon): Handle observer = null.
4002 * javax/swing/JButton.java
4003 (removeNotify): Fixed javadoc.
4004 (updateUI): Simplified.
4005 * javax/swing/JRootPane.java
4006 (serialVersionUID): New constant field.
4007 * javax/swing/UIManager.java:
4008 Fixed javadocs all over.
4009 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4010 * javax/swing/text/AbstractDocument.java
4011 (createPosition): Throws BadLocationException.
4012 (getText): Likewise.
4014 * javax/swing/text/ComponentView.java
4015 (modelToView): Likewise.
4016 * javax/swing/text/DefaultEditorKit.java:
4017 Made all public methods public.
4018 (read): Throws BadLocationException and IOException.
4020 * javax/swing/text/EditorKit.java:
4021 Made all public methods public.
4022 (serialVersionUID): New constant field.
4023 (clone): New method.
4024 (read): Throws BadLocationException and IOException.
4026 * javax/swing/text/Segment.java
4027 (array): Made public.
4030 (Segment): New constructors.
4031 (clone): Reimplemented.
4032 * javax/swing/text/StyledEditorKit.java
4033 (serialVersionUID): New constant field.
4035 2004-07-21 Graydon Hoare <graydon@redhat.com>
4037 * java/awt/image/BufferedImage.java
4038 (getSource): Implement.
4039 * javax/swing/ImageIcon.java
4040 (ImageIcon): Implement ctor.
4041 * javax/swing/ScrollPaneLayout.java
4042 (preferredLayoutSize): Be more careful about nulls.
4044 2004-07-21 Michael Koch <konqueror@gmx.de>
4046 * javax/swing/text/AttributeSet.java
4047 (CharacterAttribute): New interface
4048 (ColorAttribute): Likewise.
4049 (FontCharacterAttribute): Likewise.
4050 (ParagraphAttribute): Likewise.
4051 * javax/swing/text/DefaultCaret.java
4052 (moveCaret): New method.
4053 (positionCaret): Likewise.
4054 (repaint): Made protected.
4055 * javax/swing/text/JTextComponent.java
4056 (KeyBinding): Made it static.
4057 * javax/swing/text/View.java
4058 (getContainer): Honor parent == null.
4060 2004-07-21 Michael Koch <konqueror@gmx.de>
4062 * javax/swing/text/AbstractDocument.java:
4065 2004-07-21 Michael Koch <konqueror@gmx.de>
4067 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4068 Import javax.swing.UIManager explicitely.
4069 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4070 (ScrollingButton): Made it static.
4072 2004-07-21 Michael Koch <konqueror@gmx.de>
4074 * javax/swing/UIDefaults.java
4075 (ActiveValue): Made public.
4076 (LazyValue): Likewise.
4077 * javax/swing/plaf/basic/BasicTextUI.java
4078 (RootView): Reintroduced.
4080 (rootView): New field.
4081 (installUI): Create document if needed, initialize rootView.
4082 (uninstallUI): Hanle rootView.
4084 (getRootView): Likewise.
4085 (setView): Likewise.
4086 * javax/swing/text/DefaultCaret.java:
4087 Renamed all "evt" variables to "event".
4089 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4091 * libgcj.spec.in: Add -l-java-util-logging.
4093 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4096 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4097 gtk-xft-dpi can no calculate the right value.
4098 (dpi_changed_cb): Mark *pspec as unsused.
4100 2004-07-21 David Jee <djee@redhat.com>
4102 * java/awt/Component.java
4103 (move): Delegate to setBounds().
4105 (reshape): Fix so it repaints parent and self only when necessary.
4107 2004-07-21 David Jee <djee@redhat.com>
4109 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4110 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4111 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4112 (setVisible): Likewise.
4115 (getArgs): Likewise.
4116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4117 (property_notify_predicate): Likewise.
4118 (find_layout): Likewise.
4119 (connectJObject): Likewise.
4120 (connectSignals): Likewise.
4121 (moveLayout): Likewise.
4122 (gtkLayoutSetVisible): Likewise.
4124 2004-07-21 Graydon Hoare <graydon@redhat.com>
4130 (rmiregistry_LDADD): Add lib-java-util-logging.la
4131 * Makefile.in: Regenerate.
4133 2004-07-21 Michael Koch <konqueror@gmx.de>
4135 * javax/swing/text/AbstractDocument.java
4136 (replace): Dont use protected method of java.util.Vector directly.
4138 2004-07-21 Michael Koch <konqueror@gmx.de>
4140 * javax/swing/plaf/basic/BasicTextUI.java
4141 (installUI): Call specialized install methods.
4142 (installDefaults): New method.
4143 (installListeners): Likewise.
4144 (installKeyboardActions): Likewise.
4145 (uninstallUI): Likewise.
4146 (uninstallDefaults): New method.
4147 (uninstallListeners): Likewise.
4148 (uninstallKeyboardActions): Likewise.
4149 (getPropertyPrefix): New abstract method.
4150 (paint): Made final, just call paintSafely().
4151 (paintSavely): New method.
4152 (paintBackground): Likewise.
4153 (getVisibleEditorRect): Likewise.
4154 * javax/swing/text/LayeredHighlighter.java,
4155 javax/swing/text/TabExpander.java: New files.
4156 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4157 and javax/swing/text/TabExpander.java.
4158 * Makefile.in: Regenerated.
4160 2004-07-21 Michael Koch <konqueror@gmx.de>
4162 * javax/swing/plaf/basic/BasicTextUI.java
4163 (BasicTextUI): Made abstract.
4164 (BasicCaret): New inner class.
4165 (view): Don't explicitely initialize with "null".
4166 (textComponent): New field.
4167 (textColor): Removed.
4168 (disabledTextColor): Removed.
4169 (normalBackgroundColor): Removed.
4170 (RootView): Removed commented out inner class.
4171 (createUI): Removed.
4172 (createCaret): New method.
4173 (getComponent): Likewise.
4174 (installUI): Initialize textComponent only.
4175 (getPreferredSize): Use installed JTextComponent.
4176 (setView): New method.
4178 * javax/swing/text/JTextComponent.java
4179 (highlighter): New field.
4180 (caretColor): Likewise.
4181 (disabledTextColor): Likewise.
4182 (seletedTextColor): Likewise.
4183 (selectionColor): Likewise.
4184 (setUI): New method.
4185 (getCaretColor): Likewise.
4186 (setCaretColor): Likewise.
4187 (getDisabledColor): Likewise.
4188 (setDisabledColor): Likewise.
4189 (getSelectedTextColor): Likewise.
4190 (setSelectedTextColor): Likewise.
4191 (getSelectionColor): Likewise.
4192 (setSelectionColor): Likewise.
4193 (getHighlighter): Likewise.
4194 (setHighlighter): Likewise.
4195 (replaceSelection): Likewise.
4197 2004-07-21 Michael Koch <konqueror@gmx.de>
4199 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4200 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4201 * javax/swing/plaf/basic/BasicToolBarUI.java
4202 (BasicToolBarUI): Implements SwingConstants.
4204 2004-07-21 Michael Koch <konqueror@gmx.de>
4206 * javax/swing/JPopupMenu.java: Removed CVS tags.
4207 * javax/swing/UIDefaults.java: Reformatted.
4208 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4209 Explicitely import used classes.
4211 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4213 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4214 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4215 (GtkComponentPeer): Remove temporary try/catch block.
4216 (setVisible): Call show and hide.
4217 (show): Make native.
4219 (getArgs): Don't add "visible" argument.
4220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4221 (property_notify_predicate): Return Bool instead of int.
4222 (find_layout): New function.
4223 (connectJObject): Call find_layout.
4224 (connectSignals): Likewise.
4225 (moveLayout): Likewise.
4226 (gtkLayoutSetVisible): Likewise.
4228 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4230 * javax/swing/AbstractButton.java:
4231 (setDisplayedMnemonicIndex): Check if button
4232 text is not null before checking its length.
4233 * javax/swing/JMenuItem.java:
4234 (processMouseEvent): Disarm menu item if mouse has
4236 * javax/swing/plaf/basic/BasicMenuUI.java:
4237 (MouseInputHandler.mouseEntered): Do not raise
4238 popup menu if this menu is already selected.
4239 (MouseInputHandler.mousePressed): Do not fire
4241 (MenuHandler): Implemented.
4243 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4245 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4246 (getSelectedObjects): Implemented.
4247 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4248 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4249 Added javadoc for few methods.
4250 (processMouseEvent): Made public.
4251 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4252 (processMouseEvent): Likewise.
4254 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4256 * javax/swing/AbstractButton.java:
4257 (init): Set display mnemonic index to -1.
4258 (setMnemonic(char)): Use setMnemonic(int).
4259 (setMnemonic(int)): Set display mnemonic index.
4260 (getDisplayedMnemonicIndex): Change method signature
4261 by removing 'index' parameter.
4262 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4263 Added default for Menu.selectionBackground.
4264 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4265 (paintMenuItem): Change background color of the selected
4267 (paintText): Paint differently when menu item is disabled.
4268 Also paint mnemonic if it appears in the menu item's label.
4269 (paintAccelerator): Paint accelerator differently
4270 if menu item is disabled.
4271 * javax/swing/plaf/basic/BasicMenuUI.java:
4272 (installDefaults): Install defaults for
4273 selectionForeground and selectionBackground.
4274 (uninstallDefaults): Uninstall defauls for
4275 selectionForeground and selectionBackground.
4277 2004-07-21 Michael Koch <konqueror@gmx.de>
4279 * javax/swing/text/AbstractDocument.java
4280 (BranchElement): Implemented.
4281 (LeafElement): Implemented.
4282 * javax/swing/text/DefaultCaret.java:
4283 Import used classes.
4284 (serialVersionUID): New constant.
4285 * javax/swing/text/JTextComponent.java
4286 (AccessibleJTextComponent): Removed dead declaration.
4287 (caretPos): Removed.
4288 (setCaret): New method.
4289 * javax/swing/text/PlainDocument.java
4290 (rootElement): New field.
4291 (PlainDocument): Initialize rootElement.
4292 (createDefaultRoot): New method.
4293 (getDefaultRootElement): Implemented.
4294 * javax/swing/text/View.java: Reformatted.
4295 * javax/swing/text/ViewFactory.java
4296 (create): Added javadoc.
4298 2004-07-21 Michael Koch <konqueror@gmx.de>
4300 * javax/swing/ToolTipManager.java: Reformatted.
4302 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4304 * javax/swing/AbstractButton.java
4305 (changeEvent): New field.
4306 (fireItemStateChanged): Change source of the event
4307 to 'this' before firing it to button listeners.
4308 (fireActionPerformed): Likewise.
4309 (fireStateChanged): Likewise.
4310 (createActionListener): Do not set source
4311 of the event to AbstractButton.
4312 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4313 (ContainerHandler.componentAdded): Removed
4314 print out statement.
4315 (ContainerHandler.componentRemoved): Likewise.
4317 2004-07-21 Michael Koch <konqueror@gmx.de>
4319 * javax/swing/text/Highlighter.java: New file.
4320 * Makefile.am: Added javax/swing/text/Highlighter.java.
4321 * Makefile.in: Regenerated.
4323 2004-07-21 Michael Koch <konqueror@gmx.de>
4325 * javax/swing/ToolTipManager.java
4326 (stillInsideTimerAction): Fixed constructor arguments.
4327 (outsideTimerAction): Likewise.
4328 (insideTimerAction): Likewise.
4330 2004-07-21 Michael Koch <konqueror@gmx.de>
4332 * javax/swing/JButton.java: Reformatted.
4333 * javax/swing/JFormattedTextField.java
4334 (getUIClassID): Implemented.
4335 * javax/swing/JRootPane.java
4336 (serialVersionUID): New constant.
4337 * javax/swing/JTextField.java
4339 (JTextField): Simplified.
4340 (getUIClassID): New method.
4341 (getActionListeners): Added @since tag.
4342 (setColumns): Invalidate layout and repaint.
4343 (getHorizontalAlignment): New method.
4344 (setHorizontalAlignment): New method.
4345 (selectAll): Removed.
4346 * javax/swing/SwingUtilities.java
4347 (getAncestorOfClass): Removed redundant @see tag.
4348 (isLeftMouseButton): Fixed implementation.
4349 (isMiddleMouseButton): Likewise.
4350 (isRightMouseButton): Likewise.
4351 * javax/swing/text/AbstractDocument.java
4352 (AttributeContext.addAttribute): New method.
4353 (AttributeContext.addAttributes): New method.
4354 (AttributeContext.getEmptySet): New method.
4355 (AttributeContext.reclaim): New method.
4356 (AttributeContext.removeAttribute): New method.
4357 (AttributeContext.removeAttributes): New method.
4358 * javax/swing/text/Document.java
4359 (createPosition): Throws BadLocationException.
4360 (getText): Likewise.
4362 * javax/swing/text/JTextComponent.java
4363 (getText): Return null if no document is set. Catch
4364 BadLocationException.
4366 (updateUI): Simplified.
4368 2004-07-21 Michael Koch <konqueror@gmx.de>
4370 * javax/swing/JButton.java
4371 (removeNotify): Fixed javadoc.
4372 (updateUI): Simplified.
4374 2004-07-21 David Jee <djee@redhat.com>
4376 * gnu/java/awt/image/ImageDecoder.java
4377 (startProduction): Only add consumer if it's not added yet.
4378 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4379 (GdkPixbufDecoder): Don't call initState() here.
4380 (produce): Call initState() here, to ensure area_prepared and
4381 area_updated signals are properly connected.
4382 * gnu/java/awt/peer/gtk/GtkImage.java
4383 (setColorModel): Use equals() to compare ColorModel objects.
4384 (setPixels): Likewise.
4385 * java/awt/image/ColorModel.java
4386 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4387 * java/awt/image/RGBImageFilter.java
4388 (setColorModel): Set consumer's color model.
4389 (setPixels): Use equals() to compare ColorModel objects.
4391 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4393 * java/net/URLConnection.java (position): New field.
4394 (dateFormat1, dateFormat2, dateFormat3): Removed.
4395 (dateFormats): New field.
4396 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4397 each time instead of re-allocating.
4398 (initializeDateFormats): Initialize 'dateFormats'.
4400 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4403 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4406 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4408 * java/net/Socket.java (getImpl): Now private. Remove comment.
4410 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4412 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4413 of chained Writer when calling super-constructor.
4414 * java/io/FilterWriter.java (FilterWriter): Likewise.
4415 * java/io/PrintWriter.java (PrintWriter): Likewise.
4417 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4419 * prims.cc (process_gcj_properties): Don't increment i within LHS
4422 2004-07-19 Per Bothner <per@bothner.com>
4424 Print -verbose:message on "loading", not initialization.
4425 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4426 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4427 gcj::verbose_class_flag.
4428 * java/lang/natClass.cc (initializeClass): Don't print message here.
4429 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4430 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4431 (_Jv_PrepareCompiledClass): Likewise.
4433 2004-07-18 Matthias Klose <doko@debian.org>
4435 * configure.in: Substitute target_noncanonical.
4436 * configure: Regenerate
4438 2004-07-17 Michael Koch <konqueror@gmx.de>
4440 * java/lang/String.java: Fixed javadocs all over.
4442 2004-07-17 Mark Wielaard <mark@klomp.org>
4444 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4445 when size is smaller.
4446 * java/io/RandomAccessFile.java (setLength): Use truncate for
4447 shrinking the file and seek plus write for expanding the file.
4449 2004-07-17 Michael Koch <konqueror@gmx.de>
4451 * gnu/java/nio/channels/natFileChannelPosix.cc
4452 (implTruncate): Always save current position. Only reposition file
4453 pointer to where we started if not beyond new lenght. Reposition file
4454 pointer to file length if it points beyond the end of file.
4456 2004-07-17 Mark Wielaard <mark@klomp.org>
4458 * javax/swing/Box.java: Put FIXME comment above class declaration.
4459 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4460 * javax/swing/JCheckBox.java: Likewise.
4461 * javax/swing/JDialog.java: Likewise.
4462 * javax/swing/JRadioButton.java: Likewise.
4463 * javax/swing/JToggleButton.java: Likewise.
4464 * javax/swing/UIManager.java: Likewise.
4465 * javax/swing/border/TitledBorder.java: Likewise.
4466 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4467 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4468 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4469 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4470 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4471 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4472 * javax/swing/text/JTextComponent.java: Likewise.
4474 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4476 * java/net/DatagramPacket.java (setAddress): Removed check for
4479 2004-07-17 Michael Koch <konqueror@gmx.de>
4481 * java/net/DatagramSocket.java
4482 (getLocalAddress): Check if socket is bound or not.
4483 * java/net/Socket.java
4484 (getLocalAddrss): Check if socket is bound or not.
4485 (getPort): Return -1 when not connected. Dont check getImpl() for
4487 (setReuseAddress): Check if socket is closed.
4488 (isConnected): Check if getImpl() returns null.
4490 2004-07-17 Mark Wielaard <mark@klomp.org>
4492 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4493 on notifier object before calling notifyAll().
4495 2004-07-17 Michael Koch <konqueror@gmx.de>
4497 * gnu/java/nio/channels/FileChannelImpl.java
4498 (finalize): Added javadoc.
4500 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4502 * java/text/CollationElementIterator.java
4503 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4504 (setText): Use ArrayList instead of Vector.
4506 2004-07-17 Michael Koch <konqueror@gmx.de>
4508 * java/nio/ByteOrder.java
4509 (static): Removed. Not needed.
4510 Thanks to Patrick Reali for noticing.
4511 * java/nio/charset/CharsetDecoder.java
4512 (decode): Fix for classpath bug #9177: Reset state before flipping.
4514 2004-07-17 Michael Koch <konqueror@gmx.de>
4516 * java/security/Security.java: Fixed javadocs all over.
4518 2004-07-17 Michael Koch <konqueror@gmx.de>
4520 * gnu/java/awt/EmbeddedWindow.java
4522 (addNotify): Set peer via reflection.
4523 (setWindowPeer): Removed.
4524 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4525 * Makefile.am (nat_source_files):
4526 Removed gnu/java/awt/natEmbeddedWindow.cc.
4527 * Makefile.in: Regenerated.
4529 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4531 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4533 * configure: Regenerated.
4535 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4537 * configure.in: Use build_noncanonical rather than build_alias.
4538 * configure: Rebuild.
4540 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4541 by logic refactoring. Move default definition of NATIVE closer
4542 to first alternate definition.
4543 * configure: Regenerate.
4545 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4546 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4547 gcj/Makefile.in: Regenerate.
4548 * configure.in: Set ZIP and GCJH. Remove redundant condition
4549 in AM_CONDITIONAL(NATIVE,...)
4550 * configure: Regenerate.
4552 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4554 * configure.in: Use target_noncanonical rather than
4555 target_alias for forward-compatibility with autoconf 2.59.
4556 * configure: Regenerate.
4557 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4558 testsuite/Makefile.am: Substitute target_noncanonical.
4559 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4560 testsuite/Makefile.in: Regenerate.
4562 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4563 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4564 * acinclude.m4: Include acx.m4.
4565 * aclocal.m4: Regenerate.
4566 * configure: Regenerate.
4568 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4571 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4572 (decimalFormat): New static variable.
4574 (getTime): New. Override Date.getTime().
4575 (toString): Synchronize. Use decimalFormat to format nanos value
4576 correctly. Truncate extra zeros.
4577 (before): Compare getNanos() only if getTime() is equal.
4580 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4582 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4583 * configure.in: ...here.
4584 * aclocal.m4: Regenerate.
4585 * configure: Regenerate.
4587 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4588 * configure: Rebuilt with autoconf 2.13.
4589 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4590 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4592 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4595 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4597 * Makefile.in: Rebuilt.
4598 * testsuite/libjava.lang/LargeFile.java: New test case.
4599 * testsuite/libjava.lang/LargeFile.out: New file.
4601 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4603 * java/beans/EventHandler.java: Remove debugging statements.
4605 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4607 * java/beans/EventHandler.java: New file.
4608 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4609 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4610 testsuite/Makefile.in: Regenerate.
4612 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4614 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4615 flag to the gcj_setup.
4616 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4618 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4619 deprecation flag change. 58 XFAILS removed.
4621 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4623 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4624 -fno-use-divide-subroutine.
4625 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4626 (HANDLE_FPE): Define.
4627 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4628 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4629 (HANDLE_DIVIDE_OVERFLOW): Define.
4631 2004-07-14 Michael Koch <konqueror@gmx.de>
4632 Matthias Klose <doko@debian.org>
4634 * java/awt/im/InputContext.java: Initialize in, line.
4636 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4638 * interpret.cc (run): Correctly access libffi return values of
4639 integral smaller-than-int type; these are implicitly promoted.
4641 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4644 * interpret.cc (compile_mutex): New.
4645 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4646 (run): Lock compile_mutex before calling compile() if compilation is
4648 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4649 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4651 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4654 * include/jvm.h (_Jv_value): New union type.
4655 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4656 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4659 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4661 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4662 * gnu/awt/xlib/XOffScreenImage.java
4663 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4664 constructor argument. Add constructor using ImageProducer.
4665 (getSource): Implement.
4666 (imageComplete): New method.
4667 (setColorModel): New method.
4668 (setDimensions): New method.
4669 (setHints): New method.
4670 (setPixels): New method.
4671 (setProperties): New method.
4672 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4673 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4675 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4678 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4679 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4680 (finalizerReady): Now native.
4682 (runFinalizers): Removed.
4683 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4684 a primitive lock, and don't hold it while running the finalizers.
4685 (runFinalizers): Implement. Don't aquire any Java lock.
4686 (finalizerReady): Use lock primitives to signal finalizer thread.
4688 2004-07-11 Mark Wielaard <mark@klomp.org>
4690 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4691 * java/net/URLStreamHandler.java (parseURL): When url file part
4692 doesn't contain a '/' just ignore context.
4694 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4696 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4697 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4698 (MAKE_THROW_FRAME): Do not modify PSW address.
4699 (INIT_SEGV): Install SIGINFO-style signal handler.
4700 (INIT_FPE): Likewise.
4702 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4704 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4705 status. 21 xfail's removed, 1 added.
4707 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4709 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4711 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4713 * java/text/MessageFormat.java
4714 (formatInternal): Append "{n}" if argument n is unavailable.
4715 (format(Object, StringBuffer, FieldPosition)): This
4716 should be equivalent to format(Object[],
4717 StringBuffer, FieldPosition).
4719 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4721 * java.util.Calendar.java (cache): New private static field. Cached
4722 mappings of locales->calendar classes.
4723 (ctorArgTypes): New private static field. Singleton argument for
4724 calendar class constructor lookup.
4725 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4726 Optimize by bypassing reflection instantiation for the
4727 GregorianCalendar case.
4729 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4731 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4732 ResourceBundle.getBundle() calls.
4733 * java/util/GregorianCalendar.java: Likewise.
4734 * java/util/Currency.java: Likewise.
4735 * java/text/BreakIterator.java: Likewise.
4736 * java/text/Collator.java: Likewise.
4737 * java/text/DateFormat.java: Likewise.
4738 * java/text/DateFormatSymbols.java: Likewise.
4739 * java/text/DecimalFormatSymbols.java: Likewise.
4740 * java/text/NumberFormat.java: Likewise.
4741 * java/awt/Window.java: Likewise.
4743 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4745 * java/util/ResourceBundle.java (bundleCache): Renamed from
4746 resourceBundleCache. Update comments.
4747 (getObject): Don't catch MissingResourceException.
4748 (getBundle(String)): Remove 'final'. Use system classloader if
4749 getCallingClassLoader returned null.
4750 (getBundle(String, Locale)): Likewise.
4751 (BundleKey): New private class. HashMap key for bundle cache lookup.
4752 (lookupKey): New. Singleton instance of BundleKey.
4753 (nullEntry): New. Cache entry to represent failed lookups.
4754 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4755 caching strategy, no-allocation lookup, and new tryBundle methods.
4756 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4757 name using given classloader.
4758 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4759 baseName for given Locale and attempt to load bundle.
4761 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4763 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4764 illegal protected method calls.
4766 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4768 Fix or remove some bogus test cases.
4769 * testsuite/libjava.compile/pr10459_2.java: Removed.
4770 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4772 * testsuite/libjava.compile/inner_data.java: Test against its own
4775 2004-07-09 Michael Koch <konqueror@gmx.de>
4777 * scripts/unicode-muncher.pl: Updated to version 2.1
4778 from GNU classpath. Added some clarifications on where to find the
4779 needed files from www.unicode.org.
4780 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4781 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4782 Removed, these can directly be downloaded from www.unicode.org if
4784 * gnu/java/lang/CharData.java: Regenerated.
4785 * include/java-chartables.h: Regenerated.
4786 * Makefile.am (ordinary_java_source_files):
4787 Removed gnu/java/lang/CharData.java.
4788 * Makefile.in: Regenerated.
4790 2004-07-09 Michael Koch <konqueror@gmx.de>
4792 * java/security/AccessControlContext.java,
4793 java/security/SecureClassLoader.java:
4796 2004-07-09 Michael Koch <konqueror@gmx.de>
4798 * java/io/ObjectInputStream.java (readFields): Use long datatype
4799 when shifting byte values more then 24 bits left.
4801 2004-07-09 Michael Koch <konqueror@gmx.de>
4803 * java/util/zip/DeflaterOutputStream.java,
4804 java/util/zip/GZIPInputStream.java,
4805 java/util/zip/GZIPOutputStream.java,
4806 java/util/zip/InflaterInputStream.java:
4807 Reformatted. Added javadocs. Reordered all stuff.
4808 Renamed variables to be more clear.
4810 2004-07-09 Michael Koch <konqueror@gmx.de>
4812 * javax/imageio/IIOException.java,
4813 javax/imageio/event/IIOReadProgressListener.java,
4814 javax/imageio/event/IIOReadUpdateListener.java,
4815 javax/imageio/event/IIOReadWarningListener.java,
4816 javax/imageio/event/IIOWriteProgressListener.java,
4817 javax/imageio/event/IIOWriteWarningListener.java:
4819 * Makefile.am: Added new files.
4820 * Makefile.in: Regenerated.
4822 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4824 * java/text/RuleBasedCollator.java
4825 (mergeRules): Use ArrayList instead of Vector.
4826 (subParseString): likewise.
4827 (parseString): likewise.
4828 (buildCollationVector): likewise.
4829 (getCollationKey): likewise.
4831 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4833 * java/text/DateFormat.java (parse):
4834 Improved javadoc. Improved exception message.
4836 2004-07-09 Mark Wielaard <mark@klomp.org>
4838 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4839 interrupted() method to clear interupt flag of our Thread.
4841 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4843 * java/nio/Buffer.java,
4844 java/nio/ByteBuffer.java,
4845 java/nio/ByteBufferHelper.java,
4846 java/nio/ByteBufferImpl.java,
4847 java/nio/CharBuffer.java,
4848 java/nio/CharBufferImpl.java,
4849 java/nio/CharViewBufferImpl.java,
4850 java/nio/DirectByteBufferImpl.java,
4851 java/nio/DoubleBuffer.java,
4852 java/nio/DoubleBufferImpl.java,
4853 java/nio/DoubleViewBufferImpl.java,
4854 java/nio/FloatBuffer.java,
4855 java/nio/FloatBufferImpl.java,
4856 java/nio/FloatViewBufferImpl.java,
4857 java/nio/IntBuffer.java,
4858 java/nio/IntBufferImpl.java,
4859 java/nio/IntViewBufferImpl.java,
4860 java/nio/LongBuffer.java,
4861 java/nio/LongBufferImpl.java,
4862 java/nio/LongViewBufferImpl.java,
4863 java/nio/MappedByteBufferImpl.java,
4864 java/nio/ShortBuffer.java,
4865 java/nio/ShortBufferImpl.java,
4866 java/nio/ShortViewBufferImpl.java:
4867 Fixed javadocs all over. Improved input error
4870 * java/nio/Buffer.java
4871 (checkForUnderflow, checkForOverflow, checkIndex,
4872 checkIfReadOnly, checkArraySize): New helper methods
4875 * java/nio/ByteBufferHelper.java
4876 (checkRemainingForRead, checkRemainingForWrite,
4877 checkAvailableForRead, checkAvailableForWrite): Removed
4878 no longer needed methods.
4880 2004-07-09 Michael Koch <konqueror@gmx.de>
4882 * gnu/regexp/CharIndexedInputStream.java:
4883 Reordered imports to match classpath.
4885 2004-07-09 Michael Koch <konqueror@gmx.de>
4887 * gnu/java/awt/EmbeddedWindow.java:
4888 Load native library for setWindowPeer method.
4890 2004-07-08 Randolph Chung <tausq@debian.org>
4892 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4893 * configure: Regenerate.
4894 * configure.host: Set can_unwind_signal for hppa*-linux.
4895 * include/pa-signal.h: New file.
4897 2004-07-07 Per Bothner <per@bothner.com>
4899 * Makefile.am: Add rules to build libgij from just gij.cc.
4901 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4902 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4903 (initializeClass): If verbose_class_flag, print message.
4904 * gij.cc (main): Handle -verbose:class flag.
4906 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4908 * configure.host: Enable hash synchronization on Darwin.
4909 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4910 ';', since this is a comment on Darwin.
4911 (compare_and_swap_release): Likewise.
4913 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4915 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4916 file portion of URL in addition to spec for file: protocol.
4918 2004-07-05 Anthony Green <green@redhat.com>
4920 * java/io/File.java (toURI): Merge from Classpath.
4922 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4924 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4925 before passing to URL constructor. Rethrow any MalformedURLException
4926 as a RuntimeException. Catch MalformedURLException specifically, not
4929 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4931 * java/util/Locale.java (readObject): Intern strings read from object
4934 2004-07-04 Michael Koch <konqueror@gmx.de>
4936 * gnu/gcj/runtime/FirstThread.java,
4937 gnu/gcj/runtime/natFirstThread.cc: Removed.
4938 * gnu/java/lang/MainThread.java,
4939 gnu/java/lang/natMainThread.cc: New files.
4940 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4941 * Makefile.am: Added new files and removed deleted ones.
4942 * Makefile.in: Regenerated.
4944 2004-07-03 Mark Wielaard <mark@klomp.org>
4945 Anthony Green <green@redhat.com>
4947 * java/net/URL.java (getFile): Clarify return value doc.
4948 (getPath): Return null if file is empty - not empty String.
4949 (set): Convert protocol to lower case before doing anything.
4950 Only change the protocol handler if it's different.
4952 2004-07-03 Anthony Green <green@redhat.com>
4954 * java/net/URL.java (URL): Convert protocol to lower case before
4955 doing anything, so we getURLStreamHandler() with the proper value.
4957 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4959 * java/util/Locale.java (hashcode): Made transient.
4960 (hashCode): No longer synchronized.
4961 (equals): Remove comment.
4962 (writeObject): No longer synchronized. Implement using writeObject
4963 calls instead of tweaking hashCode field. Update doc.
4964 (readObject): Implement using readObject calls.
4966 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4967 Andreas Tobler <a.tobler@schweiz.ch>
4969 * configure.host (powerpc-*-darwin*): New case, define
4971 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4972 * configure: Regenerate.
4973 * include/darwin-signal.h: New.
4975 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4977 * java/beans/Statement.java (doExecute): Fix formatting.
4979 2004-06-29 Per Bothner <per@bothner.com>
4981 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4982 etc etc): Remove needless parenthesis, which causes __stdcall__
4983 attribute on MinGW to get ignored.
4985 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4987 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4989 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4991 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4993 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4995 * java/beans/Expression.java: New file.
4996 * java/beans/Statement.java: New file.
4997 * Makefile.am: Added new files.
4998 * Makefile.in: Re-generate.
5000 2004-06-27 Mark Wielaard <mark@klomp.org>
5002 * java/io/FilePermission.java (usingPerms): Removed.
5003 (actionsString): Made final.
5004 (cachePerms): Renamed to checkPerms.
5005 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5007 (FilePermission): Check arguments, call checkPerms().
5008 (equals): Remove cachePerms() call.
5009 (implies): Likewise.
5011 2004-06-27 Mark Wielaard <mark@klomp.org>
5013 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5015 (sendRequest): Use new field in user-agent http agent.
5017 2004-06-27 Mark Wielaard <mark@klomp.org>
5019 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5020 when argument is null.
5022 2004-06-26 Mark Wielaard <mark@klomp.org>
5024 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5025 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5027 (cancel_clicked): Likewise.
5029 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5032 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5033 can not calculate the right value.
5034 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5036 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5038 * testsuite/libjava.jacks/jacks.xfail: Remove
5039 15.9.1-qualified-concrete-20.
5041 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5043 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5044 encoding name to iconv.
5045 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5047 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5050 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5051 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5052 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5054 2004-06-21 Andrew Haley <aph@redhat.com>
5056 * java/io/ObjectOutputStream.java: Add DEBUG statements
5058 (dumpElementln): New method.
5060 * java/io/ObjectInputStream.java
5061 (currentClassLoader): Make native.
5062 (callersClassLoader): New field.
5064 (readObject): ENDBLOCKDATA is generated if the class has a write
5065 method, not if it has a read method.
5066 (readObject): Save and restore this.currentObject and
5067 this.currentObjectStreamClass around calls to callReadMethod().
5068 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5071 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5073 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5076 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5078 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5079 if desired, before the default class loader is initialised.
5080 Call INIT_SEGV only if HANDLE_SEGV is defined.
5082 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5084 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5085 directory only if it actually exists.
5087 2004-06-18 Graydon Hoare <graydon@redhat.com>
5089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5090 Fix up non-ansi comments.
5092 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5094 * javax/swing/text/AbstractDocument.java: Adding missing import
5095 for javax.swing.event.EventListenerList.
5096 * javax/swing/text/DefaultCaret.java: Likewise.
5098 2004-06-17 Michael Koch <konqueror@gmx.de>
5100 * javax/swing/JToolBar.java
5102 (JToolBar): Use Component.setName(String) instead of doing it all
5104 * javax/swing/Timer.java
5105 (queueEvent): Added missing modifier.
5107 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5109 * Makefile.am: Added new file.
5110 * Makefile.in: Re-generate.
5111 * javax/swing/JMenu.java:
5112 (insertSeparator): Implemented.
5113 * javax/swing/JPopupMenu.java:
5114 (JPopupMenu.Separator): Implemented.
5115 * javax/swing/MenuSelectionManager.java:
5116 (processMouseEvent): Use java.awt.Component
5117 for event source instead of javax.swing.JComponent.
5118 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5119 New File. Implemented.
5121 2004-06-16 David Jee <djee@redhat.com>
5123 * java/awt/GridBagLayout.java
5124 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5125 Make sure pos_x and pos_y are never negative.
5127 2004-04-16 Andrew Overholt <overholt@redhat.com>
5129 * Makefile.am: Add new file.
5130 * Makefile.in: Re-generate.
5131 * javax/swing/JToolBar.java
5132 Partially implemented.
5133 * javax/swing/plaf/basic/BasicToolBarUI.java
5134 New file. Partially implemented.
5136 2004-06-16 Graydon Hoare <graydon@redhat.com>
5138 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5139 (setComposite): Accept AlphaComposite arguments.
5140 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5141 (createBufferedImage): Add new overloads.
5142 * gnu/java/awt/peer/gtk/GtkToolkit.java
5143 (createImage): Use GdkPixbufDecoder.createBufferedImage
5144 when useGraphics2D() is true.
5145 (getImage): Delegate to createImage.
5146 * javax/swing/JList.java
5148 (getFirstVisibleIndex):
5149 (getLastVisibleIndex):
5151 (ensureIndexIsVisible): New methods.
5152 * javax/swing/Timer.java: Reimplement.
5154 2004-06-16 Michael Koch <konqueror@gmx.de>
5156 * javax/swing/text/AbstractDocument.java
5157 (AbstracElement): Made public, implements java.io.Serializable.
5158 (AttributeContext): Made public.
5159 (BranchElement): Likewise.
5160 (Content): Likewise.
5161 (DefaultDocumentEvent): Made public, extends
5162 javax.swing.undo.CompoundEdit.
5163 (ElementEdit): Made public, extends
5164 javax.swing.undo.AbstractUndoableEdit.
5165 (LeafElement): Made public.
5166 (LeafElement.LeafElement): Made public.
5168 2004-06-16 Michael Koch <konqueror@gmx.de>
5170 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5171 methods (that were obviously never be intended to get included hi this
5172 class. Added some methods too.
5174 2004-06-16 Michael Koch <konqueror@gmx.de>
5176 * javax/swing/text/PlainDocument.java
5177 (serialVersionUID): New constant.
5178 (lineLimitAttribute): Likewise.
5179 (tabSizeAttribute): Likewise.
5180 (tabSize): New field.
5181 (PlainDocument): Made public.
5182 (PlainDocument): New constructor.
5184 2004-06-16 Michael Koch <konqueror@gmx.de>
5186 * javax/swing/text/AbstractDocument.java
5187 (insertString): Throws BadLocationException.
5188 * javax/swing/text/Document.java
5189 (insertString): Likewise.
5190 * javax/swing/text/JTextComponent.java:
5191 Javadocs and comments cleaned up.
5193 2004-06-16 Michael Koch <konqueror@gmx.de>
5195 * javax/swing/event/UndoableEditListener.java: Reformatted.
5196 * javax/swing/text/AbstractDocument.java
5197 (AbstractDocument): Implements java.io.Serializable.
5198 (doc_list): Removed.
5199 (undo_list): Removed.
5200 (AbstractElement.serialVerionUID): New field.
5201 (BranchElement.serialVerionUID): Likewise.
5202 (DefaultDocumentEvent.serialVerionUID): Likewise.
5203 (ElementEdit.serialVerionUID): Likewise.
5204 (LeafElement.serialVerionUID): Likewise.
5205 (serialVerionUID): Likewise.
5206 (BAD_LOCATION): New constant.
5207 (BidiElementName): Likewise.
5208 (ContentElementName): Likewise.
5209 (ParagraphElementName): Likewise.
5210 (SectionElementName): Likewise.
5211 (ElementNameAttribute): Likewise.
5212 (AbstractDocument): Made protected.
5213 (AbstractDocument): New construtor.
5214 (listenerList): New field.
5215 (fireChangedUpdate): Implemented.
5216 (fireInsertUpdate): Likewise.
5217 (fireRemoveUpdate): Likewise.
5218 (fireUndoableEditUpdate): Likewise.
5219 (getListeners): Likewise.
5220 (addDocumentListener): Likewise.
5221 (removeDocumentListener): Likewise.
5222 (addUndoableEditListener): Likewise.
5223 (removeUndoableEditListener): Likewise.
5224 (getDocumentListeners): New method.
5225 (getUndoableEditListeners): Likewise.
5226 (getAsynchronousLoadPriority): Made public.
5227 (getBidiRootElement): Likewise.
5228 (setAsynchronousLoadPriority): Likewise.
5229 (setDocumentProperties): Likewise.
5230 * javax/swing/text/BadLocationException.java
5231 (serialVerionUID): New field.
5232 * javax/swing/text/DefaultCaret.java
5233 (changeEvent): New field.
5234 (listenerList): Likewise.
5236 (addChangeListener): Reimplemented.
5237 (removeChangeListener): Likewise.
5238 (getListeners): New method.
5239 (getChangeListeners): Likwise.
5240 (getComponent): Likewise.
5241 * javax/swing/text/GapContent.java
5242 (GapContent): Implements java.io.Serializable.
5243 (serialVerionUID): New field.
5245 2004-06-16 Michael Koch <konqueror@gmx.de>
5247 * javax/swing/JTree.java
5248 (treeModel): New field.
5249 (JTree): New constructors, one existing one made public.
5250 (createTreeModel): New method.
5251 (addTreeExpansionListener): Likewise.
5252 (removeTreeExpansionListener): Likewise.
5253 (getTreeExpansionListeners): Likewise.
5254 (fireTreeCollapsed): Likewise.
5255 (fireTreeExpanded): Likewise.
5256 (addTreeSelectionListener): Likewise.
5257 (removeTreeSelectionListener): Likewise.
5258 (getTreeSelectionListeners): Likewise.
5259 (fireValueChanged): Likewise.
5260 (addTreeWillExpandListener): Likewise.
5261 (removeTreeWillExpandListener): Likewise.
5262 (getTreeWillExpandListeners): Likewise.
5263 (fireTreeWillCollapse): Likewise.
5264 (fireTreeWillExpand): Likewise.
5266 2004-06-16 Michael Koch <konqueror@gmx.de>
5268 * javax/swing/JTree.java: Reformatted.
5270 2004-06-16 Michael Koch <konqueror@gmx.de>
5272 * javax/swing/JTextArea.java: New file.
5273 * javax/swing/JTextField.java
5275 (notifyAction): New constant.
5276 (columns): New field.
5277 (JTextField): New constructors.
5278 (createDefaultModel): New method.
5279 (addActionListener): Reimplmemented.
5280 (removeActionListener): Reimplemented.
5281 (getActionListeners): New method.
5282 (fireActionPerformed): New method.
5283 (getColumns): New method.
5284 (setColumne): New method.
5285 * javax/swing/text/JTextComponent.java
5286 (AccessibleJTextComponent.serialVersionUID): New field.
5287 (serialVersionUID): Likewise.
5288 (DEFAULT_KEYMAP): Likewise.
5289 (FOCUS_ACCELERATOR_KEY): Likewise.
5290 (doc): Made private.
5291 (icon_gap): Likewise.
5294 (JTextComponent): Some constructors removed.
5295 (getScrollableTracksViewportHeight): New method.
5296 (getScrollableTracksViewportWidth): Likewise.
5297 * Makefile.am: Added javax/swing/JTextArea.java.
5298 * Makefile.in: Regenerated.
5300 2004-06-15 Graydon Hoare <graydon@redhat.com>
5302 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5303 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5304 * javax/swing/JViewport.java
5305 (getExtentSize): Return size rather than preferred size.
5306 (toViewCoordinates): New methods.
5307 (getViewSize): Return size rather than preferred size.
5308 (setViewSize): Note view size as set.
5309 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5310 * javax/swing/plaf/basic/BasicScrollBarUI.java
5311 (getPreferredSize): Don't redo layout.
5312 * javax/swing/plaf/basic/BasicViewportUI.java
5313 (paint): Translate image properly and eat exceptions.
5315 2004-06-15 Kim Ho <kho@redhat.com>
5317 * javax/swing/JTabbedPane.java
5318 (setComponent): Remove old component and
5320 (setSelectedIndex): Don't operate on the
5321 components if they're null. Don't set index
5322 on the model if the index is the same.
5323 (insertTab): Don't add or hide the component
5324 if it's null. Repaint the container.
5325 * javax/swing/plaf/basic/BasicLookAndFeel.java
5326 Change colors for TabbedPane.
5327 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5328 (mousePressed): Re-layout and paint the component.
5329 (layoutContainer): Don't set location on the view.
5330 (ScrollingViewport::paint): Remove.
5332 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5335 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5337 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5338 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5339 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5341 (drawLine): Call gdk_flush before leaving GDK critical region.
5342 (fillRect): Likewise.
5343 (drawRect): Likewise.
5344 (copyArea): Likewise.
5345 (copyPixmap): Likewise.
5346 (clearRect): Likewise.
5347 (drawArc): Likewise.
5348 (drawPolyline): Likewise.
5349 (drawPolygon): Likewise.
5350 (fillPolygon): Likewise.
5351 (fillArc): Likewise.
5352 (drawOval): Likewise.
5353 (fillOval): Likewise.
5355 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5357 (GdkFontMetrics): Add style argument to initState call.
5358 (stringWidth(String,int,int,String)): Add style parameter.
5359 (stringWidth(String)): Add style argument to stringWidth call.
5360 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5361 (initState): Set pango font style and weight based on AWT style
5362 parameter. Pass default GTK language to
5363 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5364 simply dividing by PANGO_SCALE.
5365 (stringWidth): Set pango font style and weight based on AWT style
5368 * java/awt/Button.java (next_button_number): New field.
5369 (paramString): Change output.
5370 (generateName): New method.
5371 (getUniqueLong): New method.
5373 2004-06-14 Kim Ho <kho@redhat.com>
5375 * javax/swing/JTabbedPane.java:
5376 (setComponentAt): Set the component, not
5378 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5379 (actionPerformed): Let deiconize catch exception.
5381 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5383 * javax/swing/JPopupMenu.java:
5384 (setVisible): Corrected location of a
5385 heavyweight popup menu.
5387 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5389 * javax/swing/MenuSelectionManager.java:
5390 Ran through jalopy to fix formatting style.
5392 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5394 * javax/swing/JLayeredPane.java:
5395 (remove): Revalidate and repaint layered pane after
5396 the component was removed.
5397 javax/swing/JMenu.java:
5398 (setVisible): Display popup menu at the user location,
5399 if one was set by the user.
5400 (setMenuLocation): Reimplemented. Fixed javadoc.
5401 * javax/swing/JMenuBar.java: Added javadoc.
5402 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5403 (MODEL_CHANGED_PROPERTY): New Property.
5404 (isSelected): Implemented.
5405 (setBorderPainted): Fire PropertyChangeEvent
5406 if paintBorder property changes.
5407 (setSelected): Implemented.
5408 (setSelectionModel): Implemented.
5409 * javax/swing/JPopupMenu.java: Added Javadoc
5410 (pack): Implemented.
5411 (setVisible): Reimplemented.
5412 (show): Fixed location.
5413 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5414 Container instead of JPanel.
5415 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5416 (clearSelectedPath): Reimplemented to clear selectedPath
5418 (processMouseEvent): Reimplemented.
5419 (setSelectedPath): Fire stateChange event indicating that
5420 selected menu path has changed.
5421 (getPath): Change to use ArrayList instead of Vector.
5422 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5423 (installUI): call installKeyboardActions().
5424 (uninstallUI): call uninstallKeyboardActions().
5426 2004-06-13 Michael Koch <konqueror@gmx.de>
5428 * javax/swing/text/DefaultCaret.java,
5429 javax/swing/text/BadLocationException.java:
5432 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5434 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5435 DEFAULT_COLS): New variables.
5436 (create): Don't allow 0 rows or 0 columns. Instead, set the
5437 values to DEFAULT_ROWS or DEFAULT_COLS.
5438 (getMinimumSize): Likewise.
5439 (getPreferredSize): Likewise.
5440 (minimumSize): Likewise.
5441 (preferredSize): Likewise.
5442 (create): Set peer's editable state.
5443 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5444 zero. Update javadocs.
5445 (TextArea(String)): Likewise.
5446 (TextArea(int,int)): Fix javadocs.
5447 (TextArea(String,int,int,int)): Only throw exception if one of
5448 rows or columns is zero. Fix javadocs.
5450 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5452 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5453 addition to Components.
5455 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5456 wasn't consumed by normal processing, send it to the parent
5459 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5460 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5463 2004-06-11 David Jee <djee@redhat.com>
5465 * java/awt/MediaTracker.java
5466 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5467 (addImage(Image,int,int,int)): Likewise.
5469 2004-06-11 Michael Koch <konqueror@gmx.de>
5471 * javax/swing/text/AbstractDocument.java,
5472 javax/swing/text/Document.java,
5473 javax/swing/text/GapContent.java,
5474 javax/swing/text/JTextComponent.java,
5475 javax/swing/text/PlainDocument.java:
5478 2004-06-11 Michael Koch <konqueror@gmx.de>
5480 * javax/swing/JRootPane.java
5481 (AccessibleJRootPane.serialVersionUID): New field.
5482 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5483 (AccessibleJRootPane.getAccessibleRole): New method.
5484 (RootLayout): Implements Serializable.
5485 (RootLayout.serialVersionUID): New field.
5486 (RootLayout.RootLayout): New constructor.
5487 (setJMenuBar): Made public.
5488 (getJMenuBar): Likewise.
5489 (JRootPane): Likewise.
5490 (createContentPane): Likewise.
5491 (createGlassPane): Likewise.
5492 (createLayeredPane): Likewise.
5494 2004-06-11 Michael Koch <konqueror@gmx.de>
5496 * javax/swing/SwingUtilities.java
5497 (isLeftMouseButton): Fixed javadoc.
5498 (isMiddleMouseButton): Likewise.
5499 (isRightMouseButton): Likewise.
5501 2004-06-11 Michael Koch <konqueror@gmx.de>
5503 * javax/swing/JScrollPane.java
5504 (serialVersionUID): New field.
5505 (columnHeader): Made protected.
5506 (rowHeader): Likewise.
5507 (lowerLeft): Likewise.
5508 (lowerRight): Likewise.
5509 (upperLeft): Likewise.
5510 (upperRight): Likewise.
5511 (horizontalScrollBar): Likewise.
5512 (horizontalScrollBarPolicy): Likewise.
5513 (verticalScrollBar): Likewise.
5514 (verticalScrollBarPolicy): Likewise.
5515 (viewport): Likewise.
5517 2004-06-11 Michael Koch <konqueror@gmx.de>
5519 * javax/swing/LookAndFeel.java: Fixed javadocs.
5521 2004-06-11 Michael Koch <konqueror@gmx.de>
5523 * javax/swing/JEditorPane.java: Fixed javadocs.
5524 (JEditorPane): Removed redundant call to to this().
5525 (fireHyperlinkUpdate): Implemented.
5527 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5529 * javax/swing/JMenu.java: Fixed file name
5530 in the file comment.
5532 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5534 * javax/swing/JMenu.java: Added javadoc.
5535 (JMenu): Added MenuChangeListener to listen to
5536 ChangeEvents occuring in menu's model.
5537 (insert): Throw IllegalArgumentException if
5538 index is less than 0
5539 (setSelected): Reimplement.
5540 (setPopupMenuVisible): Call menu's model isEnabled()
5541 (setDelay): Throw IllegalArgumentException if
5542 given amount of delay is less than 0.
5543 (createActionComponent): Implemented.
5544 (createActionChangeListener): Implemented.
5545 (addSeparator): Implemented.
5546 (getItem): Throw IllegalArgumentException if index is
5548 (getItemCount): Implemented.
5549 (fireMenuSelected): Changed to use menuEvent.
5550 (fireMenuDeselected): Likewise.
5551 (fireMenuCanceled): Likewise.
5552 (setAccelerator): Changed to throw an error if this
5554 (doClick): Implemented.
5555 (JMenu.ActionChangedListener): New inner class to handle
5556 PropertyChangeEvents occuring in the actions associated with menu.
5557 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5558 (BasicMenuUI): Added PropertyChangeListener to the menu.
5559 (createChangeListener): Implemented.
5560 (createMenuDragMouseListener): Likewise.
5561 (createMenuKeyListener): Likewise.
5562 (createPropertyChangeListener): Likewise.
5563 (uninstallListeners): Likewise.
5564 (BasicMenuUI.MouseInputHandler): Reimplemented.
5565 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5566 (BasicMenuUI.ChangeHandler): Likewise.
5567 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5568 (BasicMenuUI.MenuKeyHandler): Likewise.
5570 2004-06-10 David Jee <djee@redhat.com>
5572 * java/awt/MediaTracker.java
5573 (imageUpdate): Only do notifyAll() if the image is complete.
5575 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5577 * javax/swing/JApplet.java:
5578 (getJMenuBar): Made public.
5579 (setJMenuBar): Likewise.
5580 * javax/swing/JFrame.java:
5581 (getJMenuBar): Made public.
5582 (setJMenuBar): Likewise.
5583 * javax/swing/JWindow.java:
5584 (getJMenuBar): Removed.
5585 (setJMenuBar): Removed.
5587 2004-06-10 Michael Koch <konqueror@gmx.de>
5589 * javax/swing/JEditorPane.java
5590 (createEditorKitForContentType): Fixed visibility.
5591 (fireHyperlinkUpdate): Likewise.
5592 (getContentType): Likewise.
5593 (getEditorKit): Likewise.
5594 (getEditorKitForContentType): Likewise.
5595 (getPage): Likewise.
5597 (registerEditorKitForContentTyoe): Likewise.
5598 (replaceSelection): Likewise.
5599 (setContentType): Likewise.
5600 (setEditorKit): Likewise.
5601 (setPage): Likewise.
5603 2004-06-10 Michael Koch <konqueror@gmx.de>
5605 * javax/swing/Timer.java
5606 (Timer): New constructor.
5607 * javax/swing/plaf/basic/BasicProgressBarUI.java
5608 (animationTimer): Don't initialize at construction.
5609 (startAnimationTimer): Added since tag.
5610 (stopAnimationTimer): Likewise.
5611 (installUI): Use new Timer constructor.
5612 * javax/swing/plaf/basic/BasicScrollBarUI.java
5613 (installUI): Likewise.
5614 * javax/swing/plaf/basic/BasicSliderUI.java
5615 (installUI): Likewise.
5617 2004-06-10 Michael Koch <konqueror@gmx.de>
5619 * javax/swing/ButtonGroup.java
5620 (serialVersionUID): Made private.
5621 (buttons): Renamed from v, added javadoc.
5622 (sel): Added javadoc.
5623 (ButtonGroup): Likewise.
5626 (getElements): Likewise.
5627 (getSelection): Likewise.
5628 (setSelected): Likewise.
5629 (isSelected): Likewise.
5630 (getButtonCount): Likewise.
5632 2004-06-10 Michael Koch <konqueror@gmx.de>
5634 * javax/swing/ButtonGroup.java,
5635 javax/swing/ImageIcon.java,
5636 javax/swing/JEditorPane.java,
5637 javax/swing/JRootPane.java,
5638 javax/swing/JTextField.java,
5639 javax/swing/LookAndFeel.java,
5640 javax/swing/plaf/basic/BasicTextUI.java:
5643 2004-06-10 Michael Koch <konqueror@gmx.de>
5645 * javax/swing/text/Style.java: Added javadocs.
5647 2004-06-10 Michael Koch <konqueror@gmx.de>
5649 * javax/swing/JComponent.java
5650 (fireVetoableChange): Removed redundant cast.
5651 * javax/swing/JLabel.java
5652 (getDisabledIcon): Save icon for next call.
5654 2004-06-10 Michael Koch <konqueror@gmx.de>
5656 * javax/swing/KeyStroke.java
5657 (getKeyStroke(char,boolean)): Marked deprecated.
5659 2004-06-10 Michael Koch <konqueror@gmx.de>
5661 * javax/swing/DefaultCellEditor.java,
5662 javax/swing/GrayFilter.java,
5663 javax/swing/event/DocumentEvent.java,
5664 javax/swing/text/JTextComponent.java,
5665 javax/swing/text/MutableAttributeSet.java:
5668 2004-06-10 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/plaf/BorderUIResource.java:
5671 Added serialVersionUID all over.
5673 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5675 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5677 2004-06-10 Michael Koch <konqueror@gmx.de>
5679 * javax/swing/table/DefaultTableCellRenderer.java
5680 (noFocusBorder): Initialize directly.
5682 2004-06-10 Michael Koch <konqueror@gmx.de>
5684 * javax/swing/plaf/basic/BasicArrowButton.java
5685 (setDirection): Use method argument.
5687 2004-06-10 Michael Koch <konqueror@gmx.de>
5689 * javax/swing/plaf/BorderUIResource.java,
5690 javax/swing/plaf/ComponentUI.java,
5691 javax/swing/undo/CompoundEdit.java,
5692 javax/swing/undo/StateEdit.java:
5693 Fixed javadocs all over.
5695 2004-06-10 Michael Koch <konqueror@gmx.de>
5697 * javax/swing/DefaultButtonModel.java
5698 (ARMED): Made public final, fixed value.
5699 (ENABLED): Likewise.
5700 (PRESSED): Likewise.
5701 (ROLLOVER): Likewise.
5702 (SELECTED): Likewise.
5703 (stateMask): Initialize directly.
5704 (listenerList): Likewise.
5705 (mnemonic): Likewise.
5706 (fireStateChanged): Removed argument, use changeEvent as event.
5707 All places where this method is called are fixed too.
5708 (getActionCommant): Fixed javadoc.
5709 (setGroup): Fixed javadoc.
5710 (getGroup): New method.
5712 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5714 * javax/swing/AbstractButton.java
5715 (AbstractButton): Use init() to initialize the button.
5716 (init): New Method. Initializes AbstractButton.
5717 * javax/swing/JMenuItem.java: Documented.
5718 (JMenuItem): Reimplemented.
5719 (init): Implemented.
5720 (setEnabled): Changed to call super.setEnabled()
5721 (processMouseEvent): Reimplemented.
5722 (fireMenuKeyPressed): Implemented.
5723 (fireMenuKeyReleased): Implemented.
5724 (fireMenuKeyTyped): Implemented.
5725 (menuSelectionChanged): disarm the model if the menu item was
5727 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5728 (getPath): Change to use ArrayList instead of Vector.
5729 (getPreferredSize): Renamed variable.
5730 (paintMenuItem): Paint margin area of menu item.
5731 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5732 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5733 menu item's bounds before clearing the selection.
5735 2004-06-09 David Jee <djee@redhat.com>
5737 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5738 (GtkTextComponentPeer): Set caret position to 0.
5739 * java/awt/TextComponent.java
5740 (setText): Set caret position to 0.
5741 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5742 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5743 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5744 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5746 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5747 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5750 2004-06-09 Kim Ho <kho@redhat.com>
5752 * Makefile.am: New files
5753 * Makefile.in: Regenerated
5754 * java/awt/Container.java
5755 (getComponentAt): Removed.
5756 * javax/swing/AbstractAction.java
5757 (ENABLED_PROPERTY): New property.
5758 (putValue): Fire PropertyChangeEvents.
5759 (setEnabled): ditto.
5760 (firePropertyChange): Javadoc and implement
5762 * javax/swing/AbstractButton.java
5763 (setAction): Don't create PropertyChangeListener
5764 if new Action is null.
5765 (setIcon): Don't set icon till after comparing
5767 (configurePropertiesFromAction): Check mnemonic
5768 key before calling intValue().
5769 (createActionPropertyChangeListener): Check
5770 properties rather than bulk change.
5771 * javax/swing/DefaultDesktopManager.java:
5773 * javax/swing/DesktopManager.java:
5775 * javax/swing/JComponent.java
5776 (fireVetoableChange): Implement.
5777 (paintImmediately): Use root component.
5778 * javax/swing/JDesktopPane.java: Implement
5779 * javax/swing/JInternalFrame.java: Implement
5780 * javax/swing/JLabel.java
5781 (getDisabledIcon): Return grayscaled icon if
5782 no disabled icon specified.
5783 * javax/swing/JMenuBar.java
5784 (getComponentAtIndex): Use getComponent
5785 * javax/swing/JOptionPane.java
5786 (getDesktopPaneForComponent): Use SwingUtilities'
5788 (getFrameForComponent): ditto.
5789 * javax/swing/JSplitPane.java
5790 (remove): Use getComponent.
5791 * javax/swing/SwingUtilities.java
5792 (convertPoint): Implement.
5793 * javax/swing/plaf/basic/BasicButtonUI.java
5794 (paintButtonNormal): Check opaqueness before
5796 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5798 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5800 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5802 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5804 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5805 Change InternalFrame and Desktop colors.
5807 2004-06-09 David Jee <djee@redhat.com>
5809 * java/awt/Container.java
5810 (remove): Do not set component to invisible.
5812 2004-06-09 Michael Koch <konqueror@gmx.de>
5814 * javax/swing/tree/DefaultMutableTreeNode.java
5815 (getLeafCount): Renamed enum to e.
5817 2004-06-09 Michael Koch <konqueror@gmx.de>
5819 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5820 (positionForMouseEvent): Removed redundant semicolon.
5821 (continueDrag): Use method arguments.
5823 2004-06-09 Michael Koch <konqueror@gmx.de>
5825 * javax/swing/border/TitledBorder.java,
5826 javax/swing/filechooser/FileSystemView.java,
5827 javax/swing/plaf/basic/BasicButtonListener.java,
5828 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5829 javax/swing/plaf/basic/BasicLabelUI.java,
5830 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5831 javax/swing/plaf/basic/BasicScrollBarUI.java,
5832 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5833 javax/swing/plaf/basic/BasicSliderUI.java,
5834 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5835 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5836 javax/swing/table/JTableHeader.java,
5837 javax/swing/text/AbstractDocument.java,
5838 javax/swing/text/DefaultCaret.java,
5839 javax/swing/text/StyledEditorKit.java,
5840 javax/swing/tree/DefaultTreeCellEditor.java:
5841 Reworked import statements.
5843 2004-06-08 Graydon Hoare <graydon@redhat.com>
5845 * javax/swing/Box.java: Temporarily comment out code
5846 broken due to visibility bug.
5848 2004-06-09 Michael Koch <konqueror@gmx.de>
5850 * javax/swing/ImageIcon.java
5851 (ImageIcon): Added missing constructor.
5853 2004-06-08 Michael Koch <konqueror@gmx.de>
5855 * javax/swing/JToggleButton.java
5856 (JToggleButton): New constructor.
5857 (getAccessibleContext): Moved documentation into javadoc.
5858 (getUIClassID): Likewise.
5860 2004-06-08 Michael Koch <konqueror@gmx.de>
5862 * javax/swing/AbstractButton.java
5863 (getDisabledIcon): Create disabled icon if none exists yet.
5865 2004-06-08 Michael Koch <konqueror@gmx.de>
5867 * javax/swing/plaf/basic/BasicLookAndFeel.java
5868 (initClassDefaults): Added FormattedTextFieldUI.
5869 (loadResourceBundle): Renamed enum to e.
5871 2004-06-08 Michael Koch <konqueror@gmx.de>
5873 * javax/swing/plaf/basic/BasicButtonUI.java
5874 (paintIcon): Simplified.
5875 (paintText): Paint disabled button correctly.
5877 2004-06-08 Michael Koch <konqueror@gmx.de>
5879 * javax/swing/JComponent.java
5880 (createToolTip): Use official JToolTip API.
5882 2004-06-08 Michael Koch <konqueror@gmx.de>
5884 * javax/swing/JToolTip.java
5885 (JToolTip): No arguments in API.
5886 (setTipText): New method.
5888 2004-06-08 Michael Koch <konqueror@gmx.de>
5890 * javax/swing/SwingUtilities.java
5891 (isLeftMouseButton): New method.
5892 (isMiddleMouseButton): New method.
5893 (isRightMouseButton): New method.
5895 2004-06-08 Michael Koch <konqueror@gmx.de>
5897 * javax/swing/AbstractButton.java,
5898 javax/swing/CellRendererPane.java,
5899 javax/swing/JCheckBoxMenuItem.java,
5900 javax/swing/JColorChooser.java,
5901 javax/swing/JComboBox.java,
5902 javax/swing/JComponent.java,
5903 javax/swing/JDesktopPane.java,
5904 javax/swing/JFileChooser.java,
5905 javax/swing/JMenu.java,
5906 javax/swing/JMenuItem.java,
5907 javax/swing/JOptionPane.java,
5908 javax/swing/JPasswordField.java,
5909 javax/swing/JPopupMenu.java,
5910 javax/swing/JProgressBar.java,
5911 javax/swing/JRadioButtonMenuItem.java,
5912 javax/swing/JScrollBar.java,
5913 javax/swing/JSeparator.java,
5914 javax/swing/JSlider.java,
5915 javax/swing/JSplitPane.java,
5916 javax/swing/JTabbedPane.java,
5917 javax/swing/JTextField.java,
5918 javax/swing/JToolBar.java,
5919 javax/swing/text/JTextComponent.java:
5920 Fixed all constructors of accessibility classes.
5922 2004-06-08 Michael Koch <konqueror@gmx.de>
5924 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5927 2004-06-08 Michael Koch <konqueror@gmx.de>
5929 * javax/swing/Box.java
5930 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5931 (AccessibleBoxFiller.serialVersionUID): New member variable.
5932 * javax/swing/DefaultButtonModel.java
5933 (stateMask): Made protected.
5934 (listenerList): Likewise.
5935 (changeEvent): Likewise.
5937 (mnemonic): Likewise.
5938 (actionCommand): Likewise.
5939 (getListeners): New method.
5940 (getActionListeners): New method.
5941 (getItemListeners): New method.
5942 (getChangeListeners): New method.
5943 (fireItemStateChanged): Simplified.
5944 (fireActionPerformed): Simplified.
5945 (fireStateChanged): Simplified.
5946 * javax/swing/JFrame.java
5947 (JFrame): Implements WindowContants.
5948 (HIDE_ON_CLOSE): Removed.
5949 (EXIT_ON_CLOSE): Removed.
5950 (DISPOSE_ON_CLOSE): Removed.
5951 (DO_NOTHING_ON_CLOSE): Removed.
5952 (processWindowEvent): Exit with code 0.
5953 (setDefaultCloseOperation): Do security check before setting value.
5954 * javax/swing/JOptionPane.java
5955 (message): Initialize only in constructor.
5956 * javax/swing/JToolTip.java: Removed unused imports.
5957 * javax/swing/JViewport.java
5958 (serialVersionUID): New member variable.
5959 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5960 (BLIT_SCROLL_MODE): Likewise.
5961 (BACKINGSTORE_SCROLL_MODE): Likewise.
5962 (scrollUnderway): Made protected.
5963 (isViewSizeSet): Likewise.
5964 * javax/swing/ListModel.java: Fixed javadoc.
5965 * javax/swing/Popup.java: Likewise.
5966 * javax/swing/RepaintManager.java
5967 (paintDirtyRegions): Don't use internal classes of
5968 java.util.AbstractMap.
5969 * javax/swing/ScrollPaneConstants.java: Reindented.
5970 * javax/swing/ScrollPaneLayout.java
5971 (viewport): Made protected.
5972 (verticalScrollBar): Made protected, renamed to vsb.
5973 (horizontalScrollBar): Made protected, renamed to hsb.
5974 (rowHeader): Made protected, renamed to rowHead.
5975 (columnHeader): Made protected, renamed to colHead.
5976 (lowerLeft): Made protected.
5977 (lowerRight): Made protected.
5978 (upperLeft): Made protected.
5979 (upperRight): Made protected.
5980 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5981 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5983 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5985 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5986 LOADING if flags has SOMEBITS set.
5988 2004-06-07 Michael Koch <konqueror@gmx.de>
5990 * javax/swing/AbstractButton.java: Reorganized imports.
5991 * javax/swing/ActionMap.java: Likewise.
5992 * javax/swing/DefaultButtonModel.java: Likewise.
5993 * javax/swing/DefaultListModel.java: Likewise.
5994 * javax/swing/ImageIcon.java: Likewise.
5995 (serialVersionUID): New member variable.
5996 * javax/swing/JComboBox.java: Reorganized imports.
5997 * javax/swing/JComponent.java: Likewise.
5998 (ui): Made protected.
5999 (listenerList): Made protected.
6000 (TOOL_TIP_TEXT_KEY): New constant.
6001 (scrollRectToVisible): Removed redundant null check.
6002 * javax/swing/JFrame.java: Reorganized imports.
6003 * javax/swing/JInternalFrame.java: Reorganized imports.
6004 * javax/swing/JProgressBar.java: Likewise.
6005 * javax/swing/JRootPane.java: Likewise.
6006 * javax/swing/JScrollBar.java: Likewise.
6007 * javax/swing/JSeparator.java: Likewise.
6008 * javax/swing/JSlider.java: Likewise.
6009 * javax/swing/JTabbedPane.java: Likewise.
6010 * javax/swing/JTextField.java: Likewise.
6011 * javax/swing/JToolBar.java: Likewise.
6012 * javax/swing/JTree.java: Likewise.
6013 * javax/swing/JViewport.java: Likewise.
6014 * javax/swing/JWindow.java: Likewise.
6015 * javax/swing/KeyStroke.java: Likewise.
6016 * javax/swing/LookAndFeel.java: Likewise.
6017 * javax/swing/MenuSelectionManager.java: Likewise.
6018 * javax/swing/SwingUtilities.java: Likewise.
6019 * javax/swing/Timer.java: Likewise.
6020 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6021 * javax/swing/JList.java
6022 (HORIZONTAL_WRAP): Made final, fixed value.
6023 (VERTICAL): Likewise.
6024 (VERTICAL_WRAP): Likewise.
6026 2004-06-07 Michael Koch <konqueror@gmx.de>
6028 * javax/swing/AbstractButton.java
6029 (serialVersionUID): New member variable.
6030 (AccessibleAbstractButton.serialVersionUID): Likewise.
6031 (AbstractButton): Made public.
6032 * javax/swing/Box.java
6033 (AccessibleBox.serialVersionUID): New member variable.
6034 (Filler.serialVersionUID): Likewise.
6035 * javax/swing/DefaultListSelectionModel.java
6036 (serialVersionUID): Likewise.
6037 * javax/swing/JApplet.java
6038 (serialVersionUID): Likewise.
6039 * javax/swing/JCheckBox.java
6040 (serialVersionUID): Likewise.
6041 * javax/swing/JCheckBoxMenuItem.java
6042 (serialVersionUID): Likewise.
6043 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6044 * javax/swing/JColorChooser.java
6045 (serialVersionUID): Likewise.
6046 (AccessibleJColorChooser.serialVersionUID): Likewise.
6047 * javax/swing/JComponent.java
6048 (serialVersionUID): Made private.
6049 (AccessibleJComponent.serialVersionUID): New member variable.
6050 * javax/swing/JDesktopPane.java
6051 (serialVersionUID): Likewise.
6052 * javax/swing/JDialog.java
6053 (serialVersionUID): Likewise.
6054 * javax/swing/JFormattedTextField.java
6055 (serialVersionUID): Fixed value.
6056 * javax/swing/JFrame.java
6057 (serialVersionUID): New member variable.
6058 (getDefaultCloseOpertation): Made public.
6059 * javax/swing/JLayeredPane.java
6060 (serialVersionUID): Likewise.
6061 (LAYER_PROPERTY): Made final, fixed value.
6062 (JLayeredPane): Made public.
6063 * javax/swing/JMenu.java
6064 (AccessibleJMenu.serialVersionUID): New member variable.
6065 (WinListener.serialVersionUID): Likewise.
6066 * javax/swing/JMenuBar.java
6067 (serialVersionUID): Likewise.
6068 (getComponentAtIndex): Added @deprecated tag.
6069 * javax/swing/JMenuItem.java
6070 (serialVersionUID): New member variable.
6071 (AccessibleJMenuItem.serialVersionUID): Likewise.
6072 * javax/swing/JOptionPane.java
6073 (serialVersionUID): Likewise.
6074 (AccessibleJOptionPane.serialVersionUID): Likewise.
6075 * javax/swing/JPopupMenu.java
6076 (serialVersionUID): Likewise.
6077 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6078 (getPopupMenuListeners): New method.
6079 (getComponentAtIndex): Added @deprecated tag.
6080 * javax/swing/JProgressBar.java
6081 (serialVersionUID): New member variable.
6082 (AccessibleJProgressBar.serialVersionUID): Likewise.
6083 * javax/swing/JRadioButton.java
6084 (serialVersionUID): Likewise.
6085 * javax/swing/JRadioButtonMenuItem.java
6086 (serialVersionUID): Likewise.
6087 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6088 * javax/swing/JScrollBar.java
6089 (serialVersionUID): Likewise.
6090 (AccessibleJScrollBar.serialVersionUID): Likewise.
6091 * javax/swing/JSeparator.java
6092 (serialVersionUID): Likewise.
6093 (AccessibleJSeparator.serialVersionUID): Likewise.
6094 * javax/swing/JSlider.java: Fixed javadocs.
6095 (AccessibleJSlider.serialVersionUID): New member variable.
6096 * javax/swing/JSplitPane.java: Added copyright statement.
6097 (serialVersionUID): New member variable.
6098 (AccessibleJSplitPane.serialVersionUID): Likewise.
6099 * javax/swing/JTabbedPane.java
6100 (serialVersionUID): Likewise.
6101 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6102 (ModelListener.serialVersionUID): Likewise.
6103 (ModelListener.ModelListener): New constructor.
6104 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6105 (WRAP_TAB_LAYOUT): Likewise.
6106 * javax/swing/JTable.java
6107 (serialVersionUID): New member variable.
6108 * javax/swing/JToggleButton.java
6109 (serialVersionUID): Likewise.
6110 (ToggleButtonModel): Made static.
6111 (ToggleButtonModel.serialVersionUID): New member variable.
6112 * javax/swing/JToolTip.java
6113 (serialVersionUID): Likewise.
6114 * javax/swing/JTree.java
6115 (serialVersionUID): Likewise.
6116 * javax/swing/JWindow.java
6117 (serialVersionUID): Likewise.
6118 * javax/swing/Timer.java
6119 (serialVersionUID): Likewise.
6121 2004-06-06 Michael Koch <konqueror@gmx.de>
6123 * javax/swing/SwingConstants.java
6124 (NEXT): New constant.
6125 (PREVIOUS): Likewise.
6126 * javax/swing/UIManager.java
6127 (LookAndFeel): Made public.
6128 (LookAndFeel.getClassName): Likewise.
6129 (LookAndFeel.getName): Likewise.
6131 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6133 * javax/swing/JCheckBoxMenuItem.java:
6135 * javax/swing/JMenu.java: Likewise.
6136 * javax/swing/JMenuBar.java: Likewise.
6137 * javax/swing/JMenuItem.java: Likewise.
6138 * javax/swing/JPopupMenu.java: Likewise.
6139 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6140 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6141 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6142 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6143 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6144 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6145 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6147 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6149 * javax/swing/plaf/basic/BasicMenuUI.java:
6150 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6151 Call getPath() from super class instead.
6153 2004-05-31 David Jee <djee@redhat.com>
6155 * java/awt/Container.java
6156 (remove): Set component visibility to false after removing it.
6158 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6160 * java/awt/Component.java (getForeground): Return SystemColor if
6162 (getBackground): Likewise.
6164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6165 (item_highlighted): New function.
6166 (connectSignals): Set item_highlighted as list's select
6169 * java/applet/Applet.java: Revert changes from 2004-04-29,
6170 2004-03-15 and 2004-03-14.
6172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6173 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6176 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6177 "Dialog" as the default font.
6178 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6180 * java/awt/Component.java (getFont): Return "Dialog" font by
6182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6183 Multiply size argument to pango_font_description_set_size by the
6184 DPI conversion factor rather than by PANGO_SCALE.
6185 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6186 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6190 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6195 Divide baseline y coordinate by DPI conversion factor rather
6196 than by PANGO_SCALE.
6197 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6198 (area_prepared): Fix typo.
6199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6200 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6202 (dpi_conversion_factor): New global variable.
6203 (init_dpi_conversion_factor): New function to calculate and
6204 track DPI conversion factor.
6205 (dpi_changed_cb): New callback.
6206 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6208 2004-05-27 David Jee <djee@redhat.com>
6210 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6211 (getGraphics): Return a new GdkGraphics instance.
6212 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6213 (getGraphics): Call super.getGraphics().
6215 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6218 (setNativeBounds): Clamp width and height values to >= 0.
6220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6221 (find_fg_color_widget): Handle GtkOptionMenu specially.
6223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6224 (pre_event_handler): Only post configure events to visible
6227 2004-05-26 David Jee <djee@redhat.com>
6229 * java/awt/BorderLayout.java
6230 (layoutContainer): Fix size calculations.
6232 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6235 (window_wm_protocols_filter): Remove function.
6236 (create): Remove filter that removes WM_TAKE_FOCUS client
6239 2004-06-17 Anthony Green <green@redhat.com>
6241 * java/util/zip/ZipFile.java (getInputStream): Return null if
6244 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6245 directory contents to the class path.
6247 2004-06-15 Andrew Haley <aph@redhat.com>
6249 * java/lang/natSystem.cc (getenv0): Don't assume environment
6250 variable is Latin 1 coded.
6252 2004-06-14 Andreas Jaeger <aj@suse.de>
6254 * configure.in: Support --enable-version-specific-runtime-libs.
6255 * configure: Regenerated.
6257 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6259 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6260 to pass ClassLoader argument.
6261 * java/util/GregorianCalendar.java: Likewise.
6262 * java/util/Currency.java: Likewise.
6263 * java/text/BreakIterator.java: Likewise.
6264 * java/text/Collator.java: Likewise.
6265 * java/text/DateFormat.java: Likewise.
6266 * java/text/DateFormatSymbols.java: Likewise.
6267 * java/text/DecimalFormatSymbols.java: Likewise.
6268 * java/text/NumberFormat.java: Likewise.
6269 * java/awt/Window.java: Likewise.
6271 2004-06-14 Andrew Haley <aph@redhat.com>
6273 * java/lang/System.java: (getenv0): New method.
6274 (getenv): Add security check. Do the right thing.
6275 * java/lang/natSystem.cc (getenv0): New method.
6277 2004-06-12 Mark Wielaard <mark@klomp.org>
6279 * javax/swing/RepaintManager.java
6280 (paintDirtyRegions): Use entrySet(), not values().
6282 2004-06-10 Mark Wielaard <mark@klomp.org>
6284 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6287 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6289 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6290 when we already know the answer.
6291 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6292 (setStartRule,setEndRule): Don't take abs of day number.
6293 (getOffset): Clarify docs. Add argument checks.
6294 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6295 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6298 2004-06-10 Tom Tromey <tromey@redhat.com>
6300 * interpret.cc (run): Handle wide fload.
6302 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6304 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6306 2004-06-05 Michael Koch <konqueror@gmx.de>
6308 * javax/swing/SwingConstants.java
6309 (NEXT): New constant.
6310 (PREVIOUS): Likewise.
6312 2004-06-05 Michael Koch <konqueror@gmx.de>
6314 * javax/swing/UIManager.java
6315 (LookAndFeel): Made public.
6316 (LookAndFeel.getName): Likewise.
6317 (LookAndFeel.getClassName): Likewise.
6319 2004-06-03 Michael Koch <konqueror@gmx.de>
6321 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6322 (requestFocus): Revert last changes.
6323 (gtkRequestFocus): Removed.
6324 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6325 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6327 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6328 Reverted last patch.
6329 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6330 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6331 Reverted comment change.
6333 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6335 * javax/swing/JCheckBoxMenuItem.java:
6337 * javax/swing/JMenu.java: Likewise.
6338 * javax/swing/JMenuBar.java: Likewise.
6339 * javax/swing/JMenuItem.java: Likewise.
6340 * javax/swing/JPopupMenu.java: Likewise.
6341 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6342 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6343 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6344 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6345 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6346 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6347 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6349 2004-06-01 Tom Tromey <tromey@redhat.com>
6351 * java/io/ObjectStreamField.java: Cleaned up imports.
6353 2004-06-01 Michael Koch <konqueror@gmx.de>
6355 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6357 2004-06-01 Mark Wielaard <mark@klomp.org>
6359 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6361 2004-06-01 Michael Koch <konqueror@gmx.de>
6363 * java/security/Security.java
6364 (insertProviderAt): Use equals() instead of ==.
6365 (removeProvicer): Likewise.
6366 (getProvider): Likewise.
6367 * java/security/Signature.java
6368 (sign): Don't set state to UNINITIALIZED.
6371 2004-06-01 Mark Wielaard <mark@klomp.org>
6373 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6374 Implement by calling gtkRequestFocus.
6375 (gtkRequestFocus): New native method.
6376 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6377 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6379 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6381 (filter_expose_event_handler):
6383 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6384 (menu_pos): Mark static.
6386 2004-06-01 Michael Koch <konqueror@gmx.de>
6388 * java/text/CollationElementIterator.java,
6389 java/text/CollationKey.java,
6390 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6391 * testsuite/libjava.mauve/xfails: Removed all
6392 java.text.CollationElementIterator tests.
6394 2004-06-01 Michael Koch <konqueror@gmx.de>
6396 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6398 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6399 Java 1.5 keyword usage.
6401 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6403 * javax/swing/plaf/basic/BasicMenuUI.java:
6404 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6405 Call getPath() from super class instead.
6407 2004-05-31 Michael Koch <konqueror@gmx.de>
6409 * java/io/SequenceInputStream.java:
6410 Rename enum to e because enum is a keyword in Java 1.5.
6412 2004-05-31 Michael Koch <konqueror@gmx.de>
6414 * gnu/java/rmi/rmic/CompilerProcess.java:
6415 Fixed javadoc to by XHTML compliant.
6417 2004-05-30 Mark Wielaard <mark@klomp.org>
6419 * java/awt/Toolkit.java (loadSystemColors): Implement.
6421 2004-05-30 Michael Koch <konqueror@gmx.de>
6423 * java/lang/System.java: Reordered imports.
6425 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6427 * java/text/DecimalFormat.java
6428 (parse): Fixed parsing of decimal strings. Number of maximum
6429 digits to be read should now work.
6430 * java/text/SimpleDateFormat.java
6431 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6432 formatter. This fixes DateFormatTest.
6434 2004-05-30 Michael Koch <konqueror@gmx.de>
6436 * java/nio/Buffer.java
6437 (limit): Fixed off by one error.
6438 * java/nio/CharBuffer.java
6439 (wrap): Fixed arguments, added javadocs.
6441 2004-05-30 Michael Koch <konqueror@gmx.de>
6443 * gnu/java/beans/BeanInfoEmbryo.java,
6444 java/awt/im/InputContext.java,
6445 javax/swing/tree/DefaultMutableTreeNode.java:
6446 Rename enum to e because enum is a keyword in Java 1.5.
6448 2004-05-30 Michael Koch <konqueror@gmx.de>
6450 * gnu/java/math/MPN.java,
6451 java/awt/geom/Arc2D.java:
6452 Fixed javadocs all over.
6454 2004-05-30 Michael Koch <konqueror@gmx.de>
6456 * java/awt/DefaultKeyboardFocusManager.java
6457 (dispatchEvent): Call method to get key event dispatchers.
6458 (dispatchKeyEvent): Call method to get key event post processors.
6459 * javax/swing/JComponent.java
6460 (listenerList): Made protected.
6461 * javax/swing/JOptionPane.java
6462 (message): Don't initialize.
6463 (JOptionPane): Set message text.
6464 * javax/swing/JPopupMenu.java
6465 (show): Fixed typo in argument name.
6466 * javax/swing/RepaintManager.java
6467 (paintDirtyRegions): Use public API of java.util.Map.
6468 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6469 (positionForMouseEvent): Removed redundant ';'.
6470 (continueDrag): Use method arguments.
6472 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6474 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6477 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6479 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6481 * gnu/gcj/RawDataManaged.java: New file.
6482 * java/lang/Thread.java (data): Declare as RawDataManaged.
6483 * java/lang/natThread.cc (init_native): Cast natThread data to
6484 RawDataManaged, not jobject.
6485 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6486 * Makefile.in: Rebuilt.
6488 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6490 * java/util/SimpleTimeZone.java: Reverting my last change until I
6491 can fix it properly.
6493 2004-05-27 Michael Koch <konqueror@gmx.de>
6495 * javax/swing/JPopupMenu.java
6496 (isVisible): Do not use visible directly.
6497 (setVisible): Likewise.
6498 * javax/swing/JWindow.java
6499 (JWindow): call accessible constructor.
6500 * javax/swing/RepaintManager.java
6501 (paintDirtyRegions): Use public methods to obtain iterator.
6503 2004-05-25 David Jee <djee@redhat.com>
6505 * java/awt/Container.java
6506 (remove): Set component's parent to null only after we removed the
6507 component from its parent's layout manager.
6509 2004-05-25 David Jee <djee@redhat.com>
6511 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6512 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6514 * gnu/java/awt/peer/gtk/GtkListPeer.java
6515 (getSize): Change native method declaration.
6516 (minimumSize): Pass visible row count into getSize().
6517 (preferredSize): Likewise.
6518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6519 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6520 natural size. Use visible row count to determine the final height
6523 2004-05-21 Graydon Hoare <graydon@redhat.com>
6525 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6526 (setClip): Minor correction to order of operations.
6528 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6529 * javax/swing/ScrollPaneLayout.java: Likewise.
6530 * javax/swing/JViewPort.java: Likewise.
6531 * javax/swing/ViewportLayout.java: Likewise.
6533 * javax/swing/JComponent.java: Rewrite.
6534 * javax/swing/RepaintManager.java: Likewise.
6536 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6537 * javax/swing/JList.java
6538 (setSelectedIndices):
6539 (getSelectedIndices):
6540 (getSelectedValues): New functions.
6541 (getPreferredScrollableViewportSize): Return preferred size.
6542 (getScrollableUnitIncrement):
6543 (getScrollableBlockIncrement): Initial implementations.
6544 * javax/swing/JRootPane.java: Clean up slightly.
6549 (isValidateRoot): Add overrides from JComponent.
6550 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6551 * javax/swing/UIManager.java (getDimension): Return the dimension.
6553 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6554 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6555 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6556 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6557 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6558 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6559 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6560 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6561 Likewise, and set background.
6562 * javax/swing/plaf/basic/BasicListUI.java:
6563 Likewise, and improve a bit.
6564 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6565 Likewise, and adjust calculations.
6566 * javax/swing/plaf/basic/BasicViewportUI.java:
6567 Likewise, and improve a bit.
6568 * javax/swing/plaf/basic/BasicLookAndFeel.java
6569 (Button.margin): Shrink.
6571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6572 Hack to set horizontal always, workaround pango.
6574 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6575 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6576 Synchronize more often, check cairo status after ops,
6577 handle changes to cairo pattern API, check for disposal.
6579 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6581 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6582 (BasicMenuItemUI): Create propertyChangeListener.
6583 (getPath):Implemented.
6584 (installListeners): Add propertyChangeListener to menuItem.
6585 (uninstallListeners): Remove propertyChangeListener from menuItem.
6586 (update): Implemented.
6587 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6588 (mouseEntered): Take insets of popup menu into account when
6589 calculating position of popup menu.
6591 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6593 * Makefile.am: Added new file.
6594 * Makefile.in: Regenerate.
6595 * javax/swing/JMenuBar.java:
6596 Started implementation.
6597 * javax/swing/JPopupMenu.java:
6598 (setVisible): Fixed location of lightweight/mediumweight
6600 (show): Fixed location of PopupMenu.
6601 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6602 New file. UI Delegate for JMenuBar.
6603 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6604 (mouseEntered): Corrected position of the submenu.
6606 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6609 to _gtk_accel_group_attach.
6610 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6613 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6614 package access. Don't override setFont.
6615 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6616 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6617 gtkWidgetRequestFocus package access.
6618 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6620 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6621 Give gtkWidgetRequestFocus package access.
6622 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6623 gtkWidgetRequestFocus package access. Don't override setFont.
6624 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6627 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6629 (gtkSetFont): Likewise.
6630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6633 (gtkSetFont): Whitespace fix.
6635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6636 (gtkWidgetSetUsize): Remove method.
6638 2004-05-18 David Jee <djee@redhat.com>
6640 * java/awt/image/MemoryImageSource.java
6641 (newPixels(int,int,int,int,boolean)): Set only the specified
6642 rectangle of pixels.
6643 (newPixels(byte[],ColorModel,int,int)): Implement.
6644 (newPixels(int[],ColorModel,int,int)): Implement.
6646 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6648 * Makefile.am: Added new file.
6649 * Makefile.in: Regenerate.
6650 * javax/swing/JMenu.java: Started
6652 * javax/swing/JPopupMenu.java:
6653 (insert): If specified index is -1, then
6654 add component at the end.
6655 (isPopupTrigger): Reimplemented.
6656 (JPopupMenu.LightWeightPopup): setBounds
6657 of the lightWeightPopup before adding it
6659 (javax/swing/plaf/basic/BasicIconFactory.java):
6660 (getMenuArrowIcon): Implemented.
6661 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6662 (getPreferredSize): Add size of the arrow icon
6663 if this menu item is instance of JMenu.
6664 (paintMenuItem): Paint arrow icon if this
6665 menu item is a submenu.
6666 * javax/swing/plaf/basic/BasicMenuUI.java:
6667 New File. UI Delegate for JMenu.
6669 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6671 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6672 Post KEY_TYPED events.
6673 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6674 (generates_key_typed_event): Remove function.
6676 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6678 * javax/swing/JRootPane.java
6679 (JRootPane.RootLayout): Reimplemented to
6680 set bounds of contentPane and menuBar.
6681 (setJMenuBar): Add menu bar to the layered pane.
6682 (createLayeredPane): Set layout of layeredPane
6684 * javax/swing/JLayeredPane.java:
6685 (addImpl): Calculate index of the component in the
6686 layeredPane according to the specified position within
6689 2004-05-17 David Jee <djee@redhat.com>
6691 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6692 (setPixels): Change color model to the default model after
6694 * java/awt/image/MemoryImageSource.java
6695 (newPixels): Set only the specified rectangle of pixels.
6697 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6699 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6700 -l-java-beans -l-javax-accessibility -l-javax-swing.
6702 * java/awt/AWTEvent.java (toString): Print source's name rather
6703 than the source itself.
6705 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6707 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6710 (gdk_color_to_java_color): New function.
6711 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6713 2004-05-12 David Jee <djee@redhat.com>
6715 * java/awt/image/RGBImageFilter.java:
6716 Initialize origmodel as null.
6717 (makeColor): Fix pixel component order.
6718 (filterRGBPixels): Fix pixel iteration.
6719 (setPixels): Add extra checks for index color model. Convert pixels
6720 to default color model if necessary.
6721 (convertColorModelToDefault): New override method for byte pixels.
6722 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6723 (makeColorbyDefaultCM): New override method for byte pixels.
6724 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6725 (makeColor): Fix pixel component order.
6727 2004-05-11 Kim Ho <kho@redhat.com>
6729 * javax/swing/Box.java:
6730 Comment out more parts of Box.Filler.
6732 2004-05-11 Kim Ho <kho@redhat.com>
6734 * javax/swing/Box.java:
6735 Remove reference to AccessibleAWTComponent so
6738 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6740 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6741 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6742 implementation of list peer to use GtkTreeView instead of
6743 deprecated GtkCList.
6745 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6748 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6749 (handleEvent): Remove keyChar argument to
6750 gtkWidgetDispatchKeyEvent calls.
6751 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6755 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6758 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6760 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6761 (gtkWidgetRequestFocus): Mark protected.
6762 (GtkComponentPeer): Only set the peer's bounds if its component
6764 * java/awt/Component.java (static): Set the default keyboard
6766 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6767 requestFocusInWindow(temporary)): Don't request focus if the
6768 component is not showing. Get tree lock before traversing
6769 component hierarchy.
6770 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6771 Only set the global focus owner if it is not a Window.
6772 (processKeyEvent): Consume keystrokes associated with the focus
6773 traversal keystroke.
6774 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6775 downFocusCycle): Call requestFocusInWindow instead of
6777 * java/awt/EventDispatchThread.java (run): Move setting of
6778 default keyboard focus manager to Component.java.
6779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6780 (awt_keycode_to_keysym): New function.
6781 (gtkWidgetDispatchKeyEvent): Finish implementation.
6782 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6783 (pre_event_handler): Add FIXME comment.
6785 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6786 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6787 (gtkWidgetRequestFocus): New method.
6788 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6789 disable Tab and Shift-Tab keystrokes.
6790 (addNotify, appendText, insertText, replaceText): Simplify peer
6792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6793 (connectSignals): Remove connections to "commit" signals.
6794 Remove C++-style comments.
6796 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6797 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6798 (handleEvent): Activate GTK button when the space bar key is
6800 (gtkActivate): New method.
6802 2004-05-06 David Jee <djee@redhat.com>
6804 * java/awt/image/CropImageFilter.java
6805 (setPixels): Implement for byte array pixels.
6806 * java/awt/image/ReplicateScaleFilter.java
6807 (setPixels): Implement for byte array pixels.
6808 (replicatePixels): Overload for byte array pixels.
6810 2004-05-06 Kim Ho <kho@redhat.com>
6812 * javax/swing/Box.java:
6813 (getAccessibleContext): Return an instance of the
6816 2004-05-05 David Jee <djee@redhat.com>
6818 * gnu/java/awt/peer/gtk/GdkGraphics.java
6819 (drawImage): When component is null, use SystemColor.window as
6820 the default bgcolor.
6821 * gnu/java/awt/peer/gtk/GtkImage.java
6822 (setPixels): We can avoid iterating through the pixel rows only
6824 * java/awt/Image.java
6825 (getScaledInstance): Partially implement.
6826 * java/awt/image/CropImageFilter.java
6827 (setProperties): Fix "filter" property.
6828 (setPixels): Implement.
6829 * java/awt/image/ReplicateScaleFilter.java
6830 (setDimensions): Use scaled dimensions.
6831 (setPixels): Implement.
6832 (replicatePixels): New method.
6834 2004-05-05 David Jee <djee@redhat.com>
6836 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6837 (convertPixels): If either pixels or model is null, return null.
6838 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6839 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6840 is null, do nothing and return.
6842 2004-05-03 Kim Ho <kho@redhat.com>
6844 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6845 (getGraphics): Like GtkFramePeer, the Graphics
6846 object needs to be translate to account for
6848 (postMouseEvent): New method. Account for
6850 (postExposeEvent): ditto.
6851 * javax/swing/Box.java: Stubbed.
6852 * javax/swing/JDialog.java: Ran through jalopy
6854 (JDialog): Call SwingUtilities' getOwnerFrame
6856 (setLayout): Check isRootPaneCheckingEnabled
6857 * javax/swing/JOptionPane.java: Re-implemented.
6858 * javax/swing/SwingUtilities.java:
6859 (getOwnerFrame): Static method to grab a default
6860 owner frame for Dialogs that don't specify owners.
6861 * javax/swing/event/SwingPropertyChangeSupport.java:
6862 (firePropertyChange): Fix early exit condition.
6863 * javax/swing/plaf/basic/BasicLabelUI.java:
6864 (paint): Avoid painting text if it is null
6866 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6869 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6871 * Makefile.am: Added new file.
6872 * Makefile.in: Regenerate.
6873 * javax/swing/JPopupMenu.java:
6874 Started implementation.
6875 * javax/swing/JWindow.java
6876 (JWindow): call super() if parent for window
6878 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6879 New File. UI Delegate for JPopupMenu.
6881 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6883 * javax/swing/JApplet.java: Indicated that JApplet
6884 implements RootPaneContainer and made method of this
6886 * javax/swing/JFrame.java: Ditto.
6887 * javax/swing/JWindow.java: Ditto.
6889 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6891 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6892 (nativeSetBounds): Call gdk_window_move in addition to
6895 * java/applet/Applet.java (preferredSize): Call parent's
6896 preferredSize if the applet stub is null.
6897 (minimumSize): Likewise for parent's minimumSize.
6899 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6901 * javax/swing/JMenuItem.java
6902 (createActionPropertyChangeListener): Implemented.
6903 (processMouseEvent): Ditto.
6904 (fireMenuDragMouseEntered): Ditto.
6905 (fireMenuDragMouseExited): Ditto.
6906 (fireMenuDragMouseDragged): Ditto.
6907 (fireMenuDragMouseReleased): Ditto.
6908 (menuSelectionChanged): Ditto.
6909 (getSubElements): Ditto.
6910 (getComponent): Ditto.
6911 (addMenuDragMouseListener): Ditto.
6912 (removeMenuDragMouseListener):Ditto.
6913 (addMenuKeyListener): Ditto.
6914 (removeMenuKeyListener): Ditto.
6915 * javax/swing/plaf/basic/BasicMenuItemUI.java
6916 (doClick): Imlemented.
6917 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6918 Don't handle mouse events here. Pass them to
6919 MenuSelectionManager.
6921 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6922 Used correct version of jalopy configuration
6923 file to fix style in the files below.
6925 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6927 * javax/swing/JCheckBoxMenuItem.java:
6928 Fixed style and removed unnecessary comments.
6929 * javax/swing/JMenuItem.java: Ditto.
6930 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6931 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6932 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6933 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6935 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6937 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6940 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6942 * java/awt/ContainerOrderFocusTraversalPolicy.java
6943 (getComponentAfter): Start from current component and work up
6944 the component hierarchy until an acceptable component is found.
6945 Synchronize on tree lock.
6946 (getComponentBefore): Likewise.
6948 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6950 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6951 focus-related debugging messages.
6952 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6953 * java/awt/EventDispatchThread.java: Likewise.
6954 * java/awt/KeyboardFocusManager.java: Likewise.
6955 * java/awt/Window.java: Likewise.
6956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6957 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6959 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6960 new C++-style comments to C-style comments.
6961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6963 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6964 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6965 (handleEvent): Dispatch key press and key release events to
6967 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6968 (gtkWidgetRequestFocus): New method.
6969 (gtkWidgetDispatchKeyEvent): Likewise.
6970 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6971 requestFocusInWindow, requestFocusInWindow(boolean),
6972 getFocusCycleRootAncestor, nextFocus, transferFocus,
6973 transferFocusBackward, transferFocusUpCycle, hasFocus,
6974 isFocusOwner): Implement and document focus-handling methods.
6975 (setFocusTraversalKeys): Inherit focus traversal keys when
6976 keystrokes argument is null. Fix focus-handling documentation
6978 * java/awt/Container.java (setFocusTraversalKeys,
6979 getFocusTraversalKeys, areFocusTraversalKeysSet,
6980 isFocusCycleRoot, setFocusTraversalPolicy,
6981 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6982 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6983 Implement and document focus-handling methods.
6984 (transferFocusBackward): Remove method.
6985 (readObject, writeObject): Implement and document serialization
6987 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6989 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6991 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6993 * java/awt/EventDispatchThread.java (run): Set default keyboard
6994 focus manager. Attempt to dispatch each event to the keyboard
6995 focus manager before normal dispatch.
6996 * java/awt/KeyboardFocusManager.java: Implement and partially
6998 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6999 (show): Focus initial component when window is shown for the
7001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7002 (pre_event_handler): Replace complex key press and key release
7003 logic with simple callbacks into GtkComponentPeer.
7004 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7006 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7008 * javax/swing/MenuSelectionManager.java
7009 (componentForPoint): Added new method.
7010 (defaultManager): New Method. Implemented.
7011 (getSelectedPath): Ditto.
7012 (isComponentPartOfCurrentMenu): Ditto.
7013 (processKeyEvent): Added new method.
7014 (processMouseEvent): New Method. Implemented.
7015 (setSelectedPath): Ditto.
7018 2004-04-19 Kim Ho <kho@redhat.com>
7020 * java/awt/Container.java:
7021 (remove): Set the component's parent to null.
7022 (getComponentAt): Implement.
7023 * javax/swing/JComponent.java:
7024 (JComponent): Initialize defaultLocale
7025 (getDefaultLocale): Implement.
7026 (setDefaultLocale): ditto.
7027 * javax/swing/JSlider.java:
7028 (JSlider): Fix calculation of value.
7029 * javax/swing/JSplitPane.java: Implement.
7030 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7031 Change SplitPane's default divider size.
7032 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7033 (paint): Remove unused code.
7034 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7035 Added comments and ran through jalopy.
7036 (setBasicSplitPaneUI): Get reference to hidden divider
7037 and set up one touch buttons if necessary.
7038 (setBorder): Fire propertyChangeEvent only if
7039 borders are different.
7040 (getPreferredSize): Defer to layout manager.
7041 (propertyChange): Implement.
7042 (oneTouchExpandableChanged): ditto.
7043 (createLeftOneTouchButton): Use BasicArrowButton.
7044 (createRightOneTouchButton): ditto.
7045 (moveDividerTo): New method. Moves the divider
7046 to a set location based on the last divider location.
7047 (BasicSplitPaneDivider::MouseHandler): Implement.
7048 (BasicSplitPaneDivider::OneTouchButton): Removed.
7049 (BasicSplitPaneDivider::DragController): Implement.
7050 (BasicSplitPaneDivider::VerticalDragController):
7052 (BasicSplitPaneDivider::DividerLayout): ditto.
7053 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7054 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7055 (calculateLayoutInfo): Don't show component if it's
7057 (paintTab): Fix title paint logic.
7059 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7062 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7063 (setStartRule,setEndRule): Don't take abs of day number.
7064 (getOffset): Clarify docs. Add argument checks.
7065 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7066 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7068 * testsuite/libjava.mauve/xfails
7069 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7071 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7073 Layout interfaces during preparation, not initialization.
7074 * java/lang/natClass.cc (initializeClass): Move
7075 _Jv_LayoutInterfaceMethods call...
7076 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7078 2004-05-19 Anthony Green <green@localhost.localdomain>
7080 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7082 * Makefile.in: Rebuilt.
7083 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7084 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7085 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7086 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7087 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7088 gnu/javax/rmi/CORBA/DelegateFactory.java,
7089 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7090 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7091 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7092 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7093 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7094 gnu/javax/rmi/PortableServer.java: Remove files.
7096 2004-05-19 Anthony Green <green@redhat.com>
7098 * Makefile.am: Define JAVA_EXT_DIRS.
7099 * Makefile.in: Rebuilt.
7100 * java/lang/natRuntime.cc (insertSystemProperties): Set
7101 java.ext.dirs property.
7103 2004-05-16 Mark Wielaard <mark@klomp.org>
7105 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7107 2004-05-15 Mark Wielaard <mark@klomp.org>
7109 * doc/cni.sgml: Removed, merged into gcj.texi.
7111 2004-05-15 Mark Wielaard <mark@klomp.org>
7113 * Makefile.am (ordinary_java_source_files): Add new javax.print
7115 * Makefile.in: Regenerated.
7117 2004-05-15 Michael Koch <konqueror@gmx.de>
7119 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7120 javax/print/attribute/standard/DateTimeAtCreation.java,
7121 javax/print/attribute/standard/DateTimeAtProcessing.java,
7122 javax/print/attribute/standard/DocumentName.java,
7123 javax/print/attribute/standard/JobHoldUntil.java,
7124 javax/print/attribute/standard/JobImpressionsCompleted.java,
7125 javax/print/attribute/standard/JobMessageFromOperator.java,
7126 javax/print/attribute/standard/JobName.java,
7127 javax/print/attribute/standard/JobOriginatingUserName.java,
7128 javax/print/attribute/standard/JobPriority.java,
7129 javax/print/attribute/standard/JobPrioritySupported.java,
7130 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7131 javax/print/attribute/standard/OutputDeviceAssigned.java,
7132 javax/print/attribute/standard/PrinterInfo.java,
7133 javax/print/attribute/standard/PrinterLocation.java,
7134 javax/print/attribute/standard/PrinterMakeAndModel.java,
7135 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7136 javax/print/attribute/standard/PrinterName.java,
7137 javax/print/attribute/standard/QueuedJobCount.java,
7138 javax/print/attribute/standard/RequestingUserName.java:
7139 Fixed javadocs all over.
7141 2004-05-15 Michael Koch <konqueror@gmx.de>
7143 * javax/print/DocFlavor.java,
7144 javax/print/attribute/standard/ColorSupported.java,
7145 javax/print/attribute/standard/Compression.java,
7146 javax/print/attribute/standard/CopiesSupported.java,
7147 javax/print/attribute/standard/Fidelity.java,
7148 javax/print/attribute/standard/Finishings.java,
7149 javax/print/attribute/standard/JobImpressionsSupported.java,
7150 javax/print/attribute/standard/JobKOctetsSupported.java,
7151 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7152 javax/print/attribute/standard/JobSheets.java,
7153 javax/print/attribute/standard/JobState.java,
7154 javax/print/attribute/standard/JobStateReason.java,
7155 javax/print/attribute/standard/JobStateReasons.java,
7156 javax/print/attribute/standard/Media.java,
7157 javax/print/attribute/standard/MediaSizeName.java,
7158 javax/print/attribute/standard/MultipleDocumentHandling.java,
7159 javax/print/attribute/standard/NumberUpSupported.java,
7160 javax/print/attribute/standard/OrientationRequested.java,
7161 javax/print/attribute/standard/PDLOverrideSupported.java,
7162 javax/print/attribute/standard/PageRanges.java,
7163 javax/print/attribute/standard/PresentationDirection.java,
7164 javax/print/attribute/standard/PrintQuality.java,
7165 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7166 javax/print/attribute/standard/PrinterMoreInfo.java,
7167 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7168 javax/print/attribute/standard/PrinterResolution.java,
7169 javax/print/attribute/standard/PrinterState.java,
7170 javax/print/attribute/standard/PrinterStateReason.java,
7171 javax/print/attribute/standard/PrinterStateReasons.java,
7172 javax/print/attribute/standard/PrinterURI.java,
7173 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7174 javax/print/attribute/standard/Severity.java,
7175 javax/print/attribute/standard/SheetCollate.java,
7176 javax/print/attribute/standard/Sides.java:
7177 Added serialVersionUID and removed final keyword where it doenst
7180 2004-05-15 Michael Koch <konqueror@gmx.de>
7182 * javax/print/PrintServiceLookup.java: New file.
7184 2004-05-15 Michael Koch <konqueror@gmx.de>
7186 * javax/print/DocFlavor.java:
7187 Implemented all flavor classes.
7189 2004-05-15 Michael Koch <konqueror@gmx.de>
7191 * javax/print/attribute/standard/ColorSupported.java,
7192 javax/print/attribute/standard/Compression.java,
7193 javax/print/attribute/standard/CopiesSupported.java,
7194 javax/print/attribute/standard/Fidelity.java,
7195 javax/print/attribute/standard/Finishings.java,
7196 javax/print/attribute/standard/JobImpressionsSupported.java,
7197 javax/print/attribute/standard/JobKOctetsSupported.java,
7198 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7199 javax/print/attribute/standard/JobSheets.java,
7200 javax/print/attribute/standard/JobState.java,
7201 javax/print/attribute/standard/JobStateReason.java,
7202 javax/print/attribute/standard/JobStateReasons.java,
7203 javax/print/attribute/standard/Media.java,
7204 javax/print/attribute/standard/MediaSizeName.java,
7205 javax/print/attribute/standard/MultipleDocumentHandling.java,
7206 javax/print/attribute/standard/NumberUpSupported.java,
7207 javax/print/attribute/standard/OrientationRequested.java,
7208 javax/print/attribute/standard/PDLOverrideSupported.java,
7209 javax/print/attribute/standard/PageRanges.java,
7210 javax/print/attribute/standard/PresentationDirection.java,
7211 javax/print/attribute/standard/PrintQuality.java,
7212 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7213 javax/print/attribute/standard/PrinterMoreInfo.java,
7214 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7215 javax/print/attribute/standard/PrinterResolution.java,
7216 javax/print/attribute/standard/PrinterState.java,
7217 javax/print/attribute/standard/PrinterStateReason.java,
7218 javax/print/attribute/standard/PrinterStateReasons.java,
7219 javax/print/attribute/standard/PrinterURI.java,
7220 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7221 javax/print/attribute/standard/Severity.java,
7222 javax/print/attribute/standard/SheetCollate.java,
7223 javax/print/attribute/standard/Sides.java: New files.
7225 2004-05-15 Michael Koch <konqueror@gmx.de>
7227 * javax/print/Doc.java
7228 (getPrintData): Throws IOException.
7229 (getReaderForText): Likewise.
7230 (getStreamForBytes): Likewise.
7231 * javax/print/DocFlavor.java:
7232 Fixed filename in copyright.
7233 (serialVersionUID): New field.
7234 * javax/print/ServiceUIFactory.java:
7235 Made all constants final.
7236 * javax/print/AttributeException.java
7237 javax/print/MultiDoc.java
7238 javax/print/MultiDocPrintJob.java
7239 javax/print/MultiDocPrintService.java
7240 javax/print/StreamPrintService.java
7241 javax/print/URIException.java: New files.
7242 * javax/print/Makefile.am
7243 (EXTRA_DIST): Added all new files.
7245 2004-05-15 Michael Koch <konqueror@gmx.de>
7247 * javax/print/attribute/standard/Copies.java,
7248 javax/print/attribute/standard/DateTimeAtCompleted.java,
7249 javax/print/attribute/standard/DateTimeAtCreation.java,
7250 javax/print/attribute/standard/DateTimeAtProcessing.java,
7251 javax/print/attribute/standard/DocumentName.java,
7252 javax/print/attribute/standard/JobHoldUntil.java,
7253 javax/print/attribute/standard/JobImpressions.java,
7254 javax/print/attribute/standard/JobImpressionsCompleted.java,
7255 javax/print/attribute/standard/JobKOctets.java,
7256 javax/print/attribute/standard/JobKOctetsProcessed.java,
7257 javax/print/attribute/standard/JobMediaSheets.java,
7258 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7259 javax/print/attribute/standard/JobMessageFromOperator.java,
7260 javax/print/attribute/standard/JobName.java,
7261 javax/print/attribute/standard/JobOriginatingUserName.java,
7262 javax/print/attribute/standard/JobPriority.java,
7263 javax/print/attribute/standard/JobPrioritySupported.java,
7264 javax/print/attribute/standard/NumberOfDocuments.java,
7265 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7266 javax/print/attribute/standard/NumberUp.java,
7267 javax/print/attribute/standard/OutputDeviceAssigned.java,
7268 javax/print/attribute/standard/PagesPerMinute.java,
7269 javax/print/attribute/standard/PagesPerMinuteColor.java:
7270 Fixed @return tag all over.
7272 2004-05-15 Michael Koch <konqueror@gmx.de>
7274 * javax/print/attribute/AttributeSetUtilities.java
7275 (verifyCategoryForValue): Fixed typo in javadoc.
7276 * javax/print/attribute/HashAttributeSet.java
7277 (containsKey): Fixed @return tag.
7278 (comtainsValue): Likewise.
7280 * javax/print/attribute/IntegerSyntax.java
7282 * javax/print/attribute/ResolutionSyntax.java
7284 (getCrossFeedResolution): Removed unused code.
7285 (getFeedResolution): Likewise.
7286 * javax/print/attribute/SetOfIntegerSyntax.java
7287 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7288 (equals): Fixed @return tag.
7289 * javax/print/attribute/TextSyntax.java
7290 (TextSyntax): Take locale into account.
7291 (hashCode): Better implementation.
7293 2004-05-15 Michael Koch <konqueror@gmx.de>
7295 * javax/print/CancelablePrintJob.java,
7296 javax/print/Doc.java,
7297 javax/print/DocFlavor.java,
7298 javax/print/DocPrintJob.java,
7299 javax/print/FlavorException.java,
7300 javax/print/PrintException.java,
7301 javax/print/PrintService.java,
7302 javax/print/ServiceUIFactory.java: New files.
7304 2004-05-15 Mark Wielaard <mark@klomp.org>
7306 * gnu/regexp/CharIndexedReader.java: Removed.
7307 * gnu/regexp/REFilterReader.java: Likewise.
7308 * gnu/regexp/RETokenLookAhead.java: Likewise.
7309 * Makefile.am (ordinary_java_source_files): Remove above classes.
7310 * Makefile.in: Regenerated.
7312 2004-05-14 Tom Tromey <tromey@redhat.com>
7314 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7315 not `XGraphicsConfiguration.XOffScreenImage'.
7317 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7319 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7321 2004-05-14 Steven Augart <augart@watson.ibm.com>
7323 * include/jni.h (_Jv_func): Removed.
7324 (struct JNINativeInterface): Use `void *' for reserved slots.
7325 (struct JNIInvokeInterface): Likewise.
7327 2004-05-11 Michael Koch <konqueror@gmx.de>
7329 * gnu/java/net/natPlainSocketImplPosix.cc
7330 (read): Fixed typo in expression.
7332 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7334 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7335 ld_library_additions. Adjust all calls to libjava_invoke to match
7338 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7339 path to cxxflagslist.
7340 Pass path of libstdc++ to libjava_invoke.
7342 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7343 libjava_invoke arguments.
7345 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7347 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7350 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7352 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7353 main binary against the JNI shared library.
7355 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7357 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7358 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7359 (SimpleTimeZone): Tweak docs. Add new variation.
7360 (setStartRule,setEndRule): Add new variations. Use
7361 startTimeMode and endTimeMode.
7363 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7365 * java/util/Calendar.java (getActualMinimum,
7366 getActualMaximum): Remove abstract. Implement.
7368 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7370 Run the jni tests using the interpreter.
7371 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7372 options_cxx to shared lib compile command.
7373 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7374 they are used to link the shared lib, not the main binary.
7375 Use libjava_invoke to run gij.
7377 2004-05-06 Michael Koch <konqueror@gmx.de>
7379 * java/util/logging/Level.java
7380 (parse): Use == instead of String.equals().
7382 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7384 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7385 verify_field_signature and verify_method_signature, not
7386 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7387 (_Jv_ClassReader::handleField): Likewise.
7388 (_Jv_ClassReader::handleMethod): Likewise.
7390 2004-05-06 Michael Koch <konqueror@gmx.de>
7392 * javax/swing/table/TableColumn.java:
7395 2004-05-06 Michael Koch <konqueror@gmx.de>
7397 * javax/imageio/spi/ImageReaderWriterSpi.java
7398 (ImageReaderWriterSpi): Made it public.
7399 * javax/imageio/stream/ImageInputStream.java:
7402 2004-05-06 Michael Koch <konqueror@gmx.de>
7404 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7407 2004-05-06 Michael Koch <konqueror@gmx.de>
7409 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7410 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7412 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7413 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7414 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7415 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7416 their own source file.
7417 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7418 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7419 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7420 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7421 (create): Define variable on top of function.
7422 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7423 (menu_pos): Prototyped.
7424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7425 (setTitle): Removed.
7426 * jni/gtk-peer/gthread-jni.c
7427 (gdk_threads_wake): Removed.
7428 * Makefile.am (gtk_c_source_files): Added new files
7429 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7430 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7431 * Makefile.in: Regenerated.
7433 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7435 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7438 2004-05-05 Mark Wielaard <mark@klomp.org>
7440 * javax/swing/AbstractButton.java: Replace special HTML entities with
7442 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7443 * javax/swing/DefaultButtonModel.java: Likewise.
7444 * javax/swing/DefaultListModel.java: Likewise.
7445 * javax/swing/JList.java: Likewise.
7446 * javax/swing/JSlider.java: Likewise.
7447 * javax/swing/ListModel.java: Likewise.
7448 * javax/swing/Popup.java: Likewise.
7449 * javax/swing/SwingUtilities.java: Likewise.
7451 2004-05-05 Michael Koch <konqueror@gmx.de>
7453 * javax/swing/AbstractButton.java,
7454 javax/swing/ActionMap.java,
7455 javax/swing/DefaultButtonModel.java,
7456 javax/swing/DefaultListModel.java,
7457 javax/swing/ImageIcon.java,
7458 javax/swing/JComboBox.java,
7459 javax/swing/JComponent.java,
7460 javax/swing/JFrame.java,
7461 javax/swing/JInternalFrame.java,
7462 javax/swing/JMenuBar.java,
7463 javax/swing/JMenuItem.java,
7464 javax/swing/JOptionPane.java,
7465 javax/swing/JProgressBar.java,
7466 javax/swing/JRootPane.java,
7467 javax/swing/JScrollBar.java,
7468 javax/swing/JScrollPane.java,
7469 javax/swing/JSeparator.java,
7470 javax/swing/JSlider.java,
7471 javax/swing/JTabbedPane.java,
7472 javax/swing/JTable.java,
7473 javax/swing/JTextField.java,
7474 javax/swing/JToolBar.java,
7475 javax/swing/JToolTip.java,
7476 javax/swing/JTree.java,
7477 javax/swing/JViewport.java,
7478 javax/swing/JWindow.java,
7479 javax/swing/KeyStroke.java,
7480 javax/swing/LookAndFeel.java,
7481 javax/swing/SwingUtilities.java,
7482 javax/swing/Timer.java,
7483 javax/swing/ToolTipManager.java,
7484 javax/swing/UIDefaults.java,
7485 javax/swing/border/TitledBorder.java,
7486 javax/swing/filechooser/FileSystemView.java,
7487 javax/swing/plaf/basic/BasicButtonListener.java,
7488 javax/swing/plaf/basic/BasicButtonUI.java,
7489 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7490 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7491 javax/swing/plaf/basic/BasicLabelUI.java,
7492 javax/swing/plaf/basic/BasicMenuItemUI.java,
7493 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7494 javax/swing/plaf/basic/BasicRootPaneUI.java,
7495 javax/swing/plaf/basic/BasicScrollBarUI.java,
7496 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7497 javax/swing/plaf/basic/BasicSliderUI.java,
7498 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7499 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7500 javax/swing/table/JTableHeader.java,
7501 javax/swing/text/AbstractDocument.java,
7502 javax/swing/text/DefaultCaret.java,
7503 javax/swing/text/StyledEditorKit.java,
7504 javax/swing/tree/DefaultTreeCellEditor.java:
7507 2004-05-05 Michael Koch <konqueror@gmx.de>
7509 * java/util/prefs/AbstractPreferences.java
7510 (AbstractPreferences): Added parenthesis for clarity.
7511 Closes classpath bug #7940.
7513 2004-05-05 Tom Tromey <tromey@redhat.com>
7515 * javax/naming/CompoundName.java (endsWith): Look at correct
7516 element of source name.
7518 2004-05-05 Mark Wielaard <mark@klomp.org>
7520 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7521 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7523 2004-05-05 Tom Tromey <tromey@redhat.com>
7525 * java/io/BufferedReader.java (skip): Removed unused
7528 2004-05-05 Michael Koch <konqueror@gmx.de>
7530 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7532 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7534 * java/text/AttributedString.java,
7535 java/text/AttributedStringIterator.java,
7536 java/text/Collator.java,
7537 java/text/DecimalFormatSymbols.java,
7538 java/text/NumberFormat.java,
7539 java/text/RuleBasedCollator.java:
7542 2004-05-05 Tom Tromey <tromey@redhat.com>
7544 * java/text/Format.java: Cleaned up imports.
7545 * java/text/DecimalFormat.java: Cleaned up imports.
7546 * java/security/SecureRandom.java: Cleaned up imports.
7547 (SecureRandom): Removed unused variable.
7548 * java/security/UnresolvedPermission.java: Cleaned up imports.
7549 * java/util/Date.java (parse): Removed unused variable.
7550 * java/util/ResourceBundle.java: Cleaned up imports.
7551 (getBundle): Removed unused variable.
7552 (tryBundle): Likewise.
7553 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7555 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7557 * java/text/SimpleDateFormat.java:
7558 (formatWithAttribute): New method. It implements
7559 the formatting process with attributes.
7560 (format): Use formatWithAttribute.
7561 (formatToCharacterIterator): New method. Use
7562 formatWithAttribute.
7564 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7566 * java/text/MessageFormat.java:
7567 (class Field): New class.
7568 (formatToCharacterIterator): New method.
7569 (format): Use formatInternal now.
7570 (formatInternal): New method. String formatter should
7571 be done here (with attributes). Attributes merging supported.
7572 (parse): More documentation.
7573 (getFormatsByArgumentIndex): New method.
7574 (setFormatByArgumentIndex): New method.
7575 (setFormatsByArgumentIndex): New method.
7577 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7579 * java/text/DecimalFormat.java
7580 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7581 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7582 (parse): Fixed handling of exponentiation notation and grouping.
7584 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7586 * java/text/DecimalFormat.java
7587 (scanFix): Build attribute array. Fixed error reporting.
7588 (applyPatternWithSymbols): Store attributes for the prefix and
7590 (formatInternal): New method. Changed the way the string is
7591 computed. Implemented attributes. Cleant up rounding in
7592 exponential notation.
7593 (format): Use formatInternal.
7594 (formatToCharacterIterator): New method.
7595 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7596 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7597 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7600 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7602 * java/security/interfaces/DSAKeyPairGenerator.java,
7603 java/security/interfaces/DSAPrivateKey.java,
7604 java/security/interfaces/DSAPublicKey.java,
7605 java/security/interfaces/RSAPrivateKey.java,
7606 java/security/interfaces/RSAPublicKey.java:
7609 2004-05-04 Michael Koch <konqueror@gmx.de>
7611 * java/nio/ByteBuffer.java,
7612 java/nio/CharBuffer.java,
7613 java/nio/DoubleBuffer.java,
7614 java/nio/FloatBuffer.java,
7615 java/nio/IntBuffer.java,
7616 java/nio/LongBuffer.java,
7617 java/nio/ShortBuffer.java:
7618 (compareTo): Fixed bogus implementation in all buffer classes.
7620 2004-05-04 Ingo Proetel <proetel@aicas.com>
7622 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7623 32 bit pixels not 8 bit pixels.
7624 (isCompatibleRaster): Added javadoc comment.
7626 2004-05-04 Ingo Proetel <proetel@aicas.com>
7628 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7631 2004-05-04 Ingo Proetel <proetel@aicas.com>
7633 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7634 (getColorModel): Return the actual color model.
7635 (getRaster): Implemented.
7636 (ColorRaster): New inner class.
7637 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7639 * java/awt/Color.java (<init>): Make exception more verbose.
7640 (createContext): Use ColorModel when creating a PaintContext.
7642 2004-05-04 Michael Koch <konqueror@gmx.de>
7644 * gnu/java/text/CharacterBreakIterator.java
7645 (previous): Removed unused variable.
7647 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7649 * gnu/java/text/FormatBuffer.java,
7650 gnu/java/text/AttributedFormatBuffer.java,
7651 gnu/java/text/StringFormatBuffer.java: New classes to implement
7652 attributed iterators in java.text.
7653 * gnu/java/text/FormatCharacterIterator.java: Moved
7654 from java/text as it is an internal class.
7655 * java/text/FormatCharacterIterator.java: Removed.
7656 * java/text/Format.java:
7657 Import gnu.java.text.FormatCharacterIterator.
7658 * Makefile.am (java_source_files): Added new files.
7659 * Makefile.in: Regenerated.
7662 2004-05-04 Mark Wielaard <mark@klomp.org>
7664 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7666 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7668 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7669 * Makefile.in: Rebuilt.
7671 2004-05-03 Mark Wielaard <mark@klomp.org>
7673 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7674 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7676 (set(String, String, int, String, String, String, String, String)):
7677 Assign this.file to path or path + "?" + query.
7678 * java/util/Arrays.java: Call static methods staticly.
7679 * java/util/zip/ZipEntry.java: Likewise.
7680 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7681 dir to this.direction.
7682 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7683 Assign static field only once.
7684 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7686 2004-05-03 Mark Wielaard <mark@klomp.org>
7688 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7689 unused variables hScrollbarHeight and vScrollbarWidth.
7690 (preferredSize): Likewise.
7691 * gnu/java/security/provider/DSAParameters.java (engineToString):
7692 Removed unused call to System.getProperty("line.seperator");
7693 * java/security/Security.java (loadProviders): Return result.
7695 2004-05-03 Tom Tromey <tromey@redhat.com>
7697 * java/net/URLStreamHandler.java (toExternalForm): Removed
7700 * java/math/BigDecimal.java (divide): Removed unused variable.
7701 * java/lang/Throwable.java: Cleaned up imports.
7702 * java/lang/ClassLoader.java: Cleaned up imports.
7703 * java/io/FilePermission.java (implies): Removed unused
7705 * java/awt/TextComponent.java: Removed unused import.
7706 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7707 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7708 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7709 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7711 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7712 * gnu/java/text/CharacterBreakIterator.java: Removed
7714 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7716 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7717 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7719 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7720 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7721 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7722 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7723 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7724 (lookupProviders): Removed unused variable.
7725 (loadNextServiceProvider): Likewise.
7726 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7728 2004-05-03 Michael Koch <konqueror@gmx.de>
7730 Fixes PR libgcj/14695:
7731 * java/net/NetworkInterface.java
7732 (getByName): Return null when no interface was found.
7734 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7735 Tom Tromey <tromey@redhat.com>
7737 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7738 additional option "-Wmissing-prototypes" for compiling C sources.
7739 Print actual filename for pass/fail rather than $name.c.
7740 * testsuite/libjava.jni/PR15133.java: New testcase file.
7741 * testsuite/libjava.jni/PR15133.c: Likewise.
7742 * testsuite/libjava.jni/PR15133.out: Likewise.
7744 2004-04-30 Roger Sayle <roger@eyesopen.com>
7746 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7749 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7751 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7752 limit the maximum heap size to avoid unnecessary thrashing.
7754 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7756 * java/text/CollationElementIterator.java (reset): Reset
7757 lookahead variables.
7759 2004-04-23 Mark Wielaard <mark@klomp.org>
7761 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7763 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7765 * java/sql/DriverManager.java:
7768 2004-04-23 Michael Koch <konqueror@gmx.de>
7771 (hashcode): Don't initialize with default value explicitely.
7772 (getContent): Removed redundant "final" keyword.
7773 (openStream): Likewise.
7774 (getURLStreamHandler): Fixed coding style.
7775 * java/net/URLConnection.java
7776 (defaultAllowUserInteraction): Don't initialize with default value
7778 (connected): Likewise.
7779 (doOutput): Likewise.
7780 (ifModifiedSince): Likewise.
7781 (dateformats_initialized): Likewise.
7782 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7784 2004-04-23 Michael Koch <konqueror@gmx.de>
7786 * gnu/java/nio/channels/FileChannelImpl.java
7787 (SET, CUR): Unused, removed.
7788 (read): Implement here directly.
7789 (implRead): Removed.
7790 (write): Implement here directly.
7791 (implWrite): Removed.
7793 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7795 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7796 javax/rmi/CORBA/Stub.java,
7797 javax/rmi/CORBA/Util.java,
7798 javax/rmi/CORBA/ValueHandler.java,
7799 javax/rmi/CORBA/ValueHandler.java,
7800 javax/rmi/PortableRemoteObject.java:
7803 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7805 * java/util/jar/JarFile.java,
7806 java/util/jar/JarInputStream.java,
7807 java/util/jar/JarOutputStream.java,
7808 java/util/jar/Manifest.java:
7811 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7813 * java/util/ArrayList.java,
7814 java/util/Calendar.java,
7815 java/util/Currency.java,
7816 java/util/HashMap.java,
7817 java/util/HashSet.java,
7818 java/util/Hashtable.java,
7819 java/util/LinkedList.java,
7820 java/util/Properties.java,
7821 java/util/PropertyPermission.java,
7822 java/util/TimeZone.java,
7823 java/util/TreeMap.java,
7824 java/util/TreeSet.java,
7825 java/util/Vector.java,
7826 java/util/WeakHashMap.java:
7829 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7831 * java/util/logging/FileHandler.java,
7832 java/util/logging/Formatter.java,
7833 java/util/logging/Handler.java,
7834 java/util/logging/Logger.java,
7835 java/util/logging/SimpleFormatter.java,
7836 java/util/logging/XMLFormatter.java:
7839 2004-04-22 Mark Wielaard <mark@klomp.org>
7841 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7842 -Wno-long-long flags variable.
7843 (gtk_c_files): Use PEDANTIC_CFLAGS.
7844 * Makefile.in: Regenerated.
7846 2004-04-22 Mark Wielaard <mark@klomp.org>
7848 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7849 Changed C++ comments into C comments.
7850 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7853 2004-04-22 Michael Koch <konqueror@gmx.de>
7855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7856 Merged copyright year with GNU classpath.
7858 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7860 * javax/security/auth/x500/X500Principal.java:
7863 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7865 * javax/swing/JSlider.java:
7866 Fixed HTML tags in comments.
7868 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7870 * javax/accessibility/AccessibleText.java:
7873 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7875 * java/net/URLStreamHandler.java
7876 (parseURL): Convert the file path to using '/' instead of native
7879 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7882 (userInfo): New field.
7883 (URL): Set authority to the right value.
7884 (setURL): Fixed authority and file initialization.
7885 * java/net/URLStreamHandler.java
7886 (parseURL): Take care of the query tag. Build authority.
7887 (toExternalForm): Fixed URL building using authority.
7889 2004-04-22 Michael Koch <konqueror@gmx.de>
7891 * java/net/Socket.java
7892 (impl): Made package-private.
7893 * java/net/ServerSocket.java
7894 (implAccept): Access Socket.impl field directly.
7896 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7898 * java/util/prefs/Preferences.java,
7899 java/util/prefs/InvalidPreferencesFormatException.java,
7900 java/util/prefs/BackingStoreException.java,
7901 java/util/prefs/AbstractPreferences.java:
7904 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7906 * java/util/regex/Matcher.java,
7907 java/util/regex/Pattern.java:
7910 2004-04-22 Michael Koch <konqueror@gmx.de>
7912 * java/nio/charset/IllegalCharsetNameException.java
7913 (charsetName): Made private.
7914 (IllegalCharsetNameException): Added @param tag to javadoc.
7915 (getCharsetName): Added @return tag to javadoc.
7916 * java/nio/charset/MalformedInputException.java
7917 (MalformedInputException): Added @param tag to javadoc.
7918 (getInputLength): Revised method description, added @return tag.
7919 (getMessage): Added @return tag.
7921 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7923 * java/awt/Font.java (deriveFont): Implement missing variants.
7924 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7927 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7929 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7930 Set method->index values for interface methods to their itable index.
7931 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7933 2004-04-21 Michael Koch <konqueror@gmx.de>
7935 * java/nio/DirectByteBufferImpl.java
7936 (shiftDown): Made static, give address as argument and
7937 provide a convenience method that overwrites shiftDown in
7938 ByteBufferImpl and calls the native shiftDown.
7939 * java/nio/MappedByteBufferImpl.java
7940 (): Use optimized method in DirectByteBufferImpl.
7941 * java/nio/natDirectByteBufferImpl.cc
7942 (shiftDown): Changed method signature. Removed usage of array_offset.
7944 2004-04-21 Michael Koch <konqueror@gmx.de>
7946 * gnu/java/net/natPlainSocketImplPosix.cc
7947 (SocketInputStream::read): Make sure returned data is a byte value.
7949 2004-04-21 Michael Koch <konqueror@gmx.de>
7951 * gnu/classpath/ServiceFactory.java,
7952 gnu/classpath/ServiceProviderLoadingAction.java,
7953 javax/imageio/ImageReader.java,
7954 javax/imageio/ImageTranscoder.java,
7955 javax/imageio/ImageWriter.java,
7956 javax/imageio/package.html,
7957 javax/imageio/spi/IIOServiceProvider.java,
7958 javax/imageio/spi/ImageInputStreamSpi.java,
7959 javax/imageio/spi/ImageOutputStreamSpi.java,
7960 javax/imageio/spi/ImageReaderWriterSpi.java,
7961 javax/imageio/spi/ImageTranscoderSpi.java,
7962 javax/imageio/spi/RegisterableService.java,
7963 javax/imageio/spi/ServiceRegistry.java,
7964 javax/imageio/spi/package.html,
7965 javax/imageio/stream/IIOByteBuffer.java,
7966 javax/imageio/stream/ImageInputStream.java,
7967 javax/imageio/stream/ImageOutputStream.java,
7968 javax/imageio/stream/package.html:
7971 (ordinary_java_source_files): Added
7972 gnu/classpath/ServiceFactory.java and
7973 gnu/classpath/ServiceProviderLoadingAction.java.
7974 (javax_source_files): Added
7975 javax/imageio/ImageReader.java,
7976 javax/imageio/ImageTranscoder.java,
7977 javax/imageio/ImageWriter.java,
7978 javax/imageio/spi/IIOServiceProvider.java,
7979 javax/imageio/spi/ImageInputStreamSpi.java,
7980 javax/imageio/spi/ImageOutputStreamSpi.java,
7981 javax/imageio/spi/ImageReaderWriterSpi.java,
7982 javax/imageio/spi/ImageTranscoderSpi.java,
7983 javax/imageio/spi/RegisterableService.java,
7984 javax/imageio/spi/ServiceRegistry.java,
7985 javax/imageio/stream/IIOByteBuffer.java,
7986 javax/imageio/stream/ImageInputStream.java and
7987 javax/imageio/stream/ImageOutputStream.java.
7988 * Makefile.in: Regenerated.
7990 2004-04-21 Michael Koch <konqueror@gmx.de>
7992 * java/util/Properties.java
7993 (load): Fix wrongly merged fix.
7995 2004-04-21 Mark Wielaard <mark@klomp.org>
7997 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7998 malloc and free buf.
8000 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8002 * javax/naming/AuthenticationException.java,
8003 javax/naming/AuthenticationNotSupportedException.java,
8004 javax/naming/CannotProceedException.java,
8005 javax/naming/CommunicationException.java,
8006 javax/naming/CompoundName.java,
8007 javax/naming/ConfigurationException.java,
8008 javax/naming/ContextNotEmptyException.java,
8009 javax/naming/InitialContext.java,
8010 javax/naming/InsufficientResourcesException.java,
8011 javax/naming/InterruptedNamingException.java,
8012 javax/naming/LimitExceededException.java,
8013 javax/naming/LinkException.java,
8014 javax/naming/LinkLoopException.java,
8015 javax/naming/LinkRef.java,
8016 javax/naming/MalformedLinkException.java,
8017 javax/naming/Name.java,
8018 javax/naming/NameAlreadyBoundException.java,
8019 javax/naming/NameNotFoundException.java,
8020 javax/naming/NamingSecurityException.java,
8021 javax/naming/NoInitialContextException.java,
8022 javax/naming/NoPermissionException.java,
8023 javax/naming/NotContextException.java,
8024 javax/naming/PartialResultException.java,
8025 javax/naming/ReferralException.java,
8026 javax/naming/ServiceUnavailableException.java,
8027 javax/naming/SizeLimitExceededException.java,
8028 javax/naming/TimeLimitExceededException.java,
8029 javax/naming/directory/Attribute.java,
8030 javax/naming/directory/Attributes.java,
8031 javax/naming/directory/SearchResult.java,
8032 javax/naming/event/NamingExceptionEvent.java,
8033 javax/naming/spi/ResolveResult.java:
8036 2004-04-21 Mark Wielaard <mark@klomp.org>
8038 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8039 Changed C++ comments into C comments. Removed commented out code.
8040 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8042 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8046 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8048 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8050 * native/jni/gtk-peer/gthread-jni.c:
8053 2004-04-21 Mark Wielaard <mark@klomp.org>
8055 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8056 static fields defined in interface.
8057 * javax/awt/JDialog.java: Likewise.
8058 (JDialog): Make constructors public.
8059 (getDefaultCloseOperation): Make public.
8060 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8061 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8062 * javax/swing/JViewport.java (JViewport): Make constructor public.
8064 2004-04-21 Michael Koch <konqueror@gmx.de>
8066 * java/util/Map.java
8067 (Entry): Removed redundant "static" modifier.
8068 * java/text/AttributedCharacterIterator.java:
8069 Updated copyright year.
8071 2004-04-20 Michael Koch <konqueror@gmx.de>
8073 * javax/naming/directory/SearchControls.java:
8074 Don't explicitely extend java.lang.Object.
8075 * javax/naming/spi/DirStateFactory.java:
8076 Merged copyright year with GNU classpath.
8078 2004-04-20 Michael Koch <konqueror@gmx.de>
8080 * java/nio/channels/Channels.java:
8081 Merged coding style with GNU classpath.
8083 2004-04-20 Michael Koch <konqueror@gmx.de>
8085 * java/net/ServerSocket.java
8086 Merged coding style from GNU classpath.
8088 2004-04-20 Michael Koch <konqueror@gmx.de>
8090 * java/io/BufferedWriter.java:
8091 Reordered variables to be at top of the class.
8092 (localFlush): Removed redundant final keyword.
8094 2004-04-20 Ingo Proetel <proetel@aicas.com>
8096 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8098 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8100 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8101 for percent and permill check.
8103 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8105 * java/text/FieldPosition.java
8106 (FieldPosition) Constructor now behaves as it should according
8107 to the java documentation.
8109 2004-04-20 Mark Wielaard <mark@klomp.org>
8111 * java/util/Properties.java: Use the word umlaut, not ä in api
8114 2004-04-20 Michael Koch <konqueror@gmx.de>
8116 * java/nio/Buffer.java,
8117 java/nio/channels/AlreadyConnectedException.java,
8118 java/nio/channels/AsynchronousCloseException.java,
8119 java/nio/channels/ByteChannel.java,
8120 java/nio/channels/CancelledKeyException.java,
8121 java/nio/channels/Channel.java,
8122 java/nio/channels/Channels.java,
8123 java/nio/channels/ClosedByInterruptException.java,
8124 java/nio/channels/ClosedChannelException.java,
8125 java/nio/channels/ClosedSelectorException.java,
8126 java/nio/channels/ConnectionPendingException.java,
8127 java/nio/channels/DatagramChannel.java,
8128 java/nio/channels/FileChannel.java,
8129 java/nio/channels/FileLock.java,
8130 java/nio/channels/FileLockInterruptionException.java,
8131 java/nio/channels/GatheringByteChannel.java,
8132 java/nio/channels/IllegalBlockingModeException.java,
8133 java/nio/channels/IllegalSelectorException.java,
8134 java/nio/channels/InterruptibleChannel.java,
8135 java/nio/channels/NoConnectionPendingException.java,
8136 java/nio/channels/NonReadableChannelException.java,
8137 java/nio/channels/NonWritableChannelException.java,
8138 java/nio/channels/NotYetBoundException.java,
8139 java/nio/channels/NotYetConnectedException.java,
8140 java/nio/channels/OverlappingFileLockException.java,
8141 java/nio/channels/Pipe.java,
8142 java/nio/channels/ReadableByteChannel.java,
8143 java/nio/channels/ScatteringByteChannel.java,
8144 java/nio/channels/SelectableChannel.java,
8145 java/nio/channels/SelectionKey.java,
8146 java/nio/channels/Selector.java,
8147 java/nio/channels/ServerSocketChannel.java,
8148 java/nio/channels/SocketChannel.java,
8149 java/nio/channels/UnresolvedAddressException.java,
8150 java/nio/channels/UnsupportedAddressTypeException.java,
8151 java/nio/channels/WritableByteChannel.java,
8152 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8153 java/nio/channels/spi/AbstractSelectableChannel.java,
8154 java/nio/channels/spi/AbstractSelectionKey.java,
8155 java/nio/channels/spi/AbstractSelector.java,
8156 java/nio/channels/spi/SelectorProvider.java,
8157 java/nio/charset/spi/CharsetProvider.java:
8158 Fixed javadocs and jalopied all over java.nio.
8160 2004-04-20 Michael Koch <konqueror@gmx.de>
8162 * java/nio/ByteBufferImpl.java,
8163 java/nio/CharBufferImpl.java,
8164 java/nio/DirectByteBufferImpl.java,
8165 java/nio/DoubleBufferImpl.java,
8166 java/nio/DoubleViewBufferImpl.java,
8167 java/nio/FloatBufferImpl.java,
8168 java/nio/FloatViewBufferImpl.java,
8169 java/nio/IntBufferImpl.java,
8170 java/nio/IntViewBufferImpl.java,
8171 java/nio/LongBufferImpl.java,
8172 java/nio/LongViewBufferImpl.java,
8173 java/nio/MappedByteBufferImpl.java,
8174 java/nio/ShortBufferImpl.java,
8175 java/nio/ShortViewBufferImpl.java:
8176 Made sure all classes are final and removed final keyword from all
8179 2004-04-20 Michael Koch <konqueror@gmx.de>
8181 * java/rmi/MarshalledObject.java,
8182 java/rmi/Naming.java,
8183 java/rmi/RemoteException.java,
8184 java/rmi/activation/ActivationException.java,
8185 java/rmi/server/ServerCloneException.java,
8186 java/security/AccessController.java,
8187 java/security/AlgorithmParameterGenerator.java,
8188 java/security/AlgorithmParameters.java,
8189 java/security/CodeSource.java,
8190 java/security/Identity.java,
8191 java/security/IdentityScope.java,
8192 java/security/KeyPairGenerator.java,
8193 java/security/KeyStore.java,
8194 java/security/Security.java,
8195 java/security/Signature.java,
8196 java/security/SignatureSpi.java,
8197 java/security/SignedObject.java,
8198 java/security/spec/DSAParameterSpec.java,
8199 java/security/spec/DSAPrivateKeySpec.java,
8200 java/security/spec/DSAPublicKeySpec.java,
8201 java/sql/Array.java,
8202 java/sql/DatabaseMetaData.java,
8203 java/sql/ResultSet.java,
8204 java/text/ChoiceFormat.java,
8205 java/text/CollationElementIterator.java,
8206 java/text/CollationKey.java,
8207 java/text/Collator.java,
8208 java/text/DateFormat.java,
8209 java/text/DateFormatSymbols.java,
8210 java/text/DecimalFormatSymbols.java,
8211 java/text/Format.java,
8212 java/text/ParsePosition.java,
8213 java/text/RuleBasedCollator.java,
8214 java/text/SimpleDateFormat.java,
8215 java/text/StringCharacterIterator.java,
8216 java/util/Collections.java,
8217 java/util/PropertyResourceBundle.java,
8218 java/util/ResourceBundle.java,
8219 java/util/StringTokenizer.java,
8220 java/util/jar/Attributes.java,
8221 java/util/logging/ConsoleHandler.java,
8222 java/util/logging/LogManager.java,
8223 java/util/logging/MemoryHandler.java,
8224 java/util/logging/SocketHandler.java,
8225 javax/naming/NamingException.java:
8226 Fixed javadoc, coding style and argument names all over.
8228 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8230 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8231 constructor. (valid) Added null check.
8233 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8235 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8236 * java/io/FileOutputStream.java
8237 (FileOutputStream) Reorganized constructors. Constructors now
8238 check whether the given path is directory.
8240 2004-04-20 Michael Koch <konqueror@gmx.de>
8242 * java/net/Authenticator.java,
8243 java/net/BindException.java,
8244 java/net/ConnectException.java,
8245 java/net/ContentHandler.java,
8246 java/net/ContentHandlerFactory.java,
8247 java/net/DatagramPacket.java,
8248 java/net/DatagramSocket.java,
8249 java/net/DatagramSocketImpl.java,
8250 java/net/DatagramSocketImplFactory.java,
8251 java/net/FileNameMap.java,
8252 java/net/HttpURLConnection.java,
8253 java/net/Inet4Address.java,
8254 java/net/Inet6Address.java,
8255 java/net/InetAddress.java,
8256 java/net/InetSocketAddress.java,
8257 java/net/JarURLConnection.java,
8258 java/net/MalformedURLException.java,
8259 java/net/MulticastSocket.java,
8260 java/net/NetPermission.java,
8261 java/net/NetworkInterface.java,
8262 java/net/NoRouteToHostException.java,
8263 java/net/PasswordAuthentication.java,
8264 java/net/PortUnreachableException.java,
8265 java/net/ProtocolException.java,
8266 java/net/ServerSocket.java,
8267 java/net/Socket.java,
8268 java/net/SocketAddress.java,
8269 java/net/SocketException.java,
8270 java/net/SocketImpl.java,
8271 java/net/SocketImplFactory.java,
8272 java/net/SocketOptions.java,
8273 java/net/SocketPermission.java,
8274 java/net/SocketTimeoutException.java,
8276 java/net/URISyntaxException.java,
8278 java/net/URLClassLoader.java,
8279 java/net/URLConnection.java,
8280 java/net/URLDecoder.java,
8281 java/net/URLEncoder.java,
8282 java/net/URLStreamHandler.java,
8283 java/net/URLStreamHandlerFactory.java,
8284 java/net/UnknownHostException.java,
8285 java/net/UnknownServiceException.java:
8286 Fixed javadocs, coding style and argument names all over.
8288 2004-04-20 Michael Koch <konqueror@gmx.de>
8290 * java/lang/Byte.java,
8291 java/lang/CharSequence.java,
8292 java/lang/ClassLoader.java,
8293 java/lang/Compiler.java,
8294 java/lang/Double.java,
8295 java/lang/Float.java,
8296 java/lang/Integer.java,
8297 java/lang/Long.java,
8298 java/lang/Math.java,
8299 java/lang/Number.java,
8300 java/lang/Package.java,
8301 java/lang/Runtime.java,
8302 java/lang/RuntimePermission.java,
8303 java/lang/SecurityManager.java,
8304 java/lang/Short.java,
8305 java/lang/StringBuffer.java,
8306 java/lang/System.java,
8307 java/lang/ThreadGroup.java,
8308 java/lang/Throwable.java,
8309 java/lang/reflect/InvocationHandler.java,
8310 java/lang/reflect/Proxy.java:
8311 Fixed javadocs, coding style and argument names all over.
8313 2004-04-20 Michael Koch <konqueror@gmx.de>
8315 * java/io/BufferedWriter.java,
8316 java/io/ByteArrayInputStream.java,
8317 java/io/CharArrayWriter.java,
8318 java/io/DataInput.java,
8319 java/io/DataInputStream.java,
8321 java/io/FilterInputStream.java,
8322 java/io/InputStream.java,
8323 java/io/InputStreamReader.java,
8324 java/io/ObjectInputStream.java,
8325 java/io/ObjectStreamClass.java,
8326 java/io/PipedInputStream.java,
8327 java/io/PipedReader.java,
8328 java/io/PushbackInputStream.java,
8329 java/io/PushbackReader.java,
8330 java/io/RandomAccessFile.java,
8331 java/io/SerializablePermission.java,
8332 java/io/StreamTokenizer.java,
8333 java/io/StringWriter.java,
8334 java/io/WriteAbortedException.java,
8335 java/io/Writer.java:
8336 Fixed javadocs all over, rename arguments to match javadocs,
8339 2004-04-20 Ingo Proetel <proetel@aicas.com>
8341 * java/awt/FontMetrics.java:
8342 (charsWidth): fixed accumulation of total_width
8343 (getWidth): simple default implementation
8344 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8345 in Rectangle constructor.
8346 * java/awt/image/Raster.java (toString): Added method.
8347 * java/awt/image/SampleModel.java (<init>): Added error cause
8348 information to thrown exception.
8349 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8351 (setDataElements): New method.
8352 (setPixels): New method.
8353 (toString): New method.
8355 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8357 * java/awt/image/ComponentColorModel.java
8358 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8359 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8360 Mauve tests on this method. Improved documentation.
8362 2004-04-20 Michael Koch <konqueror@gmx.de>
8364 * javax/swing/JLayeredPane.java,
8365 javax/swing/plaf/BorderUIResource.java,
8366 javax/swing/plaf/ComponentUI.java,
8367 javax/swing/undo/CompoundEdit.java,
8368 javax/swing/undo/StateEdit.java:
8369 Fixed HTML tags in javadocs all over.
8371 2004-04-20 Michael Koch <konqueror@gmx.de>
8373 * javax/print/attribute/EnumSyntax.java
8374 (getOffset): Made protected.
8375 * javax/print/attribute/HashAttributeSet.java
8376 (HashAttributeSet): Likewise.
8377 * javax/print/attribute/ResolutionSyntax.java
8378 (getFeedResolution): Fixed typo in exception name.
8379 (getCrossFeedResolution): Likewise.
8380 * javax/print/attribute/SetOfIntegerSyntax.java
8381 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8382 * javax/print/attribute/TextSyntax.java
8383 (TextSyntax): Handle locale correctly.
8384 (hashCode): Calc better hashcode value.
8385 (equals): Fixed @return tag.
8386 (toString): New method.
8388 2004-04-20 Michael Koch <konqueror@gmx.de>
8390 * gnu/java/nio/FileLockImpl.java
8391 (static): Removed, not needed anymore.
8392 * gnu/java/nio/channels/FileChannelImpl.java
8393 (FileChannelImpl): Made final.
8394 (mode): Made private.
8395 (READ, WRITE, APPEND): Made public.
8396 (EXCL, SYNC, DSYNC): Likewise.
8397 (static): Load native JNI library, when needed.
8398 (length): Unused, removed.
8399 (available): Made public.
8400 (implPosition): Throws IOException.
8402 (implTruncate): Likewise.
8406 2004-04-20 Michael Koch <konqueror@gmx.de>
8408 * java/awt/AWTPermission.java,
8409 java/awt/Component.java,
8410 java/awt/ComponentOrientation.java,,
8411 java/awt/Dialog.java,
8412 java/awt/FontMetrics.java,
8413 java/awt/Graphics.java,
8414 java/awt/datatransfer/DataFlavor.java,
8415 java/beans/Introspector.java,
8416 java/beans/PropertyEditor.java,
8417 java/beans/PropertyEditorManager.java,
8418 java/beans/beancontext/BeanContextServiceProvider.java:
8419 Fixed HTML tags in javadocs all over.
8421 2004-04-20 Mark Wielaard <mark@klomp.org>
8423 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8424 MissingResourceException is thrown.
8425 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8426 null when a MissingResourceException is thrown. Should never happen.
8428 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8430 * java/awt/image/DataBufferShort.java,
8431 java/awt/image/DataBufferFloat.java,
8432 java/awt/image/DataBufferDouble.java,
8433 java/awt/image/PixelInterleavedSampleModel.java: New files.
8434 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8435 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8437 2004-04-20 Michael Koch <konqueror@gmx.de>
8439 * Makefile.am (java_source_files): Added
8440 java/awt/image/DataBufferDouble.java,
8441 java/awt/image/DataBufferFloat.java,
8442 java/awt/image/DataBufferShort.java and
8443 java/awt/image/PixelInterleavedSampleModel.java.
8444 * Makefile.in: Regenerated.
8446 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8448 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8449 undocumented CNI calls.
8450 * include/java-interp.h (_Jv_InterpClass): No longer
8451 extends java.lang.Class.
8452 * java/lang/Class.h (Class): Add new field `aux_info'.
8453 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8454 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8455 Use Class->aux_info instead.
8456 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8457 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8458 Use Class->aux_info instead.
8459 * java/io/natObjectInputStream.cc (allocateObject): Use
8461 * java/lang/natClass.cc (newInstance): Likewise.
8462 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8463 * java/lang/natObject.cc (clone): Likewise.
8464 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8465 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8466 JvAllocObject. Allocate klass->aux_info here for interpreted
8469 2004-04-17 Mark Wielaard <mark@klomp.org>
8471 * javax/swing/JToggleButton.java (ToggleButtonModel):
8472 Make public static inner class.
8473 * javax/swing/JTabbedPane.java (setComponentAt):
8474 Call Page.setComponent().
8475 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8476 (WRAP_TAB_LAYOUT): Make public, value is 0.
8477 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8478 Make private static inner class.
8480 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8482 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8483 arguments to match new signature. Remove FIXME comments.
8485 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8487 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8489 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8492 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8494 * Makefile.am: Added new file.
8495 * Makefile.in: Regenerate.
8496 * javax/swing/ImageIcon.java:
8497 (ImageIcon(file)): set description of the icon
8499 * javax/swing/JCheckBoxMenuItem.java:
8500 Mostly Implemented. Work in progress.
8501 * javax/swing/JRadioButtonMenuItem.java:
8502 Reimplement constructors to use JToggleButtonModel.
8503 * javax/swing/plaf/basic/BasicIconFactory.java:
8504 (getCheckBoxMenuItemIcon): return check box
8506 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8507 paint menu item selected only when it is armed and
8510 2004-04-02 David Jee <djee@redhat.com>
8512 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8513 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8514 * java/awt/Component.java
8515 (add): Set the parent of the popup as this component.
8516 * java/awt/PopupMenu.java
8517 (addNotify): Create popup menu when peer is null.
8518 (show): Call addNotify() if peer is null.
8519 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8520 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8521 argument for gtk_menu_popup() as zero. This causes the popup menu to
8522 respond to any mouse button.
8524 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8526 * Makefile.am: Added new file.
8527 * Makefile.in: Regenerate.
8528 * javax/swing/JRadioButtonMenuItem.java:
8530 * javax/swing/plaf/basic/BasicIconFactory.java:
8531 (getRadioButtonMenuItemIcon): Return
8533 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8534 (getPreferredSize): Add size of checkIcon if it
8536 (installDefaults): Don't initialize checkIcon.
8537 It's value will be set in subclasses.
8538 (uninstallDefaults): remove uninstallation of
8540 (paint): Moved code to paintMenuItem().
8541 (paintMenuItem): Implemented.
8542 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8543 UI delegate for JRadioButtonMenuItem.
8545 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8547 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8548 Corrected position of the accelerator.
8550 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8552 * Makefile.am: Added new file.
8553 * Makefile.in: Regenerate.
8554 * javax/swing/JMenuItem.java: Partly
8555 implemented. Work in progress
8556 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8557 Changed default value of acceleratorDelimiter.
8558 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8559 New class. Partly implemented.
8561 2004-03-26 Mark Wielaard <mark@klomp.org>
8563 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8564 (item_activate): Declare label before use.
8565 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8566 (gtkSetFont): Removed unused variable label.
8567 (addExposeFilter): Declare variables before use.
8568 (removeExposeFilter): Likewise.
8569 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8570 (ok_clicked): Declare str_fileName before use.
8572 2004-03-26 David Jee <djee@redhat.com>
8574 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8575 (addSeparator): Remove.
8576 * java/awt/Menu.java
8577 (separator): Remove static final MenuItem field.
8578 (separatorLabel): New static final String field.
8579 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8580 Use separatorLabel to denote that it is a separator.
8581 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8582 of reusing the static separator instance, because a MenuItem instance
8583 can't be added more than once without being cloned.
8584 * java/awt/peer/MenuPeer.java
8585 (addSeparator): Remove from interface.
8587 2004-03-26 David Jee <djee@redhat.com>
8589 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8590 (connectSignals): New native method declaration.
8591 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8592 * java/awt/MenuItem.java
8593 (getActionCommand): Return the label if the action command is not set.
8594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8595 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8596 gtk_menu_shell_append().
8597 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8598 (item_activate): Fix argument type.
8599 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8601 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8604 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8605 given. Add the menu widget's top-level GtkWindow to the global window
8606 group, so it can grab the pointer.
8607 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8608 gtk_menu_shell_append().
8610 2004-03-23 Graydon Hoare <graydon@redhat.com>
8612 * java/text/AttributedString.java
8613 (addAttribute): Fix off-by-one.
8614 (getIterator): Likewise.
8615 * java/text/AttributedStringIterator.java
8616 (getRunLimit): Correct logic.
8617 (getRunStart): Likewise.
8618 (getAttribute): Fix inequality.
8619 (getAttributes): Likewise.
8620 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8622 2004-03-23 Kim Ho <kho@redhat.com>
8624 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8625 (calculateSizes): Return real width and height.
8627 2004-03-23 Kim Ho <kho@redhat.com>
8629 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8630 (calculateTabRects): Set the selectedRun before
8631 trying to rotate tabs.
8633 2004-03-23 Kim Ho <kho@redhat.com>
8635 * Makefile.am: New file
8636 * Makefile.in: Regenerate
8637 * java/awt/Graphics.java: (drawRect):
8638 Draw to the correct point.
8639 * javax/swing/DefaultSingleSelectionModel.java
8640 (isSelected): Return true if the selected index
8642 * javax/swing/JLabel.java: Do not change mnemonic
8643 index if text is null.
8644 * javax/swing/JProgressBar.java: Use JComponent's
8646 * javax/swing/JScrollBar.java: Ditto.
8647 * javax/swing/JSlider.java: Ditto.
8648 * javax/swing/JTabbedPane.java: Reimplement.
8649 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8650 Add defaults for TabbedPane.
8651 * javax/swing/plaf/basic/BasicArrowButton.java:
8653 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8654 (paintDeterminate): Don't paint String if it's
8656 (paintIndeterminate): ditto.
8657 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8660 2004-03-19 Michael Koch <konqueror@gmx.de>
8662 * java/awt/image/AffineTransformOp.java
8663 (AffineTransformOp): Made public.
8664 * javax/swing/JComponent.java
8665 (listenerList): Made protected.
8666 (accessibleContext): Likewise.
8667 * javax/swing/JList.java
8668 (valueChanged): Dont use internal fields of ListSelectionEvent.
8669 * javax/swing/JViewport.java
8670 (getView): Dont use internal fields of Component.
8671 (addImpl): Likewise.
8672 * javax/swing/Timer.java
8673 (isRunning): Made public.
8676 * javax/swing/UIDefaults.java
8677 (getInt): Made public.
8678 * javax/swing/plaf/basic/BasicListUI.java
8679 (mousePressed): Dont use internal fields of MouseEvent.
8680 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8681 * javax/swing/plaf/basic/BasicScrollBarUI.java
8682 (arrowIcon): Made static.
8683 * javax/swing/plaf/basic/BasicViewportUI.java
8684 (stateChanged): Dont use internal field on ChangeEvent.
8685 * javax/swing/text/JTextComponent.java
8686 (getUI): Call UIManager.getUI().
8687 (updateUI): Use getUI().
8689 2004-03-19 Graydon Hoare <graydon@redhat.com>
8691 * javax/swing/JComponent.java: Turn off double buffer by default.
8692 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8693 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8694 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8695 Use cairo to copy areas.
8696 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8697 Initialize and set clip region.
8699 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8701 * java/applet/Applet.java (preferredSize): Override deprecated
8702 variant of getPreferredSize.
8703 (minimumSize): Override deprecated variant of getMinimumSize.
8705 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8707 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8708 (drawImage(img,xform,bgcolor,obs)): New Method.
8709 Helper function that every drawImage method will
8711 (drawRaster): Added new parameter, bgcolor. All
8712 transparent pixels are changed to bgcolor before
8714 (drawRenderedImage): Fixed to use changed drawRaster().
8715 (drawImage(image,xform,obs): Fixed to use new helper function
8716 (drawImage(image,op,x,y)): Ditto.
8717 (drawImage (img,x,y,observer)): Ditto.
8718 ((PainterThread) bgcolor): New Field.
8719 ((PainterThread) (setPixels)): Changed all transparent pixels
8721 (drawImage(img,x,y,width,height,bgcolor,observer)):
8722 Fixed FIXME - all the transparent pixels are
8723 changed to the specified bgcolor.
8724 (drawImage(img, x, y, width, height, observer): Changed to
8726 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8727 Fixed FIXME- changed all transparent pixels to bgcolor.
8728 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8729 Changed to use function above.
8731 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8733 * java/applet/Applet.java (dimensions): New field.
8734 (getDimensions): New method.
8735 (getPreferredSize): Call getDimensions.
8736 (getMinimumSize): Likewise.
8738 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8740 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8741 * jni/classpath/jnilink.c: Likewise.
8743 * java/applet/Applet.java (getPreferredSize): New method.
8744 (getMinimumSize): New method.
8746 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8748 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8749 (_Jv_AllocObjectNoFinalizer): Likewise.
8750 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8751 (_Jv_AllocPtrFreeObject): Likewise.
8752 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8753 directly even in the JVMPI case.
8754 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8755 _Jv_AllocObject calls.
8756 * gcj/javaprims.h: Update prototypes.
8757 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8758 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8759 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8761 2004-04-14 Andrew Haley <aph@redhat.com>
8762 Bryce McKinlay <mckinlay@redhat.com>
8764 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8765 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8766 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8768 * testsuite/libjava.lang/InvokeInterface.java: New file.
8769 * testsuite/libjava.lang/InvokeInterface.out: New file.
8771 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8773 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8775 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8776 StackTraceElement directly.
8777 (newElement): New native helper method to create StackTraceElement
8778 bypassing Java access control.
8779 (createStackTraceElement): Use newElement() instead of directly
8780 calling StackTraceElement's constructor.
8781 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8783 2004-04-01 Michael Koch <konqueror@gmx.de>
8785 * java/lang/SecurityManager.java
8786 (checkAwtEventQueueAccess): Implemented.
8788 2004-04-01 Gary Benson <gbenson@redhat.com>
8790 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8791 (_Jv_SearchMethodInClass): Likewise.
8793 2004-03-26 Peter Moon <peterm@miraculum.com>
8795 * java/text/NumberFormat.java: Fix spelling of setCurrency
8798 2004-03-21 Anthony Green <green@redhat.com>
8800 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8801 recursion when searching for the system ClassLoader.
8803 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8805 * java/net/ServerSocket.java
8806 (accept): Close the socket when error occured.
8808 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8810 * java/net/URI.java (parseURI): Added unquoting.
8811 (unquote): New method.
8812 (quoteAuthority): Implemented.
8813 (quote(String,String)): New method.
8814 (quotePath): Implemented.
8815 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8816 (getSchemeSpecificPart): Removed FIXME comment.
8817 (getRawAuthority): Return new rawAuthority field.
8818 (getAuthority): Removed FIXME comment.
8819 (getRawUserInfo): Return new rawUserInfo field.
8820 (getUserInfo): Removed FIXME comment.
8821 (getRawPath): Return new rawPath field.
8822 (getPath): Removed FIXME comment.
8823 (getRawQuery): Return new rawQuery field.
8824 (getQuery): Removed FIXME comment.
8825 (getRawFragment): Return new rawFragment field.
8826 (getFragment): Removed FIXME comment.
8828 2004-03-20 Michael Koch <konqueror@gmx.de>
8830 * java/net/URLConnection.java: Merged copyright year with classpath.
8832 2004-03-20 Norbert Frese <postfach@nfrese.net>
8834 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8835 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8836 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8838 (getObjectInputStream): Return object reference, throw IOException if null.
8839 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8840 (getObjectOutputStream): Return object reference, throw IOException if null.
8841 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8842 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8843 (UnicastConnectionManager): Throw RemoteException if port is not available.
8844 (getInstance): Throw RemoteException.
8845 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8846 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8847 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8848 Collect Exceptions which are returned by a rmi-call and fix void returns.
8849 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8850 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8851 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8852 (dispatch): Answer ping messages which are sent by other java implementions.
8853 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8854 for every rmi-message and fix void return problems.
8855 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8856 (UnicastServerRef): Throw RemoteException.
8857 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8858 In some situations it is necessary to export a subclass of the class which has the _Stub.
8859 For instance when the class with has the _Stub is abstract.
8860 (findStubSkelClass): New method which looks for the class which has the _Stub.
8861 (getClientHost): Implementated.
8862 * gcc/libjava/java/rmi/server/RemoteServer.java
8863 (getClientHost): Implementated.
8864 * gcc/libjava/Makefile.am (rmi_java_source_files):
8865 Added gnu/java/rmi/server/RMIIncomingThread.java.
8866 * Makefile.in: Regenerated.
8868 2004-03-20 Michael Koch <konqueror@gmx.de>
8870 * java/net/InetAddress.java
8871 (getLocalHostname): Added javadoc.
8873 2004-03-19 Per Bothner <per@bothner.com>
8875 * configure.in: FILE variable overrides FLATFORM when linking
8876 natFileChannelXXX.cc.
8878 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8879 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8881 2004-03-19 Per Bothner <per@bothner.com>
8883 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8884 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8885 * Makefile.am: Update accordingly.
8886 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8887 as aliases for UnicodeLittle and UnicodeBig.
8889 2004-03-20 Mark Wielaard <mark@klomp.org>
8891 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8892 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8893 Don't access ws when it is null.
8894 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8897 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8899 * java/lang/ThreadGroup.java (list): Changed print to println.
8901 2004-03-19 Mark Wielaard <mark@klomp.org>
8903 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8906 2004-02-10 Randolph Chung <tausq@debian.org>
8908 * configure.in: Build java for hppa target.
8909 * configure: Regenerate.
8910 * libjava/configure.host (hppa-*): Add target.
8911 * libjava/sysdeps/pa/lock.h: New file.
8913 2004-03-19 Mark Wielaard <mark@klomp.org>
8915 Reported by Stephen Crawley
8916 * java/io/FilePermission.java (implies): Use String.length() -1 to
8917 access last char of String.
8919 2004-03-19 Michael Koch <konqueror@gmx.de>
8921 * java/awt/image/AffineTransformOp.java
8922 (AffineTransformOp): Made public.
8923 * javax/swing/JComponent.java
8924 (listenerList): Made protected.
8925 (accessibleContext): Likewise.
8926 * javax/swing/JList.java
8927 (valueChanged): Dont use internal fields of ListSelectionEvent.
8928 * javax/swing/JViewport.java
8929 (getView): Dont use internal fields of Component.
8930 (addImpl): Likewise.
8931 * javax/swing/Timer.java
8932 (isRunning): Made public.
8935 * javax/swing/UIDefaults.java
8936 (getInt): Made public.
8937 * javax/swing/plaf/basic/BasicListUI.java
8938 (mousePressed): Dont use internal fields of MouseEvent.
8939 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8940 * javax/swing/plaf/basic/BasicScrollBarUI.java
8941 (arrowIcon): Made static.
8942 * javax/swing/plaf/basic/BasicViewportUI.java
8943 (stateChanged): Dont use internal field on ChangeEvent.
8944 * javax/swing/text/JTextComponent.java
8945 (getUI): Call UIManager.getUI().
8946 (updateUI): Use getUI().
8948 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8950 * verify.cc: Undef PC.
8952 2004-03-18 Michael Koch <konqueror@gmx.de>
8954 * java/nio/channels/spi/AbstractSelectableChannel.java
8955 (keys): Initialize at declaration.
8956 (locate): keys cant be null.
8958 (addSelectionKey): New method.
8959 (removeSelectionKey): New method.
8960 * java/nio/channels/spi/AbstractSelectionKey.java
8961 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8962 * java/nio/channels/spi/AbstractSelector.java
8963 (provider): Javadoc added.
8964 (cancelledKeys): Javadoc added.
8965 (cancelKey): Javadoc added, add key to cancelledKeys.
8966 (deregister): Implemented.
8968 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8970 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8971 MAP_FAILED to void *.
8973 2004-03-12 Graydon Hoare <graydon@redhat.com>
8975 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8976 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8977 * javax/swing/JList.java (ListListener): Revalidate on changes.
8978 * javax/swing/JScrollPane.java: Reimplement.
8979 * javax/swing/JViewport.java: Reimplement.
8980 * javax/swing/ScrollPaneLayout.java: Reimplement.
8981 * javax/swing/ViewportLayout.java: Tidy up.
8982 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8983 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8984 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8985 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8988 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8991 (window_wm_protocols_filter): New function.
8992 (window_focus_in_cb): Remove function.
8993 (window_focus_out_cb): Likewise.
8994 (window_focus_or_active_state_change_cb): New function.
8995 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8996 (connectSignals): Don't attach handlers to focus-in-event or
8997 focus-out-event signals. Handle notify signal.
8999 2004-03-11 David Jee <djee@redhat.com>
9001 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9002 (gtkSetLabel): New native method declaration.
9003 (setLabel): Use gtkSetLabel.
9004 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9005 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9007 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9009 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9010 black when color argument is null.
9012 2004-03-10 Kim Ho <kho@redhat.com>
9014 * java/awt/Container.java: Remove check
9017 2004-03-10 Kim Ho <kho@redhat.com>
9019 * java/awt/Container.java: (visitChild):
9020 Remove candidate clip. Use the component
9022 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9023 (handleEvent): Use the PaintEvent's clip.
9025 2004-03-10 Kim Ho <kho@redhat.com>
9027 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9028 (handleEvent): Don't set the clip for the
9031 2004-03-09 Graydon Hoare <graydon@redhat.com>
9033 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9034 Fix double <-> fixed macros, reset font transform.
9035 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9038 2004-03-09Â Kim Ho <kho@redhat.com>
9040 * java/awt/Container.java: (visitChild): Move
9041 the x and y coordinate of the component rectangle
9042 to correct position.
9043 (handleEvent): Forward drag events to the pressed
9045 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9047 (ArrowButtonListener::mousePressed): Stop the
9049 (mouseDragged): Implement.
9050 (TrackListener::mousePressed): Only react if
9051 the press doesn't occur on the thumb, otherwise
9052 just set the offset.
9053 (TrackListener::mouseReleased): Unset the isAdjusting
9055 (createIncreaseIcon): Switch icon.
9056 (createDecreaseIcon): Switch icon.
9057 (calculatePreferredSize): Use width.
9058 (getThumbBounds): Use the top as the lower value.
9059 (layoutVScrollBar): Switch the button locations.
9060 (paintIncreaseHighlight): Paint correct side of thumb.
9061 (paintDecreaseHighlight): ditto.
9062 (valueForYPosition): Use top as the lower value.
9063 * javax/swing/plaf/basic/BasicSliderUI.java:
9065 (mouseDragged): Implement.
9066 (mousePressed): Only react when the thumb isn't
9067 pressed, otherwise just set offset.
9068 (mouseReleased): Handle a release of the thumb.
9069 (scrollDueToClickInTrack): Stop the timer first.
9070 * javax/swing/JProgressBar.java:
9071 (setString): Fix change condition.
9072 * javax/swing/JSeparator.java:
9075 2004-03-08 David Jee <djee@redhat.com>
9077 * java/awt/image/AffineTransformOp.java:
9078 (filter): Use Graphics2D interface instead of directly using the
9081 2004-03-05 David Jee <djee@redhat.com>
9083 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9084 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9085 * java/awt/Container.java
9086 (acquireComponentForMouseEvent): Fixed.
9087 (handleEvent): Fixed.
9088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9089 (state_to_awt_mods_with_button_states): New method.
9090 (pre_event_handler): Fixed mouse event generation.
9092 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9094 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9095 (GdkGraphics2D (BufferedImage)): Initialize
9096 pixmap associated with specified BufferedImage.
9097 (setPaint): Changed implementation of Texture
9098 Paint to use AffineTransformOp.
9099 * java/awt/image/AffineTransformOp.java
9100 (createCompatibleDestRaster): Throw RasterFormatException
9101 if resulting width or height of raster is 0.
9103 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9105 * java/awt/image/AffineTransformOp.java:
9106 Removed unnecessary field interpolationType.
9107 Formatted some of the lines to be consistent with
9109 (AffineTransformOp): Create new RenderingHints
9110 containing specified interpolation type.
9111 (createCompatibleDestImage): Implemented.
9112 (createCompatibleDestRaster): Implemented.
9113 (filter): Implemented.
9114 (getBounds2D(BufferedImage)): Implemented.
9115 (getBounds2D(Raster)): Implemented.
9116 (getInterpolationType): Get interpolation value from
9119 2004-03-04 David Jee <djee@redhat.com>
9121 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9122 (setFont): Check if child peers are null.
9124 2004-03-04 Graydon Hoare <graydon@redhat.com>
9126 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9128 (libjava_arguments): Add new libraries to argument list.
9130 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9132 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9133 * Makefile.in: Re-generated.
9134 * java/awt/image/AffineTransformOp.java: New Class.
9136 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9138 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9139 (setPaint): Interpret correctly TexturePaint's
9141 (drawImage): Fixed scale factors of the affine
9144 2004-02-27 David Jee <djee@redhat.com>
9146 * gnu/java/awt/peer/gtk/GdkGraphics.java
9147 (GdkGraphics(Component)): Inherit font from component.
9148 (drawString): Use font style.
9149 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9150 (gtkSetFont): New native method declaration.
9151 (setFont): New method.
9152 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9153 (gtkSetFont): New native method declaration.
9154 (setFont): Call new native method gtkSetFont.
9155 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9156 (setFont): For all child components who do not their fonts set,
9157 set their peers' fonts with this container's font.
9158 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9159 Move all native method declarations to the top for readability.
9160 (gtkSetFont): New native method declaration.
9161 (setFont): New method.
9162 * java/awt/Component.java
9163 (setFont): Invalidate after setting the font.
9164 * java/awt/Container.java
9165 (invalidateTree): New method.
9166 (setFont): Invalidate the container tree after setting the font.
9167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9168 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9170 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9171 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9172 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9173 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9174 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9176 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9178 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9179 (updateBufferedImage): New helper function.
9180 Updates BufferedImage in memory if it was changed.
9181 (draw): changed to update BufferedImage in memory after
9182 this drawing operation
9184 (draw3DRect): Ditto.
9185 (fill3DRect): Ditto.
9187 (drawRaster): Ditto.
9188 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9189 no affine transformation.
9190 (drawGlyphVector): Ditto.
9192 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9194 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9195 (isBufferedImageGraphics): New Helper function.
9196 Returns true if this graphics2d can be used to draw
9197 into buffered image and false otherwise.
9198 (updateImagePixels): New Helper function.
9199 Updates pixels in the BufferedImage.
9200 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9201 (getImagePixels): New function. Returns pixels
9202 of the buffered image associated with
9205 2004-02-26 David Jee <djee@redhat.com>
9207 * java/awt/BorderLayout.java
9208 (layoutContainer): Fix width and height calculations to ensure
9209 that they're non-negative.
9210 * java/awt/Component.java
9211 (setBackground): If c is null, inherit from closest ancestor whose
9212 background color is set.
9214 2004-02-26 Kim Ho <kho@redhat.com>
9216 * Makefile.am: Add new files.
9217 * Makefile.in: Re-generate.
9218 * javax/swing/JProgressBar.java:
9219 (JProgressBar(int, int int)): Throw
9220 IllegalArgumentException if orientation is
9222 (JProgressBar(BoundedRangeModel)): Create
9223 ChangeListener and register it. UpdateUI.
9224 (getChangeListeners): Implement.
9225 (setModel): Reset ChangeListener.
9226 * javax/swing/JScrollBar.java: Implement.
9227 * javax/swing/JSeparator.java: Implement.
9228 * javax/swing/JSlider.java:
9229 (JSlider(int, int, int, int)): Throw
9230 IllegalArgumentException if orientation
9232 (getChangeListeners): Fix method name.
9233 * javax/swing/SwingUtilities.java:
9234 (layoutCompoundLabel): If there is no text,
9235 set the text rectangle dimensions to 0.
9236 * javax/swing/plaf/basic/BasicButtonUI.java:
9237 (paint): If there is no text, don't paint it.
9238 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9240 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9242 * javax/swing/plaf/basic/BasicSliderUI.java:
9243 (propertyChange): If the model changes, change
9244 the listeners accordingly.
9246 2004-02-25 Graydon Hoare <graydon@redhat.com>
9248 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9249 * javax/swing/JList.java: Reimplement.
9250 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9251 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9252 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9253 * javax/swing/ListModel.java: Javadoc.
9254 * javax/swing/ListSelectionModel.java: Add missing methods.
9255 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9256 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9257 * javax/swing/ListModel.java: Javadoc and corrections.
9258 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9260 2004-02-25 David Jee <djee@redhat.com>
9262 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9263 (GtkFontPeer): Change default size to 12.
9264 * gnu/java/awt/peer/gtk/GtkToolkit.java
9265 (getFontPeer): Change default size to 12.
9266 (getClasspathFontPeer): Likewise. Set default name to "Default".
9267 * java/awt/Font.java
9268 (Font(Map)): Call Font(String,Map).
9269 (Font(String,Map)): If attrs is null, initialize it as an empty
9270 HashMap, which will ensure that the Font will get default attributes.
9272 2004-02-25 David Jee <djee@redhat.com>
9274 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9275 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9276 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9277 * gnu/java/awt/peer/gtk/GtkToolkit.java
9278 (getFontPeer(String,int)): Call the new overload method with size 1.
9279 (getFontPeer(String,int,int)): New method. Overloaded with size
9281 (getClasspathFontPeer): Set the size of the font.
9283 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9285 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9286 (bimage): New field.
9287 (GdkGraphics2D): New Constructor. Constructs Graphics
9288 object that can be used to draw into the Buffered Image.
9289 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9290 (GdkGraphicsEnvironment): Fixed to include public
9292 (createGraphics): Implemented.
9293 * gnu/java/awt/peer/gtk/GtkToolkit.java
9294 (getLocalGraphicsEnvironment): Implemented.
9295 * java/awt/GraphicsEnvironment.java:
9296 (getLocalGraphicsEnvironment): Implemented.
9297 * java/awt/image/BufferedImage.java:
9298 (createGraphics): Implemented.
9300 2004-02-24 David Jee <djee@redhat.com>
9302 * java/awt/Component.java
9303 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9304 * java/awt/Container.java
9305 (addNotifyContainerChildren): Fix event enabling.
9307 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9309 * Makefile.am: Added
9310 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9311 * Makefile.in: Re-generated.
9312 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9315 2004-02-19 Kim Ho <kho@redhat.com>
9317 * Makefile.am: Add BasicProgressBarUI
9318 * Makefile.in: Regenerate.
9319 * javax/swing/JProgressBar.java:
9321 * javax/swing/plaf/basic/BasicLookAndFeel.java
9322 Add constants for JProgressBar.
9323 * javax/swing/plaf/basic/BasicProgressBarUI.java
9325 * javax/swing/plaf/basic/BasicSliderUI.java
9327 (calculateGeometry): New method
9328 (paint): Remove unnecessary size calculations.
9330 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9332 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9333 (drawRaster): Fixed small error that caused
9334 imageToUser transformation to be set incorrectly.
9335 (toString): Implemented.
9337 2004-02-18 David Jee <djee@redhat.com>
9339 * java/awt/CardLayout.java
9340 (addLayoutComponent): Show the first component added as the default.
9341 (removeLayoutComponent): After removing, show the next component.
9342 (gotoComponent): If there is only one component, show it and return.
9344 2004-02-18 Kim Ho <kho@redhat.com>
9346 * javax/swing/JSlider.java: Re-order
9348 * javax/swing/JLabel.java: Re-order
9350 * javax/swing/JComponent.java:
9351 (addPropertyChangeListener):
9353 (removePropertyChangeListener):
9355 (firePropertyChangeEvent):
9358 2004-02-17 David Jee <djee@redhat.com>
9360 * java/awt/Component.java
9361 (show): Dispatch ComponentEvent via system event queue.
9365 (reshape): Likewise.
9366 * java/awt/Window.java
9367 (setBoundsCallback): Likewise.
9369 2004-02-17 David Jee <djee@redhat.com>
9371 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9372 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9373 Use gtk_widget_set_size_request() instead of the deprecated
9374 gtk_widget_set_usize().
9376 2004-02-17 Kim Ho <kho@redhat.com>
9378 * javax/swing/JSlider.java: Fix comments and
9379 make property strings constants.
9380 (createStandardLabels): Use the labels
9381 preferred size as bounds.
9382 * javax/swing/plaf/basic/BasicSliderUI.java
9384 (ScrollHandler::actionPerformed): Don't
9385 calculate the timer stop value. Let the
9386 MouseListeners find the stop location.
9387 (getPreferredHorizontalSize): Re-implement.
9388 (getPreferredVerticalSize): ditto.
9389 (getMinimumHorizontalSize): ditto.
9390 (getMinimumVerticalSize): ditto.
9391 (getPreferredSize): ditto.
9392 (getMinimumSize): ditto.
9393 (getMaximumSize): ditto.
9394 (paintTicks): Use doubles to find the
9396 (paintHorizontalLabel):Â Use preferredSize
9397 as initial width and height.
9398 (paintVerticalLabel): ditto.
9400 2004-02-17 Kim Ho <kho@redhat.com>
9402 * javax/swing/JLabel.java: Changed
9403 property strings to constants.
9404 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9406 (setText): Change mnemonic index if
9408 (setDisplayedMnemonicIndex): Fire property
9410 (getDisplayedMnemonicIndex): Remove check
9413 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9415 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9416 (drawImage(img,xform,obs)): Invert xform before
9417 passing the xform to cairo.
9418 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9419 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9421 (drawImage (img,x,y,w,h,obs)): Implemented.
9422 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9423 bgcolor,obs)): Partly implemented.
9424 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9426 * java/awt/image/BufferedImage.java:
9427 (copyData): if dest is null, create raster with same
9428 dimensions as the current image.
9430 2004-02-16 Graydon Hoare <graydon@redhat.com>
9432 * javax/swing/plaf/basic/BasicLabelUI.java
9433 (getPreferredSize): Use layoutCL.
9434 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9435 (getPreferredButtonSize): Start with empty view rect, layout using
9436 component's preferred alignment.
9437 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9440 2004-02-16 David Jee <djee@redhat.com>
9442 * java/awt/Component.java
9443 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9444 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9445 (move): Erase old bounds and repaint new bounds. Dispatch
9446 COMPONENT_MOVED ComponentEvent.
9447 (resize): Erase old bounds and repaint new bounds. Dispatch
9448 COMPONENT_RESIZED ComponentEvent.
9449 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9451 * java/awt/Window.java
9452 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9455 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9457 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9458 (setRenderingHint): Added implementation of
9459 Interpolation rendering hints.
9460 (setRenderingHints): Ditto.
9461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9462 (drawPixels): fixed to allow user to choose type
9463 of filtering that should be used when displaying images.
9464 (cairoSurfaceSetFilter): New method. Sets filter type for
9465 interpolation of pixel values.
9467 2004-02-16 David Jee <djee@redhat.com>
9469 * java/awt/GridBagLayout.java
9470 (calcCellSizes): Rows or columns with zero sizes should still be
9471 considered for extra space distribution.
9473 2004-02-16 Kim Ho <kho@redhat.com>
9475 * javax/swing/JLabel.java: Re-implement.
9476 * javax/swing/plaf/basic/BasicLabelUI.java
9478 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9481 2004-02-16 Kim Ho <kho@redhat.com>
9483 * javax/swing/JSlider.java: Fix indentation and comments.
9484 (setModel): Remove null check to conform with Sun's.
9485 (setOrientation): Throw exception if not
9486 HORIZONTAL or VERTICAL.
9487 (getInverted): Use private variable instead of
9488 ComponentOrientation.
9489 (setInverted): ditto.
9490 * javax/swing/plaf/basic/BasicSliderUI.java:
9491 Fix indentation and comments.
9492 (propertyChange): Remove check for inverted slider, handle
9494 (getMinimumSize): Return preferred size.
9495 (getMaximumSize): ditto.
9496 (calculateFocusRect): Don't relocate rectangle.
9497 (drawInverted): Return XOR of the slider's inversion and
9498 the component's orientation.
9499 (paint): Update leftToRightCache
9501 2004-02-13 David Jee <djee@redhat.com>
9503 * java/awt/GridBagLayout.java
9504 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9505 code to helper methods.
9506 (sortBySpan): New helper method.
9507 (distributeSizeAndWeight): Likewise.
9508 (calcCellWeights): Likewise.
9509 (calcCellSizes): Add comments.
9511 2004-02-13 David Jee <djee@redhat.com>
9513 * java/awt/Component.java
9514 (show): Only do something if component is invisible at the moment.
9515 (hide): Only do something if component is visible at the moment.
9516 (reshape): If lightweight, erase old bounds and repaint new bounds.
9518 2004-02-13 Kim Ho <kho@redhat.com>
9520 * Makefile.am: Updated for new file.
9521 * Makefile.in: Regenerated.
9522 * javax/swing/JSlider.java: Reimplement.
9523 * javax/swing/SwingUtilities.java
9524 (layoutCompoundLabel): Use icon height
9526 (paintComponent): Implement.
9527 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9528 Add JSlider defaults.
9529 * javax/swing/plaf/basic/BasicSliderUI.java:
9530 Implement. New file.
9532 2004-03-17 Michael Koch <konqueror@gmx.de>
9534 * gnu/java/net/PlainDatagramSocketImpl.java
9535 (RECEIVE_LOCK): New member field.
9536 (SEND_LOCK): New member field.
9537 (send0): New method.
9538 (send): Synchronize on SEND_LOCK.
9539 (receive0): New method.
9540 (receive): Synchronize on RECEIVE_LOCK.
9541 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9542 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9543 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9544 (send0): Renamed from send.
9545 (receive0): Renamed from receive.
9546 2004-03-17 Michael Koch <konqueror@gmx.de>
9548 * gnu/java/net/natPlainSocketImplPosix.cc
9549 (write): Just call write(jbyteArray, offset, len).
9550 (read): Just call read(jbyteArray, offset, len).
9552 2004-03-16 Michael Koch <konqueror@gmx.de>
9554 * javax/swing/JTabbedPane.java
9555 (serialVersionUID): New field.
9557 2004-03-16 Norbert Frese <postfach@nfrese.net>
9559 * java/net/InetAddress.java
9560 (getByName): Handle hostname == "" case.
9562 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9564 Reported by: Adam Heath <doogie@debian.org>
9565 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9568 2004-03-15 Michael Koch <konqueror@gmx.de>
9570 * java/util/Locale.java: Reverting my last patch
9571 and add a comment why the original version was okay.
9573 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9575 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9576 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9577 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9578 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9580 2004-03-12 Michael Koch <konqueror@gmx.de>
9582 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9584 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9586 * java/net/URI.java (toURL): Implemented.
9588 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9591 (URI_REGEXP) updated to contain scheme specific part.
9592 (SCHEME_SPEC_PART_GROUP) new constant.
9593 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9594 updated to make room for SCHEME_SPEC_PART_GROUP.
9595 (parseURI) parse scheme specific part.
9596 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9597 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9598 getQuery, getFragment) implemented.
9600 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9602 * libraries/javalib/java/net/URI.java
9603 partially implemented using java.util.regex.
9604 (URI_REGEXP) new constant. Used to parse URIs.
9605 (SCHEME_GROUP) new constant representing index of scheme group
9607 (AUTHORITY_GROUP) new constant representing index of authority
9608 group in parsed URI.
9609 (PATH_GROUP) new constant representing index of path group in
9611 (QUERY_GROUP) new constant representing index of query group in
9613 (FRAGMENT_GROUP) new constant representing index of fragment
9614 group in parsed URI.
9615 (getURIGroup) new static utility method.
9616 (parseURI) implemented.
9617 (quote) stub for new static utility method.
9618 (quoteAuthority) stub for new static utility method.
9619 (quoteHost) stub for new static utility method.
9620 (quotePath) stub for new static utility method.
9621 (quoteUserInfo) stub for new static utility method.
9623 (create) don't throw URISyntaxException. Implemented.
9624 (toString) implemented.
9626 2004-03-12 Michael Koch <konqueror@gmx.de>
9628 * java/net/HttpURLConnection.java
9629 (getResponseCode): Fix another typo in javadoc.
9631 2004-03-11 Michael Koch <konqueror@gmx.de>
9633 * java/util/logging/Level.java
9634 (parse): Use String.equals() instead of ==.
9636 2004-03-11 Michael Koch <konqueror@gmx.de>
9638 * gnu/java/net/protocol/jar/Connection.java
9639 (getContentLength): New method.
9641 2004-03-11 Michael Koch <konqueror@gmx.de>
9643 * gnu/java/net/PlainSocketImpl.java:
9644 Reformated to merge better with classpath's version.
9646 2004-03-11 Michael Koch <konqueror@gmx.de>
9648 * java/util/Locale.java
9649 (getISO3Language): Use String.equals() instead of ==.
9650 (getISO3Country): Likewise.
9652 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9654 * java/text/AttributedString.java
9655 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9656 Use HashMap instead of Hashtable since value can be null, and
9657 you can not store a null value in a Hashtable.
9659 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9661 * java/text/AttributedStringIterator.java
9662 (getAllAttributesKey): Return only keys concerned
9663 by the current iterator.
9664 (getAttributes): Use strict inequality for
9667 2004-03-11 Michael Koch <konqueror@gmx.de>
9669 * java/net/HttpURLConnection.java:
9670 Fixed typo in javadoc.
9672 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9674 * java/io/BufferedInputStream.java (marktarget): New field for max
9676 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9677 (mark): Use new fields.
9679 (read(byte[],int,int)): Likewise.
9683 2004-03-11 Mark Wielaard <mark@klomp.org>
9685 * java/beans/BeanDescriptor.java (BeanDescriptor):
9686 Set the FeatureDescriptor programmatic name.
9688 2004-03-11 Michael Koch <konqueror@gmx.de>
9690 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9691 This file was was just copied form java/io/natFileDescriptorEcos.cc
9692 and never changed to compile correctly.
9694 2004-03-11 Michael Koch <konqueror@gmx.de>
9696 * gnu/java/nio/PipeImpl.java
9697 (SourceChannelImpl): Made final.
9698 (read): Implemented.
9699 (SinkChannelImpl): Made final.
9700 (write): Implemented.
9702 2004-03-11 Michael Koch <konqueror@gmx.de>
9704 * gnu/java/net/PlainDatagramSocketImpl.java:
9705 Reformated to match classpath's version more.
9707 2004-03-11 Michael Koch <konqueror@gmx.de>
9709 * gnu/java/awt/peer/ClasspathFontPeer.java:
9710 Fixed javadoc to be correct xhtml.
9711 * gnu/java/awt/peer/gtk/GtkArgList.java
9712 (add): Use Boolean.valueOf() instead of new Boolean().
9714 2004-03-09 Michael Koch <konqueror@gmx.de>
9716 * java/lang/Thread.java
9717 (runnable): Moved around.
9718 (daemon): Renamed from daemon_flag.
9719 (contextClassLoader): Renamed from context_class_loader.
9720 (Thread): Reordered constructors.
9721 (activeCount): Use group directly.
9722 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9723 (holdsLock): Reworked javadoc.
9724 (setDaemon): Reworked.
9725 * java/lang/natThread.cc
9728 2004-03-08 Anthony Green <green@redhat.com>
9730 * Makefile.am: Build property resource files into libgcj.
9731 * Makefile.in: Rebuilt.
9732 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9733 java/util/regex/PatternSyntaxException.java,
9734 gnu/regexp/CharIndexed.java,
9735 gnu/regexp/CharIndexedCharArray.java,
9736 gnu/regexp/CharIndexedInputStream.java,
9737 gnu/regexp/CharIndexedReader.java,
9738 gnu/regexp/CharIndexedString.java,
9739 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9740 gnu/regexp/REException.java,
9741 gnu/regexp/REFilterInputStream.java,
9742 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9743 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9744 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9745 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9746 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9747 gnu/regexp/RETokenLookAhead.java,
9748 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9749 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9750 gnu/regexp/RETokenStart.java,
9751 gnu/regexp/RETokenWordBoundary.java,
9752 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9754 2004-03-03 Per Bothner <per@bothner.com>
9756 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9757 Optimize when argument is a FileChannelImpl.
9758 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9760 * java/nio/channels/natChannels.cc: New file for new native methods.
9761 * Makefile.am: Update accordingly.
9763 2004-03-02 Jan Hubicka <jh@suse.cz>
9765 * configure.host: Pass -fno-omit-frame-pointer for i386.
9766 * configure.in: Likewise.
9767 * configure: Regenerate.
9769 2004-03-01 Per Bothner <per@bothner.com>
9771 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9773 2004-02-29 Per Bothner <per@bothner.com>
9775 * java/nio/channels/FileChannelImpl.java: Moved to package
9776 gnu/java/nio/channels, since we need to refer to it from java.io.
9777 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9778 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9779 from java/nio/channels. Don't depend on FileDescriptor.
9780 (in, out, err): New static fields.
9782 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9783 from FileDescriptor.
9784 (by): Removed MappedByteBuffer field.
9785 (map): New working implementation.
9786 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9787 some code "ported" from natFileDescriptoPosix.cc.
9788 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9789 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9790 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9791 Remove native methods.
9792 * Makefile.am, configure.in: Updated accordingly.
9794 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9795 (ch): New FileChannelImpl field. Update constructor to match.
9796 (releaseImpl): Remove native method. Instead ...
9797 (release): Call unlock on channel.
9798 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9800 * java/io/natFileDescriptorEcos.cc: Remove file.
9801 * java/io/natFileDescriptorPosix.cc: Remove file.
9802 * java/io/natFileDescriptorWin32.cc: Remove file.
9803 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9804 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9805 (<init>(FileChannelImpl)): New package-private constructor.
9806 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9807 (available, close, read, skip): Implement using FileChannelImpl.
9808 (getFD): Allocate FileDescriptor if needed.
9809 (getChannel): Is now trivial.
9810 * java/io/FileOutputStream.java: Corresponding changes.
9811 * java/io/RandomAccessFile.java: Corresponding changes.
9813 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9814 unmapImpl): New dummy methods, to be overridden by subclass.
9815 (finalize, isLoaded, load, force): New methods.
9816 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9817 Now works, at least for read mapping.
9819 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9820 streams using FileChannelImpl, not FileDescriptor.
9821 * java/lang/natWin32Process.cc (startProcess): Likewise.
9823 2004-02-28 Michael Koch <konqueror@gmx.de>
9825 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9828 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9830 * java/io/ObjectInputStream.java
9831 (readClassDescriptor): Keep elements of the mapping non null.
9832 (checkTypeConsistency): New method.
9833 (readFields): Fixed main loop and base logic. Small reindentation.
9834 * java/io/ObjectStreamField.java
9835 (lookupField): New method to update the field reference.
9836 (checkFieldType): New method.
9837 * java/io/ObjectStreamClass.java
9838 (setClass, setFields): Call lookupField when building the field
9839 database. Check the real field type.
9841 2004-02-28 Michael Koch <konqueror@gmx.de>
9843 * java/nio/ByteOrder.java
9844 (nativeOrder): Use equals() to compare strings.
9846 2004-02-26 Michael Koch <konqueror@gmx.de>
9848 * gnu/java/nio/FileLockImpl.java
9849 (finalize): Made protected.
9850 * java/nio/channels/FileChannel.java
9851 (MapMode.READ_ONLY): Made final.
9852 (MapMode.READ_WRITE): Made final.
9853 (MapMode.PRIVATE): Made final.
9854 * java/nio/channels/SocketChannel.java
9855 (open): Simplified code.
9856 * java/nio/channels/spi/AbstractSelectableChannel.java
9857 (registered): Unused, removed.
9858 (keyFor): Check channel is open, only locate key
9859 and not add a new one.
9860 (register): Don't delete attachments.
9862 2004-02-26 Michael Koch <konqueror@gmx.de>
9864 * gnu/java/awt/ComponentDataBlitOp.java
9865 (INSTANCE): Made final.
9866 * gnu/java/awt/image/ImageDecoder.java:
9868 (cm): Unused, removed.
9870 2004-02-26 Michael Koch <konqueror@gmx.de>
9872 * gnu/java/nio/DatagramChannelImpl.java
9873 (send): Check if target address is resolved.
9875 2004-02-26 Michael Koch <konqueror@gmx.de>
9877 * Makefile.am: Generate and install headers for inner classes in
9878 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9879 * Makefile.in: Regenerated.
9881 2004-02-24 Anthony Green <green@redhat.com>
9883 * java/lang/StringBuffer.java: No need to NULL out remainder of
9884 buffer since ensureCapacity_unsynchronized will have done this for
9887 2004-02-20 Michael Koch <konqueror@gmx.de>
9889 * gnu/java/net/protocol/jar/Handler.java
9890 (): Removed unneeded check for file != null. java.net.URL.getFile()
9891 returns an empty string but never null.
9893 2004-02-20 Michael Koch <konqueror@gmx.de>
9895 * gnu/gcj/convert/Convert.java
9896 (main): Use equals() to compare strings.
9898 2004-02-20 Michael Koch <konqueror@gmx.de>
9900 * javax/swing/AbstractButton.java: Made several constants final.
9901 (getRolloverSelectedIcon): Made public.
9902 (getSelectedIcon): Made public.
9904 2004-02-16 Per Bothner <per@bothner.com>
9906 * java/nio/CharBufferImpl.java: Inline super constructor.
9907 * java/nio/DoubleBufferImpl.java: Likewise.
9908 * java/nio/FloatBufferImpl.java: Likewise.
9909 * java/nio/IntBufferImpl.java: Likewise.
9910 * java/nio/LongBufferImpl.java: Likewise.
9911 * java/nio/ShortBufferImpl.java: Likewise.
9912 * java/nio/CharBuffer.java: Remove unused constructor.
9913 * java/nio/DoubleBuffer.java: Likewise.
9914 * java/nio/FloatBuffer.java: Likewise.
9915 * java/nio/IntBuffer.java: Likewise.
9916 * java/nio/LongBuffer.java: Likewise.
9917 * java/nio/ShortBuffer.java: Likewise.
9918 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9919 Fix buggy call to super constructor.
9920 * java/nio/DoubleViewBufferImpl.java: Likewise.
9921 * java/nio/FloatViewBufferImpl.java: Likewise.
9922 * java/nio/IntViewBufferImpl.java: Likewise.
9923 * java/nio/LongViewBufferImpl.java: Likewise.
9924 * java/nio/ShortViewBufferImpl.java: Likewise.
9926 * java/nio/ByteBuffer.java (endian): Make non-private so other
9927 java.nio classes can inherit it.
9928 (<init>): Don't bother clearing array_offset.
9929 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9930 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9931 Remove redundant test.
9933 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9934 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9935 Use new XxxViewBufferImpl constructors.
9936 * java/nio/MappedByteBufferImpl.java: Likewise.
9937 * java/nio/DirectByteBufferImpl.java: Likewise.
9939 * java/nio/ByteBufferImpl.java: Remove one constructor.
9940 Inline super in remaining constructor.
9941 * java/nio/ByteBuffer.java: Remove unused constructor.
9943 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9945 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9946 * java/nio/DirectByteBufferImpl.java (owner): New field.
9947 (offset): Remove unused field.
9948 (<init>): Modify one and add another constructor. Change callers.
9949 (allocateDirect): Removed - not used.
9950 (getImpl, putImpl): Make static and pass address explicitly,
9951 to make them useful for MappedByteBufferImpl.
9952 (get, put): Check for underflow. Modify for new getImpl.
9953 (getImpl): New native method where target is array.
9954 (get(byte[],int,int)): Use the above.
9955 (adjustAddress): New static native method.
9956 (slice, duplicate, asReadOnly): New implementations.
9957 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9958 adjustAddress): New or updated native methods.
9960 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9962 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9963 overflow of fieldmapping.
9965 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9967 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9969 2004-02-14 Per Bothner <per@bothner.com>
9971 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9972 Set closed before calling implCloseChannel, as in the spec.
9974 2004-02-09 Graydon Hoare <graydon@redhat.com>
9976 * javax/swing/ToggleButtonModel.java: Remove dead class.
9977 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9978 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9979 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9980 * Makefile.am: Update for new and removed files.
9981 * Makefile.in: Regenerate.
9983 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9984 * javax/swing/AbstractButton.java
9985 (AbstractButton): Initialize fields correctly in ctor.
9986 * javax/swing/JCheckbox.java
9987 (JCheckBox): Override painting flags.
9988 * javax/swing/DefaultButtonModel.java: Conform to sun.
9989 * javax/swing/JComponent.java (paint): Fill with background color
9991 (processComponentKeyEvent)
9994 (processMouseMotionEvent): Remove event-consuming empty methods.
9995 (getUIClassID): Return "ComponentUI" not "JComponent"
9996 * javax/swing/JFrame.java: Remove some debugging chatter.
9997 (JFrame): Subscribe to window events.
9998 * javax/swing/JRadioButton.java
9999 (JRadioButton): Override painting flags.
10000 * javax/swing/JRootPane.java
10001 (JRootPane): Set background from UIDefaults.
10002 * javax/swing/JToggleButton.java
10003 (ToggleButtonModel): New inner class.
10004 (JToggleButton): Override layout alighment.
10005 * javax/swing/SwingUtilities.java:
10006 (getLocalBounds): Return width and height, not x and y.
10007 (calculateInnerArea): Use local bounds, not bounds.
10008 (layoutCompoundLabel): Provide overridden form.
10009 (layoutCompoundLabel): Correct bugs.
10010 * javax/swing/UIDefaults.java: Correct comment.
10011 * javax/swing/plaf/basic/BasicButtonUI.java:
10012 Move most logic into defaults, external listener.
10013 (paintIcon): Implement icon painting.
10014 (paint): Fix state painting to conform to changes in model.
10015 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10016 Remove most dead/wrong methods.
10017 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10018 * javax/swing/plaf/basic/BasicIconFactory.java:
10019 (DummyIcon): New class.
10020 (getMenuItemCheckIcon)
10021 (getMenuItemArrowIcon)
10023 (getCheckBoxMenuItemIcon)
10024 (getRadioButtonMenuItemIcon)
10025 (createEmptyFrameIcon): Return DummyIcons, not null.
10026 (getCheckBoxIcon): Implement an icon that looks like sun's.
10027 (getRadioButtonIcon): Implement an icon that looks like sun's.
10028 * javax/swing/plaf/basic/BasicLookAndFeel.java
10029 (initComponentDefaults): Fix impossible values, add some missing.
10030 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10031 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10032 Remove most dead/wrong methods.
10034 (getDefaultIcon): New method.
10035 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10036 Remove most dead/wrong methods.
10037 * javax/swing/plaf/metal/MetalLookAndFeel.java
10038 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10040 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10041 Implement "clearing" as drawing, when on pixmap drawables.
10043 * javax/swing/JButton.java (getUIClassID):
10044 * javax/swing/JCheckBox.java (getUIClassID):
10045 * javax/swing/JEditorPane.java (getUIClassID):
10046 * javax/swing/JLabel.java (getUIClassID):
10047 * javax/swing/JList.java (getUIClassID):
10048 * javax/swing/JOptionPane.java (getUIClassID):
10049 * javax/swing/JPanel.java (getUIClassID):
10050 * javax/swing/JPasswordField.java (uiClassID):
10051 * javax/swing/JRadioButton.java (getUIClassID):
10052 * javax/swing/JRootPane.java (getUIClassID):
10053 * javax/swing/JScrollPane.java (getUIClassID):
10054 * javax/swing/JTabbedPane.java (getUIClassID):
10055 * javax/swing/JToggleButton.java (getUIClassID):
10056 * javax/swing/JTree.java (getUIClassID):
10057 * javax/swing/JViewport.java (getUIClassID):
10058 * javax/swing/text/JTextComponent.java (getUIClassID):
10059 Return "fooUI" not "Jfoo"
10061 2004-02-11 Michael Koch <konqueror@gmx.de>
10063 * java/net/DatagramSocket.java
10064 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10066 (setBroadcast): Likewise.
10067 * java/net/MulticastSocket.java
10068 (setLoopbackMode): Likewise.
10069 * java/net/ServerSocket.java
10070 (setReuseAddress): Likewise.
10071 * java/net/Socket.java
10072 (setTcpNoDelay): Likewise.
10073 (setSoLinger): Likewise.
10074 (setOOBInline): Likewise.
10075 (setKeepAlive): Likewise.
10076 (setReuseAddress): Likewise.
10077 * java/net/URLConnection.java
10078 (setContentHandler): Replace == with equals().
10079 * java/net/URLStreamHandler.java
10080 (hostSEquals): Fix checking host addresses.
10081 (toExternalForm): Dont check protocol for null. We know already its
10084 2004-02-10 David Jee <djee@redhat.com>
10086 * java/awt/BorderLayout.java
10087 (calcCompSize): Invisible components get zero dimensions.
10088 * java/awt/Button.java
10089 (setLabel): Set actionCommand.
10090 * java/awt/Component.java
10091 (show): Invalidate component and parent container.
10094 2004-02-10 David Jee <djee@redhat.com>
10096 * java/awt/GridBagLayout.java
10097 (GridBagLayout): New private field, internalcomptable.
10098 (lookupInternalConstraints): New method.
10099 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10100 (GetLayoutInfo): Reimplement.
10101 (calcCellSizes): Ignore rows/columns with size 0.
10103 2004-02-10 Michael Koch <konqueror@gmx.de>
10105 * gnu/java/awt/EmbeddedWindow.java
10106 (setHandle): Use java.awt.Component.getPeer() instead of
10107 java.awt.Component.peer directly.
10109 2004-02-10 David Jee <djee@redhat.com>
10111 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10112 (gtkSetLabel): New native method definition.
10113 (setLabel): Use gtkSetLabel.
10114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10115 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10117 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10119 * include/powerpc-signal.h: Revert 2004-01-21 change.
10120 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10121 from syscall for ppc32 versions.
10123 2004-02-08 Per Bothner <per@bothner.com>
10125 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10126 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10127 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10128 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10129 Pass ByteOrder parameter to most methods, since the underlying
10130 ByteBuffer's order isn't always what we should use.
10131 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10132 * java/nio/DirectByteBufferImpl.java: Likewise.
10133 Use ByteBufferHelper methods.
10134 * java/nio/MappedByteBufferImpl.java: Likewise.
10135 (compact): Use shiftDown.
10136 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10137 (get, put): Use ByteBufferHelper.
10138 (compact): Use new shiftDown method.
10139 (duplicate(boolean)): New helper method.
10140 (duplicate, asReadOnlyBuffer): Use it.
10141 (order): Return endian field.
10142 * java/nio/DoubleViewBufferImpl.java: Likewise.
10143 * java/nio/FloatViewBufferImpl.java: Likewise.
10144 * java/nio/IntViewBufferImpl.java: Likewise.
10145 * java/nio/LongViewBufferImpl.java: Likewise.
10146 * java/nio/ShortViewBufferImpl.java: Likewise.
10147 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10148 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10149 (compact): Re-implement using shiftDown.
10151 2004-02-08 Andreas Jaeger <aj@suse.de>
10153 * include/x86_64-signal.h: Fix typo.
10155 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10157 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10158 qualifier to _regs.
10159 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10161 2004-02-06 Michael Koch <konqueror@gmx.de>
10163 * java/io/ObjectInputStream.java
10164 (currentClassLoader): Reverted to old version of this method.
10166 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10168 * java/io/ObjectInputStream.java: Made all calls
10169 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10170 use cached info from ObjectStreamClass. (readClassDescriptor):
10171 Cache more information in ObjectStreamClass. (processResolution,
10172 readFields): Use cached info from ObjectStreamClass.
10173 (newObject): Throw exception instead of returning null for failure.
10174 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10175 setCharField, setDoubleField, setFloatField, setIntField,
10176 setLongField, setShortField, setObjectField, readObjectParams):
10177 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10179 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10180 (setClass): Added call to cacheMethods() (findMethod): New method.
10181 (cacheMethods): New method. (ObjectStreamClass): Added call to
10182 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10183 AccessController.doPrivileged to invoke setAccessible.
10184 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10185 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10187 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10188 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10189 isPrimitive): Made safe for cases where type == null.
10190 (setBooleanField, setByteField, setCharField, setShortField,
10191 setIntField, setLongField, setFloatField, setDoubleField,
10192 setObjectField): New methods.
10194 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10196 * java/awt/Component.java (getFont): Return a default font
10199 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10200 (Scrollbar (int, int, int, int, int)): Make default page
10202 (setValues): Only call peer.setValues if one of the values has
10204 (generateName): New method.
10205 (getUniqueLong): New method.
10206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10207 (range_scrollbar): Remove structure.
10208 (post_adjustment_event): Remove function.
10209 (post_change_event): Accept jobject argument.
10210 (create): Cast jints to gdoubles. Round scrollbar values to the
10211 nearest integer. Clamp min, max and value settings.
10212 (connectJObject): Connect hook to widget->window.
10213 (connectSignals): Remove range_scrollbar structure variables.
10214 Remove "move-slider" connection. Pass global peer reference to
10215 "value-changed" callback.
10216 (setLineIncrement): Cast jint value to gdouble.
10217 (setPageIncrement): Likewise.
10218 (setValues): Likewise. Clamp min, max and value settings.
10220 2004-02-05 Michael Koch <konqueror@gmx.de>
10222 * javax/swing/AbstractCellEditor.java
10223 (getCellEditorValue): Removed.
10224 * javax/swing/Box.java: Reformated.
10225 (serialVersionUID): New field.
10226 * javax/swing/ButtonGroup.java:
10227 Removed some weird whitespace.
10228 * javax/swing/CellEditor.java: Reformated.
10229 * javax/swing/CellRendererPane.java
10230 (serialVersionUID): New field.
10231 (AccessibleCellRendererPaneserialVersionUID): New field.
10232 * javax/swing/DefaultListModel.java
10233 (serialVersionUID): New field.
10234 * javax/swing/JEditorPane.java
10235 (serialVersionUID): New field.
10236 (setPage): Throws IOException.
10237 (addHyperlinkListener): Implemented.
10238 (removeHyperlinkListener): Implemented.
10239 (getHyperlinkListener): New method.
10240 * javax/swing/JFileChooser.java
10241 (serialVersionUID): New field.
10242 (AccessibleJFileChooser.serialVersionUID): New field.
10243 (addActionListener): Implemented.
10244 (removeActionListener): Implemented.
10245 (getActionListeners): New method.
10246 * javax/swing/JFormattedTextField.java
10247 (serialVersionUID): New field.
10248 (AbstractFormatter.serialVersionUID): New field.
10249 (clone): Throws CloneNotSupportedException
10250 (setEditValid): Add missing argument.
10251 (stringToValue): Throws ParseExcpetion.
10252 (valueToString): Throws ParseException.
10253 (commitEdit): Throws ParseException.
10254 * javax/swing/JLabel.java
10255 (serialVersionUID): New field.
10256 * javax/swing/JList.java
10257 (serialVersionUID): New field.
10258 (addListSelectionListener): Reformated.
10259 (removeListSelectionListener): Reformated.
10260 (getListSelectionListeners): New method.
10261 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10263 (serialVersionUID): New field.
10264 * javax/swing/table/AbstractTableModel.java
10265 (getValueAt): Removed.
10266 (getColumnCount): Removed.
10267 (getRowCount): Removed.
10269 2004-02-05 Michael Koch <konqueror@gmx.de>
10271 * java/awt/datatransfer/DataFlavor.java
10272 (imageFlavor): Javadoc added.
10273 (javaJVMLocalObjectType): Fixed.
10275 2004-02-05 Michael Koch <konqueror@gmx.de>
10277 * java/lang/Thread.java
10278 (Thread): Reordered.
10279 (setContextClassLoader): Fixed javadoc comment.
10280 (setPriority): Reordered.
10281 (yield): Reordered.
10282 (initialize_native): Reordered.
10283 (gen_name): Reordered.
10285 2004-02-05 Michael Koch <konqueror@gmx.de>
10287 * java/lang/Thread.java: Reordered fields, reformated much code,
10288 no functional changes, some variables renamed, javadoc comments
10291 2004-02-05 Michael Koch <konqueror@gmx.de>
10293 * java/util/zip/Deflater.java,
10294 java/util/zip/DeflaterOutputStream.java,
10295 java/util/zip/GZIPInputStream.java:
10296 Reformated and javadoc comments merged from classpath.
10298 2004-02-05 Michael Koch <konqueror@gmx.de>
10300 * gnu/java/nio/NIOServerSocket.java
10301 (impl): Unused, removed.
10302 * gnu/java/nio/SocketChannelImpl.java
10303 (finnishConnect): Don't throw NoConnectionPendingException if not
10304 connected or no connection pending.
10306 2004-02-02 Graydon Hoare <graydon@redhat.com>
10308 * javax/swing/SwingUtilities.java: Many new functions.
10309 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10310 * javax/swing/basic/BasicGraphicsUtils.java
10311 (getPreferredButtonSize): Start layout from top-left corner.
10313 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10315 * java/awt/geom/AffineTransform.java:
10316 Corrected comments on the field definitions for
10318 (shear): Fixed few errors that caused shear
10319 transformation to be performed incorrectly.
10320 (createInverse): Fixed to return correct
10321 inverse of the given matrix.
10323 2004-02-03 Tom Tromey <tromey@redhat.com>
10325 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10326 PATH or LD_LIBRARY_PATH is not set in parent environment.
10328 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10330 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10331 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10332 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10333 java/awt/Component.java, java/awt/Container.java,
10334 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10335 java/awt/LayoutManager2.java, java/awt/List.java,
10336 java/awt/Menu.java, java/awt/MenuBar.java,
10337 java/awt/MenuItem.java, java/awt/Polygon.java,
10338 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10339 java/awt/Scrollbar.java, java/awt/TextArea.java,
10340 java/awt/TextField.java,
10341 java/awt/image/renderable/RenderContext.java,
10342 javax/swing/JApplet.java: Fix handling of alias methods, where a
10343 method has been deprecated in favour of a new one with the same
10344 funtion but a different name. Put the method implementation in
10345 the deprecated method and have the new method call the
10346 deprecated one. Make all other code call the new method.
10348 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10350 * gnu/java/nio/DatagramChannelImpl.java
10351 (inChannelOperation): New field.
10352 (isInChannelOperation): New accessor.
10353 (setInChannelOperation): New modifier.
10354 (receive): Use capacity() - position() of destination
10355 buffer instead of remaining(). Set and reset our "in
10356 channel operation indicator" before and after delegating
10357 the receive to our datagram socket. Removed testing code.
10358 Update destination buffer's current position if it is
10359 backed by a byte array (hasArray() is true).
10360 (send): Set and reset our "in channel operation indicator"
10361 before and after delegating the send to our datagram socket.
10362 Removed testing code. Update source buffer's current position
10363 if it is backed by a byte array (hasArray() is true).
10364 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10365 Use capacity() - position() of destination buffer instead
10367 * java/net/DatagramSocket.java (receive): Don't throw an
10368 IllegalBlockingModeException if we have a non-blocking
10369 channel which initiated this operation.
10372 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10374 * configure.in: Add pkgconfig check for glib and gthread.
10375 * configure: Regenerate.
10377 2004-02-01 Michael Koch <konqueror@gmx.de>
10379 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10381 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10382 * verify.cc (debug_print): Mark 'fmt' unused.
10384 2004-01-30 Michael Koch <konqueror@gmx.de>
10386 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10387 * configure: Regenerated.
10388 * glib-2.0.m4: Removed.
10389 * gtk-2.0.m4: Removed.
10390 * libart.m4: Removed.
10391 * pkg.m4: New file.
10393 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10395 * gnu/java/net/PlainSocketImpl.java
10396 (inChannelOperation): New field.
10397 (isInChannelOperation): New accessor.
10398 (setInChannelOperation): New modifier.
10399 * gnu/java/nio/ServerSocketChannelImpl.java
10400 (accept): Set and reset our server socket's PlainSocketImpl's
10401 "in channel operation" indicator before and after delegating
10402 the accept to our server socket.
10403 * gnu/java/nio/SocketChannelImpl.java
10404 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10405 operation" indicator before and after delegating the operation to
10409 * java/net/ServerSocket.java (implAccept): Don't throw an
10410 IllegalBlockingModeException if we have a non-blocking
10411 channel which initiated this accept operation.
10412 * java/net/Socket.java (connect): Don't throw an
10413 IllegalBlockingModeException if we have a non-blocking
10414 channel which initiated this connect operation.
10415 * java/nio/channels/spi/AbstractSelectableChannel.java
10416 (configureBlocking): Only call implConfigureBlocking() if
10417 the desired blocking mode is different from our current one.
10419 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10421 * java/io/BufferedReader.java (sbuf): New field.
10422 (readLine): Use String.valueOf instead of new String() as per
10423 Per Bothner's suggestion. Use instance sbuf field instead of a
10424 local StringBuffer instance.
10425 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10426 caller's buffer to refill().
10427 (read(void)): Pass our internal work buffer to refill if our
10428 input queue is empty.
10429 (refill): Changed return type to int. Use the specified buffer
10430 instead of our work buffer as per Bryce McKinlay's suggestion.
10431 Return the number of characters read or -1 for EOF.
10433 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10435 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10437 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10439 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10440 * Makefile.in: Re-generated.
10441 * gnu/awt/xlib/XFontPeer.java: New file.
10442 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10443 (setClip): Commented out debug printout.
10444 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10445 (getFontPeer): Return XFontPeer.
10446 (getLocalGraphicsEnvironment): New method.
10447 (getClasspathFontPeer): New method.
10448 (createFont): New method.
10450 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10452 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10455 2004-01-29 Kim Ho <kho@redhat.com>
10457 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10458 (gtkLayoutSetVisible): New method
10459 (setMenuBar): Hide layout before setting MenuBar
10460 and reshow it after.
10461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10462 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10464 2004-01-28 Michael Koch <konqueror@gmx.de>
10466 * gnu/java/lang/ClassHelper.java
10467 (getPackagePortion): Removed.
10469 2004-01-28 Michael Koch <konqueror@gmx.de>
10471 * javax/swing/JComponent.java
10472 (listenerList): Initalize globally.
10473 (ancestor_list): Removed.
10474 (veto_list): Removed.
10475 (change_list): Removed.
10476 (get_veto_list): Removed.
10477 (get_change_list): Removed.
10478 (get_ancestor_list): Removed.
10479 (removeAncestorListener): Reimplemented.
10480 (removePropertyChangeListener): Likewise.
10481 (removeVetoableChangeListener): Likewise.
10482 (addAncestorListener): Likewise.
10483 (addPropertyChangeListener): Likewise.
10484 (addVetoableChangeListener): Likewise.
10485 (getListeners): New method.
10486 (getAncestorListeners): Likewise.
10487 (getVetoableChangeListeners): Likewise.
10488 (fireVetoableChange): Throws PropertyVetoException.
10489 * javax/swing/JEditorPane.java
10490 (JEditorPane): Throws IOException.
10492 2004-01-28 David Jee <djee@redhat.com>
10494 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10495 (create): Set the default foreground color to
10496 java.awt.SystemColor.windowText.
10498 2004-01-27 Michael Koch <konqueror@gmx.de>
10500 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10501 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10502 Reindented to merge with classpath.
10504 2004-01-27 David Jee <djee@redhat.com>
10506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10507 (addExposeFilter): Handle GtkFramePeer separately.
10508 (removeExposeFilter): Likewise.
10510 2004-01-27 Michael Koch <konqueror@gmx.de>
10512 * gnu/java/net/protocol/http/Connection.java
10513 (getOutputStream): Fixed typo.
10515 2004-01-27 Michael Koch <konqueror@gmx.de>
10517 * java/lang/Class.java
10518 (getConstructor): Removed SecurityException from throws clause.
10519 (_getConstructors): Likewise.
10520 (getConstructors): Likewise.
10521 (getDeclaredConstructor): Likewise.
10522 (getDeclaredClasses): Likewise.
10523 (getDeclaredConstructors): Likewise.
10524 (getDeclaredField): Likewise.
10525 (getDeclaredMethod): Likewise.
10526 (getDeclaredMethods): Likewise.
10527 (getField): Likewise.
10528 (getMethod): Likewise.
10529 (getMethods): Likewise.
10531 2004-01-27 Kim Ho <kho@redhat.com>
10533 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10534 (removeMenuBarPeer): Remove MenuBarPeer argument.
10535 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10536 (dispose): Call native method.
10537 * java/awt/Frame.java (setMenuBar): Create and remove
10538 MenuBar peers only if the Frame has a peer.
10539 (addNotify): Create the MenuBar peer if one exists.
10540 (removeNotify): Remove MenuBar peer if one exists.
10541 * java/awt/Menu.java: Fix imports.
10542 (addNotify): Don't use full class name.
10543 (removeNotify): Call removeNotify on all children.
10544 * java/awt/MenuBar.java (removeNotify): Call
10545 removeNotify on all children.
10546 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10547 (removeMenuBarPeer): Remove MenuBarPeer argument.
10548 Iterate through children to find the Frame's MenuBar.
10549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10551 (dispose): Remove references to the MenuComponent.
10553 2004-01-27 Michael Koch <konqueror@gmx.de>
10555 * javax/swing/AbstractCellEditor.java: Reformated.
10556 * javax/swing/DefaultListSelectionModel.java
10557 (listenerList): Made protected.
10558 (addListSelectionListener): Javadoc added.
10559 (removeListSelectionListener): Likewise.
10560 (getListeners): Likewise.
10561 (getListSelectionListeners): Likewise.
10562 * javax/swing/JComboBox.java: Merged copyright year.
10563 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10565 2004-01-26 Andrew Haley <aph@redhat.com>
10567 * javax/swing/table/JTableHeader.java: Extend JComponent
10569 2004-01-26 Kim Ho <kho@redhat.com>
10571 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10574 2004-01-26 Kim Ho <kho@redhat.com>
10576 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10578 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10579 height and let the Layout Managers readjust anything that
10581 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10582 (moveLayout): New method. Shift everything in the Gtk
10583 layout in the Y direction by an offset.
10585 2004-01-26 David Jee <djee@redhat.com>
10587 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10588 (handleEvent): Implemented. Handles PaintEvents.
10589 (paint): Implemented. Use GTK native methods to queue updates
10590 for this heavyweight peer.
10591 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10592 (handleEvent): Removed.
10593 * java/awt/Component.java
10594 (paint): Implemented. Explictly paint the heavyweight peer.
10595 (update): Clear the background for heavyweight components.
10596 (paintAll): No need to call peer.paint() anymore.
10597 (processEvent): Don't process PaintEvents here. It's now done in
10598 the peer's handleEvent().
10599 (processPaintEvent): Removed.
10600 * java/awt/Container.java
10601 (paint): No need to call super.paint(). Visit heavyweight
10603 (update): Don't clear the background here. It's done in
10604 Component.update().
10605 (visitChildren): Added check to not recurse into Containers.
10606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10607 (filter_expose_event_handler): New method. Filter unwanted
10608 expose events while painting heavyweight peers.
10609 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10610 New method. Connect filter and block pre_event_handler.
10611 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10612 New method. Disconnect filter and unblock pre_event_handler.
10613 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10614 New method. Invalidate and update given area.
10615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10616 (pre_event_handler): Add checks for unwanted expose events.
10618 2004-01-26 David Jee <djee@redhat.com>
10620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10621 (find_bg_color_widget): For GtkButton, return its child.
10623 2004-01-26 Kim Ho <kho@redhat.com>
10625 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10627 (setMenuBar): Grab MenuBar height and change insets.
10628 (setBounds): Account for MenuBar height.
10629 (postInsetsChangedEvent): Ditto.
10630 (postSizeAllocateEvent): Remove.
10631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10632 (menubar_resize_cb): Remove
10633 (setMenuBarPeer): Remove callback.
10634 (getMenuBarHeight): Use size requisition instead of
10637 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10639 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10640 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10642 (setColumns): Remove FIXME -- peer will retrieve number of
10643 columns by calling getColumns.
10644 (setRows): Likewise for number of rows.
10645 (next_text_number): New field.
10646 (paramString): Fix param string.
10647 (generateName): New method.
10648 (getUniqueLong): New method.
10650 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10652 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10653 image observer of image loading status.
10654 (getImage (String)): Start image production.
10655 (getImage (URL)): Likewise.
10657 2004-01-25 Michael Koch <konqueror@gmx.de>
10659 * java/lang/Class.java: Imports reworked, reformated.
10660 (Class): Javadoc added.
10661 (forName): Likewise.
10662 (getClasses): Likewise.
10663 (getClassLoader): Likewise.
10664 (getComponentType): Likewise.
10665 (getConstructor): Likewise.
10666 (getConstructors): Likewise.
10667 (getDeclaredConstructor): Likewise.
10668 (getDeclaredClasses): Likewise.
10669 (getDeclaredConstructors): Likewise.
10670 (getDeclaredField): Likewise.
10671 (getDeclaredMethod): Likewise.
10672 (getDeclaredMethods): Likewise.
10673 (getDeclaringClass): Likewise.
10674 (getField): Likewise.
10675 (getInterfaces): Likewise.
10676 (getMethod): Likewise.
10677 (getMethods): Likewise.
10678 (getModifiers): Likewise.
10679 (getName): Likewise.
10680 (getResource): Likewise.
10681 (getResourceAsStream): Likewise.
10682 (getSigners): Likewise.
10683 (setSigners): Likewise.
10684 (getSuperclass): Likewise.
10685 (isArray): Likewise.
10686 (isAssignableFrom): Likewise.
10687 (isInstance): Likewise.
10688 (isInterface): Likewise.
10689 (isPrimitive): Likewise.
10690 (newInstance): Likewise.
10691 (getProtectionDomain): Likewise.
10692 (toString): Likewise.
10694 (initializeClass): Likewise.
10695 (finalize): Likewise.
10697 2004-01-24 Michael Koch <konqueror@gmx.de>
10699 * gnu/java/net/protocol/jar/Connection.java
10700 (hdrHash): Removed.
10702 (gotHeaders): Removed.
10703 (getHeaderField): Removed.
10704 (getHeaderFields): Removed.
10705 (getHeaderFieldKey): Removed.
10707 (getField): Removed.
10708 (getHeaders): Removed.
10710 2004-01-24 Michael Koch <konqueror@gmx.de>
10712 * Makefile.am: Added library version to gtk peer lib.
10713 * Makefile.in: Regenerated.
10715 2004-01-24 Michael Koch <konqueror@gmx.de>
10717 * java/util/zip/InflaterInputStream.java: Merged class documentation
10720 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10722 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10723 header. For __powerpc64__ provide the default-signal.h definitions
10725 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10726 instead of the dummy definitions.
10727 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10728 (powerpc64*-*): Remove with_libffi_default.
10729 Only add -mminimal-toc for 64-bit compilations.
10730 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10731 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10732 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10733 * configure: Rebuilt.
10735 2004-01-23 Michael Koch <konqueror@gmx.de>
10737 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10739 2004-01-23 Michael Koch <konqueror@gmx.de>
10741 * java/lang/VMClassLoader.java: Reworked imports.
10743 2004-01-23 Michael Koch <konqueror@gmx.de>
10745 * javax/swing/AbstractAction.java: Reformated.
10747 2004-01-23 Michael Koch <konqueror@gmx.de>
10749 * java/text/CollationElementIterator.java:
10750 (setText): New method.
10752 2004-01-23 Michael Koch <konqueror@gmx.de>
10754 * gnu/java/nio/FileLockImpl.java:
10755 Fixed filename in copyright.
10756 (released): Removed.
10757 (finalize): New method.
10758 * gnu/java/nio/natFileLockImpl.cc
10759 (releaseImpl): Implemented.
10760 * java/nio/channels/FileChannelImpl.java:
10762 (lock): Implemented.
10763 (lockImpl): New method.
10764 (tryLock): Implemented.
10765 (tryLockImpl): New method.
10766 * java/nio/channels/natFileChannelImpl.cc
10767 (lockImpl): New method.
10768 (tryLockImpl): New method.
10770 2004-01-23 Michael Koch <konqueror@gmx.de>
10772 * java/io/FileDescriptor.java
10773 (lock): New method.
10774 (tryLock): New method.
10775 (unlock): New method.
10776 * java/io/natFileDescriptorEcos.cc
10777 (lock): New method.
10778 (tryLock): New method.
10779 (unlock): New method.
10780 * java/io/natFileDescriptorPosix.cc
10781 (lock): New method.
10782 (tryLock): New method.
10783 (unlock): New method.
10784 * java/io/natFileDescriptorWin32.cc
10785 (lock): New method.
10786 (tryLock): New method.
10787 (unlock): New method.
10789 2004-01-23 Michael Koch <konqueror@gmx.de>
10791 * java/io/FileDescriptor.java
10792 (sync): Moved around, added javadoc.
10797 (setLength): Likewise.
10799 (getLength): Likewise.
10800 (getFilePointer): Likewise.
10802 (available): Likewise.
10803 (finalize): Likewise.
10805 2004-01-23 Michael Koch <konqueror@gmx.de>
10807 * javax/swing/AbstractAction.java: Reformated.
10808 (getPropertyChangeListeners): New method.
10809 * javax/swing/AbstractCellEditor.java: Reformated.
10810 (getCellEditorListeners): New method.
10811 * javax/swing/DefaultListSelectionModel.java
10812 (listenerList): New field.
10813 (listeners): Removed.
10814 (get_listeners): Removed.
10815 (addListSelectionListener): Rewritten.
10816 (removeListSelectionListener): Rewritten.
10817 (getListSelectionListeners): New method.
10818 (getListeners): New method.
10819 * javax/swing/JComboBox.java: Imports reworked.
10820 (addActionListener): Implemented.
10821 (removeActionListener): Implemented.
10822 (addItemListener): Implemented.
10823 (removeItemListener): Implemented.
10824 (addPopupMenuListener): Implemented.
10825 (removePopupMenuListener): Implemented.
10826 (getActionListeners): New method.
10827 (getItemListeners): New method.
10828 (getPopupMenuListeners): New method.
10830 2004-01-23 Michael Koch <konqueror@gmx.de>
10832 * gnu/java/net/protocol/http/Connection.java
10833 (connect): Don't initialize bufferedOutputStream if not needed.
10834 (sendRequest): Set property for content length if content is present.
10835 Write content only if present.
10836 (getOutputStream): Check if already connected, dont connect,
10837 initalize bufferedOutputStream if needed.
10839 2004-01-23 Michael Koch <konqueror@gmx.de>
10841 * java/io/FileDescriptor.java
10842 (in, out, err): Added javadoc.
10843 (static): Merged loading code.
10844 (fd, position): Moved around.
10846 2004-01-23 Michael Koch <konqueror@gmx.de>
10848 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10851 2004-01-23 Michael Koch <konqueror@gmx.de>
10853 * java/lang/Class.java,
10854 java/lang/Object.java,
10855 java/lang/Thread.java: Merged copyright with classpath.
10857 2004-01-23 Michael Koch <konqueror@gmx.de>
10859 * java/io/FileDescriptor.java: Merged copyright with classpath to
10860 start merging this class.
10862 2004-01-22 Tom Tromey <tromey@redhat.com>
10865 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10866 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10867 * testsuite/libjava.lang/pr13107_3.java: New file.
10868 * testsuite/libjava.lang/pr13107_3.out: New file.
10869 * testsuite/libjava.lang/pr13107_2.java: New file.
10870 * testsuite/libjava.lang/pr13107_2.out: New file.
10871 * testsuite/libjava.lang/pr13107.java: New file.
10872 * testsuite/libjava.lang/pr13107.out: New file.
10873 * verify.cc (jsr_ptrs): Removed.
10874 (entry_points): Likewise.
10875 (struct subr_info): Likewise.
10876 (struct subr_entry_info): Likewise.
10877 (type_val::unused_by_subroutine_type): Likewise.
10878 (type::merge): Don't handle unused_by_subroutine_type.
10879 (type::print): Likewise.
10880 (state::flags): Removed.
10881 (state::subroutine): Likewise.
10882 (state::seen_subrs): Likewise.
10883 (state::NO_STACK): Likewise.
10884 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10885 (state): Updated all methods.
10886 (state::clean_subrs): Removed.
10887 (state::state): Removed `ret_semantics' flag.
10888 (state::copy): Likewise.
10889 (state::add_subr): Removed.
10890 (state::enter_subroutine): Likewise.
10891 (type::set_return_address): New method.
10892 (handle_jsr_insn): Set return address on the type. Always
10893 invalidate PC after call.
10894 (check_nonrecursive_call): Removed.
10895 (~_Jv_BytecodeVerifier): Updated.
10896 (branch_prepass): Removed special handling of jsr.
10897 (note_branch_target): Likewise.
10898 (get_subroutine): Removed.
10899 (state::merge): Don't merge subroutines and don't handle
10900 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10901 (state::note_variable): Removed.
10902 (state::is_unmerged_ret_state): Likewise.
10903 (state::print): Updated.
10904 (set_variable): Likewise.
10905 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10906 and jsr_semantics arguments. Updated for new reverification
10908 (pop_jump): Rewrote.
10909 (construct_primitive_array_type): Updated.
10910 (state::next): Removed.
10911 (INVALID_STATE): New define.
10912 (state::INVALID): Removed.
10913 (state::NO_NEXT): New value.
10914 (state::pc, state::next): New fields.
10915 (state::get_pc): New method.
10916 (next_verify_pc): Removed.
10917 (next_verify_state): New field.
10918 (verify_instructions_0): Always check for falling off end.
10919 (linked): New type.
10920 (linked_utf8): Removed.
10921 (states): Changed type.
10922 (type::state_mergeable_p): New method.
10923 (state::state_mergeable_p): Likewise.
10924 (handle_ret_insn): Removed most code.
10925 (state::reverify): New method.
10926 (add_new_state): Likewise.
10927 (state::set_pc): Likewise.
10929 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10932 * testsuite/libjava.compile/PR13733.java: New file.
10933 * testsuite/libjava.compile/PR13733.xfail: New file.
10935 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10936 Michael Koch <konqueror@gmx.de>
10938 * javax/swing/table/DefaultTableCellRenderer.java
10939 (DefaultTableCellRenderer): Added javadoc for the class and for
10940 the constructor, Border instance, create an EmptyBorder.
10941 (UIResource): Removed the comment at the end of the class
10942 (setForeground): New method.
10943 (setBackground): New method.
10944 (updateUI): New method.
10945 (getTableCellRendererComponent): Rewritten with the help of
10946 dvholten and Stephane Meslin-Weber.
10947 (validate): New method.
10948 (repaint): New method.
10949 (firePropertyChange): New method.
10950 (setValue): New method.
10952 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10954 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10955 (connectJObject): Replace printf calls with g_assert statements.
10956 Move property-notify-event signal connection to ...
10957 (connectSignals): Connect property-notify-event signal. Iterate
10958 through the vbox's children to find layout.
10960 2004-01-22 Graydon Hoare <graydon@redhat.com>
10962 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10963 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10964 Predicate static initialization on GtkToolkit.useGraphics2D().
10965 * java/awt/Component.java (processPaintEvent): Consume event.
10966 * javax/swing/AbstractButton.java: Reimplement, document.
10967 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10968 * javax/swing/JComponent.java (paint): Use double buffer.
10969 (listenerList): Enable member.
10970 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10971 * javax/swing/JToggleButton.java
10972 (JToggleButton): Modify model constructor.
10973 * javax/swing/SwingUtilities.java
10974 (layoutCompoundLabel): Adjust arithmetic.
10975 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10976 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10977 (getPreferredButtonSize): Include margins in calculation.
10978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10979 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10980 Receive up events from subordinate layout component.
10982 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10984 * java/awt/Component.java (show): Set visible to true before
10987 2004-01-21 Kim Ho <kho@redhat.com>
10989 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10991 (removeMenuBarPeer): Make package private.
10992 (setMenuBarPeer): Make package private.
10993 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10994 (menubar_resize_cb): Mark attributes unused.
10995 (getMenuBarHeight): ditto.
10997 2004-01-21 David Jee <djee@redhat.com>
10999 * java/awt/Container.java
11000 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11001 dispatching MOUSE_ENTERED event twice. Translate the point for
11002 the mouse event target before dispatching the event.
11004 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11006 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11007 lib_org_w3c_dom_la_LDFLAGS): New.
11008 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11009 * Makefile.in: Rebuilt.
11011 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11013 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11014 Calculate proper offsets for heavyweight components packed in
11015 lightweight containers.
11017 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11018 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11019 (native create): Add width parameter.
11020 (create): Calculate text entry width based on current font's
11021 metrics and number of columns. Set TextField's font if not
11022 already set. Call native create.
11023 (gtkEntryGetBorderWidth): New native method.
11024 (gtkEntryGetSize): Remove method.
11025 (getMinimumSize): Call minimumSize.
11026 (getPreferredSize): Call preferredSize.
11027 (minimumSize): Calculate minimum size based on backing
11028 GtkEntry's borders, font metrics and number of columns.
11029 (preferredSize): Likewise for preferred size.
11030 (get_border_width): New static function.
11032 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11033 Override GtkWindowPeer's setResizable method to account for menu
11034 bar height when setting the frame's size.
11036 2004-01-19 Matthias Klose <doko@debian.org>
11038 * libtool-version: Increased `current' to 6.
11040 2004-01-19 Kim Ho <kho@redhat.com>
11042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11043 (connectJObject): Iterate through the vbox's children to find layout.
11045 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11047 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11048 isDispatchThread method to replace wrong test condition.
11050 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11052 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11053 events to the queue out of order by acquiring locks in the proper
11054 order and not by releasing one before acquiring the other.
11056 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11058 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11059 visible so that dialog can be reused.
11061 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11063 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11064 events may be handled by any queue in the stack.
11066 2004-01-19 Kim Ho <kho@redhat.com>
11068 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11069 MenuBarPeer parameter.
11070 (removeMenuBarPeer): New native method.
11071 (setMenuBar): Call remove if menu bar is null. Adjust insets
11073 (postSizeAllocateEvent): New method. Called when menu bar size is
11074 allocated. Adjust insets and redo layout.
11075 (GtkFramePeer): Set menu bar during frame creation.
11076 (postConfigureEvent): Adjust position and size to accomodate
11078 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11079 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11080 (addNotify): Create the peer if it doesn't exist and call addNotify
11081 for the menu's items.
11082 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11083 * java/awt/MenuItem.java (addNotify): Create the peer if it
11085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11086 (removeMenuBarPeer): New method. Remove menu bar on the current
11088 (setMenuBarPeer): Add the menu bar to the current frame and the
11089 callback for size-allocate events on the menu bar.
11090 (getMenuBarHeight): Add menu bar parameter.
11091 (menubar_resize_cb): New callback method for postSizeAllocate events.
11093 Also: Fix indentation on last ChangeLog entry.
11095 2004-01-16 Kim Ho <kho@redhat.com>
11097 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11098 (gtkWidgetGetDimensions): Remove.
11099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11100 (gtkWidgetGetDimensions): Remove.
11102 2004-01-16 Tom Tromey <tromey@redhat.com>
11104 * java/awt/Container.java: Typo and indentation fixes.
11106 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11107 * java/lang/natVMClassLoader.cc: ...here. New file.
11108 * Makefile.in: Rebuilt.
11109 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11111 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11114 Discard GDK_ENTER_NOTIFY related to ungrabs.
11116 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11118 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11119 is called for an intermediate queue.
11121 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11124 (window_property_changed_cb): Set id_set.
11126 2004-01-16 Kim Ho <kho@redhat.com>
11128 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11129 it is a FileDialog and has dimensions of 0 by 0, then the initial
11130 size is set to size request plus insets.
11131 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11132 (gtkWidgetGetDimensions): Override method.
11133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11134 (gtkWidgetGetDimensions): Override method. Returns size request plus
11137 2004-01-16 Andrew Haley <aph@redhat.com>
11139 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11140 * sysdep/i386/locks.h: Likewise.
11142 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11144 * java/awt/EventDispatchThread.java (run): Stop running when
11146 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11147 Reset the queue after transferring its contents.
11148 (push): Start a new dispatch thread if none is running.
11150 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11152 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11153 (doPolygon): set fill rule of polygon to
11154 WIND_EVEN_ODD by default.
11156 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11158 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11159 Implemented rendering hints related methods.
11160 (getDefaultHints): New helper method. Returns
11161 default rendering hints.
11162 (walkPath): changed to normalize path if
11163 the KEY_STROKE_CONTROL key is in "normalize" mode.
11164 (draw3DRect): changed coordinates of rectangle by +0.5
11165 if in "normalize" mode.
11167 2004-01-15 Tom Tromey <tromey@redhat.com>
11169 * Makefile.in: Rebuilt.
11170 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11171 (%.lo: %.java) Filter out StackTrace.lo.
11173 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11175 * configure.in: Add in AC_PREREQ(2.13)
11176 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11179 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11180 Tom Tromey <tromey@redhat.com>
11183 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11184 array to superclass.
11185 (init): Changed interface; add URLs here.
11186 (initialize): New static method.
11187 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11188 (_Jv_RunMain): ... not here.
11190 2004-01-14 Michael Koch <konqueror@gmx.de>
11192 * java/text/MessageFormat.java:
11193 Added descriptions to exceptions.
11194 This fixes PR libgcj/2429.
11196 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11198 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11199 (push): Make sure push is performed at the top of the thread stack.
11201 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11203 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11204 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11205 (native create): Add width and height parameters. Set text
11206 view's size request according to new parameters.
11207 (create): Calculate text view size based on current font's
11208 metrics and number of rows and columns. Set TextArea's font if
11209 not already set. Call native create.
11210 (getMinimumSize): Call minimumSize.
11211 (getPreferredSize): Call preferredSize.
11212 (getHScrollbarHeight): New method.
11213 (getVScrollbarWidth): New method.
11214 (minimumSize): Calculate minimum size based on scrollbar
11215 visibility, scrollbar sizes, font metrics and number of rows and
11217 (preferredSize): Likewise for preferred size.
11218 (gtkTextGetSize): Remove method.
11220 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11222 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11223 (initializeInsets): Remove method.
11224 (GtkComponentPeer): Initialize insets field. Remove call to
11226 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11228 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11230 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11231 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11232 (latestInsets): Remove field.
11233 (native create): Add insets parameter. Call
11234 window_get_frame_extents. Set the window's default size and
11235 size request based on its frame extents.
11236 (create): Initialize insets.
11237 (postInsetsChangedEvent): New method.
11238 (postConfigureEvent): Remove parameters top, left, bottom,
11239 right. Remove insets-related logic.
11240 (connectJObject): Handle property-notify-event.
11241 (window_get_frame_extents, request_frame_extents,
11242 property_notify_predicate, window_property_changed_cb): New
11244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11245 (pre_event_handler): Remove insets-related logic for configure
11247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11248 Update postConfigureEvent signature.
11250 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11252 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11253 to handle Window "Closing" events.
11255 2004-01-13 David Jee <djee@redhat.com>
11257 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11258 (setBackground): New method. Children with no explicitly-set
11259 background will be repainted with the parent container's new
11262 2004-01-13 David Jee <djee@redhat.com>
11264 * Makefile.am: Add BitwiseXORComposite.java.
11265 * Makefile.in: Regenerated.
11266 * gcj/Makefile.in: Regenerated.
11267 * include/Makefile.in: Regenerated.
11268 * testsuite/Makefile.in: Regenerated.
11270 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11272 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11273 not show modal dialogs twice and so that it allows showing a modal
11274 dialog from another modal dialog.
11276 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11278 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11279 and run secondary dispatch thread to process event queue while this
11282 2004-01-12 Graydon Hoare <graydon@redhat.com>
11284 * gnu/java/awt/gtk/GdkGraphics2D.java
11285 (static): Check GtkToolkit before initializing static state.
11286 (Graphics2D): Don't construct transform with 0.5 unit offset.
11288 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11290 * gnu/java/awt/BitwiseXORComposite.java: Add.
11291 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11292 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11293 (BitwiseXORComposite): Remove inner class.
11295 2004-01-11 Michael Koch <konqueror@gmx.de>
11297 * gnu/java/lang/reflect/TypeSignature.java
11298 (getEncodingOfClass): Documentation fixed.
11299 (getClassForEncoding): Give class loader to Class.forName().
11300 Documentation fixed.
11302 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11304 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11306 2004-01-11 Michael Koch <konqueror@gmx.de>
11308 * javax/swing/undo/StateEditable.java
11309 (RCSID): Removed redundant modifiers.
11311 2004-01-10 Michael Koch <konqueror@gmx.de>
11313 * javax/print/attribute/EnumSyntax.java
11314 (getStringTable): Made protected.
11315 (getEnumValueTable): Likewise.
11316 * javax/print/attribute/standard/JobKOctetsProcessed.java
11317 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11318 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11319 (JobMediaSheetsCompleted): Made class final.
11320 * javax/print/attribute/standard/OutputDeviceAssigned.java
11321 (getName): Fixed typo.
11322 * javax/print/attribute/standard/RequestingUserName.java
11323 (serialVersionUID): Fixed value.
11325 2004-01-10 Michael Koch <konqueror@gmx.de>
11327 * javax/swing/plaf/basic/BasicButtonUI.java,
11328 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11329 javax/swing/plaf/basic/BasicListUI.java,
11330 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11331 javax/swing/plaf/basic/BasicPanelUI.java,
11332 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11333 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11334 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11335 javax/swing/plaf/basic/BasicViewportUI.java:
11336 Fixed import statements.
11338 2004-01-10 Michael Koch <konqueror@gmx.de>
11340 * gnu/java/awt/image/ImageDecoder.java
11341 (produce): Made public.
11342 * gnu/java/awt/peer/GLightweightPeer.java,
11343 gnu/java/awt/peer/gtk/GtkToolkit.java:
11346 2004-01-10 Michael Koch <konqueror@gmx.de>
11348 * javax/swing/JRadioButtonMenuItem.java,
11349 javax/swing/JSeparator.java,
11350 javax/swing/JSplitPane.java,
11351 javax/swing/JTextPane.java,
11352 javax/swing/JToolBar.java,
11353 javax/swing/ListCellRenderer.java,
11354 javax/swing/ListModel.java,
11355 javax/swing/MenuElement.java,
11356 javax/swing/OverlayLayout.java,
11357 javax/swing/ProgressMonitor.java,
11358 javax/swing/ProgressMonitorInputStream.java,
11359 javax/swing/Renderer.java,
11360 javax/swing/RootPaneContainer.java,
11361 javax/swing/Scrollable.java,
11362 javax/swing/SingleSelectionModel.java,
11363 javax/swing/ToolTipManager.java,
11364 javax/swing/ViewportLayout.java,
11365 javax/swing/event/DocumentEvent.java,
11366 javax/swing/event/SwingPropertyChangeSupport.java,
11367 javax/swing/event/TreeSelectionEvent.java,
11368 javax/swing/event/UndoableEditEvent.java,
11369 javax/swing/text/AbstractDocument.java,
11370 javax/swing/text/AttributeSet.java,
11371 javax/swing/text/Caret.java,
11372 javax/swing/text/ComponentView.java,
11373 javax/swing/text/DefaultCaret.java,
11374 javax/swing/text/DefaultEditorKit.java,
11375 javax/swing/text/Document.java,
11376 javax/swing/text/EditorKit.java,
11377 javax/swing/text/GapContent.java,
11378 javax/swing/text/Keymap.java,
11379 javax/swing/text/MutableAttributeSet.java,
11380 javax/swing/text/PlainEditorKit.java,
11381 javax/swing/text/Segment.java,
11382 javax/swing/text/Style.java,
11383 javax/swing/text/StyledDocument.java,
11384 javax/swing/text/StyledEditorKit.java,
11385 javax/swing/text/TextAction.java,
11386 javax/swing/text/View.java: Fixed import statements.
11388 2004-01-08 Graydon Hoare <graydon@redhat.com>
11390 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11391 djee@redhat.com's recent inverse ordering of Container elements.
11393 2004-01-09 Michael Koch <konqueror@gmx.de>
11395 * gnu/java/lang/ArrayHelper.java
11396 (equalsArray): Removed.
11398 2004-01-09 Andrew Haley <aph@redhat.com>
11400 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11401 a Utf8Const field before looking at its class.
11403 2004-01-09 Michael Koch <konqueror@gmx.de>
11405 * javax/print/attribute/standard/DocumentName.java,
11406 javax/print/attribute/standard/JobHoldUntil.java,
11407 javax/print/attribute/standard/JobMessageFromOperator.java,
11408 javax/print/attribute/standard/JobName.java,
11409 javax/print/attribute/standard/JobOriginatingUserName.java,
11410 javax/print/attribute/standard/OutputDeviceAssigned.java,
11411 javax/print/attribute/standard/PrinterInfo.java,
11412 javax/print/attribute/standard/PrinterLocation.java,
11413 javax/print/attribute/standard/PrinterMakeAndModel.java,
11414 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11415 javax/print/attribute/standard/PrinterName.java,
11416 javax/print/attribute/standard/RequestingUserName.java: New files.
11417 * Makefile.am (javax_source_files): Added new files.
11418 * Makefile.in: Regenerated.
11420 2004-01-09 Michael Koch <konqueror@gmx.de>
11422 * javax/swing/AbstractAction.java,
11423 javax/swing/AbstractSet.java,
11424 javax/swing/Action.java,
11425 javax/swing/ActionMap.java,
11426 javax/swing/BoundedRangeModel.java,
11427 javax/swing/ButtonModel.java,
11428 javax/swing/CellEditor.java,
11429 javax/swing/CellRendererPane.java,
11430 javax/swing/ComboBoxEditor.java,
11431 javax/swing/DebugGraphics.java,
11432 javax/swing/DefaultCellEditor.java,
11433 javax/swing/DefaultCellRenderer.java,
11434 javax/swing/DefaultComboBoxModel.java,
11435 javax/swing/DefaultDesktopManager.java,
11436 javax/swing/DefaultFocusManager.java,
11437 javax/swing/DefaultListCellRenderer.java,
11438 javax/swing/Icon.java,
11439 javax/swing/JButton.java,
11440 javax/swing/JCheckBoxMenuItem.java,
11441 javax/swing/JDesktopPane.java,
11442 javax/swing/JEditorPane.java,
11443 javax/swing/JMenu.java,
11444 javax/swing/JPanel.java,
11445 javax/swing/JPasswordField.java,
11446 javax/swing/JPopupMenu.java,
11447 javax/swing/JProgressBar.java: Reworked imports.
11449 2004-01-09 Michael Koch <konqueror@gmx.de>
11451 * java/awt/geom/PathIterator.java
11452 (WIND_EVEN_ODD): Removed redundant modifiers.
11453 (WIND_NON_ZERO): Likewise.
11454 (SEG_MOVETO): Likewise.
11455 (SEG_LINETO): Likewise.
11456 (SEG_QUADTO): Likewise.
11457 (SEG_CUBICTO): Likewise.
11458 (SEG_CLOSE): Likewise.
11459 * java/awt/image/SinglePixelPackedSampleModel.java:
11460 Removed redundant semicolon.
11461 * java/io/ObjectInputStream.java
11462 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11463 * java/util/logging/Filter.java
11464 (isLoggable): Removed redundant modifier.
11465 * java/util/logging/LogManager.java:
11466 Removed redundant semicolon.
11467 * java/util/logging/XMLFormatter.java
11468 (format): Removed unused variable "key".
11470 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11472 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11473 New name for the former setFile native method.
11474 (setFile): New method.
11475 (setDirectory): Implemented.
11476 (connectSignals): New native method.
11477 (setFilenameFilter): Improve comment.
11478 (getGraphics): Comment.
11479 (gtkHideFileDialog): New method.
11480 (gtkDisposeFileDialog): New method.
11481 (gtkSetFilename): New method.
11482 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11483 for FileDialog for now.
11484 (hide): New method.
11485 (dispose): New method.
11486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11487 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11488 deprecated creation functions. Make dialog modal. Add it to the
11490 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11492 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11494 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11496 (window_closed): New function.
11497 (ok_clicked): New function.
11498 (cancel_clicked): New function.
11500 2004-01-08 Michael Koch <konqueror@gmx.de>
11502 * javax/swing/JLayeredPane.java: Revert changes to standard
11503 boilerplate, reworked imports.
11505 2004-01-07 Tom Tromey <tromey@redhat.com>
11508 * verify.cc (state::merge): Copy changed locals out of subroutine
11510 (state::FLAG_CHANGED): New const.
11511 (state::FLAG_UNUSED): Likewise.
11512 (state::local_changed): Removed. Updated all users.
11513 (state::flags): New field.
11514 (state::merge): Added jsr_semantics argument, more logic.
11515 (push_jump_merge): Added jsr_semantics argument.
11516 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11517 merging through the jsr instruction.
11519 2004-01-07 Tom Tromey <tromey@redhat.com>
11521 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11524 2004-01-07 Graydon Hoare <graydon@redhat.com>
11526 * java/awt/Container.java (LightweightDispatcher): Implement.
11527 (visitChild): Reuse graphics object.
11528 (dispatchEventImpl): Optionally dispatch to lightweight.
11529 (addNotifyContainerChildren): Build LightweightDispatcher.
11531 2004-01-07 David Jee <djee@redhat.com>
11533 * java/awt/Container.java
11534 (update): Clear only the clipped region, instead of clearing the
11536 (visitChildren): Visit children in descending order.
11538 2004-01-07 Michael Koch <konqueror@gmx.de>
11540 * java/lang/reflect/Array.java: Merged documentation with classpath.
11542 2004-01-07 Michael Koch <konqueror@gmx.de>
11544 * java/text/CollationElementIterator.java
11545 (textIndex): Renamed from index.
11546 * java/text/CollationKey.java
11547 (collator): New member.
11548 (CollationKey): New argument for parent collator.
11549 (equals): Check for same collator, source string and key array.
11550 * java/text/RuleBasedCollator.java:
11552 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11554 (getCollationElementIterator): Rewritten.
11555 (getCollationKey): Added new argument to CollationKey constructor.
11557 2004-01-07 Michael Koch <konqueror@gmx.de>
11559 * gnu/java/nio/DatagramChannelImpl.java
11560 (blocking): Removed.
11561 (DatagramChannelImpl): Call configureBlocking().
11562 (implConfigureBlocking): Dont initialize blocking.
11563 * gnu/java/nio/ServerSocketChannelImpl.java
11564 (blocking): Removed.
11565 (ServerSocketChannelImpl): Call configureBlocking().
11566 (implConfigureBlocking): Dont initialize blocking.
11567 * gnu/java/nio/SocketChannelImpl.java
11568 (blocking): Removed.
11569 (SocketChannelImpl): Call configureBlocking().
11570 (implConfigureBlocking): Dont initialize blocking.
11571 (connect): Use isBlocking().
11572 * java/nio/channels/spi/AbstractSelectableChannel.java
11573 (configureBlocking): Use blockingLock() instead of LOCK.
11574 Set blocking after successfully called implConfigureBlocking().
11575 (register): Use blockingLock() instead of LOCK.
11577 2004-01-07 Michael Koch <konqueror@gmx.de>
11579 * java/net/ServerSocket.java (isBound): Fixed documentation.
11581 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11583 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11584 (changeEvent): Create event object on demand.
11585 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11586 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11587 fireStateChanged): Re-written.
11588 * javax/swing/event/EventListenerList.java: Reformatted, document
11590 (toString): Implemented.
11591 (getListeners): Re-written.
11592 (remove): Re-written.
11594 (NO_LISTENERS): New singleton field.
11595 (listenerList): Declare as transient; document.
11596 (serialVersionUID): Document.
11597 (getListenerCount(Class)): More efficient implementation,
11598 also accepts null argument. Improve Javadoc.
11599 (getListenerCount()): Remove unnecessary cast; docfix.
11600 * javax/swing/undo/UndoableEditSupport.java:
11601 Re-format, document.
11602 (UndoableEditSupport): Set realSource field. Improve documentation.
11603 (_postEdit): Iterate over cloned listener vector.
11604 (toString): Don't emit realSource.
11605 (beginUpdate, endUpdate): Support nested updates.
11606 (postEdit): Use compound edit if present.
11608 2004-01-06 Graydon Hoare <graydon@redhat.com>
11610 * java/awt/Container.java (swapComponents): Add forgotten
11611 function, required for JLayeredPane change.
11613 2004-01-06 Michael Koch <konqueror@gmx.de>
11615 * java/text/CollationElementIterator.java: Reformated.
11616 (CollationElementIterator): Changed order of arguments.
11617 * java/text/RuleBasedCollator.java
11618 (RuleBasedCollator): Merged class documentation.
11619 (CollationElement): Added documentation.
11620 (compare): Reformated, renamed arguments.
11621 (equals): Likewise.
11622 (getCollationElementIterator): Likewise.
11623 (getCollationKey): Likewise.
11625 2004-01-06 Graydon Hoare <graydon@redhat.com>
11627 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11629 2004-01-06 Michael Koch <konqueror@gmx.de>
11631 * gnu/java/net/protocol/file/Connection.java:
11632 Reformated copyright.
11633 (hdrHash): Removed.
11635 (gotHeaders): Removed.
11636 (getHeaderField): Removed.
11637 (getHeaderField): Removed.
11638 (getHeaderFieldKey): Removed.
11640 (getField): Removed.
11641 (getHeaders): Removed.
11643 2004-01-06 Michael Koch <konqueror@gmx.de>
11645 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11646 javax/print/attribute/standard/DateTimeAtCreation.java,
11647 javax/print/attribute/standard/DateTimeAtProcessing.java,
11648 javax/print/attribute/standard/JobImpressionsCompleted.java,
11649 javax/print/attribute/standard/JobKOctets.java,
11650 javax/print/attribute/standard/JobKOctetsProcessed.java,
11651 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11652 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11653 * Makefile.am (javax_source_files): Added new files.
11654 * Makefile.in: Regenerated.
11656 2004-01-06 Michael Koch <konqueror@gmx.de>
11658 * java/net/URLConnection.java
11659 (contentHandler): Removed.
11661 (getHeaderFields): Return an empty map instead of null.
11662 (getContent): Connect if needed, renamed "cType" to "type" and
11663 "contentHandler" to "ch" and made it a local variable.
11664 (getPermission): Don't use package in class name.
11665 (setDefaultRequestProperty): Fixed typo in documentation.
11666 (initializeDateFormats): Made locale a local variable.
11668 2004-01-06 Michael Koch <konqueror@gmx.de>
11670 * java/lang/Package.java
11671 (getPackage): Get the current class loader directly.
11672 * java/lang/SecurityManager.java
11673 (currentLoadedClass): Dont iterate over class contexts.
11674 (classLoaderDepth): Don't check class loaders if everything is allowed.
11676 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11679 (pre_event_handler): Set all insets to 0 when a Configure event
11680 is received for a GtkPlug.
11681 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11682 Make handle long, not int.
11683 (EmbeddedWindow()): New constructor.
11684 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11686 (setHandle): New method.
11687 (getHandle): Return long, not int.
11688 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11690 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11691 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11692 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11693 argument to GdkNativeWindow.
11694 (construct): New method.
11695 (embed): New method.
11697 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11698 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11699 (create(int, int)): New method.
11700 (create): Call new create method.
11701 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11703 (childResized): Remove native implementation. Implement in
11705 (getHScrollbarHeight, getVScrollbarWidth): Call
11706 gtk_widget_size_request to get scrollbar dimensions.
11707 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11708 call getVScrollbarWidth and getHScrollbarHeight when vertical
11709 and horizontal scrollbars respectively are needed.
11710 (doLayout): Enlarge child if it is smaller than the viewport.
11712 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11714 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11715 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11716 argument as per spec.
11718 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11720 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11722 (remove): Ditto. Also, Check for valid argument.
11723 (removeAll): Use peer interface method.
11724 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11725 native add function.
11726 (nativeRemove): New name for native remove function.
11727 (getHistory): New native function.
11728 (constructor): Generate ItemEvent.
11729 (add): Ditto, if selection is changed.
11730 (remove): Ditto, ditto.
11731 (removeAll): Add implementation.
11732 (handleEvent): Remove. Dead code.
11733 (choicePostItemEvent): Add comment.
11734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11735 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11736 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11737 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11738 comments and fix condition to change selection.
11739 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11740 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11741 remove all capability.
11742 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11743 (item_activate): Add cast to remove compiler warning.
11745 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11747 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11748 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11749 (getPreferredSize): Call preferredSize.
11750 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11751 (getMinimumSize): Call minimumSize.
11752 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11753 (gtkWidgetGetDimensions): Return the peer widget's current size
11755 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11756 natural size request.
11758 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11760 Thanks to Brian Gough <bjg@network-theory.com>
11761 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11762 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11764 2004-01-04 Matthias Klose <doko@debian.org>
11766 * aclocal.m4: Rebuilt using "aclocal -I .".
11767 * configure: Rebuilt.
11769 2004-01-03 Per Bothner <per@bothner.com>
11771 * java/util/Date.java (parse): Fix a number of problems.
11772 (skipParens): Remove no-longer-needed method.