1 2004-10-25 Geoffrey Keating <geoffk@apple.com>
3 * Makefile.am (DARWIN_CRT_SRC): New.
4 (libgcj_la_SOURCES): Use it.
5 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
7 * include/jvm.h (_Jv_RegisterClasses): Constify.
8 (_Jv_RegisterClasses_Counted): New prototype.
9 * java/lang/Class.h: Include stddef.h.
10 (_Jv_RegisterClasses): Constify.
11 (_Jv_RegisterClasses_Counted): New prototype.
12 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
13 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
14 (_Jv_RegisterClasses_Counted): New function.
15 * configure: Regenerate.
16 * Makefile.in: Regenerate.
17 * gcj/Makefile.in: Regenerate.
18 * include/Makefile.in: Regenerate.
19 * testsuite/Makefile.in: Regenerate.
21 2004-10-25 Tom Tromey <tromey@redhat.com>
23 * java/util/ResourceBundle.java (tryBundle): Use
24 Class.isAssignableFrom rather than catching ClassCastException.
26 2004-10-25 Tom Tromey <tromey@redhat.com>
28 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
30 * gnu/java/text/SentenceBreakIterator.java
31 (SentenceBreakIterator): Don't initialize `iter'.
32 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
34 * gnu/java/text/CharacterBreakIterator.java
35 (CharacterBreakIterator): Don't initialize `iter'.
36 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
38 * java/text/BreakIterator.java: Updated documentation.
40 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
43 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
45 2004-10-23 Michael Koch <konqueror@gmx.de>
47 * javax/print/DocFlavor.java,
48 javax/print/attribute/standard/JobStateReason.java,
49 javax/print/attribute/standard/MultipleDocumentHandling.java:
50 Added missing constants.
52 2004-10-22 Tom Tromey <tromey@redhat.com>
54 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
57 2004-10-22 Michael Koch <konqueror@gmx.de>
60 * gnu/java/net/protocol/http/Connection.java
61 (sendRequest): Handle case when url.getFile() returns an empty string.
63 2004-10-22 Michael Koch <konqueror@gmx.de>
65 * java/lang/Math.java,
66 java/lang/StackTraceElement.java,
68 java/nio/ByteBuffer.java,
69 java/nio/CharBuffer.java,
70 java/nio/DoubleBuffer.java,
71 java/nio/FloatBuffer.java,
72 java/nio/IntBuffer.java,
73 java/nio/LongBuffer.java,
74 java/nio/ShortBuffer.java,
75 java/nio/charset/Charset.java,
76 java/rmi/server/RMIClassLoader.java,
77 java/rmi/server/RMISocketFactory.java,
78 java/security/Policy.java,
79 java/text/ChoiceFormat.java,
80 java/text/CollationElementIterator.java,
81 java/text/DateFormat.java,
82 java/text/DecimalFormat.java,
83 java/text/DecimalFormatSymbols.java,
84 java/text/MessageFormat.java,
85 java/text/NumberFormat.java,
86 java/text/RuleBasedCollator.java,
87 java/text/SimpleDateFormat.java,
88 java/util/BitSet.java,
89 java/util/Calendar.java,
90 java/util/Collections.java,
91 java/util/IdentityHashMap.java,
92 java/util/Locale.java,
93 java/util/TreeMap.java,
94 java/util/logging/LogRecord.java,
95 java/util/logging/XMLFormatter.java,
96 java/util/prefs/AbstractPreferences.java,
97 java/util/prefs/Preferences.java,
98 javax/crypto/interfaces/DHPrivateKey.java,
99 javax/crypto/interfaces/DHPublicKey.java,
100 javax/crypto/interfaces/PBEKey.java,
101 javax/net/ssl/HandshakeCompletedEvent.java,
102 javax/security/auth/Subject.java:
103 Removed redundant and reordered modifiers.
105 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
107 * gnu/java/net/natPlainSocketImplPosix.cc
108 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
109 with 'int *' argument instead of 'long *'.
111 2004-10-21 Michael Koch <konqueror@gmx.de>
113 * java/net/NetworkInterface.java,
114 java/text/Format.java,
115 javax/security/auth/x500/X500Principal.java,
116 javax/security/auth/x500/X500PrivateCredential.java,
117 javax/security/cert/X509CertBridge.java,
118 javax/security/sasl/Sasl.java,
119 javax/sql/XAConnection.java:
122 2004-10-21 Michael Koch <konqueror@gmx.de>
124 * javax/net/ssl/HandshakeCompletedEvent.java,
125 javax/net/ssl/KeyManagerFactory.java,
126 javax/net/ssl/SSLContext.java,
127 javax/net/ssl/SSLServerSocketFactory.java,
128 javax/net/ssl/SSLSession.java,
129 javax/net/ssl/SSLSocketFactory.java,
130 javax/net/ssl/TrustManagerFactory.java:
133 2004-10-21 Michael Koch <konqueror@gmx.de>
135 * javax/naming/directory/BasicAttribute.java,
136 javax/naming/directory/BasicAttributes.java,
137 javax/naming/directory/InitialDirContext.java,
138 javax/naming/event/NamingEvent.java,
139 javax/naming/ldap/ControlFactory.java,
140 javax/naming/ldap/ExtendedRequest.java,
141 javax/naming/ldap/InitialLdapContext.java,
142 javax/naming/ldap/LdapReferralException.java,
143 javax/naming/spi/DirObjectFactory.java,
144 javax/naming/spi/DirStateFactory.java,
145 javax/naming/spi/DirectoryManager.java,
146 javax/naming/spi/InitialContextFactory.java,
147 javax/naming/spi/InitialContextFactoryBuilder.java,
148 javax/naming/spi/NamingManager.java,
149 javax/naming/spi/ObjectFactory.java,
150 javax/naming/spi/ObjectFactoryBuilder.java,
151 javax/naming/spi/StateFactory.java:
154 2004-10-21 Michael Koch <konqueror@gmx.de>
156 * javax/crypto/Cipher.java,
157 javax/crypto/EncryptedPrivateKeyInfo.java,
158 javax/crypto/ExemptionMechanism.java,
159 javax/crypto/KeyAgreement.java,
160 javax/crypto/KeyGenerator.java,
161 javax/crypto/Mac.java,
162 javax/crypto/SecretKeyFactory.java,
163 javax/crypto/SecretKeyFactorySpi.java,
164 javax/crypto/spec/SecretKeySpec.java:
167 2004-10-21 Michael Koch <konqueror@gmx.de>
169 * java/security/AlgorithmParameterGenerator.java,
170 java/security/AlgorithmParameters.java,
171 java/security/AlgorithmParametersSpi.java,
172 java/security/AllPermission.java,
173 java/security/BasicPermission.java,
174 java/security/Certificate.java,
175 java/security/CodeSource.java,
176 java/security/DigestInputStream.java,
177 java/security/DigestOutputStream.java,
178 java/security/GuardedObject.java,
179 java/security/KeyFactory.java,
180 java/security/KeyFactorySpi.java,
181 java/security/KeyPairGenerator.java,
182 java/security/KeyStore.java,
183 java/security/KeyStoreSpi.java,
184 java/security/Permissions.java,
185 java/security/Security.java,
186 java/security/Signature.java,
187 java/security/UnresolvedPermission.java,
188 java/security/cert/CertPathBuilder.java,
189 java/security/cert/CertPathValidator.java,
190 java/security/cert/CertStore.java,
191 java/security/cert/Certificate.java,
192 java/security/cert/CertificateFactory.java,
193 java/security/cert/PolicyQualifierInfo.java,
194 java/security/cert/TrustAnchor.java,
195 java/security/cert/X509CRL.java,
196 java/security/cert/X509CRLSelector.java,
197 java/security/cert/X509CertSelector.java:
200 2004-10-21 Michael Koch <konqueror@gmx.de>
202 * java/rmi/MarshalledObject.java,
203 java/rmi/Naming.java,
204 java/rmi/activation/Activatable.java,
205 java/rmi/activation/ActivationGroup.java,
206 java/rmi/activation/ActivationGroupDesc.java,
207 java/rmi/activation/ActivationInstantiator.java,
208 java/rmi/activation/ActivationMonitor.java,
209 java/rmi/activation/ActivationSystem.java,
210 java/rmi/activation/Activator.java,
211 java/rmi/registry/LocateRegistry.java,
212 java/rmi/registry/Registry.java,
213 java/rmi/server/LogStream.java,
214 java/rmi/server/ObjID.java,
215 java/rmi/server/RMIClientSocketFactory.java,
216 java/rmi/server/RMIServerSocketFactory.java,
217 java/rmi/server/RMISocketFactory.java,
218 java/rmi/server/RemoteCall.java,
219 java/rmi/server/RemoteServer.java,
220 java/rmi/server/ServerRef.java,
221 java/rmi/server/UID.java,
222 java/rmi/server/UnicastRemoteObject.java:
225 2004-10-21 Tom Tromey <tromey@redhat.com>
227 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
228 exception if we hit EOF of `in'.
229 (read): Handle case where inflating returns -1.
231 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
233 * gnu/java/nio/channels/natFileChannelPosix.cc
234 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
235 argument instead of 'long *'.
237 2004-10-21 Tom Tromey <tromey@redhat.com>
239 * java/util/ResourceBundle.java (tryBundle): Also ignore
242 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
244 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
245 for all sh*-*-linux* targets.
246 * configure: Regenerate.
247 * include/sh-signal.h: New file.
249 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
251 * java/lang/ieeefp.h: Add m32r support.
253 2004-10-20 Andreas Schwab <schwab@suse.de>
255 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
257 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
260 2004-10-20 Michael Koch <konqueror@gmx.de>
262 * javax/print/attribute/standard/ColorSupported.java,
263 javax/print/attribute/standard/Compression.java,
264 javax/print/attribute/standard/Copies.java,
265 javax/print/attribute/standard/CopiesSupported.java,
266 javax/print/attribute/standard/DateTimeAtCompleted.java,
267 javax/print/attribute/standard/DateTimeAtCreation.java,
268 javax/print/attribute/standard/DateTimeAtProcessing.java,
269 javax/print/attribute/standard/DocumentName.java,
270 javax/print/attribute/standard/Fidelity.java,
271 javax/print/attribute/standard/Finishings.java,
272 javax/print/attribute/standard/JobHoldUntil.java,
273 javax/print/attribute/standard/JobImpressions.java,
274 javax/print/attribute/standard/JobImpressionsCompleted.java,
275 javax/print/attribute/standard/JobImpressionsSupported.java,
276 javax/print/attribute/standard/JobKOctets.java,
277 javax/print/attribute/standard/JobKOctetsProcessed.java,
278 javax/print/attribute/standard/JobKOctetsSupported.java,
279 javax/print/attribute/standard/JobMediaSheets.java,
280 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
281 javax/print/attribute/standard/JobMediaSheetsSupported.java,
282 javax/print/attribute/standard/JobMessageFromOperator.java,
283 javax/print/attribute/standard/JobName.java,
284 javax/print/attribute/standard/JobOriginatingUserName.java,
285 javax/print/attribute/standard/JobPriority.java,
286 javax/print/attribute/standard/JobPrioritySupported.java,
287 javax/print/attribute/standard/JobSheets.java,
288 javax/print/attribute/standard/JobState.java,
289 javax/print/attribute/standard/JobStateReason.java,
290 javax/print/attribute/standard/JobStateReasons.java,
291 javax/print/attribute/standard/Media.java,
292 javax/print/attribute/standard/MultipleDocumentHandling.java,
293 javax/print/attribute/standard/NumberOfDocuments.java,
294 javax/print/attribute/standard/NumberOfInterveningJobs.java,
295 javax/print/attribute/standard/NumberUp.java,
296 javax/print/attribute/standard/NumberUpSupported.java,
297 javax/print/attribute/standard/OrientationRequested.java,
298 javax/print/attribute/standard/OutputDeviceAssigned.java,
299 javax/print/attribute/standard/PDLOverrideSupported.java,
300 javax/print/attribute/standard/PageRanges.java,
301 javax/print/attribute/standard/PagesPerMinute.java,
302 javax/print/attribute/standard/PagesPerMinuteColor.java,
303 javax/print/attribute/standard/PrintQuality.java,
304 javax/print/attribute/standard/PrinterInfo.java,
305 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
306 javax/print/attribute/standard/PrinterLocation.java,
307 javax/print/attribute/standard/PrinterMakeAndModel.java,
308 javax/print/attribute/standard/PrinterMessageFromOperator.java,
309 javax/print/attribute/standard/PrinterMoreInfo.java,
310 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
311 javax/print/attribute/standard/PrinterName.java,
312 javax/print/attribute/standard/PrinterStateReason.java,
313 javax/print/attribute/standard/PrinterStateReasons.java,
314 javax/print/attribute/standard/PrinterURI.java,
315 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
316 javax/print/attribute/standard/RequestingUserName.java:
317 Reorganized imports and removed redundant final modifiers.
319 2004-10-20 Michael Koch <konqueror@gmx.de>
321 * javax/security/sasl/SaslClient.java,
322 javax/security/sasl/SaslClientFactory.java,
323 javax/security/sasl/SaslException.java,
324 javax/security/sasl/SaslServer.java,
325 javax/security/sasl/SaslServerFactory.java:
328 2004-10-20 Michael Koch <konqueror@gmx.de>
330 * javax/security/auth/login/NullConfiguration.java,
331 javax/security/auth/x500/X500Principal.java,
332 javax/security/cert/X509Certificate.java,
333 javax/security/sasl/AuthenticationException.java,
334 javax/security/sasl/AuthorizeCallback.java,
335 javax/security/sasl/RealmCallback.java,
336 javax/security/sasl/RealmChoiceCallback.java,
337 javax/security/sasl/Sasl.java,
338 javax/security/sasl/SaslClient.java,
339 javax/security/sasl/SaslClientFactory.java,
340 javax/security/sasl/SaslException.java,
341 javax/security/sasl/SaslServer.java,
342 javax/security/sasl/SaslServerFactory.java:
343 Cleaned up import statements and copyright notices.
345 2004-10-20 Michael Koch <konqueror@gmx.de>
347 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
349 2004-10-20 Michael Koch <konqueror@gmx.de>
351 * java/sql/Timestamp.java,
352 java/text/AttributedCharacterIterator.java,
353 java/text/AttributedString.java,
354 java/util/zip/CheckedOutputStream.java,
355 java/util/zip/DeflaterOutputStream.java,
356 java/util/zip/ZipFile.java,
357 javax/crypto/Cipher.java,
358 javax/crypto/ExemptionMechanismException.java,
359 javax/crypto/SecretKey.java,
360 javax/crypto/SecretKeyFactory.java,
361 javax/naming/directory/ModificationItem.java,
362 javax/naming/directory/SearchControls.java,
363 javax/naming/event/NamingListener.java,
364 javax/naming/ldap/Control.java,
365 javax/naming/ldap/ExtendedResponse.java,
366 javax/net/ssl/SSLSocketFactory.java:
367 Reorganized imports and fixed copyright headers.
369 2004-10-20 Michael Koch <konqueror@gmx.de>
371 * java/util/logging/ConsoleHandler.java,
372 java/util/logging/ErrorManager.java,
373 java/util/logging/FileHandler.java,
374 java/util/logging/Filter.java,
375 java/util/logging/Formatter.java,
376 java/util/logging/Handler.java,
377 java/util/logging/Level.java,
378 java/util/logging/LogManager.java,
379 java/util/logging/LogRecord.java,
380 java/util/logging/Logger.java,
381 java/util/logging/LoggingPermission.java,
382 java/util/logging/MemoryHandler.java,
383 java/util/logging/SimpleFormatter.java,
384 java/util/logging/SocketHandler.java,
385 java/util/logging/StreamHandler.java,
386 java/util/logging/XMLFormatter.java:
387 Standardized copyrigth header.
389 2004-10-20 Michael Koch <konqueror@gmx.de>
391 * java/security/AlgorithmParameterGenerator.java,
392 java/security/AlgorithmParameters.java,
393 java/security/DigestInputStream.java,
394 java/security/Identity.java,
395 java/security/KeyFactory.java,
396 java/security/KeyPairGenerator.java,
397 java/security/KeyStore.java,
398 java/security/MessageDigest.java,
399 java/security/MessageDigestSpi.java,
400 java/security/Policy.java,
401 java/security/SecureRandom.java,
402 java/security/Security.java,
403 java/security/Signature.java,
404 java/security/SignatureSpi.java,
405 java/security/cert/CertPathBuilder.java,
406 java/security/cert/CertPathValidator.java,
407 java/security/cert/CertStore.java,
408 java/security/cert/Certificate.java,
409 java/security/cert/CertificateFactory.java,
410 java/security/cert/PolicyQualifierInfo.java,
411 java/security/cert/TrustAnchor.java,
412 java/security/cert/X509CRL.java,
413 java/security/cert/X509CRLEntry.java,
414 java/security/cert/X509Certificate.java,
415 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
416 Import statements reorganized, some little formatting issues,
417 used java-style array declarations, added comments in empty catch
420 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
422 * java/security/Security.java
423 (static): Use AccessController.doPrivileged to get system property.
425 2004-10-18 Sven de Marothy <sven@physto.se>
427 * java/nio/ByteBufferHelper.java
428 (putDouble): Use Double.toRawLongBits instead.
430 2004-10-18 Mark Wielaard <mark@klomp.org>
431 Andrew Haley <aph@redhat.com>
433 * testsuite/libjava.lang/ExtraClassLoader.java: New.
435 2004-10-18 Andrew Haley <aph@redhat.com>
438 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
439 and correct logic used to find interpreter.
441 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
443 * java/util/logging/LogManager.java
444 (findAncestor): Fixed IndexOutOfBoundsException.
446 2004-10-18 Michael Koch <konqueror@gmx.de>
448 * java/io/BufferedInputStream.java: Fixed @author tag.
449 (read): Simplified expression.
450 (read): Merged javadoc a bit more.
451 (read): Renamed 'remain' to 'totalBytesRead'.
452 * java/io/DataInputStream.java,
453 java/io/DataOutputStream.java,
454 java/io/ObjectInputStream.java,
455 java/io/ObjectOutputStream.java:
456 Reworked modifier order.
458 2004-10-18 Michael Koch <konqueror@gmx.de>
460 * java/net/Inet4Address.java: Merged file header and javadocs.
461 * java/net/Inet6Address.java: Likewise.
462 * java/net/InetAddress.java
463 (getCanonicalHostName): Create Inet4Address object instead of
464 InetAddress and add comment regarding IPv6.
465 (toString): Simplified.
467 2004-10-18 Michael Koch <konqueror@gmx.de>
469 * gnu/java/net/protocol/http/Connection.java,
470 java/nio/MappedByteBufferImpl.java,
471 java/text/RuleBasedCollator.java,
472 java/util/ResourceBundle.java:
473 Reworked import statements.
475 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
477 * java/security/IdentityScope.java
478 (systemScope): Removed useless initializer.
479 * java/security/Policy.java
480 (currentPolicy): Likewise.
482 2004-10-18 Michael Koch <konqueror@gmx.de>
484 * java/lang/System.java: Revert accidential change.
486 2004-10-18 Michael Koch <konqueror@gmx.de>
488 * java/lang/Math.java,
489 java/lang/Package.java,
490 java/lang/Runtime.java,
491 java/lang/StrictMath.java,
492 java/lang/System.java,
493 java/lang/Thread.java,
494 java/lang/ThreadLocal.java,
496 Reworked import statements, HTML in javadocs and modifier orders.
498 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
500 * java/util/Timer.java
501 (nr): Removed useless initializer.
502 * java/util/logging/LogRecord.java
503 (lastSeqNum): Likewise.
504 * javax/naming/spi/NamingManager.java
505 (icfb, ofb): Likewise.
507 2004-10-18 Michael Koch <konqueror@gmx.de>
509 * gnu/java/net/PlainDatagramSocketImpl.java:
510 Reworked import statements.
511 * gnu/java/security/provider/DSAParameters.java:
512 Fixed copyrigth years.
513 * java/net/JarURLConnection.java:
514 Fixed HTML in @author tags.
517 2004-10-18 Michael Koch <konqueror@gmx.de>
519 * java/rmi/activation/ActivationSystem.java
520 (SYSTEM_PORT): Initialize with correct port number.
522 2004-10-18 Michael Koch <konqueror@gmx.de>
524 * java/lang/reflect/Proxy.java: Improved javadocs.
526 2004-10-18 Michael Koch <konqueror@gmx.de>
528 * java/lang/reflect/AccessibleObject.java
529 (checkPermission): Removed redundant final modifier.
530 (secureSetAccessible): Likewise.
531 * java/lang/reflect/Proxy.java:
532 Reworked import statements.
533 (generate): Removed redundant final modifier.
534 * java/lang/reflect/ReflectPermission.java:
535 Reorder package declaration and import statement.
537 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
539 * java/lang/reflect/Proxy.java
540 (count): Removed useless initializer.
542 2004-10-17 Michael Koch <konqueror@gmx.de>
544 * java/net/BindException.java,
545 java/net/ConnectException.java,
546 java/net/ContentHandler.java,
547 java/net/ContentHandlerFactory.java,
548 java/net/DatagramPacket.java,
549 java/net/DatagramSocket.java,
550 java/net/DatagramSocketImpl.java,
551 java/net/DatagramSocketImplFactory.java,
552 java/net/FileNameMap.java,
553 java/net/HttpURLConnection.java,
554 java/net/MalformedURLException.java,
555 java/net/MulticastSocket.java,
556 java/net/NetworkInterface.java,
557 java/net/NoRouteToHostException.java,
558 java/net/PasswordAuthentication.java,
559 java/net/PortUnreachableException.java,
560 java/net/ProtocolException.java,
561 java/net/ServerSocket.java,
562 java/net/Socket.java,
563 java/net/SocketException.java,
564 java/net/SocketImpl.java,
565 java/net/SocketImplFactory.java,
566 java/net/SocketOptions.java,
567 java/net/SocketPermission.java,
568 java/net/SocketTimeoutException.java,
570 java/net/URISyntaxException.java,
572 java/net/URLDecoder.java,
573 java/net/URLEncoder.java,
574 java/net/URLStreamHandler.java,
575 java/net/URLStreamHandlerFactory.java,
576 java/net/UnknownHostException.java,
577 java/net/UnknownServiceException.java:
578 Big import statement and @author tag cleanup.
580 2004-10-17 Michael Koch <konqueror@gmx.de>
582 * gnu/java/security/OID.java,
583 gnu/java/security/provider/DSAParameters.java,
584 gnu/java/security/provider/DSASignature.java,
585 gnu/java/security/x509/X500DistinguishedName.java,
586 gnu/java/security/x509/X509CRL.java:
587 Import statements cleaned up.
589 2004-10-16 Michael Koch <konqueror@gmx.de>
591 * gnu/java/nio/NIODatagramSocket.java,
592 gnu/java/nio/ServerSocketChannelImpl.java:
593 Reorganized import statements.
595 2004-10-16 Michael Koch <konqueror@gmx.de>
597 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
598 gnu/java/rmi/rmic/RMIC.java,
599 gnu/java/rmi/server/RMIHashes.java,
600 gnu/java/rmi/server/RMIObjectInputStream.java,
601 gnu/java/rmi/server/RMIObjectOutputStream.java,
602 gnu/java/rmi/server/UnicastConnection.java,
603 gnu/java/rmi/server/UnicastConnectionManager.java,
604 gnu/java/rmi/server/UnicastRemoteCall.java,
605 gnu/java/rmi/server/UnicastServer.java,
606 gnu/java/rmi/server/UnicastServerRef.java,
607 java/rmi/MarshalledObject.java,
608 java/rmi/Naming.java,
609 java/rmi/RMISecurityManager.java,
610 java/rmi/Remote.java,
611 java/rmi/activation/Activatable.java,
612 java/rmi/activation/ActivationDesc.java,
613 java/rmi/activation/ActivationGroup.java,
614 java/rmi/activation/ActivationGroupDesc.java,
615 java/rmi/activation/ActivationGroupID.java,
616 java/rmi/activation/ActivationID.java,
617 java/rmi/activation/ActivationInstantiator.java,
618 java/rmi/activation/ActivationMonitor.java,
619 java/rmi/activation/ActivationSystem.java,
620 java/rmi/activation/Activator.java,
621 java/rmi/dgc/DGC.java,
622 java/rmi/dgc/Lease.java,
623 java/rmi/dgc/VMID.java,
624 java/rmi/registry/LocateRegistry.java,
625 java/rmi/registry/Registry.java,
626 java/rmi/registry/RegistryHandler.java,
627 java/rmi/server/LoaderHandler.java,
628 java/rmi/server/LogStream.java,
629 java/rmi/server/ObjID.java,
630 java/rmi/server/Operation.java,
631 java/rmi/server/RMIClassLoader.java,
632 java/rmi/server/RMIClassLoaderSpi.java,
633 java/rmi/server/RMIClientSocketFactory.java,
634 java/rmi/server/RMIFailureHandler.java,
635 java/rmi/server/RMIServerSocketFactory.java,
636 java/rmi/server/RMISocketFactory.java,
637 java/rmi/server/RemoteCall.java,
638 java/rmi/server/RemoteObject.java,
639 java/rmi/server/RemoteRef.java,
640 java/rmi/server/RemoteServer.java,
641 java/rmi/server/RemoteStub.java,
642 java/rmi/server/ServerRef.java,
643 java/rmi/server/Skeleton.java,
644 java/rmi/server/SkeletonMismatchException.java,
645 java/rmi/server/UID.java,
646 java/rmi/server/UnicastRemoteObject.java,
647 java/rmi/server/Unreferenced.java:
648 File headers and import statements cleaned up.
650 2004-10-16 Michael Koch <konqueror@gmx.de>
652 * libjava/gnu/java/nio/charset/UTF_16.java,
653 libjava/gnu/java/nio/charset/UTF_16BE.java,
654 libjava/gnu/java/nio/charset/UTF_16LE.java,
655 libjava/java/nio/ByteOrder.java,
656 libjava/java/nio/MappedByteBuffer.java,
657 libjava/java/nio/channels/Channels.java,
658 libjava/java/nio/channels/spi/SelectorProvider.java,
659 libjava/java/nio/charset/Charset.java:
662 2004-10-16 Michael Koch <konqueror@gmx.de>
664 * gnu/java/nio/charset/UTF_16Encoder.java
665 (UTF_16Encoder): Fixed maxBytesPerChar handling.
667 2004-10-16 Michael Koch <konqueror@gmx.de>
669 * java/math/BigDecimal.java, java/math/BigInteger.java:
670 Reorganized import statements, removed redundant and
671 reorganized modifiers.
673 2004-10-16 Michael Koch <konqueror@gmx.de>
675 * gnu/java/beans/ExplicitBeanInfo.java:
676 Explicitely import java.awt.Image.
677 (getIcon): Fixed off-by-one error.
679 2004-10-15 Andrew Haley <aph@redhat.com>
681 * Makefile.am (nat_files, xlib_nat_files): New.
682 * Makefile.in: Regenerate.
684 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
686 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
687 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
689 2004-10-13 Andrew Haley <aph@redhat.com>
691 * interpret.cc (_Jv_InterpMethod::run): Initialize
692 _Jv_StartOfInterpreter.
693 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
694 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
695 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
696 _Unwind_FindEnclosingFunction to discover whether PC is within the
699 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
702 * testsuite/libjava.lang/md5test.java: New file.
703 * testsuite/libjava.lang/md5test.out: Likewise.
704 * testsuite/libjava.lang/shatest.java: Likewise.
705 * testsuite/libjava.lang/shatest.out: Likewise.
707 2004-10-11 Richard Henderson <rth@redhat.com>
709 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
710 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
712 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
714 * java/util/Calendar.java (set): Invalidate DST_OFFSET
715 field as a DST boundary may have been crossed.
716 * java/util/GregorianCalendar.java (add): Throw
717 IllegalArgumentException on attempt to add to DST_OFFSET or
718 ZONE_OFFSET fields. Update javadoc.
720 2004-10-09 Michael Koch <konqueror@gmx.de>
722 * java/io/CharArrayWriter.java
723 (resize): Removed redundant 'final' modifier.
724 * java/io/DataInputStream.java
725 (readFully): Throw IndexOutOfBoundsException of len < 0.
726 * java/io/FileDescriptor.java,
727 java/io/FileInputStream.java,
728 java/io/FileOutputStream.java,
729 java/io/ObjectOutputStream.java,
730 java/io/ObjectStreamClass.java,
731 java/io/PipedInputStream.java,
732 java/io/RandomAccessFile.java:
733 Reorganized import statements.
735 2004-10-09 Michael Koch <konqueror@gmx.de>
737 * gnu/java/rmi/rmic/RMIC.java,
738 gnu/java/rmi/server/RMIHashes.java,
739 gnu/java/rmi/server/RMIObjectInputStream.java,
740 gnu/java/rmi/server/UnicastConnection.java,
741 gnu/java/rmi/server/UnicastConnectionManager.java,
742 gnu/java/rmi/server/UnicastRemoteCall.java,
743 gnu/java/rmi/server/UnicastServerRef.java:
744 Reworked import statements and fixed file headers.
746 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
748 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
750 * configure: Rebuilt.
752 2004-09-30 Tom Tromey <tromey@redhat.com>
754 * java/text/MessageFormat.java (Field): Constructor now
757 2004-09-30 Tom Tromey <tromey@redhat.com>
759 * javax/crypto/MacSpi.java: Fixed typo.
761 2004-09-30 Michael Koch <konqueror@gmx.de>
763 * java/net/InetAddress.java: Reformatted.
764 (loopback): Initialize with Inet4Address object.
765 (static): Initialize ANY_IF with Inet4Address object.
766 (InetAddress): Removed unused package-private constructor.
768 2004-09-30 Michael Koch <konqueror@gmx.de>
770 * java/beans/Beans.java,
771 java/beans/EventHandler.java,
772 java/beans/EventSetDescriptor.java,
773 java/beans/Introspector.java,
774 java/beans/PropertyEditorManager.java,
775 java/beans/beancontext/BeanContext.java,
776 java/beans/beancontext/BeanContextChild.java,
777 java/beans/beancontext/BeanContextChildSupport.java,
778 java/beans/beancontext/BeanContextMembershipEvent.java:
779 Reordered import statements and removed redundant modifiers.
781 2004-09-29 Tom Tromey <tromey@redhat.com>
784 * Makefile.in: Rebuilt.
785 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
787 (all_property_files): New macro.
789 * Makefile.in: Rebuilt.
790 * Makefile.am (ordinary_java_source_files): Re-sorted.
791 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
793 2004-09-28 Tom Tromey <tromey@redhat.com>
795 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
798 * Makefile.am (libgcj.la): Restored.
799 * Makefile.in: Rebuilt.
801 2004-09-28 Michael Koch <konqueror@gmx.de>
803 * java/net/URLConnection.java: Reformatted.
804 * java/net/URLClassLoader.java: Reformatted.
805 (getContent): Reordered return of content.
806 (getContentHandler): Don't check for null explicitely.
808 2004-09-27 Michael Koch <konqueror@gmx.de>
810 * java/io/BufferedInputStream.java
811 (BufferedInputStream): Added Jeroen Frijters to authors.
812 (count): Don't explicitely initialize with default value.
814 (marklimit): Likewise.
815 (read): Changed boolean expression to match GNU classpath' version.
816 (reset): Add proper message to exception.
817 (skip): Check for closed stream.
820 2004-09-26 Per Bothner <per@bothner.com>
822 * prims.cc (unblock_signal): Annotate signum with __unused__ to
823 avoid warnings in the non-POSIX_VERSION case.
824 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
825 so place it inside an #if block.
826 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
827 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
828 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
829 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
831 2004-09-26 Per Bothner <per@bothner.com>
833 * prims.cc (process_gcj_properties): Optimization.
835 2004-09-26 Per Bothner <per@bothner.com>
837 * java/util/Collections.java (sort): Copy from array in forwards
838 order, rather than reverse order which may be much less efficient.
840 2004-09-26 Mark Wielaard <mark@klomp.org>
842 * java/lang/System.java (properties): Make package private.
843 * java/lang/Throwable.java (StaticData.nl): Initialize through
844 directly accessing System.properties.getProperty().
846 * java/lang/Throwable.java (nl): Remove static field.
847 (StaticData): New private static inner class.
848 (stackTraceStringBuffer): Use StaticData.nl.
850 2004-09-26 Casey Marshall <csm@gnu.org>
852 * java/security/ProtectionDomain.java
853 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
856 * java/security/SecureClassLoader.java
857 (defineClass): make protection domain dynamically bound.
858 (getPermissions): call `getCurrentPolicy' to avoid permission
861 2004-09-25 Mark Wielaard <mark@klomp.org>
863 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
864 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
865 * Makefile.in: Regenerated.
867 * gcj/javaprims.h: Regenerated.
869 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
870 (getDefaultTimeZone): Make package private. Check that GMToffset
871 contains at least one digit.
872 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
874 * util/VMTimeZone.java: New file with above methods.
876 * java/util/natTimeZone.cc: Removed (renamed).
877 * java/util/natVMTimeZone.cc: Added (renamed).
879 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
881 * java/util/TimeZone.java
882 (getDefaultTimeZone): Fixed test to distinguish between hours and
883 minutes in specified timezone.
885 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
887 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
888 handling of default package. (generate): Removed confused comments
889 and code about making Method and Field accessible.
891 2004-09-25 Tom Tromey <tromey@redhat.com>
894 * testsuite/libjava.compile/pr17500.java: New file.
896 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
897 Mark Wielaard <mark@klomp.org>
899 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
900 * gnu/regexp/RETokenLookAhead.java: New file.
902 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
903 * Makefile.in: Regenerated.
905 2004-09-25 Michael Koch <konqueror@gmx.de>
907 * java/io/ObjectStreamField.java:
908 Removed unused import statement.
910 2004-09-24 Tom Tromey <tromey@redhat.com>
913 * testsuite/libjava.compile/pr15656.xfail: New file.
914 * testsuite/libjava.compile/pr15656.java: new file.
917 * testsuite/libjava.lang/pr16789.out: New file.
918 * testsuite/libjava.lang/pr16789.java: New file.
920 2004-09-24 Andrew Haley <aph@redhat.com>
923 * testsuite/libjava.compile/AssertBug.java: New file.
925 2004-09-24 Casey Marshall <csm@gnu.org>
927 * java/util/PropertyPermissionCollection.java
928 (implies): avoid infinite loop.
930 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
932 * javax/security/auth/PrivateCredentialPermission.java
933 (PrivateCredentialPermission): added serialization UID
936 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
938 * gnu/java/rmi/server/UnicastServer.java
939 (incomingMessageCall): Added code to handle Errors.
940 * gnu/java/rmi/server/UnicastServerRef.java
941 (incomingMessageCall): Added code to handle Errors.
944 2004-09-24 Tom Tromey <tromey@redhat.com>
946 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
947 (definedPackages): Likewise.
949 2004-09-24 Michael Koch <konqueror@gmx.de>
951 * java/io/ObjectInputStream.java:
954 2004-09-24 Casey Marshall <csm@gnu.org>
956 * java/io/ObjectInputStream.java (callReadMethod): re-throw
957 `ClassNotFoundException'.
959 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
961 * java/io/ObjectInputStream.java (readObject): Delegate instantation
962 of Externalizable classes to ObjectStreamClass.
963 * java/io/ObjectStreamClass.java (newInstance): New method to
964 instantiate Externalizable (while ignoring the accessibility of
965 the constructor). (constructor): New field to cache the constructor.
967 2004-09-24 Mark Wielaard <mark@klomp.org>
969 * java/net/URL.java (systemClassLoader): New static field.
970 (getURLStreamHandler): Always use system/application classloader
971 for finding URLStreamhandler. Remove unecessary instanceof checks.
973 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
976 (set): This method now matches the behaviour of the JDK.
977 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
979 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
981 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
983 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
985 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
986 Don't set authority if host isn't specified.
988 2004-09-24 Michael Koch <konqueror@gmx.de>
990 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
991 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
992 * gnu/java/nio/VMPipe.java,
993 gnu/java/nio/VMSelector.java:
995 * gnu/java/nio/natPipeImplEcos.cc,
996 gnu/java/nio/natPipeImplPosix.cc,
997 gnu/java/nio/natPipeImplWin32.cc:
999 * gnu/java/nio/natSelectorImplEcos.cc,
1000 gnu/java/nio/natSelectorImplPosix.cc,
1001 gnu/java/nio/natSelectorImplWin32.cc:
1002 Ported to VMSelector.
1003 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1004 gnu/java/nio/VMSelector.java.
1005 * Makefile.in: Regenerated.
1007 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1009 * java/lang/StackTraceElement.java
1010 (className): Renamed field to declaringClass to be compatible
1011 with Sun serialization format.
1013 2004-09-23 Michael Koch <konqueror@gmx.de>
1015 * java/applet/AppletContext.java,
1016 java/applet/Applet.java,
1017 java/applet/AppletStub.java,
1018 java/applet/AudioClip.java:
1019 Jalopied and checkstyle clean.
1021 2004-09-23 Mark Wielaard <mark@klomp.org>
1023 * java/util/Collections.java
1024 (binarySearch(List, Object, Comparator)): Explicitly
1025 reverse direction in list iterator.
1026 (rotate): Just return when list is empty.
1028 2004-09-23 Tom Tromey <tromey@redhat.com>
1031 * testsuite/libjava.compile/pr17329.java: New file.
1034 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1037 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1039 * Makefile.am: Run aclocal with -I ../config
1040 * acinclude.m4: Delete macros picked up from ../config and tidy.
1041 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1042 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1043 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1045 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1047 * aclocal.m4: Regenerate with aclocal 1.9.2.
1048 * configure: Regenerate.
1049 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1050 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1052 2004-09-22 David Daney <ddaney@avtrex.com>
1055 * java/net/URL.java (URL): Copy userInfo from context.
1056 (getUserInfo): Return cached userInfo if present.
1058 2004-09-22 Tom Tromey <tromey@redhat.com>
1061 * mauve-libgcj: Enable java.lang.Character tests.
1063 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1065 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1067 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1068 * Makefile.in: Regenerated.
1070 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1072 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1073 * configure: Regenerate.
1074 * include/config.h.in: Likewise.
1075 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1076 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1078 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1079 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1080 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1085 2004-09-22 Tom Tromey <tromey@redhat.com>
1088 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1089 when comparing CRCs.
1090 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1092 (read()): New overload.
1094 2004-09-21 Tom Tromey <tromey@redhat.com>
1096 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1099 2004-09-21 Michael Koch <konqueror@gmx.de>
1101 * java/net/Socket.java
1102 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1104 2004-09-21 Casey Marshall <csm@gnu.org>
1106 * javax/crypto/MacSpi.java (clone): Provide meaningful
1109 2004-09-21 Tom Tromey <tromey@redhat.com>
1112 * Makefile.in: Rebuilt.
1113 * Makefile.am (MOSTLYCLEANFILES): Removed.
1114 (mostlyclean-local): Remove header files.
1116 2004-09-21 Casey Marshall <csm@gnu.org>
1118 * java/security/cert/X509CRLSelector.java:
1119 (match): remove unreachable try-catch clauses.
1120 Reported by: Dalibor Topic <robilad@kaffe.org>
1122 2004-09-21 Mark Wielaard <mark@klomp.org>
1124 * java/util/TreeMap.java (root): Don't initialize.
1125 (TreeMap(Comparator)): Call fabricateTree(0).
1126 (fabricateTree): Initialize root and size when count is 0.
1128 2004-09-21 Sven de Marothy <sven@physto.se>
1130 * java/nio/ByteBuffer.java (hashCode): Implemented.
1131 * java/nio/CharBuffer.java: Likewise.
1132 * java/nio/DoubleBuffer.java: Likewise.
1133 * java/nio/FloatBuffer.java: Likewise.
1134 * java/nio/LongBuffer.java: Likewise.
1135 * java/nio/IntBuffer.java: Likewise.
1136 * java/nio/ShortBuffer.java: Likewise.
1138 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1140 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1142 2004-09-21 Michael Koch <konqueror@gmx.de>
1144 * javax/net/ssl/SSLServerSocket.java:
1145 Removed comment about "Do not edit this file, it's generated.".
1147 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1149 Import the big Crypto/Jessie/Security merge from Classpath.
1151 * Makefile.am: Add imported files.
1152 * Makefile.in: Regenerate.
1154 2004-08-14 Casey Marshall <csm@gnu.org>
1156 The Big Crypto Merge of 2004.
1158 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1161 Files imported from GNU Crypto.
1162 * javax/crypto/BadPaddingException.java
1163 * javax/crypto/Cipher.java
1164 * javax/crypto/CipherInputStream.java
1165 * javax/crypto/CipherOutputStream.java
1166 * javax/crypto/CipherSpi.java
1167 * javax/crypto/EncryptedPrivateKeyInfo.java
1168 * javax/crypto/ExemptionMechanism.java
1169 * javax/crypto/ExemptionMechanismException.java
1170 * javax/crypto/ExemptionMechanismSpi.java
1171 * javax/crypto/IllegalBlockSizeException.java
1172 * javax/crypto/KeyAgreement.java
1173 * javax/crypto/KeyAgreementSpi.java
1174 * javax/crypto/KeyGenerator.java
1175 * javax/crypto/KeyGeneratorSpi.java
1176 * javax/crypto/Mac.java
1177 * javax/crypto/MacSpi.java
1178 * javax/crypto/Makefile.am
1179 * javax/crypto/NoSuchPaddingException.java
1180 * javax/crypto/NullCipher.java
1181 * javax/crypto/NullCipherImpl.java
1182 * javax/crypto/SealedObject.java
1183 * javax/crypto/SecretKey.java
1184 * javax/crypto/SecretKeyFactory.java
1185 * javax/crypto/SecretKeyFactorySpi.java
1186 * javax/crypto/ShortBufferException.java
1187 * javax/crypto/interfaces/DHKey.java
1188 * javax/crypto/interfaces/DHPrivateKey.java
1189 * javax/crypto/interfaces/DHPublicKey.java
1190 * javax/crypto/interfaces/PBEKey.java
1191 * javax/crypto/spec/DESKeySpec.java
1192 * javax/crypto/spec/DESedeKeySpec.java
1193 * javax/crypto/spec/DHGenParameterSpec.java
1194 * javax/crypto/spec/DHParameterSpec.java
1195 * javax/crypto/spec/DHPrivateKeySpec.java
1196 * javax/crypto/spec/DHPublicKeySpec.java
1197 * javax/crypto/spec/IvParameterSpec.java
1198 * javax/crypto/spec/PBEKeySpec.java
1199 * javax/crypto/spec/PBEParameterSpec.java
1200 * javax/crypto/spec/RC2ParameterSpec.java
1201 * javax/crypto/spec/RC5ParameterSpec.java
1202 * javax/crypto/spec/SecretKeySpec.java
1203 * javax/security/auth/AuthPermission.java
1204 * javax/security/auth/DestroyFailedException.java
1205 * javax/security/auth/Destroyable.java
1206 * javax/security/auth/Policy.java
1207 * javax/security/auth/PrivateCredentialPermission.java
1208 * javax/security/auth/RefreshFailedException.java
1209 * javax/security/auth/Refreshable.java
1210 * javax/security/auth/Subject.java
1211 * javax/security/auth/SubjectDomainCombiner.java
1212 * javax/security/auth/callback/Callback.java
1213 * javax/security/auth/callback/CallbackHandler.java
1214 * javax/security/auth/callback/ChoiceCallback.java
1215 * javax/security/auth/callback/ConfirmationCallback.java
1216 * javax/security/auth/callback/LanguageCallback.java
1217 * javax/security/auth/callback/NameCallback.java
1218 * javax/security/auth/callback/PasswordCallback.java
1219 * javax/security/auth/callback/TextInputCallback.java
1220 * javax/security/auth/callback/TextOutputCallback.java
1221 * javax/security/auth/callback/UnsupportedCallbackException.java
1222 * javax/security/auth/login/AccountExpiredException.java
1223 * javax/security/auth/login/AppConfigurationEntry.java
1224 * javax/security/auth/login/Configuration.java
1225 * javax/security/auth/login/CredentialExpiredException.java
1226 * javax/security/auth/login/FailedLoginException.java
1227 * javax/security/auth/login/LoginContext.java
1228 * javax/security/auth/login/LoginException.java
1229 * javax/security/auth/login/NullConfiguration.java
1230 * javax/security/auth/x500/X500PrivateCredential.java
1231 * javax/security/sasl/AuthenticationException.java
1232 * javax/security/sasl/AuthorizeCallback.java
1233 * javax/security/sasl/RealmCallback.java
1234 * javax/security/sasl/RealmChoiceCallback.java
1235 * javax/security/sasl/Sasl.java
1236 * javax/security/sasl/SaslClient.java
1237 * javax/security/sasl/SaslClientFactory.java
1238 * javax/security/sasl/SaslException.java
1239 * javax/security/sasl/SaslServer.java
1240 * javax/security/sasl/SaslServerFactory.java
1241 * org/ietf/jgss/ChannelBinding.java
1242 * org/ietf/jgss/GSSContext.java
1243 * org/ietf/jgss/GSSCredential.java
1244 * org/ietf/jgss/GSSException.java
1245 * org/ietf/jgss/GSSManager.java
1246 * org/ietf/jgss/GSSName.java
1247 * org/ietf/jgss/MessageProp.java
1248 * org/ietf/jgss/Oid.java
1249 * org/ietf/jgss/MessagesBundle.properties
1251 Files imported from Jessie <http://www.nongnu.org/jessie/>
1252 * javax/net/ServerSocketFactory.java
1253 * javax/net/SocketFactory.java
1254 * javax/net/VanillaServerSocketFactory.java
1255 * javax/net/VanillaSocketFactory.java
1256 * javax/net/ssl/HandshakeCompletedEvent.java
1257 * javax/net/ssl/HandshakeCompletedListener.java
1258 * javax/net/ssl/HostnameVerifier.java
1259 * javax/net/ssl/HttpsURLConnection.java
1260 * javax/net/ssl/KeyManager.java
1261 * javax/net/ssl/KeyManagerFactory.java
1262 * javax/net/ssl/KeyManagerFactorySpi.java
1263 * javax/net/ssl/ManagerFactoryParameters.java
1264 * javax/net/ssl/SSLContext.java
1265 * javax/net/ssl/SSLContextSpi.java
1266 * javax/net/ssl/SSLException.java
1267 * javax/net/ssl/SSLHandshakeException.java
1268 * javax/net/ssl/SSLKeyException.java
1269 * javax/net/ssl/SSLPeerUnverifiedException.java
1270 * javax/net/ssl/SSLPermission.java
1271 * javax/net/ssl/SSLProtocolException.java
1272 * javax/net/ssl/SSLServerSocket.java
1273 * javax/net/ssl/SSLServerSocketFactory.java
1274 * javax/net/ssl/SSLSession.java
1275 * javax/net/ssl/SSLSessionBindingEvent.java
1276 * javax/net/ssl/SSLSessionBindingListener.java
1277 * javax/net/ssl/SSLSessionContext.java
1278 * javax/net/ssl/SSLSocket.java
1279 * javax/net/ssl/SSLSocketFactory.java
1280 * javax/net/ssl/TrivialHostnameVerifier.java
1281 * javax/net/ssl/TrustManager.java
1282 * javax/net/ssl/TrustManagerFactory.java
1283 * javax/net/ssl/TrustManagerFactorySpi.java
1284 * javax/net/ssl/X509KeyManager.java
1285 * javax/net/ssl/X509TrustManager.java
1286 * javax/security/cert/Certificate.java
1287 * javax/security/cert/CertificateEncodingException.java
1288 * javax/security/cert/CertificateException.java
1289 * javax/security/cert/CertificateExpiredException.java
1290 * javax/security/cert/CertificateNotYetValidException.java
1291 * javax/security/cert/CertificateParsingException.java
1292 * javax/security/cert/X509CertBridge.java
1293 * javax/security/cert/X509Certificate.java
1295 2004-08-20 Casey Marshall <csm@gnu.org>
1297 * java/security/cert/X509CRLSelector.java: New file.
1298 * java/security/cert/X509CertSelector.java: New file.
1300 2004-09-15 Michael Koch <konqueror@gmx.de>
1302 * gnu/java/net/protocol/file/Handler.java
1303 (openConnection): Don't throw exception if host part for file: URI is
1304 present. setURL() keeps file: protocol if ftp: protocol is not
1307 2004-09-14 Richard Henderson <rth@redhat.com>
1309 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1310 value of sigsuspend.
1312 2004-09-12 Tom Tromey <tromey@redhat.com>
1314 * javax/naming/CompoundName.java (CompoundName): Don't check for
1315 separator in "flat" case.
1317 2004-09-12 Michael Koch <konqueror@gmx.de>
1319 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1320 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1321 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1324 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1327 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1328 handle in newly-allocated _Jv_Thread_t.
1329 (_Jv_ThreadDestroyData): Close thread handle.
1330 (_Jv_ThreadStart): Remove obsolete comment.
1331 Store handle of newly-created thread in _Jv_Thread_t.
1332 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1333 before including <windows.h>
1334 #define _Jv_HaveCondDestroy
1336 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1338 * java/lang/natThread.cc (finalize_native): Destroy
1339 join conditional variable and mutex if these destroy
1340 operations are supported.
1342 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1344 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1345 (DEFAULT_PERMISSION): New constant.
1346 (Connection): Create a FilePermission with permission to read file.
1348 2004-09-10 Michael Koch <konqueror@gmx.de>
1350 * gnu/java/net/protocol/file/Connection.java
1351 (getLastModified): Moved around.
1352 (getPermission): Return stored permission.
1354 2004-09-10 Michael Koch <konqueror@gmx.de>
1356 * Makefile.in: Regenerate.
1358 2004-09-10 Michael Koch <konqueror@gmx.de>
1360 * Makefile.am: Reverted accidently commited stuff.
1361 * configure: Regenerated.
1363 2004-09-10 Michael Koch <konqueror@gmx.de>
1365 * gnu/java/net/protocol/file/Connection.java
1366 (lineSeparator): Made non-final.
1368 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1369 instead of StringBufferInputStream.
1371 2004-09-10 Michael Koch <konqueror@gmx.de>
1373 * gnu/java/net/protocol/file/Connection.java
1374 (connect): Handle file is a directory case.
1376 2004-09-10 Michael Koch <konqueror@gmx.de>
1379 (xlib_includes): Removed.
1380 (AM_CPPFLAGS): Renamed from INCLUDES.
1381 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1382 * Makefile.in: Regenerate.
1384 2004-09-09 Michael Koch <konqueror@gmx.de>
1386 * java/security/ProtectionDomain.java,
1387 * java/util/PropertyPermissionCollection.java:
1388 Fixed javadocs all over.
1390 2004-09-09 Sven de Marothy <sven@physto.se>
1392 Patch from David Gilbert <david.gilbert@object-refinery.com>
1393 * java/lang/Comparable.java: Fixed documentation errors.
1394 * java/util/Arrays.java: Likewise.
1396 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1398 * java/net/Inet4Address.java
1399 (Inet4Address): Added comment to serialization UID.
1400 * java/text/Format.java
1401 (Format): Added comment to serialization UID.
1403 2004-09-09 Michael Koch <konqueror@gmx.de>
1405 * java/lang/System.java
1406 (err): Fixed javadoci to point to setErr() and not setOut().
1408 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1410 (normalizePath): Added special case for windows systems.
1412 2004-09-09 Michael Koch <konqueror@gmx.de>
1415 (dupSeparator): Made private.
1416 (File(URI)): New constructor.
1417 (getParentFile): Fixed javadoc.
1418 (createTempFile): Reformated.
1419 (setReadOnly): Added comment.
1420 (deleteOnExit): Merged javadoc with classpath version.
1422 2004-09-09 Michael Koch <konqueror@gmx.de>
1424 * Makefile.am: Don't try to include deps.mk.
1425 * Makefile.in: Regenerated.
1427 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1429 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1431 * configure: Rebuilt.
1433 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1435 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1436 Changed pfn from static local to local.
1438 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1439 H.J. Lu <hongjiu.lu@intel.com>
1442 * Makefile.am (GCJCOMPILE): Remove definition.
1443 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1444 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1445 * Makefile.in: Rebuilt.
1447 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1449 * configure.ac (enable-gc-debug): Update help for new syntax.
1450 * configure: Regenerate.
1452 2004-09-03 David Daney <ddaney@avtrex.com>
1454 * include/mips-signal.h: Update copyright.
1456 2004-09-03 David Daney <ddaney@avtrex.com>
1458 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1459 * include/mips-signal.h: Added HANDLE_FPE support.
1461 2004-08-31 Michael Koch <konqueror@gmx.de>
1463 * javax/swing/plaf/basic/BasicTextAreaUI.java
1464 (create): New method.
1465 * javax/swing/text/DefaultHighlighter.java
1466 (DefaultHighlightPainter.debugRect): Removed.
1467 * javax/swing/text/StyleContext.java
1468 (DEFAULT_STYLE): New field.
1470 2004-08-31 Michael Koch <konqueror@gmx.de>
1472 * javax/swing/plaf/basic/BasicLookAndFeel.java
1473 (initComponentDefaults): Add keybindings for selection.backward and
1474 selection-forward for text components.
1475 * javax/swing/plaf/basic/BasicTextUI.java
1476 (paintSafely): Paint highlight only when something is actually
1478 * javax/swing/text/DefaultCaret.java
1479 (handleHighlight): New method.
1480 (setSelectionVisible): Don't do anything when nothing changes.
1482 (moveDot): Reimplemented. Handle highlight.
1483 (setDot): Set mark too. Handle highlight.
1484 (getSelectionPainter): New method.
1485 * javax/swing/text/DefaultEditorKit.java
1486 (defaultActions): Added new actions for text selection.
1487 * javax/swing/text/DefaultHighlighter.java
1488 (DefaultHighlightPainter): New inner class.
1489 (DefaultPainter): New field.
1490 (paint): Implemented.
1491 * javax/swing/text/PlainView.java
1492 (paint): Don't draw background here again.
1493 * javax/swing/text/Utilities.java
1494 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1495 (drawTabbedText): Likewise.
1497 2004-08-31 Graydon Hoare <graydon@redhat.com>
1499 * javax/swing/JComponent.java
1500 (resetKeyboardActions): Add null checks.
1502 2004-08-31 Graydon Hoare <graydon@redhat.com>
1504 * javax/swing/DefaultButtonModel.java:
1505 Skip group notification when no group is set.
1507 2004-08-31 Graydon Hoare <graydon@redhat.com>
1509 * javax/swing/JColorChooser.java:
1510 Make a couple inner classes static, for jikes.
1512 2004-08-31 Michael Koch <konqueror@gmx.de>
1514 * javax/swing/plaf/basic/BasicTextUI.java
1515 (RottView.modelToView): New method.
1516 (UpdateHandler): Renamed from EventHandler.
1517 (updateHandler): Renamed from eventHandler.
1518 (modelToView): Implemented.
1519 * javax/swing/text/AbstractDocument.java
1520 (BranchElement.getElement): Return null for non-existing indeces.
1521 (BranchElement.getElementIndex): Return 0 in some corner cases.
1522 * javax/swing/text/FieldView.java
1523 (modelToView): New method.
1524 * javax/swing/text/PlainView.java
1525 (modelToView): Made public.
1527 2004-08-31 Kim Ho <kho@redhat.com>
1529 * Makefile.am: New files.
1530 * Makefile.in: Regenerate.
1531 * gcj/Makefile.in: Regenerate.
1532 * include/Makefile.in: Regenerate.
1533 * java/awt/Color.java: Fix documentation.
1534 (RGBtoHSB): Use floats for conversions.
1535 * javax/swing/ButtonGroup.java: Run Jalopy.
1536 (setSelected): Reimplement.
1537 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1538 (changeState): Let ButtonGroup know that the button
1540 * javax/swing/JColorChooser.java: Implement.
1541 * javax/swing/JLabel.java: Run Jalopy.
1542 * javax/swing/JSpinner.java: Run Jalopy.
1543 (setValue): New method.
1544 * javax/swing/JTabbedPane.java: Run Jalopy.
1545 (removeTabAt): Call correct remove method.
1546 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1547 (getPreviousValue): Compare minimum value.
1548 * javax/swing/Timer.java: Run Jalopy.
1549 (run): Comment out println.
1550 * javax/swing/ToolTipManager.java:
1551 (mouseMoved): Get new tooltip text for location.
1552 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1554 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1556 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1558 (setSelectedColor): Fire ChangeEvent.
1559 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1560 New file. Implement.
1561 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1563 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1565 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1567 * javax/swing/plaf/basic/BasicArrowButton.java:
1568 (getArrow): Fix size of upward pointing button.
1569 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1571 * javax/swing/plaf/basic/BasicSliderUI.java:
1572 (getWidthOfWidestLabel): Use preferred dimensions.
1573 (getHeightOfTallestLabel): Ditto.
1574 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1576 (mousePressed): Disable changes to spinner if it is not enabled.
1577 * testsuite/Makefile.in: Regenerate.
1580 2004-08-31 Michael Koch <konqueror@gmx.de>
1582 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1583 javax/swing/plaf/basic/BasicTableUI.java:
1584 Added copyright notice.
1586 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1588 * Makefile.am: Added new files.
1589 * Makefile.in: Regenerate.
1590 * javax/swing/ComboBoxEditor.java: Added javadocs.
1591 * javax/swing/ComboBoxModel.java: Likewise.
1592 * javax/swing/DefaultComboBoxModel.java: Implemented.
1593 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1594 and ran through jalopy to fix formatting style.
1595 (getListCellRendererComponent): Use appropriate border
1596 if renderer has focus and use noFocusBorder when it doesn't.
1597 * javax/swing/JComboBox.java: Implemented.
1598 * javax/swing/JList.java:
1599 (locationToIndex): New Method. Implemented.
1600 (indexToLocation): New Method.
1601 * javax/swing/JPopupMenu.java:
1602 (visible): New field.
1603 (isVisible): Changed to use new field above.
1604 (setVisible): Likewise.
1605 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1606 * javax/swing/plaf/basic/BasicArrowButton.java:
1607 (shadow): Changed default color to Color.gray.
1608 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1609 UI delegate for JComboBox.
1610 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1611 Popup menu containing list of JComboBox's items.
1612 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1613 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1614 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1615 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1616 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1617 (popupMenuWillBecomeVisible): Set selected path to the first
1618 element only if it is of type MenuElement. Also fix formatting
1620 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1623 2004-08-31 Michael Koch <konqueror@gmx.de>
1625 * javax/swing/text/AbstractDocument.java
1626 (createBranchElement): Use new constructor of BranchElement.
1627 (createLeafElement): Renamed arguments.
1628 (getRootElements): Implemented.
1629 (BranchElement.start): Removed.
1630 (BranchElement.end): Likewise.
1631 (BranchElement.BranchElement): Fixed arguments.
1632 (BranchElement.getEndOffset): Reimplemented.
1633 (BranchElement.getStartOffset): Likewis.
1634 * javax/swing/text/DefaultCaret.java
1635 (paint): Draw simple vertical line as caret instead of a rectangle.
1636 * javax/swing/text/JTextComponent.java
1637 (setText): Use doc directly.
1638 * javax/swing/text/PlainView.java
1639 (nextTabStop): Implemented.
1640 * javax/swing/text/Utilities.java
1641 (drawTabbedText): nextTabStop() returns an absolute x position.
1642 (getTabbedTextWidth): Likewise.
1644 2004-08-31 Graydon Hoare <graydon@redhat.com>
1646 * java/awt/Component.java
1647 (isFocusTraversable): Predicate on isLightweight()
1648 (setFocusable): Set isFocusTraversableOverridden.
1649 (requestFocus): Predicate peer dispatch on !isLightweight()
1650 (requestFocusInWindow): Likewise.
1651 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1652 * java/awt/Container.java
1653 (dispatchEventImpl): Predicate on event mask.
1654 (LightweightDispatcher): Remove focus machinery.
1655 * java/awt/DefaultFocusTraversalPolicy.java
1656 (accept): Expand predicate to include isFocusable().
1657 * java/awt/DefaultKeyboardFocusManager.java:
1658 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1659 * java/awt/KeyboardFocusManager.java
1660 (redispatchEvent): Synchronize on event to prevent feedback.
1661 * javax/swing/AbstractButton.java
1662 (ButtonFocusListener): Remove class.
1663 (init): Set focusPainted, focusable.
1664 * javax/swing/ActionMap.java (get): Check parent for null.
1665 * javax/swing/InputMap.java (get): Likewise.
1666 * javax/swing/JComponent.java
1667 (inputMap_whenFocused): New InputMap.
1668 (inputMap_whenAncestorOfFocused): Likewise.
1669 (inputMap_whenInFocusedWindow): Likewise.
1670 (getActionForKeyStroke): Rewrite.
1671 (getConditionForKeystroke): Likewise.
1672 (ActionListenerProxy): New private class.
1673 (setInputMap): Implement.
1674 (getInputMap): Likewise.
1675 (setActionMap): Likewise.
1676 (getActionMap): Likewise.
1677 (processComponentKeyEvent): New empty method.
1678 (processKeyEvent): Implement.
1679 (processKeyBinding): Likewise.
1680 (resetKeyboardActions): Rewrite.
1681 * javax/swing/KeyStroke.java: Rewrite.
1682 * javax/swing/SwingUtilities.java
1683 (notifyAction): Implement.
1684 (replaceUIActionMap): Likewise.
1685 (replaceUIInputMap): Likewise.
1686 * javax/swing/plaf/basic/BasicButtonListener.java
1687 (focusGained): Implement.
1688 (focusLost): Repaint if focusPainted().
1689 (installKeyboardActions): Install pressed / released actions.
1690 (uninstallKeyboardActions): Implement.
1691 * javax/swing/plaf/basic/BasicButtonUI.java
1692 (focusColor): New field.
1693 (installDefaults): Load focus color, install input map.
1694 (installKeyboardActions): Implement.
1695 (uninstallKeyboardActions): Likewise.
1696 (paintFocus): Rewrite.
1697 * javax/swing/plaf/basic/BasicLookAndFeel.java
1698 (Button.focus): New default, midPurple.
1699 * javax/swing/plaf/basic/BasicTextUI.java
1701 (installUI): Get doc from kit, load defaults.
1702 (getKeymapName): Implement.
1703 (createKeymap): Likewise.
1704 (installKeyboardActions): Likewise.
1705 (getInputMap): Likewise.
1706 (getActionMap): Likewise.
1707 (createActionMap): Likewise.
1708 * javax/swing/text/AbstractDocument.java
1709 (getStartPosition): Implement.
1710 (getEndPosition): Likewise.
1711 * javax/swing/text/DefaultEditorKit.java
1712 (CopyAction): New class.
1713 (CutAction): Likewise.
1714 (DefaultKeyTypedAction): Likewise.
1715 (InsertBreakAction): Likewise.
1716 (InsertContentAction): Likewise.
1717 (InsertTabAction): Likewise.
1718 (PasteAction): Likewise.
1719 (defaultActions): New static table.
1720 (createCaret): Implement.
1721 (getActions): Likewise.
1722 * javax/swing/text/JTextComponent.java
1723 (KeymapWrapper): New private class.
1724 (KeymapActionMap): Likewise.
1725 (DefaultKeymap): New class.
1726 (keymaps): New static table.
1727 (keymap): New field.
1728 (getKeymap): Implement.
1729 (removeKeymap): Likewise.
1730 (addKeymap): Likewise.
1731 (setKeymap): Likewise.
1732 (loadKeymap): Likewise.
1733 (getActions): Likewise.
1734 (margin): New field.
1735 (JTextComponent): Build and install default keymap.
1736 * javax/swing/text/TextAction.java
1737 (textAction): Call super properly.
1738 (getTextComponent): Implement.
1739 * javax/swing/text/Utilities.java
1740 (drawTabbedText): Adjust position by ascent.
1742 2004-08-31 David Jee <djee@redhat.com>
1746 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1747 (setEnabled): Make it a native method.
1748 * java/awt/DefaultKeyboardFocusManager.java
1749 (postProcessKeyEvent): Only post event if the menu item
1751 * java/awt/MenuItem.java:
1752 Private field 'enabled' should be true by default.
1753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1754 (setEnabled): New function.
1756 2004-08-31 David Jee <djee@redhat.com>
1760 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1761 (nativeSetHelpMenu): New native method declaration.
1762 (addHelpMenu): Call nativeSetHelpMenu().
1764 * java/awt/MenuBar.java
1765 (setHelpMenu): Call addNotify() on the new help menu.
1766 (add): Call addNotify() on the new menu.
1767 (addNotify): Set the help menu if one exists.
1768 * java/awt/peer/MenuBarPeer.java
1770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1771 (nativeSetHelpMenu): New method.
1773 2004-08-31 Graydon Hoare <graydon@redhat.com>
1775 * Makefile.am: Add new files.
1776 * Makefile.in: Regenerate.
1777 * javax/swing/Box.java: Fix setting of layout in ctor.
1778 * javax/swing/JScrollPane.java: Scroll headers as well.
1779 * javax/swing/JTable.java: Reimplement.
1780 * javax/swing/JViewPort.java: Only add non-null children.
1781 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1782 * javax/swing/Timer.java: Fix stopping null waker.
1783 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1784 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1785 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1786 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1787 * javax/swing/table/DefaultTableModel.java: Clean up.
1788 * javax/swing/table/JTableHeader.java: Implement.
1790 2004-08-31 Mark Wielaard <mark@klomp.org>
1792 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1795 2004-08-31 Mark Wielaard <mark@klomp.org>
1797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1798 Declare variables at top of functions/block.
1799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1801 2004-08-31 Mark Wielaard <mark@klomp.org>
1803 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1806 2004-08-31 Michael Koch <konqueror@gmx.de>
1808 * javax/swing/text/PlainView.java
1809 (selectedColor): New field.
1810 (unselectedColor): Likewise.
1812 (updateMetrics): New method.
1813 (lineToRect): Likewise.
1814 (modelToView): Likewise.
1815 (drawSelectedText): Use color from JTextComponent ad draw with
1817 (drawUnselectedText): Likewise.
1818 (paint): Initialize helper fields.
1819 * javax/swing/text/View.java
1820 (getChildAllocation): New method.
1821 (getViewIndex): Likewise.
1822 (getToolTipText): Likewise.
1824 2004-08-31 Michael Koch <konqueror@gmx.de>
1826 * javax/swing/text/Utilities.java
1827 (drawTabbedText): Reimplemented.
1828 (getTabbedTextWidth): Likewise.
1830 2004-08-31 Michael Koch <konqueror@gmx.de>
1832 * javax/swing/plaf/basic/BasicTextUI.java
1833 (installDefaults): Install caret and highlighter.
1834 (modelToView): Use Bias.Forward when calling sibling.
1835 * javax/swing/text/AbstractDocument.java
1836 (ElementEdit): Implements DocumentEvent.ElementChange.
1837 (ElementEdit.ElementEdit): New method.
1838 (ElementEdit.getChildrenAdded): Likewise.
1839 (ElementEdit.getChildrenRemoved): Likewise.
1840 (ElementEdit.getElement): Likewise.
1841 (ElementEdit.getIndex): Likewise.
1842 * javax/swing/text/DefaultCaret.java
1844 (textComponent): Renamed from parent, made private.
1845 (selectionVisible): Renamed from vis_sel, made private.
1846 (blinkRate): Renamed from blink, made private.
1847 (magicCaretPosition): Renamed from magic, made private.
1848 (visible): Renamed from vis, made private.
1849 (dot): Made private.
1851 (deinstall): Remove as MouseMotionListener.
1852 (install): Initialize textComponent first. Add as MouseMotionListener.
1853 (paint): Reimplemented.
1854 * javax/swing/text/JTextComponent.java
1855 (setCaret): Deinstall old caret, install new one and fire property
1856 change after setting property.
1857 (setHighlighter): Deinstall old highlighter, install new one and fire
1858 property change after setting property.
1859 (setCaretColor): Fire property change after setting property.
1860 (setDisabledTextColor): Likewise.
1861 (setSelectedTextColor): Likewise.
1862 (setSelectionColor): Likewise.
1863 (modelToView): New method.
1865 2004-08-31 Michael Koch <konqueror@gmx.de>
1867 * javax/swing/text/AbstractDocument.java
1868 (getText): Simplified.
1869 * javax/swing/text/Segment.java
1870 (current): New field.
1871 (current): Reimplemented.
1873 (getIndex): Likewise.
1876 (previous): Likewise.
1877 (setIndex): Likewise.
1879 2004-08-31 Michael Koch <konqueror@gmx.de>
1881 * javax/swing/plaf/basic/BasicButtonUI.java
1882 (defaultTextIconGap): Made protected.
1883 (defaultTextShiftOffset): Likewise.
1884 (textShiftOffset): New field.
1885 (clearTextShiftOffset): New method.
1886 (getTextShiftOffset): Likewise.
1887 (setTextShiftOffset): Likewise.
1889 2004-08-31 Michael Koch <konqueror@gmx.de>
1891 * javax/swing/plaf/basic/BasicTextUI.java
1892 (installUI): Add eventHandler as property listener.
1893 (uninstallUI): remove eventHandler as propert listener.
1894 (installDefaults): Added comment.
1895 (installListeners): Likewise.
1896 (installKeyboardActions): Likewise.
1897 (uninstallDefaults): Likewise.
1898 (uninstallListeners): Likewise.
1899 (uninstallKeyboardActions): Likewise.
1901 2004-08-31 Michael Koch <konqueror@gmx.de>
1903 * javax/swing/text/AbstractDocument.java:
1904 Fixed some typos in comments.
1905 (insertString): Reimplemented.
1907 (replace): New method.
1908 (children): Dont use fully qualified class name.
1909 (DefaultDocumentEvent.offset): Renamed from off.
1910 (DefaultDocumentEvent.length): Renamed from len.
1911 (DefaultDocumentEvent.type): New field.
1912 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1913 (DefaultDocumentEvent.getType): Implemented.
1915 2004-08-31 Michael Koch <konqueror@gmx.de>
1917 * javax/swing/plaf/basic/BasicTextUI.java
1918 (RootView.textComponent): Removed.
1919 (RootView.RootView): Don't initialize textComponent.
1920 (RootView.getViewFactory): New method.
1921 (EventHandler): New inner class.
1922 (rootView): Initialize at instance creation.
1923 (eventHandler): New field.
1924 (installUI): Don't create view hierarchy directly,
1925 call modelChanged() instead.
1926 (modelChanged): New method.
1927 * javax/swing/text/JTextComponent.java
1928 (setDocument): Fire property change event.
1930 2004-08-31 Michael Koch <konqueror@gmx.de>
1932 * javax/swing/plaf/basic/BasicTextUI.java
1933 (RootView.paint): Removed debug output.
1934 (paintSafely): Draw highlighter before text.
1935 (paintBackground): Use background color of text component.
1936 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1939 2004-08-31 Michael Koch <konqueror@gmx.de>
1941 * javax/swing/plaf/basic/BasicToolBarUI.java
1942 (BasicToolBarUI): Fixed arguments for constructor.
1943 (createUI): Fixed creation of object.
1945 2004-08-31 Michael Koch <konqueror@gmx.de>
1947 * javax/swing/DefaultListSelectionModel.java
1948 (fireValueChanged): Renamed from fireSelectionValueChanged,
1951 2004-08-31 Michael Koch <konqueror@gmx.de>
1953 * javax/swing/text/TabSet.java
1954 (TabSet): Implements java.io.Serializable.
1955 * javax/swing/text/TabStop.java
1956 (TabStop): Implements java.io.Serializable.
1957 (TabStop): Made public.
1959 2004-08-31 Michael Koch <konqueror@gmx.de>
1961 * javax/swing/JComponent.java
1962 (setUI): Fire PropertyChange.
1963 * javax/swing/JLabel.java
1964 (text): Renamed from labelText.
1965 (horizontalAlignment): New default vlaue.
1966 (icon): Renamed from activeIcon.
1967 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1968 (displayedMnemonicIndex): Renamed from underlineChar.
1969 (setDisplayedMnemonic): Reimplemented.
1970 * javax/swing/JRadioButton.java
1971 (JRadioButton): New constructors.
1972 * javax/swing/JTextField.java
1973 (JTextField): Throw exception if colums < 0, initialitialz
1974 this.columns directly and initialize document with text conditionally.
1976 2004-08-31 Michael Koch <konqueror@gmx.de>
1978 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1979 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1980 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1981 * javax/swing/text/FieldView.java
1982 (paint): Just call super method for now.
1983 * Makefile.am: Added new files.
1984 * Makefile.in: Regenerated.
1986 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1988 * javax/swing/AbstractSpinnerModel.java,
1989 javax/swing/JSpinner.java,
1990 javax/swing/SpinnerNumberModel.java,
1991 javax/swing/plaf/basic/BasicSpinnerUI.java:
1993 * javax/swing/plaf/basic/BasicLookAndFeel.java
1994 (initClassDefaults): Added defaults for BasicSpinnerUI.
1996 2004-08-31 Michael Koch <konqueror@gmx.de>
1998 * Makefile.am: Added new files.
1999 * Makefile.in: Regenerated.
2001 2004-08-31 Michael Koch <konqueror@gmx.de>
2003 * javax/swing/TransferHandler.java,
2004 javax/swing/plaf/basic/ComboPopup.java: New files
2005 * Makefile.am: Added javax/swing/TransferHandler.java and
2006 javax/swing/plaf/basic/ComboPopup.java
2007 * Makefile.in: Regenerated.
2009 2004-08-31 Roman Kennke <roman@ontographics.com>
2011 * javax/swing/text/Utilities.java: New file.
2013 2004-08-31 Michael Koch <konqueror@gmx.de>
2015 * Makefile.am: Added javax/swing/text/Utilities.java.
2016 * Makefile.in: Regenerated.
2018 2004-08-31 Graydon Hoare <graydon@redhat.com>
2020 * javax/swing/text/SimpleAttributeSet.java: New file.
2021 * javax/swing/text/StyleConstants.java: New file.
2022 * javax/swing/text/StyleContext.java: New file.
2023 * javax/swing/text/TabSet.java: New file.
2024 * javax/swing/text/TabStop.java: New file.
2025 * javax/swing/text/AbstactDocument.java:
2026 (AbstractElement): Implement attribute support.
2027 * javax/swing/text/AttributeSet.java
2028 (NameAttribute): New static field.
2029 (ResolveAttribute): New static field.
2030 * Makefile.am: Update for new files.
2031 * Makefile.in: Regenerate.
2033 2004-08-31 Craig Black <craig.black@aonix.com>
2035 * gnu/java/awt/peer/gtk/GdkGraphics.java
2036 (drawImage): Add support for scaling pixmaps.
2037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2038 (copyAndScalePixmap): New native method.
2040 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2043 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2044 type-punning compiler warnings using unions.
2045 (throw): Replace bzero with memset.
2047 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2048 Thomas Fitzsimmons <fitzsim@redhat.com>
2050 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2051 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2052 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2054 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2056 2004-08-31 Mark Wielaard <mark@klomp.org>
2058 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2059 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2060 and stdlib.h, not gtkpeer.h.
2061 (*vm): New static variable.
2062 (areaPreparedID): Make static.
2063 (areaUpdatedID): Likewise.
2064 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2065 (area_prepared): Likewise.
2066 (area_updated): Likewise.
2068 (initStaticState): Initialize *vm javaVM.
2069 (pumpBytes): Use given env, not global gdk_env.
2071 2004-08-31 Mark Wielaard <mark@klomp.org>
2073 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2076 2004-08-31 Sven de Marothy <sven@physto.se>
2078 * java/awt/geom/CubicCurve2D.java: Reindent.
2079 (contains): Implemented.
2080 (intersects): Implemented.
2081 * java/awt/geom/QuadCurve2D.java: Likewise.
2082 * java/awt/geom/GeneralPath.java: Reindent and document.
2083 Fully (re)implemented using separate xpoints and ypoints
2085 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2087 2004-08-31 Michael Koch <konqueror@gmx.de>
2089 * javax/swing/JMenuItem.java
2090 (getMenuDragMouseListeners): New method.
2091 (getMenuKeyListeners): Likewise.
2093 2004-08-31 Michael Koch <konqueror@gmx.de>
2095 * javax/swing/AbstractButton.java
2096 (model): Made protected.
2097 (actionListener): Likewise.
2098 (changeListener): Likewise.
2099 (itemListener): Likewise.
2100 (multiClickThreshhold): New field.
2101 (getActionListeners): New method.
2102 (getChangeListeners): Likewise.
2103 (getItemListeners): Likewise.
2104 (fireItemStateChanged): Simplified implementation.
2105 (fireActionPerformed): Likewise.
2106 (fireStateChanged): Likewise.
2107 (getMultiClickThreshhold): New method.
2108 (setMultiClickThreshhold): Likewise.
2110 2004-08-31 Tom Tromey <tromey@redhat.com>
2112 * java/awt/image/Kernel.java (clone): Use super.clone().
2114 2004-08-31 David Jee <djee@redhat.com>
2117 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2118 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2119 (nativeSetIconImageFromData): New native method declaration.
2120 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2121 * gnu/java/awt/peer/gtk/GtkImage.java
2122 (getPixelCache): New method.
2123 (getColorModel): New method.
2124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2125 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2126 (free_pixbuf_data): New helper function.
2127 (nativeSetIconImageFromData): New function.
2129 2004-08-31 Graydon Hoare <graydon@redhat.com>
2132 * javax/swing/JLayeredPane.java
2133 (setLayer): Permit changing layer after addition.
2134 (setPosition): Permit over-length positions.
2135 (layerToRange): Compare intValue()s.
2136 * javax/swing/Box.java (createHorizontalBox): Implement.
2137 (createRigidArea): Likewise.
2138 (createVerticalBox): Likewise.
2140 2004-08-31 Kim Ho <kho@redhat.com>
2142 * java/awt/Component.java:
2143 (processMouseEvent): Consume event after
2144 listeners process it.
2145 (processMouseMotionEvent): ditto.
2146 (processMouseWheelEvent): ditto.
2147 * java/awt/Container.java:
2148 (acquireComponentForMouseEvent):
2149 Do not dispatch to events that have been
2150 removed from the Container.
2151 (handleEvent): Consume the MouseEvents.
2152 * javax/swing/RepaintManager.java:
2153 (paintDirtyRegions): Do not add to list of
2154 damaged areas if the component has no root.
2156 2004-08-31 Michael Koch <konqueror@gmx.de>
2158 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2160 2004-08-31 Mark Wielaard <mark@klomp.org>
2162 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2163 null when a MissingResourceException is thrown. Should never happen.
2165 2004-08-31 Mark Wielaard <mark@klomp.org>
2167 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2168 when argument is null.
2170 2004-08-31 Mark Wielaard <mark@klomp.org>
2172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2173 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2174 Define hid at start of function.
2175 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2178 2004-08-31 Mark Wielaard <mark@klomp.org>
2180 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2181 * javax/swing/JButton.java: Reindent.
2182 * javax/swing/JCheckBox.java: Reindent.
2184 2004-08-31 Mark Wielaard <mark@klomp.org>
2186 * Makefile.am (gtk_c_source_files): Added
2187 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2188 (gtk_awt_peer_sources): Added
2189 gnu/java/awt/peer/gtk/GThreadMutex.java and
2190 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2191 * Makefile.in: Regenerated.
2193 2004-08-31 Archie Cobbs <archie@dellroad.org>
2195 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2197 2004-08-31 Steven Augart <augart@watson.ibm.com>
2199 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2200 Added jfieldID, jmethodID.
2202 2004-08-31 Mark Wielaard <mark@klomp.org>
2204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2205 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2206 gdk_env before calling any gdk or gtk function.
2208 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2209 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2210 (run): Set gtkInitCalled.
2212 2004-08-31 Steven Augart <augart@watson.ibm.com>
2214 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2215 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2218 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2219 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2221 (init_glib_threads): New function.
2223 2004-08-31 Mark Wielaard <mark@klomp.org>
2225 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2226 PRIORITY when not already defined in header file.
2228 2004-08-31 Mark Wielaard <mark@klomp.org>
2230 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2231 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2233 2004-08-31 Steven Augart <augart@watson.ibm.com>
2235 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2236 Implemented missing functions for GTK2.
2237 Added error handling.
2238 Renamed static functions out of the g_ namespace.
2239 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2240 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2241 Rewrote global-reference code.
2242 Eliminated cascading errors.
2243 (mutex_trylock_jni_impl) Fully implemented.
2244 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2246 (setup_cache) New function.
2247 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2248 bug where they were not unlocking the GMutex associated with the
2249 condition variable during the wait on that condition variable.
2251 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2252 native/jni/gtk-peer/gthread-jni.c,
2253 native/jni/gtk-peer/gthread-jni.h
2254 (g_thread_jni_functions): Renamed to ...
2255 (portable_native_sync_jni_functions): this name.
2256 (gdk_vm): Renamed to...
2257 (the_vm): this name.
2259 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2260 (gdk_vm): Removed duplicate definition.
2261 (gtkInit): Removed stray message to stdout.
2262 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2263 (gtkInit): Fix a const assignment bug.
2264 (gtkInit): Simplified code.
2266 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2267 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2268 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2269 gnu/java/awt/peer/gtk/GThreadMutex.java:
2272 2004-08-31 Mark Wielaard <mark@klomp.org>
2274 * javax/swing/Box.java: Put FIXME comment above class declaration.
2275 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2276 * javax/swing/JCheckBox.java: Likewise.
2277 * javax/swing/JDialog.java: Likewise.
2278 * javax/swing/JRadioButton.java: Likewise.
2279 * javax/swing/JToggleButton.java: Likewise.
2280 * javax/swing/UIManager.java: Likewise.
2281 * javax/swing/border/TitledBorder.java: Likewise.
2282 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2283 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2284 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2285 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2286 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2287 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2288 * javax/swing/text/JTextComponent.java: Likewise.
2290 2004-08-31 David Jee <djee@redhat.com>
2293 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2294 (setIconImage): Add a FIXME for unhandled cases.
2296 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2299 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2300 getModifiers. Replace old button masks with new ones.
2301 * gnu/awt/xlib/XEventLoop.java: Likewise.
2302 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2303 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2304 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2305 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2306 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2307 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2308 * java/awt/Component.java: Replace old modifier masks with new
2310 * java/awt/Container.java: Call getModifiersEx, not
2312 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2314 * javax/swing/JMenuItem.java: Replace old button masks with new
2316 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2318 * javax/swing/SwingUtilities.java: Likewise.
2319 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2320 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2321 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2322 mask macros with new ones.
2323 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2324 macros with new ones representing new masks.
2326 2004-08-31 Craig Black <craig.black@aonix.com>
2328 * gnu/java/awt/peer/gtk/GdkGraphics.java
2329 (drawRoundRect): Implemented.
2330 (fillRoundRect): Implemented.
2331 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2332 (drawRoundRect): Reimplemented to match GdkGraphics.
2333 (fillRoundRect): Reimplemented to match GdkGraphics.
2335 2004-08-31 Mark Wielaard <mark@klomp.org>
2337 * Makefile.in: Regenerated.
2339 2004-08-31 Michael Koch <konqueror@gmx.de>
2341 * gnu/java/awt/EmbeddedWindow.java
2342 (addNotify): Use AccessController to allow execution of privileged
2345 2004-08-31 Michael Koch <konqueror@gmx.de>
2347 * gnu/java/awt/EmbeddedWindow.java
2349 (addNotify): Set peer via reflection.
2350 (setWindowPeer): Removed.
2351 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2352 * Makefile.am (nat_source_files):
2353 Removed gnu/java/awt/natEmbeddedWindow.cc.
2355 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2357 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2358 and gnu/java/security/action/SetAccessibleAction.java.
2360 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2362 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2363 Renamed from 'setName'. New 2-argument form with default value.
2364 (run): Pass default 'value' parameter to System.getProperty().
2365 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2368 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2370 * gnu/java/security/action/GetPropertyAction.java: New class.
2371 * gnu/java/security/action/SetAccessibleAction.java: New class.
2373 2004-08-31 David Jee <djee@redhat.com>
2375 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2376 (setIconImage): Check if image is null.
2378 2004-08-31 David Jee <djee@redhat.com>
2380 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2381 (create): Set the icon image.
2382 (nativeSetIconImage): New native method declaration.
2383 (setIconImage): Implement.
2384 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2385 (nativeSetIconImage): New function.
2387 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2389 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2390 (filenameFilterCallback): Declare local variable accepted before use.
2392 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2394 * gnu/java/awt/ComponentDataBlitOp.java:
2397 2004-08-31 Tom Tromey <tromey@redhat.com>
2399 * gnu/java/awt/peer/GLightweightPeer.java,
2400 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2401 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2402 javax/swing/JScrollPane.java: Removed
2405 2004-08-31 David Jee <djee@redhat.com>
2407 * java/awt/DefaultKeyboardFocusManager.java
2408 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2409 event. Fix shift modifier checking.
2410 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2411 (accel_attach): Remove.
2412 (setupAccelGroup): Remove calls to accel_attach.
2414 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2416 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2417 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2419 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2421 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2422 * Makefile.in: Regenerate.
2423 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2424 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2425 (create(String)): New method.
2426 (create): Call new create method.
2427 (getArgs): Remove method.
2428 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2429 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2430 (nativeCreate): Rename to create.
2431 (gtkSetLabel): Rename to gtkButtonSetLabel.
2432 (gtkToggleButtonSetActive): New method.
2433 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2434 (setState): Replace set call with gtkToggleButtonSetActive.
2435 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2436 (getArgs): Remove method.
2437 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2438 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2439 (gtkWidgetSetSensitive): New method.
2440 (gtkWidgetSetParent): Likewise.
2441 (GtkComponentPeer): Call setParent, setComponentBounds and
2442 setVisibleAndEnabled.
2443 (setParent): New method.
2444 (setComponentBounds): New method.
2445 (setVisibleAndEnabled): New method.
2446 (setEnabled): Call gtkWidgetSetSensitive.
2447 (getArgs): Remove method.
2448 Remove all set methods.
2449 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2450 gtkWindowSetModal, setTitle and setResizable.
2451 (getArgs): Remove method.
2452 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2453 (setComponentBounds): New method.
2454 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2455 Replace set call with gtkWindowSetResizable.
2456 (getArgs): Remove method.
2457 (create): Call setTitle and setResizable.
2458 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2459 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2460 (gtkWindowSetTitle): New method.
2461 (gtkWindowSetResizable): New method.
2462 (gtkWindowSetModal): New method.
2463 (setParent): New method.
2464 (setVisibleAndEnabled): New method.
2465 (getArgs): Remove method.
2466 (setTitle): Call gtkWindowSetTitle.
2467 (setResizable): Call gtkWindowSetResizable.
2468 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2469 and off locking instrumentation.
2471 2004-08-31 Kim Ho <kho@redhat.com>
2473 * Makefile.am: Add new file.
2474 * Makefile.in: Regenerate.
2475 * gcj/Makefile.in: Regenerate
2476 * include/Makefile.in:
2477 * java/awt/Container.java:
2478 (acquireComponentForMouseEvent): Respect
2479 the event mask when looking for candidate.
2480 * javax/swing/JComponent.java:
2481 Remove toolTip field.
2482 (createToolTip): Create a tooltip on demand.
2483 (setToolTipText): Register with the ToolTipManager.
2484 (getToolTipText(MouseEvent)): Return getToolTipText().
2485 * javax/swing/JToolTip.java: Implement.
2486 * javax/swing/Timer.java: Jalopy.
2487 (restart): Call stop, then start.
2488 (stop): Interrupt the timer rather than wait for
2489 the timer to come to a stop naturally.
2490 * javax/swing/ToolTipManager.java: Implement.
2491 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2492 Change ToolTip.background color.
2493 * javax/swing/plaf/basic/BasicToolTipUI.java:
2495 * testsuite/Makefile.in: Regenerate
2497 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2499 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2500 constructor param comments.
2502 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2504 * java/awt/Component.java: Document AWT 1.0 event handler
2507 2004-08-31 Roman Kennke <roman@ontographics.com>
2509 * javax/swing/Box.java:
2510 (createGlue): Implemented
2511 (createHorizontalGlue): Implemented
2512 (createHorizontalStrut): Implemented
2513 (createVerticalGlue): Implemented
2514 (createVerticalStrut): Implemented
2516 2004-08-31 David Jee <djee@redhat.com>
2518 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2519 (GtkChoicePeer): Do not automatically select first item.
2520 (getHistory): Remove.
2521 (nativeGetSelected): New method.
2522 (nativeRemoveAll): New method.
2523 (add): Use nativeGetSelected() instead of getHistory().
2525 (removeAll): Call nativeRemoveAll().
2526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2527 (create): Migrate to GtkComboBox.
2529 (nativeAdd): Likewise.
2530 (nativeRemove): Likewise.
2532 (nativeRemoveAll): New method.
2533 (nativeGetSelected): New method.
2534 (selection_changed): New method.
2535 (getHistory): Remove.
2536 (item_activate): Remove.
2537 (item_removed): Remove.
2538 (connect_choice_item_selectable_hook): Remove.
2540 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2542 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2543 variable in setEditable call.
2545 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2546 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2547 (gtkWidgetSetBackground): New method.
2548 (gtkWidgetSetForeground): Likewise.
2549 (create): Set peer's editable state based on awtComponent's.
2551 * java/awt/Button.java (Button()): Use empty string rather than
2552 null in no-label constructor.
2554 2004-08-31 Roman Kennke <roman@ontographics.com>
2556 * javax/swing/BoxLayout.java: Reimplement.
2558 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2560 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2561 gnu_java_awt_peer_gtk_GdkGraphics.c
2562 (initState(GtkComponentPeer)): Don't return array of colour
2564 (GdkGraphics(int,int)): Set default font to size 12.
2565 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2566 component's foreground colour.
2567 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2568 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2569 (initState(GtkComponentPeer)): Don't return array of colour
2571 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2572 colours to component's colours.
2573 (current_colors_of_widget): Remove function.
2574 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2575 Return a new graphics object.
2576 * java/awt/Font.java (toString): Fix format.
2577 * java/awt/Graphics.java (toString): Likewise.
2579 2004-08-31 Craig Black <craig.black@aonix.com>
2581 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2582 (addTearOff): New function.
2583 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2585 (init): Call addTearOff() when menu.isTearOff().
2587 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2589 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2590 Default implementation.
2591 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2592 Implement using GdkPixbufDecoder.
2594 2004-08-31 David Jee <djee@redhat.com>
2596 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2597 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2598 setting the size of GtkFileDialogPeers.
2599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2600 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2601 use their default sizes rather than their natural requisitions.
2603 2004-08-31 Michael Koch <konqueror@gmx.de>
2605 * javax/swing/JFormattedTextField.java
2606 (JFormattedTextField): Implemented.
2607 * javax/swing/text/DefaultEditorKit.java
2608 (BeepAction): New inner class.
2609 * javax/swing/text/Segment.java
2610 (partialReturn): New field.
2611 (setPartialReturn): New method.
2612 (isPartialReturn): Likewise.
2613 * javax/swing/text/View.java
2614 (createFragment): Fixed typo.
2615 (getStartOffset): New method.
2616 (getEndOffset): Likewise.
2618 2004-08-31 Michael Koch <konqueror@gmx.de>
2620 * javax/swing/table/DefaultTableColumnModel.java
2621 (serialVersionUID): Made private.
2622 (listenerList): Initialize.
2623 (changeEvent): Initialize.
2624 * javax/swing/table/JTableHeader.java
2625 (JTableHeader): New constructors.
2626 (createDefaultColumnModel): New method.
2627 * javax/swing/table/TableColumn.java
2628 (setHeaderRenderer): Simplified code.
2629 (setCellRenderer): Likewise.
2630 (setWidth): Likewise.
2632 2004-08-31 Tom Tromey <tromey@redhat.com>
2634 * java/text/AttributedString.java (AttributedString): Use
2635 ArrayList to build array of attribute ranges. Don't use
2636 `attribs' before it is set.
2638 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2640 * HACKING: Remove reference to special automake. No longer needed.
2642 2004-08-30 Tom Tromey <tromey@redhat.com>
2644 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2645 return result from `add'.
2647 2004-08-30 Tom Tromey <tromey@redhat.com>
2649 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2651 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2653 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2655 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2657 * java/io/File.java File(String,String): Fixed handling of empty
2660 2004-08-30 Casey Marshall <csm@gnu.org>
2662 Author e-mail updated for all files.
2663 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2665 (compareTo): Use `equals'.
2666 * gnu/java/security/der/BitString.java (equals): Test if the
2667 argument is an instance of BitString.
2668 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2669 class final. Made fields private.
2670 (<init>): New constructor.
2672 (makeString): Made static; don't use NIO.
2673 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2674 * gnu/java/security/der/DERWriter.java: Fixed imports.
2675 (writeString): Don't use NIO.
2676 (toIso88591, toUtf16Be, toUtf8): New methods.
2677 * gnu/java/security/der/DERValue.java: Formatting changes only.
2678 * gnu/java/security/der/DER.java: Likewise.
2680 2004-08-30 Tom Tromey <tromey@redhat.com>
2682 * java/nio/CharBuffer.java (put): Fix typo.
2683 * java/nio/DoubleBuffer.java (put): Fix typo.
2684 * java/nio/FloatBuffer.java (put): Fix typo.
2685 * java/nio/IntBuffer.java (put): Fix typo.
2686 * java/nio/LongBuffer.java (put): Fix typo.
2687 * java/nio/ShortBuffer.java (put): Fix typo.
2689 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2691 * java/nio/ByteBuffer.java (put): Fix typo.
2693 2004-08-30 Casey Marshall <csm@gnu.org>
2695 * java/security/DummyKeyPairGenerator.java (clone): Removed
2696 useless instanceof check.
2697 * java/security/DummyMessageDigest.java (clone): Likewise.
2698 * java/security/DummySignature.java (clone): Likewise.
2699 * java/security/MessageDigest.java (clone): Remove useless
2701 * java/security/MessageDigestSpi.java (clone): Likewise.
2702 * java/security/Signature.java (clone): Provide meaningful
2704 * java/security/SignatureSpi.java (clone): Likewise.
2706 2004-08-29 Mark Wielaard <mark@klomp.org>
2708 * java/util/Arrays.java
2709 (sort(byte[], int, int)): Check fromIndex < 0.
2710 (sort(char[], int, int)): Likewise.
2711 (sort(short[], int, int)): Likewise.
2712 (sort(int[], int, int)): Likewise.
2713 (sort(long[], int, int)): Likewise.
2714 (sort(float[], int, int)): Likewise.
2715 (sort(double[], int, int)): Likewise.
2716 (sort(Object[], int, int, Comparator)): Likewise.
2717 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2718 (qsort(char[], int, int)): Likewise.
2719 (qsort(short[], int, int)): Likewise.
2720 (qsort(int[], int, int)): Likewise.
2721 (qsort(long[], int, int)): Likewise.
2722 (qsort(float[], int, int)): Likewise.
2723 (qsort(double[], int, int)): Likewise.
2725 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2727 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2728 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2729 java/util/ArrayList.java, java/util/Arrays.java,
2730 java/util/BitSet.java, java/util/Calendar.java,
2731 java/util/Collection.java, java/util/ListIterator.java,
2732 java/util/Map.java, java/util/SortedSet.java:
2733 Added additional exceptions to documentation, along
2734 with some additions and corrections.
2736 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2738 * configure.ac: Handle --enable-gc-debug.
2739 * configure: Regenerate.
2740 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2741 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2742 Rearrange include file order.
2743 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2744 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2745 (disable_gc_mutex): Delete along with all references.
2746 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2747 adjust for debug header size.
2748 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2750 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2751 (gcj_describe_type_fn): New.
2752 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2753 Register gcj_describe_type_fn.
2754 * include/boehm-gc.h:
2755 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2756 Don't define, but declare, for debug case.
2757 * java/lang/natObject.cc:
2758 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2760 2004-08-26 Mark Wielaard <mark@klomp.org>
2762 Fixes PR libgcj/17002:
2763 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2764 a TimeZoneId string and then try to convert that to a TimeZone with
2765 getDefaultSystemTimeZone(String).
2766 (timezones0): Changed type from Hashtable to HashMap.
2767 (timezones): Create HashMap, not Hashtable.
2768 (getDefaultTimeZone): New method, rewritten from CNI version.
2769 (readTimeZoneFile): New method.
2770 (readtzFile): Likewise.
2771 (skipFully): Likewise.
2772 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2773 getDefaultTimeZoneId and rewritten.
2774 (getDefaultTimeZoneId): Rewritten in java.
2776 2004-08-25 David Daney <daney@avtrex.com>
2778 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2779 * Makefile.in: Regenerated.
2781 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2783 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2784 only if jvmpi is enabled.
2785 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2786 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2787 (_Jv_AllocString): Likewise.
2788 (_Jv_AllocPtrFreeObject): Likewise.
2790 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2792 * defineclass.cc: Include <stdio.h>.
2793 * java/lang/natClassLoader.cc: Include <stdio.h>.
2795 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2796 Michael Koch <konqueror@gmx.de>
2798 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2799 * Makefile.in: Regenerated.
2801 2004-08-20 Michael Koch <konqueror@gmx.de>
2803 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2804 AC_COMPILE_IFELSE macros.
2806 2004-08-20 Michael Koch <konqueror@gmx.de>
2808 * configure.in: Renamed to configure.ac.
2809 * configure.ac: New file.
2810 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2811 include/config.h.in, testsuite/Makefile.in: Regenerated.
2813 2004-08-20 Michael Koch <konqueror@gmx.de>
2815 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2816 * aclocal.m4, configure: Regenerated.
2818 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2819 Michael Koch <konqueror@gmx.de>
2821 * configure.in, Makefile.am: Ported to automake 1.9.
2822 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2823 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2826 2004-08-19 Tom Tromey <tromey@redhat.com>
2828 * java/net/DatagramSocket.java: Fixed typo.
2830 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2833 * java/net/URI.java (string): New field. Make all other fields
2835 (readObject): Implemented.
2836 (writeObject): Implemented.
2837 (URI): Set 'string'.
2839 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2842 * java/util/logging/Handler.java (isLoggable): Accept record if its
2843 log level equals the threshold level. From Robin Green.
2845 2004-08-18 David Daney <ddaney@avtrex.com>
2847 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2850 2004-08-17 Michael Koch <konqueror@gmx.de>
2852 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2853 * Makefile.in: Regenerated.
2855 2004-08-16 Tom Tromey <tromey@redhat.com>
2858 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2860 2004-08-16 Michael Koch <konqueror@gmx.de>
2863 (math_c_files): Renamed from c_files.
2864 (math_c_source_files): Renamed from c_source_files.
2867 include/Makefile.in,
2868 testsuite/Makefile.in: Regenerated.
2870 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2872 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2873 to avoid autoconf warning.
2874 * configure: Rebuilt.
2876 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2878 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2879 localhostAddress to loopbackAddress.
2880 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2882 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2884 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2885 boehm-gc's include dirs.
2886 * configure: Rebuilt.
2887 * include/boehm-gc.h: Include gc_config.h.
2889 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2891 * java/net/InetAddress.java (loopbackAddress): Renamed from
2893 (getByName): Return loopback address for null hostname, without
2894 security check. Use lookup(), not getAllByName.
2895 (getAllByName): Return loopback address for null hostname, without
2897 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2900 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2903 Reported by Robin Green.
2904 * defineclass.cc (handleField): Don't throw exception on unrecognised
2905 modifier. Add FIXME comments for spec compliance.
2906 (handleMethod): Likewise.
2908 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2911 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2912 (Almost everywhere): add LOG calls, fix, add comments.
2913 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2914 Add explicit check for LOCKED bit in slow case (PR 16662).
2915 (_Jv_MonitorExit): Add casts in debug-only code.
2916 Always release LOCKED bit before throwing exception.
2917 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2918 isn't. Handle easy cases without lock acquisition.
2919 (Object::wait): Use NotifyAll for lock inflation.
2921 2004-08-12 David Daney <ddaney@avtrex.com>
2923 * testsuite/libjava.lang/Process_1.java: New test.
2924 * testsuite/libjava.lang/Process_2.java: New test.
2925 * testsuite/libjava.lang/Process_3.java: New test.
2926 * testsuite/libjava.lang/Process_4.java: New test.
2927 * testsuite/libjava.lang/Process_5.java: New test.
2928 * testsuite/libjava.lang/Process_6.java: New test.
2929 * testsuite/libjava.lang/Process_1.out: Expected result.
2930 * testsuite/libjava.lang/Process_2.out: Expected result.
2931 * testsuite/libjava.lang/Process_3.out: Expected result.
2932 * testsuite/libjava.lang/Process_4.out: Expected result.
2933 * testsuite/libjava.lang/Process_5.out: Expected result.
2934 * testsuite/libjava.lang/Process_6.out: Expected result.
2936 2004-08-12 David Daney <ddaney@avtrex.com>
2939 * java/lang/PosixProcess.java: Rewrote.
2940 * java/lang/natPosixProcess.cc: Rewrote.
2941 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2942 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2943 * posix-threads.cc (block_sigchld) New function.
2944 (_Jv_ThreadRegister) Use it.
2945 (_Jv_ThreadStart) Use it.
2946 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2947 * Makefile.am: ... to specify extra native headers.
2948 * configure: Regenerated.
2949 * include/config.h: Regenerated.
2950 * Makefile.in: Regenerated.
2951 * gcj/Makefile.in: Regenerated.
2952 * include/Makefile.in: Regenerated.
2953 * testsuite/Makefile.in: Regenerated.
2955 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2957 PR tree-optimization/16867
2958 * testsuite/libjava.lang/PR16867.java: New test.
2960 2004-08-09 Per Bothner <per@bothner.com>
2962 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2963 with private fields and access methods.
2964 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2965 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2966 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2967 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2968 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2969 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2971 * resolve.cc: Likewise.
2972 * gcj/field.h: Likewise.
2973 * include/jvm.h: Likewise.
2974 * java/lang/Class.h: Likewise.
2975 * java/lang/natClass.cc: Likwise.
2976 * java/lang/natClassLoader.cc: Likewise
2977 * java/lang/reflect/natMethod.cc: Likewise
2978 * verify.cc: Likewise.
2979 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2980 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2982 2004-08-10 Andrew Haley <aph@redhat.com>
2984 * testsuite/libjava.lang/err14.java: New file.
2985 * testsuite/libjava.lang/err14.out: New file.
2987 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2989 * Makefile.am: Fix missing rename from x_nat_headers to
2991 * Makefile.in: Regenerated.
2993 2004-08-04 Andrew Haley <aph@redhat.com>
2995 * java/security/BasicPermission.java: Don't check wildcards.
2997 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2998 Michael Koch <konqueror@gmx.de>
3000 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3001 * configure.in: Replaced all usages of AC_LINK_FILES by
3004 configure: Regenerated.
3006 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3007 Michael Koch <konqueror@gmx.de>
3009 * acconfig.h: Removed.
3010 * Makefile.am: Rename variables for xlib peer to include xlib and
3011 gtk_c_headers to gtk_jni_headers.
3012 * Makefile.in: Regenerated.
3014 2004-08-04 Andrew Haley <aph@redhat.com>
3016 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3019 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3021 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3022 Replace most top level 'dnl' comments with '#' comments, conforming
3023 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3025 * configure: Rebuilt.
3027 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3029 * acinclude.m4: Include no-executables.m4.
3030 * aclocal.m4: Rebuild.
3031 * configure.in: Convert to the autoconf 2.59 version of
3032 of the no-executables hack, and also of the nonstandard CXX
3033 hack and the multilibbed CC and CXX hack. Change prerequisite
3035 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3036 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3037 testsuite/Makefile.in: Regenerate.
3039 2004-08-03 Tom Tromey <tromey@redhat.com>
3041 * jni.cc: Reindented.
3043 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3045 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3047 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3049 * testsuite/libjava.compile/PR16701.java: New test.
3051 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3053 * java/util/Collection.java, java/util/List.java,
3054 java/util/Map.java, java/util/Set.java,
3055 java/util/SortedMap.java, java/util/SortedSet.java:
3056 Added additional exceptions to documentation.
3058 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3061 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3062 * configure. Regenerate.
3063 * include/win32.h: Explicitly include winsock2.h
3064 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3067 2004-07-30 Michael Koch <konqueror@gmx.de>
3069 * java/util/zip/GZIPInputStream.java
3070 (GZIPInputStream): Increase buffer size to 4k.
3071 * java/util/zip/GZIPOutputStream.java
3072 (GZIPOutputStream): Likewise.
3073 * java/util/zip/Inflater.java
3074 (setInput): Merged formating with GNU classpath.
3075 * java/util/zip/InflaterInputStream.java
3076 (InflaterInputStream): Increase buffer size to 4k.
3077 (fill): Throw exception if stream ends early.
3078 (read): Merged endless-loop with GNU classpath.
3079 (skip): Increase buffer size to 2k.
3081 2004-07-30 Michael Koch <konqueror@gmx.de>
3083 * gnu/java/awt/EmbeddedWindow.java
3084 (addNotify): Use AccessController to allow execution of privileged
3087 2004-07-29 Michael Koch <konqueror@gmx.de>
3089 * gnu/java/lang/MainThread.java:
3090 Explicitely import used classes.
3091 (args): Make it type String[].
3093 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3095 * gnu/java/awt/ComponentDataBlitOp.java,
3096 gnu/java/beans/ExplicitBeanInfo.java,
3097 gnu/java/beans/IntrospectionIncubator.java,
3098 gnu/java/beans/editors/ColorEditor.java,
3099 gnu/java/beans/editors/FontEditor.java,
3100 gnu/java/beans/editors/NativeBooleanEditor.java,
3101 gnu/java/beans/editors/NativeByteEditor.java,
3102 gnu/java/beans/editors/NativeDoubleEditor.java,
3103 gnu/java/beans/editors/NativeFloatEditor.java,
3104 gnu/java/beans/editors/NativeIntEditor.java,
3105 gnu/java/beans/editors/NativeLongEditor.java,
3106 gnu/java/beans/editors/NativeShortEditor.java,
3107 gnu/java/beans/editors/StringEditor.java,
3108 gnu/java/io/ClassLoaderObjectInputStream.java,
3109 gnu/java/io/decode/Decoder.java,
3110 gnu/java/io/encode/Encoder.java,
3111 gnu/java/lang/ClassHelper.java,
3112 gnu/java/locale/Calendar.java,
3113 gnu/java/locale/Calendar_de.java,
3114 gnu/java/locale/Calendar_en.java,
3115 gnu/java/locale/Calendar_nl.java,
3116 gnu/java/locale/LocaleInformation_de.java,
3117 gnu/java/locale/LocaleInformation_en.java,
3118 gnu/java/locale/LocaleInformation_nl.java:
3121 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3123 * README: Remove obsolete info. Update bug URL.
3125 * NEWS: Updated with news up to GCC 3.4 release.
3127 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3129 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3130 Renamed from 'setName'. New 2-argument form with default value.
3131 (run): Pass default 'value' parameter to System.getProperty().
3132 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3134 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3137 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3139 * configure.in: Check for minimum GTK version 2.4 requirement.
3140 * configure: Rebuilt.
3142 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3144 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3145 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3147 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3149 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3150 address. Reduce sleep times. Synchronize with target threads before
3151 attempting to interrupt them. Don't try to calibrate yeild count,
3152 instead, always loop for a fixed time.
3153 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3154 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3155 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3156 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3157 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3158 * testsuite/libjava.lang/pr179.java: Likewise.
3159 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3160 time. Remove upper bounds check on sleep time.
3162 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3164 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3165 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3167 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3169 * java/io/File.java (toURI): Throw RuntimeException, not
3171 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3172 class name, not instance.
3174 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3176 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3177 and gnu/java/security/action/SetAccessibleAction.java.
3178 * Makefile.in: Rebuilt.
3180 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3182 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3183 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3185 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3186 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3187 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3189 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3191 * Makefile.am: Replace jar, rmic and rmiregistry references with
3192 gjar, grmic and grmiregistry.
3193 * configure.in: Likewise.
3194 * Makefile.in: Regenerate.
3195 * configure: Likewise.
3196 * gcj/Makefile.in: Likewise.
3197 * include/Makefile.in: Likewise.
3198 * testsuite/Makefile.in: Likewise.
3200 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3202 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3203 for privileged getProperty calls.
3204 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3205 SetAccessibleAction instead of anonymous class for doPrivileged call.
3206 (getMethod): Likewise.
3207 (setAccessible): New field. PrivilegedAction object to use when
3208 calling setAccessible.
3209 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3210 SetAccessibleAction instead of anonymous class for diPrivileged call.
3211 (setFields): Likewise.
3212 (getClassUID): Likewise.
3213 (findMethod): Likewise.
3214 * gnu/java/security/action/GetPropertyAction.java: New class.
3215 * gnu/java/security/action/SetAccessibleAction.java: New class.
3217 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3219 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3221 * testsuite/libjava.lang/Serialization.java: New test.
3222 * testsuite/libjava.lang/Serialization.out: New.
3224 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3226 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3227 missed in last commit.
3229 2004-07-23 Mark Wielaard <mark@klomp.org>
3231 * java/lang/System.java (static): Set http.agent system property when
3233 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3234 from system property inside AccessController.doPrivileged() call.
3235 (proxyPort): Made package private.
3236 (proxyInUse): Likewise.
3237 (proxyHost): Likewise.
3238 (userAgent): Likewise.
3240 2004-07-23 Mark Wielaard <mark@klomp.org>
3242 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3245 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3247 * Makefile.am (ordinary_java_source_files): Add
3248 DefaultContentHandlerFactory.java.
3249 * Makefile.in: Rebuilt.
3250 * java/net/URLConnection.java (defaultFactory): New field.
3252 (getContentHandler): Renamed from 'setContentHandler'. Try
3253 defaultFactory after user-set factory, if any. Search for content
3254 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3255 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3257 (getLastModified): Implemented.
3258 (getPermission): Create file permission here, instead of in
3260 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3262 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3264 (getLastModified): Implemented.
3265 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3266 Default implementation.
3267 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3268 Implement using GdkPixbufDecoder.
3270 2004-07-21 Michael Koch <konqueror@gmx.de>
3272 * javax/swing/JTextArea.java
3273 (setLineWrap): Fire property change event after new value is set.
3274 (setTabSize): Likewise.
3276 2004-07-21 Michael Koch <konqueror@gmx.de>
3278 * javax/swing/JTable.java
3279 (autoCreateColumnsFromModel): New field.
3280 (autoResizeMode): Likewise.
3281 (cellEditor): Likewise.
3282 (cellSelectionEnabled): Likewise.
3283 (columnModel): Likewise.
3284 (dataModel): Likewise.
3285 (defaultEditorsByColumnClass): Likewise.
3286 (defaultRenderersByColumnClass): Likewise.
3287 (editingColumn): Likewise.
3288 (editingRow): Likewise.
3289 (gridColor): Likewise.
3290 (preferredViewportSize): Likewise.
3291 (rowHeight): Likewise.
3292 (rowMargin): Likewise.
3293 (rowSelectionAllowed): Likewise.
3294 (selectionBackground): Likewise.
3295 (selectionForeground): Likewise.
3296 (selectionModel): Likewise.
3297 (showHorizontalLines): Likewise.
3298 (showVerticalLines): Likewise.
3299 (tableHeader): Likewise.
3300 (JTable): Implemented.
3301 (getColumnModel): Likewise.
3302 (getSelectedRow): Likewise.
3303 (getSelectionModel): Likewise.
3304 (setModel): Likewise.
3305 (setSelectionModel): Likewise.
3306 (createScrollPaneForTable): New method.
3307 (createDefaultDataModel): Likewise.
3308 (createDefaultListSelectionModel): Likewise.
3309 (getModel): Likewise.
3310 (getTableHeader): Likewise.
3311 (setTableHeader): Likewise.
3312 (getColumnSelectionAllowed): Likewise.
3313 (setColumnSelectionAllowed): Likewise.
3314 (getRowSelectionAllowed): Likewise.
3315 (setRowSelectionAllowed): Likewise.
3316 (getAutoResizeMode): Likewise.
3317 (setAutoResizeMode): Likewise.
3318 (getColumnCount): Likewise.
3319 (getRowCount): Likewise.
3320 (getCellRenderer): Likewise.
3321 * javax/swing/JTree.java
3322 (cellRenderer): New field.
3323 (editable): Likewise.
3324 (rootVisible): Likewise.
3325 (showsRootHandles): Likewise.
3326 (getModel): New method.
3327 (setModel): Likewise.
3328 (isEditable): Likewise.
3329 (setEditable): Likewise.
3330 (isRootVisbile): Likewise.
3331 (setRootVisible): Likewise.
3332 (getShowsRootHandles): Likewise.
3333 (setShowRootHandles): Likewise.
3334 (getCellRenderer): Likewise.
3335 (setCellRenderer): Likewise.
3337 2004-07-21 Michael Koch <konqueror@gmx.de>
3339 * javax/swing/JFormattedTextField.java
3340 (setDocument): Implemented.
3341 * javax/swing/JRootPane.java:
3343 * javax/swing/JTable.java
3344 (getDefaultRenderer): New method.
3345 * javax/swing/JTextField.java
3346 (setFont): Likewise.
3347 (getPreferredSize): Likewise.
3348 * javax/swing/JToggleButton.java
3349 (getAccessibleContext): Fix javadoc.
3350 * javax/swing/JTree.java:
3352 * javax/swing/JViewport.java:
3355 2004-07-21 David Jee <djee@redhat.com>
3357 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3358 Collect all native method declaration at the top.
3359 (create): Set the filename filter if necessary.
3360 (setDirectory): Call nativeSetDirectory().
3361 (setFilenameFilter): Implement.
3362 (filenameFilterCallback): New method.
3363 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3364 (create): Configure dialog to show hidden files.
3365 (filenameFilterCallback): New function.
3366 (nativeSetFilenameFilter): New function.
3367 (nativeSetDirectory): New function.
3369 2004-07-21 Kim Ho <kho@redhat.com>
3371 * javax/swing/plaf/basic/BasicSliderUI.java:
3373 (paintTrack): Fill the track before painting
3376 2004-07-21 Graydon Hoare <graydon@redhat.com>
3378 patch from Roman Kennke <roman@ontographics.com>
3379 * javax/swing/Spring.java: New file.
3380 * javax/swing/SpringLayout.java: New file.
3381 * Makefile.am: Add new files.
3382 * Makefile.in: Regenerate.
3384 2004-07-21 Graydon Hoare <graydon@redhat.com>
3386 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3387 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3388 * javax/swing/ScrollPaneLayout.java: Likewise.
3390 2004-07-21 Kim Ho <kho@redhat.com>
3392 * javax/swing/DefaultDesktopManager.java:
3393 (findMinimum): Removed.
3394 (resizeFrame): Trust the UI to pass valid
3396 * javax/swing/JOptionPane.java:
3397 Implemented showInternalXXXDialog methods.
3398 (startModal): New method.
3399 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3400 (BorderListener::mouseDragged): Verify that the new
3401 bounds are valid before passing them to the DesktopManager.
3402 (preferredLayoutSize): Delegate
3404 (minimumLayoutSize): Ditto.
3405 (getSize): New method.
3406 (GlassPaneDispatcher): Reimplemented by copying
3407 a stripped down LightweightDispatcher from Container.
3408 (getMinimumSize): Call minimumLayoutSize.
3409 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3411 (mousePressed): Add ability to properly close
3413 * javax/swing/plaf/basic/BasicToolBarUI.java:
3414 (DragWindow): Set owner for DragWindow.
3416 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3418 * java/awt/image/ShortLookupTable.java: New file.
3419 * java/awt/image/ByteLookupTable.java: New file.
3420 * Makefile.am: Added new files.
3421 * Makefile.in: Regenerated.
3423 2004-07-21 David Jee <djee@redhat.com>
3425 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3426 (create(GtkContainerPeer)): New native method.
3427 (create()): Call native create(), passing in the parent frame
3428 as the paramter. Natively set the current file and directory.
3429 (setFile): Construct an absolute filename before passing it to
3431 (nativeGetDirectory): New method.
3432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3433 (window_closed): Removed.
3434 (ok_clicked): Likewise.
3435 (cancel_clicked): Likewise.
3436 (handle_response): New method.
3437 (create): Use GtkFileChooserDialog.
3438 (connectSignals): Connect to handle_response.
3439 (nativeGetDirectory): New method.
3440 (nativeSetFile): Use GtkFileChooserDialog.
3442 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3444 * java/awt/image/LookupTable.java: New file.
3445 * Makefile.am: Added new file.
3446 * Makefile.in: Regenerated.
3448 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3450 * java/awt/image/Kernel.java: New file.
3451 * Makefile.am: Added new file.
3452 * Makefile.in: Regenerated.
3454 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3456 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3457 * javax/swing/JMenu.java: Likewise.
3458 * javax/swing/JMenuBar.java: Likewise.
3459 (MARGIN_CHANGED_PROPERTY): New property.
3460 (setMargin): Implemented.
3461 * javax/swing/JMenuItem.java: Fixed javadocs.
3462 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3463 (LABEL_CHANGED_PROPERTY): New property.
3464 (add): changed to use createActionComponent.
3465 (createActionComponent): Implemented.
3466 (setLabel): Fire PropertyChangeEvent if label property
3468 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3469 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3470 (ContainerHandler): Repaint if margin property has changed.
3471 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3472 (installUI): Call installComponents().
3473 (uninstallUI): Call uinstallComponents().
3474 * javax/swing/plaf/basic/BasicMenuUI.java:
3476 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3479 2004-07-21 Kim Ho <kho@redhat.com>
3481 * javax/swing/plaf/basic/BasicToolBarUI.java:
3482 (DragWindow): Use the right constructor.
3484 2004-07-21 Kim Ho <kho@redhat.com>
3486 * javax/swing/JToolBar.java:
3487 (layoutContainer): Use getComponents.
3488 * javax/swing/plaf/basic/BasicToolBarUI.java:
3489 (DragWindow): Don't use SwingUtilities'
3491 (ToolBarDialog): ditto.
3493 2004-07-21 Kim Ho <kho@redhat.com>
3495 * javax/swing/JRootPane.java:
3497 (layoutContainer): Set the glasspane's size to
3498 be the same as the content pane.
3499 (createGlassPane): Set opaque property to false.
3501 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3503 * java/awt/Component.java (requestFocus()): Don't handle Panels
3505 (requestFocus(boolean)): Likewise.
3506 (requestFocusInWindow(boolean)): Likewise.
3507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3508 Set GTK_CAN_FOCUS flag.
3510 2004-07-21 Kim Ho <kho@redhat.com>
3512 * Makefile.am: Added new file.
3513 * Makefile.in: Regenerated.
3514 * gcj/Makefile.in: Regenerated.
3515 * include/Makefile.in: Regenerated.
3516 * javax/swing/AbstractButton.java:
3517 Add rollOverEnabled property.
3518 (setRolloverEnabled): Use new property.
3519 (isRolloverEnabled): Use new property.
3520 * javax/swing/JTabbedPane.java:
3521 (setComponent): Remove useless JTabbedPane.this.
3522 * javax/swing/JToolBar.java: Finish implementation.
3523 * javax/swing/plaf/basic/BasicArrowButton.java:
3524 (paint): Moved border painting to a border.
3525 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3526 Change JToolBar look and feel defaults.
3527 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3528 (actionPerformed): Return Integer index instead of name.
3529 (addButtonComponents): Check to see if component is
3531 (createMessageArea): Don't use components that are not
3533 (getIconForType): Use temporary icons.
3534 * javax/swing/plaf/basic/BasicSliderUI.java:
3535 (mousePressed): Do not return if it's on thumb.
3536 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3537 (paintMinorTickForVertSlider): ditto.
3538 (paintMajorTickForHorizSlider): ditto.
3539 (paintMajorTickForVertSlider): ditto.
3540 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3541 Add a border around the SplitPaneDivider.
3542 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3544 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3545 New file. Implemented.
3546 * javax/swing/plaf/basic/BasicToolBarUI.java:
3548 * testsuite/Makefile.in: Regenerated.
3550 2004-07-21 Graydon Hoare <graydon@redhat.com>
3552 * javax/swing/Timer.java (run): Queue events each time cycle.
3554 2004-07-21 David Jee <djee@redhat.com>
3556 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3557 (imageComplete): Call image.imageComplete().
3558 * java/awt/image/MemoryImageSource.java:
3559 Reimplement consumers as a Vector instead of a Hashtable. This is
3560 because enumeration on a Hashtable is not thread-safe.
3561 (addConsumer): Adapt to Vector consumers.
3562 (isConsumer): Adapt to Vector consumers.
3563 (removeConsumer): Adapt to Vector consumers.
3564 (startProduction): Adapt to Vector consumers. Call imageComplete()
3565 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3566 (newPixels): Adapt to Vector consumers.
3567 (sendPicture): Set the color model of the image consumer.
3568 (newPixels(IIII)): Adapt to Vector consumers.
3569 (newPixels(IIIIB)): Adapt to Vector consumers.
3571 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3573 * java/awt/Component.java (deliverEvent): Implement.
3574 (postEvent): Implement.
3575 (handleEvent): Implement.
3576 (translateEvent): New method.
3577 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3578 * java/awt/Container.java (deliverEvent): Implement.
3579 * java/awt/Event.java (paramString): Fix formatting.
3580 * java/awt/Font.java (toString): Likewise.
3581 * java/awt/Window.java (postEvent): Implement.
3583 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3585 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3586 Set window's focus owner upon receiving a FOCUS_LOST event.
3587 * java/awt/Window.java (Window()): Refocus the previously
3588 focused component within the window when the window regains the
3590 (setFocusOwner): New method.
3591 * java/awt/Component.java (requestFocus): Add FIXME.
3593 * libgcj.pc.in: Remove library flags.
3595 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3597 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3598 MOUSE_PRESSED event.
3599 * java/awt/Component.java (requestFocus()): Handle Panel
3600 specially. Post FOCUS_LOST event on opposite component.
3601 (requestFocus(boolean)): Likewise.
3602 (requestFocusInWindow(boolean)): Likewise.
3603 (paramString): Reorder dimension fields.
3604 * java/awt/Container.java (paramString): Fix string format.
3605 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3606 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3607 process key events if the focus owner is non-null.
3608 (dispatchKeyEvent): Likewise.
3609 * java/awt/Frame.java (paramString): Fix formatting.
3610 (generateName): New method.
3611 (getUniqueLong): Likewise.
3612 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3613 the temporary focus owner is null. If so, return the permanent
3615 * java/awt/Panel.java (generateName): New method.
3616 (getUniqueLong): Likewise.
3617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3618 signal handling to make callbacks more specific.
3620 2004-07-21 Michael Koch <konqueror@gmx.de>
3622 * javax/swing/text/Position.java
3623 (Bias): Implemented.
3625 2004-07-21 Michael Koch <konqueror@gmx.de>
3627 * javax/swing/LookAndFeel.java
3628 (provideErrorFeedback): New method.
3630 2004-07-21 Michael Koch <konqueror@gmx.de>
3632 * javax/swing/JTextArea.java
3633 (tabSize): New field.
3634 (getTabSize): New method.
3635 (setTabSize): Likewise.
3637 2004-07-21 Michael Koch <konqueror@gmx.de>
3639 * javax/swing/ActionMap.java:
3640 Fixed javadocs all over.
3641 (serialVersionUID): Made private.
3642 (parent): Don't explicitely initialize with default value.
3644 (keys): Reimplemented.
3645 (allKeys): Likewise.
3646 (convertSet): Removed.
3647 * javax/swing/ComponentInputMap.java:
3648 Fixed javadocs all over.
3649 (ComponentInputMap): Implemented.
3653 (SetParent): Likewise.
3654 (getComponent): Likewise.
3655 * javax/swing/InputMap.java:
3656 Fixed javadocs all over.
3657 (serialVersionUID): Made private.
3658 (parent): Don't explicitely initialize with default value.
3660 (keys): Reimplemented.
3661 (allKeys): Likewise.
3662 (convertSet): Removed.
3664 2004-07-21 Michael Koch <konqueror@gmx.de>
3666 * javax/swing/ActionMap.java,
3667 javax/swing/ComponentInputMap.java,
3668 javax/swing/InputMap.java,
3669 javax/swing/table/DefaultTableColumnModel.java,
3670 javax/swing/table/TableColumn.java,
3671 javax/swing/table/TableColumnModel.java,
3672 javax/swing/table/TableModel.java,
3673 javax/swing/text/AbstractDocument.java,
3674 javax/swing/text/TextAction.java:
3677 2004-07-21 Graydon Hoare <graydon@redhat.com>
3679 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3680 Make method non-static.
3681 * javax/swing/AbstractButton.java:
3682 Rename fields to match property names where possible.
3683 (iconTextGap): New property.
3684 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3685 (init) New method, call from after various constructors.
3686 * javax/swing/JComponent.java (revalidate):
3687 Invalidate before queueing repair.
3688 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3689 Reimplement in terms of visibleRowCount property.
3690 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3691 * javax/swing/JScrollPane.java (createScrollListener):
3692 Remove tracing chatter.
3693 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3694 * javax/swing/RepaintManager.java (addInvalidComponent):
3696 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3698 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3699 Mimic sun behavior on top left/right positioning.
3700 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3701 Remove mistaken use of preferredScrollableViewportSize here.
3702 (layoutContainer): Use view's preferred size as basis.
3703 * javax/swing/plaf/basic/BasicButtonUI.java:
3704 Set, get, and use textIconGap property.
3705 (paint) Paint text returned from layout (with ellipsis).
3706 * javax/swing/plaf/basic/BasicListUI.java:
3707 Remove tracing chatter, correct various minor calculations.
3708 (getCellBounds): Update layout state before calculating.
3709 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3710 Use margin default similar to sun's.
3711 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3712 (createIncreaseIcon): Center icon, minimize margins.
3713 (createDecreaseIcon): Likewise.
3714 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3716 (installUI): Call it.
3717 (uninstallDefaults): Implement.
3718 (uninstallUI): Call it.
3719 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3720 Call existing Window constructor.
3721 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3722 Set clip before painting.
3724 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3726 * javax/swing/JMenuItem.java:
3727 (processMouseEvent): Reimplemented to deal with
3729 (createMenuDragMouseEvent): New private helper method.
3730 Creates MenuDragMouseEvent.
3731 * javax/swing/MenuSelectionManager.java
3732 (componentForPoint): Implemented.
3733 (isComponentPartOfCurrentMenu): Made public.
3734 (processMouseEvent): Reimplemented to deal with
3736 (setSelectedPath): Corrected small mistake that caused
3737 path to be set incorrectly.
3738 (getPath): If given component is JMenu then also add this
3739 menu's popup menu to the selected path.
3740 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3742 (getPreferredSize): Call getPreferredMenuItemSize().
3743 (getPreferredItemSize): Moved code from getPreferredSize to here.
3744 (installListeners): Install MouseMotionListeners.
3745 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3746 if mouse wasn't released in the bounds of this menu item.
3747 (MenuDragMouseHandler): Implemented.
3748 * javax/swing/plaf/basic/BasicMenuUI.java:
3749 (installListeners): Install MouseMotionListener and
3750 MenuDrageMouseListener.
3751 (MenuDragMouseHandler): Implemented.
3752 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3753 (uninstallListeners): Implemented.
3755 2004-07-21 Michael Koch <konqueror@gmx.de>
3757 * javax/swing/JCheckBox.java: Reformated.
3758 (JCheckBox): Fixed all constructors.
3759 (isBorderPaintedFlat): New method.
3760 (setBorderPaintedFlat): New method.
3761 * javax/swing/JEditorPane.java
3762 (createEditorKitForContentType): Made public.
3763 (scrollToReference): Likewise.
3764 * javax/swing/JTextArea.java
3765 (setLineWrap): Fire property change.
3766 * javax/swing/JToggleButton.java
3767 (JToggleButton): New constructor.
3768 (JToggleButton): Simplified.
3769 * javax/swing/text/AttributeSet.java
3770 (FontAttribute): Renamed from FontCharacterAttribute.
3771 * javax/swing/text/JTextComponent.java
3772 (KeyBinBinding): Added javadoc.
3773 (JTextComponent): Likewise.
3774 (getAccessibleContext): Fixed javadoc.
3775 * javax/swing/text/View.java
3776 (View): Added javadoc.
3777 * javax/swing/text/TabableView.java: New file.
3778 * Makefile.am: Added javax/swing/text/TabableView.java.
3779 * Makefile.in: Regenerated.
3781 2004-07-21 Graydon Hoare <graydon@redhat.com>
3783 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3784 * gnu/java/awt/peer/gtk/GtkToolkit.java
3785 (GtkErrorImage): New helper class.
3786 (bufferedImageOrError): New helper method.
3787 (createImage): Use it.
3789 2004-07-21 David Jee <djee@redhat.com>
3791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3792 (setCaretPosition): Scroll the text view so the new caret position
3793 is visible on screen.
3795 2004-07-21 David Jee <djee@redhat.com>
3797 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3798 (setBounds): Do not validate awtComponent here.
3799 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3800 (getPreferredSize): New method.
3801 * java/awt/ScrollPane.java
3802 (ScrollPane): Set default size to 100x100.
3803 (addNotify): If child is not a Panel, wrap it with a new Panel.
3804 (paramString): Implement.
3806 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3808 * javax/swing/JMenu.java:
3809 (setSelected): Display popup menu only if this menu
3810 is showing on the screen.
3811 * javax/swing/JPopupMenu.java:
3812 (processMouseEvent): Added comment.
3813 (processKeyEvent): Likewise.
3814 * javax/swing/MenuSelectionManager.java:
3815 (clearSelectedPath): Only fireStateChanged() after
3816 selected path was changed, not before.
3817 (setSelectedPath): Likewise.
3818 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3819 (paintMenuItem): Corrected position of menu item's
3821 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3822 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3823 (popupMenuCanceled): Reimplemented.
3824 (popupMenuWillBecomeVisible): Select first menu item by default
3825 when displaying free floating popup menus.
3826 (TopWindowListener): Reimplemented.
3828 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3830 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3831 Panel from being painted twice when it is first shown.
3833 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3835 * java/awt/Window.java: Reverted changes from my
3836 previous patch for creating window without an owner.
3837 * javax/swing/SwingUtilities.java:
3838 (SwingUtilities.OwnerFrame): made static.
3839 (OwnerFrame.setVisible): New method. Overridden with
3840 empty implementation.
3841 (OwnerFrame.isShowing): New method. Ovverridden
3842 to return always true.
3844 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3846 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3847 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3848 (GtkComponentPeer): Remove temporary try/catch block.
3849 (setVisible): Call show and hide.
3850 (show): Make native.
3852 (getArgs): Don't add "visible" argument.
3853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3854 (property_notify_predicate): Return Bool instead of int.
3855 (find_layout): New function.
3856 (connectJObject): Call find_layout.
3857 (connectSignals): Likewise.
3858 (moveLayout): Likewise.
3859 (gtkLayoutSetVisible): Likewise.
3861 2004-07-21 Mark Wielaard <mark@klomp.org>
3863 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3864 on notifier object before calling notifyAll().
3866 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3868 * java/awt/Window.java: Changed constructors to use new
3869 method that is described below. Constructors call this
3870 methods only if newly created window should have an owner.
3871 (setWindowOwner): New method. Implementation for
3872 this method is moved from this(owner,configuration).
3873 * javax/swing/JWindow.java:
3874 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3876 * javax/swing/SwingUtilities.java:
3877 (ownerFrame): Change type of this field to OwnerFrame.
3878 (getOwnerFrame): Changed to return object of type OwnerFrame.
3879 (SwingUtilities.OwnerFrame): New class. Represents owner
3880 of a Window that is not provided with one.
3882 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3884 * javax/swing/AbstractButton.java:
3885 (configurePropertiesFromAction): Set action command
3886 to button's text by default if action command is not
3887 explicitely specified.
3888 * javax/swing/JMenu.java: Remove unnecessary listener
3889 and methods relevant to it.
3890 (setSelected): Reimplemented.
3891 (menuSelectionChanged): Moved most part of implementation to
3892 setSelected() and call it instead.
3893 * javax/swing/JMenuItem.java:
3894 (init): Comment out statement that sets paint_border to false.
3895 (configurePropertiesFromAction): Do not set accelerator
3897 (menuSelectionChanged): Change selected index in the selection
3898 model of menu item's parent.
3899 * javax/swing/JPopupMenu.java:
3900 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3901 instead of GridBagConstraints.HORIZONTAL.
3903 (createActionChangeListener): Implemented.
3904 (setVisible): Correct location of HeavyWeightMenu and
3905 don't firePopupMenuCanceled().
3906 (menuSelectionChanged): Implemented.
3907 (ActionChangeListener): New Listener. Implemented.
3908 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3909 (BasicMenuBarUI.ContainerHandler): Implemented.
3910 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3911 (paintMenuItem): Uncommented out code that paints
3912 icon, now that icons are working properly.
3913 (PropertyChangeListener): Implemented.
3914 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3916 (topWindowListener): New field.
3917 (Constructor): initialize topWindowListener.
3918 (BasicPopupMenuUI.TopWindowListener): Implemented.
3919 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3920 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3923 2004-07-21 Michael Koch <konqueror@gmx.de>
3925 * javax/swing/plaf/basic/BasicButtonUI.java
3926 (paintFocus): Fixed method signature.
3927 (paintButtonPressed): Likewise.
3928 (paintButtonNormal): Likewise.
3929 (paintText): New method.
3930 * javax/swing/plaf/basic/BasicLabelUI.java
3931 (paint): Re-indented.
3932 * javax/swing/plaf/basic/BasicTextUI.java
3933 (installUI): Set parent textComponent to opaque.
3934 * javax/swing/text/DefaultHighlighter.java
3935 (checkPositions): New helper method.
3936 (addHighlight): Throws BadLocationException, check positions.
3937 (changeHighlight): Likewise.
3938 * javax/swing/text/EditorKit.java
3939 (EditorKit): Implements Serializable.
3940 * javax/swing/text/JTextComponent.java
3941 (getUI): Added javadoc.
3943 (upadteUI): Added javadoc, don't revalidate and repaint.
3945 2004-07-21 David Jee <djee@redhat.com>
3947 * java/awt/GridBagLayout.java
3948 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3949 * javax/swing/AbstractButton.java
3950 (setText): Reindent.
3951 * javax/swing/RepaintManager.java
3952 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3954 2004-07-21 Michael Koch <konqueror@gmx.de>
3956 * javax/swing/JFormattedTextField.java
3958 (JFormattedTextField): Implemented.
3959 (getValue): Likewise.
3960 (setValue): Likewise.
3961 * javax/swing/LookAndFeel.java
3962 (getSupportsWindowDecorations): New method.
3963 * javax/swing/UIDefaults.java:
3964 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3965 (addPropertyChangeListener): Made public.
3966 (addResourceBundle): Likewise.
3967 (removeResourceBundle): Likewise.
3968 (setDefaultLocale): Likewise.
3969 * javax/swing/plaf/basic/BasicRootPaneUI.java
3970 (BasicRootPaneUI): Implements PropertyChangeListener.
3971 (propertyChange): New method.
3972 * javax/swing/plaf/basic/BasicTextUI.java
3973 (BasicHighlighter): New inner class.
3974 (createHighlighter): New method.
3975 * javax/swing/plaf/basic/BasicToolBarUI.java
3976 (DragWindow): Extends java.awt.Window.
3977 * javax/swing/text/JTextComponent.java
3978 (getDocument): Removed debug output.
3979 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3980 javax/swing/text/DefaultHighlighter.java,
3981 javax/swing/text/FieldView.java,
3982 javax/swing/text/PlainView.java: New files.
3983 * Makefile.am: Added new files.
3984 * Makefile.in: Regenerated.
3986 2004-07-21 Michael Koch <konqueror@gmx.de>
3988 * javax/swing/JEditorPane.java
3989 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3990 (createEditorKitForContentType): Likewise.
3991 * javax/swing/text/DefaultEditorKit.java
3992 (serialVersionUID): Added constant field.
3993 (EndOfLineStringPropery): Fixed typo.
3994 (DefaultEditorKit): New constructor.
3995 * javax/swing/text/Segment.java:
3996 Import java.text.CharacterIterator.
3997 * javax/swing/text/CharacterIterator.java,
3998 javax/swing/text/PlainEditorKit.java: Removed.
3999 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4000 javax/swing/text/PlainEditorKit.java.
4001 * Makefile.in: Regenerated.
4003 2004-07-21 Michael Koch <konqueror@gmx.de>
4005 * javax/swing/JButton.java,
4006 javax/swing/text/DefaultEditorKit.java,
4007 javax/swing/text/EditorKit.java,
4008 javax/swing/text/Segment.java,
4009 javax/swing/text/StyledEditorKit.java:
4012 2004-07-21 Michael Koch <konqueror@gmx.de>
4014 * javax/swing/ImageIcon.java
4016 (description): Renamed from descr.
4017 (ImageIcon): Added missing constructors.
4018 (setParent): Removed.
4019 (setImageObserver): New method.
4020 (getImageObserver): New method.
4021 (paintIcon): Handle observer = null.
4022 * javax/swing/JButton.java
4023 (removeNotify): Fixed javadoc.
4024 (updateUI): Simplified.
4025 * javax/swing/JRootPane.java
4026 (serialVersionUID): New constant field.
4027 * javax/swing/UIManager.java:
4028 Fixed javadocs all over.
4029 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4030 * javax/swing/text/AbstractDocument.java
4031 (createPosition): Throws BadLocationException.
4032 (getText): Likewise.
4034 * javax/swing/text/ComponentView.java
4035 (modelToView): Likewise.
4036 * javax/swing/text/DefaultEditorKit.java:
4037 Made all public methods public.
4038 (read): Throws BadLocationException and IOException.
4040 * javax/swing/text/EditorKit.java:
4041 Made all public methods public.
4042 (serialVersionUID): New constant field.
4043 (clone): New method.
4044 (read): Throws BadLocationException and IOException.
4046 * javax/swing/text/Segment.java
4047 (array): Made public.
4050 (Segment): New constructors.
4051 (clone): Reimplemented.
4052 * javax/swing/text/StyledEditorKit.java
4053 (serialVersionUID): New constant field.
4055 2004-07-21 Graydon Hoare <graydon@redhat.com>
4057 * java/awt/image/BufferedImage.java
4058 (getSource): Implement.
4059 * javax/swing/ImageIcon.java
4060 (ImageIcon): Implement ctor.
4061 * javax/swing/ScrollPaneLayout.java
4062 (preferredLayoutSize): Be more careful about nulls.
4064 2004-07-21 Michael Koch <konqueror@gmx.de>
4066 * javax/swing/text/AttributeSet.java
4067 (CharacterAttribute): New interface
4068 (ColorAttribute): Likewise.
4069 (FontCharacterAttribute): Likewise.
4070 (ParagraphAttribute): Likewise.
4071 * javax/swing/text/DefaultCaret.java
4072 (moveCaret): New method.
4073 (positionCaret): Likewise.
4074 (repaint): Made protected.
4075 * javax/swing/text/JTextComponent.java
4076 (KeyBinding): Made it static.
4077 * javax/swing/text/View.java
4078 (getContainer): Honor parent == null.
4080 2004-07-21 Michael Koch <konqueror@gmx.de>
4082 * javax/swing/text/AbstractDocument.java:
4085 2004-07-21 Michael Koch <konqueror@gmx.de>
4087 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4088 Import javax.swing.UIManager explicitely.
4089 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4090 (ScrollingButton): Made it static.
4092 2004-07-21 Michael Koch <konqueror@gmx.de>
4094 * javax/swing/UIDefaults.java
4095 (ActiveValue): Made public.
4096 (LazyValue): Likewise.
4097 * javax/swing/plaf/basic/BasicTextUI.java
4098 (RootView): Reintroduced.
4100 (rootView): New field.
4101 (installUI): Create document if needed, initialize rootView.
4102 (uninstallUI): Hanle rootView.
4104 (getRootView): Likewise.
4105 (setView): Likewise.
4106 * javax/swing/text/DefaultCaret.java:
4107 Renamed all "evt" variables to "event".
4109 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4111 * libgcj.spec.in: Add -l-java-util-logging.
4113 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4116 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4117 gtk-xft-dpi can no calculate the right value.
4118 (dpi_changed_cb): Mark *pspec as unsused.
4120 2004-07-21 David Jee <djee@redhat.com>
4122 * java/awt/Component.java
4123 (move): Delegate to setBounds().
4125 (reshape): Fix so it repaints parent and self only when necessary.
4127 2004-07-21 David Jee <djee@redhat.com>
4129 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4130 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4131 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4132 (setVisible): Likewise.
4135 (getArgs): Likewise.
4136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4137 (property_notify_predicate): Likewise.
4138 (find_layout): Likewise.
4139 (connectJObject): Likewise.
4140 (connectSignals): Likewise.
4141 (moveLayout): Likewise.
4142 (gtkLayoutSetVisible): Likewise.
4144 2004-07-21 Graydon Hoare <graydon@redhat.com>
4150 (rmiregistry_LDADD): Add lib-java-util-logging.la
4151 * Makefile.in: Regenerate.
4153 2004-07-21 Michael Koch <konqueror@gmx.de>
4155 * javax/swing/text/AbstractDocument.java
4156 (replace): Dont use protected method of java.util.Vector directly.
4158 2004-07-21 Michael Koch <konqueror@gmx.de>
4160 * javax/swing/plaf/basic/BasicTextUI.java
4161 (installUI): Call specialized install methods.
4162 (installDefaults): New method.
4163 (installListeners): Likewise.
4164 (installKeyboardActions): Likewise.
4165 (uninstallUI): Likewise.
4166 (uninstallDefaults): New method.
4167 (uninstallListeners): Likewise.
4168 (uninstallKeyboardActions): Likewise.
4169 (getPropertyPrefix): New abstract method.
4170 (paint): Made final, just call paintSafely().
4171 (paintSavely): New method.
4172 (paintBackground): Likewise.
4173 (getVisibleEditorRect): Likewise.
4174 * javax/swing/text/LayeredHighlighter.java,
4175 javax/swing/text/TabExpander.java: New files.
4176 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4177 and javax/swing/text/TabExpander.java.
4178 * Makefile.in: Regenerated.
4180 2004-07-21 Michael Koch <konqueror@gmx.de>
4182 * javax/swing/plaf/basic/BasicTextUI.java
4183 (BasicTextUI): Made abstract.
4184 (BasicCaret): New inner class.
4185 (view): Don't explicitely initialize with "null".
4186 (textComponent): New field.
4187 (textColor): Removed.
4188 (disabledTextColor): Removed.
4189 (normalBackgroundColor): Removed.
4190 (RootView): Removed commented out inner class.
4191 (createUI): Removed.
4192 (createCaret): New method.
4193 (getComponent): Likewise.
4194 (installUI): Initialize textComponent only.
4195 (getPreferredSize): Use installed JTextComponent.
4196 (setView): New method.
4198 * javax/swing/text/JTextComponent.java
4199 (highlighter): New field.
4200 (caretColor): Likewise.
4201 (disabledTextColor): Likewise.
4202 (seletedTextColor): Likewise.
4203 (selectionColor): Likewise.
4204 (setUI): New method.
4205 (getCaretColor): Likewise.
4206 (setCaretColor): Likewise.
4207 (getDisabledColor): Likewise.
4208 (setDisabledColor): Likewise.
4209 (getSelectedTextColor): Likewise.
4210 (setSelectedTextColor): Likewise.
4211 (getSelectionColor): Likewise.
4212 (setSelectionColor): Likewise.
4213 (getHighlighter): Likewise.
4214 (setHighlighter): Likewise.
4215 (replaceSelection): Likewise.
4217 2004-07-21 Michael Koch <konqueror@gmx.de>
4219 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4220 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4221 * javax/swing/plaf/basic/BasicToolBarUI.java
4222 (BasicToolBarUI): Implements SwingConstants.
4224 2004-07-21 Michael Koch <konqueror@gmx.de>
4226 * javax/swing/JPopupMenu.java: Removed CVS tags.
4227 * javax/swing/UIDefaults.java: Reformatted.
4228 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4229 Explicitely import used classes.
4231 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4233 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4234 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4235 (GtkComponentPeer): Remove temporary try/catch block.
4236 (setVisible): Call show and hide.
4237 (show): Make native.
4239 (getArgs): Don't add "visible" argument.
4240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4241 (property_notify_predicate): Return Bool instead of int.
4242 (find_layout): New function.
4243 (connectJObject): Call find_layout.
4244 (connectSignals): Likewise.
4245 (moveLayout): Likewise.
4246 (gtkLayoutSetVisible): Likewise.
4248 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4250 * javax/swing/AbstractButton.java:
4251 (setDisplayedMnemonicIndex): Check if button
4252 text is not null before checking its length.
4253 * javax/swing/JMenuItem.java:
4254 (processMouseEvent): Disarm menu item if mouse has
4256 * javax/swing/plaf/basic/BasicMenuUI.java:
4257 (MouseInputHandler.mouseEntered): Do not raise
4258 popup menu if this menu is already selected.
4259 (MouseInputHandler.mousePressed): Do not fire
4261 (MenuHandler): Implemented.
4263 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4265 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4266 (getSelectedObjects): Implemented.
4267 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4268 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4269 Added javadoc for few methods.
4270 (processMouseEvent): Made public.
4271 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4272 (processMouseEvent): Likewise.
4274 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4276 * javax/swing/AbstractButton.java:
4277 (init): Set display mnemonic index to -1.
4278 (setMnemonic(char)): Use setMnemonic(int).
4279 (setMnemonic(int)): Set display mnemonic index.
4280 (getDisplayedMnemonicIndex): Change method signature
4281 by removing 'index' parameter.
4282 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4283 Added default for Menu.selectionBackground.
4284 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4285 (paintMenuItem): Change background color of the selected
4287 (paintText): Paint differently when menu item is disabled.
4288 Also paint mnemonic if it appears in the menu item's label.
4289 (paintAccelerator): Paint accelerator differently
4290 if menu item is disabled.
4291 * javax/swing/plaf/basic/BasicMenuUI.java:
4292 (installDefaults): Install defaults for
4293 selectionForeground and selectionBackground.
4294 (uninstallDefaults): Uninstall defauls for
4295 selectionForeground and selectionBackground.
4297 2004-07-21 Michael Koch <konqueror@gmx.de>
4299 * javax/swing/text/AbstractDocument.java
4300 (BranchElement): Implemented.
4301 (LeafElement): Implemented.
4302 * javax/swing/text/DefaultCaret.java:
4303 Import used classes.
4304 (serialVersionUID): New constant.
4305 * javax/swing/text/JTextComponent.java
4306 (AccessibleJTextComponent): Removed dead declaration.
4307 (caretPos): Removed.
4308 (setCaret): New method.
4309 * javax/swing/text/PlainDocument.java
4310 (rootElement): New field.
4311 (PlainDocument): Initialize rootElement.
4312 (createDefaultRoot): New method.
4313 (getDefaultRootElement): Implemented.
4314 * javax/swing/text/View.java: Reformatted.
4315 * javax/swing/text/ViewFactory.java
4316 (create): Added javadoc.
4318 2004-07-21 Michael Koch <konqueror@gmx.de>
4320 * javax/swing/ToolTipManager.java: Reformatted.
4322 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4324 * javax/swing/AbstractButton.java
4325 (changeEvent): New field.
4326 (fireItemStateChanged): Change source of the event
4327 to 'this' before firing it to button listeners.
4328 (fireActionPerformed): Likewise.
4329 (fireStateChanged): Likewise.
4330 (createActionListener): Do not set source
4331 of the event to AbstractButton.
4332 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4333 (ContainerHandler.componentAdded): Removed
4334 print out statement.
4335 (ContainerHandler.componentRemoved): Likewise.
4337 2004-07-21 Michael Koch <konqueror@gmx.de>
4339 * javax/swing/text/Highlighter.java: New file.
4340 * Makefile.am: Added javax/swing/text/Highlighter.java.
4341 * Makefile.in: Regenerated.
4343 2004-07-21 Michael Koch <konqueror@gmx.de>
4345 * javax/swing/ToolTipManager.java
4346 (stillInsideTimerAction): Fixed constructor arguments.
4347 (outsideTimerAction): Likewise.
4348 (insideTimerAction): Likewise.
4350 2004-07-21 Michael Koch <konqueror@gmx.de>
4352 * javax/swing/JButton.java: Reformatted.
4353 * javax/swing/JFormattedTextField.java
4354 (getUIClassID): Implemented.
4355 * javax/swing/JRootPane.java
4356 (serialVersionUID): New constant.
4357 * javax/swing/JTextField.java
4359 (JTextField): Simplified.
4360 (getUIClassID): New method.
4361 (getActionListeners): Added @since tag.
4362 (setColumns): Invalidate layout and repaint.
4363 (getHorizontalAlignment): New method.
4364 (setHorizontalAlignment): New method.
4365 (selectAll): Removed.
4366 * javax/swing/SwingUtilities.java
4367 (getAncestorOfClass): Removed redundant @see tag.
4368 (isLeftMouseButton): Fixed implementation.
4369 (isMiddleMouseButton): Likewise.
4370 (isRightMouseButton): Likewise.
4371 * javax/swing/text/AbstractDocument.java
4372 (AttributeContext.addAttribute): New method.
4373 (AttributeContext.addAttributes): New method.
4374 (AttributeContext.getEmptySet): New method.
4375 (AttributeContext.reclaim): New method.
4376 (AttributeContext.removeAttribute): New method.
4377 (AttributeContext.removeAttributes): New method.
4378 * javax/swing/text/Document.java
4379 (createPosition): Throws BadLocationException.
4380 (getText): Likewise.
4382 * javax/swing/text/JTextComponent.java
4383 (getText): Return null if no document is set. Catch
4384 BadLocationException.
4386 (updateUI): Simplified.
4388 2004-07-21 Michael Koch <konqueror@gmx.de>
4390 * javax/swing/JButton.java
4391 (removeNotify): Fixed javadoc.
4392 (updateUI): Simplified.
4394 2004-07-21 David Jee <djee@redhat.com>
4396 * gnu/java/awt/image/ImageDecoder.java
4397 (startProduction): Only add consumer if it's not added yet.
4398 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4399 (GdkPixbufDecoder): Don't call initState() here.
4400 (produce): Call initState() here, to ensure area_prepared and
4401 area_updated signals are properly connected.
4402 * gnu/java/awt/peer/gtk/GtkImage.java
4403 (setColorModel): Use equals() to compare ColorModel objects.
4404 (setPixels): Likewise.
4405 * java/awt/image/ColorModel.java
4406 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4407 * java/awt/image/RGBImageFilter.java
4408 (setColorModel): Set consumer's color model.
4409 (setPixels): Use equals() to compare ColorModel objects.
4411 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4413 * java/net/URLConnection.java (position): New field.
4414 (dateFormat1, dateFormat2, dateFormat3): Removed.
4415 (dateFormats): New field.
4416 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4417 each time instead of re-allocating.
4418 (initializeDateFormats): Initialize 'dateFormats'.
4420 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4423 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4426 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4428 * java/net/Socket.java (getImpl): Now private. Remove comment.
4430 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4432 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4433 of chained Writer when calling super-constructor.
4434 * java/io/FilterWriter.java (FilterWriter): Likewise.
4435 * java/io/PrintWriter.java (PrintWriter): Likewise.
4437 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4439 * prims.cc (process_gcj_properties): Don't increment i within LHS
4442 2004-07-19 Per Bothner <per@bothner.com>
4444 Print -verbose:message on "loading", not initialization.
4445 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4446 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4447 gcj::verbose_class_flag.
4448 * java/lang/natClass.cc (initializeClass): Don't print message here.
4449 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4450 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4451 (_Jv_PrepareCompiledClass): Likewise.
4453 2004-07-18 Matthias Klose <doko@debian.org>
4455 * configure.in: Substitute target_noncanonical.
4456 * configure: Regenerate
4458 2004-07-17 Michael Koch <konqueror@gmx.de>
4460 * java/lang/String.java: Fixed javadocs all over.
4462 2004-07-17 Mark Wielaard <mark@klomp.org>
4464 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4465 when size is smaller.
4466 * java/io/RandomAccessFile.java (setLength): Use truncate for
4467 shrinking the file and seek plus write for expanding the file.
4469 2004-07-17 Michael Koch <konqueror@gmx.de>
4471 * gnu/java/nio/channels/natFileChannelPosix.cc
4472 (implTruncate): Always save current position. Only reposition file
4473 pointer to where we started if not beyond new lenght. Reposition file
4474 pointer to file length if it points beyond the end of file.
4476 2004-07-17 Mark Wielaard <mark@klomp.org>
4478 * javax/swing/Box.java: Put FIXME comment above class declaration.
4479 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4480 * javax/swing/JCheckBox.java: Likewise.
4481 * javax/swing/JDialog.java: Likewise.
4482 * javax/swing/JRadioButton.java: Likewise.
4483 * javax/swing/JToggleButton.java: Likewise.
4484 * javax/swing/UIManager.java: Likewise.
4485 * javax/swing/border/TitledBorder.java: Likewise.
4486 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4487 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4488 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4489 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4490 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4491 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4492 * javax/swing/text/JTextComponent.java: Likewise.
4494 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4496 * java/net/DatagramPacket.java (setAddress): Removed check for
4499 2004-07-17 Michael Koch <konqueror@gmx.de>
4501 * java/net/DatagramSocket.java
4502 (getLocalAddress): Check if socket is bound or not.
4503 * java/net/Socket.java
4504 (getLocalAddrss): Check if socket is bound or not.
4505 (getPort): Return -1 when not connected. Dont check getImpl() for
4507 (setReuseAddress): Check if socket is closed.
4508 (isConnected): Check if getImpl() returns null.
4510 2004-07-17 Mark Wielaard <mark@klomp.org>
4512 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4513 on notifier object before calling notifyAll().
4515 2004-07-17 Michael Koch <konqueror@gmx.de>
4517 * gnu/java/nio/channels/FileChannelImpl.java
4518 (finalize): Added javadoc.
4520 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4522 * java/text/CollationElementIterator.java
4523 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4524 (setText): Use ArrayList instead of Vector.
4526 2004-07-17 Michael Koch <konqueror@gmx.de>
4528 * java/nio/ByteOrder.java
4529 (static): Removed. Not needed.
4530 Thanks to Patrick Reali for noticing.
4531 * java/nio/charset/CharsetDecoder.java
4532 (decode): Fix for classpath bug #9177: Reset state before flipping.
4534 2004-07-17 Michael Koch <konqueror@gmx.de>
4536 * java/security/Security.java: Fixed javadocs all over.
4538 2004-07-17 Michael Koch <konqueror@gmx.de>
4540 * gnu/java/awt/EmbeddedWindow.java
4542 (addNotify): Set peer via reflection.
4543 (setWindowPeer): Removed.
4544 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4545 * Makefile.am (nat_source_files):
4546 Removed gnu/java/awt/natEmbeddedWindow.cc.
4547 * Makefile.in: Regenerated.
4549 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4551 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4553 * configure: Regenerated.
4555 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4557 * configure.in: Use build_noncanonical rather than build_alias.
4558 * configure: Rebuild.
4560 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4561 by logic refactoring. Move default definition of NATIVE closer
4562 to first alternate definition.
4563 * configure: Regenerate.
4565 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4566 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4567 gcj/Makefile.in: Regenerate.
4568 * configure.in: Set ZIP and GCJH. Remove redundant condition
4569 in AM_CONDITIONAL(NATIVE,...)
4570 * configure: Regenerate.
4572 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4574 * configure.in: Use target_noncanonical rather than
4575 target_alias for forward-compatibility with autoconf 2.59.
4576 * configure: Regenerate.
4577 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4578 testsuite/Makefile.am: Substitute target_noncanonical.
4579 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4580 testsuite/Makefile.in: Regenerate.
4582 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4583 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4584 * acinclude.m4: Include acx.m4.
4585 * aclocal.m4: Regenerate.
4586 * configure: Regenerate.
4588 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4591 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4592 (decimalFormat): New static variable.
4594 (getTime): New. Override Date.getTime().
4595 (toString): Synchronize. Use decimalFormat to format nanos value
4596 correctly. Truncate extra zeros.
4597 (before): Compare getNanos() only if getTime() is equal.
4600 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4602 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4603 * configure.in: ...here.
4604 * aclocal.m4: Regenerate.
4605 * configure: Regenerate.
4607 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4608 * configure: Rebuilt with autoconf 2.13.
4609 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4610 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4612 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4615 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4617 * Makefile.in: Rebuilt.
4618 * testsuite/libjava.lang/LargeFile.java: New test case.
4619 * testsuite/libjava.lang/LargeFile.out: New file.
4621 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4623 * java/beans/EventHandler.java: Remove debugging statements.
4625 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4627 * java/beans/EventHandler.java: New file.
4628 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4629 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4630 testsuite/Makefile.in: Regenerate.
4632 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4634 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4635 flag to the gcj_setup.
4636 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4638 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4639 deprecation flag change. 58 XFAILS removed.
4641 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4643 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4644 -fno-use-divide-subroutine.
4645 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4646 (HANDLE_FPE): Define.
4647 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4648 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4649 (HANDLE_DIVIDE_OVERFLOW): Define.
4651 2004-07-14 Michael Koch <konqueror@gmx.de>
4652 Matthias Klose <doko@debian.org>
4654 * java/awt/im/InputContext.java: Initialize in, line.
4656 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4658 * interpret.cc (run): Correctly access libffi return values of
4659 integral smaller-than-int type; these are implicitly promoted.
4661 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4664 * interpret.cc (compile_mutex): New.
4665 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4666 (run): Lock compile_mutex before calling compile() if compilation is
4668 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4669 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4671 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4674 * include/jvm.h (_Jv_value): New union type.
4675 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4676 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4679 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4681 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4682 * gnu/awt/xlib/XOffScreenImage.java
4683 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4684 constructor argument. Add constructor using ImageProducer.
4685 (getSource): Implement.
4686 (imageComplete): New method.
4687 (setColorModel): New method.
4688 (setDimensions): New method.
4689 (setHints): New method.
4690 (setPixels): New method.
4691 (setProperties): New method.
4692 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4693 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4695 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4698 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4699 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4700 (finalizerReady): Now native.
4702 (runFinalizers): Removed.
4703 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4704 a primitive lock, and don't hold it while running the finalizers.
4705 (runFinalizers): Implement. Don't aquire any Java lock.
4706 (finalizerReady): Use lock primitives to signal finalizer thread.
4708 2004-07-11 Mark Wielaard <mark@klomp.org>
4710 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4711 * java/net/URLStreamHandler.java (parseURL): When url file part
4712 doesn't contain a '/' just ignore context.
4714 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4716 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4717 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4718 (MAKE_THROW_FRAME): Do not modify PSW address.
4719 (INIT_SEGV): Install SIGINFO-style signal handler.
4720 (INIT_FPE): Likewise.
4722 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4724 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4725 status. 21 xfail's removed, 1 added.
4727 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4729 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4731 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4733 * java/text/MessageFormat.java
4734 (formatInternal): Append "{n}" if argument n is unavailable.
4735 (format(Object, StringBuffer, FieldPosition)): This
4736 should be equivalent to format(Object[],
4737 StringBuffer, FieldPosition).
4739 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4741 * java.util.Calendar.java (cache): New private static field. Cached
4742 mappings of locales->calendar classes.
4743 (ctorArgTypes): New private static field. Singleton argument for
4744 calendar class constructor lookup.
4745 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4746 Optimize by bypassing reflection instantiation for the
4747 GregorianCalendar case.
4749 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4751 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4752 ResourceBundle.getBundle() calls.
4753 * java/util/GregorianCalendar.java: Likewise.
4754 * java/util/Currency.java: Likewise.
4755 * java/text/BreakIterator.java: Likewise.
4756 * java/text/Collator.java: Likewise.
4757 * java/text/DateFormat.java: Likewise.
4758 * java/text/DateFormatSymbols.java: Likewise.
4759 * java/text/DecimalFormatSymbols.java: Likewise.
4760 * java/text/NumberFormat.java: Likewise.
4761 * java/awt/Window.java: Likewise.
4763 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4765 * java/util/ResourceBundle.java (bundleCache): Renamed from
4766 resourceBundleCache. Update comments.
4767 (getObject): Don't catch MissingResourceException.
4768 (getBundle(String)): Remove 'final'. Use system classloader if
4769 getCallingClassLoader returned null.
4770 (getBundle(String, Locale)): Likewise.
4771 (BundleKey): New private class. HashMap key for bundle cache lookup.
4772 (lookupKey): New. Singleton instance of BundleKey.
4773 (nullEntry): New. Cache entry to represent failed lookups.
4774 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4775 caching strategy, no-allocation lookup, and new tryBundle methods.
4776 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4777 name using given classloader.
4778 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4779 baseName for given Locale and attempt to load bundle.
4781 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4783 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4784 illegal protected method calls.
4786 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4788 Fix or remove some bogus test cases.
4789 * testsuite/libjava.compile/pr10459_2.java: Removed.
4790 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4792 * testsuite/libjava.compile/inner_data.java: Test against its own
4795 2004-07-09 Michael Koch <konqueror@gmx.de>
4797 * scripts/unicode-muncher.pl: Updated to version 2.1
4798 from GNU classpath. Added some clarifications on where to find the
4799 needed files from www.unicode.org.
4800 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4801 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4802 Removed, these can directly be downloaded from www.unicode.org if
4804 * gnu/java/lang/CharData.java: Regenerated.
4805 * include/java-chartables.h: Regenerated.
4806 * Makefile.am (ordinary_java_source_files):
4807 Removed gnu/java/lang/CharData.java.
4808 * Makefile.in: Regenerated.
4810 2004-07-09 Michael Koch <konqueror@gmx.de>
4812 * java/security/AccessControlContext.java,
4813 java/security/SecureClassLoader.java:
4816 2004-07-09 Michael Koch <konqueror@gmx.de>
4818 * java/io/ObjectInputStream.java (readFields): Use long datatype
4819 when shifting byte values more then 24 bits left.
4821 2004-07-09 Michael Koch <konqueror@gmx.de>
4823 * java/util/zip/DeflaterOutputStream.java,
4824 java/util/zip/GZIPInputStream.java,
4825 java/util/zip/GZIPOutputStream.java,
4826 java/util/zip/InflaterInputStream.java:
4827 Reformatted. Added javadocs. Reordered all stuff.
4828 Renamed variables to be more clear.
4830 2004-07-09 Michael Koch <konqueror@gmx.de>
4832 * javax/imageio/IIOException.java,
4833 javax/imageio/event/IIOReadProgressListener.java,
4834 javax/imageio/event/IIOReadUpdateListener.java,
4835 javax/imageio/event/IIOReadWarningListener.java,
4836 javax/imageio/event/IIOWriteProgressListener.java,
4837 javax/imageio/event/IIOWriteWarningListener.java:
4839 * Makefile.am: Added new files.
4840 * Makefile.in: Regenerated.
4842 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4844 * java/text/RuleBasedCollator.java
4845 (mergeRules): Use ArrayList instead of Vector.
4846 (subParseString): likewise.
4847 (parseString): likewise.
4848 (buildCollationVector): likewise.
4849 (getCollationKey): likewise.
4851 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4853 * java/text/DateFormat.java (parse):
4854 Improved javadoc. Improved exception message.
4856 2004-07-09 Mark Wielaard <mark@klomp.org>
4858 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4859 interrupted() method to clear interupt flag of our Thread.
4861 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4863 * java/nio/Buffer.java,
4864 java/nio/ByteBuffer.java,
4865 java/nio/ByteBufferHelper.java,
4866 java/nio/ByteBufferImpl.java,
4867 java/nio/CharBuffer.java,
4868 java/nio/CharBufferImpl.java,
4869 java/nio/CharViewBufferImpl.java,
4870 java/nio/DirectByteBufferImpl.java,
4871 java/nio/DoubleBuffer.java,
4872 java/nio/DoubleBufferImpl.java,
4873 java/nio/DoubleViewBufferImpl.java,
4874 java/nio/FloatBuffer.java,
4875 java/nio/FloatBufferImpl.java,
4876 java/nio/FloatViewBufferImpl.java,
4877 java/nio/IntBuffer.java,
4878 java/nio/IntBufferImpl.java,
4879 java/nio/IntViewBufferImpl.java,
4880 java/nio/LongBuffer.java,
4881 java/nio/LongBufferImpl.java,
4882 java/nio/LongViewBufferImpl.java,
4883 java/nio/MappedByteBufferImpl.java,
4884 java/nio/ShortBuffer.java,
4885 java/nio/ShortBufferImpl.java,
4886 java/nio/ShortViewBufferImpl.java:
4887 Fixed javadocs all over. Improved input error
4890 * java/nio/Buffer.java
4891 (checkForUnderflow, checkForOverflow, checkIndex,
4892 checkIfReadOnly, checkArraySize): New helper methods
4895 * java/nio/ByteBufferHelper.java
4896 (checkRemainingForRead, checkRemainingForWrite,
4897 checkAvailableForRead, checkAvailableForWrite): Removed
4898 no longer needed methods.
4900 2004-07-09 Michael Koch <konqueror@gmx.de>
4902 * gnu/regexp/CharIndexedInputStream.java:
4903 Reordered imports to match classpath.
4905 2004-07-09 Michael Koch <konqueror@gmx.de>
4907 * gnu/java/awt/EmbeddedWindow.java:
4908 Load native library for setWindowPeer method.
4910 2004-07-08 Randolph Chung <tausq@debian.org>
4912 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4913 * configure: Regenerate.
4914 * configure.host: Set can_unwind_signal for hppa*-linux.
4915 * include/pa-signal.h: New file.
4917 2004-07-07 Per Bothner <per@bothner.com>
4919 * Makefile.am: Add rules to build libgij from just gij.cc.
4921 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4922 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4923 (initializeClass): If verbose_class_flag, print message.
4924 * gij.cc (main): Handle -verbose:class flag.
4926 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4928 * configure.host: Enable hash synchronization on Darwin.
4929 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4930 ';', since this is a comment on Darwin.
4931 (compare_and_swap_release): Likewise.
4933 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4935 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4936 file portion of URL in addition to spec for file: protocol.
4938 2004-07-05 Anthony Green <green@redhat.com>
4940 * java/io/File.java (toURI): Merge from Classpath.
4942 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4944 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4945 before passing to URL constructor. Rethrow any MalformedURLException
4946 as a RuntimeException. Catch MalformedURLException specifically, not
4949 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4951 * java/util/Locale.java (readObject): Intern strings read from object
4954 2004-07-04 Michael Koch <konqueror@gmx.de>
4956 * gnu/gcj/runtime/FirstThread.java,
4957 gnu/gcj/runtime/natFirstThread.cc: Removed.
4958 * gnu/java/lang/MainThread.java,
4959 gnu/java/lang/natMainThread.cc: New files.
4960 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4961 * Makefile.am: Added new files and removed deleted ones.
4962 * Makefile.in: Regenerated.
4964 2004-07-03 Mark Wielaard <mark@klomp.org>
4965 Anthony Green <green@redhat.com>
4967 * java/net/URL.java (getFile): Clarify return value doc.
4968 (getPath): Return null if file is empty - not empty String.
4969 (set): Convert protocol to lower case before doing anything.
4970 Only change the protocol handler if it's different.
4972 2004-07-03 Anthony Green <green@redhat.com>
4974 * java/net/URL.java (URL): Convert protocol to lower case before
4975 doing anything, so we getURLStreamHandler() with the proper value.
4977 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4979 * java/util/Locale.java (hashcode): Made transient.
4980 (hashCode): No longer synchronized.
4981 (equals): Remove comment.
4982 (writeObject): No longer synchronized. Implement using writeObject
4983 calls instead of tweaking hashCode field. Update doc.
4984 (readObject): Implement using readObject calls.
4986 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4987 Andreas Tobler <a.tobler@schweiz.ch>
4989 * configure.host (powerpc-*-darwin*): New case, define
4991 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4992 * configure: Regenerate.
4993 * include/darwin-signal.h: New.
4995 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4997 * java/beans/Statement.java (doExecute): Fix formatting.
4999 2004-06-29 Per Bothner <per@bothner.com>
5001 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5002 etc etc): Remove needless parenthesis, which causes __stdcall__
5003 attribute on MinGW to get ignored.
5005 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5007 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5009 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5011 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5013 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5015 * java/beans/Expression.java: New file.
5016 * java/beans/Statement.java: New file.
5017 * Makefile.am: Added new files.
5018 * Makefile.in: Re-generate.
5020 2004-06-27 Mark Wielaard <mark@klomp.org>
5022 * java/io/FilePermission.java (usingPerms): Removed.
5023 (actionsString): Made final.
5024 (cachePerms): Renamed to checkPerms.
5025 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5027 (FilePermission): Check arguments, call checkPerms().
5028 (equals): Remove cachePerms() call.
5029 (implies): Likewise.
5031 2004-06-27 Mark Wielaard <mark@klomp.org>
5033 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5035 (sendRequest): Use new field in user-agent http agent.
5037 2004-06-27 Mark Wielaard <mark@klomp.org>
5039 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5040 when argument is null.
5042 2004-06-26 Mark Wielaard <mark@klomp.org>
5044 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5045 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5047 (cancel_clicked): Likewise.
5049 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5051 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5052 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5053 can not calculate the right value.
5054 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5056 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5058 * testsuite/libjava.jacks/jacks.xfail: Remove
5059 15.9.1-qualified-concrete-20.
5061 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5063 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5064 encoding name to iconv.
5065 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5067 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5070 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5071 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5072 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5074 2004-06-21 Andrew Haley <aph@redhat.com>
5076 * java/io/ObjectOutputStream.java: Add DEBUG statements
5078 (dumpElementln): New method.
5080 * java/io/ObjectInputStream.java
5081 (currentClassLoader): Make native.
5082 (callersClassLoader): New field.
5084 (readObject): ENDBLOCKDATA is generated if the class has a write
5085 method, not if it has a read method.
5086 (readObject): Save and restore this.currentObject and
5087 this.currentObjectStreamClass around calls to callReadMethod().
5088 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5091 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5093 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5096 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5098 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5099 if desired, before the default class loader is initialised.
5100 Call INIT_SEGV only if HANDLE_SEGV is defined.
5102 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5104 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5105 directory only if it actually exists.
5107 2004-06-18 Graydon Hoare <graydon@redhat.com>
5109 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5110 Fix up non-ansi comments.
5112 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5114 * javax/swing/text/AbstractDocument.java: Adding missing import
5115 for javax.swing.event.EventListenerList.
5116 * javax/swing/text/DefaultCaret.java: Likewise.
5118 2004-06-17 Michael Koch <konqueror@gmx.de>
5120 * javax/swing/JToolBar.java
5122 (JToolBar): Use Component.setName(String) instead of doing it all
5124 * javax/swing/Timer.java
5125 (queueEvent): Added missing modifier.
5127 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5129 * Makefile.am: Added new file.
5130 * Makefile.in: Re-generate.
5131 * javax/swing/JMenu.java:
5132 (insertSeparator): Implemented.
5133 * javax/swing/JPopupMenu.java:
5134 (JPopupMenu.Separator): Implemented.
5135 * javax/swing/MenuSelectionManager.java:
5136 (processMouseEvent): Use java.awt.Component
5137 for event source instead of javax.swing.JComponent.
5138 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5139 New File. Implemented.
5141 2004-06-16 David Jee <djee@redhat.com>
5143 * java/awt/GridBagLayout.java
5144 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5145 Make sure pos_x and pos_y are never negative.
5147 2004-04-16 Andrew Overholt <overholt@redhat.com>
5149 * Makefile.am: Add new file.
5150 * Makefile.in: Re-generate.
5151 * javax/swing/JToolBar.java
5152 Partially implemented.
5153 * javax/swing/plaf/basic/BasicToolBarUI.java
5154 New file. Partially implemented.
5156 2004-06-16 Graydon Hoare <graydon@redhat.com>
5158 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5159 (setComposite): Accept AlphaComposite arguments.
5160 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5161 (createBufferedImage): Add new overloads.
5162 * gnu/java/awt/peer/gtk/GtkToolkit.java
5163 (createImage): Use GdkPixbufDecoder.createBufferedImage
5164 when useGraphics2D() is true.
5165 (getImage): Delegate to createImage.
5166 * javax/swing/JList.java
5168 (getFirstVisibleIndex):
5169 (getLastVisibleIndex):
5171 (ensureIndexIsVisible): New methods.
5172 * javax/swing/Timer.java: Reimplement.
5174 2004-06-16 Michael Koch <konqueror@gmx.de>
5176 * javax/swing/text/AbstractDocument.java
5177 (AbstracElement): Made public, implements java.io.Serializable.
5178 (AttributeContext): Made public.
5179 (BranchElement): Likewise.
5180 (Content): Likewise.
5181 (DefaultDocumentEvent): Made public, extends
5182 javax.swing.undo.CompoundEdit.
5183 (ElementEdit): Made public, extends
5184 javax.swing.undo.AbstractUndoableEdit.
5185 (LeafElement): Made public.
5186 (LeafElement.LeafElement): Made public.
5188 2004-06-16 Michael Koch <konqueror@gmx.de>
5190 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5191 methods (that were obviously never be intended to get included hi this
5192 class. Added some methods too.
5194 2004-06-16 Michael Koch <konqueror@gmx.de>
5196 * javax/swing/text/PlainDocument.java
5197 (serialVersionUID): New constant.
5198 (lineLimitAttribute): Likewise.
5199 (tabSizeAttribute): Likewise.
5200 (tabSize): New field.
5201 (PlainDocument): Made public.
5202 (PlainDocument): New constructor.
5204 2004-06-16 Michael Koch <konqueror@gmx.de>
5206 * javax/swing/text/AbstractDocument.java
5207 (insertString): Throws BadLocationException.
5208 * javax/swing/text/Document.java
5209 (insertString): Likewise.
5210 * javax/swing/text/JTextComponent.java:
5211 Javadocs and comments cleaned up.
5213 2004-06-16 Michael Koch <konqueror@gmx.de>
5215 * javax/swing/event/UndoableEditListener.java: Reformatted.
5216 * javax/swing/text/AbstractDocument.java
5217 (AbstractDocument): Implements java.io.Serializable.
5218 (doc_list): Removed.
5219 (undo_list): Removed.
5220 (AbstractElement.serialVerionUID): New field.
5221 (BranchElement.serialVerionUID): Likewise.
5222 (DefaultDocumentEvent.serialVerionUID): Likewise.
5223 (ElementEdit.serialVerionUID): Likewise.
5224 (LeafElement.serialVerionUID): Likewise.
5225 (serialVerionUID): Likewise.
5226 (BAD_LOCATION): New constant.
5227 (BidiElementName): Likewise.
5228 (ContentElementName): Likewise.
5229 (ParagraphElementName): Likewise.
5230 (SectionElementName): Likewise.
5231 (ElementNameAttribute): Likewise.
5232 (AbstractDocument): Made protected.
5233 (AbstractDocument): New construtor.
5234 (listenerList): New field.
5235 (fireChangedUpdate): Implemented.
5236 (fireInsertUpdate): Likewise.
5237 (fireRemoveUpdate): Likewise.
5238 (fireUndoableEditUpdate): Likewise.
5239 (getListeners): Likewise.
5240 (addDocumentListener): Likewise.
5241 (removeDocumentListener): Likewise.
5242 (addUndoableEditListener): Likewise.
5243 (removeUndoableEditListener): Likewise.
5244 (getDocumentListeners): New method.
5245 (getUndoableEditListeners): Likewise.
5246 (getAsynchronousLoadPriority): Made public.
5247 (getBidiRootElement): Likewise.
5248 (setAsynchronousLoadPriority): Likewise.
5249 (setDocumentProperties): Likewise.
5250 * javax/swing/text/BadLocationException.java
5251 (serialVerionUID): New field.
5252 * javax/swing/text/DefaultCaret.java
5253 (changeEvent): New field.
5254 (listenerList): Likewise.
5256 (addChangeListener): Reimplemented.
5257 (removeChangeListener): Likewise.
5258 (getListeners): New method.
5259 (getChangeListeners): Likwise.
5260 (getComponent): Likewise.
5261 * javax/swing/text/GapContent.java
5262 (GapContent): Implements java.io.Serializable.
5263 (serialVerionUID): New field.
5265 2004-06-16 Michael Koch <konqueror@gmx.de>
5267 * javax/swing/JTree.java
5268 (treeModel): New field.
5269 (JTree): New constructors, one existing one made public.
5270 (createTreeModel): New method.
5271 (addTreeExpansionListener): Likewise.
5272 (removeTreeExpansionListener): Likewise.
5273 (getTreeExpansionListeners): Likewise.
5274 (fireTreeCollapsed): Likewise.
5275 (fireTreeExpanded): Likewise.
5276 (addTreeSelectionListener): Likewise.
5277 (removeTreeSelectionListener): Likewise.
5278 (getTreeSelectionListeners): Likewise.
5279 (fireValueChanged): Likewise.
5280 (addTreeWillExpandListener): Likewise.
5281 (removeTreeWillExpandListener): Likewise.
5282 (getTreeWillExpandListeners): Likewise.
5283 (fireTreeWillCollapse): Likewise.
5284 (fireTreeWillExpand): Likewise.
5286 2004-06-16 Michael Koch <konqueror@gmx.de>
5288 * javax/swing/JTree.java: Reformatted.
5290 2004-06-16 Michael Koch <konqueror@gmx.de>
5292 * javax/swing/JTextArea.java: New file.
5293 * javax/swing/JTextField.java
5295 (notifyAction): New constant.
5296 (columns): New field.
5297 (JTextField): New constructors.
5298 (createDefaultModel): New method.
5299 (addActionListener): Reimplmemented.
5300 (removeActionListener): Reimplemented.
5301 (getActionListeners): New method.
5302 (fireActionPerformed): New method.
5303 (getColumns): New method.
5304 (setColumne): New method.
5305 * javax/swing/text/JTextComponent.java
5306 (AccessibleJTextComponent.serialVersionUID): New field.
5307 (serialVersionUID): Likewise.
5308 (DEFAULT_KEYMAP): Likewise.
5309 (FOCUS_ACCELERATOR_KEY): Likewise.
5310 (doc): Made private.
5311 (icon_gap): Likewise.
5314 (JTextComponent): Some constructors removed.
5315 (getScrollableTracksViewportHeight): New method.
5316 (getScrollableTracksViewportWidth): Likewise.
5317 * Makefile.am: Added javax/swing/JTextArea.java.
5318 * Makefile.in: Regenerated.
5320 2004-06-15 Graydon Hoare <graydon@redhat.com>
5322 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5323 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5324 * javax/swing/JViewport.java
5325 (getExtentSize): Return size rather than preferred size.
5326 (toViewCoordinates): New methods.
5327 (getViewSize): Return size rather than preferred size.
5328 (setViewSize): Note view size as set.
5329 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5330 * javax/swing/plaf/basic/BasicScrollBarUI.java
5331 (getPreferredSize): Don't redo layout.
5332 * javax/swing/plaf/basic/BasicViewportUI.java
5333 (paint): Translate image properly and eat exceptions.
5335 2004-06-15 Kim Ho <kho@redhat.com>
5337 * javax/swing/JTabbedPane.java
5338 (setComponent): Remove old component and
5340 (setSelectedIndex): Don't operate on the
5341 components if they're null. Don't set index
5342 on the model if the index is the same.
5343 (insertTab): Don't add or hide the component
5344 if it's null. Repaint the container.
5345 * javax/swing/plaf/basic/BasicLookAndFeel.java
5346 Change colors for TabbedPane.
5347 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5348 (mousePressed): Re-layout and paint the component.
5349 (layoutContainer): Don't set location on the view.
5350 (ScrollingViewport::paint): Remove.
5352 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5355 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5357 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5358 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5359 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5361 (drawLine): Call gdk_flush before leaving GDK critical region.
5362 (fillRect): Likewise.
5363 (drawRect): Likewise.
5364 (copyArea): Likewise.
5365 (copyPixmap): Likewise.
5366 (clearRect): Likewise.
5367 (drawArc): Likewise.
5368 (drawPolyline): Likewise.
5369 (drawPolygon): Likewise.
5370 (fillPolygon): Likewise.
5371 (fillArc): Likewise.
5372 (drawOval): Likewise.
5373 (fillOval): Likewise.
5375 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5377 (GdkFontMetrics): Add style argument to initState call.
5378 (stringWidth(String,int,int,String)): Add style parameter.
5379 (stringWidth(String)): Add style argument to stringWidth call.
5380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5381 (initState): Set pango font style and weight based on AWT style
5382 parameter. Pass default GTK language to
5383 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5384 simply dividing by PANGO_SCALE.
5385 (stringWidth): Set pango font style and weight based on AWT style
5388 * java/awt/Button.java (next_button_number): New field.
5389 (paramString): Change output.
5390 (generateName): New method.
5391 (getUniqueLong): New method.
5393 2004-06-14 Kim Ho <kho@redhat.com>
5395 * javax/swing/JTabbedPane.java:
5396 (setComponentAt): Set the component, not
5398 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5399 (actionPerformed): Let deiconize catch exception.
5401 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5403 * javax/swing/JPopupMenu.java:
5404 (setVisible): Corrected location of a
5405 heavyweight popup menu.
5407 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5409 * javax/swing/MenuSelectionManager.java:
5410 Ran through jalopy to fix formatting style.
5412 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5414 * javax/swing/JLayeredPane.java:
5415 (remove): Revalidate and repaint layered pane after
5416 the component was removed.
5417 javax/swing/JMenu.java:
5418 (setVisible): Display popup menu at the user location,
5419 if one was set by the user.
5420 (setMenuLocation): Reimplemented. Fixed javadoc.
5421 * javax/swing/JMenuBar.java: Added javadoc.
5422 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5423 (MODEL_CHANGED_PROPERTY): New Property.
5424 (isSelected): Implemented.
5425 (setBorderPainted): Fire PropertyChangeEvent
5426 if paintBorder property changes.
5427 (setSelected): Implemented.
5428 (setSelectionModel): Implemented.
5429 * javax/swing/JPopupMenu.java: Added Javadoc
5430 (pack): Implemented.
5431 (setVisible): Reimplemented.
5432 (show): Fixed location.
5433 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5434 Container instead of JPanel.
5435 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5436 (clearSelectedPath): Reimplemented to clear selectedPath
5438 (processMouseEvent): Reimplemented.
5439 (setSelectedPath): Fire stateChange event indicating that
5440 selected menu path has changed.
5441 (getPath): Change to use ArrayList instead of Vector.
5442 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5443 (installUI): call installKeyboardActions().
5444 (uninstallUI): call uninstallKeyboardActions().
5446 2004-06-13 Michael Koch <konqueror@gmx.de>
5448 * javax/swing/text/DefaultCaret.java,
5449 javax/swing/text/BadLocationException.java:
5452 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5454 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5455 DEFAULT_COLS): New variables.
5456 (create): Don't allow 0 rows or 0 columns. Instead, set the
5457 values to DEFAULT_ROWS or DEFAULT_COLS.
5458 (getMinimumSize): Likewise.
5459 (getPreferredSize): Likewise.
5460 (minimumSize): Likewise.
5461 (preferredSize): Likewise.
5462 (create): Set peer's editable state.
5463 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5464 zero. Update javadocs.
5465 (TextArea(String)): Likewise.
5466 (TextArea(int,int)): Fix javadocs.
5467 (TextArea(String,int,int,int)): Only throw exception if one of
5468 rows or columns is zero. Fix javadocs.
5470 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5472 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5473 addition to Components.
5475 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5476 wasn't consumed by normal processing, send it to the parent
5479 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5480 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5483 2004-06-11 David Jee <djee@redhat.com>
5485 * java/awt/MediaTracker.java
5486 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5487 (addImage(Image,int,int,int)): Likewise.
5489 2004-06-11 Michael Koch <konqueror@gmx.de>
5491 * javax/swing/text/AbstractDocument.java,
5492 javax/swing/text/Document.java,
5493 javax/swing/text/GapContent.java,
5494 javax/swing/text/JTextComponent.java,
5495 javax/swing/text/PlainDocument.java:
5498 2004-06-11 Michael Koch <konqueror@gmx.de>
5500 * javax/swing/JRootPane.java
5501 (AccessibleJRootPane.serialVersionUID): New field.
5502 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5503 (AccessibleJRootPane.getAccessibleRole): New method.
5504 (RootLayout): Implements Serializable.
5505 (RootLayout.serialVersionUID): New field.
5506 (RootLayout.RootLayout): New constructor.
5507 (setJMenuBar): Made public.
5508 (getJMenuBar): Likewise.
5509 (JRootPane): Likewise.
5510 (createContentPane): Likewise.
5511 (createGlassPane): Likewise.
5512 (createLayeredPane): Likewise.
5514 2004-06-11 Michael Koch <konqueror@gmx.de>
5516 * javax/swing/SwingUtilities.java
5517 (isLeftMouseButton): Fixed javadoc.
5518 (isMiddleMouseButton): Likewise.
5519 (isRightMouseButton): Likewise.
5521 2004-06-11 Michael Koch <konqueror@gmx.de>
5523 * javax/swing/JScrollPane.java
5524 (serialVersionUID): New field.
5525 (columnHeader): Made protected.
5526 (rowHeader): Likewise.
5527 (lowerLeft): Likewise.
5528 (lowerRight): Likewise.
5529 (upperLeft): Likewise.
5530 (upperRight): Likewise.
5531 (horizontalScrollBar): Likewise.
5532 (horizontalScrollBarPolicy): Likewise.
5533 (verticalScrollBar): Likewise.
5534 (verticalScrollBarPolicy): Likewise.
5535 (viewport): Likewise.
5537 2004-06-11 Michael Koch <konqueror@gmx.de>
5539 * javax/swing/LookAndFeel.java: Fixed javadocs.
5541 2004-06-11 Michael Koch <konqueror@gmx.de>
5543 * javax/swing/JEditorPane.java: Fixed javadocs.
5544 (JEditorPane): Removed redundant call to to this().
5545 (fireHyperlinkUpdate): Implemented.
5547 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5549 * javax/swing/JMenu.java: Fixed file name
5550 in the file comment.
5552 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5554 * javax/swing/JMenu.java: Added javadoc.
5555 (JMenu): Added MenuChangeListener to listen to
5556 ChangeEvents occuring in menu's model.
5557 (insert): Throw IllegalArgumentException if
5558 index is less than 0
5559 (setSelected): Reimplement.
5560 (setPopupMenuVisible): Call menu's model isEnabled()
5561 (setDelay): Throw IllegalArgumentException if
5562 given amount of delay is less than 0.
5563 (createActionComponent): Implemented.
5564 (createActionChangeListener): Implemented.
5565 (addSeparator): Implemented.
5566 (getItem): Throw IllegalArgumentException if index is
5568 (getItemCount): Implemented.
5569 (fireMenuSelected): Changed to use menuEvent.
5570 (fireMenuDeselected): Likewise.
5571 (fireMenuCanceled): Likewise.
5572 (setAccelerator): Changed to throw an error if this
5574 (doClick): Implemented.
5575 (JMenu.ActionChangedListener): New inner class to handle
5576 PropertyChangeEvents occuring in the actions associated with menu.
5577 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5578 (BasicMenuUI): Added PropertyChangeListener to the menu.
5579 (createChangeListener): Implemented.
5580 (createMenuDragMouseListener): Likewise.
5581 (createMenuKeyListener): Likewise.
5582 (createPropertyChangeListener): Likewise.
5583 (uninstallListeners): Likewise.
5584 (BasicMenuUI.MouseInputHandler): Reimplemented.
5585 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5586 (BasicMenuUI.ChangeHandler): Likewise.
5587 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5588 (BasicMenuUI.MenuKeyHandler): Likewise.
5590 2004-06-10 David Jee <djee@redhat.com>
5592 * java/awt/MediaTracker.java
5593 (imageUpdate): Only do notifyAll() if the image is complete.
5595 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5597 * javax/swing/JApplet.java:
5598 (getJMenuBar): Made public.
5599 (setJMenuBar): Likewise.
5600 * javax/swing/JFrame.java:
5601 (getJMenuBar): Made public.
5602 (setJMenuBar): Likewise.
5603 * javax/swing/JWindow.java:
5604 (getJMenuBar): Removed.
5605 (setJMenuBar): Removed.
5607 2004-06-10 Michael Koch <konqueror@gmx.de>
5609 * javax/swing/JEditorPane.java
5610 (createEditorKitForContentType): Fixed visibility.
5611 (fireHyperlinkUpdate): Likewise.
5612 (getContentType): Likewise.
5613 (getEditorKit): Likewise.
5614 (getEditorKitForContentType): Likewise.
5615 (getPage): Likewise.
5617 (registerEditorKitForContentTyoe): Likewise.
5618 (replaceSelection): Likewise.
5619 (setContentType): Likewise.
5620 (setEditorKit): Likewise.
5621 (setPage): Likewise.
5623 2004-06-10 Michael Koch <konqueror@gmx.de>
5625 * javax/swing/Timer.java
5626 (Timer): New constructor.
5627 * javax/swing/plaf/basic/BasicProgressBarUI.java
5628 (animationTimer): Don't initialize at construction.
5629 (startAnimationTimer): Added since tag.
5630 (stopAnimationTimer): Likewise.
5631 (installUI): Use new Timer constructor.
5632 * javax/swing/plaf/basic/BasicScrollBarUI.java
5633 (installUI): Likewise.
5634 * javax/swing/plaf/basic/BasicSliderUI.java
5635 (installUI): Likewise.
5637 2004-06-10 Michael Koch <konqueror@gmx.de>
5639 * javax/swing/ButtonGroup.java
5640 (serialVersionUID): Made private.
5641 (buttons): Renamed from v, added javadoc.
5642 (sel): Added javadoc.
5643 (ButtonGroup): Likewise.
5646 (getElements): Likewise.
5647 (getSelection): Likewise.
5648 (setSelected): Likewise.
5649 (isSelected): Likewise.
5650 (getButtonCount): Likewise.
5652 2004-06-10 Michael Koch <konqueror@gmx.de>
5654 * javax/swing/ButtonGroup.java,
5655 javax/swing/ImageIcon.java,
5656 javax/swing/JEditorPane.java,
5657 javax/swing/JRootPane.java,
5658 javax/swing/JTextField.java,
5659 javax/swing/LookAndFeel.java,
5660 javax/swing/plaf/basic/BasicTextUI.java:
5663 2004-06-10 Michael Koch <konqueror@gmx.de>
5665 * javax/swing/text/Style.java: Added javadocs.
5667 2004-06-10 Michael Koch <konqueror@gmx.de>
5669 * javax/swing/JComponent.java
5670 (fireVetoableChange): Removed redundant cast.
5671 * javax/swing/JLabel.java
5672 (getDisabledIcon): Save icon for next call.
5674 2004-06-10 Michael Koch <konqueror@gmx.de>
5676 * javax/swing/KeyStroke.java
5677 (getKeyStroke(char,boolean)): Marked deprecated.
5679 2004-06-10 Michael Koch <konqueror@gmx.de>
5681 * javax/swing/DefaultCellEditor.java,
5682 javax/swing/GrayFilter.java,
5683 javax/swing/event/DocumentEvent.java,
5684 javax/swing/text/JTextComponent.java,
5685 javax/swing/text/MutableAttributeSet.java:
5688 2004-06-10 Michael Koch <konqueror@gmx.de>
5690 * javax/swing/plaf/BorderUIResource.java:
5691 Added serialVersionUID all over.
5693 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5695 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5697 2004-06-10 Michael Koch <konqueror@gmx.de>
5699 * javax/swing/table/DefaultTableCellRenderer.java
5700 (noFocusBorder): Initialize directly.
5702 2004-06-10 Michael Koch <konqueror@gmx.de>
5704 * javax/swing/plaf/basic/BasicArrowButton.java
5705 (setDirection): Use method argument.
5707 2004-06-10 Michael Koch <konqueror@gmx.de>
5709 * javax/swing/plaf/BorderUIResource.java,
5710 javax/swing/plaf/ComponentUI.java,
5711 javax/swing/undo/CompoundEdit.java,
5712 javax/swing/undo/StateEdit.java:
5713 Fixed javadocs all over.
5715 2004-06-10 Michael Koch <konqueror@gmx.de>
5717 * javax/swing/DefaultButtonModel.java
5718 (ARMED): Made public final, fixed value.
5719 (ENABLED): Likewise.
5720 (PRESSED): Likewise.
5721 (ROLLOVER): Likewise.
5722 (SELECTED): Likewise.
5723 (stateMask): Initialize directly.
5724 (listenerList): Likewise.
5725 (mnemonic): Likewise.
5726 (fireStateChanged): Removed argument, use changeEvent as event.
5727 All places where this method is called are fixed too.
5728 (getActionCommant): Fixed javadoc.
5729 (setGroup): Fixed javadoc.
5730 (getGroup): New method.
5732 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5734 * javax/swing/AbstractButton.java
5735 (AbstractButton): Use init() to initialize the button.
5736 (init): New Method. Initializes AbstractButton.
5737 * javax/swing/JMenuItem.java: Documented.
5738 (JMenuItem): Reimplemented.
5739 (init): Implemented.
5740 (setEnabled): Changed to call super.setEnabled()
5741 (processMouseEvent): Reimplemented.
5742 (fireMenuKeyPressed): Implemented.
5743 (fireMenuKeyReleased): Implemented.
5744 (fireMenuKeyTyped): Implemented.
5745 (menuSelectionChanged): disarm the model if the menu item was
5747 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5748 (getPath): Change to use ArrayList instead of Vector.
5749 (getPreferredSize): Renamed variable.
5750 (paintMenuItem): Paint margin area of menu item.
5751 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5752 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5753 menu item's bounds before clearing the selection.
5755 2004-06-09 David Jee <djee@redhat.com>
5757 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5758 (GtkTextComponentPeer): Set caret position to 0.
5759 * java/awt/TextComponent.java
5760 (setText): Set caret position to 0.
5761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5762 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5763 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5764 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5767 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5770 2004-06-09 Kim Ho <kho@redhat.com>
5772 * Makefile.am: New files
5773 * Makefile.in: Regenerated
5774 * java/awt/Container.java
5775 (getComponentAt): Removed.
5776 * javax/swing/AbstractAction.java
5777 (ENABLED_PROPERTY): New property.
5778 (putValue): Fire PropertyChangeEvents.
5779 (setEnabled): ditto.
5780 (firePropertyChange): Javadoc and implement
5782 * javax/swing/AbstractButton.java
5783 (setAction): Don't create PropertyChangeListener
5784 if new Action is null.
5785 (setIcon): Don't set icon till after comparing
5787 (configurePropertiesFromAction): Check mnemonic
5788 key before calling intValue().
5789 (createActionPropertyChangeListener): Check
5790 properties rather than bulk change.
5791 * javax/swing/DefaultDesktopManager.java:
5793 * javax/swing/DesktopManager.java:
5795 * javax/swing/JComponent.java
5796 (fireVetoableChange): Implement.
5797 (paintImmediately): Use root component.
5798 * javax/swing/JDesktopPane.java: Implement
5799 * javax/swing/JInternalFrame.java: Implement
5800 * javax/swing/JLabel.java
5801 (getDisabledIcon): Return grayscaled icon if
5802 no disabled icon specified.
5803 * javax/swing/JMenuBar.java
5804 (getComponentAtIndex): Use getComponent
5805 * javax/swing/JOptionPane.java
5806 (getDesktopPaneForComponent): Use SwingUtilities'
5808 (getFrameForComponent): ditto.
5809 * javax/swing/JSplitPane.java
5810 (remove): Use getComponent.
5811 * javax/swing/SwingUtilities.java
5812 (convertPoint): Implement.
5813 * javax/swing/plaf/basic/BasicButtonUI.java
5814 (paintButtonNormal): Check opaqueness before
5816 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5818 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5820 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5822 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5824 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5825 Change InternalFrame and Desktop colors.
5827 2004-06-09 David Jee <djee@redhat.com>
5829 * java/awt/Container.java
5830 (remove): Do not set component to invisible.
5832 2004-06-09 Michael Koch <konqueror@gmx.de>
5834 * javax/swing/tree/DefaultMutableTreeNode.java
5835 (getLeafCount): Renamed enum to e.
5837 2004-06-09 Michael Koch <konqueror@gmx.de>
5839 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5840 (positionForMouseEvent): Removed redundant semicolon.
5841 (continueDrag): Use method arguments.
5843 2004-06-09 Michael Koch <konqueror@gmx.de>
5845 * javax/swing/border/TitledBorder.java,
5846 javax/swing/filechooser/FileSystemView.java,
5847 javax/swing/plaf/basic/BasicButtonListener.java,
5848 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5849 javax/swing/plaf/basic/BasicLabelUI.java,
5850 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5851 javax/swing/plaf/basic/BasicScrollBarUI.java,
5852 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5853 javax/swing/plaf/basic/BasicSliderUI.java,
5854 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5855 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5856 javax/swing/table/JTableHeader.java,
5857 javax/swing/text/AbstractDocument.java,
5858 javax/swing/text/DefaultCaret.java,
5859 javax/swing/text/StyledEditorKit.java,
5860 javax/swing/tree/DefaultTreeCellEditor.java:
5861 Reworked import statements.
5863 2004-06-08 Graydon Hoare <graydon@redhat.com>
5865 * javax/swing/Box.java: Temporarily comment out code
5866 broken due to visibility bug.
5868 2004-06-09 Michael Koch <konqueror@gmx.de>
5870 * javax/swing/ImageIcon.java
5871 (ImageIcon): Added missing constructor.
5873 2004-06-08 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/JToggleButton.java
5876 (JToggleButton): New constructor.
5877 (getAccessibleContext): Moved documentation into javadoc.
5878 (getUIClassID): Likewise.
5880 2004-06-08 Michael Koch <konqueror@gmx.de>
5882 * javax/swing/AbstractButton.java
5883 (getDisabledIcon): Create disabled icon if none exists yet.
5885 2004-06-08 Michael Koch <konqueror@gmx.de>
5887 * javax/swing/plaf/basic/BasicLookAndFeel.java
5888 (initClassDefaults): Added FormattedTextFieldUI.
5889 (loadResourceBundle): Renamed enum to e.
5891 2004-06-08 Michael Koch <konqueror@gmx.de>
5893 * javax/swing/plaf/basic/BasicButtonUI.java
5894 (paintIcon): Simplified.
5895 (paintText): Paint disabled button correctly.
5897 2004-06-08 Michael Koch <konqueror@gmx.de>
5899 * javax/swing/JComponent.java
5900 (createToolTip): Use official JToolTip API.
5902 2004-06-08 Michael Koch <konqueror@gmx.de>
5904 * javax/swing/JToolTip.java
5905 (JToolTip): No arguments in API.
5906 (setTipText): New method.
5908 2004-06-08 Michael Koch <konqueror@gmx.de>
5910 * javax/swing/SwingUtilities.java
5911 (isLeftMouseButton): New method.
5912 (isMiddleMouseButton): New method.
5913 (isRightMouseButton): New method.
5915 2004-06-08 Michael Koch <konqueror@gmx.de>
5917 * javax/swing/AbstractButton.java,
5918 javax/swing/CellRendererPane.java,
5919 javax/swing/JCheckBoxMenuItem.java,
5920 javax/swing/JColorChooser.java,
5921 javax/swing/JComboBox.java,
5922 javax/swing/JComponent.java,
5923 javax/swing/JDesktopPane.java,
5924 javax/swing/JFileChooser.java,
5925 javax/swing/JMenu.java,
5926 javax/swing/JMenuItem.java,
5927 javax/swing/JOptionPane.java,
5928 javax/swing/JPasswordField.java,
5929 javax/swing/JPopupMenu.java,
5930 javax/swing/JProgressBar.java,
5931 javax/swing/JRadioButtonMenuItem.java,
5932 javax/swing/JScrollBar.java,
5933 javax/swing/JSeparator.java,
5934 javax/swing/JSlider.java,
5935 javax/swing/JSplitPane.java,
5936 javax/swing/JTabbedPane.java,
5937 javax/swing/JTextField.java,
5938 javax/swing/JToolBar.java,
5939 javax/swing/text/JTextComponent.java:
5940 Fixed all constructors of accessibility classes.
5942 2004-06-08 Michael Koch <konqueror@gmx.de>
5944 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5947 2004-06-08 Michael Koch <konqueror@gmx.de>
5949 * javax/swing/Box.java
5950 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5951 (AccessibleBoxFiller.serialVersionUID): New member variable.
5952 * javax/swing/DefaultButtonModel.java
5953 (stateMask): Made protected.
5954 (listenerList): Likewise.
5955 (changeEvent): Likewise.
5957 (mnemonic): Likewise.
5958 (actionCommand): Likewise.
5959 (getListeners): New method.
5960 (getActionListeners): New method.
5961 (getItemListeners): New method.
5962 (getChangeListeners): New method.
5963 (fireItemStateChanged): Simplified.
5964 (fireActionPerformed): Simplified.
5965 (fireStateChanged): Simplified.
5966 * javax/swing/JFrame.java
5967 (JFrame): Implements WindowContants.
5968 (HIDE_ON_CLOSE): Removed.
5969 (EXIT_ON_CLOSE): Removed.
5970 (DISPOSE_ON_CLOSE): Removed.
5971 (DO_NOTHING_ON_CLOSE): Removed.
5972 (processWindowEvent): Exit with code 0.
5973 (setDefaultCloseOperation): Do security check before setting value.
5974 * javax/swing/JOptionPane.java
5975 (message): Initialize only in constructor.
5976 * javax/swing/JToolTip.java: Removed unused imports.
5977 * javax/swing/JViewport.java
5978 (serialVersionUID): New member variable.
5979 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5980 (BLIT_SCROLL_MODE): Likewise.
5981 (BACKINGSTORE_SCROLL_MODE): Likewise.
5982 (scrollUnderway): Made protected.
5983 (isViewSizeSet): Likewise.
5984 * javax/swing/ListModel.java: Fixed javadoc.
5985 * javax/swing/Popup.java: Likewise.
5986 * javax/swing/RepaintManager.java
5987 (paintDirtyRegions): Don't use internal classes of
5988 java.util.AbstractMap.
5989 * javax/swing/ScrollPaneConstants.java: Reindented.
5990 * javax/swing/ScrollPaneLayout.java
5991 (viewport): Made protected.
5992 (verticalScrollBar): Made protected, renamed to vsb.
5993 (horizontalScrollBar): Made protected, renamed to hsb.
5994 (rowHeader): Made protected, renamed to rowHead.
5995 (columnHeader): Made protected, renamed to colHead.
5996 (lowerLeft): Made protected.
5997 (lowerRight): Made protected.
5998 (upperLeft): Made protected.
5999 (upperRight): Made protected.
6000 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6001 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6003 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6005 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6006 LOADING if flags has SOMEBITS set.
6008 2004-06-07 Michael Koch <konqueror@gmx.de>
6010 * javax/swing/AbstractButton.java: Reorganized imports.
6011 * javax/swing/ActionMap.java: Likewise.
6012 * javax/swing/DefaultButtonModel.java: Likewise.
6013 * javax/swing/DefaultListModel.java: Likewise.
6014 * javax/swing/ImageIcon.java: Likewise.
6015 (serialVersionUID): New member variable.
6016 * javax/swing/JComboBox.java: Reorganized imports.
6017 * javax/swing/JComponent.java: Likewise.
6018 (ui): Made protected.
6019 (listenerList): Made protected.
6020 (TOOL_TIP_TEXT_KEY): New constant.
6021 (scrollRectToVisible): Removed redundant null check.
6022 * javax/swing/JFrame.java: Reorganized imports.
6023 * javax/swing/JInternalFrame.java: Reorganized imports.
6024 * javax/swing/JProgressBar.java: Likewise.
6025 * javax/swing/JRootPane.java: Likewise.
6026 * javax/swing/JScrollBar.java: Likewise.
6027 * javax/swing/JSeparator.java: Likewise.
6028 * javax/swing/JSlider.java: Likewise.
6029 * javax/swing/JTabbedPane.java: Likewise.
6030 * javax/swing/JTextField.java: Likewise.
6031 * javax/swing/JToolBar.java: Likewise.
6032 * javax/swing/JTree.java: Likewise.
6033 * javax/swing/JViewport.java: Likewise.
6034 * javax/swing/JWindow.java: Likewise.
6035 * javax/swing/KeyStroke.java: Likewise.
6036 * javax/swing/LookAndFeel.java: Likewise.
6037 * javax/swing/MenuSelectionManager.java: Likewise.
6038 * javax/swing/SwingUtilities.java: Likewise.
6039 * javax/swing/Timer.java: Likewise.
6040 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6041 * javax/swing/JList.java
6042 (HORIZONTAL_WRAP): Made final, fixed value.
6043 (VERTICAL): Likewise.
6044 (VERTICAL_WRAP): Likewise.
6046 2004-06-07 Michael Koch <konqueror@gmx.de>
6048 * javax/swing/AbstractButton.java
6049 (serialVersionUID): New member variable.
6050 (AccessibleAbstractButton.serialVersionUID): Likewise.
6051 (AbstractButton): Made public.
6052 * javax/swing/Box.java
6053 (AccessibleBox.serialVersionUID): New member variable.
6054 (Filler.serialVersionUID): Likewise.
6055 * javax/swing/DefaultListSelectionModel.java
6056 (serialVersionUID): Likewise.
6057 * javax/swing/JApplet.java
6058 (serialVersionUID): Likewise.
6059 * javax/swing/JCheckBox.java
6060 (serialVersionUID): Likewise.
6061 * javax/swing/JCheckBoxMenuItem.java
6062 (serialVersionUID): Likewise.
6063 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6064 * javax/swing/JColorChooser.java
6065 (serialVersionUID): Likewise.
6066 (AccessibleJColorChooser.serialVersionUID): Likewise.
6067 * javax/swing/JComponent.java
6068 (serialVersionUID): Made private.
6069 (AccessibleJComponent.serialVersionUID): New member variable.
6070 * javax/swing/JDesktopPane.java
6071 (serialVersionUID): Likewise.
6072 * javax/swing/JDialog.java
6073 (serialVersionUID): Likewise.
6074 * javax/swing/JFormattedTextField.java
6075 (serialVersionUID): Fixed value.
6076 * javax/swing/JFrame.java
6077 (serialVersionUID): New member variable.
6078 (getDefaultCloseOpertation): Made public.
6079 * javax/swing/JLayeredPane.java
6080 (serialVersionUID): Likewise.
6081 (LAYER_PROPERTY): Made final, fixed value.
6082 (JLayeredPane): Made public.
6083 * javax/swing/JMenu.java
6084 (AccessibleJMenu.serialVersionUID): New member variable.
6085 (WinListener.serialVersionUID): Likewise.
6086 * javax/swing/JMenuBar.java
6087 (serialVersionUID): Likewise.
6088 (getComponentAtIndex): Added @deprecated tag.
6089 * javax/swing/JMenuItem.java
6090 (serialVersionUID): New member variable.
6091 (AccessibleJMenuItem.serialVersionUID): Likewise.
6092 * javax/swing/JOptionPane.java
6093 (serialVersionUID): Likewise.
6094 (AccessibleJOptionPane.serialVersionUID): Likewise.
6095 * javax/swing/JPopupMenu.java
6096 (serialVersionUID): Likewise.
6097 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6098 (getPopupMenuListeners): New method.
6099 (getComponentAtIndex): Added @deprecated tag.
6100 * javax/swing/JProgressBar.java
6101 (serialVersionUID): New member variable.
6102 (AccessibleJProgressBar.serialVersionUID): Likewise.
6103 * javax/swing/JRadioButton.java
6104 (serialVersionUID): Likewise.
6105 * javax/swing/JRadioButtonMenuItem.java
6106 (serialVersionUID): Likewise.
6107 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6108 * javax/swing/JScrollBar.java
6109 (serialVersionUID): Likewise.
6110 (AccessibleJScrollBar.serialVersionUID): Likewise.
6111 * javax/swing/JSeparator.java
6112 (serialVersionUID): Likewise.
6113 (AccessibleJSeparator.serialVersionUID): Likewise.
6114 * javax/swing/JSlider.java: Fixed javadocs.
6115 (AccessibleJSlider.serialVersionUID): New member variable.
6116 * javax/swing/JSplitPane.java: Added copyright statement.
6117 (serialVersionUID): New member variable.
6118 (AccessibleJSplitPane.serialVersionUID): Likewise.
6119 * javax/swing/JTabbedPane.java
6120 (serialVersionUID): Likewise.
6121 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6122 (ModelListener.serialVersionUID): Likewise.
6123 (ModelListener.ModelListener): New constructor.
6124 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6125 (WRAP_TAB_LAYOUT): Likewise.
6126 * javax/swing/JTable.java
6127 (serialVersionUID): New member variable.
6128 * javax/swing/JToggleButton.java
6129 (serialVersionUID): Likewise.
6130 (ToggleButtonModel): Made static.
6131 (ToggleButtonModel.serialVersionUID): New member variable.
6132 * javax/swing/JToolTip.java
6133 (serialVersionUID): Likewise.
6134 * javax/swing/JTree.java
6135 (serialVersionUID): Likewise.
6136 * javax/swing/JWindow.java
6137 (serialVersionUID): Likewise.
6138 * javax/swing/Timer.java
6139 (serialVersionUID): Likewise.
6141 2004-06-06 Michael Koch <konqueror@gmx.de>
6143 * javax/swing/SwingConstants.java
6144 (NEXT): New constant.
6145 (PREVIOUS): Likewise.
6146 * javax/swing/UIManager.java
6147 (LookAndFeel): Made public.
6148 (LookAndFeel.getClassName): Likewise.
6149 (LookAndFeel.getName): Likewise.
6151 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6153 * javax/swing/JCheckBoxMenuItem.java:
6155 * javax/swing/JMenu.java: Likewise.
6156 * javax/swing/JMenuBar.java: Likewise.
6157 * javax/swing/JMenuItem.java: Likewise.
6158 * javax/swing/JPopupMenu.java: Likewise.
6159 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6160 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6161 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6162 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6163 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6164 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6165 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6167 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6169 * javax/swing/plaf/basic/BasicMenuUI.java:
6170 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6171 Call getPath() from super class instead.
6173 2004-05-31 David Jee <djee@redhat.com>
6175 * java/awt/Container.java
6176 (remove): Set component visibility to false after removing it.
6178 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6180 * java/awt/Component.java (getForeground): Return SystemColor if
6182 (getBackground): Likewise.
6184 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6185 (item_highlighted): New function.
6186 (connectSignals): Set item_highlighted as list's select
6189 * java/applet/Applet.java: Revert changes from 2004-04-29,
6190 2004-03-15 and 2004-03-14.
6192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6193 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6196 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6197 "Dialog" as the default font.
6198 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6200 * java/awt/Component.java (getFont): Return "Dialog" font by
6202 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6203 Multiply size argument to pango_font_description_set_size by the
6204 DPI conversion factor rather than by PANGO_SCALE.
6205 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6206 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6215 Divide baseline y coordinate by DPI conversion factor rather
6216 than by PANGO_SCALE.
6217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6218 (area_prepared): Fix typo.
6219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6220 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6222 (dpi_conversion_factor): New global variable.
6223 (init_dpi_conversion_factor): New function to calculate and
6224 track DPI conversion factor.
6225 (dpi_changed_cb): New callback.
6226 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6228 2004-05-27 David Jee <djee@redhat.com>
6230 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6231 (getGraphics): Return a new GdkGraphics instance.
6232 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6233 (getGraphics): Call super.getGraphics().
6235 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6238 (setNativeBounds): Clamp width and height values to >= 0.
6240 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6241 (find_fg_color_widget): Handle GtkOptionMenu specially.
6243 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6244 (pre_event_handler): Only post configure events to visible
6247 2004-05-26 David Jee <djee@redhat.com>
6249 * java/awt/BorderLayout.java
6250 (layoutContainer): Fix size calculations.
6252 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6255 (window_wm_protocols_filter): Remove function.
6256 (create): Remove filter that removes WM_TAKE_FOCUS client
6259 2004-06-17 Anthony Green <green@redhat.com>
6261 * java/util/zip/ZipFile.java (getInputStream): Return null if
6264 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6265 directory contents to the class path.
6267 2004-06-15 Andrew Haley <aph@redhat.com>
6269 * java/lang/natSystem.cc (getenv0): Don't assume environment
6270 variable is Latin 1 coded.
6272 2004-06-14 Andreas Jaeger <aj@suse.de>
6274 * configure.in: Support --enable-version-specific-runtime-libs.
6275 * configure: Regenerated.
6277 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6279 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6280 to pass ClassLoader argument.
6281 * java/util/GregorianCalendar.java: Likewise.
6282 * java/util/Currency.java: Likewise.
6283 * java/text/BreakIterator.java: Likewise.
6284 * java/text/Collator.java: Likewise.
6285 * java/text/DateFormat.java: Likewise.
6286 * java/text/DateFormatSymbols.java: Likewise.
6287 * java/text/DecimalFormatSymbols.java: Likewise.
6288 * java/text/NumberFormat.java: Likewise.
6289 * java/awt/Window.java: Likewise.
6291 2004-06-14 Andrew Haley <aph@redhat.com>
6293 * java/lang/System.java: (getenv0): New method.
6294 (getenv): Add security check. Do the right thing.
6295 * java/lang/natSystem.cc (getenv0): New method.
6297 2004-06-12 Mark Wielaard <mark@klomp.org>
6299 * javax/swing/RepaintManager.java
6300 (paintDirtyRegions): Use entrySet(), not values().
6302 2004-06-10 Mark Wielaard <mark@klomp.org>
6304 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6307 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6309 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6310 when we already know the answer.
6311 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6312 (setStartRule,setEndRule): Don't take abs of day number.
6313 (getOffset): Clarify docs. Add argument checks.
6314 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6315 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6318 2004-06-10 Tom Tromey <tromey@redhat.com>
6320 * interpret.cc (run): Handle wide fload.
6322 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6324 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6326 2004-06-05 Michael Koch <konqueror@gmx.de>
6328 * javax/swing/SwingConstants.java
6329 (NEXT): New constant.
6330 (PREVIOUS): Likewise.
6332 2004-06-05 Michael Koch <konqueror@gmx.de>
6334 * javax/swing/UIManager.java
6335 (LookAndFeel): Made public.
6336 (LookAndFeel.getName): Likewise.
6337 (LookAndFeel.getClassName): Likewise.
6339 2004-06-03 Michael Koch <konqueror@gmx.de>
6341 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6342 (requestFocus): Revert last changes.
6343 (gtkRequestFocus): Removed.
6344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6345 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6347 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6348 Reverted last patch.
6349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6350 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6351 Reverted comment change.
6353 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6355 * javax/swing/JCheckBoxMenuItem.java:
6357 * javax/swing/JMenu.java: Likewise.
6358 * javax/swing/JMenuBar.java: Likewise.
6359 * javax/swing/JMenuItem.java: Likewise.
6360 * javax/swing/JPopupMenu.java: Likewise.
6361 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6362 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6363 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6364 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6365 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6366 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6367 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6369 2004-06-01 Tom Tromey <tromey@redhat.com>
6371 * java/io/ObjectStreamField.java: Cleaned up imports.
6373 2004-06-01 Michael Koch <konqueror@gmx.de>
6375 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6377 2004-06-01 Mark Wielaard <mark@klomp.org>
6379 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6381 2004-06-01 Michael Koch <konqueror@gmx.de>
6383 * java/security/Security.java
6384 (insertProviderAt): Use equals() instead of ==.
6385 (removeProvicer): Likewise.
6386 (getProvider): Likewise.
6387 * java/security/Signature.java
6388 (sign): Don't set state to UNINITIALIZED.
6391 2004-06-01 Mark Wielaard <mark@klomp.org>
6393 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6394 Implement by calling gtkRequestFocus.
6395 (gtkRequestFocus): New native method.
6396 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6397 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6399 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6401 (filter_expose_event_handler):
6403 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6404 (menu_pos): Mark static.
6406 2004-06-01 Michael Koch <konqueror@gmx.de>
6408 * java/text/CollationElementIterator.java,
6409 java/text/CollationKey.java,
6410 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6411 * testsuite/libjava.mauve/xfails: Removed all
6412 java.text.CollationElementIterator tests.
6414 2004-06-01 Michael Koch <konqueror@gmx.de>
6416 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6418 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6419 Java 1.5 keyword usage.
6421 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6423 * javax/swing/plaf/basic/BasicMenuUI.java:
6424 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6425 Call getPath() from super class instead.
6427 2004-05-31 Michael Koch <konqueror@gmx.de>
6429 * java/io/SequenceInputStream.java:
6430 Rename enum to e because enum is a keyword in Java 1.5.
6432 2004-05-31 Michael Koch <konqueror@gmx.de>
6434 * gnu/java/rmi/rmic/CompilerProcess.java:
6435 Fixed javadoc to by XHTML compliant.
6437 2004-05-30 Mark Wielaard <mark@klomp.org>
6439 * java/awt/Toolkit.java (loadSystemColors): Implement.
6441 2004-05-30 Michael Koch <konqueror@gmx.de>
6443 * java/lang/System.java: Reordered imports.
6445 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6447 * java/text/DecimalFormat.java
6448 (parse): Fixed parsing of decimal strings. Number of maximum
6449 digits to be read should now work.
6450 * java/text/SimpleDateFormat.java
6451 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6452 formatter. This fixes DateFormatTest.
6454 2004-05-30 Michael Koch <konqueror@gmx.de>
6456 * java/nio/Buffer.java
6457 (limit): Fixed off by one error.
6458 * java/nio/CharBuffer.java
6459 (wrap): Fixed arguments, added javadocs.
6461 2004-05-30 Michael Koch <konqueror@gmx.de>
6463 * gnu/java/beans/BeanInfoEmbryo.java,
6464 java/awt/im/InputContext.java,
6465 javax/swing/tree/DefaultMutableTreeNode.java:
6466 Rename enum to e because enum is a keyword in Java 1.5.
6468 2004-05-30 Michael Koch <konqueror@gmx.de>
6470 * gnu/java/math/MPN.java,
6471 java/awt/geom/Arc2D.java:
6472 Fixed javadocs all over.
6474 2004-05-30 Michael Koch <konqueror@gmx.de>
6476 * java/awt/DefaultKeyboardFocusManager.java
6477 (dispatchEvent): Call method to get key event dispatchers.
6478 (dispatchKeyEvent): Call method to get key event post processors.
6479 * javax/swing/JComponent.java
6480 (listenerList): Made protected.
6481 * javax/swing/JOptionPane.java
6482 (message): Don't initialize.
6483 (JOptionPane): Set message text.
6484 * javax/swing/JPopupMenu.java
6485 (show): Fixed typo in argument name.
6486 * javax/swing/RepaintManager.java
6487 (paintDirtyRegions): Use public API of java.util.Map.
6488 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6489 (positionForMouseEvent): Removed redundant ';'.
6490 (continueDrag): Use method arguments.
6492 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6494 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6497 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6499 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6501 * gnu/gcj/RawDataManaged.java: New file.
6502 * java/lang/Thread.java (data): Declare as RawDataManaged.
6503 * java/lang/natThread.cc (init_native): Cast natThread data to
6504 RawDataManaged, not jobject.
6505 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6506 * Makefile.in: Rebuilt.
6508 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6510 * java/util/SimpleTimeZone.java: Reverting my last change until I
6511 can fix it properly.
6513 2004-05-27 Michael Koch <konqueror@gmx.de>
6515 * javax/swing/JPopupMenu.java
6516 (isVisible): Do not use visible directly.
6517 (setVisible): Likewise.
6518 * javax/swing/JWindow.java
6519 (JWindow): call accessible constructor.
6520 * javax/swing/RepaintManager.java
6521 (paintDirtyRegions): Use public methods to obtain iterator.
6523 2004-05-25 David Jee <djee@redhat.com>
6525 * java/awt/Container.java
6526 (remove): Set component's parent to null only after we removed the
6527 component from its parent's layout manager.
6529 2004-05-25 David Jee <djee@redhat.com>
6531 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6532 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6534 * gnu/java/awt/peer/gtk/GtkListPeer.java
6535 (getSize): Change native method declaration.
6536 (minimumSize): Pass visible row count into getSize().
6537 (preferredSize): Likewise.
6538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6539 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6540 natural size. Use visible row count to determine the final height
6543 2004-05-21 Graydon Hoare <graydon@redhat.com>
6545 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6546 (setClip): Minor correction to order of operations.
6548 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6549 * javax/swing/ScrollPaneLayout.java: Likewise.
6550 * javax/swing/JViewPort.java: Likewise.
6551 * javax/swing/ViewportLayout.java: Likewise.
6553 * javax/swing/JComponent.java: Rewrite.
6554 * javax/swing/RepaintManager.java: Likewise.
6556 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6557 * javax/swing/JList.java
6558 (setSelectedIndices):
6559 (getSelectedIndices):
6560 (getSelectedValues): New functions.
6561 (getPreferredScrollableViewportSize): Return preferred size.
6562 (getScrollableUnitIncrement):
6563 (getScrollableBlockIncrement): Initial implementations.
6564 * javax/swing/JRootPane.java: Clean up slightly.
6569 (isValidateRoot): Add overrides from JComponent.
6570 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6571 * javax/swing/UIManager.java (getDimension): Return the dimension.
6573 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6574 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6575 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6576 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6577 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6578 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6579 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6580 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6581 Likewise, and set background.
6582 * javax/swing/plaf/basic/BasicListUI.java:
6583 Likewise, and improve a bit.
6584 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6585 Likewise, and adjust calculations.
6586 * javax/swing/plaf/basic/BasicViewportUI.java:
6587 Likewise, and improve a bit.
6588 * javax/swing/plaf/basic/BasicLookAndFeel.java
6589 (Button.margin): Shrink.
6591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6592 Hack to set horizontal always, workaround pango.
6594 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6596 Synchronize more often, check cairo status after ops,
6597 handle changes to cairo pattern API, check for disposal.
6599 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6601 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6602 (BasicMenuItemUI): Create propertyChangeListener.
6603 (getPath):Implemented.
6604 (installListeners): Add propertyChangeListener to menuItem.
6605 (uninstallListeners): Remove propertyChangeListener from menuItem.
6606 (update): Implemented.
6607 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6608 (mouseEntered): Take insets of popup menu into account when
6609 calculating position of popup menu.
6611 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6613 * Makefile.am: Added new file.
6614 * Makefile.in: Regenerate.
6615 * javax/swing/JMenuBar.java:
6616 Started implementation.
6617 * javax/swing/JPopupMenu.java:
6618 (setVisible): Fixed location of lightweight/mediumweight
6620 (show): Fixed location of PopupMenu.
6621 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6622 New file. UI Delegate for JMenuBar.
6623 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6624 (mouseEntered): Corrected position of the submenu.
6626 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6629 to _gtk_accel_group_attach.
6630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6633 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6634 package access. Don't override setFont.
6635 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6636 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6637 gtkWidgetRequestFocus package access.
6638 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6640 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6641 Give gtkWidgetRequestFocus package access.
6642 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6643 gtkWidgetRequestFocus package access. Don't override setFont.
6644 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6647 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6649 (gtkSetFont): Likewise.
6650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6653 (gtkSetFont): Whitespace fix.
6655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6656 (gtkWidgetSetUsize): Remove method.
6658 2004-05-18 David Jee <djee@redhat.com>
6660 * java/awt/image/MemoryImageSource.java
6661 (newPixels(int,int,int,int,boolean)): Set only the specified
6662 rectangle of pixels.
6663 (newPixels(byte[],ColorModel,int,int)): Implement.
6664 (newPixels(int[],ColorModel,int,int)): Implement.
6666 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6668 * Makefile.am: Added new file.
6669 * Makefile.in: Regenerate.
6670 * javax/swing/JMenu.java: Started
6672 * javax/swing/JPopupMenu.java:
6673 (insert): If specified index is -1, then
6674 add component at the end.
6675 (isPopupTrigger): Reimplemented.
6676 (JPopupMenu.LightWeightPopup): setBounds
6677 of the lightWeightPopup before adding it
6679 (javax/swing/plaf/basic/BasicIconFactory.java):
6680 (getMenuArrowIcon): Implemented.
6681 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6682 (getPreferredSize): Add size of the arrow icon
6683 if this menu item is instance of JMenu.
6684 (paintMenuItem): Paint arrow icon if this
6685 menu item is a submenu.
6686 * javax/swing/plaf/basic/BasicMenuUI.java:
6687 New File. UI Delegate for JMenu.
6689 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6691 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6692 Post KEY_TYPED events.
6693 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6694 (generates_key_typed_event): Remove function.
6696 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6698 * javax/swing/JRootPane.java
6699 (JRootPane.RootLayout): Reimplemented to
6700 set bounds of contentPane and menuBar.
6701 (setJMenuBar): Add menu bar to the layered pane.
6702 (createLayeredPane): Set layout of layeredPane
6704 * javax/swing/JLayeredPane.java:
6705 (addImpl): Calculate index of the component in the
6706 layeredPane according to the specified position within
6709 2004-05-17 David Jee <djee@redhat.com>
6711 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6712 (setPixels): Change color model to the default model after
6714 * java/awt/image/MemoryImageSource.java
6715 (newPixels): Set only the specified rectangle of pixels.
6717 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6719 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6720 -l-java-beans -l-javax-accessibility -l-javax-swing.
6722 * java/awt/AWTEvent.java (toString): Print source's name rather
6723 than the source itself.
6725 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6727 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6729 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6730 (gdk_color_to_java_color): New function.
6731 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6733 2004-05-12 David Jee <djee@redhat.com>
6735 * java/awt/image/RGBImageFilter.java:
6736 Initialize origmodel as null.
6737 (makeColor): Fix pixel component order.
6738 (filterRGBPixels): Fix pixel iteration.
6739 (setPixels): Add extra checks for index color model. Convert pixels
6740 to default color model if necessary.
6741 (convertColorModelToDefault): New override method for byte pixels.
6742 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6743 (makeColorbyDefaultCM): New override method for byte pixels.
6744 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6745 (makeColor): Fix pixel component order.
6747 2004-05-11 Kim Ho <kho@redhat.com>
6749 * javax/swing/Box.java:
6750 Comment out more parts of Box.Filler.
6752 2004-05-11 Kim Ho <kho@redhat.com>
6754 * javax/swing/Box.java:
6755 Remove reference to AccessibleAWTComponent so
6758 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6760 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6761 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6762 implementation of list peer to use GtkTreeView instead of
6763 deprecated GtkCList.
6765 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6767 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6768 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6769 (handleEvent): Remove keyChar argument to
6770 gtkWidgetDispatchKeyEvent calls.
6771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6778 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6780 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6781 (gtkWidgetRequestFocus): Mark protected.
6782 (GtkComponentPeer): Only set the peer's bounds if its component
6784 * java/awt/Component.java (static): Set the default keyboard
6786 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6787 requestFocusInWindow(temporary)): Don't request focus if the
6788 component is not showing. Get tree lock before traversing
6789 component hierarchy.
6790 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6791 Only set the global focus owner if it is not a Window.
6792 (processKeyEvent): Consume keystrokes associated with the focus
6793 traversal keystroke.
6794 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6795 downFocusCycle): Call requestFocusInWindow instead of
6797 * java/awt/EventDispatchThread.java (run): Move setting of
6798 default keyboard focus manager to Component.java.
6799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6800 (awt_keycode_to_keysym): New function.
6801 (gtkWidgetDispatchKeyEvent): Finish implementation.
6802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6803 (pre_event_handler): Add FIXME comment.
6805 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6806 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6807 (gtkWidgetRequestFocus): New method.
6808 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6809 disable Tab and Shift-Tab keystrokes.
6810 (addNotify, appendText, insertText, replaceText): Simplify peer
6812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6813 (connectSignals): Remove connections to "commit" signals.
6814 Remove C++-style comments.
6816 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6817 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6818 (handleEvent): Activate GTK button when the space bar key is
6820 (gtkActivate): New method.
6822 2004-05-06 David Jee <djee@redhat.com>
6824 * java/awt/image/CropImageFilter.java
6825 (setPixels): Implement for byte array pixels.
6826 * java/awt/image/ReplicateScaleFilter.java
6827 (setPixels): Implement for byte array pixels.
6828 (replicatePixels): Overload for byte array pixels.
6830 2004-05-06 Kim Ho <kho@redhat.com>
6832 * javax/swing/Box.java:
6833 (getAccessibleContext): Return an instance of the
6836 2004-05-05 David Jee <djee@redhat.com>
6838 * gnu/java/awt/peer/gtk/GdkGraphics.java
6839 (drawImage): When component is null, use SystemColor.window as
6840 the default bgcolor.
6841 * gnu/java/awt/peer/gtk/GtkImage.java
6842 (setPixels): We can avoid iterating through the pixel rows only
6844 * java/awt/Image.java
6845 (getScaledInstance): Partially implement.
6846 * java/awt/image/CropImageFilter.java
6847 (setProperties): Fix "filter" property.
6848 (setPixels): Implement.
6849 * java/awt/image/ReplicateScaleFilter.java
6850 (setDimensions): Use scaled dimensions.
6851 (setPixels): Implement.
6852 (replicatePixels): New method.
6854 2004-05-05 David Jee <djee@redhat.com>
6856 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6857 (convertPixels): If either pixels or model is null, return null.
6858 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6859 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6860 is null, do nothing and return.
6862 2004-05-03 Kim Ho <kho@redhat.com>
6864 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6865 (getGraphics): Like GtkFramePeer, the Graphics
6866 object needs to be translate to account for
6868 (postMouseEvent): New method. Account for
6870 (postExposeEvent): ditto.
6871 * javax/swing/Box.java: Stubbed.
6872 * javax/swing/JDialog.java: Ran through jalopy
6874 (JDialog): Call SwingUtilities' getOwnerFrame
6876 (setLayout): Check isRootPaneCheckingEnabled
6877 * javax/swing/JOptionPane.java: Re-implemented.
6878 * javax/swing/SwingUtilities.java:
6879 (getOwnerFrame): Static method to grab a default
6880 owner frame for Dialogs that don't specify owners.
6881 * javax/swing/event/SwingPropertyChangeSupport.java:
6882 (firePropertyChange): Fix early exit condition.
6883 * javax/swing/plaf/basic/BasicLabelUI.java:
6884 (paint): Avoid painting text if it is null
6886 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6889 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6891 * Makefile.am: Added new file.
6892 * Makefile.in: Regenerate.
6893 * javax/swing/JPopupMenu.java:
6894 Started implementation.
6895 * javax/swing/JWindow.java
6896 (JWindow): call super() if parent for window
6898 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6899 New File. UI Delegate for JPopupMenu.
6901 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6903 * javax/swing/JApplet.java: Indicated that JApplet
6904 implements RootPaneContainer and made method of this
6906 * javax/swing/JFrame.java: Ditto.
6907 * javax/swing/JWindow.java: Ditto.
6909 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6911 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6912 (nativeSetBounds): Call gdk_window_move in addition to
6915 * java/applet/Applet.java (preferredSize): Call parent's
6916 preferredSize if the applet stub is null.
6917 (minimumSize): Likewise for parent's minimumSize.
6919 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6921 * javax/swing/JMenuItem.java
6922 (createActionPropertyChangeListener): Implemented.
6923 (processMouseEvent): Ditto.
6924 (fireMenuDragMouseEntered): Ditto.
6925 (fireMenuDragMouseExited): Ditto.
6926 (fireMenuDragMouseDragged): Ditto.
6927 (fireMenuDragMouseReleased): Ditto.
6928 (menuSelectionChanged): Ditto.
6929 (getSubElements): Ditto.
6930 (getComponent): Ditto.
6931 (addMenuDragMouseListener): Ditto.
6932 (removeMenuDragMouseListener):Ditto.
6933 (addMenuKeyListener): Ditto.
6934 (removeMenuKeyListener): Ditto.
6935 * javax/swing/plaf/basic/BasicMenuItemUI.java
6936 (doClick): Imlemented.
6937 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6938 Don't handle mouse events here. Pass them to
6939 MenuSelectionManager.
6941 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6942 Used correct version of jalopy configuration
6943 file to fix style in the files below.
6945 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6947 * javax/swing/JCheckBoxMenuItem.java:
6948 Fixed style and removed unnecessary comments.
6949 * javax/swing/JMenuItem.java: Ditto.
6950 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6951 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6952 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6953 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6955 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6957 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6960 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6962 * java/awt/ContainerOrderFocusTraversalPolicy.java
6963 (getComponentAfter): Start from current component and work up
6964 the component hierarchy until an acceptable component is found.
6965 Synchronize on tree lock.
6966 (getComponentBefore): Likewise.
6968 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6970 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6971 focus-related debugging messages.
6972 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6973 * java/awt/EventDispatchThread.java: Likewise.
6974 * java/awt/KeyboardFocusManager.java: Likewise.
6975 * java/awt/Window.java: Likewise.
6976 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6977 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6980 new C++-style comments to C-style comments.
6981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6983 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6984 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6985 (handleEvent): Dispatch key press and key release events to
6987 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6988 (gtkWidgetRequestFocus): New method.
6989 (gtkWidgetDispatchKeyEvent): Likewise.
6990 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6991 requestFocusInWindow, requestFocusInWindow(boolean),
6992 getFocusCycleRootAncestor, nextFocus, transferFocus,
6993 transferFocusBackward, transferFocusUpCycle, hasFocus,
6994 isFocusOwner): Implement and document focus-handling methods.
6995 (setFocusTraversalKeys): Inherit focus traversal keys when
6996 keystrokes argument is null. Fix focus-handling documentation
6998 * java/awt/Container.java (setFocusTraversalKeys,
6999 getFocusTraversalKeys, areFocusTraversalKeysSet,
7000 isFocusCycleRoot, setFocusTraversalPolicy,
7001 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7002 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7003 Implement and document focus-handling methods.
7004 (transferFocusBackward): Remove method.
7005 (readObject, writeObject): Implement and document serialization
7007 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7009 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7011 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7013 * java/awt/EventDispatchThread.java (run): Set default keyboard
7014 focus manager. Attempt to dispatch each event to the keyboard
7015 focus manager before normal dispatch.
7016 * java/awt/KeyboardFocusManager.java: Implement and partially
7018 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7019 (show): Focus initial component when window is shown for the
7021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7022 (pre_event_handler): Replace complex key press and key release
7023 logic with simple callbacks into GtkComponentPeer.
7024 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7026 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7028 * javax/swing/MenuSelectionManager.java
7029 (componentForPoint): Added new method.
7030 (defaultManager): New Method. Implemented.
7031 (getSelectedPath): Ditto.
7032 (isComponentPartOfCurrentMenu): Ditto.
7033 (processKeyEvent): Added new method.
7034 (processMouseEvent): New Method. Implemented.
7035 (setSelectedPath): Ditto.
7038 2004-04-19 Kim Ho <kho@redhat.com>
7040 * java/awt/Container.java:
7041 (remove): Set the component's parent to null.
7042 (getComponentAt): Implement.
7043 * javax/swing/JComponent.java:
7044 (JComponent): Initialize defaultLocale
7045 (getDefaultLocale): Implement.
7046 (setDefaultLocale): ditto.
7047 * javax/swing/JSlider.java:
7048 (JSlider): Fix calculation of value.
7049 * javax/swing/JSplitPane.java: Implement.
7050 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7051 Change SplitPane's default divider size.
7052 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7053 (paint): Remove unused code.
7054 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7055 Added comments and ran through jalopy.
7056 (setBasicSplitPaneUI): Get reference to hidden divider
7057 and set up one touch buttons if necessary.
7058 (setBorder): Fire propertyChangeEvent only if
7059 borders are different.
7060 (getPreferredSize): Defer to layout manager.
7061 (propertyChange): Implement.
7062 (oneTouchExpandableChanged): ditto.
7063 (createLeftOneTouchButton): Use BasicArrowButton.
7064 (createRightOneTouchButton): ditto.
7065 (moveDividerTo): New method. Moves the divider
7066 to a set location based on the last divider location.
7067 (BasicSplitPaneDivider::MouseHandler): Implement.
7068 (BasicSplitPaneDivider::OneTouchButton): Removed.
7069 (BasicSplitPaneDivider::DragController): Implement.
7070 (BasicSplitPaneDivider::VerticalDragController):
7072 (BasicSplitPaneDivider::DividerLayout): ditto.
7073 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7074 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7075 (calculateLayoutInfo): Don't show component if it's
7077 (paintTab): Fix title paint logic.
7079 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7082 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7083 (setStartRule,setEndRule): Don't take abs of day number.
7084 (getOffset): Clarify docs. Add argument checks.
7085 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7086 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7088 * testsuite/libjava.mauve/xfails
7089 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7091 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7093 Layout interfaces during preparation, not initialization.
7094 * java/lang/natClass.cc (initializeClass): Move
7095 _Jv_LayoutInterfaceMethods call...
7096 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7098 2004-05-19 Anthony Green <green@localhost.localdomain>
7100 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7102 * Makefile.in: Rebuilt.
7103 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7104 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7105 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7106 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7107 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7108 gnu/javax/rmi/CORBA/DelegateFactory.java,
7109 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7110 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7111 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7112 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7113 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7114 gnu/javax/rmi/PortableServer.java: Remove files.
7116 2004-05-19 Anthony Green <green@redhat.com>
7118 * Makefile.am: Define JAVA_EXT_DIRS.
7119 * Makefile.in: Rebuilt.
7120 * java/lang/natRuntime.cc (insertSystemProperties): Set
7121 java.ext.dirs property.
7123 2004-05-16 Mark Wielaard <mark@klomp.org>
7125 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7127 2004-05-15 Mark Wielaard <mark@klomp.org>
7129 * doc/cni.sgml: Removed, merged into gcj.texi.
7131 2004-05-15 Mark Wielaard <mark@klomp.org>
7133 * Makefile.am (ordinary_java_source_files): Add new javax.print
7135 * Makefile.in: Regenerated.
7137 2004-05-15 Michael Koch <konqueror@gmx.de>
7139 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7140 javax/print/attribute/standard/DateTimeAtCreation.java,
7141 javax/print/attribute/standard/DateTimeAtProcessing.java,
7142 javax/print/attribute/standard/DocumentName.java,
7143 javax/print/attribute/standard/JobHoldUntil.java,
7144 javax/print/attribute/standard/JobImpressionsCompleted.java,
7145 javax/print/attribute/standard/JobMessageFromOperator.java,
7146 javax/print/attribute/standard/JobName.java,
7147 javax/print/attribute/standard/JobOriginatingUserName.java,
7148 javax/print/attribute/standard/JobPriority.java,
7149 javax/print/attribute/standard/JobPrioritySupported.java,
7150 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7151 javax/print/attribute/standard/OutputDeviceAssigned.java,
7152 javax/print/attribute/standard/PrinterInfo.java,
7153 javax/print/attribute/standard/PrinterLocation.java,
7154 javax/print/attribute/standard/PrinterMakeAndModel.java,
7155 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7156 javax/print/attribute/standard/PrinterName.java,
7157 javax/print/attribute/standard/QueuedJobCount.java,
7158 javax/print/attribute/standard/RequestingUserName.java:
7159 Fixed javadocs all over.
7161 2004-05-15 Michael Koch <konqueror@gmx.de>
7163 * javax/print/DocFlavor.java,
7164 javax/print/attribute/standard/ColorSupported.java,
7165 javax/print/attribute/standard/Compression.java,
7166 javax/print/attribute/standard/CopiesSupported.java,
7167 javax/print/attribute/standard/Fidelity.java,
7168 javax/print/attribute/standard/Finishings.java,
7169 javax/print/attribute/standard/JobImpressionsSupported.java,
7170 javax/print/attribute/standard/JobKOctetsSupported.java,
7171 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7172 javax/print/attribute/standard/JobSheets.java,
7173 javax/print/attribute/standard/JobState.java,
7174 javax/print/attribute/standard/JobStateReason.java,
7175 javax/print/attribute/standard/JobStateReasons.java,
7176 javax/print/attribute/standard/Media.java,
7177 javax/print/attribute/standard/MediaSizeName.java,
7178 javax/print/attribute/standard/MultipleDocumentHandling.java,
7179 javax/print/attribute/standard/NumberUpSupported.java,
7180 javax/print/attribute/standard/OrientationRequested.java,
7181 javax/print/attribute/standard/PDLOverrideSupported.java,
7182 javax/print/attribute/standard/PageRanges.java,
7183 javax/print/attribute/standard/PresentationDirection.java,
7184 javax/print/attribute/standard/PrintQuality.java,
7185 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7186 javax/print/attribute/standard/PrinterMoreInfo.java,
7187 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7188 javax/print/attribute/standard/PrinterResolution.java,
7189 javax/print/attribute/standard/PrinterState.java,
7190 javax/print/attribute/standard/PrinterStateReason.java,
7191 javax/print/attribute/standard/PrinterStateReasons.java,
7192 javax/print/attribute/standard/PrinterURI.java,
7193 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7194 javax/print/attribute/standard/Severity.java,
7195 javax/print/attribute/standard/SheetCollate.java,
7196 javax/print/attribute/standard/Sides.java:
7197 Added serialVersionUID and removed final keyword where it doenst
7200 2004-05-15 Michael Koch <konqueror@gmx.de>
7202 * javax/print/PrintServiceLookup.java: New file.
7204 2004-05-15 Michael Koch <konqueror@gmx.de>
7206 * javax/print/DocFlavor.java:
7207 Implemented all flavor classes.
7209 2004-05-15 Michael Koch <konqueror@gmx.de>
7211 * javax/print/attribute/standard/ColorSupported.java,
7212 javax/print/attribute/standard/Compression.java,
7213 javax/print/attribute/standard/CopiesSupported.java,
7214 javax/print/attribute/standard/Fidelity.java,
7215 javax/print/attribute/standard/Finishings.java,
7216 javax/print/attribute/standard/JobImpressionsSupported.java,
7217 javax/print/attribute/standard/JobKOctetsSupported.java,
7218 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7219 javax/print/attribute/standard/JobSheets.java,
7220 javax/print/attribute/standard/JobState.java,
7221 javax/print/attribute/standard/JobStateReason.java,
7222 javax/print/attribute/standard/JobStateReasons.java,
7223 javax/print/attribute/standard/Media.java,
7224 javax/print/attribute/standard/MediaSizeName.java,
7225 javax/print/attribute/standard/MultipleDocumentHandling.java,
7226 javax/print/attribute/standard/NumberUpSupported.java,
7227 javax/print/attribute/standard/OrientationRequested.java,
7228 javax/print/attribute/standard/PDLOverrideSupported.java,
7229 javax/print/attribute/standard/PageRanges.java,
7230 javax/print/attribute/standard/PresentationDirection.java,
7231 javax/print/attribute/standard/PrintQuality.java,
7232 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7233 javax/print/attribute/standard/PrinterMoreInfo.java,
7234 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7235 javax/print/attribute/standard/PrinterResolution.java,
7236 javax/print/attribute/standard/PrinterState.java,
7237 javax/print/attribute/standard/PrinterStateReason.java,
7238 javax/print/attribute/standard/PrinterStateReasons.java,
7239 javax/print/attribute/standard/PrinterURI.java,
7240 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7241 javax/print/attribute/standard/Severity.java,
7242 javax/print/attribute/standard/SheetCollate.java,
7243 javax/print/attribute/standard/Sides.java: New files.
7245 2004-05-15 Michael Koch <konqueror@gmx.de>
7247 * javax/print/Doc.java
7248 (getPrintData): Throws IOException.
7249 (getReaderForText): Likewise.
7250 (getStreamForBytes): Likewise.
7251 * javax/print/DocFlavor.java:
7252 Fixed filename in copyright.
7253 (serialVersionUID): New field.
7254 * javax/print/ServiceUIFactory.java:
7255 Made all constants final.
7256 * javax/print/AttributeException.java
7257 javax/print/MultiDoc.java
7258 javax/print/MultiDocPrintJob.java
7259 javax/print/MultiDocPrintService.java
7260 javax/print/StreamPrintService.java
7261 javax/print/URIException.java: New files.
7262 * javax/print/Makefile.am
7263 (EXTRA_DIST): Added all new files.
7265 2004-05-15 Michael Koch <konqueror@gmx.de>
7267 * javax/print/attribute/standard/Copies.java,
7268 javax/print/attribute/standard/DateTimeAtCompleted.java,
7269 javax/print/attribute/standard/DateTimeAtCreation.java,
7270 javax/print/attribute/standard/DateTimeAtProcessing.java,
7271 javax/print/attribute/standard/DocumentName.java,
7272 javax/print/attribute/standard/JobHoldUntil.java,
7273 javax/print/attribute/standard/JobImpressions.java,
7274 javax/print/attribute/standard/JobImpressionsCompleted.java,
7275 javax/print/attribute/standard/JobKOctets.java,
7276 javax/print/attribute/standard/JobKOctetsProcessed.java,
7277 javax/print/attribute/standard/JobMediaSheets.java,
7278 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7279 javax/print/attribute/standard/JobMessageFromOperator.java,
7280 javax/print/attribute/standard/JobName.java,
7281 javax/print/attribute/standard/JobOriginatingUserName.java,
7282 javax/print/attribute/standard/JobPriority.java,
7283 javax/print/attribute/standard/JobPrioritySupported.java,
7284 javax/print/attribute/standard/NumberOfDocuments.java,
7285 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7286 javax/print/attribute/standard/NumberUp.java,
7287 javax/print/attribute/standard/OutputDeviceAssigned.java,
7288 javax/print/attribute/standard/PagesPerMinute.java,
7289 javax/print/attribute/standard/PagesPerMinuteColor.java:
7290 Fixed @return tag all over.
7292 2004-05-15 Michael Koch <konqueror@gmx.de>
7294 * javax/print/attribute/AttributeSetUtilities.java
7295 (verifyCategoryForValue): Fixed typo in javadoc.
7296 * javax/print/attribute/HashAttributeSet.java
7297 (containsKey): Fixed @return tag.
7298 (comtainsValue): Likewise.
7300 * javax/print/attribute/IntegerSyntax.java
7302 * javax/print/attribute/ResolutionSyntax.java
7304 (getCrossFeedResolution): Removed unused code.
7305 (getFeedResolution): Likewise.
7306 * javax/print/attribute/SetOfIntegerSyntax.java
7307 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7308 (equals): Fixed @return tag.
7309 * javax/print/attribute/TextSyntax.java
7310 (TextSyntax): Take locale into account.
7311 (hashCode): Better implementation.
7313 2004-05-15 Michael Koch <konqueror@gmx.de>
7315 * javax/print/CancelablePrintJob.java,
7316 javax/print/Doc.java,
7317 javax/print/DocFlavor.java,
7318 javax/print/DocPrintJob.java,
7319 javax/print/FlavorException.java,
7320 javax/print/PrintException.java,
7321 javax/print/PrintService.java,
7322 javax/print/ServiceUIFactory.java: New files.
7324 2004-05-15 Mark Wielaard <mark@klomp.org>
7326 * gnu/regexp/CharIndexedReader.java: Removed.
7327 * gnu/regexp/REFilterReader.java: Likewise.
7328 * gnu/regexp/RETokenLookAhead.java: Likewise.
7329 * Makefile.am (ordinary_java_source_files): Remove above classes.
7330 * Makefile.in: Regenerated.
7332 2004-05-14 Tom Tromey <tromey@redhat.com>
7334 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7335 not `XGraphicsConfiguration.XOffScreenImage'.
7337 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7339 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7341 2004-05-14 Steven Augart <augart@watson.ibm.com>
7343 * include/jni.h (_Jv_func): Removed.
7344 (struct JNINativeInterface): Use `void *' for reserved slots.
7345 (struct JNIInvokeInterface): Likewise.
7347 2004-05-11 Michael Koch <konqueror@gmx.de>
7349 * gnu/java/net/natPlainSocketImplPosix.cc
7350 (read): Fixed typo in expression.
7352 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7354 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7355 ld_library_additions. Adjust all calls to libjava_invoke to match
7358 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7359 path to cxxflagslist.
7360 Pass path of libstdc++ to libjava_invoke.
7362 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7363 libjava_invoke arguments.
7365 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7367 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7370 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7372 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7373 main binary against the JNI shared library.
7375 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7377 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7378 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7379 (SimpleTimeZone): Tweak docs. Add new variation.
7380 (setStartRule,setEndRule): Add new variations. Use
7381 startTimeMode and endTimeMode.
7383 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7385 * java/util/Calendar.java (getActualMinimum,
7386 getActualMaximum): Remove abstract. Implement.
7388 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7390 Run the jni tests using the interpreter.
7391 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7392 options_cxx to shared lib compile command.
7393 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7394 they are used to link the shared lib, not the main binary.
7395 Use libjava_invoke to run gij.
7397 2004-05-06 Michael Koch <konqueror@gmx.de>
7399 * java/util/logging/Level.java
7400 (parse): Use == instead of String.equals().
7402 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7404 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7405 verify_field_signature and verify_method_signature, not
7406 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7407 (_Jv_ClassReader::handleField): Likewise.
7408 (_Jv_ClassReader::handleMethod): Likewise.
7410 2004-05-06 Michael Koch <konqueror@gmx.de>
7412 * javax/swing/table/TableColumn.java:
7415 2004-05-06 Michael Koch <konqueror@gmx.de>
7417 * javax/imageio/spi/ImageReaderWriterSpi.java
7418 (ImageReaderWriterSpi): Made it public.
7419 * javax/imageio/stream/ImageInputStream.java:
7422 2004-05-06 Michael Koch <konqueror@gmx.de>
7424 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7427 2004-05-06 Michael Koch <konqueror@gmx.de>
7429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7430 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7432 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7433 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7435 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7436 their own source file.
7437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7438 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7439 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7440 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7441 (create): Define variable on top of function.
7442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7443 (menu_pos): Prototyped.
7444 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7445 (setTitle): Removed.
7446 * jni/gtk-peer/gthread-jni.c
7447 (gdk_threads_wake): Removed.
7448 * Makefile.am (gtk_c_source_files): Added new files
7449 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7450 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7451 * Makefile.in: Regenerated.
7453 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7455 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7458 2004-05-05 Mark Wielaard <mark@klomp.org>
7460 * javax/swing/AbstractButton.java: Replace special HTML entities with
7462 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7463 * javax/swing/DefaultButtonModel.java: Likewise.
7464 * javax/swing/DefaultListModel.java: Likewise.
7465 * javax/swing/JList.java: Likewise.
7466 * javax/swing/JSlider.java: Likewise.
7467 * javax/swing/ListModel.java: Likewise.
7468 * javax/swing/Popup.java: Likewise.
7469 * javax/swing/SwingUtilities.java: Likewise.
7471 2004-05-05 Michael Koch <konqueror@gmx.de>
7473 * javax/swing/AbstractButton.java,
7474 javax/swing/ActionMap.java,
7475 javax/swing/DefaultButtonModel.java,
7476 javax/swing/DefaultListModel.java,
7477 javax/swing/ImageIcon.java,
7478 javax/swing/JComboBox.java,
7479 javax/swing/JComponent.java,
7480 javax/swing/JFrame.java,
7481 javax/swing/JInternalFrame.java,
7482 javax/swing/JMenuBar.java,
7483 javax/swing/JMenuItem.java,
7484 javax/swing/JOptionPane.java,
7485 javax/swing/JProgressBar.java,
7486 javax/swing/JRootPane.java,
7487 javax/swing/JScrollBar.java,
7488 javax/swing/JScrollPane.java,
7489 javax/swing/JSeparator.java,
7490 javax/swing/JSlider.java,
7491 javax/swing/JTabbedPane.java,
7492 javax/swing/JTable.java,
7493 javax/swing/JTextField.java,
7494 javax/swing/JToolBar.java,
7495 javax/swing/JToolTip.java,
7496 javax/swing/JTree.java,
7497 javax/swing/JViewport.java,
7498 javax/swing/JWindow.java,
7499 javax/swing/KeyStroke.java,
7500 javax/swing/LookAndFeel.java,
7501 javax/swing/SwingUtilities.java,
7502 javax/swing/Timer.java,
7503 javax/swing/ToolTipManager.java,
7504 javax/swing/UIDefaults.java,
7505 javax/swing/border/TitledBorder.java,
7506 javax/swing/filechooser/FileSystemView.java,
7507 javax/swing/plaf/basic/BasicButtonListener.java,
7508 javax/swing/plaf/basic/BasicButtonUI.java,
7509 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7510 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7511 javax/swing/plaf/basic/BasicLabelUI.java,
7512 javax/swing/plaf/basic/BasicMenuItemUI.java,
7513 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7514 javax/swing/plaf/basic/BasicRootPaneUI.java,
7515 javax/swing/plaf/basic/BasicScrollBarUI.java,
7516 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7517 javax/swing/plaf/basic/BasicSliderUI.java,
7518 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7519 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7520 javax/swing/table/JTableHeader.java,
7521 javax/swing/text/AbstractDocument.java,
7522 javax/swing/text/DefaultCaret.java,
7523 javax/swing/text/StyledEditorKit.java,
7524 javax/swing/tree/DefaultTreeCellEditor.java:
7527 2004-05-05 Michael Koch <konqueror@gmx.de>
7529 * java/util/prefs/AbstractPreferences.java
7530 (AbstractPreferences): Added parenthesis for clarity.
7531 Closes classpath bug #7940.
7533 2004-05-05 Tom Tromey <tromey@redhat.com>
7535 * javax/naming/CompoundName.java (endsWith): Look at correct
7536 element of source name.
7538 2004-05-05 Mark Wielaard <mark@klomp.org>
7540 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7541 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7543 2004-05-05 Tom Tromey <tromey@redhat.com>
7545 * java/io/BufferedReader.java (skip): Removed unused
7548 2004-05-05 Michael Koch <konqueror@gmx.de>
7550 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7552 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7554 * java/text/AttributedString.java,
7555 java/text/AttributedStringIterator.java,
7556 java/text/Collator.java,
7557 java/text/DecimalFormatSymbols.java,
7558 java/text/NumberFormat.java,
7559 java/text/RuleBasedCollator.java:
7562 2004-05-05 Tom Tromey <tromey@redhat.com>
7564 * java/text/Format.java: Cleaned up imports.
7565 * java/text/DecimalFormat.java: Cleaned up imports.
7566 * java/security/SecureRandom.java: Cleaned up imports.
7567 (SecureRandom): Removed unused variable.
7568 * java/security/UnresolvedPermission.java: Cleaned up imports.
7569 * java/util/Date.java (parse): Removed unused variable.
7570 * java/util/ResourceBundle.java: Cleaned up imports.
7571 (getBundle): Removed unused variable.
7572 (tryBundle): Likewise.
7573 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7575 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7577 * java/text/SimpleDateFormat.java:
7578 (formatWithAttribute): New method. It implements
7579 the formatting process with attributes.
7580 (format): Use formatWithAttribute.
7581 (formatToCharacterIterator): New method. Use
7582 formatWithAttribute.
7584 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7586 * java/text/MessageFormat.java:
7587 (class Field): New class.
7588 (formatToCharacterIterator): New method.
7589 (format): Use formatInternal now.
7590 (formatInternal): New method. String formatter should
7591 be done here (with attributes). Attributes merging supported.
7592 (parse): More documentation.
7593 (getFormatsByArgumentIndex): New method.
7594 (setFormatByArgumentIndex): New method.
7595 (setFormatsByArgumentIndex): New method.
7597 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7599 * java/text/DecimalFormat.java
7600 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7601 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7602 (parse): Fixed handling of exponentiation notation and grouping.
7604 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7606 * java/text/DecimalFormat.java
7607 (scanFix): Build attribute array. Fixed error reporting.
7608 (applyPatternWithSymbols): Store attributes for the prefix and
7610 (formatInternal): New method. Changed the way the string is
7611 computed. Implemented attributes. Cleant up rounding in
7612 exponential notation.
7613 (format): Use formatInternal.
7614 (formatToCharacterIterator): New method.
7615 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7616 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7617 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7620 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7622 * java/security/interfaces/DSAKeyPairGenerator.java,
7623 java/security/interfaces/DSAPrivateKey.java,
7624 java/security/interfaces/DSAPublicKey.java,
7625 java/security/interfaces/RSAPrivateKey.java,
7626 java/security/interfaces/RSAPublicKey.java:
7629 2004-05-04 Michael Koch <konqueror@gmx.de>
7631 * java/nio/ByteBuffer.java,
7632 java/nio/CharBuffer.java,
7633 java/nio/DoubleBuffer.java,
7634 java/nio/FloatBuffer.java,
7635 java/nio/IntBuffer.java,
7636 java/nio/LongBuffer.java,
7637 java/nio/ShortBuffer.java:
7638 (compareTo): Fixed bogus implementation in all buffer classes.
7640 2004-05-04 Ingo Proetel <proetel@aicas.com>
7642 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7643 32 bit pixels not 8 bit pixels.
7644 (isCompatibleRaster): Added javadoc comment.
7646 2004-05-04 Ingo Proetel <proetel@aicas.com>
7648 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7651 2004-05-04 Ingo Proetel <proetel@aicas.com>
7653 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7654 (getColorModel): Return the actual color model.
7655 (getRaster): Implemented.
7656 (ColorRaster): New inner class.
7657 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7659 * java/awt/Color.java (<init>): Make exception more verbose.
7660 (createContext): Use ColorModel when creating a PaintContext.
7662 2004-05-04 Michael Koch <konqueror@gmx.de>
7664 * gnu/java/text/CharacterBreakIterator.java
7665 (previous): Removed unused variable.
7667 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7669 * gnu/java/text/FormatBuffer.java,
7670 gnu/java/text/AttributedFormatBuffer.java,
7671 gnu/java/text/StringFormatBuffer.java: New classes to implement
7672 attributed iterators in java.text.
7673 * gnu/java/text/FormatCharacterIterator.java: Moved
7674 from java/text as it is an internal class.
7675 * java/text/FormatCharacterIterator.java: Removed.
7676 * java/text/Format.java:
7677 Import gnu.java.text.FormatCharacterIterator.
7678 * Makefile.am (java_source_files): Added new files.
7679 * Makefile.in: Regenerated.
7682 2004-05-04 Mark Wielaard <mark@klomp.org>
7684 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7686 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7688 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7689 * Makefile.in: Rebuilt.
7691 2004-05-03 Mark Wielaard <mark@klomp.org>
7693 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7694 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7696 (set(String, String, int, String, String, String, String, String)):
7697 Assign this.file to path or path + "?" + query.
7698 * java/util/Arrays.java: Call static methods staticly.
7699 * java/util/zip/ZipEntry.java: Likewise.
7700 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7701 dir to this.direction.
7702 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7703 Assign static field only once.
7704 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7706 2004-05-03 Mark Wielaard <mark@klomp.org>
7708 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7709 unused variables hScrollbarHeight and vScrollbarWidth.
7710 (preferredSize): Likewise.
7711 * gnu/java/security/provider/DSAParameters.java (engineToString):
7712 Removed unused call to System.getProperty("line.seperator");
7713 * java/security/Security.java (loadProviders): Return result.
7715 2004-05-03 Tom Tromey <tromey@redhat.com>
7717 * java/net/URLStreamHandler.java (toExternalForm): Removed
7720 * java/math/BigDecimal.java (divide): Removed unused variable.
7721 * java/lang/Throwable.java: Cleaned up imports.
7722 * java/lang/ClassLoader.java: Cleaned up imports.
7723 * java/io/FilePermission.java (implies): Removed unused
7725 * java/awt/TextComponent.java: Removed unused import.
7726 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7727 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7728 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7729 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7731 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7732 * gnu/java/text/CharacterBreakIterator.java: Removed
7734 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7736 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7737 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7739 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7740 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7741 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7742 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7743 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7744 (lookupProviders): Removed unused variable.
7745 (loadNextServiceProvider): Likewise.
7746 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7748 2004-05-03 Michael Koch <konqueror@gmx.de>
7750 Fixes PR libgcj/14695:
7751 * java/net/NetworkInterface.java
7752 (getByName): Return null when no interface was found.
7754 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7755 Tom Tromey <tromey@redhat.com>
7757 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7758 additional option "-Wmissing-prototypes" for compiling C sources.
7759 Print actual filename for pass/fail rather than $name.c.
7760 * testsuite/libjava.jni/PR15133.java: New testcase file.
7761 * testsuite/libjava.jni/PR15133.c: Likewise.
7762 * testsuite/libjava.jni/PR15133.out: Likewise.
7764 2004-04-30 Roger Sayle <roger@eyesopen.com>
7766 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7769 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7771 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7772 limit the maximum heap size to avoid unnecessary thrashing.
7774 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7776 * java/text/CollationElementIterator.java (reset): Reset
7777 lookahead variables.
7779 2004-04-23 Mark Wielaard <mark@klomp.org>
7781 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7783 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7785 * java/sql/DriverManager.java:
7788 2004-04-23 Michael Koch <konqueror@gmx.de>
7791 (hashcode): Don't initialize with default value explicitely.
7792 (getContent): Removed redundant "final" keyword.
7793 (openStream): Likewise.
7794 (getURLStreamHandler): Fixed coding style.
7795 * java/net/URLConnection.java
7796 (defaultAllowUserInteraction): Don't initialize with default value
7798 (connected): Likewise.
7799 (doOutput): Likewise.
7800 (ifModifiedSince): Likewise.
7801 (dateformats_initialized): Likewise.
7802 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7804 2004-04-23 Michael Koch <konqueror@gmx.de>
7806 * gnu/java/nio/channels/FileChannelImpl.java
7807 (SET, CUR): Unused, removed.
7808 (read): Implement here directly.
7809 (implRead): Removed.
7810 (write): Implement here directly.
7811 (implWrite): Removed.
7813 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7815 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7816 javax/rmi/CORBA/Stub.java,
7817 javax/rmi/CORBA/Util.java,
7818 javax/rmi/CORBA/ValueHandler.java,
7819 javax/rmi/CORBA/ValueHandler.java,
7820 javax/rmi/PortableRemoteObject.java:
7823 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7825 * java/util/jar/JarFile.java,
7826 java/util/jar/JarInputStream.java,
7827 java/util/jar/JarOutputStream.java,
7828 java/util/jar/Manifest.java:
7831 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7833 * java/util/ArrayList.java,
7834 java/util/Calendar.java,
7835 java/util/Currency.java,
7836 java/util/HashMap.java,
7837 java/util/HashSet.java,
7838 java/util/Hashtable.java,
7839 java/util/LinkedList.java,
7840 java/util/Properties.java,
7841 java/util/PropertyPermission.java,
7842 java/util/TimeZone.java,
7843 java/util/TreeMap.java,
7844 java/util/TreeSet.java,
7845 java/util/Vector.java,
7846 java/util/WeakHashMap.java:
7849 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7851 * java/util/logging/FileHandler.java,
7852 java/util/logging/Formatter.java,
7853 java/util/logging/Handler.java,
7854 java/util/logging/Logger.java,
7855 java/util/logging/SimpleFormatter.java,
7856 java/util/logging/XMLFormatter.java:
7859 2004-04-22 Mark Wielaard <mark@klomp.org>
7861 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7862 -Wno-long-long flags variable.
7863 (gtk_c_files): Use PEDANTIC_CFLAGS.
7864 * Makefile.in: Regenerated.
7866 2004-04-22 Mark Wielaard <mark@klomp.org>
7868 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7869 Changed C++ comments into C comments.
7870 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7873 2004-04-22 Michael Koch <konqueror@gmx.de>
7875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7876 Merged copyright year with GNU classpath.
7878 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7880 * javax/security/auth/x500/X500Principal.java:
7883 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7885 * javax/swing/JSlider.java:
7886 Fixed HTML tags in comments.
7888 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7890 * javax/accessibility/AccessibleText.java:
7893 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7895 * java/net/URLStreamHandler.java
7896 (parseURL): Convert the file path to using '/' instead of native
7899 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7902 (userInfo): New field.
7903 (URL): Set authority to the right value.
7904 (setURL): Fixed authority and file initialization.
7905 * java/net/URLStreamHandler.java
7906 (parseURL): Take care of the query tag. Build authority.
7907 (toExternalForm): Fixed URL building using authority.
7909 2004-04-22 Michael Koch <konqueror@gmx.de>
7911 * java/net/Socket.java
7912 (impl): Made package-private.
7913 * java/net/ServerSocket.java
7914 (implAccept): Access Socket.impl field directly.
7916 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7918 * java/util/prefs/Preferences.java,
7919 java/util/prefs/InvalidPreferencesFormatException.java,
7920 java/util/prefs/BackingStoreException.java,
7921 java/util/prefs/AbstractPreferences.java:
7924 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7926 * java/util/regex/Matcher.java,
7927 java/util/regex/Pattern.java:
7930 2004-04-22 Michael Koch <konqueror@gmx.de>
7932 * java/nio/charset/IllegalCharsetNameException.java
7933 (charsetName): Made private.
7934 (IllegalCharsetNameException): Added @param tag to javadoc.
7935 (getCharsetName): Added @return tag to javadoc.
7936 * java/nio/charset/MalformedInputException.java
7937 (MalformedInputException): Added @param tag to javadoc.
7938 (getInputLength): Revised method description, added @return tag.
7939 (getMessage): Added @return tag.
7941 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7943 * java/awt/Font.java (deriveFont): Implement missing variants.
7944 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7947 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7949 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7950 Set method->index values for interface methods to their itable index.
7951 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7953 2004-04-21 Michael Koch <konqueror@gmx.de>
7955 * java/nio/DirectByteBufferImpl.java
7956 (shiftDown): Made static, give address as argument and
7957 provide a convenience method that overwrites shiftDown in
7958 ByteBufferImpl and calls the native shiftDown.
7959 * java/nio/MappedByteBufferImpl.java
7960 (): Use optimized method in DirectByteBufferImpl.
7961 * java/nio/natDirectByteBufferImpl.cc
7962 (shiftDown): Changed method signature. Removed usage of array_offset.
7964 2004-04-21 Michael Koch <konqueror@gmx.de>
7966 * gnu/java/net/natPlainSocketImplPosix.cc
7967 (SocketInputStream::read): Make sure returned data is a byte value.
7969 2004-04-21 Michael Koch <konqueror@gmx.de>
7971 * gnu/classpath/ServiceFactory.java,
7972 gnu/classpath/ServiceProviderLoadingAction.java,
7973 javax/imageio/ImageReader.java,
7974 javax/imageio/ImageTranscoder.java,
7975 javax/imageio/ImageWriter.java,
7976 javax/imageio/package.html,
7977 javax/imageio/spi/IIOServiceProvider.java,
7978 javax/imageio/spi/ImageInputStreamSpi.java,
7979 javax/imageio/spi/ImageOutputStreamSpi.java,
7980 javax/imageio/spi/ImageReaderWriterSpi.java,
7981 javax/imageio/spi/ImageTranscoderSpi.java,
7982 javax/imageio/spi/RegisterableService.java,
7983 javax/imageio/spi/ServiceRegistry.java,
7984 javax/imageio/spi/package.html,
7985 javax/imageio/stream/IIOByteBuffer.java,
7986 javax/imageio/stream/ImageInputStream.java,
7987 javax/imageio/stream/ImageOutputStream.java,
7988 javax/imageio/stream/package.html:
7991 (ordinary_java_source_files): Added
7992 gnu/classpath/ServiceFactory.java and
7993 gnu/classpath/ServiceProviderLoadingAction.java.
7994 (javax_source_files): Added
7995 javax/imageio/ImageReader.java,
7996 javax/imageio/ImageTranscoder.java,
7997 javax/imageio/ImageWriter.java,
7998 javax/imageio/spi/IIOServiceProvider.java,
7999 javax/imageio/spi/ImageInputStreamSpi.java,
8000 javax/imageio/spi/ImageOutputStreamSpi.java,
8001 javax/imageio/spi/ImageReaderWriterSpi.java,
8002 javax/imageio/spi/ImageTranscoderSpi.java,
8003 javax/imageio/spi/RegisterableService.java,
8004 javax/imageio/spi/ServiceRegistry.java,
8005 javax/imageio/stream/IIOByteBuffer.java,
8006 javax/imageio/stream/ImageInputStream.java and
8007 javax/imageio/stream/ImageOutputStream.java.
8008 * Makefile.in: Regenerated.
8010 2004-04-21 Michael Koch <konqueror@gmx.de>
8012 * java/util/Properties.java
8013 (load): Fix wrongly merged fix.
8015 2004-04-21 Mark Wielaard <mark@klomp.org>
8017 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8018 malloc and free buf.
8020 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8022 * javax/naming/AuthenticationException.java,
8023 javax/naming/AuthenticationNotSupportedException.java,
8024 javax/naming/CannotProceedException.java,
8025 javax/naming/CommunicationException.java,
8026 javax/naming/CompoundName.java,
8027 javax/naming/ConfigurationException.java,
8028 javax/naming/ContextNotEmptyException.java,
8029 javax/naming/InitialContext.java,
8030 javax/naming/InsufficientResourcesException.java,
8031 javax/naming/InterruptedNamingException.java,
8032 javax/naming/LimitExceededException.java,
8033 javax/naming/LinkException.java,
8034 javax/naming/LinkLoopException.java,
8035 javax/naming/LinkRef.java,
8036 javax/naming/MalformedLinkException.java,
8037 javax/naming/Name.java,
8038 javax/naming/NameAlreadyBoundException.java,
8039 javax/naming/NameNotFoundException.java,
8040 javax/naming/NamingSecurityException.java,
8041 javax/naming/NoInitialContextException.java,
8042 javax/naming/NoPermissionException.java,
8043 javax/naming/NotContextException.java,
8044 javax/naming/PartialResultException.java,
8045 javax/naming/ReferralException.java,
8046 javax/naming/ServiceUnavailableException.java,
8047 javax/naming/SizeLimitExceededException.java,
8048 javax/naming/TimeLimitExceededException.java,
8049 javax/naming/directory/Attribute.java,
8050 javax/naming/directory/Attributes.java,
8051 javax/naming/directory/SearchResult.java,
8052 javax/naming/event/NamingExceptionEvent.java,
8053 javax/naming/spi/ResolveResult.java:
8056 2004-04-21 Mark Wielaard <mark@klomp.org>
8058 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8059 Changed C++ comments into C comments. Removed commented out code.
8060 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8062 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8064 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8066 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8070 * native/jni/gtk-peer/gthread-jni.c:
8073 2004-04-21 Mark Wielaard <mark@klomp.org>
8075 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8076 static fields defined in interface.
8077 * javax/awt/JDialog.java: Likewise.
8078 (JDialog): Make constructors public.
8079 (getDefaultCloseOperation): Make public.
8080 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8081 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8082 * javax/swing/JViewport.java (JViewport): Make constructor public.
8084 2004-04-21 Michael Koch <konqueror@gmx.de>
8086 * java/util/Map.java
8087 (Entry): Removed redundant "static" modifier.
8088 * java/text/AttributedCharacterIterator.java:
8089 Updated copyright year.
8091 2004-04-20 Michael Koch <konqueror@gmx.de>
8093 * javax/naming/directory/SearchControls.java:
8094 Don't explicitely extend java.lang.Object.
8095 * javax/naming/spi/DirStateFactory.java:
8096 Merged copyright year with GNU classpath.
8098 2004-04-20 Michael Koch <konqueror@gmx.de>
8100 * java/nio/channels/Channels.java:
8101 Merged coding style with GNU classpath.
8103 2004-04-20 Michael Koch <konqueror@gmx.de>
8105 * java/net/ServerSocket.java
8106 Merged coding style from GNU classpath.
8108 2004-04-20 Michael Koch <konqueror@gmx.de>
8110 * java/io/BufferedWriter.java:
8111 Reordered variables to be at top of the class.
8112 (localFlush): Removed redundant final keyword.
8114 2004-04-20 Ingo Proetel <proetel@aicas.com>
8116 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8118 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8120 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8121 for percent and permill check.
8123 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8125 * java/text/FieldPosition.java
8126 (FieldPosition) Constructor now behaves as it should according
8127 to the java documentation.
8129 2004-04-20 Mark Wielaard <mark@klomp.org>
8131 * java/util/Properties.java: Use the word umlaut, not ä in api
8134 2004-04-20 Michael Koch <konqueror@gmx.de>
8136 * java/nio/Buffer.java,
8137 java/nio/channels/AlreadyConnectedException.java,
8138 java/nio/channels/AsynchronousCloseException.java,
8139 java/nio/channels/ByteChannel.java,
8140 java/nio/channels/CancelledKeyException.java,
8141 java/nio/channels/Channel.java,
8142 java/nio/channels/Channels.java,
8143 java/nio/channels/ClosedByInterruptException.java,
8144 java/nio/channels/ClosedChannelException.java,
8145 java/nio/channels/ClosedSelectorException.java,
8146 java/nio/channels/ConnectionPendingException.java,
8147 java/nio/channels/DatagramChannel.java,
8148 java/nio/channels/FileChannel.java,
8149 java/nio/channels/FileLock.java,
8150 java/nio/channels/FileLockInterruptionException.java,
8151 java/nio/channels/GatheringByteChannel.java,
8152 java/nio/channels/IllegalBlockingModeException.java,
8153 java/nio/channels/IllegalSelectorException.java,
8154 java/nio/channels/InterruptibleChannel.java,
8155 java/nio/channels/NoConnectionPendingException.java,
8156 java/nio/channels/NonReadableChannelException.java,
8157 java/nio/channels/NonWritableChannelException.java,
8158 java/nio/channels/NotYetBoundException.java,
8159 java/nio/channels/NotYetConnectedException.java,
8160 java/nio/channels/OverlappingFileLockException.java,
8161 java/nio/channels/Pipe.java,
8162 java/nio/channels/ReadableByteChannel.java,
8163 java/nio/channels/ScatteringByteChannel.java,
8164 java/nio/channels/SelectableChannel.java,
8165 java/nio/channels/SelectionKey.java,
8166 java/nio/channels/Selector.java,
8167 java/nio/channels/ServerSocketChannel.java,
8168 java/nio/channels/SocketChannel.java,
8169 java/nio/channels/UnresolvedAddressException.java,
8170 java/nio/channels/UnsupportedAddressTypeException.java,
8171 java/nio/channels/WritableByteChannel.java,
8172 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8173 java/nio/channels/spi/AbstractSelectableChannel.java,
8174 java/nio/channels/spi/AbstractSelectionKey.java,
8175 java/nio/channels/spi/AbstractSelector.java,
8176 java/nio/channels/spi/SelectorProvider.java,
8177 java/nio/charset/spi/CharsetProvider.java:
8178 Fixed javadocs and jalopied all over java.nio.
8180 2004-04-20 Michael Koch <konqueror@gmx.de>
8182 * java/nio/ByteBufferImpl.java,
8183 java/nio/CharBufferImpl.java,
8184 java/nio/DirectByteBufferImpl.java,
8185 java/nio/DoubleBufferImpl.java,
8186 java/nio/DoubleViewBufferImpl.java,
8187 java/nio/FloatBufferImpl.java,
8188 java/nio/FloatViewBufferImpl.java,
8189 java/nio/IntBufferImpl.java,
8190 java/nio/IntViewBufferImpl.java,
8191 java/nio/LongBufferImpl.java,
8192 java/nio/LongViewBufferImpl.java,
8193 java/nio/MappedByteBufferImpl.java,
8194 java/nio/ShortBufferImpl.java,
8195 java/nio/ShortViewBufferImpl.java:
8196 Made sure all classes are final and removed final keyword from all
8199 2004-04-20 Michael Koch <konqueror@gmx.de>
8201 * java/rmi/MarshalledObject.java,
8202 java/rmi/Naming.java,
8203 java/rmi/RemoteException.java,
8204 java/rmi/activation/ActivationException.java,
8205 java/rmi/server/ServerCloneException.java,
8206 java/security/AccessController.java,
8207 java/security/AlgorithmParameterGenerator.java,
8208 java/security/AlgorithmParameters.java,
8209 java/security/CodeSource.java,
8210 java/security/Identity.java,
8211 java/security/IdentityScope.java,
8212 java/security/KeyPairGenerator.java,
8213 java/security/KeyStore.java,
8214 java/security/Security.java,
8215 java/security/Signature.java,
8216 java/security/SignatureSpi.java,
8217 java/security/SignedObject.java,
8218 java/security/spec/DSAParameterSpec.java,
8219 java/security/spec/DSAPrivateKeySpec.java,
8220 java/security/spec/DSAPublicKeySpec.java,
8221 java/sql/Array.java,
8222 java/sql/DatabaseMetaData.java,
8223 java/sql/ResultSet.java,
8224 java/text/ChoiceFormat.java,
8225 java/text/CollationElementIterator.java,
8226 java/text/CollationKey.java,
8227 java/text/Collator.java,
8228 java/text/DateFormat.java,
8229 java/text/DateFormatSymbols.java,
8230 java/text/DecimalFormatSymbols.java,
8231 java/text/Format.java,
8232 java/text/ParsePosition.java,
8233 java/text/RuleBasedCollator.java,
8234 java/text/SimpleDateFormat.java,
8235 java/text/StringCharacterIterator.java,
8236 java/util/Collections.java,
8237 java/util/PropertyResourceBundle.java,
8238 java/util/ResourceBundle.java,
8239 java/util/StringTokenizer.java,
8240 java/util/jar/Attributes.java,
8241 java/util/logging/ConsoleHandler.java,
8242 java/util/logging/LogManager.java,
8243 java/util/logging/MemoryHandler.java,
8244 java/util/logging/SocketHandler.java,
8245 javax/naming/NamingException.java:
8246 Fixed javadoc, coding style and argument names all over.
8248 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8250 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8251 constructor. (valid) Added null check.
8253 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8255 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8256 * java/io/FileOutputStream.java
8257 (FileOutputStream) Reorganized constructors. Constructors now
8258 check whether the given path is directory.
8260 2004-04-20 Michael Koch <konqueror@gmx.de>
8262 * java/net/Authenticator.java,
8263 java/net/BindException.java,
8264 java/net/ConnectException.java,
8265 java/net/ContentHandler.java,
8266 java/net/ContentHandlerFactory.java,
8267 java/net/DatagramPacket.java,
8268 java/net/DatagramSocket.java,
8269 java/net/DatagramSocketImpl.java,
8270 java/net/DatagramSocketImplFactory.java,
8271 java/net/FileNameMap.java,
8272 java/net/HttpURLConnection.java,
8273 java/net/Inet4Address.java,
8274 java/net/Inet6Address.java,
8275 java/net/InetAddress.java,
8276 java/net/InetSocketAddress.java,
8277 java/net/JarURLConnection.java,
8278 java/net/MalformedURLException.java,
8279 java/net/MulticastSocket.java,
8280 java/net/NetPermission.java,
8281 java/net/NetworkInterface.java,
8282 java/net/NoRouteToHostException.java,
8283 java/net/PasswordAuthentication.java,
8284 java/net/PortUnreachableException.java,
8285 java/net/ProtocolException.java,
8286 java/net/ServerSocket.java,
8287 java/net/Socket.java,
8288 java/net/SocketAddress.java,
8289 java/net/SocketException.java,
8290 java/net/SocketImpl.java,
8291 java/net/SocketImplFactory.java,
8292 java/net/SocketOptions.java,
8293 java/net/SocketPermission.java,
8294 java/net/SocketTimeoutException.java,
8296 java/net/URISyntaxException.java,
8298 java/net/URLClassLoader.java,
8299 java/net/URLConnection.java,
8300 java/net/URLDecoder.java,
8301 java/net/URLEncoder.java,
8302 java/net/URLStreamHandler.java,
8303 java/net/URLStreamHandlerFactory.java,
8304 java/net/UnknownHostException.java,
8305 java/net/UnknownServiceException.java:
8306 Fixed javadocs, coding style and argument names all over.
8308 2004-04-20 Michael Koch <konqueror@gmx.de>
8310 * java/lang/Byte.java,
8311 java/lang/CharSequence.java,
8312 java/lang/ClassLoader.java,
8313 java/lang/Compiler.java,
8314 java/lang/Double.java,
8315 java/lang/Float.java,
8316 java/lang/Integer.java,
8317 java/lang/Long.java,
8318 java/lang/Math.java,
8319 java/lang/Number.java,
8320 java/lang/Package.java,
8321 java/lang/Runtime.java,
8322 java/lang/RuntimePermission.java,
8323 java/lang/SecurityManager.java,
8324 java/lang/Short.java,
8325 java/lang/StringBuffer.java,
8326 java/lang/System.java,
8327 java/lang/ThreadGroup.java,
8328 java/lang/Throwable.java,
8329 java/lang/reflect/InvocationHandler.java,
8330 java/lang/reflect/Proxy.java:
8331 Fixed javadocs, coding style and argument names all over.
8333 2004-04-20 Michael Koch <konqueror@gmx.de>
8335 * java/io/BufferedWriter.java,
8336 java/io/ByteArrayInputStream.java,
8337 java/io/CharArrayWriter.java,
8338 java/io/DataInput.java,
8339 java/io/DataInputStream.java,
8341 java/io/FilterInputStream.java,
8342 java/io/InputStream.java,
8343 java/io/InputStreamReader.java,
8344 java/io/ObjectInputStream.java,
8345 java/io/ObjectStreamClass.java,
8346 java/io/PipedInputStream.java,
8347 java/io/PipedReader.java,
8348 java/io/PushbackInputStream.java,
8349 java/io/PushbackReader.java,
8350 java/io/RandomAccessFile.java,
8351 java/io/SerializablePermission.java,
8352 java/io/StreamTokenizer.java,
8353 java/io/StringWriter.java,
8354 java/io/WriteAbortedException.java,
8355 java/io/Writer.java:
8356 Fixed javadocs all over, rename arguments to match javadocs,
8359 2004-04-20 Ingo Proetel <proetel@aicas.com>
8361 * java/awt/FontMetrics.java:
8362 (charsWidth): fixed accumulation of total_width
8363 (getWidth): simple default implementation
8364 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8365 in Rectangle constructor.
8366 * java/awt/image/Raster.java (toString): Added method.
8367 * java/awt/image/SampleModel.java (<init>): Added error cause
8368 information to thrown exception.
8369 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8371 (setDataElements): New method.
8372 (setPixels): New method.
8373 (toString): New method.
8375 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8377 * java/awt/image/ComponentColorModel.java
8378 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8379 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8380 Mauve tests on this method. Improved documentation.
8382 2004-04-20 Michael Koch <konqueror@gmx.de>
8384 * javax/swing/JLayeredPane.java,
8385 javax/swing/plaf/BorderUIResource.java,
8386 javax/swing/plaf/ComponentUI.java,
8387 javax/swing/undo/CompoundEdit.java,
8388 javax/swing/undo/StateEdit.java:
8389 Fixed HTML tags in javadocs all over.
8391 2004-04-20 Michael Koch <konqueror@gmx.de>
8393 * javax/print/attribute/EnumSyntax.java
8394 (getOffset): Made protected.
8395 * javax/print/attribute/HashAttributeSet.java
8396 (HashAttributeSet): Likewise.
8397 * javax/print/attribute/ResolutionSyntax.java
8398 (getFeedResolution): Fixed typo in exception name.
8399 (getCrossFeedResolution): Likewise.
8400 * javax/print/attribute/SetOfIntegerSyntax.java
8401 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8402 * javax/print/attribute/TextSyntax.java
8403 (TextSyntax): Handle locale correctly.
8404 (hashCode): Calc better hashcode value.
8405 (equals): Fixed @return tag.
8406 (toString): New method.
8408 2004-04-20 Michael Koch <konqueror@gmx.de>
8410 * gnu/java/nio/FileLockImpl.java
8411 (static): Removed, not needed anymore.
8412 * gnu/java/nio/channels/FileChannelImpl.java
8413 (FileChannelImpl): Made final.
8414 (mode): Made private.
8415 (READ, WRITE, APPEND): Made public.
8416 (EXCL, SYNC, DSYNC): Likewise.
8417 (static): Load native JNI library, when needed.
8418 (length): Unused, removed.
8419 (available): Made public.
8420 (implPosition): Throws IOException.
8422 (implTruncate): Likewise.
8426 2004-04-20 Michael Koch <konqueror@gmx.de>
8428 * java/awt/AWTPermission.java,
8429 java/awt/Component.java,
8430 java/awt/ComponentOrientation.java,,
8431 java/awt/Dialog.java,
8432 java/awt/FontMetrics.java,
8433 java/awt/Graphics.java,
8434 java/awt/datatransfer/DataFlavor.java,
8435 java/beans/Introspector.java,
8436 java/beans/PropertyEditor.java,
8437 java/beans/PropertyEditorManager.java,
8438 java/beans/beancontext/BeanContextServiceProvider.java:
8439 Fixed HTML tags in javadocs all over.
8441 2004-04-20 Mark Wielaard <mark@klomp.org>
8443 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8444 MissingResourceException is thrown.
8445 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8446 null when a MissingResourceException is thrown. Should never happen.
8448 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8450 * java/awt/image/DataBufferShort.java,
8451 java/awt/image/DataBufferFloat.java,
8452 java/awt/image/DataBufferDouble.java,
8453 java/awt/image/PixelInterleavedSampleModel.java: New files.
8454 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8455 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8457 2004-04-20 Michael Koch <konqueror@gmx.de>
8459 * Makefile.am (java_source_files): Added
8460 java/awt/image/DataBufferDouble.java,
8461 java/awt/image/DataBufferFloat.java,
8462 java/awt/image/DataBufferShort.java and
8463 java/awt/image/PixelInterleavedSampleModel.java.
8464 * Makefile.in: Regenerated.
8466 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8468 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8469 undocumented CNI calls.
8470 * include/java-interp.h (_Jv_InterpClass): No longer
8471 extends java.lang.Class.
8472 * java/lang/Class.h (Class): Add new field `aux_info'.
8473 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8474 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8475 Use Class->aux_info instead.
8476 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8477 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8478 Use Class->aux_info instead.
8479 * java/io/natObjectInputStream.cc (allocateObject): Use
8481 * java/lang/natClass.cc (newInstance): Likewise.
8482 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8483 * java/lang/natObject.cc (clone): Likewise.
8484 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8485 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8486 JvAllocObject. Allocate klass->aux_info here for interpreted
8489 2004-04-17 Mark Wielaard <mark@klomp.org>
8491 * javax/swing/JToggleButton.java (ToggleButtonModel):
8492 Make public static inner class.
8493 * javax/swing/JTabbedPane.java (setComponentAt):
8494 Call Page.setComponent().
8495 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8496 (WRAP_TAB_LAYOUT): Make public, value is 0.
8497 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8498 Make private static inner class.
8500 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8502 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8503 arguments to match new signature. Remove FIXME comments.
8505 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8507 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8512 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8514 * Makefile.am: Added new file.
8515 * Makefile.in: Regenerate.
8516 * javax/swing/ImageIcon.java:
8517 (ImageIcon(file)): set description of the icon
8519 * javax/swing/JCheckBoxMenuItem.java:
8520 Mostly Implemented. Work in progress.
8521 * javax/swing/JRadioButtonMenuItem.java:
8522 Reimplement constructors to use JToggleButtonModel.
8523 * javax/swing/plaf/basic/BasicIconFactory.java:
8524 (getCheckBoxMenuItemIcon): return check box
8526 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8527 paint menu item selected only when it is armed and
8530 2004-04-02 David Jee <djee@redhat.com>
8532 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8533 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8534 * java/awt/Component.java
8535 (add): Set the parent of the popup as this component.
8536 * java/awt/PopupMenu.java
8537 (addNotify): Create popup menu when peer is null.
8538 (show): Call addNotify() if peer is null.
8539 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8540 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8541 argument for gtk_menu_popup() as zero. This causes the popup menu to
8542 respond to any mouse button.
8544 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8546 * Makefile.am: Added new file.
8547 * Makefile.in: Regenerate.
8548 * javax/swing/JRadioButtonMenuItem.java:
8550 * javax/swing/plaf/basic/BasicIconFactory.java:
8551 (getRadioButtonMenuItemIcon): Return
8553 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8554 (getPreferredSize): Add size of checkIcon if it
8556 (installDefaults): Don't initialize checkIcon.
8557 It's value will be set in subclasses.
8558 (uninstallDefaults): remove uninstallation of
8560 (paint): Moved code to paintMenuItem().
8561 (paintMenuItem): Implemented.
8562 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8563 UI delegate for JRadioButtonMenuItem.
8565 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8567 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8568 Corrected position of the accelerator.
8570 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8572 * Makefile.am: Added new file.
8573 * Makefile.in: Regenerate.
8574 * javax/swing/JMenuItem.java: Partly
8575 implemented. Work in progress
8576 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8577 Changed default value of acceleratorDelimiter.
8578 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8579 New class. Partly implemented.
8581 2004-03-26 Mark Wielaard <mark@klomp.org>
8583 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8584 (item_activate): Declare label before use.
8585 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8586 (gtkSetFont): Removed unused variable label.
8587 (addExposeFilter): Declare variables before use.
8588 (removeExposeFilter): Likewise.
8589 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8590 (ok_clicked): Declare str_fileName before use.
8592 2004-03-26 David Jee <djee@redhat.com>
8594 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8595 (addSeparator): Remove.
8596 * java/awt/Menu.java
8597 (separator): Remove static final MenuItem field.
8598 (separatorLabel): New static final String field.
8599 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8600 Use separatorLabel to denote that it is a separator.
8601 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8602 of reusing the static separator instance, because a MenuItem instance
8603 can't be added more than once without being cloned.
8604 * java/awt/peer/MenuPeer.java
8605 (addSeparator): Remove from interface.
8607 2004-03-26 David Jee <djee@redhat.com>
8609 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8610 (connectSignals): New native method declaration.
8611 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8612 * java/awt/MenuItem.java
8613 (getActionCommand): Return the label if the action command is not set.
8614 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8615 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8616 gtk_menu_shell_append().
8617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8618 (item_activate): Fix argument type.
8619 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8621 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8624 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8625 given. Add the menu widget's top-level GtkWindow to the global window
8626 group, so it can grab the pointer.
8627 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8628 gtk_menu_shell_append().
8630 2004-03-23 Graydon Hoare <graydon@redhat.com>
8632 * java/text/AttributedString.java
8633 (addAttribute): Fix off-by-one.
8634 (getIterator): Likewise.
8635 * java/text/AttributedStringIterator.java
8636 (getRunLimit): Correct logic.
8637 (getRunStart): Likewise.
8638 (getAttribute): Fix inequality.
8639 (getAttributes): Likewise.
8640 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8642 2004-03-23 Kim Ho <kho@redhat.com>
8644 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8645 (calculateSizes): Return real width and height.
8647 2004-03-23 Kim Ho <kho@redhat.com>
8649 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8650 (calculateTabRects): Set the selectedRun before
8651 trying to rotate tabs.
8653 2004-03-23 Kim Ho <kho@redhat.com>
8655 * Makefile.am: New file
8656 * Makefile.in: Regenerate
8657 * java/awt/Graphics.java: (drawRect):
8658 Draw to the correct point.
8659 * javax/swing/DefaultSingleSelectionModel.java
8660 (isSelected): Return true if the selected index
8662 * javax/swing/JLabel.java: Do not change mnemonic
8663 index if text is null.
8664 * javax/swing/JProgressBar.java: Use JComponent's
8666 * javax/swing/JScrollBar.java: Ditto.
8667 * javax/swing/JSlider.java: Ditto.
8668 * javax/swing/JTabbedPane.java: Reimplement.
8669 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8670 Add defaults for TabbedPane.
8671 * javax/swing/plaf/basic/BasicArrowButton.java:
8673 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8674 (paintDeterminate): Don't paint String if it's
8676 (paintIndeterminate): ditto.
8677 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8680 2004-03-19 Michael Koch <konqueror@gmx.de>
8682 * java/awt/image/AffineTransformOp.java
8683 (AffineTransformOp): Made public.
8684 * javax/swing/JComponent.java
8685 (listenerList): Made protected.
8686 (accessibleContext): Likewise.
8687 * javax/swing/JList.java
8688 (valueChanged): Dont use internal fields of ListSelectionEvent.
8689 * javax/swing/JViewport.java
8690 (getView): Dont use internal fields of Component.
8691 (addImpl): Likewise.
8692 * javax/swing/Timer.java
8693 (isRunning): Made public.
8696 * javax/swing/UIDefaults.java
8697 (getInt): Made public.
8698 * javax/swing/plaf/basic/BasicListUI.java
8699 (mousePressed): Dont use internal fields of MouseEvent.
8700 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8701 * javax/swing/plaf/basic/BasicScrollBarUI.java
8702 (arrowIcon): Made static.
8703 * javax/swing/plaf/basic/BasicViewportUI.java
8704 (stateChanged): Dont use internal field on ChangeEvent.
8705 * javax/swing/text/JTextComponent.java
8706 (getUI): Call UIManager.getUI().
8707 (updateUI): Use getUI().
8709 2004-03-19 Graydon Hoare <graydon@redhat.com>
8711 * javax/swing/JComponent.java: Turn off double buffer by default.
8712 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8714 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8715 Use cairo to copy areas.
8716 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8717 Initialize and set clip region.
8719 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8721 * java/applet/Applet.java (preferredSize): Override deprecated
8722 variant of getPreferredSize.
8723 (minimumSize): Override deprecated variant of getMinimumSize.
8725 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8727 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8728 (drawImage(img,xform,bgcolor,obs)): New Method.
8729 Helper function that every drawImage method will
8731 (drawRaster): Added new parameter, bgcolor. All
8732 transparent pixels are changed to bgcolor before
8734 (drawRenderedImage): Fixed to use changed drawRaster().
8735 (drawImage(image,xform,obs): Fixed to use new helper function
8736 (drawImage(image,op,x,y)): Ditto.
8737 (drawImage (img,x,y,observer)): Ditto.
8738 ((PainterThread) bgcolor): New Field.
8739 ((PainterThread) (setPixels)): Changed all transparent pixels
8741 (drawImage(img,x,y,width,height,bgcolor,observer)):
8742 Fixed FIXME - all the transparent pixels are
8743 changed to the specified bgcolor.
8744 (drawImage(img, x, y, width, height, observer): Changed to
8746 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8747 Fixed FIXME- changed all transparent pixels to bgcolor.
8748 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8749 Changed to use function above.
8751 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8753 * java/applet/Applet.java (dimensions): New field.
8754 (getDimensions): New method.
8755 (getPreferredSize): Call getDimensions.
8756 (getMinimumSize): Likewise.
8758 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8760 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8761 * jni/classpath/jnilink.c: Likewise.
8763 * java/applet/Applet.java (getPreferredSize): New method.
8764 (getMinimumSize): New method.
8766 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8768 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8769 (_Jv_AllocObjectNoFinalizer): Likewise.
8770 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8771 (_Jv_AllocPtrFreeObject): Likewise.
8772 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8773 directly even in the JVMPI case.
8774 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8775 _Jv_AllocObject calls.
8776 * gcj/javaprims.h: Update prototypes.
8777 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8778 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8779 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8781 2004-04-14 Andrew Haley <aph@redhat.com>
8782 Bryce McKinlay <mckinlay@redhat.com>
8784 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8785 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8786 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8788 * testsuite/libjava.lang/InvokeInterface.java: New file.
8789 * testsuite/libjava.lang/InvokeInterface.out: New file.
8791 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8793 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8795 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8796 StackTraceElement directly.
8797 (newElement): New native helper method to create StackTraceElement
8798 bypassing Java access control.
8799 (createStackTraceElement): Use newElement() instead of directly
8800 calling StackTraceElement's constructor.
8801 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8803 2004-04-01 Michael Koch <konqueror@gmx.de>
8805 * java/lang/SecurityManager.java
8806 (checkAwtEventQueueAccess): Implemented.
8808 2004-04-01 Gary Benson <gbenson@redhat.com>
8810 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8811 (_Jv_SearchMethodInClass): Likewise.
8813 2004-03-26 Peter Moon <peterm@miraculum.com>
8815 * java/text/NumberFormat.java: Fix spelling of setCurrency
8818 2004-03-21 Anthony Green <green@redhat.com>
8820 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8821 recursion when searching for the system ClassLoader.
8823 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8825 * java/net/ServerSocket.java
8826 (accept): Close the socket when error occured.
8828 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8830 * java/net/URI.java (parseURI): Added unquoting.
8831 (unquote): New method.
8832 (quoteAuthority): Implemented.
8833 (quote(String,String)): New method.
8834 (quotePath): Implemented.
8835 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8836 (getSchemeSpecificPart): Removed FIXME comment.
8837 (getRawAuthority): Return new rawAuthority field.
8838 (getAuthority): Removed FIXME comment.
8839 (getRawUserInfo): Return new rawUserInfo field.
8840 (getUserInfo): Removed FIXME comment.
8841 (getRawPath): Return new rawPath field.
8842 (getPath): Removed FIXME comment.
8843 (getRawQuery): Return new rawQuery field.
8844 (getQuery): Removed FIXME comment.
8845 (getRawFragment): Return new rawFragment field.
8846 (getFragment): Removed FIXME comment.
8848 2004-03-20 Michael Koch <konqueror@gmx.de>
8850 * java/net/URLConnection.java: Merged copyright year with classpath.
8852 2004-03-20 Norbert Frese <postfach@nfrese.net>
8854 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8855 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8856 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8858 (getObjectInputStream): Return object reference, throw IOException if null.
8859 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8860 (getObjectOutputStream): Return object reference, throw IOException if null.
8861 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8862 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8863 (UnicastConnectionManager): Throw RemoteException if port is not available.
8864 (getInstance): Throw RemoteException.
8865 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8866 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8867 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8868 Collect Exceptions which are returned by a rmi-call and fix void returns.
8869 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8870 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8871 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8872 (dispatch): Answer ping messages which are sent by other java implementions.
8873 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8874 for every rmi-message and fix void return problems.
8875 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8876 (UnicastServerRef): Throw RemoteException.
8877 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8878 In some situations it is necessary to export a subclass of the class which has the _Stub.
8879 For instance when the class with has the _Stub is abstract.
8880 (findStubSkelClass): New method which looks for the class which has the _Stub.
8881 (getClientHost): Implementated.
8882 * gcc/libjava/java/rmi/server/RemoteServer.java
8883 (getClientHost): Implementated.
8884 * gcc/libjava/Makefile.am (rmi_java_source_files):
8885 Added gnu/java/rmi/server/RMIIncomingThread.java.
8886 * Makefile.in: Regenerated.
8888 2004-03-20 Michael Koch <konqueror@gmx.de>
8890 * java/net/InetAddress.java
8891 (getLocalHostname): Added javadoc.
8893 2004-03-19 Per Bothner <per@bothner.com>
8895 * configure.in: FILE variable overrides FLATFORM when linking
8896 natFileChannelXXX.cc.
8898 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8899 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8901 2004-03-19 Per Bothner <per@bothner.com>
8903 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8904 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8905 * Makefile.am: Update accordingly.
8906 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8907 as aliases for UnicodeLittle and UnicodeBig.
8909 2004-03-20 Mark Wielaard <mark@klomp.org>
8911 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8912 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8913 Don't access ws when it is null.
8914 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8917 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8919 * java/lang/ThreadGroup.java (list): Changed print to println.
8921 2004-03-19 Mark Wielaard <mark@klomp.org>
8923 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8926 2004-02-10 Randolph Chung <tausq@debian.org>
8928 * configure.in: Build java for hppa target.
8929 * configure: Regenerate.
8930 * libjava/configure.host (hppa-*): Add target.
8931 * libjava/sysdeps/pa/lock.h: New file.
8933 2004-03-19 Mark Wielaard <mark@klomp.org>
8935 Reported by Stephen Crawley
8936 * java/io/FilePermission.java (implies): Use String.length() -1 to
8937 access last char of String.
8939 2004-03-19 Michael Koch <konqueror@gmx.de>
8941 * java/awt/image/AffineTransformOp.java
8942 (AffineTransformOp): Made public.
8943 * javax/swing/JComponent.java
8944 (listenerList): Made protected.
8945 (accessibleContext): Likewise.
8946 * javax/swing/JList.java
8947 (valueChanged): Dont use internal fields of ListSelectionEvent.
8948 * javax/swing/JViewport.java
8949 (getView): Dont use internal fields of Component.
8950 (addImpl): Likewise.
8951 * javax/swing/Timer.java
8952 (isRunning): Made public.
8955 * javax/swing/UIDefaults.java
8956 (getInt): Made public.
8957 * javax/swing/plaf/basic/BasicListUI.java
8958 (mousePressed): Dont use internal fields of MouseEvent.
8959 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8960 * javax/swing/plaf/basic/BasicScrollBarUI.java
8961 (arrowIcon): Made static.
8962 * javax/swing/plaf/basic/BasicViewportUI.java
8963 (stateChanged): Dont use internal field on ChangeEvent.
8964 * javax/swing/text/JTextComponent.java
8965 (getUI): Call UIManager.getUI().
8966 (updateUI): Use getUI().
8968 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8970 * verify.cc: Undef PC.
8972 2004-03-18 Michael Koch <konqueror@gmx.de>
8974 * java/nio/channels/spi/AbstractSelectableChannel.java
8975 (keys): Initialize at declaration.
8976 (locate): keys cant be null.
8978 (addSelectionKey): New method.
8979 (removeSelectionKey): New method.
8980 * java/nio/channels/spi/AbstractSelectionKey.java
8981 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8982 * java/nio/channels/spi/AbstractSelector.java
8983 (provider): Javadoc added.
8984 (cancelledKeys): Javadoc added.
8985 (cancelKey): Javadoc added, add key to cancelledKeys.
8986 (deregister): Implemented.
8988 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8990 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8991 MAP_FAILED to void *.
8993 2004-03-12 Graydon Hoare <graydon@redhat.com>
8995 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8996 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8997 * javax/swing/JList.java (ListListener): Revalidate on changes.
8998 * javax/swing/JScrollPane.java: Reimplement.
8999 * javax/swing/JViewport.java: Reimplement.
9000 * javax/swing/ScrollPaneLayout.java: Reimplement.
9001 * javax/swing/ViewportLayout.java: Tidy up.
9002 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9003 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9004 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9005 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9008 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9011 (window_wm_protocols_filter): New function.
9012 (window_focus_in_cb): Remove function.
9013 (window_focus_out_cb): Likewise.
9014 (window_focus_or_active_state_change_cb): New function.
9015 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9016 (connectSignals): Don't attach handlers to focus-in-event or
9017 focus-out-event signals. Handle notify signal.
9019 2004-03-11 David Jee <djee@redhat.com>
9021 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9022 (gtkSetLabel): New native method declaration.
9023 (setLabel): Use gtkSetLabel.
9024 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9025 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9027 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9029 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9030 black when color argument is null.
9032 2004-03-10 Kim Ho <kho@redhat.com>
9034 * java/awt/Container.java: Remove check
9037 2004-03-10 Kim Ho <kho@redhat.com>
9039 * java/awt/Container.java: (visitChild):
9040 Remove candidate clip. Use the component
9042 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9043 (handleEvent): Use the PaintEvent's clip.
9045 2004-03-10 Kim Ho <kho@redhat.com>
9047 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9048 (handleEvent): Don't set the clip for the
9051 2004-03-09 Graydon Hoare <graydon@redhat.com>
9053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9054 Fix double <-> fixed macros, reset font transform.
9055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9058 2004-03-09Â Kim Ho <kho@redhat.com>
9060 * java/awt/Container.java: (visitChild): Move
9061 the x and y coordinate of the component rectangle
9062 to correct position.
9063 (handleEvent): Forward drag events to the pressed
9065 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9067 (ArrowButtonListener::mousePressed): Stop the
9069 (mouseDragged): Implement.
9070 (TrackListener::mousePressed): Only react if
9071 the press doesn't occur on the thumb, otherwise
9072 just set the offset.
9073 (TrackListener::mouseReleased): Unset the isAdjusting
9075 (createIncreaseIcon): Switch icon.
9076 (createDecreaseIcon): Switch icon.
9077 (calculatePreferredSize): Use width.
9078 (getThumbBounds): Use the top as the lower value.
9079 (layoutVScrollBar): Switch the button locations.
9080 (paintIncreaseHighlight): Paint correct side of thumb.
9081 (paintDecreaseHighlight): ditto.
9082 (valueForYPosition): Use top as the lower value.
9083 * javax/swing/plaf/basic/BasicSliderUI.java:
9085 (mouseDragged): Implement.
9086 (mousePressed): Only react when the thumb isn't
9087 pressed, otherwise just set offset.
9088 (mouseReleased): Handle a release of the thumb.
9089 (scrollDueToClickInTrack): Stop the timer first.
9090 * javax/swing/JProgressBar.java:
9091 (setString): Fix change condition.
9092 * javax/swing/JSeparator.java:
9095 2004-03-08 David Jee <djee@redhat.com>
9097 * java/awt/image/AffineTransformOp.java:
9098 (filter): Use Graphics2D interface instead of directly using the
9101 2004-03-05 David Jee <djee@redhat.com>
9103 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9104 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9105 * java/awt/Container.java
9106 (acquireComponentForMouseEvent): Fixed.
9107 (handleEvent): Fixed.
9108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9109 (state_to_awt_mods_with_button_states): New method.
9110 (pre_event_handler): Fixed mouse event generation.
9112 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9114 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9115 (GdkGraphics2D (BufferedImage)): Initialize
9116 pixmap associated with specified BufferedImage.
9117 (setPaint): Changed implementation of Texture
9118 Paint to use AffineTransformOp.
9119 * java/awt/image/AffineTransformOp.java
9120 (createCompatibleDestRaster): Throw RasterFormatException
9121 if resulting width or height of raster is 0.
9123 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9125 * java/awt/image/AffineTransformOp.java:
9126 Removed unnecessary field interpolationType.
9127 Formatted some of the lines to be consistent with
9129 (AffineTransformOp): Create new RenderingHints
9130 containing specified interpolation type.
9131 (createCompatibleDestImage): Implemented.
9132 (createCompatibleDestRaster): Implemented.
9133 (filter): Implemented.
9134 (getBounds2D(BufferedImage)): Implemented.
9135 (getBounds2D(Raster)): Implemented.
9136 (getInterpolationType): Get interpolation value from
9139 2004-03-04 David Jee <djee@redhat.com>
9141 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9142 (setFont): Check if child peers are null.
9144 2004-03-04 Graydon Hoare <graydon@redhat.com>
9146 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9148 (libjava_arguments): Add new libraries to argument list.
9150 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9152 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9153 * Makefile.in: Re-generated.
9154 * java/awt/image/AffineTransformOp.java: New Class.
9156 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9158 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9159 (setPaint): Interpret correctly TexturePaint's
9161 (drawImage): Fixed scale factors of the affine
9164 2004-02-27 David Jee <djee@redhat.com>
9166 * gnu/java/awt/peer/gtk/GdkGraphics.java
9167 (GdkGraphics(Component)): Inherit font from component.
9168 (drawString): Use font style.
9169 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9170 (gtkSetFont): New native method declaration.
9171 (setFont): New method.
9172 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9173 (gtkSetFont): New native method declaration.
9174 (setFont): Call new native method gtkSetFont.
9175 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9176 (setFont): For all child components who do not their fonts set,
9177 set their peers' fonts with this container's font.
9178 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9179 Move all native method declarations to the top for readability.
9180 (gtkSetFont): New native method declaration.
9181 (setFont): New method.
9182 * java/awt/Component.java
9183 (setFont): Invalidate after setting the font.
9184 * java/awt/Container.java
9185 (invalidateTree): New method.
9186 (setFont): Invalidate the container tree after setting the font.
9187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9188 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9190 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9192 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9194 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9196 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9198 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9199 (updateBufferedImage): New helper function.
9200 Updates BufferedImage in memory if it was changed.
9201 (draw): changed to update BufferedImage in memory after
9202 this drawing operation
9204 (draw3DRect): Ditto.
9205 (fill3DRect): Ditto.
9207 (drawRaster): Ditto.
9208 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9209 no affine transformation.
9210 (drawGlyphVector): Ditto.
9212 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9214 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9215 (isBufferedImageGraphics): New Helper function.
9216 Returns true if this graphics2d can be used to draw
9217 into buffered image and false otherwise.
9218 (updateImagePixels): New Helper function.
9219 Updates pixels in the BufferedImage.
9220 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9221 (getImagePixels): New function. Returns pixels
9222 of the buffered image associated with
9225 2004-02-26 David Jee <djee@redhat.com>
9227 * java/awt/BorderLayout.java
9228 (layoutContainer): Fix width and height calculations to ensure
9229 that they're non-negative.
9230 * java/awt/Component.java
9231 (setBackground): If c is null, inherit from closest ancestor whose
9232 background color is set.
9234 2004-02-26 Kim Ho <kho@redhat.com>
9236 * Makefile.am: Add new files.
9237 * Makefile.in: Re-generate.
9238 * javax/swing/JProgressBar.java:
9239 (JProgressBar(int, int int)): Throw
9240 IllegalArgumentException if orientation is
9242 (JProgressBar(BoundedRangeModel)): Create
9243 ChangeListener and register it. UpdateUI.
9244 (getChangeListeners): Implement.
9245 (setModel): Reset ChangeListener.
9246 * javax/swing/JScrollBar.java: Implement.
9247 * javax/swing/JSeparator.java: Implement.
9248 * javax/swing/JSlider.java:
9249 (JSlider(int, int, int, int)): Throw
9250 IllegalArgumentException if orientation
9252 (getChangeListeners): Fix method name.
9253 * javax/swing/SwingUtilities.java:
9254 (layoutCompoundLabel): If there is no text,
9255 set the text rectangle dimensions to 0.
9256 * javax/swing/plaf/basic/BasicButtonUI.java:
9257 (paint): If there is no text, don't paint it.
9258 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9260 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9262 * javax/swing/plaf/basic/BasicSliderUI.java:
9263 (propertyChange): If the model changes, change
9264 the listeners accordingly.
9266 2004-02-25 Graydon Hoare <graydon@redhat.com>
9268 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9269 * javax/swing/JList.java: Reimplement.
9270 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9271 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9272 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9273 * javax/swing/ListModel.java: Javadoc.
9274 * javax/swing/ListSelectionModel.java: Add missing methods.
9275 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9276 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9277 * javax/swing/ListModel.java: Javadoc and corrections.
9278 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9280 2004-02-25 David Jee <djee@redhat.com>
9282 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9283 (GtkFontPeer): Change default size to 12.
9284 * gnu/java/awt/peer/gtk/GtkToolkit.java
9285 (getFontPeer): Change default size to 12.
9286 (getClasspathFontPeer): Likewise. Set default name to "Default".
9287 * java/awt/Font.java
9288 (Font(Map)): Call Font(String,Map).
9289 (Font(String,Map)): If attrs is null, initialize it as an empty
9290 HashMap, which will ensure that the Font will get default attributes.
9292 2004-02-25 David Jee <djee@redhat.com>
9294 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9295 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9296 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9297 * gnu/java/awt/peer/gtk/GtkToolkit.java
9298 (getFontPeer(String,int)): Call the new overload method with size 1.
9299 (getFontPeer(String,int,int)): New method. Overloaded with size
9301 (getClasspathFontPeer): Set the size of the font.
9303 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9305 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9306 (bimage): New field.
9307 (GdkGraphics2D): New Constructor. Constructs Graphics
9308 object that can be used to draw into the Buffered Image.
9309 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9310 (GdkGraphicsEnvironment): Fixed to include public
9312 (createGraphics): Implemented.
9313 * gnu/java/awt/peer/gtk/GtkToolkit.java
9314 (getLocalGraphicsEnvironment): Implemented.
9315 * java/awt/GraphicsEnvironment.java:
9316 (getLocalGraphicsEnvironment): Implemented.
9317 * java/awt/image/BufferedImage.java:
9318 (createGraphics): Implemented.
9320 2004-02-24 David Jee <djee@redhat.com>
9322 * java/awt/Component.java
9323 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9324 * java/awt/Container.java
9325 (addNotifyContainerChildren): Fix event enabling.
9327 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9329 * Makefile.am: Added
9330 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9331 * Makefile.in: Re-generated.
9332 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9335 2004-02-19 Kim Ho <kho@redhat.com>
9337 * Makefile.am: Add BasicProgressBarUI
9338 * Makefile.in: Regenerate.
9339 * javax/swing/JProgressBar.java:
9341 * javax/swing/plaf/basic/BasicLookAndFeel.java
9342 Add constants for JProgressBar.
9343 * javax/swing/plaf/basic/BasicProgressBarUI.java
9345 * javax/swing/plaf/basic/BasicSliderUI.java
9347 (calculateGeometry): New method
9348 (paint): Remove unnecessary size calculations.
9350 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9352 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9353 (drawRaster): Fixed small error that caused
9354 imageToUser transformation to be set incorrectly.
9355 (toString): Implemented.
9357 2004-02-18 David Jee <djee@redhat.com>
9359 * java/awt/CardLayout.java
9360 (addLayoutComponent): Show the first component added as the default.
9361 (removeLayoutComponent): After removing, show the next component.
9362 (gotoComponent): If there is only one component, show it and return.
9364 2004-02-18 Kim Ho <kho@redhat.com>
9366 * javax/swing/JSlider.java: Re-order
9368 * javax/swing/JLabel.java: Re-order
9370 * javax/swing/JComponent.java:
9371 (addPropertyChangeListener):
9373 (removePropertyChangeListener):
9375 (firePropertyChangeEvent):
9378 2004-02-17 David Jee <djee@redhat.com>
9380 * java/awt/Component.java
9381 (show): Dispatch ComponentEvent via system event queue.
9385 (reshape): Likewise.
9386 * java/awt/Window.java
9387 (setBoundsCallback): Likewise.
9389 2004-02-17 David Jee <djee@redhat.com>
9391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9392 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9393 Use gtk_widget_set_size_request() instead of the deprecated
9394 gtk_widget_set_usize().
9396 2004-02-17 Kim Ho <kho@redhat.com>
9398 * javax/swing/JSlider.java: Fix comments and
9399 make property strings constants.
9400 (createStandardLabels): Use the labels
9401 preferred size as bounds.
9402 * javax/swing/plaf/basic/BasicSliderUI.java
9404 (ScrollHandler::actionPerformed): Don't
9405 calculate the timer stop value. Let the
9406 MouseListeners find the stop location.
9407 (getPreferredHorizontalSize): Re-implement.
9408 (getPreferredVerticalSize): ditto.
9409 (getMinimumHorizontalSize): ditto.
9410 (getMinimumVerticalSize): ditto.
9411 (getPreferredSize): ditto.
9412 (getMinimumSize): ditto.
9413 (getMaximumSize): ditto.
9414 (paintTicks): Use doubles to find the
9416 (paintHorizontalLabel):Â Use preferredSize
9417 as initial width and height.
9418 (paintVerticalLabel): ditto.
9420 2004-02-17 Kim Ho <kho@redhat.com>
9422 * javax/swing/JLabel.java: Changed
9423 property strings to constants.
9424 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9426 (setText): Change mnemonic index if
9428 (setDisplayedMnemonicIndex): Fire property
9430 (getDisplayedMnemonicIndex): Remove check
9433 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9435 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9436 (drawImage(img,xform,obs)): Invert xform before
9437 passing the xform to cairo.
9438 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9439 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9441 (drawImage (img,x,y,w,h,obs)): Implemented.
9442 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9443 bgcolor,obs)): Partly implemented.
9444 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9446 * java/awt/image/BufferedImage.java:
9447 (copyData): if dest is null, create raster with same
9448 dimensions as the current image.
9450 2004-02-16 Graydon Hoare <graydon@redhat.com>
9452 * javax/swing/plaf/basic/BasicLabelUI.java
9453 (getPreferredSize): Use layoutCL.
9454 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9455 (getPreferredButtonSize): Start with empty view rect, layout using
9456 component's preferred alignment.
9457 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9460 2004-02-16 David Jee <djee@redhat.com>
9462 * java/awt/Component.java
9463 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9464 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9465 (move): Erase old bounds and repaint new bounds. Dispatch
9466 COMPONENT_MOVED ComponentEvent.
9467 (resize): Erase old bounds and repaint new bounds. Dispatch
9468 COMPONENT_RESIZED ComponentEvent.
9469 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9471 * java/awt/Window.java
9472 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9475 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9477 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9478 (setRenderingHint): Added implementation of
9479 Interpolation rendering hints.
9480 (setRenderingHints): Ditto.
9481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9482 (drawPixels): fixed to allow user to choose type
9483 of filtering that should be used when displaying images.
9484 (cairoSurfaceSetFilter): New method. Sets filter type for
9485 interpolation of pixel values.
9487 2004-02-16 David Jee <djee@redhat.com>
9489 * java/awt/GridBagLayout.java
9490 (calcCellSizes): Rows or columns with zero sizes should still be
9491 considered for extra space distribution.
9493 2004-02-16 Kim Ho <kho@redhat.com>
9495 * javax/swing/JLabel.java: Re-implement.
9496 * javax/swing/plaf/basic/BasicLabelUI.java
9498 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9501 2004-02-16 Kim Ho <kho@redhat.com>
9503 * javax/swing/JSlider.java: Fix indentation and comments.
9504 (setModel): Remove null check to conform with Sun's.
9505 (setOrientation): Throw exception if not
9506 HORIZONTAL or VERTICAL.
9507 (getInverted): Use private variable instead of
9508 ComponentOrientation.
9509 (setInverted): ditto.
9510 * javax/swing/plaf/basic/BasicSliderUI.java:
9511 Fix indentation and comments.
9512 (propertyChange): Remove check for inverted slider, handle
9514 (getMinimumSize): Return preferred size.
9515 (getMaximumSize): ditto.
9516 (calculateFocusRect): Don't relocate rectangle.
9517 (drawInverted): Return XOR of the slider's inversion and
9518 the component's orientation.
9519 (paint): Update leftToRightCache
9521 2004-02-13 David Jee <djee@redhat.com>
9523 * java/awt/GridBagLayout.java
9524 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9525 code to helper methods.
9526 (sortBySpan): New helper method.
9527 (distributeSizeAndWeight): Likewise.
9528 (calcCellWeights): Likewise.
9529 (calcCellSizes): Add comments.
9531 2004-02-13 David Jee <djee@redhat.com>
9533 * java/awt/Component.java
9534 (show): Only do something if component is invisible at the moment.
9535 (hide): Only do something if component is visible at the moment.
9536 (reshape): If lightweight, erase old bounds and repaint new bounds.
9538 2004-02-13 Kim Ho <kho@redhat.com>
9540 * Makefile.am: Updated for new file.
9541 * Makefile.in: Regenerated.
9542 * javax/swing/JSlider.java: Reimplement.
9543 * javax/swing/SwingUtilities.java
9544 (layoutCompoundLabel): Use icon height
9546 (paintComponent): Implement.
9547 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9548 Add JSlider defaults.
9549 * javax/swing/plaf/basic/BasicSliderUI.java:
9550 Implement. New file.
9552 2004-03-17 Michael Koch <konqueror@gmx.de>
9554 * gnu/java/net/PlainDatagramSocketImpl.java
9555 (RECEIVE_LOCK): New member field.
9556 (SEND_LOCK): New member field.
9557 (send0): New method.
9558 (send): Synchronize on SEND_LOCK.
9559 (receive0): New method.
9560 (receive): Synchronize on RECEIVE_LOCK.
9561 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9562 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9563 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9564 (send0): Renamed from send.
9565 (receive0): Renamed from receive.
9566 2004-03-17 Michael Koch <konqueror@gmx.de>
9568 * gnu/java/net/natPlainSocketImplPosix.cc
9569 (write): Just call write(jbyteArray, offset, len).
9570 (read): Just call read(jbyteArray, offset, len).
9572 2004-03-16 Michael Koch <konqueror@gmx.de>
9574 * javax/swing/JTabbedPane.java
9575 (serialVersionUID): New field.
9577 2004-03-16 Norbert Frese <postfach@nfrese.net>
9579 * java/net/InetAddress.java
9580 (getByName): Handle hostname == "" case.
9582 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9584 Reported by: Adam Heath <doogie@debian.org>
9585 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9588 2004-03-15 Michael Koch <konqueror@gmx.de>
9590 * java/util/Locale.java: Reverting my last patch
9591 and add a comment why the original version was okay.
9593 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9595 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9596 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9597 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9598 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9600 2004-03-12 Michael Koch <konqueror@gmx.de>
9602 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9604 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9606 * java/net/URI.java (toURL): Implemented.
9608 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9611 (URI_REGEXP) updated to contain scheme specific part.
9612 (SCHEME_SPEC_PART_GROUP) new constant.
9613 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9614 updated to make room for SCHEME_SPEC_PART_GROUP.
9615 (parseURI) parse scheme specific part.
9616 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9617 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9618 getQuery, getFragment) implemented.
9620 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9622 * libraries/javalib/java/net/URI.java
9623 partially implemented using java.util.regex.
9624 (URI_REGEXP) new constant. Used to parse URIs.
9625 (SCHEME_GROUP) new constant representing index of scheme group
9627 (AUTHORITY_GROUP) new constant representing index of authority
9628 group in parsed URI.
9629 (PATH_GROUP) new constant representing index of path group in
9631 (QUERY_GROUP) new constant representing index of query group in
9633 (FRAGMENT_GROUP) new constant representing index of fragment
9634 group in parsed URI.
9635 (getURIGroup) new static utility method.
9636 (parseURI) implemented.
9637 (quote) stub for new static utility method.
9638 (quoteAuthority) stub for new static utility method.
9639 (quoteHost) stub for new static utility method.
9640 (quotePath) stub for new static utility method.
9641 (quoteUserInfo) stub for new static utility method.
9643 (create) don't throw URISyntaxException. Implemented.
9644 (toString) implemented.
9646 2004-03-12 Michael Koch <konqueror@gmx.de>
9648 * java/net/HttpURLConnection.java
9649 (getResponseCode): Fix another typo in javadoc.
9651 2004-03-11 Michael Koch <konqueror@gmx.de>
9653 * java/util/logging/Level.java
9654 (parse): Use String.equals() instead of ==.
9656 2004-03-11 Michael Koch <konqueror@gmx.de>
9658 * gnu/java/net/protocol/jar/Connection.java
9659 (getContentLength): New method.
9661 2004-03-11 Michael Koch <konqueror@gmx.de>
9663 * gnu/java/net/PlainSocketImpl.java:
9664 Reformated to merge better with classpath's version.
9666 2004-03-11 Michael Koch <konqueror@gmx.de>
9668 * java/util/Locale.java
9669 (getISO3Language): Use String.equals() instead of ==.
9670 (getISO3Country): Likewise.
9672 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9674 * java/text/AttributedString.java
9675 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9676 Use HashMap instead of Hashtable since value can be null, and
9677 you can not store a null value in a Hashtable.
9679 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9681 * java/text/AttributedStringIterator.java
9682 (getAllAttributesKey): Return only keys concerned
9683 by the current iterator.
9684 (getAttributes): Use strict inequality for
9687 2004-03-11 Michael Koch <konqueror@gmx.de>
9689 * java/net/HttpURLConnection.java:
9690 Fixed typo in javadoc.
9692 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9694 * java/io/BufferedInputStream.java (marktarget): New field for max
9696 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9697 (mark): Use new fields.
9699 (read(byte[],int,int)): Likewise.
9703 2004-03-11 Mark Wielaard <mark@klomp.org>
9705 * java/beans/BeanDescriptor.java (BeanDescriptor):
9706 Set the FeatureDescriptor programmatic name.
9708 2004-03-11 Michael Koch <konqueror@gmx.de>
9710 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9711 This file was was just copied form java/io/natFileDescriptorEcos.cc
9712 and never changed to compile correctly.
9714 2004-03-11 Michael Koch <konqueror@gmx.de>
9716 * gnu/java/nio/PipeImpl.java
9717 (SourceChannelImpl): Made final.
9718 (read): Implemented.
9719 (SinkChannelImpl): Made final.
9720 (write): Implemented.
9722 2004-03-11 Michael Koch <konqueror@gmx.de>
9724 * gnu/java/net/PlainDatagramSocketImpl.java:
9725 Reformated to match classpath's version more.
9727 2004-03-11 Michael Koch <konqueror@gmx.de>
9729 * gnu/java/awt/peer/ClasspathFontPeer.java:
9730 Fixed javadoc to be correct xhtml.
9731 * gnu/java/awt/peer/gtk/GtkArgList.java
9732 (add): Use Boolean.valueOf() instead of new Boolean().
9734 2004-03-09 Michael Koch <konqueror@gmx.de>
9736 * java/lang/Thread.java
9737 (runnable): Moved around.
9738 (daemon): Renamed from daemon_flag.
9739 (contextClassLoader): Renamed from context_class_loader.
9740 (Thread): Reordered constructors.
9741 (activeCount): Use group directly.
9742 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9743 (holdsLock): Reworked javadoc.
9744 (setDaemon): Reworked.
9745 * java/lang/natThread.cc
9748 2004-03-08 Anthony Green <green@redhat.com>
9750 * Makefile.am: Build property resource files into libgcj.
9751 * Makefile.in: Rebuilt.
9752 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9753 java/util/regex/PatternSyntaxException.java,
9754 gnu/regexp/CharIndexed.java,
9755 gnu/regexp/CharIndexedCharArray.java,
9756 gnu/regexp/CharIndexedInputStream.java,
9757 gnu/regexp/CharIndexedReader.java,
9758 gnu/regexp/CharIndexedString.java,
9759 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9760 gnu/regexp/REException.java,
9761 gnu/regexp/REFilterInputStream.java,
9762 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9763 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9764 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9765 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9766 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9767 gnu/regexp/RETokenLookAhead.java,
9768 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9769 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9770 gnu/regexp/RETokenStart.java,
9771 gnu/regexp/RETokenWordBoundary.java,
9772 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9774 2004-03-03 Per Bothner <per@bothner.com>
9776 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9777 Optimize when argument is a FileChannelImpl.
9778 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9780 * java/nio/channels/natChannels.cc: New file for new native methods.
9781 * Makefile.am: Update accordingly.
9783 2004-03-02 Jan Hubicka <jh@suse.cz>
9785 * configure.host: Pass -fno-omit-frame-pointer for i386.
9786 * configure.in: Likewise.
9787 * configure: Regenerate.
9789 2004-03-01 Per Bothner <per@bothner.com>
9791 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9793 2004-02-29 Per Bothner <per@bothner.com>
9795 * java/nio/channels/FileChannelImpl.java: Moved to package
9796 gnu/java/nio/channels, since we need to refer to it from java.io.
9797 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9798 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9799 from java/nio/channels. Don't depend on FileDescriptor.
9800 (in, out, err): New static fields.
9802 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9803 from FileDescriptor.
9804 (by): Removed MappedByteBuffer field.
9805 (map): New working implementation.
9806 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9807 some code "ported" from natFileDescriptoPosix.cc.
9808 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9809 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9810 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9811 Remove native methods.
9812 * Makefile.am, configure.in: Updated accordingly.
9814 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9815 (ch): New FileChannelImpl field. Update constructor to match.
9816 (releaseImpl): Remove native method. Instead ...
9817 (release): Call unlock on channel.
9818 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9820 * java/io/natFileDescriptorEcos.cc: Remove file.
9821 * java/io/natFileDescriptorPosix.cc: Remove file.
9822 * java/io/natFileDescriptorWin32.cc: Remove file.
9823 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9824 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9825 (<init>(FileChannelImpl)): New package-private constructor.
9826 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9827 (available, close, read, skip): Implement using FileChannelImpl.
9828 (getFD): Allocate FileDescriptor if needed.
9829 (getChannel): Is now trivial.
9830 * java/io/FileOutputStream.java: Corresponding changes.
9831 * java/io/RandomAccessFile.java: Corresponding changes.
9833 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9834 unmapImpl): New dummy methods, to be overridden by subclass.
9835 (finalize, isLoaded, load, force): New methods.
9836 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9837 Now works, at least for read mapping.
9839 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9840 streams using FileChannelImpl, not FileDescriptor.
9841 * java/lang/natWin32Process.cc (startProcess): Likewise.
9843 2004-02-28 Michael Koch <konqueror@gmx.de>
9845 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9848 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9850 * java/io/ObjectInputStream.java
9851 (readClassDescriptor): Keep elements of the mapping non null.
9852 (checkTypeConsistency): New method.
9853 (readFields): Fixed main loop and base logic. Small reindentation.
9854 * java/io/ObjectStreamField.java
9855 (lookupField): New method to update the field reference.
9856 (checkFieldType): New method.
9857 * java/io/ObjectStreamClass.java
9858 (setClass, setFields): Call lookupField when building the field
9859 database. Check the real field type.
9861 2004-02-28 Michael Koch <konqueror@gmx.de>
9863 * java/nio/ByteOrder.java
9864 (nativeOrder): Use equals() to compare strings.
9866 2004-02-26 Michael Koch <konqueror@gmx.de>
9868 * gnu/java/nio/FileLockImpl.java
9869 (finalize): Made protected.
9870 * java/nio/channels/FileChannel.java
9871 (MapMode.READ_ONLY): Made final.
9872 (MapMode.READ_WRITE): Made final.
9873 (MapMode.PRIVATE): Made final.
9874 * java/nio/channels/SocketChannel.java
9875 (open): Simplified code.
9876 * java/nio/channels/spi/AbstractSelectableChannel.java
9877 (registered): Unused, removed.
9878 (keyFor): Check channel is open, only locate key
9879 and not add a new one.
9880 (register): Don't delete attachments.
9882 2004-02-26 Michael Koch <konqueror@gmx.de>
9884 * gnu/java/awt/ComponentDataBlitOp.java
9885 (INSTANCE): Made final.
9886 * gnu/java/awt/image/ImageDecoder.java:
9888 (cm): Unused, removed.
9890 2004-02-26 Michael Koch <konqueror@gmx.de>
9892 * gnu/java/nio/DatagramChannelImpl.java
9893 (send): Check if target address is resolved.
9895 2004-02-26 Michael Koch <konqueror@gmx.de>
9897 * Makefile.am: Generate and install headers for inner classes in
9898 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9899 * Makefile.in: Regenerated.
9901 2004-02-24 Anthony Green <green@redhat.com>
9903 * java/lang/StringBuffer.java: No need to NULL out remainder of
9904 buffer since ensureCapacity_unsynchronized will have done this for
9907 2004-02-20 Michael Koch <konqueror@gmx.de>
9909 * gnu/java/net/protocol/jar/Handler.java
9910 (): Removed unneeded check for file != null. java.net.URL.getFile()
9911 returns an empty string but never null.
9913 2004-02-20 Michael Koch <konqueror@gmx.de>
9915 * gnu/gcj/convert/Convert.java
9916 (main): Use equals() to compare strings.
9918 2004-02-20 Michael Koch <konqueror@gmx.de>
9920 * javax/swing/AbstractButton.java: Made several constants final.
9921 (getRolloverSelectedIcon): Made public.
9922 (getSelectedIcon): Made public.
9924 2004-02-16 Per Bothner <per@bothner.com>
9926 * java/nio/CharBufferImpl.java: Inline super constructor.
9927 * java/nio/DoubleBufferImpl.java: Likewise.
9928 * java/nio/FloatBufferImpl.java: Likewise.
9929 * java/nio/IntBufferImpl.java: Likewise.
9930 * java/nio/LongBufferImpl.java: Likewise.
9931 * java/nio/ShortBufferImpl.java: Likewise.
9932 * java/nio/CharBuffer.java: Remove unused constructor.
9933 * java/nio/DoubleBuffer.java: Likewise.
9934 * java/nio/FloatBuffer.java: Likewise.
9935 * java/nio/IntBuffer.java: Likewise.
9936 * java/nio/LongBuffer.java: Likewise.
9937 * java/nio/ShortBuffer.java: Likewise.
9938 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9939 Fix buggy call to super constructor.
9940 * java/nio/DoubleViewBufferImpl.java: Likewise.
9941 * java/nio/FloatViewBufferImpl.java: Likewise.
9942 * java/nio/IntViewBufferImpl.java: Likewise.
9943 * java/nio/LongViewBufferImpl.java: Likewise.
9944 * java/nio/ShortViewBufferImpl.java: Likewise.
9946 * java/nio/ByteBuffer.java (endian): Make non-private so other
9947 java.nio classes can inherit it.
9948 (<init>): Don't bother clearing array_offset.
9949 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9950 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9951 Remove redundant test.
9953 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9954 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9955 Use new XxxViewBufferImpl constructors.
9956 * java/nio/MappedByteBufferImpl.java: Likewise.
9957 * java/nio/DirectByteBufferImpl.java: Likewise.
9959 * java/nio/ByteBufferImpl.java: Remove one constructor.
9960 Inline super in remaining constructor.
9961 * java/nio/ByteBuffer.java: Remove unused constructor.
9963 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9965 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9966 * java/nio/DirectByteBufferImpl.java (owner): New field.
9967 (offset): Remove unused field.
9968 (<init>): Modify one and add another constructor. Change callers.
9969 (allocateDirect): Removed - not used.
9970 (getImpl, putImpl): Make static and pass address explicitly,
9971 to make them useful for MappedByteBufferImpl.
9972 (get, put): Check for underflow. Modify for new getImpl.
9973 (getImpl): New native method where target is array.
9974 (get(byte[],int,int)): Use the above.
9975 (adjustAddress): New static native method.
9976 (slice, duplicate, asReadOnly): New implementations.
9977 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9978 adjustAddress): New or updated native methods.
9980 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9982 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9983 overflow of fieldmapping.
9985 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9987 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9989 2004-02-14 Per Bothner <per@bothner.com>
9991 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9992 Set closed before calling implCloseChannel, as in the spec.
9994 2004-02-09 Graydon Hoare <graydon@redhat.com>
9996 * javax/swing/ToggleButtonModel.java: Remove dead class.
9997 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9998 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9999 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10000 * Makefile.am: Update for new and removed files.
10001 * Makefile.in: Regenerate.
10003 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10004 * javax/swing/AbstractButton.java
10005 (AbstractButton): Initialize fields correctly in ctor.
10006 * javax/swing/JCheckbox.java
10007 (JCheckBox): Override painting flags.
10008 * javax/swing/DefaultButtonModel.java: Conform to sun.
10009 * javax/swing/JComponent.java (paint): Fill with background color
10011 (processComponentKeyEvent)
10012 (processFocusEvent)
10014 (processMouseMotionEvent): Remove event-consuming empty methods.
10015 (getUIClassID): Return "ComponentUI" not "JComponent"
10016 * javax/swing/JFrame.java: Remove some debugging chatter.
10017 (JFrame): Subscribe to window events.
10018 * javax/swing/JRadioButton.java
10019 (JRadioButton): Override painting flags.
10020 * javax/swing/JRootPane.java
10021 (JRootPane): Set background from UIDefaults.
10022 * javax/swing/JToggleButton.java
10023 (ToggleButtonModel): New inner class.
10024 (JToggleButton): Override layout alighment.
10025 * javax/swing/SwingUtilities.java:
10026 (getLocalBounds): Return width and height, not x and y.
10027 (calculateInnerArea): Use local bounds, not bounds.
10028 (layoutCompoundLabel): Provide overridden form.
10029 (layoutCompoundLabel): Correct bugs.
10030 * javax/swing/UIDefaults.java: Correct comment.
10031 * javax/swing/plaf/basic/BasicButtonUI.java:
10032 Move most logic into defaults, external listener.
10033 (paintIcon): Implement icon painting.
10034 (paint): Fix state painting to conform to changes in model.
10035 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10036 Remove most dead/wrong methods.
10037 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10038 * javax/swing/plaf/basic/BasicIconFactory.java:
10039 (DummyIcon): New class.
10040 (getMenuItemCheckIcon)
10041 (getMenuItemArrowIcon)
10043 (getCheckBoxMenuItemIcon)
10044 (getRadioButtonMenuItemIcon)
10045 (createEmptyFrameIcon): Return DummyIcons, not null.
10046 (getCheckBoxIcon): Implement an icon that looks like sun's.
10047 (getRadioButtonIcon): Implement an icon that looks like sun's.
10048 * javax/swing/plaf/basic/BasicLookAndFeel.java
10049 (initComponentDefaults): Fix impossible values, add some missing.
10050 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10051 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10052 Remove most dead/wrong methods.
10054 (getDefaultIcon): New method.
10055 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10056 Remove most dead/wrong methods.
10057 * javax/swing/plaf/metal/MetalLookAndFeel.java
10058 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10060 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10061 Implement "clearing" as drawing, when on pixmap drawables.
10063 * javax/swing/JButton.java (getUIClassID):
10064 * javax/swing/JCheckBox.java (getUIClassID):
10065 * javax/swing/JEditorPane.java (getUIClassID):
10066 * javax/swing/JLabel.java (getUIClassID):
10067 * javax/swing/JList.java (getUIClassID):
10068 * javax/swing/JOptionPane.java (getUIClassID):
10069 * javax/swing/JPanel.java (getUIClassID):
10070 * javax/swing/JPasswordField.java (uiClassID):
10071 * javax/swing/JRadioButton.java (getUIClassID):
10072 * javax/swing/JRootPane.java (getUIClassID):
10073 * javax/swing/JScrollPane.java (getUIClassID):
10074 * javax/swing/JTabbedPane.java (getUIClassID):
10075 * javax/swing/JToggleButton.java (getUIClassID):
10076 * javax/swing/JTree.java (getUIClassID):
10077 * javax/swing/JViewport.java (getUIClassID):
10078 * javax/swing/text/JTextComponent.java (getUIClassID):
10079 Return "fooUI" not "Jfoo"
10081 2004-02-11 Michael Koch <konqueror@gmx.de>
10083 * java/net/DatagramSocket.java
10084 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10086 (setBroadcast): Likewise.
10087 * java/net/MulticastSocket.java
10088 (setLoopbackMode): Likewise.
10089 * java/net/ServerSocket.java
10090 (setReuseAddress): Likewise.
10091 * java/net/Socket.java
10092 (setTcpNoDelay): Likewise.
10093 (setSoLinger): Likewise.
10094 (setOOBInline): Likewise.
10095 (setKeepAlive): Likewise.
10096 (setReuseAddress): Likewise.
10097 * java/net/URLConnection.java
10098 (setContentHandler): Replace == with equals().
10099 * java/net/URLStreamHandler.java
10100 (hostSEquals): Fix checking host addresses.
10101 (toExternalForm): Dont check protocol for null. We know already its
10104 2004-02-10 David Jee <djee@redhat.com>
10106 * java/awt/BorderLayout.java
10107 (calcCompSize): Invisible components get zero dimensions.
10108 * java/awt/Button.java
10109 (setLabel): Set actionCommand.
10110 * java/awt/Component.java
10111 (show): Invalidate component and parent container.
10114 2004-02-10 David Jee <djee@redhat.com>
10116 * java/awt/GridBagLayout.java
10117 (GridBagLayout): New private field, internalcomptable.
10118 (lookupInternalConstraints): New method.
10119 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10120 (GetLayoutInfo): Reimplement.
10121 (calcCellSizes): Ignore rows/columns with size 0.
10123 2004-02-10 Michael Koch <konqueror@gmx.de>
10125 * gnu/java/awt/EmbeddedWindow.java
10126 (setHandle): Use java.awt.Component.getPeer() instead of
10127 java.awt.Component.peer directly.
10129 2004-02-10 David Jee <djee@redhat.com>
10131 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10132 (gtkSetLabel): New native method definition.
10133 (setLabel): Use gtkSetLabel.
10134 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10135 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10137 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10139 * include/powerpc-signal.h: Revert 2004-01-21 change.
10140 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10141 from syscall for ppc32 versions.
10143 2004-02-08 Per Bothner <per@bothner.com>
10145 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10146 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10147 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10148 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10149 Pass ByteOrder parameter to most methods, since the underlying
10150 ByteBuffer's order isn't always what we should use.
10151 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10152 * java/nio/DirectByteBufferImpl.java: Likewise.
10153 Use ByteBufferHelper methods.
10154 * java/nio/MappedByteBufferImpl.java: Likewise.
10155 (compact): Use shiftDown.
10156 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10157 (get, put): Use ByteBufferHelper.
10158 (compact): Use new shiftDown method.
10159 (duplicate(boolean)): New helper method.
10160 (duplicate, asReadOnlyBuffer): Use it.
10161 (order): Return endian field.
10162 * java/nio/DoubleViewBufferImpl.java: Likewise.
10163 * java/nio/FloatViewBufferImpl.java: Likewise.
10164 * java/nio/IntViewBufferImpl.java: Likewise.
10165 * java/nio/LongViewBufferImpl.java: Likewise.
10166 * java/nio/ShortViewBufferImpl.java: Likewise.
10167 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10168 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10169 (compact): Re-implement using shiftDown.
10171 2004-02-08 Andreas Jaeger <aj@suse.de>
10173 * include/x86_64-signal.h: Fix typo.
10175 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10177 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10178 qualifier to _regs.
10179 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10181 2004-02-06 Michael Koch <konqueror@gmx.de>
10183 * java/io/ObjectInputStream.java
10184 (currentClassLoader): Reverted to old version of this method.
10186 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10188 * java/io/ObjectInputStream.java: Made all calls
10189 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10190 use cached info from ObjectStreamClass. (readClassDescriptor):
10191 Cache more information in ObjectStreamClass. (processResolution,
10192 readFields): Use cached info from ObjectStreamClass.
10193 (newObject): Throw exception instead of returning null for failure.
10194 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10195 setCharField, setDoubleField, setFloatField, setIntField,
10196 setLongField, setShortField, setObjectField, readObjectParams):
10197 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10199 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10200 (setClass): Added call to cacheMethods() (findMethod): New method.
10201 (cacheMethods): New method. (ObjectStreamClass): Added call to
10202 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10203 AccessController.doPrivileged to invoke setAccessible.
10204 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10205 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10207 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10208 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10209 isPrimitive): Made safe for cases where type == null.
10210 (setBooleanField, setByteField, setCharField, setShortField,
10211 setIntField, setLongField, setFloatField, setDoubleField,
10212 setObjectField): New methods.
10214 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10216 * java/awt/Component.java (getFont): Return a default font
10219 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10220 (Scrollbar (int, int, int, int, int)): Make default page
10222 (setValues): Only call peer.setValues if one of the values has
10224 (generateName): New method.
10225 (getUniqueLong): New method.
10226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10227 (range_scrollbar): Remove structure.
10228 (post_adjustment_event): Remove function.
10229 (post_change_event): Accept jobject argument.
10230 (create): Cast jints to gdoubles. Round scrollbar values to the
10231 nearest integer. Clamp min, max and value settings.
10232 (connectJObject): Connect hook to widget->window.
10233 (connectSignals): Remove range_scrollbar structure variables.
10234 Remove "move-slider" connection. Pass global peer reference to
10235 "value-changed" callback.
10236 (setLineIncrement): Cast jint value to gdouble.
10237 (setPageIncrement): Likewise.
10238 (setValues): Likewise. Clamp min, max and value settings.
10240 2004-02-05 Michael Koch <konqueror@gmx.de>
10242 * javax/swing/AbstractCellEditor.java
10243 (getCellEditorValue): Removed.
10244 * javax/swing/Box.java: Reformated.
10245 (serialVersionUID): New field.
10246 * javax/swing/ButtonGroup.java:
10247 Removed some weird whitespace.
10248 * javax/swing/CellEditor.java: Reformated.
10249 * javax/swing/CellRendererPane.java
10250 (serialVersionUID): New field.
10251 (AccessibleCellRendererPaneserialVersionUID): New field.
10252 * javax/swing/DefaultListModel.java
10253 (serialVersionUID): New field.
10254 * javax/swing/JEditorPane.java
10255 (serialVersionUID): New field.
10256 (setPage): Throws IOException.
10257 (addHyperlinkListener): Implemented.
10258 (removeHyperlinkListener): Implemented.
10259 (getHyperlinkListener): New method.
10260 * javax/swing/JFileChooser.java
10261 (serialVersionUID): New field.
10262 (AccessibleJFileChooser.serialVersionUID): New field.
10263 (addActionListener): Implemented.
10264 (removeActionListener): Implemented.
10265 (getActionListeners): New method.
10266 * javax/swing/JFormattedTextField.java
10267 (serialVersionUID): New field.
10268 (AbstractFormatter.serialVersionUID): New field.
10269 (clone): Throws CloneNotSupportedException
10270 (setEditValid): Add missing argument.
10271 (stringToValue): Throws ParseExcpetion.
10272 (valueToString): Throws ParseException.
10273 (commitEdit): Throws ParseException.
10274 * javax/swing/JLabel.java
10275 (serialVersionUID): New field.
10276 * javax/swing/JList.java
10277 (serialVersionUID): New field.
10278 (addListSelectionListener): Reformated.
10279 (removeListSelectionListener): Reformated.
10280 (getListSelectionListeners): New method.
10281 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10283 (serialVersionUID): New field.
10284 * javax/swing/table/AbstractTableModel.java
10285 (getValueAt): Removed.
10286 (getColumnCount): Removed.
10287 (getRowCount): Removed.
10289 2004-02-05 Michael Koch <konqueror@gmx.de>
10291 * java/awt/datatransfer/DataFlavor.java
10292 (imageFlavor): Javadoc added.
10293 (javaJVMLocalObjectType): Fixed.
10295 2004-02-05 Michael Koch <konqueror@gmx.de>
10297 * java/lang/Thread.java
10298 (Thread): Reordered.
10299 (setContextClassLoader): Fixed javadoc comment.
10300 (setPriority): Reordered.
10301 (yield): Reordered.
10302 (initialize_native): Reordered.
10303 (gen_name): Reordered.
10305 2004-02-05 Michael Koch <konqueror@gmx.de>
10307 * java/lang/Thread.java: Reordered fields, reformated much code,
10308 no functional changes, some variables renamed, javadoc comments
10311 2004-02-05 Michael Koch <konqueror@gmx.de>
10313 * java/util/zip/Deflater.java,
10314 java/util/zip/DeflaterOutputStream.java,
10315 java/util/zip/GZIPInputStream.java:
10316 Reformated and javadoc comments merged from classpath.
10318 2004-02-05 Michael Koch <konqueror@gmx.de>
10320 * gnu/java/nio/NIOServerSocket.java
10321 (impl): Unused, removed.
10322 * gnu/java/nio/SocketChannelImpl.java
10323 (finnishConnect): Don't throw NoConnectionPendingException if not
10324 connected or no connection pending.
10326 2004-02-02 Graydon Hoare <graydon@redhat.com>
10328 * javax/swing/SwingUtilities.java: Many new functions.
10329 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10330 * javax/swing/basic/BasicGraphicsUtils.java
10331 (getPreferredButtonSize): Start layout from top-left corner.
10333 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10335 * java/awt/geom/AffineTransform.java:
10336 Corrected comments on the field definitions for
10338 (shear): Fixed few errors that caused shear
10339 transformation to be performed incorrectly.
10340 (createInverse): Fixed to return correct
10341 inverse of the given matrix.
10343 2004-02-03 Tom Tromey <tromey@redhat.com>
10345 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10346 PATH or LD_LIBRARY_PATH is not set in parent environment.
10348 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10350 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10351 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10352 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10353 java/awt/Component.java, java/awt/Container.java,
10354 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10355 java/awt/LayoutManager2.java, java/awt/List.java,
10356 java/awt/Menu.java, java/awt/MenuBar.java,
10357 java/awt/MenuItem.java, java/awt/Polygon.java,
10358 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10359 java/awt/Scrollbar.java, java/awt/TextArea.java,
10360 java/awt/TextField.java,
10361 java/awt/image/renderable/RenderContext.java,
10362 javax/swing/JApplet.java: Fix handling of alias methods, where a
10363 method has been deprecated in favour of a new one with the same
10364 funtion but a different name. Put the method implementation in
10365 the deprecated method and have the new method call the
10366 deprecated one. Make all other code call the new method.
10368 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10370 * gnu/java/nio/DatagramChannelImpl.java
10371 (inChannelOperation): New field.
10372 (isInChannelOperation): New accessor.
10373 (setInChannelOperation): New modifier.
10374 (receive): Use capacity() - position() of destination
10375 buffer instead of remaining(). Set and reset our "in
10376 channel operation indicator" before and after delegating
10377 the receive to our datagram socket. Removed testing code.
10378 Update destination buffer's current position if it is
10379 backed by a byte array (hasArray() is true).
10380 (send): Set and reset our "in channel operation indicator"
10381 before and after delegating the send to our datagram socket.
10382 Removed testing code. Update source buffer's current position
10383 if it is backed by a byte array (hasArray() is true).
10384 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10385 Use capacity() - position() of destination buffer instead
10387 * java/net/DatagramSocket.java (receive): Don't throw an
10388 IllegalBlockingModeException if we have a non-blocking
10389 channel which initiated this operation.
10392 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10394 * configure.in: Add pkgconfig check for glib and gthread.
10395 * configure: Regenerate.
10397 2004-02-01 Michael Koch <konqueror@gmx.de>
10399 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10401 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10402 * verify.cc (debug_print): Mark 'fmt' unused.
10404 2004-01-30 Michael Koch <konqueror@gmx.de>
10406 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10407 * configure: Regenerated.
10408 * glib-2.0.m4: Removed.
10409 * gtk-2.0.m4: Removed.
10410 * libart.m4: Removed.
10411 * pkg.m4: New file.
10413 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10415 * gnu/java/net/PlainSocketImpl.java
10416 (inChannelOperation): New field.
10417 (isInChannelOperation): New accessor.
10418 (setInChannelOperation): New modifier.
10419 * gnu/java/nio/ServerSocketChannelImpl.java
10420 (accept): Set and reset our server socket's PlainSocketImpl's
10421 "in channel operation" indicator before and after delegating
10422 the accept to our server socket.
10423 * gnu/java/nio/SocketChannelImpl.java
10424 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10425 operation" indicator before and after delegating the operation to
10429 * java/net/ServerSocket.java (implAccept): Don't throw an
10430 IllegalBlockingModeException if we have a non-blocking
10431 channel which initiated this accept operation.
10432 * java/net/Socket.java (connect): Don't throw an
10433 IllegalBlockingModeException if we have a non-blocking
10434 channel which initiated this connect operation.
10435 * java/nio/channels/spi/AbstractSelectableChannel.java
10436 (configureBlocking): Only call implConfigureBlocking() if
10437 the desired blocking mode is different from our current one.
10439 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10441 * java/io/BufferedReader.java (sbuf): New field.
10442 (readLine): Use String.valueOf instead of new String() as per
10443 Per Bothner's suggestion. Use instance sbuf field instead of a
10444 local StringBuffer instance.
10445 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10446 caller's buffer to refill().
10447 (read(void)): Pass our internal work buffer to refill if our
10448 input queue is empty.
10449 (refill): Changed return type to int. Use the specified buffer
10450 instead of our work buffer as per Bryce McKinlay's suggestion.
10451 Return the number of characters read or -1 for EOF.
10453 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10455 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10457 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10459 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10460 * Makefile.in: Re-generated.
10461 * gnu/awt/xlib/XFontPeer.java: New file.
10462 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10463 (setClip): Commented out debug printout.
10464 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10465 (getFontPeer): Return XFontPeer.
10466 (getLocalGraphicsEnvironment): New method.
10467 (getClasspathFontPeer): New method.
10468 (createFont): New method.
10470 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10472 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10475 2004-01-29 Kim Ho <kho@redhat.com>
10477 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10478 (gtkLayoutSetVisible): New method
10479 (setMenuBar): Hide layout before setting MenuBar
10480 and reshow it after.
10481 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10482 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10484 2004-01-28 Michael Koch <konqueror@gmx.de>
10486 * gnu/java/lang/ClassHelper.java
10487 (getPackagePortion): Removed.
10489 2004-01-28 Michael Koch <konqueror@gmx.de>
10491 * javax/swing/JComponent.java
10492 (listenerList): Initalize globally.
10493 (ancestor_list): Removed.
10494 (veto_list): Removed.
10495 (change_list): Removed.
10496 (get_veto_list): Removed.
10497 (get_change_list): Removed.
10498 (get_ancestor_list): Removed.
10499 (removeAncestorListener): Reimplemented.
10500 (removePropertyChangeListener): Likewise.
10501 (removeVetoableChangeListener): Likewise.
10502 (addAncestorListener): Likewise.
10503 (addPropertyChangeListener): Likewise.
10504 (addVetoableChangeListener): Likewise.
10505 (getListeners): New method.
10506 (getAncestorListeners): Likewise.
10507 (getVetoableChangeListeners): Likewise.
10508 (fireVetoableChange): Throws PropertyVetoException.
10509 * javax/swing/JEditorPane.java
10510 (JEditorPane): Throws IOException.
10512 2004-01-28 David Jee <djee@redhat.com>
10514 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10515 (create): Set the default foreground color to
10516 java.awt.SystemColor.windowText.
10518 2004-01-27 Michael Koch <konqueror@gmx.de>
10520 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10521 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10522 Reindented to merge with classpath.
10524 2004-01-27 David Jee <djee@redhat.com>
10526 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10527 (addExposeFilter): Handle GtkFramePeer separately.
10528 (removeExposeFilter): Likewise.
10530 2004-01-27 Michael Koch <konqueror@gmx.de>
10532 * gnu/java/net/protocol/http/Connection.java
10533 (getOutputStream): Fixed typo.
10535 2004-01-27 Michael Koch <konqueror@gmx.de>
10537 * java/lang/Class.java
10538 (getConstructor): Removed SecurityException from throws clause.
10539 (_getConstructors): Likewise.
10540 (getConstructors): Likewise.
10541 (getDeclaredConstructor): Likewise.
10542 (getDeclaredClasses): Likewise.
10543 (getDeclaredConstructors): Likewise.
10544 (getDeclaredField): Likewise.
10545 (getDeclaredMethod): Likewise.
10546 (getDeclaredMethods): Likewise.
10547 (getField): Likewise.
10548 (getMethod): Likewise.
10549 (getMethods): Likewise.
10551 2004-01-27 Kim Ho <kho@redhat.com>
10553 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10554 (removeMenuBarPeer): Remove MenuBarPeer argument.
10555 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10556 (dispose): Call native method.
10557 * java/awt/Frame.java (setMenuBar): Create and remove
10558 MenuBar peers only if the Frame has a peer.
10559 (addNotify): Create the MenuBar peer if one exists.
10560 (removeNotify): Remove MenuBar peer if one exists.
10561 * java/awt/Menu.java: Fix imports.
10562 (addNotify): Don't use full class name.
10563 (removeNotify): Call removeNotify on all children.
10564 * java/awt/MenuBar.java (removeNotify): Call
10565 removeNotify on all children.
10566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10567 (removeMenuBarPeer): Remove MenuBarPeer argument.
10568 Iterate through children to find the Frame's MenuBar.
10569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10571 (dispose): Remove references to the MenuComponent.
10573 2004-01-27 Michael Koch <konqueror@gmx.de>
10575 * javax/swing/AbstractCellEditor.java: Reformated.
10576 * javax/swing/DefaultListSelectionModel.java
10577 (listenerList): Made protected.
10578 (addListSelectionListener): Javadoc added.
10579 (removeListSelectionListener): Likewise.
10580 (getListeners): Likewise.
10581 (getListSelectionListeners): Likewise.
10582 * javax/swing/JComboBox.java: Merged copyright year.
10583 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10585 2004-01-26 Andrew Haley <aph@redhat.com>
10587 * javax/swing/table/JTableHeader.java: Extend JComponent
10589 2004-01-26 Kim Ho <kho@redhat.com>
10591 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10594 2004-01-26 Kim Ho <kho@redhat.com>
10596 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10598 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10599 height and let the Layout Managers readjust anything that
10601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10602 (moveLayout): New method. Shift everything in the Gtk
10603 layout in the Y direction by an offset.
10605 2004-01-26 David Jee <djee@redhat.com>
10607 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10608 (handleEvent): Implemented. Handles PaintEvents.
10609 (paint): Implemented. Use GTK native methods to queue updates
10610 for this heavyweight peer.
10611 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10612 (handleEvent): Removed.
10613 * java/awt/Component.java
10614 (paint): Implemented. Explictly paint the heavyweight peer.
10615 (update): Clear the background for heavyweight components.
10616 (paintAll): No need to call peer.paint() anymore.
10617 (processEvent): Don't process PaintEvents here. It's now done in
10618 the peer's handleEvent().
10619 (processPaintEvent): Removed.
10620 * java/awt/Container.java
10621 (paint): No need to call super.paint(). Visit heavyweight
10623 (update): Don't clear the background here. It's done in
10624 Component.update().
10625 (visitChildren): Added check to not recurse into Containers.
10626 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10627 (filter_expose_event_handler): New method. Filter unwanted
10628 expose events while painting heavyweight peers.
10629 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10630 New method. Connect filter and block pre_event_handler.
10631 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10632 New method. Disconnect filter and unblock pre_event_handler.
10633 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10634 New method. Invalidate and update given area.
10635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10636 (pre_event_handler): Add checks for unwanted expose events.
10638 2004-01-26 David Jee <djee@redhat.com>
10640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10641 (find_bg_color_widget): For GtkButton, return its child.
10643 2004-01-26 Kim Ho <kho@redhat.com>
10645 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10647 (setMenuBar): Grab MenuBar height and change insets.
10648 (setBounds): Account for MenuBar height.
10649 (postInsetsChangedEvent): Ditto.
10650 (postSizeAllocateEvent): Remove.
10651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10652 (menubar_resize_cb): Remove
10653 (setMenuBarPeer): Remove callback.
10654 (getMenuBarHeight): Use size requisition instead of
10657 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10659 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10660 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10662 (setColumns): Remove FIXME -- peer will retrieve number of
10663 columns by calling getColumns.
10664 (setRows): Likewise for number of rows.
10665 (next_text_number): New field.
10666 (paramString): Fix param string.
10667 (generateName): New method.
10668 (getUniqueLong): New method.
10670 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10672 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10673 image observer of image loading status.
10674 (getImage (String)): Start image production.
10675 (getImage (URL)): Likewise.
10677 2004-01-25 Michael Koch <konqueror@gmx.de>
10679 * java/lang/Class.java: Imports reworked, reformated.
10680 (Class): Javadoc added.
10681 (forName): Likewise.
10682 (getClasses): Likewise.
10683 (getClassLoader): Likewise.
10684 (getComponentType): Likewise.
10685 (getConstructor): Likewise.
10686 (getConstructors): Likewise.
10687 (getDeclaredConstructor): Likewise.
10688 (getDeclaredClasses): Likewise.
10689 (getDeclaredConstructors): Likewise.
10690 (getDeclaredField): Likewise.
10691 (getDeclaredMethod): Likewise.
10692 (getDeclaredMethods): Likewise.
10693 (getDeclaringClass): Likewise.
10694 (getField): Likewise.
10695 (getInterfaces): Likewise.
10696 (getMethod): Likewise.
10697 (getMethods): Likewise.
10698 (getModifiers): Likewise.
10699 (getName): Likewise.
10700 (getResource): Likewise.
10701 (getResourceAsStream): Likewise.
10702 (getSigners): Likewise.
10703 (setSigners): Likewise.
10704 (getSuperclass): Likewise.
10705 (isArray): Likewise.
10706 (isAssignableFrom): Likewise.
10707 (isInstance): Likewise.
10708 (isInterface): Likewise.
10709 (isPrimitive): Likewise.
10710 (newInstance): Likewise.
10711 (getProtectionDomain): Likewise.
10712 (toString): Likewise.
10714 (initializeClass): Likewise.
10715 (finalize): Likewise.
10717 2004-01-24 Michael Koch <konqueror@gmx.de>
10719 * gnu/java/net/protocol/jar/Connection.java
10720 (hdrHash): Removed.
10722 (gotHeaders): Removed.
10723 (getHeaderField): Removed.
10724 (getHeaderFields): Removed.
10725 (getHeaderFieldKey): Removed.
10727 (getField): Removed.
10728 (getHeaders): Removed.
10730 2004-01-24 Michael Koch <konqueror@gmx.de>
10732 * Makefile.am: Added library version to gtk peer lib.
10733 * Makefile.in: Regenerated.
10735 2004-01-24 Michael Koch <konqueror@gmx.de>
10737 * java/util/zip/InflaterInputStream.java: Merged class documentation
10740 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10742 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10743 header. For __powerpc64__ provide the default-signal.h definitions
10745 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10746 instead of the dummy definitions.
10747 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10748 (powerpc64*-*): Remove with_libffi_default.
10749 Only add -mminimal-toc for 64-bit compilations.
10750 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10751 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10752 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10753 * configure: Rebuilt.
10755 2004-01-23 Michael Koch <konqueror@gmx.de>
10757 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10759 2004-01-23 Michael Koch <konqueror@gmx.de>
10761 * java/lang/VMClassLoader.java: Reworked imports.
10763 2004-01-23 Michael Koch <konqueror@gmx.de>
10765 * javax/swing/AbstractAction.java: Reformated.
10767 2004-01-23 Michael Koch <konqueror@gmx.de>
10769 * java/text/CollationElementIterator.java:
10770 (setText): New method.
10772 2004-01-23 Michael Koch <konqueror@gmx.de>
10774 * gnu/java/nio/FileLockImpl.java:
10775 Fixed filename in copyright.
10776 (released): Removed.
10777 (finalize): New method.
10778 * gnu/java/nio/natFileLockImpl.cc
10779 (releaseImpl): Implemented.
10780 * java/nio/channels/FileChannelImpl.java:
10782 (lock): Implemented.
10783 (lockImpl): New method.
10784 (tryLock): Implemented.
10785 (tryLockImpl): New method.
10786 * java/nio/channels/natFileChannelImpl.cc
10787 (lockImpl): New method.
10788 (tryLockImpl): New method.
10790 2004-01-23 Michael Koch <konqueror@gmx.de>
10792 * java/io/FileDescriptor.java
10793 (lock): New method.
10794 (tryLock): New method.
10795 (unlock): New method.
10796 * java/io/natFileDescriptorEcos.cc
10797 (lock): New method.
10798 (tryLock): New method.
10799 (unlock): New method.
10800 * java/io/natFileDescriptorPosix.cc
10801 (lock): New method.
10802 (tryLock): New method.
10803 (unlock): New method.
10804 * java/io/natFileDescriptorWin32.cc
10805 (lock): New method.
10806 (tryLock): New method.
10807 (unlock): New method.
10809 2004-01-23 Michael Koch <konqueror@gmx.de>
10811 * java/io/FileDescriptor.java
10812 (sync): Moved around, added javadoc.
10817 (setLength): Likewise.
10819 (getLength): Likewise.
10820 (getFilePointer): Likewise.
10822 (available): Likewise.
10823 (finalize): Likewise.
10825 2004-01-23 Michael Koch <konqueror@gmx.de>
10827 * javax/swing/AbstractAction.java: Reformated.
10828 (getPropertyChangeListeners): New method.
10829 * javax/swing/AbstractCellEditor.java: Reformated.
10830 (getCellEditorListeners): New method.
10831 * javax/swing/DefaultListSelectionModel.java
10832 (listenerList): New field.
10833 (listeners): Removed.
10834 (get_listeners): Removed.
10835 (addListSelectionListener): Rewritten.
10836 (removeListSelectionListener): Rewritten.
10837 (getListSelectionListeners): New method.
10838 (getListeners): New method.
10839 * javax/swing/JComboBox.java: Imports reworked.
10840 (addActionListener): Implemented.
10841 (removeActionListener): Implemented.
10842 (addItemListener): Implemented.
10843 (removeItemListener): Implemented.
10844 (addPopupMenuListener): Implemented.
10845 (removePopupMenuListener): Implemented.
10846 (getActionListeners): New method.
10847 (getItemListeners): New method.
10848 (getPopupMenuListeners): New method.
10850 2004-01-23 Michael Koch <konqueror@gmx.de>
10852 * gnu/java/net/protocol/http/Connection.java
10853 (connect): Don't initialize bufferedOutputStream if not needed.
10854 (sendRequest): Set property for content length if content is present.
10855 Write content only if present.
10856 (getOutputStream): Check if already connected, dont connect,
10857 initalize bufferedOutputStream if needed.
10859 2004-01-23 Michael Koch <konqueror@gmx.de>
10861 * java/io/FileDescriptor.java
10862 (in, out, err): Added javadoc.
10863 (static): Merged loading code.
10864 (fd, position): Moved around.
10866 2004-01-23 Michael Koch <konqueror@gmx.de>
10868 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10871 2004-01-23 Michael Koch <konqueror@gmx.de>
10873 * java/lang/Class.java,
10874 java/lang/Object.java,
10875 java/lang/Thread.java: Merged copyright with classpath.
10877 2004-01-23 Michael Koch <konqueror@gmx.de>
10879 * java/io/FileDescriptor.java: Merged copyright with classpath to
10880 start merging this class.
10882 2004-01-22 Tom Tromey <tromey@redhat.com>
10885 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10886 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10887 * testsuite/libjava.lang/pr13107_3.java: New file.
10888 * testsuite/libjava.lang/pr13107_3.out: New file.
10889 * testsuite/libjava.lang/pr13107_2.java: New file.
10890 * testsuite/libjava.lang/pr13107_2.out: New file.
10891 * testsuite/libjava.lang/pr13107.java: New file.
10892 * testsuite/libjava.lang/pr13107.out: New file.
10893 * verify.cc (jsr_ptrs): Removed.
10894 (entry_points): Likewise.
10895 (struct subr_info): Likewise.
10896 (struct subr_entry_info): Likewise.
10897 (type_val::unused_by_subroutine_type): Likewise.
10898 (type::merge): Don't handle unused_by_subroutine_type.
10899 (type::print): Likewise.
10900 (state::flags): Removed.
10901 (state::subroutine): Likewise.
10902 (state::seen_subrs): Likewise.
10903 (state::NO_STACK): Likewise.
10904 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10905 (state): Updated all methods.
10906 (state::clean_subrs): Removed.
10907 (state::state): Removed `ret_semantics' flag.
10908 (state::copy): Likewise.
10909 (state::add_subr): Removed.
10910 (state::enter_subroutine): Likewise.
10911 (type::set_return_address): New method.
10912 (handle_jsr_insn): Set return address on the type. Always
10913 invalidate PC after call.
10914 (check_nonrecursive_call): Removed.
10915 (~_Jv_BytecodeVerifier): Updated.
10916 (branch_prepass): Removed special handling of jsr.
10917 (note_branch_target): Likewise.
10918 (get_subroutine): Removed.
10919 (state::merge): Don't merge subroutines and don't handle
10920 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10921 (state::note_variable): Removed.
10922 (state::is_unmerged_ret_state): Likewise.
10923 (state::print): Updated.
10924 (set_variable): Likewise.
10925 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10926 and jsr_semantics arguments. Updated for new reverification
10928 (pop_jump): Rewrote.
10929 (construct_primitive_array_type): Updated.
10930 (state::next): Removed.
10931 (INVALID_STATE): New define.
10932 (state::INVALID): Removed.
10933 (state::NO_NEXT): New value.
10934 (state::pc, state::next): New fields.
10935 (state::get_pc): New method.
10936 (next_verify_pc): Removed.
10937 (next_verify_state): New field.
10938 (verify_instructions_0): Always check for falling off end.
10939 (linked): New type.
10940 (linked_utf8): Removed.
10941 (states): Changed type.
10942 (type::state_mergeable_p): New method.
10943 (state::state_mergeable_p): Likewise.
10944 (handle_ret_insn): Removed most code.
10945 (state::reverify): New method.
10946 (add_new_state): Likewise.
10947 (state::set_pc): Likewise.
10949 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10952 * testsuite/libjava.compile/PR13733.java: New file.
10953 * testsuite/libjava.compile/PR13733.xfail: New file.
10955 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10956 Michael Koch <konqueror@gmx.de>
10958 * javax/swing/table/DefaultTableCellRenderer.java
10959 (DefaultTableCellRenderer): Added javadoc for the class and for
10960 the constructor, Border instance, create an EmptyBorder.
10961 (UIResource): Removed the comment at the end of the class
10962 (setForeground): New method.
10963 (setBackground): New method.
10964 (updateUI): New method.
10965 (getTableCellRendererComponent): Rewritten with the help of
10966 dvholten and Stephane Meslin-Weber.
10967 (validate): New method.
10968 (repaint): New method.
10969 (firePropertyChange): New method.
10970 (setValue): New method.
10972 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10974 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10975 (connectJObject): Replace printf calls with g_assert statements.
10976 Move property-notify-event signal connection to ...
10977 (connectSignals): Connect property-notify-event signal. Iterate
10978 through the vbox's children to find layout.
10980 2004-01-22 Graydon Hoare <graydon@redhat.com>
10982 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10983 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10984 Predicate static initialization on GtkToolkit.useGraphics2D().
10985 * java/awt/Component.java (processPaintEvent): Consume event.
10986 * javax/swing/AbstractButton.java: Reimplement, document.
10987 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10988 * javax/swing/JComponent.java (paint): Use double buffer.
10989 (listenerList): Enable member.
10990 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10991 * javax/swing/JToggleButton.java
10992 (JToggleButton): Modify model constructor.
10993 * javax/swing/SwingUtilities.java
10994 (layoutCompoundLabel): Adjust arithmetic.
10995 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10996 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10997 (getPreferredButtonSize): Include margins in calculation.
10998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10999 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11000 Receive up events from subordinate layout component.
11002 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11004 * java/awt/Component.java (show): Set visible to true before
11007 2004-01-21 Kim Ho <kho@redhat.com>
11009 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11011 (removeMenuBarPeer): Make package private.
11012 (setMenuBarPeer): Make package private.
11013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11014 (menubar_resize_cb): Mark attributes unused.
11015 (getMenuBarHeight): ditto.
11017 2004-01-21 David Jee <djee@redhat.com>
11019 * java/awt/Container.java
11020 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11021 dispatching MOUSE_ENTERED event twice. Translate the point for
11022 the mouse event target before dispatching the event.
11024 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11026 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11027 lib_org_w3c_dom_la_LDFLAGS): New.
11028 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11029 * Makefile.in: Rebuilt.
11031 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11033 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11034 Calculate proper offsets for heavyweight components packed in
11035 lightweight containers.
11037 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11038 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11039 (native create): Add width parameter.
11040 (create): Calculate text entry width based on current font's
11041 metrics and number of columns. Set TextField's font if not
11042 already set. Call native create.
11043 (gtkEntryGetBorderWidth): New native method.
11044 (gtkEntryGetSize): Remove method.
11045 (getMinimumSize): Call minimumSize.
11046 (getPreferredSize): Call preferredSize.
11047 (minimumSize): Calculate minimum size based on backing
11048 GtkEntry's borders, font metrics and number of columns.
11049 (preferredSize): Likewise for preferred size.
11050 (get_border_width): New static function.
11052 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11053 Override GtkWindowPeer's setResizable method to account for menu
11054 bar height when setting the frame's size.
11056 2004-01-19 Matthias Klose <doko@debian.org>
11058 * libtool-version: Increased `current' to 6.
11060 2004-01-19 Kim Ho <kho@redhat.com>
11062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11063 (connectJObject): Iterate through the vbox's children to find layout.
11065 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11067 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11068 isDispatchThread method to replace wrong test condition.
11070 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11072 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11073 events to the queue out of order by acquiring locks in the proper
11074 order and not by releasing one before acquiring the other.
11076 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11078 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11079 visible so that dialog can be reused.
11081 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11083 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11084 events may be handled by any queue in the stack.
11086 2004-01-19 Kim Ho <kho@redhat.com>
11088 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11089 MenuBarPeer parameter.
11090 (removeMenuBarPeer): New native method.
11091 (setMenuBar): Call remove if menu bar is null. Adjust insets
11093 (postSizeAllocateEvent): New method. Called when menu bar size is
11094 allocated. Adjust insets and redo layout.
11095 (GtkFramePeer): Set menu bar during frame creation.
11096 (postConfigureEvent): Adjust position and size to accomodate
11098 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11099 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11100 (addNotify): Create the peer if it doesn't exist and call addNotify
11101 for the menu's items.
11102 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11103 * java/awt/MenuItem.java (addNotify): Create the peer if it
11105 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11106 (removeMenuBarPeer): New method. Remove menu bar on the current
11108 (setMenuBarPeer): Add the menu bar to the current frame and the
11109 callback for size-allocate events on the menu bar.
11110 (getMenuBarHeight): Add menu bar parameter.
11111 (menubar_resize_cb): New callback method for postSizeAllocate events.
11113 Also: Fix indentation on last ChangeLog entry.
11115 2004-01-16 Kim Ho <kho@redhat.com>
11117 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11118 (gtkWidgetGetDimensions): Remove.
11119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11120 (gtkWidgetGetDimensions): Remove.
11122 2004-01-16 Tom Tromey <tromey@redhat.com>
11124 * java/awt/Container.java: Typo and indentation fixes.
11126 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11127 * java/lang/natVMClassLoader.cc: ...here. New file.
11128 * Makefile.in: Rebuilt.
11129 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11131 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11134 Discard GDK_ENTER_NOTIFY related to ungrabs.
11136 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11138 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11139 is called for an intermediate queue.
11141 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11144 (window_property_changed_cb): Set id_set.
11146 2004-01-16 Kim Ho <kho@redhat.com>
11148 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11149 it is a FileDialog and has dimensions of 0 by 0, then the initial
11150 size is set to size request plus insets.
11151 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11152 (gtkWidgetGetDimensions): Override method.
11153 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11154 (gtkWidgetGetDimensions): Override method. Returns size request plus
11157 2004-01-16 Andrew Haley <aph@redhat.com>
11159 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11160 * sysdep/i386/locks.h: Likewise.
11162 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11164 * java/awt/EventDispatchThread.java (run): Stop running when
11166 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11167 Reset the queue after transferring its contents.
11168 (push): Start a new dispatch thread if none is running.
11170 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11172 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11173 (doPolygon): set fill rule of polygon to
11174 WIND_EVEN_ODD by default.
11176 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11178 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11179 Implemented rendering hints related methods.
11180 (getDefaultHints): New helper method. Returns
11181 default rendering hints.
11182 (walkPath): changed to normalize path if
11183 the KEY_STROKE_CONTROL key is in "normalize" mode.
11184 (draw3DRect): changed coordinates of rectangle by +0.5
11185 if in "normalize" mode.
11187 2004-01-15 Tom Tromey <tromey@redhat.com>
11189 * Makefile.in: Rebuilt.
11190 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11191 (%.lo: %.java) Filter out StackTrace.lo.
11193 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11195 * configure.in: Add in AC_PREREQ(2.13)
11196 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11199 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11200 Tom Tromey <tromey@redhat.com>
11203 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11204 array to superclass.
11205 (init): Changed interface; add URLs here.
11206 (initialize): New static method.
11207 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11208 (_Jv_RunMain): ... not here.
11210 2004-01-14 Michael Koch <konqueror@gmx.de>
11212 * java/text/MessageFormat.java:
11213 Added descriptions to exceptions.
11214 This fixes PR libgcj/2429.
11216 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11218 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11219 (push): Make sure push is performed at the top of the thread stack.
11221 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11223 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11224 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11225 (native create): Add width and height parameters. Set text
11226 view's size request according to new parameters.
11227 (create): Calculate text view size based on current font's
11228 metrics and number of rows and columns. Set TextArea's font if
11229 not already set. Call native create.
11230 (getMinimumSize): Call minimumSize.
11231 (getPreferredSize): Call preferredSize.
11232 (getHScrollbarHeight): New method.
11233 (getVScrollbarWidth): New method.
11234 (minimumSize): Calculate minimum size based on scrollbar
11235 visibility, scrollbar sizes, font metrics and number of rows and
11237 (preferredSize): Likewise for preferred size.
11238 (gtkTextGetSize): Remove method.
11240 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11242 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11243 (initializeInsets): Remove method.
11244 (GtkComponentPeer): Initialize insets field. Remove call to
11246 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11248 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11250 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11251 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11252 (latestInsets): Remove field.
11253 (native create): Add insets parameter. Call
11254 window_get_frame_extents. Set the window's default size and
11255 size request based on its frame extents.
11256 (create): Initialize insets.
11257 (postInsetsChangedEvent): New method.
11258 (postConfigureEvent): Remove parameters top, left, bottom,
11259 right. Remove insets-related logic.
11260 (connectJObject): Handle property-notify-event.
11261 (window_get_frame_extents, request_frame_extents,
11262 property_notify_predicate, window_property_changed_cb): New
11264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11265 (pre_event_handler): Remove insets-related logic for configure
11267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11268 Update postConfigureEvent signature.
11270 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11272 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11273 to handle Window "Closing" events.
11275 2004-01-13 David Jee <djee@redhat.com>
11277 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11278 (setBackground): New method. Children with no explicitly-set
11279 background will be repainted with the parent container's new
11282 2004-01-13 David Jee <djee@redhat.com>
11284 * Makefile.am: Add BitwiseXORComposite.java.
11285 * Makefile.in: Regenerated.
11286 * gcj/Makefile.in: Regenerated.
11287 * include/Makefile.in: Regenerated.
11288 * testsuite/Makefile.in: Regenerated.
11290 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11292 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11293 not show modal dialogs twice and so that it allows showing a modal
11294 dialog from another modal dialog.
11296 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11298 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11299 and run secondary dispatch thread to process event queue while this
11302 2004-01-12 Graydon Hoare <graydon@redhat.com>
11304 * gnu/java/awt/gtk/GdkGraphics2D.java
11305 (static): Check GtkToolkit before initializing static state.
11306 (Graphics2D): Don't construct transform with 0.5 unit offset.
11308 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11310 * gnu/java/awt/BitwiseXORComposite.java: Add.
11311 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11312 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11313 (BitwiseXORComposite): Remove inner class.
11315 2004-01-11 Michael Koch <konqueror@gmx.de>
11317 * gnu/java/lang/reflect/TypeSignature.java
11318 (getEncodingOfClass): Documentation fixed.
11319 (getClassForEncoding): Give class loader to Class.forName().
11320 Documentation fixed.
11322 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11324 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11326 2004-01-11 Michael Koch <konqueror@gmx.de>
11328 * javax/swing/undo/StateEditable.java
11329 (RCSID): Removed redundant modifiers.
11331 2004-01-10 Michael Koch <konqueror@gmx.de>
11333 * javax/print/attribute/EnumSyntax.java
11334 (getStringTable): Made protected.
11335 (getEnumValueTable): Likewise.
11336 * javax/print/attribute/standard/JobKOctetsProcessed.java
11337 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11338 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11339 (JobMediaSheetsCompleted): Made class final.
11340 * javax/print/attribute/standard/OutputDeviceAssigned.java
11341 (getName): Fixed typo.
11342 * javax/print/attribute/standard/RequestingUserName.java
11343 (serialVersionUID): Fixed value.
11345 2004-01-10 Michael Koch <konqueror@gmx.de>
11347 * javax/swing/plaf/basic/BasicButtonUI.java,
11348 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11349 javax/swing/plaf/basic/BasicListUI.java,
11350 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11351 javax/swing/plaf/basic/BasicPanelUI.java,
11352 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11353 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11354 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11355 javax/swing/plaf/basic/BasicViewportUI.java:
11356 Fixed import statements.
11358 2004-01-10 Michael Koch <konqueror@gmx.de>
11360 * gnu/java/awt/image/ImageDecoder.java
11361 (produce): Made public.
11362 * gnu/java/awt/peer/GLightweightPeer.java,
11363 gnu/java/awt/peer/gtk/GtkToolkit.java:
11366 2004-01-10 Michael Koch <konqueror@gmx.de>
11368 * javax/swing/JRadioButtonMenuItem.java,
11369 javax/swing/JSeparator.java,
11370 javax/swing/JSplitPane.java,
11371 javax/swing/JTextPane.java,
11372 javax/swing/JToolBar.java,
11373 javax/swing/ListCellRenderer.java,
11374 javax/swing/ListModel.java,
11375 javax/swing/MenuElement.java,
11376 javax/swing/OverlayLayout.java,
11377 javax/swing/ProgressMonitor.java,
11378 javax/swing/ProgressMonitorInputStream.java,
11379 javax/swing/Renderer.java,
11380 javax/swing/RootPaneContainer.java,
11381 javax/swing/Scrollable.java,
11382 javax/swing/SingleSelectionModel.java,
11383 javax/swing/ToolTipManager.java,
11384 javax/swing/ViewportLayout.java,
11385 javax/swing/event/DocumentEvent.java,
11386 javax/swing/event/SwingPropertyChangeSupport.java,
11387 javax/swing/event/TreeSelectionEvent.java,
11388 javax/swing/event/UndoableEditEvent.java,
11389 javax/swing/text/AbstractDocument.java,
11390 javax/swing/text/AttributeSet.java,
11391 javax/swing/text/Caret.java,
11392 javax/swing/text/ComponentView.java,
11393 javax/swing/text/DefaultCaret.java,
11394 javax/swing/text/DefaultEditorKit.java,
11395 javax/swing/text/Document.java,
11396 javax/swing/text/EditorKit.java,
11397 javax/swing/text/GapContent.java,
11398 javax/swing/text/Keymap.java,
11399 javax/swing/text/MutableAttributeSet.java,
11400 javax/swing/text/PlainEditorKit.java,
11401 javax/swing/text/Segment.java,
11402 javax/swing/text/Style.java,
11403 javax/swing/text/StyledDocument.java,
11404 javax/swing/text/StyledEditorKit.java,
11405 javax/swing/text/TextAction.java,
11406 javax/swing/text/View.java: Fixed import statements.
11408 2004-01-08 Graydon Hoare <graydon@redhat.com>
11410 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11411 djee@redhat.com's recent inverse ordering of Container elements.
11413 2004-01-09 Michael Koch <konqueror@gmx.de>
11415 * gnu/java/lang/ArrayHelper.java
11416 (equalsArray): Removed.
11418 2004-01-09 Andrew Haley <aph@redhat.com>
11420 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11421 a Utf8Const field before looking at its class.
11423 2004-01-09 Michael Koch <konqueror@gmx.de>
11425 * javax/print/attribute/standard/DocumentName.java,
11426 javax/print/attribute/standard/JobHoldUntil.java,
11427 javax/print/attribute/standard/JobMessageFromOperator.java,
11428 javax/print/attribute/standard/JobName.java,
11429 javax/print/attribute/standard/JobOriginatingUserName.java,
11430 javax/print/attribute/standard/OutputDeviceAssigned.java,
11431 javax/print/attribute/standard/PrinterInfo.java,
11432 javax/print/attribute/standard/PrinterLocation.java,
11433 javax/print/attribute/standard/PrinterMakeAndModel.java,
11434 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11435 javax/print/attribute/standard/PrinterName.java,
11436 javax/print/attribute/standard/RequestingUserName.java: New files.
11437 * Makefile.am (javax_source_files): Added new files.
11438 * Makefile.in: Regenerated.
11440 2004-01-09 Michael Koch <konqueror@gmx.de>
11442 * javax/swing/AbstractAction.java,
11443 javax/swing/AbstractSet.java,
11444 javax/swing/Action.java,
11445 javax/swing/ActionMap.java,
11446 javax/swing/BoundedRangeModel.java,
11447 javax/swing/ButtonModel.java,
11448 javax/swing/CellEditor.java,
11449 javax/swing/CellRendererPane.java,
11450 javax/swing/ComboBoxEditor.java,
11451 javax/swing/DebugGraphics.java,
11452 javax/swing/DefaultCellEditor.java,
11453 javax/swing/DefaultCellRenderer.java,
11454 javax/swing/DefaultComboBoxModel.java,
11455 javax/swing/DefaultDesktopManager.java,
11456 javax/swing/DefaultFocusManager.java,
11457 javax/swing/DefaultListCellRenderer.java,
11458 javax/swing/Icon.java,
11459 javax/swing/JButton.java,
11460 javax/swing/JCheckBoxMenuItem.java,
11461 javax/swing/JDesktopPane.java,
11462 javax/swing/JEditorPane.java,
11463 javax/swing/JMenu.java,
11464 javax/swing/JPanel.java,
11465 javax/swing/JPasswordField.java,
11466 javax/swing/JPopupMenu.java,
11467 javax/swing/JProgressBar.java: Reworked imports.
11469 2004-01-09 Michael Koch <konqueror@gmx.de>
11471 * java/awt/geom/PathIterator.java
11472 (WIND_EVEN_ODD): Removed redundant modifiers.
11473 (WIND_NON_ZERO): Likewise.
11474 (SEG_MOVETO): Likewise.
11475 (SEG_LINETO): Likewise.
11476 (SEG_QUADTO): Likewise.
11477 (SEG_CUBICTO): Likewise.
11478 (SEG_CLOSE): Likewise.
11479 * java/awt/image/SinglePixelPackedSampleModel.java:
11480 Removed redundant semicolon.
11481 * java/io/ObjectInputStream.java
11482 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11483 * java/util/logging/Filter.java
11484 (isLoggable): Removed redundant modifier.
11485 * java/util/logging/LogManager.java:
11486 Removed redundant semicolon.
11487 * java/util/logging/XMLFormatter.java
11488 (format): Removed unused variable "key".
11490 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11492 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11493 New name for the former setFile native method.
11494 (setFile): New method.
11495 (setDirectory): Implemented.
11496 (connectSignals): New native method.
11497 (setFilenameFilter): Improve comment.
11498 (getGraphics): Comment.
11499 (gtkHideFileDialog): New method.
11500 (gtkDisposeFileDialog): New method.
11501 (gtkSetFilename): New method.
11502 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11503 for FileDialog for now.
11504 (hide): New method.
11505 (dispose): New method.
11506 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11507 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11508 deprecated creation functions. Make dialog modal. Add it to the
11510 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11512 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11514 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11516 (window_closed): New function.
11517 (ok_clicked): New function.
11518 (cancel_clicked): New function.
11520 2004-01-08 Michael Koch <konqueror@gmx.de>
11522 * javax/swing/JLayeredPane.java: Revert changes to standard
11523 boilerplate, reworked imports.
11525 2004-01-07 Tom Tromey <tromey@redhat.com>
11528 * verify.cc (state::merge): Copy changed locals out of subroutine
11530 (state::FLAG_CHANGED): New const.
11531 (state::FLAG_UNUSED): Likewise.
11532 (state::local_changed): Removed. Updated all users.
11533 (state::flags): New field.
11534 (state::merge): Added jsr_semantics argument, more logic.
11535 (push_jump_merge): Added jsr_semantics argument.
11536 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11537 merging through the jsr instruction.
11539 2004-01-07 Tom Tromey <tromey@redhat.com>
11541 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11544 2004-01-07 Graydon Hoare <graydon@redhat.com>
11546 * java/awt/Container.java (LightweightDispatcher): Implement.
11547 (visitChild): Reuse graphics object.
11548 (dispatchEventImpl): Optionally dispatch to lightweight.
11549 (addNotifyContainerChildren): Build LightweightDispatcher.
11551 2004-01-07 David Jee <djee@redhat.com>
11553 * java/awt/Container.java
11554 (update): Clear only the clipped region, instead of clearing the
11556 (visitChildren): Visit children in descending order.
11558 2004-01-07 Michael Koch <konqueror@gmx.de>
11560 * java/lang/reflect/Array.java: Merged documentation with classpath.
11562 2004-01-07 Michael Koch <konqueror@gmx.de>
11564 * java/text/CollationElementIterator.java
11565 (textIndex): Renamed from index.
11566 * java/text/CollationKey.java
11567 (collator): New member.
11568 (CollationKey): New argument for parent collator.
11569 (equals): Check for same collator, source string and key array.
11570 * java/text/RuleBasedCollator.java:
11572 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11574 (getCollationElementIterator): Rewritten.
11575 (getCollationKey): Added new argument to CollationKey constructor.
11577 2004-01-07 Michael Koch <konqueror@gmx.de>
11579 * gnu/java/nio/DatagramChannelImpl.java
11580 (blocking): Removed.
11581 (DatagramChannelImpl): Call configureBlocking().
11582 (implConfigureBlocking): Dont initialize blocking.
11583 * gnu/java/nio/ServerSocketChannelImpl.java
11584 (blocking): Removed.
11585 (ServerSocketChannelImpl): Call configureBlocking().
11586 (implConfigureBlocking): Dont initialize blocking.
11587 * gnu/java/nio/SocketChannelImpl.java
11588 (blocking): Removed.
11589 (SocketChannelImpl): Call configureBlocking().
11590 (implConfigureBlocking): Dont initialize blocking.
11591 (connect): Use isBlocking().
11592 * java/nio/channels/spi/AbstractSelectableChannel.java
11593 (configureBlocking): Use blockingLock() instead of LOCK.
11594 Set blocking after successfully called implConfigureBlocking().
11595 (register): Use blockingLock() instead of LOCK.
11597 2004-01-07 Michael Koch <konqueror@gmx.de>
11599 * java/net/ServerSocket.java (isBound): Fixed documentation.
11601 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11603 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11604 (changeEvent): Create event object on demand.
11605 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11606 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11607 fireStateChanged): Re-written.
11608 * javax/swing/event/EventListenerList.java: Reformatted, document
11610 (toString): Implemented.
11611 (getListeners): Re-written.
11612 (remove): Re-written.
11614 (NO_LISTENERS): New singleton field.
11615 (listenerList): Declare as transient; document.
11616 (serialVersionUID): Document.
11617 (getListenerCount(Class)): More efficient implementation,
11618 also accepts null argument. Improve Javadoc.
11619 (getListenerCount()): Remove unnecessary cast; docfix.
11620 * javax/swing/undo/UndoableEditSupport.java:
11621 Re-format, document.
11622 (UndoableEditSupport): Set realSource field. Improve documentation.
11623 (_postEdit): Iterate over cloned listener vector.
11624 (toString): Don't emit realSource.
11625 (beginUpdate, endUpdate): Support nested updates.
11626 (postEdit): Use compound edit if present.
11628 2004-01-06 Graydon Hoare <graydon@redhat.com>
11630 * java/awt/Container.java (swapComponents): Add forgotten
11631 function, required for JLayeredPane change.
11633 2004-01-06 Michael Koch <konqueror@gmx.de>
11635 * java/text/CollationElementIterator.java: Reformated.
11636 (CollationElementIterator): Changed order of arguments.
11637 * java/text/RuleBasedCollator.java
11638 (RuleBasedCollator): Merged class documentation.
11639 (CollationElement): Added documentation.
11640 (compare): Reformated, renamed arguments.
11641 (equals): Likewise.
11642 (getCollationElementIterator): Likewise.
11643 (getCollationKey): Likewise.
11645 2004-01-06 Graydon Hoare <graydon@redhat.com>
11647 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11649 2004-01-06 Michael Koch <konqueror@gmx.de>
11651 * gnu/java/net/protocol/file/Connection.java:
11652 Reformated copyright.
11653 (hdrHash): Removed.
11655 (gotHeaders): Removed.
11656 (getHeaderField): Removed.
11657 (getHeaderField): Removed.
11658 (getHeaderFieldKey): Removed.
11660 (getField): Removed.
11661 (getHeaders): Removed.
11663 2004-01-06 Michael Koch <konqueror@gmx.de>
11665 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11666 javax/print/attribute/standard/DateTimeAtCreation.java,
11667 javax/print/attribute/standard/DateTimeAtProcessing.java,
11668 javax/print/attribute/standard/JobImpressionsCompleted.java,
11669 javax/print/attribute/standard/JobKOctets.java,
11670 javax/print/attribute/standard/JobKOctetsProcessed.java,
11671 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11672 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11673 * Makefile.am (javax_source_files): Added new files.
11674 * Makefile.in: Regenerated.
11676 2004-01-06 Michael Koch <konqueror@gmx.de>
11678 * java/net/URLConnection.java
11679 (contentHandler): Removed.
11681 (getHeaderFields): Return an empty map instead of null.
11682 (getContent): Connect if needed, renamed "cType" to "type" and
11683 "contentHandler" to "ch" and made it a local variable.
11684 (getPermission): Don't use package in class name.
11685 (setDefaultRequestProperty): Fixed typo in documentation.
11686 (initializeDateFormats): Made locale a local variable.
11688 2004-01-06 Michael Koch <konqueror@gmx.de>
11690 * java/lang/Package.java
11691 (getPackage): Get the current class loader directly.
11692 * java/lang/SecurityManager.java
11693 (currentLoadedClass): Dont iterate over class contexts.
11694 (classLoaderDepth): Don't check class loaders if everything is allowed.
11696 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11699 (pre_event_handler): Set all insets to 0 when a Configure event
11700 is received for a GtkPlug.
11701 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11702 Make handle long, not int.
11703 (EmbeddedWindow()): New constructor.
11704 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11706 (setHandle): New method.
11707 (getHandle): Return long, not int.
11708 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11710 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11711 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11712 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11713 argument to GdkNativeWindow.
11714 (construct): New method.
11715 (embed): New method.
11717 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11718 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11719 (create(int, int)): New method.
11720 (create): Call new create method.
11721 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11723 (childResized): Remove native implementation. Implement in
11725 (getHScrollbarHeight, getVScrollbarWidth): Call
11726 gtk_widget_size_request to get scrollbar dimensions.
11727 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11728 call getVScrollbarWidth and getHScrollbarHeight when vertical
11729 and horizontal scrollbars respectively are needed.
11730 (doLayout): Enlarge child if it is smaller than the viewport.
11732 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11734 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11735 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11736 argument as per spec.
11738 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11740 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11742 (remove): Ditto. Also, Check for valid argument.
11743 (removeAll): Use peer interface method.
11744 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11745 native add function.
11746 (nativeRemove): New name for native remove function.
11747 (getHistory): New native function.
11748 (constructor): Generate ItemEvent.
11749 (add): Ditto, if selection is changed.
11750 (remove): Ditto, ditto.
11751 (removeAll): Add implementation.
11752 (handleEvent): Remove. Dead code.
11753 (choicePostItemEvent): Add comment.
11754 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11755 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11756 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11757 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11758 comments and fix condition to change selection.
11759 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11760 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11761 remove all capability.
11762 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11763 (item_activate): Add cast to remove compiler warning.
11765 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11767 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11768 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11769 (getPreferredSize): Call preferredSize.
11770 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11771 (getMinimumSize): Call minimumSize.
11772 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11773 (gtkWidgetGetDimensions): Return the peer widget's current size
11775 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11776 natural size request.
11778 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11780 Thanks to Brian Gough <bjg@network-theory.com>
11781 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11782 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11784 2004-01-04 Matthias Klose <doko@debian.org>
11786 * aclocal.m4: Rebuilt using "aclocal -I .".
11787 * configure: Rebuilt.
11789 2004-01-03 Per Bothner <per@bothner.com>
11791 * java/util/Date.java (parse): Fix a number of problems.
11792 (skipParens): Remove no-longer-needed method.