1 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
4 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
6 * Makefile.in: Regenerate.
7 * configure: Regenerate.
8 * configure.ac (CLASSPATH_SEPARATOR): Define.
9 * gcj/Makefile.in: Regenerate.
10 * include/Makefile.in: Regenerate.
11 * testsuite/Makefile.in: Regenerate.
12 * testsuite/lib/libjava.exp (libjava_arguments): Fix
13 CLASSPATH separator handling for Windows.
15 2004-10-26 Michael Koch <konqueror@gmx.de>
17 * gnu/java/net/protocol/http/Connection.java
18 (getOutputStream): Implicitely switch to POST method.
20 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
22 * libjava/java/lang/Class.h
23 (java::lang::Class): Correct friend class declaration.
25 2004-10-25 Geoffrey Keating <geoffk@apple.com>
27 * Makefile.am (DARWIN_CRT_SRC): New.
28 (libgcj_la_SOURCES): Use it.
29 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
30 * darwin.cc: New file.
31 * include/jvm.h (_Jv_RegisterClasses): Constify.
32 (_Jv_RegisterClasses_Counted): New prototype.
33 * java/lang/Class.h: Include stddef.h.
34 (_Jv_RegisterClasses): Constify.
35 (_Jv_RegisterClasses_Counted): New prototype.
36 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
37 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
38 (_Jv_RegisterClasses_Counted): New function.
39 * configure: Regenerate.
40 * Makefile.in: Regenerate.
41 * gcj/Makefile.in: Regenerate.
42 * include/Makefile.in: Regenerate.
43 * testsuite/Makefile.in: Regenerate.
45 2004-10-25 Tom Tromey <tromey@redhat.com>
47 * java/util/ResourceBundle.java (tryBundle): Use
48 Class.isAssignableFrom rather than catching ClassCastException.
50 2004-10-25 Tom Tromey <tromey@redhat.com>
52 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
54 * gnu/java/text/SentenceBreakIterator.java
55 (SentenceBreakIterator): Don't initialize `iter'.
56 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
58 * gnu/java/text/CharacterBreakIterator.java
59 (CharacterBreakIterator): Don't initialize `iter'.
60 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
62 * java/text/BreakIterator.java: Updated documentation.
64 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
67 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
69 2004-10-23 Michael Koch <konqueror@gmx.de>
71 * javax/print/DocFlavor.java,
72 javax/print/attribute/standard/JobStateReason.java,
73 javax/print/attribute/standard/MultipleDocumentHandling.java:
74 Added missing constants.
76 2004-10-22 Tom Tromey <tromey@redhat.com>
78 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
81 2004-10-22 Michael Koch <konqueror@gmx.de>
84 * gnu/java/net/protocol/http/Connection.java
85 (sendRequest): Handle case when url.getFile() returns an empty string.
87 2004-10-22 Michael Koch <konqueror@gmx.de>
89 * java/lang/Math.java,
90 java/lang/StackTraceElement.java,
92 java/nio/ByteBuffer.java,
93 java/nio/CharBuffer.java,
94 java/nio/DoubleBuffer.java,
95 java/nio/FloatBuffer.java,
96 java/nio/IntBuffer.java,
97 java/nio/LongBuffer.java,
98 java/nio/ShortBuffer.java,
99 java/nio/charset/Charset.java,
100 java/rmi/server/RMIClassLoader.java,
101 java/rmi/server/RMISocketFactory.java,
102 java/security/Policy.java,
103 java/text/ChoiceFormat.java,
104 java/text/CollationElementIterator.java,
105 java/text/DateFormat.java,
106 java/text/DecimalFormat.java,
107 java/text/DecimalFormatSymbols.java,
108 java/text/MessageFormat.java,
109 java/text/NumberFormat.java,
110 java/text/RuleBasedCollator.java,
111 java/text/SimpleDateFormat.java,
112 java/util/BitSet.java,
113 java/util/Calendar.java,
114 java/util/Collections.java,
115 java/util/IdentityHashMap.java,
116 java/util/Locale.java,
117 java/util/TreeMap.java,
118 java/util/logging/LogRecord.java,
119 java/util/logging/XMLFormatter.java,
120 java/util/prefs/AbstractPreferences.java,
121 java/util/prefs/Preferences.java,
122 javax/crypto/interfaces/DHPrivateKey.java,
123 javax/crypto/interfaces/DHPublicKey.java,
124 javax/crypto/interfaces/PBEKey.java,
125 javax/net/ssl/HandshakeCompletedEvent.java,
126 javax/security/auth/Subject.java:
127 Removed redundant and reordered modifiers.
129 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
131 * gnu/java/net/natPlainSocketImplPosix.cc
132 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
133 with 'int *' argument instead of 'long *'.
135 2004-10-21 Michael Koch <konqueror@gmx.de>
137 * java/net/NetworkInterface.java,
138 java/text/Format.java,
139 javax/security/auth/x500/X500Principal.java,
140 javax/security/auth/x500/X500PrivateCredential.java,
141 javax/security/cert/X509CertBridge.java,
142 javax/security/sasl/Sasl.java,
143 javax/sql/XAConnection.java:
146 2004-10-21 Michael Koch <konqueror@gmx.de>
148 * javax/net/ssl/HandshakeCompletedEvent.java,
149 javax/net/ssl/KeyManagerFactory.java,
150 javax/net/ssl/SSLContext.java,
151 javax/net/ssl/SSLServerSocketFactory.java,
152 javax/net/ssl/SSLSession.java,
153 javax/net/ssl/SSLSocketFactory.java,
154 javax/net/ssl/TrustManagerFactory.java:
157 2004-10-21 Michael Koch <konqueror@gmx.de>
159 * javax/naming/directory/BasicAttribute.java,
160 javax/naming/directory/BasicAttributes.java,
161 javax/naming/directory/InitialDirContext.java,
162 javax/naming/event/NamingEvent.java,
163 javax/naming/ldap/ControlFactory.java,
164 javax/naming/ldap/ExtendedRequest.java,
165 javax/naming/ldap/InitialLdapContext.java,
166 javax/naming/ldap/LdapReferralException.java,
167 javax/naming/spi/DirObjectFactory.java,
168 javax/naming/spi/DirStateFactory.java,
169 javax/naming/spi/DirectoryManager.java,
170 javax/naming/spi/InitialContextFactory.java,
171 javax/naming/spi/InitialContextFactoryBuilder.java,
172 javax/naming/spi/NamingManager.java,
173 javax/naming/spi/ObjectFactory.java,
174 javax/naming/spi/ObjectFactoryBuilder.java,
175 javax/naming/spi/StateFactory.java:
178 2004-10-21 Michael Koch <konqueror@gmx.de>
180 * javax/crypto/Cipher.java,
181 javax/crypto/EncryptedPrivateKeyInfo.java,
182 javax/crypto/ExemptionMechanism.java,
183 javax/crypto/KeyAgreement.java,
184 javax/crypto/KeyGenerator.java,
185 javax/crypto/Mac.java,
186 javax/crypto/SecretKeyFactory.java,
187 javax/crypto/SecretKeyFactorySpi.java,
188 javax/crypto/spec/SecretKeySpec.java:
191 2004-10-21 Michael Koch <konqueror@gmx.de>
193 * java/security/AlgorithmParameterGenerator.java,
194 java/security/AlgorithmParameters.java,
195 java/security/AlgorithmParametersSpi.java,
196 java/security/AllPermission.java,
197 java/security/BasicPermission.java,
198 java/security/Certificate.java,
199 java/security/CodeSource.java,
200 java/security/DigestInputStream.java,
201 java/security/DigestOutputStream.java,
202 java/security/GuardedObject.java,
203 java/security/KeyFactory.java,
204 java/security/KeyFactorySpi.java,
205 java/security/KeyPairGenerator.java,
206 java/security/KeyStore.java,
207 java/security/KeyStoreSpi.java,
208 java/security/Permissions.java,
209 java/security/Security.java,
210 java/security/Signature.java,
211 java/security/UnresolvedPermission.java,
212 java/security/cert/CertPathBuilder.java,
213 java/security/cert/CertPathValidator.java,
214 java/security/cert/CertStore.java,
215 java/security/cert/Certificate.java,
216 java/security/cert/CertificateFactory.java,
217 java/security/cert/PolicyQualifierInfo.java,
218 java/security/cert/TrustAnchor.java,
219 java/security/cert/X509CRL.java,
220 java/security/cert/X509CRLSelector.java,
221 java/security/cert/X509CertSelector.java:
224 2004-10-21 Michael Koch <konqueror@gmx.de>
226 * java/rmi/MarshalledObject.java,
227 java/rmi/Naming.java,
228 java/rmi/activation/Activatable.java,
229 java/rmi/activation/ActivationGroup.java,
230 java/rmi/activation/ActivationGroupDesc.java,
231 java/rmi/activation/ActivationInstantiator.java,
232 java/rmi/activation/ActivationMonitor.java,
233 java/rmi/activation/ActivationSystem.java,
234 java/rmi/activation/Activator.java,
235 java/rmi/registry/LocateRegistry.java,
236 java/rmi/registry/Registry.java,
237 java/rmi/server/LogStream.java,
238 java/rmi/server/ObjID.java,
239 java/rmi/server/RMIClientSocketFactory.java,
240 java/rmi/server/RMIServerSocketFactory.java,
241 java/rmi/server/RMISocketFactory.java,
242 java/rmi/server/RemoteCall.java,
243 java/rmi/server/RemoteServer.java,
244 java/rmi/server/ServerRef.java,
245 java/rmi/server/UID.java,
246 java/rmi/server/UnicastRemoteObject.java:
249 2004-10-21 Tom Tromey <tromey@redhat.com>
251 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
252 exception if we hit EOF of `in'.
253 (read): Handle case where inflating returns -1.
255 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
257 * gnu/java/nio/channels/natFileChannelPosix.cc
258 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
259 argument instead of 'long *'.
261 2004-10-21 Tom Tromey <tromey@redhat.com>
263 * java/util/ResourceBundle.java (tryBundle): Also ignore
266 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
268 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
269 for all sh*-*-linux* targets.
270 * configure: Regenerate.
271 * include/sh-signal.h: New file.
273 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
275 * java/lang/ieeefp.h: Add m32r support.
277 2004-10-20 Andreas Schwab <schwab@suse.de>
279 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
281 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
284 2004-10-20 Michael Koch <konqueror@gmx.de>
286 * javax/print/attribute/standard/ColorSupported.java,
287 javax/print/attribute/standard/Compression.java,
288 javax/print/attribute/standard/Copies.java,
289 javax/print/attribute/standard/CopiesSupported.java,
290 javax/print/attribute/standard/DateTimeAtCompleted.java,
291 javax/print/attribute/standard/DateTimeAtCreation.java,
292 javax/print/attribute/standard/DateTimeAtProcessing.java,
293 javax/print/attribute/standard/DocumentName.java,
294 javax/print/attribute/standard/Fidelity.java,
295 javax/print/attribute/standard/Finishings.java,
296 javax/print/attribute/standard/JobHoldUntil.java,
297 javax/print/attribute/standard/JobImpressions.java,
298 javax/print/attribute/standard/JobImpressionsCompleted.java,
299 javax/print/attribute/standard/JobImpressionsSupported.java,
300 javax/print/attribute/standard/JobKOctets.java,
301 javax/print/attribute/standard/JobKOctetsProcessed.java,
302 javax/print/attribute/standard/JobKOctetsSupported.java,
303 javax/print/attribute/standard/JobMediaSheets.java,
304 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
305 javax/print/attribute/standard/JobMediaSheetsSupported.java,
306 javax/print/attribute/standard/JobMessageFromOperator.java,
307 javax/print/attribute/standard/JobName.java,
308 javax/print/attribute/standard/JobOriginatingUserName.java,
309 javax/print/attribute/standard/JobPriority.java,
310 javax/print/attribute/standard/JobPrioritySupported.java,
311 javax/print/attribute/standard/JobSheets.java,
312 javax/print/attribute/standard/JobState.java,
313 javax/print/attribute/standard/JobStateReason.java,
314 javax/print/attribute/standard/JobStateReasons.java,
315 javax/print/attribute/standard/Media.java,
316 javax/print/attribute/standard/MultipleDocumentHandling.java,
317 javax/print/attribute/standard/NumberOfDocuments.java,
318 javax/print/attribute/standard/NumberOfInterveningJobs.java,
319 javax/print/attribute/standard/NumberUp.java,
320 javax/print/attribute/standard/NumberUpSupported.java,
321 javax/print/attribute/standard/OrientationRequested.java,
322 javax/print/attribute/standard/OutputDeviceAssigned.java,
323 javax/print/attribute/standard/PDLOverrideSupported.java,
324 javax/print/attribute/standard/PageRanges.java,
325 javax/print/attribute/standard/PagesPerMinute.java,
326 javax/print/attribute/standard/PagesPerMinuteColor.java,
327 javax/print/attribute/standard/PrintQuality.java,
328 javax/print/attribute/standard/PrinterInfo.java,
329 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
330 javax/print/attribute/standard/PrinterLocation.java,
331 javax/print/attribute/standard/PrinterMakeAndModel.java,
332 javax/print/attribute/standard/PrinterMessageFromOperator.java,
333 javax/print/attribute/standard/PrinterMoreInfo.java,
334 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
335 javax/print/attribute/standard/PrinterName.java,
336 javax/print/attribute/standard/PrinterStateReason.java,
337 javax/print/attribute/standard/PrinterStateReasons.java,
338 javax/print/attribute/standard/PrinterURI.java,
339 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
340 javax/print/attribute/standard/RequestingUserName.java:
341 Reorganized imports and removed redundant final modifiers.
343 2004-10-20 Michael Koch <konqueror@gmx.de>
345 * javax/security/sasl/SaslClient.java,
346 javax/security/sasl/SaslClientFactory.java,
347 javax/security/sasl/SaslException.java,
348 javax/security/sasl/SaslServer.java,
349 javax/security/sasl/SaslServerFactory.java:
352 2004-10-20 Michael Koch <konqueror@gmx.de>
354 * javax/security/auth/login/NullConfiguration.java,
355 javax/security/auth/x500/X500Principal.java,
356 javax/security/cert/X509Certificate.java,
357 javax/security/sasl/AuthenticationException.java,
358 javax/security/sasl/AuthorizeCallback.java,
359 javax/security/sasl/RealmCallback.java,
360 javax/security/sasl/RealmChoiceCallback.java,
361 javax/security/sasl/Sasl.java,
362 javax/security/sasl/SaslClient.java,
363 javax/security/sasl/SaslClientFactory.java,
364 javax/security/sasl/SaslException.java,
365 javax/security/sasl/SaslServer.java,
366 javax/security/sasl/SaslServerFactory.java:
367 Cleaned up import statements and copyright notices.
369 2004-10-20 Michael Koch <konqueror@gmx.de>
371 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
373 2004-10-20 Michael Koch <konqueror@gmx.de>
375 * java/sql/Timestamp.java,
376 java/text/AttributedCharacterIterator.java,
377 java/text/AttributedString.java,
378 java/util/zip/CheckedOutputStream.java,
379 java/util/zip/DeflaterOutputStream.java,
380 java/util/zip/ZipFile.java,
381 javax/crypto/Cipher.java,
382 javax/crypto/ExemptionMechanismException.java,
383 javax/crypto/SecretKey.java,
384 javax/crypto/SecretKeyFactory.java,
385 javax/naming/directory/ModificationItem.java,
386 javax/naming/directory/SearchControls.java,
387 javax/naming/event/NamingListener.java,
388 javax/naming/ldap/Control.java,
389 javax/naming/ldap/ExtendedResponse.java,
390 javax/net/ssl/SSLSocketFactory.java:
391 Reorganized imports and fixed copyright headers.
393 2004-10-20 Michael Koch <konqueror@gmx.de>
395 * java/util/logging/ConsoleHandler.java,
396 java/util/logging/ErrorManager.java,
397 java/util/logging/FileHandler.java,
398 java/util/logging/Filter.java,
399 java/util/logging/Formatter.java,
400 java/util/logging/Handler.java,
401 java/util/logging/Level.java,
402 java/util/logging/LogManager.java,
403 java/util/logging/LogRecord.java,
404 java/util/logging/Logger.java,
405 java/util/logging/LoggingPermission.java,
406 java/util/logging/MemoryHandler.java,
407 java/util/logging/SimpleFormatter.java,
408 java/util/logging/SocketHandler.java,
409 java/util/logging/StreamHandler.java,
410 java/util/logging/XMLFormatter.java:
411 Standardized copyrigth header.
413 2004-10-20 Michael Koch <konqueror@gmx.de>
415 * java/security/AlgorithmParameterGenerator.java,
416 java/security/AlgorithmParameters.java,
417 java/security/DigestInputStream.java,
418 java/security/Identity.java,
419 java/security/KeyFactory.java,
420 java/security/KeyPairGenerator.java,
421 java/security/KeyStore.java,
422 java/security/MessageDigest.java,
423 java/security/MessageDigestSpi.java,
424 java/security/Policy.java,
425 java/security/SecureRandom.java,
426 java/security/Security.java,
427 java/security/Signature.java,
428 java/security/SignatureSpi.java,
429 java/security/cert/CertPathBuilder.java,
430 java/security/cert/CertPathValidator.java,
431 java/security/cert/CertStore.java,
432 java/security/cert/Certificate.java,
433 java/security/cert/CertificateFactory.java,
434 java/security/cert/PolicyQualifierInfo.java,
435 java/security/cert/TrustAnchor.java,
436 java/security/cert/X509CRL.java,
437 java/security/cert/X509CRLEntry.java,
438 java/security/cert/X509Certificate.java,
439 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
440 Import statements reorganized, some little formatting issues,
441 used java-style array declarations, added comments in empty catch
444 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
446 * java/security/Security.java
447 (static): Use AccessController.doPrivileged to get system property.
449 2004-10-18 Sven de Marothy <sven@physto.se>
451 * java/nio/ByteBufferHelper.java
452 (putDouble): Use Double.toRawLongBits instead.
454 2004-10-18 Mark Wielaard <mark@klomp.org>
455 Andrew Haley <aph@redhat.com>
457 * testsuite/libjava.lang/ExtraClassLoader.java: New.
459 2004-10-18 Andrew Haley <aph@redhat.com>
462 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
463 and correct logic used to find interpreter.
465 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
467 * java/util/logging/LogManager.java
468 (findAncestor): Fixed IndexOutOfBoundsException.
470 2004-10-18 Michael Koch <konqueror@gmx.de>
472 * java/io/BufferedInputStream.java: Fixed @author tag.
473 (read): Simplified expression.
474 (read): Merged javadoc a bit more.
475 (read): Renamed 'remain' to 'totalBytesRead'.
476 * java/io/DataInputStream.java,
477 java/io/DataOutputStream.java,
478 java/io/ObjectInputStream.java,
479 java/io/ObjectOutputStream.java:
480 Reworked modifier order.
482 2004-10-18 Michael Koch <konqueror@gmx.de>
484 * java/net/Inet4Address.java: Merged file header and javadocs.
485 * java/net/Inet6Address.java: Likewise.
486 * java/net/InetAddress.java
487 (getCanonicalHostName): Create Inet4Address object instead of
488 InetAddress and add comment regarding IPv6.
489 (toString): Simplified.
491 2004-10-18 Michael Koch <konqueror@gmx.de>
493 * gnu/java/net/protocol/http/Connection.java,
494 java/nio/MappedByteBufferImpl.java,
495 java/text/RuleBasedCollator.java,
496 java/util/ResourceBundle.java:
497 Reworked import statements.
499 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
501 * java/security/IdentityScope.java
502 (systemScope): Removed useless initializer.
503 * java/security/Policy.java
504 (currentPolicy): Likewise.
506 2004-10-18 Michael Koch <konqueror@gmx.de>
508 * java/lang/System.java: Revert accidential change.
510 2004-10-18 Michael Koch <konqueror@gmx.de>
512 * java/lang/Math.java,
513 java/lang/Package.java,
514 java/lang/Runtime.java,
515 java/lang/StrictMath.java,
516 java/lang/System.java,
517 java/lang/Thread.java,
518 java/lang/ThreadLocal.java,
520 Reworked import statements, HTML in javadocs and modifier orders.
522 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
524 * java/util/Timer.java
525 (nr): Removed useless initializer.
526 * java/util/logging/LogRecord.java
527 (lastSeqNum): Likewise.
528 * javax/naming/spi/NamingManager.java
529 (icfb, ofb): Likewise.
531 2004-10-18 Michael Koch <konqueror@gmx.de>
533 * gnu/java/net/PlainDatagramSocketImpl.java:
534 Reworked import statements.
535 * gnu/java/security/provider/DSAParameters.java:
536 Fixed copyrigth years.
537 * java/net/JarURLConnection.java:
538 Fixed HTML in @author tags.
541 2004-10-18 Michael Koch <konqueror@gmx.de>
543 * java/rmi/activation/ActivationSystem.java
544 (SYSTEM_PORT): Initialize with correct port number.
546 2004-10-18 Michael Koch <konqueror@gmx.de>
548 * java/lang/reflect/Proxy.java: Improved javadocs.
550 2004-10-18 Michael Koch <konqueror@gmx.de>
552 * java/lang/reflect/AccessibleObject.java
553 (checkPermission): Removed redundant final modifier.
554 (secureSetAccessible): Likewise.
555 * java/lang/reflect/Proxy.java:
556 Reworked import statements.
557 (generate): Removed redundant final modifier.
558 * java/lang/reflect/ReflectPermission.java:
559 Reorder package declaration and import statement.
561 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
563 * java/lang/reflect/Proxy.java
564 (count): Removed useless initializer.
566 2004-10-17 Michael Koch <konqueror@gmx.de>
568 * java/net/BindException.java,
569 java/net/ConnectException.java,
570 java/net/ContentHandler.java,
571 java/net/ContentHandlerFactory.java,
572 java/net/DatagramPacket.java,
573 java/net/DatagramSocket.java,
574 java/net/DatagramSocketImpl.java,
575 java/net/DatagramSocketImplFactory.java,
576 java/net/FileNameMap.java,
577 java/net/HttpURLConnection.java,
578 java/net/MalformedURLException.java,
579 java/net/MulticastSocket.java,
580 java/net/NetworkInterface.java,
581 java/net/NoRouteToHostException.java,
582 java/net/PasswordAuthentication.java,
583 java/net/PortUnreachableException.java,
584 java/net/ProtocolException.java,
585 java/net/ServerSocket.java,
586 java/net/Socket.java,
587 java/net/SocketException.java,
588 java/net/SocketImpl.java,
589 java/net/SocketImplFactory.java,
590 java/net/SocketOptions.java,
591 java/net/SocketPermission.java,
592 java/net/SocketTimeoutException.java,
594 java/net/URISyntaxException.java,
596 java/net/URLDecoder.java,
597 java/net/URLEncoder.java,
598 java/net/URLStreamHandler.java,
599 java/net/URLStreamHandlerFactory.java,
600 java/net/UnknownHostException.java,
601 java/net/UnknownServiceException.java:
602 Big import statement and @author tag cleanup.
604 2004-10-17 Michael Koch <konqueror@gmx.de>
606 * gnu/java/security/OID.java,
607 gnu/java/security/provider/DSAParameters.java,
608 gnu/java/security/provider/DSASignature.java,
609 gnu/java/security/x509/X500DistinguishedName.java,
610 gnu/java/security/x509/X509CRL.java:
611 Import statements cleaned up.
613 2004-10-16 Michael Koch <konqueror@gmx.de>
615 * gnu/java/nio/NIODatagramSocket.java,
616 gnu/java/nio/ServerSocketChannelImpl.java:
617 Reorganized import statements.
619 2004-10-16 Michael Koch <konqueror@gmx.de>
621 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
622 gnu/java/rmi/rmic/RMIC.java,
623 gnu/java/rmi/server/RMIHashes.java,
624 gnu/java/rmi/server/RMIObjectInputStream.java,
625 gnu/java/rmi/server/RMIObjectOutputStream.java,
626 gnu/java/rmi/server/UnicastConnection.java,
627 gnu/java/rmi/server/UnicastConnectionManager.java,
628 gnu/java/rmi/server/UnicastRemoteCall.java,
629 gnu/java/rmi/server/UnicastServer.java,
630 gnu/java/rmi/server/UnicastServerRef.java,
631 java/rmi/MarshalledObject.java,
632 java/rmi/Naming.java,
633 java/rmi/RMISecurityManager.java,
634 java/rmi/Remote.java,
635 java/rmi/activation/Activatable.java,
636 java/rmi/activation/ActivationDesc.java,
637 java/rmi/activation/ActivationGroup.java,
638 java/rmi/activation/ActivationGroupDesc.java,
639 java/rmi/activation/ActivationGroupID.java,
640 java/rmi/activation/ActivationID.java,
641 java/rmi/activation/ActivationInstantiator.java,
642 java/rmi/activation/ActivationMonitor.java,
643 java/rmi/activation/ActivationSystem.java,
644 java/rmi/activation/Activator.java,
645 java/rmi/dgc/DGC.java,
646 java/rmi/dgc/Lease.java,
647 java/rmi/dgc/VMID.java,
648 java/rmi/registry/LocateRegistry.java,
649 java/rmi/registry/Registry.java,
650 java/rmi/registry/RegistryHandler.java,
651 java/rmi/server/LoaderHandler.java,
652 java/rmi/server/LogStream.java,
653 java/rmi/server/ObjID.java,
654 java/rmi/server/Operation.java,
655 java/rmi/server/RMIClassLoader.java,
656 java/rmi/server/RMIClassLoaderSpi.java,
657 java/rmi/server/RMIClientSocketFactory.java,
658 java/rmi/server/RMIFailureHandler.java,
659 java/rmi/server/RMIServerSocketFactory.java,
660 java/rmi/server/RMISocketFactory.java,
661 java/rmi/server/RemoteCall.java,
662 java/rmi/server/RemoteObject.java,
663 java/rmi/server/RemoteRef.java,
664 java/rmi/server/RemoteServer.java,
665 java/rmi/server/RemoteStub.java,
666 java/rmi/server/ServerRef.java,
667 java/rmi/server/Skeleton.java,
668 java/rmi/server/SkeletonMismatchException.java,
669 java/rmi/server/UID.java,
670 java/rmi/server/UnicastRemoteObject.java,
671 java/rmi/server/Unreferenced.java:
672 File headers and import statements cleaned up.
674 2004-10-16 Michael Koch <konqueror@gmx.de>
676 * libjava/gnu/java/nio/charset/UTF_16.java,
677 libjava/gnu/java/nio/charset/UTF_16BE.java,
678 libjava/gnu/java/nio/charset/UTF_16LE.java,
679 libjava/java/nio/ByteOrder.java,
680 libjava/java/nio/MappedByteBuffer.java,
681 libjava/java/nio/channels/Channels.java,
682 libjava/java/nio/channels/spi/SelectorProvider.java,
683 libjava/java/nio/charset/Charset.java:
686 2004-10-16 Michael Koch <konqueror@gmx.de>
688 * gnu/java/nio/charset/UTF_16Encoder.java
689 (UTF_16Encoder): Fixed maxBytesPerChar handling.
691 2004-10-16 Michael Koch <konqueror@gmx.de>
693 * java/math/BigDecimal.java, java/math/BigInteger.java:
694 Reorganized import statements, removed redundant and
695 reorganized modifiers.
697 2004-10-16 Michael Koch <konqueror@gmx.de>
699 * gnu/java/beans/ExplicitBeanInfo.java:
700 Explicitely import java.awt.Image.
701 (getIcon): Fixed off-by-one error.
703 2004-10-15 Andrew Haley <aph@redhat.com>
705 * Makefile.am (nat_files, xlib_nat_files): New.
706 * Makefile.in: Regenerate.
708 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
710 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
711 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
713 2004-10-13 Andrew Haley <aph@redhat.com>
715 * interpret.cc (_Jv_InterpMethod::run): Initialize
716 _Jv_StartOfInterpreter.
717 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
718 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
719 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
720 _Unwind_FindEnclosingFunction to discover whether PC is within the
723 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
726 * testsuite/libjava.lang/md5test.java: New file.
727 * testsuite/libjava.lang/md5test.out: Likewise.
728 * testsuite/libjava.lang/shatest.java: Likewise.
729 * testsuite/libjava.lang/shatest.out: Likewise.
731 2004-10-11 Richard Henderson <rth@redhat.com>
733 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
734 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
736 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
738 * java/util/Calendar.java (set): Invalidate DST_OFFSET
739 field as a DST boundary may have been crossed.
740 * java/util/GregorianCalendar.java (add): Throw
741 IllegalArgumentException on attempt to add to DST_OFFSET or
742 ZONE_OFFSET fields. Update javadoc.
744 2004-10-09 Michael Koch <konqueror@gmx.de>
746 * java/io/CharArrayWriter.java
747 (resize): Removed redundant 'final' modifier.
748 * java/io/DataInputStream.java
749 (readFully): Throw IndexOutOfBoundsException of len < 0.
750 * java/io/FileDescriptor.java,
751 java/io/FileInputStream.java,
752 java/io/FileOutputStream.java,
753 java/io/ObjectOutputStream.java,
754 java/io/ObjectStreamClass.java,
755 java/io/PipedInputStream.java,
756 java/io/RandomAccessFile.java:
757 Reorganized import statements.
759 2004-10-09 Michael Koch <konqueror@gmx.de>
761 * gnu/java/rmi/rmic/RMIC.java,
762 gnu/java/rmi/server/RMIHashes.java,
763 gnu/java/rmi/server/RMIObjectInputStream.java,
764 gnu/java/rmi/server/UnicastConnection.java,
765 gnu/java/rmi/server/UnicastConnectionManager.java,
766 gnu/java/rmi/server/UnicastRemoteCall.java,
767 gnu/java/rmi/server/UnicastServerRef.java:
768 Reworked import statements and fixed file headers.
770 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
772 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
774 * configure: Rebuilt.
776 2004-09-30 Tom Tromey <tromey@redhat.com>
778 * java/text/MessageFormat.java (Field): Constructor now
781 2004-09-30 Tom Tromey <tromey@redhat.com>
783 * javax/crypto/MacSpi.java: Fixed typo.
785 2004-09-30 Michael Koch <konqueror@gmx.de>
787 * java/net/InetAddress.java: Reformatted.
788 (loopback): Initialize with Inet4Address object.
789 (static): Initialize ANY_IF with Inet4Address object.
790 (InetAddress): Removed unused package-private constructor.
792 2004-09-30 Michael Koch <konqueror@gmx.de>
794 * java/beans/Beans.java,
795 java/beans/EventHandler.java,
796 java/beans/EventSetDescriptor.java,
797 java/beans/Introspector.java,
798 java/beans/PropertyEditorManager.java,
799 java/beans/beancontext/BeanContext.java,
800 java/beans/beancontext/BeanContextChild.java,
801 java/beans/beancontext/BeanContextChildSupport.java,
802 java/beans/beancontext/BeanContextMembershipEvent.java:
803 Reordered import statements and removed redundant modifiers.
805 2004-09-29 Tom Tromey <tromey@redhat.com>
808 * Makefile.in: Rebuilt.
809 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
811 (all_property_files): New macro.
813 * Makefile.in: Rebuilt.
814 * Makefile.am (ordinary_java_source_files): Re-sorted.
815 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
817 2004-09-28 Tom Tromey <tromey@redhat.com>
819 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
822 * Makefile.am (libgcj.la): Restored.
823 * Makefile.in: Rebuilt.
825 2004-09-28 Michael Koch <konqueror@gmx.de>
827 * java/net/URLConnection.java: Reformatted.
828 * java/net/URLClassLoader.java: Reformatted.
829 (getContent): Reordered return of content.
830 (getContentHandler): Don't check for null explicitely.
832 2004-09-27 Michael Koch <konqueror@gmx.de>
834 * java/io/BufferedInputStream.java
835 (BufferedInputStream): Added Jeroen Frijters to authors.
836 (count): Don't explicitely initialize with default value.
838 (marklimit): Likewise.
839 (read): Changed boolean expression to match GNU classpath' version.
840 (reset): Add proper message to exception.
841 (skip): Check for closed stream.
844 2004-09-26 Per Bothner <per@bothner.com>
846 * prims.cc (unblock_signal): Annotate signum with __unused__ to
847 avoid warnings in the non-POSIX_VERSION case.
848 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
849 so place it inside an #if block.
850 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
851 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
852 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
853 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
855 2004-09-26 Per Bothner <per@bothner.com>
857 * prims.cc (process_gcj_properties): Optimization.
859 2004-09-26 Per Bothner <per@bothner.com>
861 * java/util/Collections.java (sort): Copy from array in forwards
862 order, rather than reverse order which may be much less efficient.
864 2004-09-26 Mark Wielaard <mark@klomp.org>
866 * java/lang/System.java (properties): Make package private.
867 * java/lang/Throwable.java (StaticData.nl): Initialize through
868 directly accessing System.properties.getProperty().
870 * java/lang/Throwable.java (nl): Remove static field.
871 (StaticData): New private static inner class.
872 (stackTraceStringBuffer): Use StaticData.nl.
874 2004-09-26 Casey Marshall <csm@gnu.org>
876 * java/security/ProtectionDomain.java
877 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
880 * java/security/SecureClassLoader.java
881 (defineClass): make protection domain dynamically bound.
882 (getPermissions): call `getCurrentPolicy' to avoid permission
885 2004-09-25 Mark Wielaard <mark@klomp.org>
887 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
888 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
889 * Makefile.in: Regenerated.
891 * gcj/javaprims.h: Regenerated.
893 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
894 (getDefaultTimeZone): Make package private. Check that GMToffset
895 contains at least one digit.
896 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
898 * util/VMTimeZone.java: New file with above methods.
900 * java/util/natTimeZone.cc: Removed (renamed).
901 * java/util/natVMTimeZone.cc: Added (renamed).
903 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
905 * java/util/TimeZone.java
906 (getDefaultTimeZone): Fixed test to distinguish between hours and
907 minutes in specified timezone.
909 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
911 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
912 handling of default package. (generate): Removed confused comments
913 and code about making Method and Field accessible.
915 2004-09-25 Tom Tromey <tromey@redhat.com>
918 * testsuite/libjava.compile/pr17500.java: New file.
920 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
921 Mark Wielaard <mark@klomp.org>
923 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
924 * gnu/regexp/RETokenLookAhead.java: New file.
926 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
927 * Makefile.in: Regenerated.
929 2004-09-25 Michael Koch <konqueror@gmx.de>
931 * java/io/ObjectStreamField.java:
932 Removed unused import statement.
934 2004-09-24 Tom Tromey <tromey@redhat.com>
937 * testsuite/libjava.compile/pr15656.xfail: New file.
938 * testsuite/libjava.compile/pr15656.java: new file.
941 * testsuite/libjava.lang/pr16789.out: New file.
942 * testsuite/libjava.lang/pr16789.java: New file.
944 2004-09-24 Andrew Haley <aph@redhat.com>
947 * testsuite/libjava.compile/AssertBug.java: New file.
949 2004-09-24 Casey Marshall <csm@gnu.org>
951 * java/util/PropertyPermissionCollection.java
952 (implies): avoid infinite loop.
954 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
956 * javax/security/auth/PrivateCredentialPermission.java
957 (PrivateCredentialPermission): added serialization UID
960 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
962 * gnu/java/rmi/server/UnicastServer.java
963 (incomingMessageCall): Added code to handle Errors.
964 * gnu/java/rmi/server/UnicastServerRef.java
965 (incomingMessageCall): Added code to handle Errors.
968 2004-09-24 Tom Tromey <tromey@redhat.com>
970 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
971 (definedPackages): Likewise.
973 2004-09-24 Michael Koch <konqueror@gmx.de>
975 * java/io/ObjectInputStream.java:
978 2004-09-24 Casey Marshall <csm@gnu.org>
980 * java/io/ObjectInputStream.java (callReadMethod): re-throw
981 `ClassNotFoundException'.
983 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
985 * java/io/ObjectInputStream.java (readObject): Delegate instantation
986 of Externalizable classes to ObjectStreamClass.
987 * java/io/ObjectStreamClass.java (newInstance): New method to
988 instantiate Externalizable (while ignoring the accessibility of
989 the constructor). (constructor): New field to cache the constructor.
991 2004-09-24 Mark Wielaard <mark@klomp.org>
993 * java/net/URL.java (systemClassLoader): New static field.
994 (getURLStreamHandler): Always use system/application classloader
995 for finding URLStreamhandler. Remove unecessary instanceof checks.
997 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1000 (set): This method now matches the behaviour of the JDK.
1001 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
1003 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
1005 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
1007 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1009 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
1010 Don't set authority if host isn't specified.
1012 2004-09-24 Michael Koch <konqueror@gmx.de>
1014 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
1015 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
1016 * gnu/java/nio/VMPipe.java,
1017 gnu/java/nio/VMSelector.java:
1019 * gnu/java/nio/natPipeImplEcos.cc,
1020 gnu/java/nio/natPipeImplPosix.cc,
1021 gnu/java/nio/natPipeImplWin32.cc:
1023 * gnu/java/nio/natSelectorImplEcos.cc,
1024 gnu/java/nio/natSelectorImplPosix.cc,
1025 gnu/java/nio/natSelectorImplWin32.cc:
1026 Ported to VMSelector.
1027 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1028 gnu/java/nio/VMSelector.java.
1029 * Makefile.in: Regenerated.
1031 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1033 * java/lang/StackTraceElement.java
1034 (className): Renamed field to declaringClass to be compatible
1035 with Sun serialization format.
1037 2004-09-23 Michael Koch <konqueror@gmx.de>
1039 * java/applet/AppletContext.java,
1040 java/applet/Applet.java,
1041 java/applet/AppletStub.java,
1042 java/applet/AudioClip.java:
1043 Jalopied and checkstyle clean.
1045 2004-09-23 Mark Wielaard <mark@klomp.org>
1047 * java/util/Collections.java
1048 (binarySearch(List, Object, Comparator)): Explicitly
1049 reverse direction in list iterator.
1050 (rotate): Just return when list is empty.
1052 2004-09-23 Tom Tromey <tromey@redhat.com>
1055 * testsuite/libjava.compile/pr17329.java: New file.
1058 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1061 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1063 * Makefile.am: Run aclocal with -I ../config
1064 * acinclude.m4: Delete macros picked up from ../config and tidy.
1065 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1066 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1067 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1069 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1071 * aclocal.m4: Regenerate with aclocal 1.9.2.
1072 * configure: Regenerate.
1073 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1074 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1076 2004-09-22 David Daney <ddaney@avtrex.com>
1079 * java/net/URL.java (URL): Copy userInfo from context.
1080 (getUserInfo): Return cached userInfo if present.
1082 2004-09-22 Tom Tromey <tromey@redhat.com>
1085 * mauve-libgcj: Enable java.lang.Character tests.
1087 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1089 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1091 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1092 * Makefile.in: Regenerated.
1094 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1096 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1097 * configure: Regenerate.
1098 * include/config.h.in: Likewise.
1099 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1100 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1102 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1103 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1104 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1106 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1109 2004-09-22 Tom Tromey <tromey@redhat.com>
1112 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1113 when comparing CRCs.
1114 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1116 (read()): New overload.
1118 2004-09-21 Tom Tromey <tromey@redhat.com>
1120 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1123 2004-09-21 Michael Koch <konqueror@gmx.de>
1125 * java/net/Socket.java
1126 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1128 2004-09-21 Casey Marshall <csm@gnu.org>
1130 * javax/crypto/MacSpi.java (clone): Provide meaningful
1133 2004-09-21 Tom Tromey <tromey@redhat.com>
1136 * Makefile.in: Rebuilt.
1137 * Makefile.am (MOSTLYCLEANFILES): Removed.
1138 (mostlyclean-local): Remove header files.
1140 2004-09-21 Casey Marshall <csm@gnu.org>
1142 * java/security/cert/X509CRLSelector.java:
1143 (match): remove unreachable try-catch clauses.
1144 Reported by: Dalibor Topic <robilad@kaffe.org>
1146 2004-09-21 Mark Wielaard <mark@klomp.org>
1148 * java/util/TreeMap.java (root): Don't initialize.
1149 (TreeMap(Comparator)): Call fabricateTree(0).
1150 (fabricateTree): Initialize root and size when count is 0.
1152 2004-09-21 Sven de Marothy <sven@physto.se>
1154 * java/nio/ByteBuffer.java (hashCode): Implemented.
1155 * java/nio/CharBuffer.java: Likewise.
1156 * java/nio/DoubleBuffer.java: Likewise.
1157 * java/nio/FloatBuffer.java: Likewise.
1158 * java/nio/LongBuffer.java: Likewise.
1159 * java/nio/IntBuffer.java: Likewise.
1160 * java/nio/ShortBuffer.java: Likewise.
1162 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1164 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1166 2004-09-21 Michael Koch <konqueror@gmx.de>
1168 * javax/net/ssl/SSLServerSocket.java:
1169 Removed comment about "Do not edit this file, it's generated.".
1171 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1173 Import the big Crypto/Jessie/Security merge from Classpath.
1175 * Makefile.am: Add imported files.
1176 * Makefile.in: Regenerate.
1178 2004-08-14 Casey Marshall <csm@gnu.org>
1180 The Big Crypto Merge of 2004.
1182 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1185 Files imported from GNU Crypto.
1186 * javax/crypto/BadPaddingException.java
1187 * javax/crypto/Cipher.java
1188 * javax/crypto/CipherInputStream.java
1189 * javax/crypto/CipherOutputStream.java
1190 * javax/crypto/CipherSpi.java
1191 * javax/crypto/EncryptedPrivateKeyInfo.java
1192 * javax/crypto/ExemptionMechanism.java
1193 * javax/crypto/ExemptionMechanismException.java
1194 * javax/crypto/ExemptionMechanismSpi.java
1195 * javax/crypto/IllegalBlockSizeException.java
1196 * javax/crypto/KeyAgreement.java
1197 * javax/crypto/KeyAgreementSpi.java
1198 * javax/crypto/KeyGenerator.java
1199 * javax/crypto/KeyGeneratorSpi.java
1200 * javax/crypto/Mac.java
1201 * javax/crypto/MacSpi.java
1202 * javax/crypto/Makefile.am
1203 * javax/crypto/NoSuchPaddingException.java
1204 * javax/crypto/NullCipher.java
1205 * javax/crypto/NullCipherImpl.java
1206 * javax/crypto/SealedObject.java
1207 * javax/crypto/SecretKey.java
1208 * javax/crypto/SecretKeyFactory.java
1209 * javax/crypto/SecretKeyFactorySpi.java
1210 * javax/crypto/ShortBufferException.java
1211 * javax/crypto/interfaces/DHKey.java
1212 * javax/crypto/interfaces/DHPrivateKey.java
1213 * javax/crypto/interfaces/DHPublicKey.java
1214 * javax/crypto/interfaces/PBEKey.java
1215 * javax/crypto/spec/DESKeySpec.java
1216 * javax/crypto/spec/DESedeKeySpec.java
1217 * javax/crypto/spec/DHGenParameterSpec.java
1218 * javax/crypto/spec/DHParameterSpec.java
1219 * javax/crypto/spec/DHPrivateKeySpec.java
1220 * javax/crypto/spec/DHPublicKeySpec.java
1221 * javax/crypto/spec/IvParameterSpec.java
1222 * javax/crypto/spec/PBEKeySpec.java
1223 * javax/crypto/spec/PBEParameterSpec.java
1224 * javax/crypto/spec/RC2ParameterSpec.java
1225 * javax/crypto/spec/RC5ParameterSpec.java
1226 * javax/crypto/spec/SecretKeySpec.java
1227 * javax/security/auth/AuthPermission.java
1228 * javax/security/auth/DestroyFailedException.java
1229 * javax/security/auth/Destroyable.java
1230 * javax/security/auth/Policy.java
1231 * javax/security/auth/PrivateCredentialPermission.java
1232 * javax/security/auth/RefreshFailedException.java
1233 * javax/security/auth/Refreshable.java
1234 * javax/security/auth/Subject.java
1235 * javax/security/auth/SubjectDomainCombiner.java
1236 * javax/security/auth/callback/Callback.java
1237 * javax/security/auth/callback/CallbackHandler.java
1238 * javax/security/auth/callback/ChoiceCallback.java
1239 * javax/security/auth/callback/ConfirmationCallback.java
1240 * javax/security/auth/callback/LanguageCallback.java
1241 * javax/security/auth/callback/NameCallback.java
1242 * javax/security/auth/callback/PasswordCallback.java
1243 * javax/security/auth/callback/TextInputCallback.java
1244 * javax/security/auth/callback/TextOutputCallback.java
1245 * javax/security/auth/callback/UnsupportedCallbackException.java
1246 * javax/security/auth/login/AccountExpiredException.java
1247 * javax/security/auth/login/AppConfigurationEntry.java
1248 * javax/security/auth/login/Configuration.java
1249 * javax/security/auth/login/CredentialExpiredException.java
1250 * javax/security/auth/login/FailedLoginException.java
1251 * javax/security/auth/login/LoginContext.java
1252 * javax/security/auth/login/LoginException.java
1253 * javax/security/auth/login/NullConfiguration.java
1254 * javax/security/auth/x500/X500PrivateCredential.java
1255 * javax/security/sasl/AuthenticationException.java
1256 * javax/security/sasl/AuthorizeCallback.java
1257 * javax/security/sasl/RealmCallback.java
1258 * javax/security/sasl/RealmChoiceCallback.java
1259 * javax/security/sasl/Sasl.java
1260 * javax/security/sasl/SaslClient.java
1261 * javax/security/sasl/SaslClientFactory.java
1262 * javax/security/sasl/SaslException.java
1263 * javax/security/sasl/SaslServer.java
1264 * javax/security/sasl/SaslServerFactory.java
1265 * org/ietf/jgss/ChannelBinding.java
1266 * org/ietf/jgss/GSSContext.java
1267 * org/ietf/jgss/GSSCredential.java
1268 * org/ietf/jgss/GSSException.java
1269 * org/ietf/jgss/GSSManager.java
1270 * org/ietf/jgss/GSSName.java
1271 * org/ietf/jgss/MessageProp.java
1272 * org/ietf/jgss/Oid.java
1273 * org/ietf/jgss/MessagesBundle.properties
1275 Files imported from Jessie <http://www.nongnu.org/jessie/>
1276 * javax/net/ServerSocketFactory.java
1277 * javax/net/SocketFactory.java
1278 * javax/net/VanillaServerSocketFactory.java
1279 * javax/net/VanillaSocketFactory.java
1280 * javax/net/ssl/HandshakeCompletedEvent.java
1281 * javax/net/ssl/HandshakeCompletedListener.java
1282 * javax/net/ssl/HostnameVerifier.java
1283 * javax/net/ssl/HttpsURLConnection.java
1284 * javax/net/ssl/KeyManager.java
1285 * javax/net/ssl/KeyManagerFactory.java
1286 * javax/net/ssl/KeyManagerFactorySpi.java
1287 * javax/net/ssl/ManagerFactoryParameters.java
1288 * javax/net/ssl/SSLContext.java
1289 * javax/net/ssl/SSLContextSpi.java
1290 * javax/net/ssl/SSLException.java
1291 * javax/net/ssl/SSLHandshakeException.java
1292 * javax/net/ssl/SSLKeyException.java
1293 * javax/net/ssl/SSLPeerUnverifiedException.java
1294 * javax/net/ssl/SSLPermission.java
1295 * javax/net/ssl/SSLProtocolException.java
1296 * javax/net/ssl/SSLServerSocket.java
1297 * javax/net/ssl/SSLServerSocketFactory.java
1298 * javax/net/ssl/SSLSession.java
1299 * javax/net/ssl/SSLSessionBindingEvent.java
1300 * javax/net/ssl/SSLSessionBindingListener.java
1301 * javax/net/ssl/SSLSessionContext.java
1302 * javax/net/ssl/SSLSocket.java
1303 * javax/net/ssl/SSLSocketFactory.java
1304 * javax/net/ssl/TrivialHostnameVerifier.java
1305 * javax/net/ssl/TrustManager.java
1306 * javax/net/ssl/TrustManagerFactory.java
1307 * javax/net/ssl/TrustManagerFactorySpi.java
1308 * javax/net/ssl/X509KeyManager.java
1309 * javax/net/ssl/X509TrustManager.java
1310 * javax/security/cert/Certificate.java
1311 * javax/security/cert/CertificateEncodingException.java
1312 * javax/security/cert/CertificateException.java
1313 * javax/security/cert/CertificateExpiredException.java
1314 * javax/security/cert/CertificateNotYetValidException.java
1315 * javax/security/cert/CertificateParsingException.java
1316 * javax/security/cert/X509CertBridge.java
1317 * javax/security/cert/X509Certificate.java
1319 2004-08-20 Casey Marshall <csm@gnu.org>
1321 * java/security/cert/X509CRLSelector.java: New file.
1322 * java/security/cert/X509CertSelector.java: New file.
1324 2004-09-15 Michael Koch <konqueror@gmx.de>
1326 * gnu/java/net/protocol/file/Handler.java
1327 (openConnection): Don't throw exception if host part for file: URI is
1328 present. setURL() keeps file: protocol if ftp: protocol is not
1331 2004-09-14 Richard Henderson <rth@redhat.com>
1333 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1334 value of sigsuspend.
1336 2004-09-12 Tom Tromey <tromey@redhat.com>
1338 * javax/naming/CompoundName.java (CompoundName): Don't check for
1339 separator in "flat" case.
1341 2004-09-12 Michael Koch <konqueror@gmx.de>
1343 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1344 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1345 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1348 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1351 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1352 handle in newly-allocated _Jv_Thread_t.
1353 (_Jv_ThreadDestroyData): Close thread handle.
1354 (_Jv_ThreadStart): Remove obsolete comment.
1355 Store handle of newly-created thread in _Jv_Thread_t.
1356 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1357 before including <windows.h>
1358 #define _Jv_HaveCondDestroy
1360 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1362 * java/lang/natThread.cc (finalize_native): Destroy
1363 join conditional variable and mutex if these destroy
1364 operations are supported.
1366 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1368 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1369 (DEFAULT_PERMISSION): New constant.
1370 (Connection): Create a FilePermission with permission to read file.
1372 2004-09-10 Michael Koch <konqueror@gmx.de>
1374 * gnu/java/net/protocol/file/Connection.java
1375 (getLastModified): Moved around.
1376 (getPermission): Return stored permission.
1378 2004-09-10 Michael Koch <konqueror@gmx.de>
1380 * Makefile.in: Regenerate.
1382 2004-09-10 Michael Koch <konqueror@gmx.de>
1384 * Makefile.am: Reverted accidently commited stuff.
1385 * configure: Regenerated.
1387 2004-09-10 Michael Koch <konqueror@gmx.de>
1389 * gnu/java/net/protocol/file/Connection.java
1390 (lineSeparator): Made non-final.
1392 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1393 instead of StringBufferInputStream.
1395 2004-09-10 Michael Koch <konqueror@gmx.de>
1397 * gnu/java/net/protocol/file/Connection.java
1398 (connect): Handle file is a directory case.
1400 2004-09-10 Michael Koch <konqueror@gmx.de>
1403 (xlib_includes): Removed.
1404 (AM_CPPFLAGS): Renamed from INCLUDES.
1405 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1406 * Makefile.in: Regenerate.
1408 2004-09-09 Michael Koch <konqueror@gmx.de>
1410 * java/security/ProtectionDomain.java,
1411 * java/util/PropertyPermissionCollection.java:
1412 Fixed javadocs all over.
1414 2004-09-09 Sven de Marothy <sven@physto.se>
1416 Patch from David Gilbert <david.gilbert@object-refinery.com>
1417 * java/lang/Comparable.java: Fixed documentation errors.
1418 * java/util/Arrays.java: Likewise.
1420 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1422 * java/net/Inet4Address.java
1423 (Inet4Address): Added comment to serialization UID.
1424 * java/text/Format.java
1425 (Format): Added comment to serialization UID.
1427 2004-09-09 Michael Koch <konqueror@gmx.de>
1429 * java/lang/System.java
1430 (err): Fixed javadoci to point to setErr() and not setOut().
1432 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1434 (normalizePath): Added special case for windows systems.
1436 2004-09-09 Michael Koch <konqueror@gmx.de>
1439 (dupSeparator): Made private.
1440 (File(URI)): New constructor.
1441 (getParentFile): Fixed javadoc.
1442 (createTempFile): Reformated.
1443 (setReadOnly): Added comment.
1444 (deleteOnExit): Merged javadoc with classpath version.
1446 2004-09-09 Michael Koch <konqueror@gmx.de>
1448 * Makefile.am: Don't try to include deps.mk.
1449 * Makefile.in: Regenerated.
1451 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1453 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1455 * configure: Rebuilt.
1457 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1459 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1460 Changed pfn from static local to local.
1462 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1463 H.J. Lu <hongjiu.lu@intel.com>
1466 * Makefile.am (GCJCOMPILE): Remove definition.
1467 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1468 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1469 * Makefile.in: Rebuilt.
1471 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1473 * configure.ac (enable-gc-debug): Update help for new syntax.
1474 * configure: Regenerate.
1476 2004-09-03 David Daney <ddaney@avtrex.com>
1478 * include/mips-signal.h: Update copyright.
1480 2004-09-03 David Daney <ddaney@avtrex.com>
1482 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1483 * include/mips-signal.h: Added HANDLE_FPE support.
1485 2004-08-31 Michael Koch <konqueror@gmx.de>
1487 * javax/swing/plaf/basic/BasicTextAreaUI.java
1488 (create): New method.
1489 * javax/swing/text/DefaultHighlighter.java
1490 (DefaultHighlightPainter.debugRect): Removed.
1491 * javax/swing/text/StyleContext.java
1492 (DEFAULT_STYLE): New field.
1494 2004-08-31 Michael Koch <konqueror@gmx.de>
1496 * javax/swing/plaf/basic/BasicLookAndFeel.java
1497 (initComponentDefaults): Add keybindings for selection.backward and
1498 selection-forward for text components.
1499 * javax/swing/plaf/basic/BasicTextUI.java
1500 (paintSafely): Paint highlight only when something is actually
1502 * javax/swing/text/DefaultCaret.java
1503 (handleHighlight): New method.
1504 (setSelectionVisible): Don't do anything when nothing changes.
1506 (moveDot): Reimplemented. Handle highlight.
1507 (setDot): Set mark too. Handle highlight.
1508 (getSelectionPainter): New method.
1509 * javax/swing/text/DefaultEditorKit.java
1510 (defaultActions): Added new actions for text selection.
1511 * javax/swing/text/DefaultHighlighter.java
1512 (DefaultHighlightPainter): New inner class.
1513 (DefaultPainter): New field.
1514 (paint): Implemented.
1515 * javax/swing/text/PlainView.java
1516 (paint): Don't draw background here again.
1517 * javax/swing/text/Utilities.java
1518 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1519 (drawTabbedText): Likewise.
1521 2004-08-31 Graydon Hoare <graydon@redhat.com>
1523 * javax/swing/JComponent.java
1524 (resetKeyboardActions): Add null checks.
1526 2004-08-31 Graydon Hoare <graydon@redhat.com>
1528 * javax/swing/DefaultButtonModel.java:
1529 Skip group notification when no group is set.
1531 2004-08-31 Graydon Hoare <graydon@redhat.com>
1533 * javax/swing/JColorChooser.java:
1534 Make a couple inner classes static, for jikes.
1536 2004-08-31 Michael Koch <konqueror@gmx.de>
1538 * javax/swing/plaf/basic/BasicTextUI.java
1539 (RottView.modelToView): New method.
1540 (UpdateHandler): Renamed from EventHandler.
1541 (updateHandler): Renamed from eventHandler.
1542 (modelToView): Implemented.
1543 * javax/swing/text/AbstractDocument.java
1544 (BranchElement.getElement): Return null for non-existing indeces.
1545 (BranchElement.getElementIndex): Return 0 in some corner cases.
1546 * javax/swing/text/FieldView.java
1547 (modelToView): New method.
1548 * javax/swing/text/PlainView.java
1549 (modelToView): Made public.
1551 2004-08-31 Kim Ho <kho@redhat.com>
1553 * Makefile.am: New files.
1554 * Makefile.in: Regenerate.
1555 * gcj/Makefile.in: Regenerate.
1556 * include/Makefile.in: Regenerate.
1557 * java/awt/Color.java: Fix documentation.
1558 (RGBtoHSB): Use floats for conversions.
1559 * javax/swing/ButtonGroup.java: Run Jalopy.
1560 (setSelected): Reimplement.
1561 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1562 (changeState): Let ButtonGroup know that the button
1564 * javax/swing/JColorChooser.java: Implement.
1565 * javax/swing/JLabel.java: Run Jalopy.
1566 * javax/swing/JSpinner.java: Run Jalopy.
1567 (setValue): New method.
1568 * javax/swing/JTabbedPane.java: Run Jalopy.
1569 (removeTabAt): Call correct remove method.
1570 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1571 (getPreviousValue): Compare minimum value.
1572 * javax/swing/Timer.java: Run Jalopy.
1573 (run): Comment out println.
1574 * javax/swing/ToolTipManager.java:
1575 (mouseMoved): Get new tooltip text for location.
1576 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1578 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1580 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1582 (setSelectedColor): Fire ChangeEvent.
1583 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1584 New file. Implement.
1585 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1587 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1589 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1591 * javax/swing/plaf/basic/BasicArrowButton.java:
1592 (getArrow): Fix size of upward pointing button.
1593 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1595 * javax/swing/plaf/basic/BasicSliderUI.java:
1596 (getWidthOfWidestLabel): Use preferred dimensions.
1597 (getHeightOfTallestLabel): Ditto.
1598 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1600 (mousePressed): Disable changes to spinner if it is not enabled.
1601 * testsuite/Makefile.in: Regenerate.
1604 2004-08-31 Michael Koch <konqueror@gmx.de>
1606 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1607 javax/swing/plaf/basic/BasicTableUI.java:
1608 Added copyright notice.
1610 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1612 * Makefile.am: Added new files.
1613 * Makefile.in: Regenerate.
1614 * javax/swing/ComboBoxEditor.java: Added javadocs.
1615 * javax/swing/ComboBoxModel.java: Likewise.
1616 * javax/swing/DefaultComboBoxModel.java: Implemented.
1617 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1618 and ran through jalopy to fix formatting style.
1619 (getListCellRendererComponent): Use appropriate border
1620 if renderer has focus and use noFocusBorder when it doesn't.
1621 * javax/swing/JComboBox.java: Implemented.
1622 * javax/swing/JList.java:
1623 (locationToIndex): New Method. Implemented.
1624 (indexToLocation): New Method.
1625 * javax/swing/JPopupMenu.java:
1626 (visible): New field.
1627 (isVisible): Changed to use new field above.
1628 (setVisible): Likewise.
1629 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1630 * javax/swing/plaf/basic/BasicArrowButton.java:
1631 (shadow): Changed default color to Color.gray.
1632 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1633 UI delegate for JComboBox.
1634 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1635 Popup menu containing list of JComboBox's items.
1636 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1637 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1638 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1639 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1640 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1641 (popupMenuWillBecomeVisible): Set selected path to the first
1642 element only if it is of type MenuElement. Also fix formatting
1644 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1647 2004-08-31 Michael Koch <konqueror@gmx.de>
1649 * javax/swing/text/AbstractDocument.java
1650 (createBranchElement): Use new constructor of BranchElement.
1651 (createLeafElement): Renamed arguments.
1652 (getRootElements): Implemented.
1653 (BranchElement.start): Removed.
1654 (BranchElement.end): Likewise.
1655 (BranchElement.BranchElement): Fixed arguments.
1656 (BranchElement.getEndOffset): Reimplemented.
1657 (BranchElement.getStartOffset): Likewis.
1658 * javax/swing/text/DefaultCaret.java
1659 (paint): Draw simple vertical line as caret instead of a rectangle.
1660 * javax/swing/text/JTextComponent.java
1661 (setText): Use doc directly.
1662 * javax/swing/text/PlainView.java
1663 (nextTabStop): Implemented.
1664 * javax/swing/text/Utilities.java
1665 (drawTabbedText): nextTabStop() returns an absolute x position.
1666 (getTabbedTextWidth): Likewise.
1668 2004-08-31 Graydon Hoare <graydon@redhat.com>
1670 * java/awt/Component.java
1671 (isFocusTraversable): Predicate on isLightweight()
1672 (setFocusable): Set isFocusTraversableOverridden.
1673 (requestFocus): Predicate peer dispatch on !isLightweight()
1674 (requestFocusInWindow): Likewise.
1675 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1676 * java/awt/Container.java
1677 (dispatchEventImpl): Predicate on event mask.
1678 (LightweightDispatcher): Remove focus machinery.
1679 * java/awt/DefaultFocusTraversalPolicy.java
1680 (accept): Expand predicate to include isFocusable().
1681 * java/awt/DefaultKeyboardFocusManager.java:
1682 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1683 * java/awt/KeyboardFocusManager.java
1684 (redispatchEvent): Synchronize on event to prevent feedback.
1685 * javax/swing/AbstractButton.java
1686 (ButtonFocusListener): Remove class.
1687 (init): Set focusPainted, focusable.
1688 * javax/swing/ActionMap.java (get): Check parent for null.
1689 * javax/swing/InputMap.java (get): Likewise.
1690 * javax/swing/JComponent.java
1691 (inputMap_whenFocused): New InputMap.
1692 (inputMap_whenAncestorOfFocused): Likewise.
1693 (inputMap_whenInFocusedWindow): Likewise.
1694 (getActionForKeyStroke): Rewrite.
1695 (getConditionForKeystroke): Likewise.
1696 (ActionListenerProxy): New private class.
1697 (setInputMap): Implement.
1698 (getInputMap): Likewise.
1699 (setActionMap): Likewise.
1700 (getActionMap): Likewise.
1701 (processComponentKeyEvent): New empty method.
1702 (processKeyEvent): Implement.
1703 (processKeyBinding): Likewise.
1704 (resetKeyboardActions): Rewrite.
1705 * javax/swing/KeyStroke.java: Rewrite.
1706 * javax/swing/SwingUtilities.java
1707 (notifyAction): Implement.
1708 (replaceUIActionMap): Likewise.
1709 (replaceUIInputMap): Likewise.
1710 * javax/swing/plaf/basic/BasicButtonListener.java
1711 (focusGained): Implement.
1712 (focusLost): Repaint if focusPainted().
1713 (installKeyboardActions): Install pressed / released actions.
1714 (uninstallKeyboardActions): Implement.
1715 * javax/swing/plaf/basic/BasicButtonUI.java
1716 (focusColor): New field.
1717 (installDefaults): Load focus color, install input map.
1718 (installKeyboardActions): Implement.
1719 (uninstallKeyboardActions): Likewise.
1720 (paintFocus): Rewrite.
1721 * javax/swing/plaf/basic/BasicLookAndFeel.java
1722 (Button.focus): New default, midPurple.
1723 * javax/swing/plaf/basic/BasicTextUI.java
1725 (installUI): Get doc from kit, load defaults.
1726 (getKeymapName): Implement.
1727 (createKeymap): Likewise.
1728 (installKeyboardActions): Likewise.
1729 (getInputMap): Likewise.
1730 (getActionMap): Likewise.
1731 (createActionMap): Likewise.
1732 * javax/swing/text/AbstractDocument.java
1733 (getStartPosition): Implement.
1734 (getEndPosition): Likewise.
1735 * javax/swing/text/DefaultEditorKit.java
1736 (CopyAction): New class.
1737 (CutAction): Likewise.
1738 (DefaultKeyTypedAction): Likewise.
1739 (InsertBreakAction): Likewise.
1740 (InsertContentAction): Likewise.
1741 (InsertTabAction): Likewise.
1742 (PasteAction): Likewise.
1743 (defaultActions): New static table.
1744 (createCaret): Implement.
1745 (getActions): Likewise.
1746 * javax/swing/text/JTextComponent.java
1747 (KeymapWrapper): New private class.
1748 (KeymapActionMap): Likewise.
1749 (DefaultKeymap): New class.
1750 (keymaps): New static table.
1751 (keymap): New field.
1752 (getKeymap): Implement.
1753 (removeKeymap): Likewise.
1754 (addKeymap): Likewise.
1755 (setKeymap): Likewise.
1756 (loadKeymap): Likewise.
1757 (getActions): Likewise.
1758 (margin): New field.
1759 (JTextComponent): Build and install default keymap.
1760 * javax/swing/text/TextAction.java
1761 (textAction): Call super properly.
1762 (getTextComponent): Implement.
1763 * javax/swing/text/Utilities.java
1764 (drawTabbedText): Adjust position by ascent.
1766 2004-08-31 David Jee <djee@redhat.com>
1770 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1771 (setEnabled): Make it a native method.
1772 * java/awt/DefaultKeyboardFocusManager.java
1773 (postProcessKeyEvent): Only post event if the menu item
1775 * java/awt/MenuItem.java:
1776 Private field 'enabled' should be true by default.
1777 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1778 (setEnabled): New function.
1780 2004-08-31 David Jee <djee@redhat.com>
1784 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1785 (nativeSetHelpMenu): New native method declaration.
1786 (addHelpMenu): Call nativeSetHelpMenu().
1788 * java/awt/MenuBar.java
1789 (setHelpMenu): Call addNotify() on the new help menu.
1790 (add): Call addNotify() on the new menu.
1791 (addNotify): Set the help menu if one exists.
1792 * java/awt/peer/MenuBarPeer.java
1794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1795 (nativeSetHelpMenu): New method.
1797 2004-08-31 Graydon Hoare <graydon@redhat.com>
1799 * Makefile.am: Add new files.
1800 * Makefile.in: Regenerate.
1801 * javax/swing/Box.java: Fix setting of layout in ctor.
1802 * javax/swing/JScrollPane.java: Scroll headers as well.
1803 * javax/swing/JTable.java: Reimplement.
1804 * javax/swing/JViewPort.java: Only add non-null children.
1805 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1806 * javax/swing/Timer.java: Fix stopping null waker.
1807 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1808 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1809 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1810 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1811 * javax/swing/table/DefaultTableModel.java: Clean up.
1812 * javax/swing/table/JTableHeader.java: Implement.
1814 2004-08-31 Mark Wielaard <mark@klomp.org>
1816 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1819 2004-08-31 Mark Wielaard <mark@klomp.org>
1821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1822 Declare variables at top of functions/block.
1823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1825 2004-08-31 Mark Wielaard <mark@klomp.org>
1827 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1830 2004-08-31 Michael Koch <konqueror@gmx.de>
1832 * javax/swing/text/PlainView.java
1833 (selectedColor): New field.
1834 (unselectedColor): Likewise.
1836 (updateMetrics): New method.
1837 (lineToRect): Likewise.
1838 (modelToView): Likewise.
1839 (drawSelectedText): Use color from JTextComponent ad draw with
1841 (drawUnselectedText): Likewise.
1842 (paint): Initialize helper fields.
1843 * javax/swing/text/View.java
1844 (getChildAllocation): New method.
1845 (getViewIndex): Likewise.
1846 (getToolTipText): Likewise.
1848 2004-08-31 Michael Koch <konqueror@gmx.de>
1850 * javax/swing/text/Utilities.java
1851 (drawTabbedText): Reimplemented.
1852 (getTabbedTextWidth): Likewise.
1854 2004-08-31 Michael Koch <konqueror@gmx.de>
1856 * javax/swing/plaf/basic/BasicTextUI.java
1857 (installDefaults): Install caret and highlighter.
1858 (modelToView): Use Bias.Forward when calling sibling.
1859 * javax/swing/text/AbstractDocument.java
1860 (ElementEdit): Implements DocumentEvent.ElementChange.
1861 (ElementEdit.ElementEdit): New method.
1862 (ElementEdit.getChildrenAdded): Likewise.
1863 (ElementEdit.getChildrenRemoved): Likewise.
1864 (ElementEdit.getElement): Likewise.
1865 (ElementEdit.getIndex): Likewise.
1866 * javax/swing/text/DefaultCaret.java
1868 (textComponent): Renamed from parent, made private.
1869 (selectionVisible): Renamed from vis_sel, made private.
1870 (blinkRate): Renamed from blink, made private.
1871 (magicCaretPosition): Renamed from magic, made private.
1872 (visible): Renamed from vis, made private.
1873 (dot): Made private.
1875 (deinstall): Remove as MouseMotionListener.
1876 (install): Initialize textComponent first. Add as MouseMotionListener.
1877 (paint): Reimplemented.
1878 * javax/swing/text/JTextComponent.java
1879 (setCaret): Deinstall old caret, install new one and fire property
1880 change after setting property.
1881 (setHighlighter): Deinstall old highlighter, install new one and fire
1882 property change after setting property.
1883 (setCaretColor): Fire property change after setting property.
1884 (setDisabledTextColor): Likewise.
1885 (setSelectedTextColor): Likewise.
1886 (setSelectionColor): Likewise.
1887 (modelToView): New method.
1889 2004-08-31 Michael Koch <konqueror@gmx.de>
1891 * javax/swing/text/AbstractDocument.java
1892 (getText): Simplified.
1893 * javax/swing/text/Segment.java
1894 (current): New field.
1895 (current): Reimplemented.
1897 (getIndex): Likewise.
1900 (previous): Likewise.
1901 (setIndex): Likewise.
1903 2004-08-31 Michael Koch <konqueror@gmx.de>
1905 * javax/swing/plaf/basic/BasicButtonUI.java
1906 (defaultTextIconGap): Made protected.
1907 (defaultTextShiftOffset): Likewise.
1908 (textShiftOffset): New field.
1909 (clearTextShiftOffset): New method.
1910 (getTextShiftOffset): Likewise.
1911 (setTextShiftOffset): Likewise.
1913 2004-08-31 Michael Koch <konqueror@gmx.de>
1915 * javax/swing/plaf/basic/BasicTextUI.java
1916 (installUI): Add eventHandler as property listener.
1917 (uninstallUI): remove eventHandler as propert listener.
1918 (installDefaults): Added comment.
1919 (installListeners): Likewise.
1920 (installKeyboardActions): Likewise.
1921 (uninstallDefaults): Likewise.
1922 (uninstallListeners): Likewise.
1923 (uninstallKeyboardActions): Likewise.
1925 2004-08-31 Michael Koch <konqueror@gmx.de>
1927 * javax/swing/text/AbstractDocument.java:
1928 Fixed some typos in comments.
1929 (insertString): Reimplemented.
1931 (replace): New method.
1932 (children): Dont use fully qualified class name.
1933 (DefaultDocumentEvent.offset): Renamed from off.
1934 (DefaultDocumentEvent.length): Renamed from len.
1935 (DefaultDocumentEvent.type): New field.
1936 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1937 (DefaultDocumentEvent.getType): Implemented.
1939 2004-08-31 Michael Koch <konqueror@gmx.de>
1941 * javax/swing/plaf/basic/BasicTextUI.java
1942 (RootView.textComponent): Removed.
1943 (RootView.RootView): Don't initialize textComponent.
1944 (RootView.getViewFactory): New method.
1945 (EventHandler): New inner class.
1946 (rootView): Initialize at instance creation.
1947 (eventHandler): New field.
1948 (installUI): Don't create view hierarchy directly,
1949 call modelChanged() instead.
1950 (modelChanged): New method.
1951 * javax/swing/text/JTextComponent.java
1952 (setDocument): Fire property change event.
1954 2004-08-31 Michael Koch <konqueror@gmx.de>
1956 * javax/swing/plaf/basic/BasicTextUI.java
1957 (RootView.paint): Removed debug output.
1958 (paintSafely): Draw highlighter before text.
1959 (paintBackground): Use background color of text component.
1960 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1963 2004-08-31 Michael Koch <konqueror@gmx.de>
1965 * javax/swing/plaf/basic/BasicToolBarUI.java
1966 (BasicToolBarUI): Fixed arguments for constructor.
1967 (createUI): Fixed creation of object.
1969 2004-08-31 Michael Koch <konqueror@gmx.de>
1971 * javax/swing/DefaultListSelectionModel.java
1972 (fireValueChanged): Renamed from fireSelectionValueChanged,
1975 2004-08-31 Michael Koch <konqueror@gmx.de>
1977 * javax/swing/text/TabSet.java
1978 (TabSet): Implements java.io.Serializable.
1979 * javax/swing/text/TabStop.java
1980 (TabStop): Implements java.io.Serializable.
1981 (TabStop): Made public.
1983 2004-08-31 Michael Koch <konqueror@gmx.de>
1985 * javax/swing/JComponent.java
1986 (setUI): Fire PropertyChange.
1987 * javax/swing/JLabel.java
1988 (text): Renamed from labelText.
1989 (horizontalAlignment): New default vlaue.
1990 (icon): Renamed from activeIcon.
1991 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1992 (displayedMnemonicIndex): Renamed from underlineChar.
1993 (setDisplayedMnemonic): Reimplemented.
1994 * javax/swing/JRadioButton.java
1995 (JRadioButton): New constructors.
1996 * javax/swing/JTextField.java
1997 (JTextField): Throw exception if colums < 0, initialitialz
1998 this.columns directly and initialize document with text conditionally.
2000 2004-08-31 Michael Koch <konqueror@gmx.de>
2002 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
2003 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
2004 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
2005 * javax/swing/text/FieldView.java
2006 (paint): Just call super method for now.
2007 * Makefile.am: Added new files.
2008 * Makefile.in: Regenerated.
2010 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
2012 * javax/swing/AbstractSpinnerModel.java,
2013 javax/swing/JSpinner.java,
2014 javax/swing/SpinnerNumberModel.java,
2015 javax/swing/plaf/basic/BasicSpinnerUI.java:
2017 * javax/swing/plaf/basic/BasicLookAndFeel.java
2018 (initClassDefaults): Added defaults for BasicSpinnerUI.
2020 2004-08-31 Michael Koch <konqueror@gmx.de>
2022 * Makefile.am: Added new files.
2023 * Makefile.in: Regenerated.
2025 2004-08-31 Michael Koch <konqueror@gmx.de>
2027 * javax/swing/TransferHandler.java,
2028 javax/swing/plaf/basic/ComboPopup.java: New files
2029 * Makefile.am: Added javax/swing/TransferHandler.java and
2030 javax/swing/plaf/basic/ComboPopup.java
2031 * Makefile.in: Regenerated.
2033 2004-08-31 Roman Kennke <roman@ontographics.com>
2035 * javax/swing/text/Utilities.java: New file.
2037 2004-08-31 Michael Koch <konqueror@gmx.de>
2039 * Makefile.am: Added javax/swing/text/Utilities.java.
2040 * Makefile.in: Regenerated.
2042 2004-08-31 Graydon Hoare <graydon@redhat.com>
2044 * javax/swing/text/SimpleAttributeSet.java: New file.
2045 * javax/swing/text/StyleConstants.java: New file.
2046 * javax/swing/text/StyleContext.java: New file.
2047 * javax/swing/text/TabSet.java: New file.
2048 * javax/swing/text/TabStop.java: New file.
2049 * javax/swing/text/AbstactDocument.java:
2050 (AbstractElement): Implement attribute support.
2051 * javax/swing/text/AttributeSet.java
2052 (NameAttribute): New static field.
2053 (ResolveAttribute): New static field.
2054 * Makefile.am: Update for new files.
2055 * Makefile.in: Regenerate.
2057 2004-08-31 Craig Black <craig.black@aonix.com>
2059 * gnu/java/awt/peer/gtk/GdkGraphics.java
2060 (drawImage): Add support for scaling pixmaps.
2061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2062 (copyAndScalePixmap): New native method.
2064 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2067 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2068 type-punning compiler warnings using unions.
2069 (throw): Replace bzero with memset.
2071 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2072 Thomas Fitzsimmons <fitzsim@redhat.com>
2074 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2075 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2076 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2077 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2078 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2080 2004-08-31 Mark Wielaard <mark@klomp.org>
2082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2083 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2084 and stdlib.h, not gtkpeer.h.
2085 (*vm): New static variable.
2086 (areaPreparedID): Make static.
2087 (areaUpdatedID): Likewise.
2088 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2089 (area_prepared): Likewise.
2090 (area_updated): Likewise.
2092 (initStaticState): Initialize *vm javaVM.
2093 (pumpBytes): Use given env, not global gdk_env.
2095 2004-08-31 Mark Wielaard <mark@klomp.org>
2097 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2100 2004-08-31 Sven de Marothy <sven@physto.se>
2102 * java/awt/geom/CubicCurve2D.java: Reindent.
2103 (contains): Implemented.
2104 (intersects): Implemented.
2105 * java/awt/geom/QuadCurve2D.java: Likewise.
2106 * java/awt/geom/GeneralPath.java: Reindent and document.
2107 Fully (re)implemented using separate xpoints and ypoints
2109 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2111 2004-08-31 Michael Koch <konqueror@gmx.de>
2113 * javax/swing/JMenuItem.java
2114 (getMenuDragMouseListeners): New method.
2115 (getMenuKeyListeners): Likewise.
2117 2004-08-31 Michael Koch <konqueror@gmx.de>
2119 * javax/swing/AbstractButton.java
2120 (model): Made protected.
2121 (actionListener): Likewise.
2122 (changeListener): Likewise.
2123 (itemListener): Likewise.
2124 (multiClickThreshhold): New field.
2125 (getActionListeners): New method.
2126 (getChangeListeners): Likewise.
2127 (getItemListeners): Likewise.
2128 (fireItemStateChanged): Simplified implementation.
2129 (fireActionPerformed): Likewise.
2130 (fireStateChanged): Likewise.
2131 (getMultiClickThreshhold): New method.
2132 (setMultiClickThreshhold): Likewise.
2134 2004-08-31 Tom Tromey <tromey@redhat.com>
2136 * java/awt/image/Kernel.java (clone): Use super.clone().
2138 2004-08-31 David Jee <djee@redhat.com>
2141 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2142 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2143 (nativeSetIconImageFromData): New native method declaration.
2144 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2145 * gnu/java/awt/peer/gtk/GtkImage.java
2146 (getPixelCache): New method.
2147 (getColorModel): New method.
2148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2149 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2150 (free_pixbuf_data): New helper function.
2151 (nativeSetIconImageFromData): New function.
2153 2004-08-31 Graydon Hoare <graydon@redhat.com>
2156 * javax/swing/JLayeredPane.java
2157 (setLayer): Permit changing layer after addition.
2158 (setPosition): Permit over-length positions.
2159 (layerToRange): Compare intValue()s.
2160 * javax/swing/Box.java (createHorizontalBox): Implement.
2161 (createRigidArea): Likewise.
2162 (createVerticalBox): Likewise.
2164 2004-08-31 Kim Ho <kho@redhat.com>
2166 * java/awt/Component.java:
2167 (processMouseEvent): Consume event after
2168 listeners process it.
2169 (processMouseMotionEvent): ditto.
2170 (processMouseWheelEvent): ditto.
2171 * java/awt/Container.java:
2172 (acquireComponentForMouseEvent):
2173 Do not dispatch to events that have been
2174 removed from the Container.
2175 (handleEvent): Consume the MouseEvents.
2176 * javax/swing/RepaintManager.java:
2177 (paintDirtyRegions): Do not add to list of
2178 damaged areas if the component has no root.
2180 2004-08-31 Michael Koch <konqueror@gmx.de>
2182 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2184 2004-08-31 Mark Wielaard <mark@klomp.org>
2186 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2187 null when a MissingResourceException is thrown. Should never happen.
2189 2004-08-31 Mark Wielaard <mark@klomp.org>
2191 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2192 when argument is null.
2194 2004-08-31 Mark Wielaard <mark@klomp.org>
2196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2197 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2198 Define hid at start of function.
2199 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2202 2004-08-31 Mark Wielaard <mark@klomp.org>
2204 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2205 * javax/swing/JButton.java: Reindent.
2206 * javax/swing/JCheckBox.java: Reindent.
2208 2004-08-31 Mark Wielaard <mark@klomp.org>
2210 * Makefile.am (gtk_c_source_files): Added
2211 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2212 (gtk_awt_peer_sources): Added
2213 gnu/java/awt/peer/gtk/GThreadMutex.java and
2214 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2215 * Makefile.in: Regenerated.
2217 2004-08-31 Archie Cobbs <archie@dellroad.org>
2219 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2221 2004-08-31 Steven Augart <augart@watson.ibm.com>
2223 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2224 Added jfieldID, jmethodID.
2226 2004-08-31 Mark Wielaard <mark@klomp.org>
2228 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2229 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2230 gdk_env before calling any gdk or gtk function.
2232 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2233 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2234 (run): Set gtkInitCalled.
2236 2004-08-31 Steven Augart <augart@watson.ibm.com>
2238 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2239 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2242 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2243 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2245 (init_glib_threads): New function.
2247 2004-08-31 Mark Wielaard <mark@klomp.org>
2249 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2250 PRIORITY when not already defined in header file.
2252 2004-08-31 Mark Wielaard <mark@klomp.org>
2254 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2255 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2257 2004-08-31 Steven Augart <augart@watson.ibm.com>
2259 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2260 Implemented missing functions for GTK2.
2261 Added error handling.
2262 Renamed static functions out of the g_ namespace.
2263 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2264 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2265 Rewrote global-reference code.
2266 Eliminated cascading errors.
2267 (mutex_trylock_jni_impl) Fully implemented.
2268 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2270 (setup_cache) New function.
2271 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2272 bug where they were not unlocking the GMutex associated with the
2273 condition variable during the wait on that condition variable.
2275 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2276 native/jni/gtk-peer/gthread-jni.c,
2277 native/jni/gtk-peer/gthread-jni.h
2278 (g_thread_jni_functions): Renamed to ...
2279 (portable_native_sync_jni_functions): this name.
2280 (gdk_vm): Renamed to...
2281 (the_vm): this name.
2283 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2284 (gdk_vm): Removed duplicate definition.
2285 (gtkInit): Removed stray message to stdout.
2286 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2287 (gtkInit): Fix a const assignment bug.
2288 (gtkInit): Simplified code.
2290 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2291 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2292 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2293 gnu/java/awt/peer/gtk/GThreadMutex.java:
2296 2004-08-31 Mark Wielaard <mark@klomp.org>
2298 * javax/swing/Box.java: Put FIXME comment above class declaration.
2299 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2300 * javax/swing/JCheckBox.java: Likewise.
2301 * javax/swing/JDialog.java: Likewise.
2302 * javax/swing/JRadioButton.java: Likewise.
2303 * javax/swing/JToggleButton.java: Likewise.
2304 * javax/swing/UIManager.java: Likewise.
2305 * javax/swing/border/TitledBorder.java: Likewise.
2306 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2307 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2308 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2309 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2310 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2311 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2312 * javax/swing/text/JTextComponent.java: Likewise.
2314 2004-08-31 David Jee <djee@redhat.com>
2317 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2318 (setIconImage): Add a FIXME for unhandled cases.
2320 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2323 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2324 getModifiers. Replace old button masks with new ones.
2325 * gnu/awt/xlib/XEventLoop.java: Likewise.
2326 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2327 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2328 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2329 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2330 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2331 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2332 * java/awt/Component.java: Replace old modifier masks with new
2334 * java/awt/Container.java: Call getModifiersEx, not
2336 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2338 * javax/swing/JMenuItem.java: Replace old button masks with new
2340 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2342 * javax/swing/SwingUtilities.java: Likewise.
2343 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2344 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2345 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2346 mask macros with new ones.
2347 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2348 macros with new ones representing new masks.
2350 2004-08-31 Craig Black <craig.black@aonix.com>
2352 * gnu/java/awt/peer/gtk/GdkGraphics.java
2353 (drawRoundRect): Implemented.
2354 (fillRoundRect): Implemented.
2355 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2356 (drawRoundRect): Reimplemented to match GdkGraphics.
2357 (fillRoundRect): Reimplemented to match GdkGraphics.
2359 2004-08-31 Mark Wielaard <mark@klomp.org>
2361 * Makefile.in: Regenerated.
2363 2004-08-31 Michael Koch <konqueror@gmx.de>
2365 * gnu/java/awt/EmbeddedWindow.java
2366 (addNotify): Use AccessController to allow execution of privileged
2369 2004-08-31 Michael Koch <konqueror@gmx.de>
2371 * gnu/java/awt/EmbeddedWindow.java
2373 (addNotify): Set peer via reflection.
2374 (setWindowPeer): Removed.
2375 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2376 * Makefile.am (nat_source_files):
2377 Removed gnu/java/awt/natEmbeddedWindow.cc.
2379 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2381 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2382 and gnu/java/security/action/SetAccessibleAction.java.
2384 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2386 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2387 Renamed from 'setName'. New 2-argument form with default value.
2388 (run): Pass default 'value' parameter to System.getProperty().
2389 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2392 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2394 * gnu/java/security/action/GetPropertyAction.java: New class.
2395 * gnu/java/security/action/SetAccessibleAction.java: New class.
2397 2004-08-31 David Jee <djee@redhat.com>
2399 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2400 (setIconImage): Check if image is null.
2402 2004-08-31 David Jee <djee@redhat.com>
2404 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2405 (create): Set the icon image.
2406 (nativeSetIconImage): New native method declaration.
2407 (setIconImage): Implement.
2408 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2409 (nativeSetIconImage): New function.
2411 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2413 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2414 (filenameFilterCallback): Declare local variable accepted before use.
2416 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2418 * gnu/java/awt/ComponentDataBlitOp.java:
2421 2004-08-31 Tom Tromey <tromey@redhat.com>
2423 * gnu/java/awt/peer/GLightweightPeer.java,
2424 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2425 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2426 javax/swing/JScrollPane.java: Removed
2429 2004-08-31 David Jee <djee@redhat.com>
2431 * java/awt/DefaultKeyboardFocusManager.java
2432 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2433 event. Fix shift modifier checking.
2434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2435 (accel_attach): Remove.
2436 (setupAccelGroup): Remove calls to accel_attach.
2438 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2440 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2441 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2443 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2445 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2446 * Makefile.in: Regenerate.
2447 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2448 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2449 (create(String)): New method.
2450 (create): Call new create method.
2451 (getArgs): Remove method.
2452 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2453 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2454 (nativeCreate): Rename to create.
2455 (gtkSetLabel): Rename to gtkButtonSetLabel.
2456 (gtkToggleButtonSetActive): New method.
2457 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2458 (setState): Replace set call with gtkToggleButtonSetActive.
2459 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2460 (getArgs): Remove method.
2461 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2462 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2463 (gtkWidgetSetSensitive): New method.
2464 (gtkWidgetSetParent): Likewise.
2465 (GtkComponentPeer): Call setParent, setComponentBounds and
2466 setVisibleAndEnabled.
2467 (setParent): New method.
2468 (setComponentBounds): New method.
2469 (setVisibleAndEnabled): New method.
2470 (setEnabled): Call gtkWidgetSetSensitive.
2471 (getArgs): Remove method.
2472 Remove all set methods.
2473 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2474 gtkWindowSetModal, setTitle and setResizable.
2475 (getArgs): Remove method.
2476 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2477 (setComponentBounds): New method.
2478 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2479 Replace set call with gtkWindowSetResizable.
2480 (getArgs): Remove method.
2481 (create): Call setTitle and setResizable.
2482 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2483 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2484 (gtkWindowSetTitle): New method.
2485 (gtkWindowSetResizable): New method.
2486 (gtkWindowSetModal): New method.
2487 (setParent): New method.
2488 (setVisibleAndEnabled): New method.
2489 (getArgs): Remove method.
2490 (setTitle): Call gtkWindowSetTitle.
2491 (setResizable): Call gtkWindowSetResizable.
2492 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2493 and off locking instrumentation.
2495 2004-08-31 Kim Ho <kho@redhat.com>
2497 * Makefile.am: Add new file.
2498 * Makefile.in: Regenerate.
2499 * gcj/Makefile.in: Regenerate
2500 * include/Makefile.in:
2501 * java/awt/Container.java:
2502 (acquireComponentForMouseEvent): Respect
2503 the event mask when looking for candidate.
2504 * javax/swing/JComponent.java:
2505 Remove toolTip field.
2506 (createToolTip): Create a tooltip on demand.
2507 (setToolTipText): Register with the ToolTipManager.
2508 (getToolTipText(MouseEvent)): Return getToolTipText().
2509 * javax/swing/JToolTip.java: Implement.
2510 * javax/swing/Timer.java: Jalopy.
2511 (restart): Call stop, then start.
2512 (stop): Interrupt the timer rather than wait for
2513 the timer to come to a stop naturally.
2514 * javax/swing/ToolTipManager.java: Implement.
2515 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2516 Change ToolTip.background color.
2517 * javax/swing/plaf/basic/BasicToolTipUI.java:
2519 * testsuite/Makefile.in: Regenerate
2521 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2523 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2524 constructor param comments.
2526 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2528 * java/awt/Component.java: Document AWT 1.0 event handler
2531 2004-08-31 Roman Kennke <roman@ontographics.com>
2533 * javax/swing/Box.java:
2534 (createGlue): Implemented
2535 (createHorizontalGlue): Implemented
2536 (createHorizontalStrut): Implemented
2537 (createVerticalGlue): Implemented
2538 (createVerticalStrut): Implemented
2540 2004-08-31 David Jee <djee@redhat.com>
2542 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2543 (GtkChoicePeer): Do not automatically select first item.
2544 (getHistory): Remove.
2545 (nativeGetSelected): New method.
2546 (nativeRemoveAll): New method.
2547 (add): Use nativeGetSelected() instead of getHistory().
2549 (removeAll): Call nativeRemoveAll().
2550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2551 (create): Migrate to GtkComboBox.
2553 (nativeAdd): Likewise.
2554 (nativeRemove): Likewise.
2556 (nativeRemoveAll): New method.
2557 (nativeGetSelected): New method.
2558 (selection_changed): New method.
2559 (getHistory): Remove.
2560 (item_activate): Remove.
2561 (item_removed): Remove.
2562 (connect_choice_item_selectable_hook): Remove.
2564 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2566 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2567 variable in setEditable call.
2569 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2570 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2571 (gtkWidgetSetBackground): New method.
2572 (gtkWidgetSetForeground): Likewise.
2573 (create): Set peer's editable state based on awtComponent's.
2575 * java/awt/Button.java (Button()): Use empty string rather than
2576 null in no-label constructor.
2578 2004-08-31 Roman Kennke <roman@ontographics.com>
2580 * javax/swing/BoxLayout.java: Reimplement.
2582 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2584 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2585 gnu_java_awt_peer_gtk_GdkGraphics.c
2586 (initState(GtkComponentPeer)): Don't return array of colour
2588 (GdkGraphics(int,int)): Set default font to size 12.
2589 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2590 component's foreground colour.
2591 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2592 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2593 (initState(GtkComponentPeer)): Don't return array of colour
2595 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2596 colours to component's colours.
2597 (current_colors_of_widget): Remove function.
2598 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2599 Return a new graphics object.
2600 * java/awt/Font.java (toString): Fix format.
2601 * java/awt/Graphics.java (toString): Likewise.
2603 2004-08-31 Craig Black <craig.black@aonix.com>
2605 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2606 (addTearOff): New function.
2607 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2609 (init): Call addTearOff() when menu.isTearOff().
2611 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2613 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2614 Default implementation.
2615 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2616 Implement using GdkPixbufDecoder.
2618 2004-08-31 David Jee <djee@redhat.com>
2620 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2621 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2622 setting the size of GtkFileDialogPeers.
2623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2624 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2625 use their default sizes rather than their natural requisitions.
2627 2004-08-31 Michael Koch <konqueror@gmx.de>
2629 * javax/swing/JFormattedTextField.java
2630 (JFormattedTextField): Implemented.
2631 * javax/swing/text/DefaultEditorKit.java
2632 (BeepAction): New inner class.
2633 * javax/swing/text/Segment.java
2634 (partialReturn): New field.
2635 (setPartialReturn): New method.
2636 (isPartialReturn): Likewise.
2637 * javax/swing/text/View.java
2638 (createFragment): Fixed typo.
2639 (getStartOffset): New method.
2640 (getEndOffset): Likewise.
2642 2004-08-31 Michael Koch <konqueror@gmx.de>
2644 * javax/swing/table/DefaultTableColumnModel.java
2645 (serialVersionUID): Made private.
2646 (listenerList): Initialize.
2647 (changeEvent): Initialize.
2648 * javax/swing/table/JTableHeader.java
2649 (JTableHeader): New constructors.
2650 (createDefaultColumnModel): New method.
2651 * javax/swing/table/TableColumn.java
2652 (setHeaderRenderer): Simplified code.
2653 (setCellRenderer): Likewise.
2654 (setWidth): Likewise.
2656 2004-08-31 Tom Tromey <tromey@redhat.com>
2658 * java/text/AttributedString.java (AttributedString): Use
2659 ArrayList to build array of attribute ranges. Don't use
2660 `attribs' before it is set.
2662 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2664 * HACKING: Remove reference to special automake. No longer needed.
2666 2004-08-30 Tom Tromey <tromey@redhat.com>
2668 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2669 return result from `add'.
2671 2004-08-30 Tom Tromey <tromey@redhat.com>
2673 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2675 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2677 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2679 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2681 * java/io/File.java File(String,String): Fixed handling of empty
2684 2004-08-30 Casey Marshall <csm@gnu.org>
2686 Author e-mail updated for all files.
2687 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2689 (compareTo): Use `equals'.
2690 * gnu/java/security/der/BitString.java (equals): Test if the
2691 argument is an instance of BitString.
2692 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2693 class final. Made fields private.
2694 (<init>): New constructor.
2696 (makeString): Made static; don't use NIO.
2697 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2698 * gnu/java/security/der/DERWriter.java: Fixed imports.
2699 (writeString): Don't use NIO.
2700 (toIso88591, toUtf16Be, toUtf8): New methods.
2701 * gnu/java/security/der/DERValue.java: Formatting changes only.
2702 * gnu/java/security/der/DER.java: Likewise.
2704 2004-08-30 Tom Tromey <tromey@redhat.com>
2706 * java/nio/CharBuffer.java (put): Fix typo.
2707 * java/nio/DoubleBuffer.java (put): Fix typo.
2708 * java/nio/FloatBuffer.java (put): Fix typo.
2709 * java/nio/IntBuffer.java (put): Fix typo.
2710 * java/nio/LongBuffer.java (put): Fix typo.
2711 * java/nio/ShortBuffer.java (put): Fix typo.
2713 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2715 * java/nio/ByteBuffer.java (put): Fix typo.
2717 2004-08-30 Casey Marshall <csm@gnu.org>
2719 * java/security/DummyKeyPairGenerator.java (clone): Removed
2720 useless instanceof check.
2721 * java/security/DummyMessageDigest.java (clone): Likewise.
2722 * java/security/DummySignature.java (clone): Likewise.
2723 * java/security/MessageDigest.java (clone): Remove useless
2725 * java/security/MessageDigestSpi.java (clone): Likewise.
2726 * java/security/Signature.java (clone): Provide meaningful
2728 * java/security/SignatureSpi.java (clone): Likewise.
2730 2004-08-29 Mark Wielaard <mark@klomp.org>
2732 * java/util/Arrays.java
2733 (sort(byte[], int, int)): Check fromIndex < 0.
2734 (sort(char[], int, int)): Likewise.
2735 (sort(short[], int, int)): Likewise.
2736 (sort(int[], int, int)): Likewise.
2737 (sort(long[], int, int)): Likewise.
2738 (sort(float[], int, int)): Likewise.
2739 (sort(double[], int, int)): Likewise.
2740 (sort(Object[], int, int, Comparator)): Likewise.
2741 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2742 (qsort(char[], int, int)): Likewise.
2743 (qsort(short[], int, int)): Likewise.
2744 (qsort(int[], int, int)): Likewise.
2745 (qsort(long[], int, int)): Likewise.
2746 (qsort(float[], int, int)): Likewise.
2747 (qsort(double[], int, int)): Likewise.
2749 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2751 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2752 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2753 java/util/ArrayList.java, java/util/Arrays.java,
2754 java/util/BitSet.java, java/util/Calendar.java,
2755 java/util/Collection.java, java/util/ListIterator.java,
2756 java/util/Map.java, java/util/SortedSet.java:
2757 Added additional exceptions to documentation, along
2758 with some additions and corrections.
2760 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2762 * configure.ac: Handle --enable-gc-debug.
2763 * configure: Regenerate.
2764 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2765 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2766 Rearrange include file order.
2767 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2768 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2769 (disable_gc_mutex): Delete along with all references.
2770 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2771 adjust for debug header size.
2772 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2774 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2775 (gcj_describe_type_fn): New.
2776 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2777 Register gcj_describe_type_fn.
2778 * include/boehm-gc.h:
2779 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2780 Don't define, but declare, for debug case.
2781 * java/lang/natObject.cc:
2782 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2784 2004-08-26 Mark Wielaard <mark@klomp.org>
2786 Fixes PR libgcj/17002:
2787 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2788 a TimeZoneId string and then try to convert that to a TimeZone with
2789 getDefaultSystemTimeZone(String).
2790 (timezones0): Changed type from Hashtable to HashMap.
2791 (timezones): Create HashMap, not Hashtable.
2792 (getDefaultTimeZone): New method, rewritten from CNI version.
2793 (readTimeZoneFile): New method.
2794 (readtzFile): Likewise.
2795 (skipFully): Likewise.
2796 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2797 getDefaultTimeZoneId and rewritten.
2798 (getDefaultTimeZoneId): Rewritten in java.
2800 2004-08-25 David Daney <daney@avtrex.com>
2802 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2803 * Makefile.in: Regenerated.
2805 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2807 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2808 only if jvmpi is enabled.
2809 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2810 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2811 (_Jv_AllocString): Likewise.
2812 (_Jv_AllocPtrFreeObject): Likewise.
2814 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2816 * defineclass.cc: Include <stdio.h>.
2817 * java/lang/natClassLoader.cc: Include <stdio.h>.
2819 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2820 Michael Koch <konqueror@gmx.de>
2822 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2823 * Makefile.in: Regenerated.
2825 2004-08-20 Michael Koch <konqueror@gmx.de>
2827 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2828 AC_COMPILE_IFELSE macros.
2830 2004-08-20 Michael Koch <konqueror@gmx.de>
2832 * configure.in: Renamed to configure.ac.
2833 * configure.ac: New file.
2834 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2835 include/config.h.in, testsuite/Makefile.in: Regenerated.
2837 2004-08-20 Michael Koch <konqueror@gmx.de>
2839 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2840 * aclocal.m4, configure: Regenerated.
2842 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2843 Michael Koch <konqueror@gmx.de>
2845 * configure.in, Makefile.am: Ported to automake 1.9.
2846 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2847 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2850 2004-08-19 Tom Tromey <tromey@redhat.com>
2852 * java/net/DatagramSocket.java: Fixed typo.
2854 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2857 * java/net/URI.java (string): New field. Make all other fields
2859 (readObject): Implemented.
2860 (writeObject): Implemented.
2861 (URI): Set 'string'.
2863 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2866 * java/util/logging/Handler.java (isLoggable): Accept record if its
2867 log level equals the threshold level. From Robin Green.
2869 2004-08-18 David Daney <ddaney@avtrex.com>
2871 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2874 2004-08-17 Michael Koch <konqueror@gmx.de>
2876 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2877 * Makefile.in: Regenerated.
2879 2004-08-16 Tom Tromey <tromey@redhat.com>
2882 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2884 2004-08-16 Michael Koch <konqueror@gmx.de>
2887 (math_c_files): Renamed from c_files.
2888 (math_c_source_files): Renamed from c_source_files.
2891 include/Makefile.in,
2892 testsuite/Makefile.in: Regenerated.
2894 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2896 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2897 to avoid autoconf warning.
2898 * configure: Rebuilt.
2900 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2902 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2903 localhostAddress to loopbackAddress.
2904 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2906 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2908 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2909 boehm-gc's include dirs.
2910 * configure: Rebuilt.
2911 * include/boehm-gc.h: Include gc_config.h.
2913 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2915 * java/net/InetAddress.java (loopbackAddress): Renamed from
2917 (getByName): Return loopback address for null hostname, without
2918 security check. Use lookup(), not getAllByName.
2919 (getAllByName): Return loopback address for null hostname, without
2921 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2924 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2927 Reported by Robin Green.
2928 * defineclass.cc (handleField): Don't throw exception on unrecognised
2929 modifier. Add FIXME comments for spec compliance.
2930 (handleMethod): Likewise.
2932 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2935 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2936 (Almost everywhere): add LOG calls, fix, add comments.
2937 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2938 Add explicit check for LOCKED bit in slow case (PR 16662).
2939 (_Jv_MonitorExit): Add casts in debug-only code.
2940 Always release LOCKED bit before throwing exception.
2941 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2942 isn't. Handle easy cases without lock acquisition.
2943 (Object::wait): Use NotifyAll for lock inflation.
2945 2004-08-12 David Daney <ddaney@avtrex.com>
2947 * testsuite/libjava.lang/Process_1.java: New test.
2948 * testsuite/libjava.lang/Process_2.java: New test.
2949 * testsuite/libjava.lang/Process_3.java: New test.
2950 * testsuite/libjava.lang/Process_4.java: New test.
2951 * testsuite/libjava.lang/Process_5.java: New test.
2952 * testsuite/libjava.lang/Process_6.java: New test.
2953 * testsuite/libjava.lang/Process_1.out: Expected result.
2954 * testsuite/libjava.lang/Process_2.out: Expected result.
2955 * testsuite/libjava.lang/Process_3.out: Expected result.
2956 * testsuite/libjava.lang/Process_4.out: Expected result.
2957 * testsuite/libjava.lang/Process_5.out: Expected result.
2958 * testsuite/libjava.lang/Process_6.out: Expected result.
2960 2004-08-12 David Daney <ddaney@avtrex.com>
2963 * java/lang/PosixProcess.java: Rewrote.
2964 * java/lang/natPosixProcess.cc: Rewrote.
2965 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2966 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2967 * posix-threads.cc (block_sigchld) New function.
2968 (_Jv_ThreadRegister) Use it.
2969 (_Jv_ThreadStart) Use it.
2970 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2971 * Makefile.am: ... to specify extra native headers.
2972 * configure: Regenerated.
2973 * include/config.h: Regenerated.
2974 * Makefile.in: Regenerated.
2975 * gcj/Makefile.in: Regenerated.
2976 * include/Makefile.in: Regenerated.
2977 * testsuite/Makefile.in: Regenerated.
2979 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2981 PR tree-optimization/16867
2982 * testsuite/libjava.lang/PR16867.java: New test.
2984 2004-08-09 Per Bothner <per@bothner.com>
2986 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2987 with private fields and access methods.
2988 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2989 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2990 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2991 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2992 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2993 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2995 * resolve.cc: Likewise.
2996 * gcj/field.h: Likewise.
2997 * include/jvm.h: Likewise.
2998 * java/lang/Class.h: Likewise.
2999 * java/lang/natClass.cc: Likwise.
3000 * java/lang/natClassLoader.cc: Likewise
3001 * java/lang/reflect/natMethod.cc: Likewise
3002 * verify.cc: Likewise.
3003 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
3004 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
3006 2004-08-10 Andrew Haley <aph@redhat.com>
3008 * testsuite/libjava.lang/err14.java: New file.
3009 * testsuite/libjava.lang/err14.out: New file.
3011 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
3013 * Makefile.am: Fix missing rename from x_nat_headers to
3015 * Makefile.in: Regenerated.
3017 2004-08-04 Andrew Haley <aph@redhat.com>
3019 * java/security/BasicPermission.java: Don't check wildcards.
3021 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3022 Michael Koch <konqueror@gmx.de>
3024 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3025 * configure.in: Replaced all usages of AC_LINK_FILES by
3028 configure: Regenerated.
3030 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3031 Michael Koch <konqueror@gmx.de>
3033 * acconfig.h: Removed.
3034 * Makefile.am: Rename variables for xlib peer to include xlib and
3035 gtk_c_headers to gtk_jni_headers.
3036 * Makefile.in: Regenerated.
3038 2004-08-04 Andrew Haley <aph@redhat.com>
3040 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3043 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3045 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3046 Replace most top level 'dnl' comments with '#' comments, conforming
3047 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3049 * configure: Rebuilt.
3051 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3053 * acinclude.m4: Include no-executables.m4.
3054 * aclocal.m4: Rebuild.
3055 * configure.in: Convert to the autoconf 2.59 version of
3056 of the no-executables hack, and also of the nonstandard CXX
3057 hack and the multilibbed CC and CXX hack. Change prerequisite
3059 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3060 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3061 testsuite/Makefile.in: Regenerate.
3063 2004-08-03 Tom Tromey <tromey@redhat.com>
3065 * jni.cc: Reindented.
3067 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3069 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3071 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3073 * testsuite/libjava.compile/PR16701.java: New test.
3075 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3077 * java/util/Collection.java, java/util/List.java,
3078 java/util/Map.java, java/util/Set.java,
3079 java/util/SortedMap.java, java/util/SortedSet.java:
3080 Added additional exceptions to documentation.
3082 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3085 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3086 * configure. Regenerate.
3087 * include/win32.h: Explicitly include winsock2.h
3088 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3091 2004-07-30 Michael Koch <konqueror@gmx.de>
3093 * java/util/zip/GZIPInputStream.java
3094 (GZIPInputStream): Increase buffer size to 4k.
3095 * java/util/zip/GZIPOutputStream.java
3096 (GZIPOutputStream): Likewise.
3097 * java/util/zip/Inflater.java
3098 (setInput): Merged formating with GNU classpath.
3099 * java/util/zip/InflaterInputStream.java
3100 (InflaterInputStream): Increase buffer size to 4k.
3101 (fill): Throw exception if stream ends early.
3102 (read): Merged endless-loop with GNU classpath.
3103 (skip): Increase buffer size to 2k.
3105 2004-07-30 Michael Koch <konqueror@gmx.de>
3107 * gnu/java/awt/EmbeddedWindow.java
3108 (addNotify): Use AccessController to allow execution of privileged
3111 2004-07-29 Michael Koch <konqueror@gmx.de>
3113 * gnu/java/lang/MainThread.java:
3114 Explicitely import used classes.
3115 (args): Make it type String[].
3117 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3119 * gnu/java/awt/ComponentDataBlitOp.java,
3120 gnu/java/beans/ExplicitBeanInfo.java,
3121 gnu/java/beans/IntrospectionIncubator.java,
3122 gnu/java/beans/editors/ColorEditor.java,
3123 gnu/java/beans/editors/FontEditor.java,
3124 gnu/java/beans/editors/NativeBooleanEditor.java,
3125 gnu/java/beans/editors/NativeByteEditor.java,
3126 gnu/java/beans/editors/NativeDoubleEditor.java,
3127 gnu/java/beans/editors/NativeFloatEditor.java,
3128 gnu/java/beans/editors/NativeIntEditor.java,
3129 gnu/java/beans/editors/NativeLongEditor.java,
3130 gnu/java/beans/editors/NativeShortEditor.java,
3131 gnu/java/beans/editors/StringEditor.java,
3132 gnu/java/io/ClassLoaderObjectInputStream.java,
3133 gnu/java/io/decode/Decoder.java,
3134 gnu/java/io/encode/Encoder.java,
3135 gnu/java/lang/ClassHelper.java,
3136 gnu/java/locale/Calendar.java,
3137 gnu/java/locale/Calendar_de.java,
3138 gnu/java/locale/Calendar_en.java,
3139 gnu/java/locale/Calendar_nl.java,
3140 gnu/java/locale/LocaleInformation_de.java,
3141 gnu/java/locale/LocaleInformation_en.java,
3142 gnu/java/locale/LocaleInformation_nl.java:
3145 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3147 * README: Remove obsolete info. Update bug URL.
3149 * NEWS: Updated with news up to GCC 3.4 release.
3151 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3153 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3154 Renamed from 'setName'. New 2-argument form with default value.
3155 (run): Pass default 'value' parameter to System.getProperty().
3156 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3158 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3161 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3163 * configure.in: Check for minimum GTK version 2.4 requirement.
3164 * configure: Rebuilt.
3166 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3168 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3169 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3171 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3173 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3174 address. Reduce sleep times. Synchronize with target threads before
3175 attempting to interrupt them. Don't try to calibrate yeild count,
3176 instead, always loop for a fixed time.
3177 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3178 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3179 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3180 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3181 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3182 * testsuite/libjava.lang/pr179.java: Likewise.
3183 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3184 time. Remove upper bounds check on sleep time.
3186 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3188 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3189 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3191 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3193 * java/io/File.java (toURI): Throw RuntimeException, not
3195 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3196 class name, not instance.
3198 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3200 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3201 and gnu/java/security/action/SetAccessibleAction.java.
3202 * Makefile.in: Rebuilt.
3204 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3206 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3207 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3209 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3210 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3211 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3213 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3215 * Makefile.am: Replace jar, rmic and rmiregistry references with
3216 gjar, grmic and grmiregistry.
3217 * configure.in: Likewise.
3218 * Makefile.in: Regenerate.
3219 * configure: Likewise.
3220 * gcj/Makefile.in: Likewise.
3221 * include/Makefile.in: Likewise.
3222 * testsuite/Makefile.in: Likewise.
3224 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3226 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3227 for privileged getProperty calls.
3228 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3229 SetAccessibleAction instead of anonymous class for doPrivileged call.
3230 (getMethod): Likewise.
3231 (setAccessible): New field. PrivilegedAction object to use when
3232 calling setAccessible.
3233 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3234 SetAccessibleAction instead of anonymous class for diPrivileged call.
3235 (setFields): Likewise.
3236 (getClassUID): Likewise.
3237 (findMethod): Likewise.
3238 * gnu/java/security/action/GetPropertyAction.java: New class.
3239 * gnu/java/security/action/SetAccessibleAction.java: New class.
3241 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3243 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3245 * testsuite/libjava.lang/Serialization.java: New test.
3246 * testsuite/libjava.lang/Serialization.out: New.
3248 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3250 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3251 missed in last commit.
3253 2004-07-23 Mark Wielaard <mark@klomp.org>
3255 * java/lang/System.java (static): Set http.agent system property when
3257 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3258 from system property inside AccessController.doPrivileged() call.
3259 (proxyPort): Made package private.
3260 (proxyInUse): Likewise.
3261 (proxyHost): Likewise.
3262 (userAgent): Likewise.
3264 2004-07-23 Mark Wielaard <mark@klomp.org>
3266 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3269 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3271 * Makefile.am (ordinary_java_source_files): Add
3272 DefaultContentHandlerFactory.java.
3273 * Makefile.in: Rebuilt.
3274 * java/net/URLConnection.java (defaultFactory): New field.
3276 (getContentHandler): Renamed from 'setContentHandler'. Try
3277 defaultFactory after user-set factory, if any. Search for content
3278 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3279 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3281 (getLastModified): Implemented.
3282 (getPermission): Create file permission here, instead of in
3284 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3286 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3288 (getLastModified): Implemented.
3289 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3290 Default implementation.
3291 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3292 Implement using GdkPixbufDecoder.
3294 2004-07-21 Michael Koch <konqueror@gmx.de>
3296 * javax/swing/JTextArea.java
3297 (setLineWrap): Fire property change event after new value is set.
3298 (setTabSize): Likewise.
3300 2004-07-21 Michael Koch <konqueror@gmx.de>
3302 * javax/swing/JTable.java
3303 (autoCreateColumnsFromModel): New field.
3304 (autoResizeMode): Likewise.
3305 (cellEditor): Likewise.
3306 (cellSelectionEnabled): Likewise.
3307 (columnModel): Likewise.
3308 (dataModel): Likewise.
3309 (defaultEditorsByColumnClass): Likewise.
3310 (defaultRenderersByColumnClass): Likewise.
3311 (editingColumn): Likewise.
3312 (editingRow): Likewise.
3313 (gridColor): Likewise.
3314 (preferredViewportSize): Likewise.
3315 (rowHeight): Likewise.
3316 (rowMargin): Likewise.
3317 (rowSelectionAllowed): Likewise.
3318 (selectionBackground): Likewise.
3319 (selectionForeground): Likewise.
3320 (selectionModel): Likewise.
3321 (showHorizontalLines): Likewise.
3322 (showVerticalLines): Likewise.
3323 (tableHeader): Likewise.
3324 (JTable): Implemented.
3325 (getColumnModel): Likewise.
3326 (getSelectedRow): Likewise.
3327 (getSelectionModel): Likewise.
3328 (setModel): Likewise.
3329 (setSelectionModel): Likewise.
3330 (createScrollPaneForTable): New method.
3331 (createDefaultDataModel): Likewise.
3332 (createDefaultListSelectionModel): Likewise.
3333 (getModel): Likewise.
3334 (getTableHeader): Likewise.
3335 (setTableHeader): Likewise.
3336 (getColumnSelectionAllowed): Likewise.
3337 (setColumnSelectionAllowed): Likewise.
3338 (getRowSelectionAllowed): Likewise.
3339 (setRowSelectionAllowed): Likewise.
3340 (getAutoResizeMode): Likewise.
3341 (setAutoResizeMode): Likewise.
3342 (getColumnCount): Likewise.
3343 (getRowCount): Likewise.
3344 (getCellRenderer): Likewise.
3345 * javax/swing/JTree.java
3346 (cellRenderer): New field.
3347 (editable): Likewise.
3348 (rootVisible): Likewise.
3349 (showsRootHandles): Likewise.
3350 (getModel): New method.
3351 (setModel): Likewise.
3352 (isEditable): Likewise.
3353 (setEditable): Likewise.
3354 (isRootVisbile): Likewise.
3355 (setRootVisible): Likewise.
3356 (getShowsRootHandles): Likewise.
3357 (setShowRootHandles): Likewise.
3358 (getCellRenderer): Likewise.
3359 (setCellRenderer): Likewise.
3361 2004-07-21 Michael Koch <konqueror@gmx.de>
3363 * javax/swing/JFormattedTextField.java
3364 (setDocument): Implemented.
3365 * javax/swing/JRootPane.java:
3367 * javax/swing/JTable.java
3368 (getDefaultRenderer): New method.
3369 * javax/swing/JTextField.java
3370 (setFont): Likewise.
3371 (getPreferredSize): Likewise.
3372 * javax/swing/JToggleButton.java
3373 (getAccessibleContext): Fix javadoc.
3374 * javax/swing/JTree.java:
3376 * javax/swing/JViewport.java:
3379 2004-07-21 David Jee <djee@redhat.com>
3381 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3382 Collect all native method declaration at the top.
3383 (create): Set the filename filter if necessary.
3384 (setDirectory): Call nativeSetDirectory().
3385 (setFilenameFilter): Implement.
3386 (filenameFilterCallback): New method.
3387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3388 (create): Configure dialog to show hidden files.
3389 (filenameFilterCallback): New function.
3390 (nativeSetFilenameFilter): New function.
3391 (nativeSetDirectory): New function.
3393 2004-07-21 Kim Ho <kho@redhat.com>
3395 * javax/swing/plaf/basic/BasicSliderUI.java:
3397 (paintTrack): Fill the track before painting
3400 2004-07-21 Graydon Hoare <graydon@redhat.com>
3402 patch from Roman Kennke <roman@ontographics.com>
3403 * javax/swing/Spring.java: New file.
3404 * javax/swing/SpringLayout.java: New file.
3405 * Makefile.am: Add new files.
3406 * Makefile.in: Regenerate.
3408 2004-07-21 Graydon Hoare <graydon@redhat.com>
3410 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3411 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3412 * javax/swing/ScrollPaneLayout.java: Likewise.
3414 2004-07-21 Kim Ho <kho@redhat.com>
3416 * javax/swing/DefaultDesktopManager.java:
3417 (findMinimum): Removed.
3418 (resizeFrame): Trust the UI to pass valid
3420 * javax/swing/JOptionPane.java:
3421 Implemented showInternalXXXDialog methods.
3422 (startModal): New method.
3423 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3424 (BorderListener::mouseDragged): Verify that the new
3425 bounds are valid before passing them to the DesktopManager.
3426 (preferredLayoutSize): Delegate
3428 (minimumLayoutSize): Ditto.
3429 (getSize): New method.
3430 (GlassPaneDispatcher): Reimplemented by copying
3431 a stripped down LightweightDispatcher from Container.
3432 (getMinimumSize): Call minimumLayoutSize.
3433 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3435 (mousePressed): Add ability to properly close
3437 * javax/swing/plaf/basic/BasicToolBarUI.java:
3438 (DragWindow): Set owner for DragWindow.
3440 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3442 * java/awt/image/ShortLookupTable.java: New file.
3443 * java/awt/image/ByteLookupTable.java: New file.
3444 * Makefile.am: Added new files.
3445 * Makefile.in: Regenerated.
3447 2004-07-21 David Jee <djee@redhat.com>
3449 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3450 (create(GtkContainerPeer)): New native method.
3451 (create()): Call native create(), passing in the parent frame
3452 as the paramter. Natively set the current file and directory.
3453 (setFile): Construct an absolute filename before passing it to
3455 (nativeGetDirectory): New method.
3456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3457 (window_closed): Removed.
3458 (ok_clicked): Likewise.
3459 (cancel_clicked): Likewise.
3460 (handle_response): New method.
3461 (create): Use GtkFileChooserDialog.
3462 (connectSignals): Connect to handle_response.
3463 (nativeGetDirectory): New method.
3464 (nativeSetFile): Use GtkFileChooserDialog.
3466 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3468 * java/awt/image/LookupTable.java: New file.
3469 * Makefile.am: Added new file.
3470 * Makefile.in: Regenerated.
3472 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3474 * java/awt/image/Kernel.java: New file.
3475 * Makefile.am: Added new file.
3476 * Makefile.in: Regenerated.
3478 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3480 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3481 * javax/swing/JMenu.java: Likewise.
3482 * javax/swing/JMenuBar.java: Likewise.
3483 (MARGIN_CHANGED_PROPERTY): New property.
3484 (setMargin): Implemented.
3485 * javax/swing/JMenuItem.java: Fixed javadocs.
3486 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3487 (LABEL_CHANGED_PROPERTY): New property.
3488 (add): changed to use createActionComponent.
3489 (createActionComponent): Implemented.
3490 (setLabel): Fire PropertyChangeEvent if label property
3492 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3493 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3494 (ContainerHandler): Repaint if margin property has changed.
3495 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3496 (installUI): Call installComponents().
3497 (uninstallUI): Call uinstallComponents().
3498 * javax/swing/plaf/basic/BasicMenuUI.java:
3500 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3503 2004-07-21 Kim Ho <kho@redhat.com>
3505 * javax/swing/plaf/basic/BasicToolBarUI.java:
3506 (DragWindow): Use the right constructor.
3508 2004-07-21 Kim Ho <kho@redhat.com>
3510 * javax/swing/JToolBar.java:
3511 (layoutContainer): Use getComponents.
3512 * javax/swing/plaf/basic/BasicToolBarUI.java:
3513 (DragWindow): Don't use SwingUtilities'
3515 (ToolBarDialog): ditto.
3517 2004-07-21 Kim Ho <kho@redhat.com>
3519 * javax/swing/JRootPane.java:
3521 (layoutContainer): Set the glasspane's size to
3522 be the same as the content pane.
3523 (createGlassPane): Set opaque property to false.
3525 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3527 * java/awt/Component.java (requestFocus()): Don't handle Panels
3529 (requestFocus(boolean)): Likewise.
3530 (requestFocusInWindow(boolean)): Likewise.
3531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3532 Set GTK_CAN_FOCUS flag.
3534 2004-07-21 Kim Ho <kho@redhat.com>
3536 * Makefile.am: Added new file.
3537 * Makefile.in: Regenerated.
3538 * gcj/Makefile.in: Regenerated.
3539 * include/Makefile.in: Regenerated.
3540 * javax/swing/AbstractButton.java:
3541 Add rollOverEnabled property.
3542 (setRolloverEnabled): Use new property.
3543 (isRolloverEnabled): Use new property.
3544 * javax/swing/JTabbedPane.java:
3545 (setComponent): Remove useless JTabbedPane.this.
3546 * javax/swing/JToolBar.java: Finish implementation.
3547 * javax/swing/plaf/basic/BasicArrowButton.java:
3548 (paint): Moved border painting to a border.
3549 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3550 Change JToolBar look and feel defaults.
3551 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3552 (actionPerformed): Return Integer index instead of name.
3553 (addButtonComponents): Check to see if component is
3555 (createMessageArea): Don't use components that are not
3557 (getIconForType): Use temporary icons.
3558 * javax/swing/plaf/basic/BasicSliderUI.java:
3559 (mousePressed): Do not return if it's on thumb.
3560 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3561 (paintMinorTickForVertSlider): ditto.
3562 (paintMajorTickForHorizSlider): ditto.
3563 (paintMajorTickForVertSlider): ditto.
3564 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3565 Add a border around the SplitPaneDivider.
3566 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3568 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3569 New file. Implemented.
3570 * javax/swing/plaf/basic/BasicToolBarUI.java:
3572 * testsuite/Makefile.in: Regenerated.
3574 2004-07-21 Graydon Hoare <graydon@redhat.com>
3576 * javax/swing/Timer.java (run): Queue events each time cycle.
3578 2004-07-21 David Jee <djee@redhat.com>
3580 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3581 (imageComplete): Call image.imageComplete().
3582 * java/awt/image/MemoryImageSource.java:
3583 Reimplement consumers as a Vector instead of a Hashtable. This is
3584 because enumeration on a Hashtable is not thread-safe.
3585 (addConsumer): Adapt to Vector consumers.
3586 (isConsumer): Adapt to Vector consumers.
3587 (removeConsumer): Adapt to Vector consumers.
3588 (startProduction): Adapt to Vector consumers. Call imageComplete()
3589 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3590 (newPixels): Adapt to Vector consumers.
3591 (sendPicture): Set the color model of the image consumer.
3592 (newPixels(IIII)): Adapt to Vector consumers.
3593 (newPixels(IIIIB)): Adapt to Vector consumers.
3595 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3597 * java/awt/Component.java (deliverEvent): Implement.
3598 (postEvent): Implement.
3599 (handleEvent): Implement.
3600 (translateEvent): New method.
3601 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3602 * java/awt/Container.java (deliverEvent): Implement.
3603 * java/awt/Event.java (paramString): Fix formatting.
3604 * java/awt/Font.java (toString): Likewise.
3605 * java/awt/Window.java (postEvent): Implement.
3607 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3609 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3610 Set window's focus owner upon receiving a FOCUS_LOST event.
3611 * java/awt/Window.java (Window()): Refocus the previously
3612 focused component within the window when the window regains the
3614 (setFocusOwner): New method.
3615 * java/awt/Component.java (requestFocus): Add FIXME.
3617 * libgcj.pc.in: Remove library flags.
3619 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3621 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3622 MOUSE_PRESSED event.
3623 * java/awt/Component.java (requestFocus()): Handle Panel
3624 specially. Post FOCUS_LOST event on opposite component.
3625 (requestFocus(boolean)): Likewise.
3626 (requestFocusInWindow(boolean)): Likewise.
3627 (paramString): Reorder dimension fields.
3628 * java/awt/Container.java (paramString): Fix string format.
3629 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3630 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3631 process key events if the focus owner is non-null.
3632 (dispatchKeyEvent): Likewise.
3633 * java/awt/Frame.java (paramString): Fix formatting.
3634 (generateName): New method.
3635 (getUniqueLong): Likewise.
3636 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3637 the temporary focus owner is null. If so, return the permanent
3639 * java/awt/Panel.java (generateName): New method.
3640 (getUniqueLong): Likewise.
3641 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3642 signal handling to make callbacks more specific.
3644 2004-07-21 Michael Koch <konqueror@gmx.de>
3646 * javax/swing/text/Position.java
3647 (Bias): Implemented.
3649 2004-07-21 Michael Koch <konqueror@gmx.de>
3651 * javax/swing/LookAndFeel.java
3652 (provideErrorFeedback): New method.
3654 2004-07-21 Michael Koch <konqueror@gmx.de>
3656 * javax/swing/JTextArea.java
3657 (tabSize): New field.
3658 (getTabSize): New method.
3659 (setTabSize): Likewise.
3661 2004-07-21 Michael Koch <konqueror@gmx.de>
3663 * javax/swing/ActionMap.java:
3664 Fixed javadocs all over.
3665 (serialVersionUID): Made private.
3666 (parent): Don't explicitely initialize with default value.
3668 (keys): Reimplemented.
3669 (allKeys): Likewise.
3670 (convertSet): Removed.
3671 * javax/swing/ComponentInputMap.java:
3672 Fixed javadocs all over.
3673 (ComponentInputMap): Implemented.
3677 (SetParent): Likewise.
3678 (getComponent): Likewise.
3679 * javax/swing/InputMap.java:
3680 Fixed javadocs all over.
3681 (serialVersionUID): Made private.
3682 (parent): Don't explicitely initialize with default value.
3684 (keys): Reimplemented.
3685 (allKeys): Likewise.
3686 (convertSet): Removed.
3688 2004-07-21 Michael Koch <konqueror@gmx.de>
3690 * javax/swing/ActionMap.java,
3691 javax/swing/ComponentInputMap.java,
3692 javax/swing/InputMap.java,
3693 javax/swing/table/DefaultTableColumnModel.java,
3694 javax/swing/table/TableColumn.java,
3695 javax/swing/table/TableColumnModel.java,
3696 javax/swing/table/TableModel.java,
3697 javax/swing/text/AbstractDocument.java,
3698 javax/swing/text/TextAction.java:
3701 2004-07-21 Graydon Hoare <graydon@redhat.com>
3703 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3704 Make method non-static.
3705 * javax/swing/AbstractButton.java:
3706 Rename fields to match property names where possible.
3707 (iconTextGap): New property.
3708 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3709 (init) New method, call from after various constructors.
3710 * javax/swing/JComponent.java (revalidate):
3711 Invalidate before queueing repair.
3712 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3713 Reimplement in terms of visibleRowCount property.
3714 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3715 * javax/swing/JScrollPane.java (createScrollListener):
3716 Remove tracing chatter.
3717 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3718 * javax/swing/RepaintManager.java (addInvalidComponent):
3720 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3722 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3723 Mimic sun behavior on top left/right positioning.
3724 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3725 Remove mistaken use of preferredScrollableViewportSize here.
3726 (layoutContainer): Use view's preferred size as basis.
3727 * javax/swing/plaf/basic/BasicButtonUI.java:
3728 Set, get, and use textIconGap property.
3729 (paint) Paint text returned from layout (with ellipsis).
3730 * javax/swing/plaf/basic/BasicListUI.java:
3731 Remove tracing chatter, correct various minor calculations.
3732 (getCellBounds): Update layout state before calculating.
3733 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3734 Use margin default similar to sun's.
3735 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3736 (createIncreaseIcon): Center icon, minimize margins.
3737 (createDecreaseIcon): Likewise.
3738 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3740 (installUI): Call it.
3741 (uninstallDefaults): Implement.
3742 (uninstallUI): Call it.
3743 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3744 Call existing Window constructor.
3745 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3746 Set clip before painting.
3748 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3750 * javax/swing/JMenuItem.java:
3751 (processMouseEvent): Reimplemented to deal with
3753 (createMenuDragMouseEvent): New private helper method.
3754 Creates MenuDragMouseEvent.
3755 * javax/swing/MenuSelectionManager.java
3756 (componentForPoint): Implemented.
3757 (isComponentPartOfCurrentMenu): Made public.
3758 (processMouseEvent): Reimplemented to deal with
3760 (setSelectedPath): Corrected small mistake that caused
3761 path to be set incorrectly.
3762 (getPath): If given component is JMenu then also add this
3763 menu's popup menu to the selected path.
3764 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3766 (getPreferredSize): Call getPreferredMenuItemSize().
3767 (getPreferredItemSize): Moved code from getPreferredSize to here.
3768 (installListeners): Install MouseMotionListeners.
3769 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3770 if mouse wasn't released in the bounds of this menu item.
3771 (MenuDragMouseHandler): Implemented.
3772 * javax/swing/plaf/basic/BasicMenuUI.java:
3773 (installListeners): Install MouseMotionListener and
3774 MenuDrageMouseListener.
3775 (MenuDragMouseHandler): Implemented.
3776 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3777 (uninstallListeners): Implemented.
3779 2004-07-21 Michael Koch <konqueror@gmx.de>
3781 * javax/swing/JCheckBox.java: Reformated.
3782 (JCheckBox): Fixed all constructors.
3783 (isBorderPaintedFlat): New method.
3784 (setBorderPaintedFlat): New method.
3785 * javax/swing/JEditorPane.java
3786 (createEditorKitForContentType): Made public.
3787 (scrollToReference): Likewise.
3788 * javax/swing/JTextArea.java
3789 (setLineWrap): Fire property change.
3790 * javax/swing/JToggleButton.java
3791 (JToggleButton): New constructor.
3792 (JToggleButton): Simplified.
3793 * javax/swing/text/AttributeSet.java
3794 (FontAttribute): Renamed from FontCharacterAttribute.
3795 * javax/swing/text/JTextComponent.java
3796 (KeyBinBinding): Added javadoc.
3797 (JTextComponent): Likewise.
3798 (getAccessibleContext): Fixed javadoc.
3799 * javax/swing/text/View.java
3800 (View): Added javadoc.
3801 * javax/swing/text/TabableView.java: New file.
3802 * Makefile.am: Added javax/swing/text/TabableView.java.
3803 * Makefile.in: Regenerated.
3805 2004-07-21 Graydon Hoare <graydon@redhat.com>
3807 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3808 * gnu/java/awt/peer/gtk/GtkToolkit.java
3809 (GtkErrorImage): New helper class.
3810 (bufferedImageOrError): New helper method.
3811 (createImage): Use it.
3813 2004-07-21 David Jee <djee@redhat.com>
3815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3816 (setCaretPosition): Scroll the text view so the new caret position
3817 is visible on screen.
3819 2004-07-21 David Jee <djee@redhat.com>
3821 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3822 (setBounds): Do not validate awtComponent here.
3823 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3824 (getPreferredSize): New method.
3825 * java/awt/ScrollPane.java
3826 (ScrollPane): Set default size to 100x100.
3827 (addNotify): If child is not a Panel, wrap it with a new Panel.
3828 (paramString): Implement.
3830 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3832 * javax/swing/JMenu.java:
3833 (setSelected): Display popup menu only if this menu
3834 is showing on the screen.
3835 * javax/swing/JPopupMenu.java:
3836 (processMouseEvent): Added comment.
3837 (processKeyEvent): Likewise.
3838 * javax/swing/MenuSelectionManager.java:
3839 (clearSelectedPath): Only fireStateChanged() after
3840 selected path was changed, not before.
3841 (setSelectedPath): Likewise.
3842 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3843 (paintMenuItem): Corrected position of menu item's
3845 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3846 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3847 (popupMenuCanceled): Reimplemented.
3848 (popupMenuWillBecomeVisible): Select first menu item by default
3849 when displaying free floating popup menus.
3850 (TopWindowListener): Reimplemented.
3852 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3854 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3855 Panel from being painted twice when it is first shown.
3857 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3859 * java/awt/Window.java: Reverted changes from my
3860 previous patch for creating window without an owner.
3861 * javax/swing/SwingUtilities.java:
3862 (SwingUtilities.OwnerFrame): made static.
3863 (OwnerFrame.setVisible): New method. Overridden with
3864 empty implementation.
3865 (OwnerFrame.isShowing): New method. Ovverridden
3866 to return always true.
3868 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3870 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3871 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3872 (GtkComponentPeer): Remove temporary try/catch block.
3873 (setVisible): Call show and hide.
3874 (show): Make native.
3876 (getArgs): Don't add "visible" argument.
3877 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3878 (property_notify_predicate): Return Bool instead of int.
3879 (find_layout): New function.
3880 (connectJObject): Call find_layout.
3881 (connectSignals): Likewise.
3882 (moveLayout): Likewise.
3883 (gtkLayoutSetVisible): Likewise.
3885 2004-07-21 Mark Wielaard <mark@klomp.org>
3887 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3888 on notifier object before calling notifyAll().
3890 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3892 * java/awt/Window.java: Changed constructors to use new
3893 method that is described below. Constructors call this
3894 methods only if newly created window should have an owner.
3895 (setWindowOwner): New method. Implementation for
3896 this method is moved from this(owner,configuration).
3897 * javax/swing/JWindow.java:
3898 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3900 * javax/swing/SwingUtilities.java:
3901 (ownerFrame): Change type of this field to OwnerFrame.
3902 (getOwnerFrame): Changed to return object of type OwnerFrame.
3903 (SwingUtilities.OwnerFrame): New class. Represents owner
3904 of a Window that is not provided with one.
3906 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3908 * javax/swing/AbstractButton.java:
3909 (configurePropertiesFromAction): Set action command
3910 to button's text by default if action command is not
3911 explicitely specified.
3912 * javax/swing/JMenu.java: Remove unnecessary listener
3913 and methods relevant to it.
3914 (setSelected): Reimplemented.
3915 (menuSelectionChanged): Moved most part of implementation to
3916 setSelected() and call it instead.
3917 * javax/swing/JMenuItem.java:
3918 (init): Comment out statement that sets paint_border to false.
3919 (configurePropertiesFromAction): Do not set accelerator
3921 (menuSelectionChanged): Change selected index in the selection
3922 model of menu item's parent.
3923 * javax/swing/JPopupMenu.java:
3924 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3925 instead of GridBagConstraints.HORIZONTAL.
3927 (createActionChangeListener): Implemented.
3928 (setVisible): Correct location of HeavyWeightMenu and
3929 don't firePopupMenuCanceled().
3930 (menuSelectionChanged): Implemented.
3931 (ActionChangeListener): New Listener. Implemented.
3932 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3933 (BasicMenuBarUI.ContainerHandler): Implemented.
3934 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3935 (paintMenuItem): Uncommented out code that paints
3936 icon, now that icons are working properly.
3937 (PropertyChangeListener): Implemented.
3938 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3940 (topWindowListener): New field.
3941 (Constructor): initialize topWindowListener.
3942 (BasicPopupMenuUI.TopWindowListener): Implemented.
3943 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3944 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3947 2004-07-21 Michael Koch <konqueror@gmx.de>
3949 * javax/swing/plaf/basic/BasicButtonUI.java
3950 (paintFocus): Fixed method signature.
3951 (paintButtonPressed): Likewise.
3952 (paintButtonNormal): Likewise.
3953 (paintText): New method.
3954 * javax/swing/plaf/basic/BasicLabelUI.java
3955 (paint): Re-indented.
3956 * javax/swing/plaf/basic/BasicTextUI.java
3957 (installUI): Set parent textComponent to opaque.
3958 * javax/swing/text/DefaultHighlighter.java
3959 (checkPositions): New helper method.
3960 (addHighlight): Throws BadLocationException, check positions.
3961 (changeHighlight): Likewise.
3962 * javax/swing/text/EditorKit.java
3963 (EditorKit): Implements Serializable.
3964 * javax/swing/text/JTextComponent.java
3965 (getUI): Added javadoc.
3967 (upadteUI): Added javadoc, don't revalidate and repaint.
3969 2004-07-21 David Jee <djee@redhat.com>
3971 * java/awt/GridBagLayout.java
3972 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3973 * javax/swing/AbstractButton.java
3974 (setText): Reindent.
3975 * javax/swing/RepaintManager.java
3976 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3978 2004-07-21 Michael Koch <konqueror@gmx.de>
3980 * javax/swing/JFormattedTextField.java
3982 (JFormattedTextField): Implemented.
3983 (getValue): Likewise.
3984 (setValue): Likewise.
3985 * javax/swing/LookAndFeel.java
3986 (getSupportsWindowDecorations): New method.
3987 * javax/swing/UIDefaults.java:
3988 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3989 (addPropertyChangeListener): Made public.
3990 (addResourceBundle): Likewise.
3991 (removeResourceBundle): Likewise.
3992 (setDefaultLocale): Likewise.
3993 * javax/swing/plaf/basic/BasicRootPaneUI.java
3994 (BasicRootPaneUI): Implements PropertyChangeListener.
3995 (propertyChange): New method.
3996 * javax/swing/plaf/basic/BasicTextUI.java
3997 (BasicHighlighter): New inner class.
3998 (createHighlighter): New method.
3999 * javax/swing/plaf/basic/BasicToolBarUI.java
4000 (DragWindow): Extends java.awt.Window.
4001 * javax/swing/text/JTextComponent.java
4002 (getDocument): Removed debug output.
4003 * javax/swing/plaf/basic/BasicTextFieldUI.java,
4004 javax/swing/text/DefaultHighlighter.java,
4005 javax/swing/text/FieldView.java,
4006 javax/swing/text/PlainView.java: New files.
4007 * Makefile.am: Added new files.
4008 * Makefile.in: Regenerated.
4010 2004-07-21 Michael Koch <konqueror@gmx.de>
4012 * javax/swing/JEditorPane.java
4013 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
4014 (createEditorKitForContentType): Likewise.
4015 * javax/swing/text/DefaultEditorKit.java
4016 (serialVersionUID): Added constant field.
4017 (EndOfLineStringPropery): Fixed typo.
4018 (DefaultEditorKit): New constructor.
4019 * javax/swing/text/Segment.java:
4020 Import java.text.CharacterIterator.
4021 * javax/swing/text/CharacterIterator.java,
4022 javax/swing/text/PlainEditorKit.java: Removed.
4023 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4024 javax/swing/text/PlainEditorKit.java.
4025 * Makefile.in: Regenerated.
4027 2004-07-21 Michael Koch <konqueror@gmx.de>
4029 * javax/swing/JButton.java,
4030 javax/swing/text/DefaultEditorKit.java,
4031 javax/swing/text/EditorKit.java,
4032 javax/swing/text/Segment.java,
4033 javax/swing/text/StyledEditorKit.java:
4036 2004-07-21 Michael Koch <konqueror@gmx.de>
4038 * javax/swing/ImageIcon.java
4040 (description): Renamed from descr.
4041 (ImageIcon): Added missing constructors.
4042 (setParent): Removed.
4043 (setImageObserver): New method.
4044 (getImageObserver): New method.
4045 (paintIcon): Handle observer = null.
4046 * javax/swing/JButton.java
4047 (removeNotify): Fixed javadoc.
4048 (updateUI): Simplified.
4049 * javax/swing/JRootPane.java
4050 (serialVersionUID): New constant field.
4051 * javax/swing/UIManager.java:
4052 Fixed javadocs all over.
4053 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4054 * javax/swing/text/AbstractDocument.java
4055 (createPosition): Throws BadLocationException.
4056 (getText): Likewise.
4058 * javax/swing/text/ComponentView.java
4059 (modelToView): Likewise.
4060 * javax/swing/text/DefaultEditorKit.java:
4061 Made all public methods public.
4062 (read): Throws BadLocationException and IOException.
4064 * javax/swing/text/EditorKit.java:
4065 Made all public methods public.
4066 (serialVersionUID): New constant field.
4067 (clone): New method.
4068 (read): Throws BadLocationException and IOException.
4070 * javax/swing/text/Segment.java
4071 (array): Made public.
4074 (Segment): New constructors.
4075 (clone): Reimplemented.
4076 * javax/swing/text/StyledEditorKit.java
4077 (serialVersionUID): New constant field.
4079 2004-07-21 Graydon Hoare <graydon@redhat.com>
4081 * java/awt/image/BufferedImage.java
4082 (getSource): Implement.
4083 * javax/swing/ImageIcon.java
4084 (ImageIcon): Implement ctor.
4085 * javax/swing/ScrollPaneLayout.java
4086 (preferredLayoutSize): Be more careful about nulls.
4088 2004-07-21 Michael Koch <konqueror@gmx.de>
4090 * javax/swing/text/AttributeSet.java
4091 (CharacterAttribute): New interface
4092 (ColorAttribute): Likewise.
4093 (FontCharacterAttribute): Likewise.
4094 (ParagraphAttribute): Likewise.
4095 * javax/swing/text/DefaultCaret.java
4096 (moveCaret): New method.
4097 (positionCaret): Likewise.
4098 (repaint): Made protected.
4099 * javax/swing/text/JTextComponent.java
4100 (KeyBinding): Made it static.
4101 * javax/swing/text/View.java
4102 (getContainer): Honor parent == null.
4104 2004-07-21 Michael Koch <konqueror@gmx.de>
4106 * javax/swing/text/AbstractDocument.java:
4109 2004-07-21 Michael Koch <konqueror@gmx.de>
4111 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4112 Import javax.swing.UIManager explicitely.
4113 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4114 (ScrollingButton): Made it static.
4116 2004-07-21 Michael Koch <konqueror@gmx.de>
4118 * javax/swing/UIDefaults.java
4119 (ActiveValue): Made public.
4120 (LazyValue): Likewise.
4121 * javax/swing/plaf/basic/BasicTextUI.java
4122 (RootView): Reintroduced.
4124 (rootView): New field.
4125 (installUI): Create document if needed, initialize rootView.
4126 (uninstallUI): Hanle rootView.
4128 (getRootView): Likewise.
4129 (setView): Likewise.
4130 * javax/swing/text/DefaultCaret.java:
4131 Renamed all "evt" variables to "event".
4133 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4135 * libgcj.spec.in: Add -l-java-util-logging.
4137 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4140 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4141 gtk-xft-dpi can no calculate the right value.
4142 (dpi_changed_cb): Mark *pspec as unsused.
4144 2004-07-21 David Jee <djee@redhat.com>
4146 * java/awt/Component.java
4147 (move): Delegate to setBounds().
4149 (reshape): Fix so it repaints parent and self only when necessary.
4151 2004-07-21 David Jee <djee@redhat.com>
4153 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4154 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4155 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4156 (setVisible): Likewise.
4159 (getArgs): Likewise.
4160 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4161 (property_notify_predicate): Likewise.
4162 (find_layout): Likewise.
4163 (connectJObject): Likewise.
4164 (connectSignals): Likewise.
4165 (moveLayout): Likewise.
4166 (gtkLayoutSetVisible): Likewise.
4168 2004-07-21 Graydon Hoare <graydon@redhat.com>
4174 (rmiregistry_LDADD): Add lib-java-util-logging.la
4175 * Makefile.in: Regenerate.
4177 2004-07-21 Michael Koch <konqueror@gmx.de>
4179 * javax/swing/text/AbstractDocument.java
4180 (replace): Dont use protected method of java.util.Vector directly.
4182 2004-07-21 Michael Koch <konqueror@gmx.de>
4184 * javax/swing/plaf/basic/BasicTextUI.java
4185 (installUI): Call specialized install methods.
4186 (installDefaults): New method.
4187 (installListeners): Likewise.
4188 (installKeyboardActions): Likewise.
4189 (uninstallUI): Likewise.
4190 (uninstallDefaults): New method.
4191 (uninstallListeners): Likewise.
4192 (uninstallKeyboardActions): Likewise.
4193 (getPropertyPrefix): New abstract method.
4194 (paint): Made final, just call paintSafely().
4195 (paintSavely): New method.
4196 (paintBackground): Likewise.
4197 (getVisibleEditorRect): Likewise.
4198 * javax/swing/text/LayeredHighlighter.java,
4199 javax/swing/text/TabExpander.java: New files.
4200 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4201 and javax/swing/text/TabExpander.java.
4202 * Makefile.in: Regenerated.
4204 2004-07-21 Michael Koch <konqueror@gmx.de>
4206 * javax/swing/plaf/basic/BasicTextUI.java
4207 (BasicTextUI): Made abstract.
4208 (BasicCaret): New inner class.
4209 (view): Don't explicitely initialize with "null".
4210 (textComponent): New field.
4211 (textColor): Removed.
4212 (disabledTextColor): Removed.
4213 (normalBackgroundColor): Removed.
4214 (RootView): Removed commented out inner class.
4215 (createUI): Removed.
4216 (createCaret): New method.
4217 (getComponent): Likewise.
4218 (installUI): Initialize textComponent only.
4219 (getPreferredSize): Use installed JTextComponent.
4220 (setView): New method.
4222 * javax/swing/text/JTextComponent.java
4223 (highlighter): New field.
4224 (caretColor): Likewise.
4225 (disabledTextColor): Likewise.
4226 (seletedTextColor): Likewise.
4227 (selectionColor): Likewise.
4228 (setUI): New method.
4229 (getCaretColor): Likewise.
4230 (setCaretColor): Likewise.
4231 (getDisabledColor): Likewise.
4232 (setDisabledColor): Likewise.
4233 (getSelectedTextColor): Likewise.
4234 (setSelectedTextColor): Likewise.
4235 (getSelectionColor): Likewise.
4236 (setSelectionColor): Likewise.
4237 (getHighlighter): Likewise.
4238 (setHighlighter): Likewise.
4239 (replaceSelection): Likewise.
4241 2004-07-21 Michael Koch <konqueror@gmx.de>
4243 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4244 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4245 * javax/swing/plaf/basic/BasicToolBarUI.java
4246 (BasicToolBarUI): Implements SwingConstants.
4248 2004-07-21 Michael Koch <konqueror@gmx.de>
4250 * javax/swing/JPopupMenu.java: Removed CVS tags.
4251 * javax/swing/UIDefaults.java: Reformatted.
4252 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4253 Explicitely import used classes.
4255 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4257 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4258 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4259 (GtkComponentPeer): Remove temporary try/catch block.
4260 (setVisible): Call show and hide.
4261 (show): Make native.
4263 (getArgs): Don't add "visible" argument.
4264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4265 (property_notify_predicate): Return Bool instead of int.
4266 (find_layout): New function.
4267 (connectJObject): Call find_layout.
4268 (connectSignals): Likewise.
4269 (moveLayout): Likewise.
4270 (gtkLayoutSetVisible): Likewise.
4272 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4274 * javax/swing/AbstractButton.java:
4275 (setDisplayedMnemonicIndex): Check if button
4276 text is not null before checking its length.
4277 * javax/swing/JMenuItem.java:
4278 (processMouseEvent): Disarm menu item if mouse has
4280 * javax/swing/plaf/basic/BasicMenuUI.java:
4281 (MouseInputHandler.mouseEntered): Do not raise
4282 popup menu if this menu is already selected.
4283 (MouseInputHandler.mousePressed): Do not fire
4285 (MenuHandler): Implemented.
4287 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4289 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4290 (getSelectedObjects): Implemented.
4291 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4292 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4293 Added javadoc for few methods.
4294 (processMouseEvent): Made public.
4295 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4296 (processMouseEvent): Likewise.
4298 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4300 * javax/swing/AbstractButton.java:
4301 (init): Set display mnemonic index to -1.
4302 (setMnemonic(char)): Use setMnemonic(int).
4303 (setMnemonic(int)): Set display mnemonic index.
4304 (getDisplayedMnemonicIndex): Change method signature
4305 by removing 'index' parameter.
4306 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4307 Added default for Menu.selectionBackground.
4308 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4309 (paintMenuItem): Change background color of the selected
4311 (paintText): Paint differently when menu item is disabled.
4312 Also paint mnemonic if it appears in the menu item's label.
4313 (paintAccelerator): Paint accelerator differently
4314 if menu item is disabled.
4315 * javax/swing/plaf/basic/BasicMenuUI.java:
4316 (installDefaults): Install defaults for
4317 selectionForeground and selectionBackground.
4318 (uninstallDefaults): Uninstall defauls for
4319 selectionForeground and selectionBackground.
4321 2004-07-21 Michael Koch <konqueror@gmx.de>
4323 * javax/swing/text/AbstractDocument.java
4324 (BranchElement): Implemented.
4325 (LeafElement): Implemented.
4326 * javax/swing/text/DefaultCaret.java:
4327 Import used classes.
4328 (serialVersionUID): New constant.
4329 * javax/swing/text/JTextComponent.java
4330 (AccessibleJTextComponent): Removed dead declaration.
4331 (caretPos): Removed.
4332 (setCaret): New method.
4333 * javax/swing/text/PlainDocument.java
4334 (rootElement): New field.
4335 (PlainDocument): Initialize rootElement.
4336 (createDefaultRoot): New method.
4337 (getDefaultRootElement): Implemented.
4338 * javax/swing/text/View.java: Reformatted.
4339 * javax/swing/text/ViewFactory.java
4340 (create): Added javadoc.
4342 2004-07-21 Michael Koch <konqueror@gmx.de>
4344 * javax/swing/ToolTipManager.java: Reformatted.
4346 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4348 * javax/swing/AbstractButton.java
4349 (changeEvent): New field.
4350 (fireItemStateChanged): Change source of the event
4351 to 'this' before firing it to button listeners.
4352 (fireActionPerformed): Likewise.
4353 (fireStateChanged): Likewise.
4354 (createActionListener): Do not set source
4355 of the event to AbstractButton.
4356 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4357 (ContainerHandler.componentAdded): Removed
4358 print out statement.
4359 (ContainerHandler.componentRemoved): Likewise.
4361 2004-07-21 Michael Koch <konqueror@gmx.de>
4363 * javax/swing/text/Highlighter.java: New file.
4364 * Makefile.am: Added javax/swing/text/Highlighter.java.
4365 * Makefile.in: Regenerated.
4367 2004-07-21 Michael Koch <konqueror@gmx.de>
4369 * javax/swing/ToolTipManager.java
4370 (stillInsideTimerAction): Fixed constructor arguments.
4371 (outsideTimerAction): Likewise.
4372 (insideTimerAction): Likewise.
4374 2004-07-21 Michael Koch <konqueror@gmx.de>
4376 * javax/swing/JButton.java: Reformatted.
4377 * javax/swing/JFormattedTextField.java
4378 (getUIClassID): Implemented.
4379 * javax/swing/JRootPane.java
4380 (serialVersionUID): New constant.
4381 * javax/swing/JTextField.java
4383 (JTextField): Simplified.
4384 (getUIClassID): New method.
4385 (getActionListeners): Added @since tag.
4386 (setColumns): Invalidate layout and repaint.
4387 (getHorizontalAlignment): New method.
4388 (setHorizontalAlignment): New method.
4389 (selectAll): Removed.
4390 * javax/swing/SwingUtilities.java
4391 (getAncestorOfClass): Removed redundant @see tag.
4392 (isLeftMouseButton): Fixed implementation.
4393 (isMiddleMouseButton): Likewise.
4394 (isRightMouseButton): Likewise.
4395 * javax/swing/text/AbstractDocument.java
4396 (AttributeContext.addAttribute): New method.
4397 (AttributeContext.addAttributes): New method.
4398 (AttributeContext.getEmptySet): New method.
4399 (AttributeContext.reclaim): New method.
4400 (AttributeContext.removeAttribute): New method.
4401 (AttributeContext.removeAttributes): New method.
4402 * javax/swing/text/Document.java
4403 (createPosition): Throws BadLocationException.
4404 (getText): Likewise.
4406 * javax/swing/text/JTextComponent.java
4407 (getText): Return null if no document is set. Catch
4408 BadLocationException.
4410 (updateUI): Simplified.
4412 2004-07-21 Michael Koch <konqueror@gmx.de>
4414 * javax/swing/JButton.java
4415 (removeNotify): Fixed javadoc.
4416 (updateUI): Simplified.
4418 2004-07-21 David Jee <djee@redhat.com>
4420 * gnu/java/awt/image/ImageDecoder.java
4421 (startProduction): Only add consumer if it's not added yet.
4422 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4423 (GdkPixbufDecoder): Don't call initState() here.
4424 (produce): Call initState() here, to ensure area_prepared and
4425 area_updated signals are properly connected.
4426 * gnu/java/awt/peer/gtk/GtkImage.java
4427 (setColorModel): Use equals() to compare ColorModel objects.
4428 (setPixels): Likewise.
4429 * java/awt/image/ColorModel.java
4430 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4431 * java/awt/image/RGBImageFilter.java
4432 (setColorModel): Set consumer's color model.
4433 (setPixels): Use equals() to compare ColorModel objects.
4435 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4437 * java/net/URLConnection.java (position): New field.
4438 (dateFormat1, dateFormat2, dateFormat3): Removed.
4439 (dateFormats): New field.
4440 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4441 each time instead of re-allocating.
4442 (initializeDateFormats): Initialize 'dateFormats'.
4444 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4447 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4450 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4452 * java/net/Socket.java (getImpl): Now private. Remove comment.
4454 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4456 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4457 of chained Writer when calling super-constructor.
4458 * java/io/FilterWriter.java (FilterWriter): Likewise.
4459 * java/io/PrintWriter.java (PrintWriter): Likewise.
4461 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4463 * prims.cc (process_gcj_properties): Don't increment i within LHS
4466 2004-07-19 Per Bothner <per@bothner.com>
4468 Print -verbose:message on "loading", not initialization.
4469 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4470 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4471 gcj::verbose_class_flag.
4472 * java/lang/natClass.cc (initializeClass): Don't print message here.
4473 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4474 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4475 (_Jv_PrepareCompiledClass): Likewise.
4477 2004-07-18 Matthias Klose <doko@debian.org>
4479 * configure.in: Substitute target_noncanonical.
4480 * configure: Regenerate
4482 2004-07-17 Michael Koch <konqueror@gmx.de>
4484 * java/lang/String.java: Fixed javadocs all over.
4486 2004-07-17 Mark Wielaard <mark@klomp.org>
4488 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4489 when size is smaller.
4490 * java/io/RandomAccessFile.java (setLength): Use truncate for
4491 shrinking the file and seek plus write for expanding the file.
4493 2004-07-17 Michael Koch <konqueror@gmx.de>
4495 * gnu/java/nio/channels/natFileChannelPosix.cc
4496 (implTruncate): Always save current position. Only reposition file
4497 pointer to where we started if not beyond new lenght. Reposition file
4498 pointer to file length if it points beyond the end of file.
4500 2004-07-17 Mark Wielaard <mark@klomp.org>
4502 * javax/swing/Box.java: Put FIXME comment above class declaration.
4503 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4504 * javax/swing/JCheckBox.java: Likewise.
4505 * javax/swing/JDialog.java: Likewise.
4506 * javax/swing/JRadioButton.java: Likewise.
4507 * javax/swing/JToggleButton.java: Likewise.
4508 * javax/swing/UIManager.java: Likewise.
4509 * javax/swing/border/TitledBorder.java: Likewise.
4510 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4511 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4512 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4513 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4514 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4515 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4516 * javax/swing/text/JTextComponent.java: Likewise.
4518 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4520 * java/net/DatagramPacket.java (setAddress): Removed check for
4523 2004-07-17 Michael Koch <konqueror@gmx.de>
4525 * java/net/DatagramSocket.java
4526 (getLocalAddress): Check if socket is bound or not.
4527 * java/net/Socket.java
4528 (getLocalAddrss): Check if socket is bound or not.
4529 (getPort): Return -1 when not connected. Dont check getImpl() for
4531 (setReuseAddress): Check if socket is closed.
4532 (isConnected): Check if getImpl() returns null.
4534 2004-07-17 Mark Wielaard <mark@klomp.org>
4536 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4537 on notifier object before calling notifyAll().
4539 2004-07-17 Michael Koch <konqueror@gmx.de>
4541 * gnu/java/nio/channels/FileChannelImpl.java
4542 (finalize): Added javadoc.
4544 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4546 * java/text/CollationElementIterator.java
4547 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4548 (setText): Use ArrayList instead of Vector.
4550 2004-07-17 Michael Koch <konqueror@gmx.de>
4552 * java/nio/ByteOrder.java
4553 (static): Removed. Not needed.
4554 Thanks to Patrick Reali for noticing.
4555 * java/nio/charset/CharsetDecoder.java
4556 (decode): Fix for classpath bug #9177: Reset state before flipping.
4558 2004-07-17 Michael Koch <konqueror@gmx.de>
4560 * java/security/Security.java: Fixed javadocs all over.
4562 2004-07-17 Michael Koch <konqueror@gmx.de>
4564 * gnu/java/awt/EmbeddedWindow.java
4566 (addNotify): Set peer via reflection.
4567 (setWindowPeer): Removed.
4568 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4569 * Makefile.am (nat_source_files):
4570 Removed gnu/java/awt/natEmbeddedWindow.cc.
4571 * Makefile.in: Regenerated.
4573 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4575 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4577 * configure: Regenerated.
4579 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4581 * configure.in: Use build_noncanonical rather than build_alias.
4582 * configure: Rebuild.
4584 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4585 by logic refactoring. Move default definition of NATIVE closer
4586 to first alternate definition.
4587 * configure: Regenerate.
4589 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4590 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4591 gcj/Makefile.in: Regenerate.
4592 * configure.in: Set ZIP and GCJH. Remove redundant condition
4593 in AM_CONDITIONAL(NATIVE,...)
4594 * configure: Regenerate.
4596 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4598 * configure.in: Use target_noncanonical rather than
4599 target_alias for forward-compatibility with autoconf 2.59.
4600 * configure: Regenerate.
4601 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4602 testsuite/Makefile.am: Substitute target_noncanonical.
4603 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4604 testsuite/Makefile.in: Regenerate.
4606 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4607 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4608 * acinclude.m4: Include acx.m4.
4609 * aclocal.m4: Regenerate.
4610 * configure: Regenerate.
4612 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4615 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4616 (decimalFormat): New static variable.
4618 (getTime): New. Override Date.getTime().
4619 (toString): Synchronize. Use decimalFormat to format nanos value
4620 correctly. Truncate extra zeros.
4621 (before): Compare getNanos() only if getTime() is equal.
4624 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4626 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4627 * configure.in: ...here.
4628 * aclocal.m4: Regenerate.
4629 * configure: Regenerate.
4631 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4632 * configure: Rebuilt with autoconf 2.13.
4633 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4634 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4636 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4639 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4641 * Makefile.in: Rebuilt.
4642 * testsuite/libjava.lang/LargeFile.java: New test case.
4643 * testsuite/libjava.lang/LargeFile.out: New file.
4645 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4647 * java/beans/EventHandler.java: Remove debugging statements.
4649 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4651 * java/beans/EventHandler.java: New file.
4652 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4653 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4654 testsuite/Makefile.in: Regenerate.
4656 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4658 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4659 flag to the gcj_setup.
4660 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4662 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4663 deprecation flag change. 58 XFAILS removed.
4665 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4667 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4668 -fno-use-divide-subroutine.
4669 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4670 (HANDLE_FPE): Define.
4671 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4672 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4673 (HANDLE_DIVIDE_OVERFLOW): Define.
4675 2004-07-14 Michael Koch <konqueror@gmx.de>
4676 Matthias Klose <doko@debian.org>
4678 * java/awt/im/InputContext.java: Initialize in, line.
4680 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4682 * interpret.cc (run): Correctly access libffi return values of
4683 integral smaller-than-int type; these are implicitly promoted.
4685 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4688 * interpret.cc (compile_mutex): New.
4689 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4690 (run): Lock compile_mutex before calling compile() if compilation is
4692 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4693 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4695 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4698 * include/jvm.h (_Jv_value): New union type.
4699 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4700 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4703 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4705 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4706 * gnu/awt/xlib/XOffScreenImage.java
4707 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4708 constructor argument. Add constructor using ImageProducer.
4709 (getSource): Implement.
4710 (imageComplete): New method.
4711 (setColorModel): New method.
4712 (setDimensions): New method.
4713 (setHints): New method.
4714 (setPixels): New method.
4715 (setProperties): New method.
4716 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4717 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4719 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4722 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4723 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4724 (finalizerReady): Now native.
4726 (runFinalizers): Removed.
4727 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4728 a primitive lock, and don't hold it while running the finalizers.
4729 (runFinalizers): Implement. Don't aquire any Java lock.
4730 (finalizerReady): Use lock primitives to signal finalizer thread.
4732 2004-07-11 Mark Wielaard <mark@klomp.org>
4734 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4735 * java/net/URLStreamHandler.java (parseURL): When url file part
4736 doesn't contain a '/' just ignore context.
4738 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4740 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4741 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4742 (MAKE_THROW_FRAME): Do not modify PSW address.
4743 (INIT_SEGV): Install SIGINFO-style signal handler.
4744 (INIT_FPE): Likewise.
4746 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4748 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4749 status. 21 xfail's removed, 1 added.
4751 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4753 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4755 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4757 * java/text/MessageFormat.java
4758 (formatInternal): Append "{n}" if argument n is unavailable.
4759 (format(Object, StringBuffer, FieldPosition)): This
4760 should be equivalent to format(Object[],
4761 StringBuffer, FieldPosition).
4763 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4765 * java.util.Calendar.java (cache): New private static field. Cached
4766 mappings of locales->calendar classes.
4767 (ctorArgTypes): New private static field. Singleton argument for
4768 calendar class constructor lookup.
4769 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4770 Optimize by bypassing reflection instantiation for the
4771 GregorianCalendar case.
4773 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4775 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4776 ResourceBundle.getBundle() calls.
4777 * java/util/GregorianCalendar.java: Likewise.
4778 * java/util/Currency.java: Likewise.
4779 * java/text/BreakIterator.java: Likewise.
4780 * java/text/Collator.java: Likewise.
4781 * java/text/DateFormat.java: Likewise.
4782 * java/text/DateFormatSymbols.java: Likewise.
4783 * java/text/DecimalFormatSymbols.java: Likewise.
4784 * java/text/NumberFormat.java: Likewise.
4785 * java/awt/Window.java: Likewise.
4787 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4789 * java/util/ResourceBundle.java (bundleCache): Renamed from
4790 resourceBundleCache. Update comments.
4791 (getObject): Don't catch MissingResourceException.
4792 (getBundle(String)): Remove 'final'. Use system classloader if
4793 getCallingClassLoader returned null.
4794 (getBundle(String, Locale)): Likewise.
4795 (BundleKey): New private class. HashMap key for bundle cache lookup.
4796 (lookupKey): New. Singleton instance of BundleKey.
4797 (nullEntry): New. Cache entry to represent failed lookups.
4798 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4799 caching strategy, no-allocation lookup, and new tryBundle methods.
4800 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4801 name using given classloader.
4802 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4803 baseName for given Locale and attempt to load bundle.
4805 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4807 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4808 illegal protected method calls.
4810 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4812 Fix or remove some bogus test cases.
4813 * testsuite/libjava.compile/pr10459_2.java: Removed.
4814 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4816 * testsuite/libjava.compile/inner_data.java: Test against its own
4819 2004-07-09 Michael Koch <konqueror@gmx.de>
4821 * scripts/unicode-muncher.pl: Updated to version 2.1
4822 from GNU classpath. Added some clarifications on where to find the
4823 needed files from www.unicode.org.
4824 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4825 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4826 Removed, these can directly be downloaded from www.unicode.org if
4828 * gnu/java/lang/CharData.java: Regenerated.
4829 * include/java-chartables.h: Regenerated.
4830 * Makefile.am (ordinary_java_source_files):
4831 Removed gnu/java/lang/CharData.java.
4832 * Makefile.in: Regenerated.
4834 2004-07-09 Michael Koch <konqueror@gmx.de>
4836 * java/security/AccessControlContext.java,
4837 java/security/SecureClassLoader.java:
4840 2004-07-09 Michael Koch <konqueror@gmx.de>
4842 * java/io/ObjectInputStream.java (readFields): Use long datatype
4843 when shifting byte values more then 24 bits left.
4845 2004-07-09 Michael Koch <konqueror@gmx.de>
4847 * java/util/zip/DeflaterOutputStream.java,
4848 java/util/zip/GZIPInputStream.java,
4849 java/util/zip/GZIPOutputStream.java,
4850 java/util/zip/InflaterInputStream.java:
4851 Reformatted. Added javadocs. Reordered all stuff.
4852 Renamed variables to be more clear.
4854 2004-07-09 Michael Koch <konqueror@gmx.de>
4856 * javax/imageio/IIOException.java,
4857 javax/imageio/event/IIOReadProgressListener.java,
4858 javax/imageio/event/IIOReadUpdateListener.java,
4859 javax/imageio/event/IIOReadWarningListener.java,
4860 javax/imageio/event/IIOWriteProgressListener.java,
4861 javax/imageio/event/IIOWriteWarningListener.java:
4863 * Makefile.am: Added new files.
4864 * Makefile.in: Regenerated.
4866 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4868 * java/text/RuleBasedCollator.java
4869 (mergeRules): Use ArrayList instead of Vector.
4870 (subParseString): likewise.
4871 (parseString): likewise.
4872 (buildCollationVector): likewise.
4873 (getCollationKey): likewise.
4875 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4877 * java/text/DateFormat.java (parse):
4878 Improved javadoc. Improved exception message.
4880 2004-07-09 Mark Wielaard <mark@klomp.org>
4882 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4883 interrupted() method to clear interupt flag of our Thread.
4885 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4887 * java/nio/Buffer.java,
4888 java/nio/ByteBuffer.java,
4889 java/nio/ByteBufferHelper.java,
4890 java/nio/ByteBufferImpl.java,
4891 java/nio/CharBuffer.java,
4892 java/nio/CharBufferImpl.java,
4893 java/nio/CharViewBufferImpl.java,
4894 java/nio/DirectByteBufferImpl.java,
4895 java/nio/DoubleBuffer.java,
4896 java/nio/DoubleBufferImpl.java,
4897 java/nio/DoubleViewBufferImpl.java,
4898 java/nio/FloatBuffer.java,
4899 java/nio/FloatBufferImpl.java,
4900 java/nio/FloatViewBufferImpl.java,
4901 java/nio/IntBuffer.java,
4902 java/nio/IntBufferImpl.java,
4903 java/nio/IntViewBufferImpl.java,
4904 java/nio/LongBuffer.java,
4905 java/nio/LongBufferImpl.java,
4906 java/nio/LongViewBufferImpl.java,
4907 java/nio/MappedByteBufferImpl.java,
4908 java/nio/ShortBuffer.java,
4909 java/nio/ShortBufferImpl.java,
4910 java/nio/ShortViewBufferImpl.java:
4911 Fixed javadocs all over. Improved input error
4914 * java/nio/Buffer.java
4915 (checkForUnderflow, checkForOverflow, checkIndex,
4916 checkIfReadOnly, checkArraySize): New helper methods
4919 * java/nio/ByteBufferHelper.java
4920 (checkRemainingForRead, checkRemainingForWrite,
4921 checkAvailableForRead, checkAvailableForWrite): Removed
4922 no longer needed methods.
4924 2004-07-09 Michael Koch <konqueror@gmx.de>
4926 * gnu/regexp/CharIndexedInputStream.java:
4927 Reordered imports to match classpath.
4929 2004-07-09 Michael Koch <konqueror@gmx.de>
4931 * gnu/java/awt/EmbeddedWindow.java:
4932 Load native library for setWindowPeer method.
4934 2004-07-08 Randolph Chung <tausq@debian.org>
4936 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4937 * configure: Regenerate.
4938 * configure.host: Set can_unwind_signal for hppa*-linux.
4939 * include/pa-signal.h: New file.
4941 2004-07-07 Per Bothner <per@bothner.com>
4943 * Makefile.am: Add rules to build libgij from just gij.cc.
4945 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4946 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4947 (initializeClass): If verbose_class_flag, print message.
4948 * gij.cc (main): Handle -verbose:class flag.
4950 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4952 * configure.host: Enable hash synchronization on Darwin.
4953 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4954 ';', since this is a comment on Darwin.
4955 (compare_and_swap_release): Likewise.
4957 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4959 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4960 file portion of URL in addition to spec for file: protocol.
4962 2004-07-05 Anthony Green <green@redhat.com>
4964 * java/io/File.java (toURI): Merge from Classpath.
4966 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4968 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4969 before passing to URL constructor. Rethrow any MalformedURLException
4970 as a RuntimeException. Catch MalformedURLException specifically, not
4973 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4975 * java/util/Locale.java (readObject): Intern strings read from object
4978 2004-07-04 Michael Koch <konqueror@gmx.de>
4980 * gnu/gcj/runtime/FirstThread.java,
4981 gnu/gcj/runtime/natFirstThread.cc: Removed.
4982 * gnu/java/lang/MainThread.java,
4983 gnu/java/lang/natMainThread.cc: New files.
4984 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4985 * Makefile.am: Added new files and removed deleted ones.
4986 * Makefile.in: Regenerated.
4988 2004-07-03 Mark Wielaard <mark@klomp.org>
4989 Anthony Green <green@redhat.com>
4991 * java/net/URL.java (getFile): Clarify return value doc.
4992 (getPath): Return null if file is empty - not empty String.
4993 (set): Convert protocol to lower case before doing anything.
4994 Only change the protocol handler if it's different.
4996 2004-07-03 Anthony Green <green@redhat.com>
4998 * java/net/URL.java (URL): Convert protocol to lower case before
4999 doing anything, so we getURLStreamHandler() with the proper value.
5001 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
5003 * java/util/Locale.java (hashcode): Made transient.
5004 (hashCode): No longer synchronized.
5005 (equals): Remove comment.
5006 (writeObject): No longer synchronized. Implement using writeObject
5007 calls instead of tweaking hashCode field. Update doc.
5008 (readObject): Implement using readObject calls.
5010 2004-06-26 Geoffrey Keating <geoffk@apple.com>
5011 Andreas Tobler <a.tobler@schweiz.ch>
5013 * configure.host (powerpc-*-darwin*): New case, define
5015 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
5016 * configure: Regenerate.
5017 * include/darwin-signal.h: New.
5019 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5021 * java/beans/Statement.java (doExecute): Fix formatting.
5023 2004-06-29 Per Bothner <per@bothner.com>
5025 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5026 etc etc): Remove needless parenthesis, which causes __stdcall__
5027 attribute on MinGW to get ignored.
5029 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5031 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5033 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5035 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5037 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5039 * java/beans/Expression.java: New file.
5040 * java/beans/Statement.java: New file.
5041 * Makefile.am: Added new files.
5042 * Makefile.in: Re-generate.
5044 2004-06-27 Mark Wielaard <mark@klomp.org>
5046 * java/io/FilePermission.java (usingPerms): Removed.
5047 (actionsString): Made final.
5048 (cachePerms): Renamed to checkPerms.
5049 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5051 (FilePermission): Check arguments, call checkPerms().
5052 (equals): Remove cachePerms() call.
5053 (implies): Likewise.
5055 2004-06-27 Mark Wielaard <mark@klomp.org>
5057 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5059 (sendRequest): Use new field in user-agent http agent.
5061 2004-06-27 Mark Wielaard <mark@klomp.org>
5063 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5064 when argument is null.
5066 2004-06-26 Mark Wielaard <mark@klomp.org>
5068 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5069 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5071 (cancel_clicked): Likewise.
5073 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5075 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5076 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5077 can not calculate the right value.
5078 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5080 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5082 * testsuite/libjava.jacks/jacks.xfail: Remove
5083 15.9.1-qualified-concrete-20.
5085 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5087 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5088 encoding name to iconv.
5089 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5091 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5094 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5095 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5096 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5098 2004-06-21 Andrew Haley <aph@redhat.com>
5100 * java/io/ObjectOutputStream.java: Add DEBUG statements
5102 (dumpElementln): New method.
5104 * java/io/ObjectInputStream.java
5105 (currentClassLoader): Make native.
5106 (callersClassLoader): New field.
5108 (readObject): ENDBLOCKDATA is generated if the class has a write
5109 method, not if it has a read method.
5110 (readObject): Save and restore this.currentObject and
5111 this.currentObjectStreamClass around calls to callReadMethod().
5112 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5115 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5117 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5120 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5122 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5123 if desired, before the default class loader is initialised.
5124 Call INIT_SEGV only if HANDLE_SEGV is defined.
5126 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5128 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5129 directory only if it actually exists.
5131 2004-06-18 Graydon Hoare <graydon@redhat.com>
5133 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5134 Fix up non-ansi comments.
5136 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5138 * javax/swing/text/AbstractDocument.java: Adding missing import
5139 for javax.swing.event.EventListenerList.
5140 * javax/swing/text/DefaultCaret.java: Likewise.
5142 2004-06-17 Michael Koch <konqueror@gmx.de>
5144 * javax/swing/JToolBar.java
5146 (JToolBar): Use Component.setName(String) instead of doing it all
5148 * javax/swing/Timer.java
5149 (queueEvent): Added missing modifier.
5151 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5153 * Makefile.am: Added new file.
5154 * Makefile.in: Re-generate.
5155 * javax/swing/JMenu.java:
5156 (insertSeparator): Implemented.
5157 * javax/swing/JPopupMenu.java:
5158 (JPopupMenu.Separator): Implemented.
5159 * javax/swing/MenuSelectionManager.java:
5160 (processMouseEvent): Use java.awt.Component
5161 for event source instead of javax.swing.JComponent.
5162 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5163 New File. Implemented.
5165 2004-06-16 David Jee <djee@redhat.com>
5167 * java/awt/GridBagLayout.java
5168 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5169 Make sure pos_x and pos_y are never negative.
5171 2004-04-16 Andrew Overholt <overholt@redhat.com>
5173 * Makefile.am: Add new file.
5174 * Makefile.in: Re-generate.
5175 * javax/swing/JToolBar.java
5176 Partially implemented.
5177 * javax/swing/plaf/basic/BasicToolBarUI.java
5178 New file. Partially implemented.
5180 2004-06-16 Graydon Hoare <graydon@redhat.com>
5182 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5183 (setComposite): Accept AlphaComposite arguments.
5184 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5185 (createBufferedImage): Add new overloads.
5186 * gnu/java/awt/peer/gtk/GtkToolkit.java
5187 (createImage): Use GdkPixbufDecoder.createBufferedImage
5188 when useGraphics2D() is true.
5189 (getImage): Delegate to createImage.
5190 * javax/swing/JList.java
5192 (getFirstVisibleIndex):
5193 (getLastVisibleIndex):
5195 (ensureIndexIsVisible): New methods.
5196 * javax/swing/Timer.java: Reimplement.
5198 2004-06-16 Michael Koch <konqueror@gmx.de>
5200 * javax/swing/text/AbstractDocument.java
5201 (AbstracElement): Made public, implements java.io.Serializable.
5202 (AttributeContext): Made public.
5203 (BranchElement): Likewise.
5204 (Content): Likewise.
5205 (DefaultDocumentEvent): Made public, extends
5206 javax.swing.undo.CompoundEdit.
5207 (ElementEdit): Made public, extends
5208 javax.swing.undo.AbstractUndoableEdit.
5209 (LeafElement): Made public.
5210 (LeafElement.LeafElement): Made public.
5212 2004-06-16 Michael Koch <konqueror@gmx.de>
5214 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5215 methods (that were obviously never be intended to get included hi this
5216 class. Added some methods too.
5218 2004-06-16 Michael Koch <konqueror@gmx.de>
5220 * javax/swing/text/PlainDocument.java
5221 (serialVersionUID): New constant.
5222 (lineLimitAttribute): Likewise.
5223 (tabSizeAttribute): Likewise.
5224 (tabSize): New field.
5225 (PlainDocument): Made public.
5226 (PlainDocument): New constructor.
5228 2004-06-16 Michael Koch <konqueror@gmx.de>
5230 * javax/swing/text/AbstractDocument.java
5231 (insertString): Throws BadLocationException.
5232 * javax/swing/text/Document.java
5233 (insertString): Likewise.
5234 * javax/swing/text/JTextComponent.java:
5235 Javadocs and comments cleaned up.
5237 2004-06-16 Michael Koch <konqueror@gmx.de>
5239 * javax/swing/event/UndoableEditListener.java: Reformatted.
5240 * javax/swing/text/AbstractDocument.java
5241 (AbstractDocument): Implements java.io.Serializable.
5242 (doc_list): Removed.
5243 (undo_list): Removed.
5244 (AbstractElement.serialVerionUID): New field.
5245 (BranchElement.serialVerionUID): Likewise.
5246 (DefaultDocumentEvent.serialVerionUID): Likewise.
5247 (ElementEdit.serialVerionUID): Likewise.
5248 (LeafElement.serialVerionUID): Likewise.
5249 (serialVerionUID): Likewise.
5250 (BAD_LOCATION): New constant.
5251 (BidiElementName): Likewise.
5252 (ContentElementName): Likewise.
5253 (ParagraphElementName): Likewise.
5254 (SectionElementName): Likewise.
5255 (ElementNameAttribute): Likewise.
5256 (AbstractDocument): Made protected.
5257 (AbstractDocument): New construtor.
5258 (listenerList): New field.
5259 (fireChangedUpdate): Implemented.
5260 (fireInsertUpdate): Likewise.
5261 (fireRemoveUpdate): Likewise.
5262 (fireUndoableEditUpdate): Likewise.
5263 (getListeners): Likewise.
5264 (addDocumentListener): Likewise.
5265 (removeDocumentListener): Likewise.
5266 (addUndoableEditListener): Likewise.
5267 (removeUndoableEditListener): Likewise.
5268 (getDocumentListeners): New method.
5269 (getUndoableEditListeners): Likewise.
5270 (getAsynchronousLoadPriority): Made public.
5271 (getBidiRootElement): Likewise.
5272 (setAsynchronousLoadPriority): Likewise.
5273 (setDocumentProperties): Likewise.
5274 * javax/swing/text/BadLocationException.java
5275 (serialVerionUID): New field.
5276 * javax/swing/text/DefaultCaret.java
5277 (changeEvent): New field.
5278 (listenerList): Likewise.
5280 (addChangeListener): Reimplemented.
5281 (removeChangeListener): Likewise.
5282 (getListeners): New method.
5283 (getChangeListeners): Likwise.
5284 (getComponent): Likewise.
5285 * javax/swing/text/GapContent.java
5286 (GapContent): Implements java.io.Serializable.
5287 (serialVerionUID): New field.
5289 2004-06-16 Michael Koch <konqueror@gmx.de>
5291 * javax/swing/JTree.java
5292 (treeModel): New field.
5293 (JTree): New constructors, one existing one made public.
5294 (createTreeModel): New method.
5295 (addTreeExpansionListener): Likewise.
5296 (removeTreeExpansionListener): Likewise.
5297 (getTreeExpansionListeners): Likewise.
5298 (fireTreeCollapsed): Likewise.
5299 (fireTreeExpanded): Likewise.
5300 (addTreeSelectionListener): Likewise.
5301 (removeTreeSelectionListener): Likewise.
5302 (getTreeSelectionListeners): Likewise.
5303 (fireValueChanged): Likewise.
5304 (addTreeWillExpandListener): Likewise.
5305 (removeTreeWillExpandListener): Likewise.
5306 (getTreeWillExpandListeners): Likewise.
5307 (fireTreeWillCollapse): Likewise.
5308 (fireTreeWillExpand): Likewise.
5310 2004-06-16 Michael Koch <konqueror@gmx.de>
5312 * javax/swing/JTree.java: Reformatted.
5314 2004-06-16 Michael Koch <konqueror@gmx.de>
5316 * javax/swing/JTextArea.java: New file.
5317 * javax/swing/JTextField.java
5319 (notifyAction): New constant.
5320 (columns): New field.
5321 (JTextField): New constructors.
5322 (createDefaultModel): New method.
5323 (addActionListener): Reimplmemented.
5324 (removeActionListener): Reimplemented.
5325 (getActionListeners): New method.
5326 (fireActionPerformed): New method.
5327 (getColumns): New method.
5328 (setColumne): New method.
5329 * javax/swing/text/JTextComponent.java
5330 (AccessibleJTextComponent.serialVersionUID): New field.
5331 (serialVersionUID): Likewise.
5332 (DEFAULT_KEYMAP): Likewise.
5333 (FOCUS_ACCELERATOR_KEY): Likewise.
5334 (doc): Made private.
5335 (icon_gap): Likewise.
5338 (JTextComponent): Some constructors removed.
5339 (getScrollableTracksViewportHeight): New method.
5340 (getScrollableTracksViewportWidth): Likewise.
5341 * Makefile.am: Added javax/swing/JTextArea.java.
5342 * Makefile.in: Regenerated.
5344 2004-06-15 Graydon Hoare <graydon@redhat.com>
5346 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5347 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5348 * javax/swing/JViewport.java
5349 (getExtentSize): Return size rather than preferred size.
5350 (toViewCoordinates): New methods.
5351 (getViewSize): Return size rather than preferred size.
5352 (setViewSize): Note view size as set.
5353 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5354 * javax/swing/plaf/basic/BasicScrollBarUI.java
5355 (getPreferredSize): Don't redo layout.
5356 * javax/swing/plaf/basic/BasicViewportUI.java
5357 (paint): Translate image properly and eat exceptions.
5359 2004-06-15 Kim Ho <kho@redhat.com>
5361 * javax/swing/JTabbedPane.java
5362 (setComponent): Remove old component and
5364 (setSelectedIndex): Don't operate on the
5365 components if they're null. Don't set index
5366 on the model if the index is the same.
5367 (insertTab): Don't add or hide the component
5368 if it's null. Repaint the container.
5369 * javax/swing/plaf/basic/BasicLookAndFeel.java
5370 Change colors for TabbedPane.
5371 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5372 (mousePressed): Re-layout and paint the component.
5373 (layoutContainer): Don't set location on the view.
5374 (ScrollingViewport::paint): Remove.
5376 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5379 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5381 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5382 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5383 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5385 (drawLine): Call gdk_flush before leaving GDK critical region.
5386 (fillRect): Likewise.
5387 (drawRect): Likewise.
5388 (copyArea): Likewise.
5389 (copyPixmap): Likewise.
5390 (clearRect): Likewise.
5391 (drawArc): Likewise.
5392 (drawPolyline): Likewise.
5393 (drawPolygon): Likewise.
5394 (fillPolygon): Likewise.
5395 (fillArc): Likewise.
5396 (drawOval): Likewise.
5397 (fillOval): Likewise.
5399 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5401 (GdkFontMetrics): Add style argument to initState call.
5402 (stringWidth(String,int,int,String)): Add style parameter.
5403 (stringWidth(String)): Add style argument to stringWidth call.
5404 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5405 (initState): Set pango font style and weight based on AWT style
5406 parameter. Pass default GTK language to
5407 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5408 simply dividing by PANGO_SCALE.
5409 (stringWidth): Set pango font style and weight based on AWT style
5412 * java/awt/Button.java (next_button_number): New field.
5413 (paramString): Change output.
5414 (generateName): New method.
5415 (getUniqueLong): New method.
5417 2004-06-14 Kim Ho <kho@redhat.com>
5419 * javax/swing/JTabbedPane.java:
5420 (setComponentAt): Set the component, not
5422 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5423 (actionPerformed): Let deiconize catch exception.
5425 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5427 * javax/swing/JPopupMenu.java:
5428 (setVisible): Corrected location of a
5429 heavyweight popup menu.
5431 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5433 * javax/swing/MenuSelectionManager.java:
5434 Ran through jalopy to fix formatting style.
5436 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5438 * javax/swing/JLayeredPane.java:
5439 (remove): Revalidate and repaint layered pane after
5440 the component was removed.
5441 javax/swing/JMenu.java:
5442 (setVisible): Display popup menu at the user location,
5443 if one was set by the user.
5444 (setMenuLocation): Reimplemented. Fixed javadoc.
5445 * javax/swing/JMenuBar.java: Added javadoc.
5446 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5447 (MODEL_CHANGED_PROPERTY): New Property.
5448 (isSelected): Implemented.
5449 (setBorderPainted): Fire PropertyChangeEvent
5450 if paintBorder property changes.
5451 (setSelected): Implemented.
5452 (setSelectionModel): Implemented.
5453 * javax/swing/JPopupMenu.java: Added Javadoc
5454 (pack): Implemented.
5455 (setVisible): Reimplemented.
5456 (show): Fixed location.
5457 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5458 Container instead of JPanel.
5459 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5460 (clearSelectedPath): Reimplemented to clear selectedPath
5462 (processMouseEvent): Reimplemented.
5463 (setSelectedPath): Fire stateChange event indicating that
5464 selected menu path has changed.
5465 (getPath): Change to use ArrayList instead of Vector.
5466 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5467 (installUI): call installKeyboardActions().
5468 (uninstallUI): call uninstallKeyboardActions().
5470 2004-06-13 Michael Koch <konqueror@gmx.de>
5472 * javax/swing/text/DefaultCaret.java,
5473 javax/swing/text/BadLocationException.java:
5476 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5478 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5479 DEFAULT_COLS): New variables.
5480 (create): Don't allow 0 rows or 0 columns. Instead, set the
5481 values to DEFAULT_ROWS or DEFAULT_COLS.
5482 (getMinimumSize): Likewise.
5483 (getPreferredSize): Likewise.
5484 (minimumSize): Likewise.
5485 (preferredSize): Likewise.
5486 (create): Set peer's editable state.
5487 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5488 zero. Update javadocs.
5489 (TextArea(String)): Likewise.
5490 (TextArea(int,int)): Fix javadocs.
5491 (TextArea(String,int,int,int)): Only throw exception if one of
5492 rows or columns is zero. Fix javadocs.
5494 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5496 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5497 addition to Components.
5499 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5500 wasn't consumed by normal processing, send it to the parent
5503 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5504 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5507 2004-06-11 David Jee <djee@redhat.com>
5509 * java/awt/MediaTracker.java
5510 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5511 (addImage(Image,int,int,int)): Likewise.
5513 2004-06-11 Michael Koch <konqueror@gmx.de>
5515 * javax/swing/text/AbstractDocument.java,
5516 javax/swing/text/Document.java,
5517 javax/swing/text/GapContent.java,
5518 javax/swing/text/JTextComponent.java,
5519 javax/swing/text/PlainDocument.java:
5522 2004-06-11 Michael Koch <konqueror@gmx.de>
5524 * javax/swing/JRootPane.java
5525 (AccessibleJRootPane.serialVersionUID): New field.
5526 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5527 (AccessibleJRootPane.getAccessibleRole): New method.
5528 (RootLayout): Implements Serializable.
5529 (RootLayout.serialVersionUID): New field.
5530 (RootLayout.RootLayout): New constructor.
5531 (setJMenuBar): Made public.
5532 (getJMenuBar): Likewise.
5533 (JRootPane): Likewise.
5534 (createContentPane): Likewise.
5535 (createGlassPane): Likewise.
5536 (createLayeredPane): Likewise.
5538 2004-06-11 Michael Koch <konqueror@gmx.de>
5540 * javax/swing/SwingUtilities.java
5541 (isLeftMouseButton): Fixed javadoc.
5542 (isMiddleMouseButton): Likewise.
5543 (isRightMouseButton): Likewise.
5545 2004-06-11 Michael Koch <konqueror@gmx.de>
5547 * javax/swing/JScrollPane.java
5548 (serialVersionUID): New field.
5549 (columnHeader): Made protected.
5550 (rowHeader): Likewise.
5551 (lowerLeft): Likewise.
5552 (lowerRight): Likewise.
5553 (upperLeft): Likewise.
5554 (upperRight): Likewise.
5555 (horizontalScrollBar): Likewise.
5556 (horizontalScrollBarPolicy): Likewise.
5557 (verticalScrollBar): Likewise.
5558 (verticalScrollBarPolicy): Likewise.
5559 (viewport): Likewise.
5561 2004-06-11 Michael Koch <konqueror@gmx.de>
5563 * javax/swing/LookAndFeel.java: Fixed javadocs.
5565 2004-06-11 Michael Koch <konqueror@gmx.de>
5567 * javax/swing/JEditorPane.java: Fixed javadocs.
5568 (JEditorPane): Removed redundant call to to this().
5569 (fireHyperlinkUpdate): Implemented.
5571 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5573 * javax/swing/JMenu.java: Fixed file name
5574 in the file comment.
5576 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5578 * javax/swing/JMenu.java: Added javadoc.
5579 (JMenu): Added MenuChangeListener to listen to
5580 ChangeEvents occuring in menu's model.
5581 (insert): Throw IllegalArgumentException if
5582 index is less than 0
5583 (setSelected): Reimplement.
5584 (setPopupMenuVisible): Call menu's model isEnabled()
5585 (setDelay): Throw IllegalArgumentException if
5586 given amount of delay is less than 0.
5587 (createActionComponent): Implemented.
5588 (createActionChangeListener): Implemented.
5589 (addSeparator): Implemented.
5590 (getItem): Throw IllegalArgumentException if index is
5592 (getItemCount): Implemented.
5593 (fireMenuSelected): Changed to use menuEvent.
5594 (fireMenuDeselected): Likewise.
5595 (fireMenuCanceled): Likewise.
5596 (setAccelerator): Changed to throw an error if this
5598 (doClick): Implemented.
5599 (JMenu.ActionChangedListener): New inner class to handle
5600 PropertyChangeEvents occuring in the actions associated with menu.
5601 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5602 (BasicMenuUI): Added PropertyChangeListener to the menu.
5603 (createChangeListener): Implemented.
5604 (createMenuDragMouseListener): Likewise.
5605 (createMenuKeyListener): Likewise.
5606 (createPropertyChangeListener): Likewise.
5607 (uninstallListeners): Likewise.
5608 (BasicMenuUI.MouseInputHandler): Reimplemented.
5609 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5610 (BasicMenuUI.ChangeHandler): Likewise.
5611 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5612 (BasicMenuUI.MenuKeyHandler): Likewise.
5614 2004-06-10 David Jee <djee@redhat.com>
5616 * java/awt/MediaTracker.java
5617 (imageUpdate): Only do notifyAll() if the image is complete.
5619 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5621 * javax/swing/JApplet.java:
5622 (getJMenuBar): Made public.
5623 (setJMenuBar): Likewise.
5624 * javax/swing/JFrame.java:
5625 (getJMenuBar): Made public.
5626 (setJMenuBar): Likewise.
5627 * javax/swing/JWindow.java:
5628 (getJMenuBar): Removed.
5629 (setJMenuBar): Removed.
5631 2004-06-10 Michael Koch <konqueror@gmx.de>
5633 * javax/swing/JEditorPane.java
5634 (createEditorKitForContentType): Fixed visibility.
5635 (fireHyperlinkUpdate): Likewise.
5636 (getContentType): Likewise.
5637 (getEditorKit): Likewise.
5638 (getEditorKitForContentType): Likewise.
5639 (getPage): Likewise.
5641 (registerEditorKitForContentTyoe): Likewise.
5642 (replaceSelection): Likewise.
5643 (setContentType): Likewise.
5644 (setEditorKit): Likewise.
5645 (setPage): Likewise.
5647 2004-06-10 Michael Koch <konqueror@gmx.de>
5649 * javax/swing/Timer.java
5650 (Timer): New constructor.
5651 * javax/swing/plaf/basic/BasicProgressBarUI.java
5652 (animationTimer): Don't initialize at construction.
5653 (startAnimationTimer): Added since tag.
5654 (stopAnimationTimer): Likewise.
5655 (installUI): Use new Timer constructor.
5656 * javax/swing/plaf/basic/BasicScrollBarUI.java
5657 (installUI): Likewise.
5658 * javax/swing/plaf/basic/BasicSliderUI.java
5659 (installUI): Likewise.
5661 2004-06-10 Michael Koch <konqueror@gmx.de>
5663 * javax/swing/ButtonGroup.java
5664 (serialVersionUID): Made private.
5665 (buttons): Renamed from v, added javadoc.
5666 (sel): Added javadoc.
5667 (ButtonGroup): Likewise.
5670 (getElements): Likewise.
5671 (getSelection): Likewise.
5672 (setSelected): Likewise.
5673 (isSelected): Likewise.
5674 (getButtonCount): Likewise.
5676 2004-06-10 Michael Koch <konqueror@gmx.de>
5678 * javax/swing/ButtonGroup.java,
5679 javax/swing/ImageIcon.java,
5680 javax/swing/JEditorPane.java,
5681 javax/swing/JRootPane.java,
5682 javax/swing/JTextField.java,
5683 javax/swing/LookAndFeel.java,
5684 javax/swing/plaf/basic/BasicTextUI.java:
5687 2004-06-10 Michael Koch <konqueror@gmx.de>
5689 * javax/swing/text/Style.java: Added javadocs.
5691 2004-06-10 Michael Koch <konqueror@gmx.de>
5693 * javax/swing/JComponent.java
5694 (fireVetoableChange): Removed redundant cast.
5695 * javax/swing/JLabel.java
5696 (getDisabledIcon): Save icon for next call.
5698 2004-06-10 Michael Koch <konqueror@gmx.de>
5700 * javax/swing/KeyStroke.java
5701 (getKeyStroke(char,boolean)): Marked deprecated.
5703 2004-06-10 Michael Koch <konqueror@gmx.de>
5705 * javax/swing/DefaultCellEditor.java,
5706 javax/swing/GrayFilter.java,
5707 javax/swing/event/DocumentEvent.java,
5708 javax/swing/text/JTextComponent.java,
5709 javax/swing/text/MutableAttributeSet.java:
5712 2004-06-10 Michael Koch <konqueror@gmx.de>
5714 * javax/swing/plaf/BorderUIResource.java:
5715 Added serialVersionUID all over.
5717 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5719 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5721 2004-06-10 Michael Koch <konqueror@gmx.de>
5723 * javax/swing/table/DefaultTableCellRenderer.java
5724 (noFocusBorder): Initialize directly.
5726 2004-06-10 Michael Koch <konqueror@gmx.de>
5728 * javax/swing/plaf/basic/BasicArrowButton.java
5729 (setDirection): Use method argument.
5731 2004-06-10 Michael Koch <konqueror@gmx.de>
5733 * javax/swing/plaf/BorderUIResource.java,
5734 javax/swing/plaf/ComponentUI.java,
5735 javax/swing/undo/CompoundEdit.java,
5736 javax/swing/undo/StateEdit.java:
5737 Fixed javadocs all over.
5739 2004-06-10 Michael Koch <konqueror@gmx.de>
5741 * javax/swing/DefaultButtonModel.java
5742 (ARMED): Made public final, fixed value.
5743 (ENABLED): Likewise.
5744 (PRESSED): Likewise.
5745 (ROLLOVER): Likewise.
5746 (SELECTED): Likewise.
5747 (stateMask): Initialize directly.
5748 (listenerList): Likewise.
5749 (mnemonic): Likewise.
5750 (fireStateChanged): Removed argument, use changeEvent as event.
5751 All places where this method is called are fixed too.
5752 (getActionCommant): Fixed javadoc.
5753 (setGroup): Fixed javadoc.
5754 (getGroup): New method.
5756 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5758 * javax/swing/AbstractButton.java
5759 (AbstractButton): Use init() to initialize the button.
5760 (init): New Method. Initializes AbstractButton.
5761 * javax/swing/JMenuItem.java: Documented.
5762 (JMenuItem): Reimplemented.
5763 (init): Implemented.
5764 (setEnabled): Changed to call super.setEnabled()
5765 (processMouseEvent): Reimplemented.
5766 (fireMenuKeyPressed): Implemented.
5767 (fireMenuKeyReleased): Implemented.
5768 (fireMenuKeyTyped): Implemented.
5769 (menuSelectionChanged): disarm the model if the menu item was
5771 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5772 (getPath): Change to use ArrayList instead of Vector.
5773 (getPreferredSize): Renamed variable.
5774 (paintMenuItem): Paint margin area of menu item.
5775 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5776 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5777 menu item's bounds before clearing the selection.
5779 2004-06-09 David Jee <djee@redhat.com>
5781 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5782 (GtkTextComponentPeer): Set caret position to 0.
5783 * java/awt/TextComponent.java
5784 (setText): Set caret position to 0.
5785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5786 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5787 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5788 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5791 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5794 2004-06-09 Kim Ho <kho@redhat.com>
5796 * Makefile.am: New files
5797 * Makefile.in: Regenerated
5798 * java/awt/Container.java
5799 (getComponentAt): Removed.
5800 * javax/swing/AbstractAction.java
5801 (ENABLED_PROPERTY): New property.
5802 (putValue): Fire PropertyChangeEvents.
5803 (setEnabled): ditto.
5804 (firePropertyChange): Javadoc and implement
5806 * javax/swing/AbstractButton.java
5807 (setAction): Don't create PropertyChangeListener
5808 if new Action is null.
5809 (setIcon): Don't set icon till after comparing
5811 (configurePropertiesFromAction): Check mnemonic
5812 key before calling intValue().
5813 (createActionPropertyChangeListener): Check
5814 properties rather than bulk change.
5815 * javax/swing/DefaultDesktopManager.java:
5817 * javax/swing/DesktopManager.java:
5819 * javax/swing/JComponent.java
5820 (fireVetoableChange): Implement.
5821 (paintImmediately): Use root component.
5822 * javax/swing/JDesktopPane.java: Implement
5823 * javax/swing/JInternalFrame.java: Implement
5824 * javax/swing/JLabel.java
5825 (getDisabledIcon): Return grayscaled icon if
5826 no disabled icon specified.
5827 * javax/swing/JMenuBar.java
5828 (getComponentAtIndex): Use getComponent
5829 * javax/swing/JOptionPane.java
5830 (getDesktopPaneForComponent): Use SwingUtilities'
5832 (getFrameForComponent): ditto.
5833 * javax/swing/JSplitPane.java
5834 (remove): Use getComponent.
5835 * javax/swing/SwingUtilities.java
5836 (convertPoint): Implement.
5837 * javax/swing/plaf/basic/BasicButtonUI.java
5838 (paintButtonNormal): Check opaqueness before
5840 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5842 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5844 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5846 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5848 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5849 Change InternalFrame and Desktop colors.
5851 2004-06-09 David Jee <djee@redhat.com>
5853 * java/awt/Container.java
5854 (remove): Do not set component to invisible.
5856 2004-06-09 Michael Koch <konqueror@gmx.de>
5858 * javax/swing/tree/DefaultMutableTreeNode.java
5859 (getLeafCount): Renamed enum to e.
5861 2004-06-09 Michael Koch <konqueror@gmx.de>
5863 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5864 (positionForMouseEvent): Removed redundant semicolon.
5865 (continueDrag): Use method arguments.
5867 2004-06-09 Michael Koch <konqueror@gmx.de>
5869 * javax/swing/border/TitledBorder.java,
5870 javax/swing/filechooser/FileSystemView.java,
5871 javax/swing/plaf/basic/BasicButtonListener.java,
5872 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5873 javax/swing/plaf/basic/BasicLabelUI.java,
5874 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5875 javax/swing/plaf/basic/BasicScrollBarUI.java,
5876 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5877 javax/swing/plaf/basic/BasicSliderUI.java,
5878 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5879 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5880 javax/swing/table/JTableHeader.java,
5881 javax/swing/text/AbstractDocument.java,
5882 javax/swing/text/DefaultCaret.java,
5883 javax/swing/text/StyledEditorKit.java,
5884 javax/swing/tree/DefaultTreeCellEditor.java:
5885 Reworked import statements.
5887 2004-06-08 Graydon Hoare <graydon@redhat.com>
5889 * javax/swing/Box.java: Temporarily comment out code
5890 broken due to visibility bug.
5892 2004-06-09 Michael Koch <konqueror@gmx.de>
5894 * javax/swing/ImageIcon.java
5895 (ImageIcon): Added missing constructor.
5897 2004-06-08 Michael Koch <konqueror@gmx.de>
5899 * javax/swing/JToggleButton.java
5900 (JToggleButton): New constructor.
5901 (getAccessibleContext): Moved documentation into javadoc.
5902 (getUIClassID): Likewise.
5904 2004-06-08 Michael Koch <konqueror@gmx.de>
5906 * javax/swing/AbstractButton.java
5907 (getDisabledIcon): Create disabled icon if none exists yet.
5909 2004-06-08 Michael Koch <konqueror@gmx.de>
5911 * javax/swing/plaf/basic/BasicLookAndFeel.java
5912 (initClassDefaults): Added FormattedTextFieldUI.
5913 (loadResourceBundle): Renamed enum to e.
5915 2004-06-08 Michael Koch <konqueror@gmx.de>
5917 * javax/swing/plaf/basic/BasicButtonUI.java
5918 (paintIcon): Simplified.
5919 (paintText): Paint disabled button correctly.
5921 2004-06-08 Michael Koch <konqueror@gmx.de>
5923 * javax/swing/JComponent.java
5924 (createToolTip): Use official JToolTip API.
5926 2004-06-08 Michael Koch <konqueror@gmx.de>
5928 * javax/swing/JToolTip.java
5929 (JToolTip): No arguments in API.
5930 (setTipText): New method.
5932 2004-06-08 Michael Koch <konqueror@gmx.de>
5934 * javax/swing/SwingUtilities.java
5935 (isLeftMouseButton): New method.
5936 (isMiddleMouseButton): New method.
5937 (isRightMouseButton): New method.
5939 2004-06-08 Michael Koch <konqueror@gmx.de>
5941 * javax/swing/AbstractButton.java,
5942 javax/swing/CellRendererPane.java,
5943 javax/swing/JCheckBoxMenuItem.java,
5944 javax/swing/JColorChooser.java,
5945 javax/swing/JComboBox.java,
5946 javax/swing/JComponent.java,
5947 javax/swing/JDesktopPane.java,
5948 javax/swing/JFileChooser.java,
5949 javax/swing/JMenu.java,
5950 javax/swing/JMenuItem.java,
5951 javax/swing/JOptionPane.java,
5952 javax/swing/JPasswordField.java,
5953 javax/swing/JPopupMenu.java,
5954 javax/swing/JProgressBar.java,
5955 javax/swing/JRadioButtonMenuItem.java,
5956 javax/swing/JScrollBar.java,
5957 javax/swing/JSeparator.java,
5958 javax/swing/JSlider.java,
5959 javax/swing/JSplitPane.java,
5960 javax/swing/JTabbedPane.java,
5961 javax/swing/JTextField.java,
5962 javax/swing/JToolBar.java,
5963 javax/swing/text/JTextComponent.java:
5964 Fixed all constructors of accessibility classes.
5966 2004-06-08 Michael Koch <konqueror@gmx.de>
5968 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5971 2004-06-08 Michael Koch <konqueror@gmx.de>
5973 * javax/swing/Box.java
5974 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5975 (AccessibleBoxFiller.serialVersionUID): New member variable.
5976 * javax/swing/DefaultButtonModel.java
5977 (stateMask): Made protected.
5978 (listenerList): Likewise.
5979 (changeEvent): Likewise.
5981 (mnemonic): Likewise.
5982 (actionCommand): Likewise.
5983 (getListeners): New method.
5984 (getActionListeners): New method.
5985 (getItemListeners): New method.
5986 (getChangeListeners): New method.
5987 (fireItemStateChanged): Simplified.
5988 (fireActionPerformed): Simplified.
5989 (fireStateChanged): Simplified.
5990 * javax/swing/JFrame.java
5991 (JFrame): Implements WindowContants.
5992 (HIDE_ON_CLOSE): Removed.
5993 (EXIT_ON_CLOSE): Removed.
5994 (DISPOSE_ON_CLOSE): Removed.
5995 (DO_NOTHING_ON_CLOSE): Removed.
5996 (processWindowEvent): Exit with code 0.
5997 (setDefaultCloseOperation): Do security check before setting value.
5998 * javax/swing/JOptionPane.java
5999 (message): Initialize only in constructor.
6000 * javax/swing/JToolTip.java: Removed unused imports.
6001 * javax/swing/JViewport.java
6002 (serialVersionUID): New member variable.
6003 (SIMPLE_SCROLL_MODE): Made final, fixed value.
6004 (BLIT_SCROLL_MODE): Likewise.
6005 (BACKINGSTORE_SCROLL_MODE): Likewise.
6006 (scrollUnderway): Made protected.
6007 (isViewSizeSet): Likewise.
6008 * javax/swing/ListModel.java: Fixed javadoc.
6009 * javax/swing/Popup.java: Likewise.
6010 * javax/swing/RepaintManager.java
6011 (paintDirtyRegions): Don't use internal classes of
6012 java.util.AbstractMap.
6013 * javax/swing/ScrollPaneConstants.java: Reindented.
6014 * javax/swing/ScrollPaneLayout.java
6015 (viewport): Made protected.
6016 (verticalScrollBar): Made protected, renamed to vsb.
6017 (horizontalScrollBar): Made protected, renamed to hsb.
6018 (rowHeader): Made protected, renamed to rowHead.
6019 (columnHeader): Made protected, renamed to colHead.
6020 (lowerLeft): Made protected.
6021 (lowerRight): Made protected.
6022 (upperLeft): Made protected.
6023 (upperRight): Made protected.
6024 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6025 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6027 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6029 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6030 LOADING if flags has SOMEBITS set.
6032 2004-06-07 Michael Koch <konqueror@gmx.de>
6034 * javax/swing/AbstractButton.java: Reorganized imports.
6035 * javax/swing/ActionMap.java: Likewise.
6036 * javax/swing/DefaultButtonModel.java: Likewise.
6037 * javax/swing/DefaultListModel.java: Likewise.
6038 * javax/swing/ImageIcon.java: Likewise.
6039 (serialVersionUID): New member variable.
6040 * javax/swing/JComboBox.java: Reorganized imports.
6041 * javax/swing/JComponent.java: Likewise.
6042 (ui): Made protected.
6043 (listenerList): Made protected.
6044 (TOOL_TIP_TEXT_KEY): New constant.
6045 (scrollRectToVisible): Removed redundant null check.
6046 * javax/swing/JFrame.java: Reorganized imports.
6047 * javax/swing/JInternalFrame.java: Reorganized imports.
6048 * javax/swing/JProgressBar.java: Likewise.
6049 * javax/swing/JRootPane.java: Likewise.
6050 * javax/swing/JScrollBar.java: Likewise.
6051 * javax/swing/JSeparator.java: Likewise.
6052 * javax/swing/JSlider.java: Likewise.
6053 * javax/swing/JTabbedPane.java: Likewise.
6054 * javax/swing/JTextField.java: Likewise.
6055 * javax/swing/JToolBar.java: Likewise.
6056 * javax/swing/JTree.java: Likewise.
6057 * javax/swing/JViewport.java: Likewise.
6058 * javax/swing/JWindow.java: Likewise.
6059 * javax/swing/KeyStroke.java: Likewise.
6060 * javax/swing/LookAndFeel.java: Likewise.
6061 * javax/swing/MenuSelectionManager.java: Likewise.
6062 * javax/swing/SwingUtilities.java: Likewise.
6063 * javax/swing/Timer.java: Likewise.
6064 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6065 * javax/swing/JList.java
6066 (HORIZONTAL_WRAP): Made final, fixed value.
6067 (VERTICAL): Likewise.
6068 (VERTICAL_WRAP): Likewise.
6070 2004-06-07 Michael Koch <konqueror@gmx.de>
6072 * javax/swing/AbstractButton.java
6073 (serialVersionUID): New member variable.
6074 (AccessibleAbstractButton.serialVersionUID): Likewise.
6075 (AbstractButton): Made public.
6076 * javax/swing/Box.java
6077 (AccessibleBox.serialVersionUID): New member variable.
6078 (Filler.serialVersionUID): Likewise.
6079 * javax/swing/DefaultListSelectionModel.java
6080 (serialVersionUID): Likewise.
6081 * javax/swing/JApplet.java
6082 (serialVersionUID): Likewise.
6083 * javax/swing/JCheckBox.java
6084 (serialVersionUID): Likewise.
6085 * javax/swing/JCheckBoxMenuItem.java
6086 (serialVersionUID): Likewise.
6087 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6088 * javax/swing/JColorChooser.java
6089 (serialVersionUID): Likewise.
6090 (AccessibleJColorChooser.serialVersionUID): Likewise.
6091 * javax/swing/JComponent.java
6092 (serialVersionUID): Made private.
6093 (AccessibleJComponent.serialVersionUID): New member variable.
6094 * javax/swing/JDesktopPane.java
6095 (serialVersionUID): Likewise.
6096 * javax/swing/JDialog.java
6097 (serialVersionUID): Likewise.
6098 * javax/swing/JFormattedTextField.java
6099 (serialVersionUID): Fixed value.
6100 * javax/swing/JFrame.java
6101 (serialVersionUID): New member variable.
6102 (getDefaultCloseOpertation): Made public.
6103 * javax/swing/JLayeredPane.java
6104 (serialVersionUID): Likewise.
6105 (LAYER_PROPERTY): Made final, fixed value.
6106 (JLayeredPane): Made public.
6107 * javax/swing/JMenu.java
6108 (AccessibleJMenu.serialVersionUID): New member variable.
6109 (WinListener.serialVersionUID): Likewise.
6110 * javax/swing/JMenuBar.java
6111 (serialVersionUID): Likewise.
6112 (getComponentAtIndex): Added @deprecated tag.
6113 * javax/swing/JMenuItem.java
6114 (serialVersionUID): New member variable.
6115 (AccessibleJMenuItem.serialVersionUID): Likewise.
6116 * javax/swing/JOptionPane.java
6117 (serialVersionUID): Likewise.
6118 (AccessibleJOptionPane.serialVersionUID): Likewise.
6119 * javax/swing/JPopupMenu.java
6120 (serialVersionUID): Likewise.
6121 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6122 (getPopupMenuListeners): New method.
6123 (getComponentAtIndex): Added @deprecated tag.
6124 * javax/swing/JProgressBar.java
6125 (serialVersionUID): New member variable.
6126 (AccessibleJProgressBar.serialVersionUID): Likewise.
6127 * javax/swing/JRadioButton.java
6128 (serialVersionUID): Likewise.
6129 * javax/swing/JRadioButtonMenuItem.java
6130 (serialVersionUID): Likewise.
6131 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6132 * javax/swing/JScrollBar.java
6133 (serialVersionUID): Likewise.
6134 (AccessibleJScrollBar.serialVersionUID): Likewise.
6135 * javax/swing/JSeparator.java
6136 (serialVersionUID): Likewise.
6137 (AccessibleJSeparator.serialVersionUID): Likewise.
6138 * javax/swing/JSlider.java: Fixed javadocs.
6139 (AccessibleJSlider.serialVersionUID): New member variable.
6140 * javax/swing/JSplitPane.java: Added copyright statement.
6141 (serialVersionUID): New member variable.
6142 (AccessibleJSplitPane.serialVersionUID): Likewise.
6143 * javax/swing/JTabbedPane.java
6144 (serialVersionUID): Likewise.
6145 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6146 (ModelListener.serialVersionUID): Likewise.
6147 (ModelListener.ModelListener): New constructor.
6148 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6149 (WRAP_TAB_LAYOUT): Likewise.
6150 * javax/swing/JTable.java
6151 (serialVersionUID): New member variable.
6152 * javax/swing/JToggleButton.java
6153 (serialVersionUID): Likewise.
6154 (ToggleButtonModel): Made static.
6155 (ToggleButtonModel.serialVersionUID): New member variable.
6156 * javax/swing/JToolTip.java
6157 (serialVersionUID): Likewise.
6158 * javax/swing/JTree.java
6159 (serialVersionUID): Likewise.
6160 * javax/swing/JWindow.java
6161 (serialVersionUID): Likewise.
6162 * javax/swing/Timer.java
6163 (serialVersionUID): Likewise.
6165 2004-06-06 Michael Koch <konqueror@gmx.de>
6167 * javax/swing/SwingConstants.java
6168 (NEXT): New constant.
6169 (PREVIOUS): Likewise.
6170 * javax/swing/UIManager.java
6171 (LookAndFeel): Made public.
6172 (LookAndFeel.getClassName): Likewise.
6173 (LookAndFeel.getName): Likewise.
6175 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6177 * javax/swing/JCheckBoxMenuItem.java:
6179 * javax/swing/JMenu.java: Likewise.
6180 * javax/swing/JMenuBar.java: Likewise.
6181 * javax/swing/JMenuItem.java: Likewise.
6182 * javax/swing/JPopupMenu.java: Likewise.
6183 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6184 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6185 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6186 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6187 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6188 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6189 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6191 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6193 * javax/swing/plaf/basic/BasicMenuUI.java:
6194 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6195 Call getPath() from super class instead.
6197 2004-05-31 David Jee <djee@redhat.com>
6199 * java/awt/Container.java
6200 (remove): Set component visibility to false after removing it.
6202 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6204 * java/awt/Component.java (getForeground): Return SystemColor if
6206 (getBackground): Likewise.
6208 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6209 (item_highlighted): New function.
6210 (connectSignals): Set item_highlighted as list's select
6213 * java/applet/Applet.java: Revert changes from 2004-04-29,
6214 2004-03-15 and 2004-03-14.
6216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6217 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6220 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6221 "Dialog" as the default font.
6222 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6224 * java/awt/Component.java (getFont): Return "Dialog" font by
6226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6227 Multiply size argument to pango_font_description_set_size by the
6228 DPI conversion factor rather than by PANGO_SCALE.
6229 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6230 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6234 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6235 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6237 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6239 Divide baseline y coordinate by DPI conversion factor rather
6240 than by PANGO_SCALE.
6241 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6242 (area_prepared): Fix typo.
6243 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6244 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6246 (dpi_conversion_factor): New global variable.
6247 (init_dpi_conversion_factor): New function to calculate and
6248 track DPI conversion factor.
6249 (dpi_changed_cb): New callback.
6250 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6252 2004-05-27 David Jee <djee@redhat.com>
6254 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6255 (getGraphics): Return a new GdkGraphics instance.
6256 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6257 (getGraphics): Call super.getGraphics().
6259 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6261 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6262 (setNativeBounds): Clamp width and height values to >= 0.
6264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6265 (find_fg_color_widget): Handle GtkOptionMenu specially.
6267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6268 (pre_event_handler): Only post configure events to visible
6271 2004-05-26 David Jee <djee@redhat.com>
6273 * java/awt/BorderLayout.java
6274 (layoutContainer): Fix size calculations.
6276 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6279 (window_wm_protocols_filter): Remove function.
6280 (create): Remove filter that removes WM_TAKE_FOCUS client
6283 2004-06-17 Anthony Green <green@redhat.com>
6285 * java/util/zip/ZipFile.java (getInputStream): Return null if
6288 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6289 directory contents to the class path.
6291 2004-06-15 Andrew Haley <aph@redhat.com>
6293 * java/lang/natSystem.cc (getenv0): Don't assume environment
6294 variable is Latin 1 coded.
6296 2004-06-14 Andreas Jaeger <aj@suse.de>
6298 * configure.in: Support --enable-version-specific-runtime-libs.
6299 * configure: Regenerated.
6301 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6303 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6304 to pass ClassLoader argument.
6305 * java/util/GregorianCalendar.java: Likewise.
6306 * java/util/Currency.java: Likewise.
6307 * java/text/BreakIterator.java: Likewise.
6308 * java/text/Collator.java: Likewise.
6309 * java/text/DateFormat.java: Likewise.
6310 * java/text/DateFormatSymbols.java: Likewise.
6311 * java/text/DecimalFormatSymbols.java: Likewise.
6312 * java/text/NumberFormat.java: Likewise.
6313 * java/awt/Window.java: Likewise.
6315 2004-06-14 Andrew Haley <aph@redhat.com>
6317 * java/lang/System.java: (getenv0): New method.
6318 (getenv): Add security check. Do the right thing.
6319 * java/lang/natSystem.cc (getenv0): New method.
6321 2004-06-12 Mark Wielaard <mark@klomp.org>
6323 * javax/swing/RepaintManager.java
6324 (paintDirtyRegions): Use entrySet(), not values().
6326 2004-06-10 Mark Wielaard <mark@klomp.org>
6328 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6331 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6333 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6334 when we already know the answer.
6335 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6336 (setStartRule,setEndRule): Don't take abs of day number.
6337 (getOffset): Clarify docs. Add argument checks.
6338 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6339 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6342 2004-06-10 Tom Tromey <tromey@redhat.com>
6344 * interpret.cc (run): Handle wide fload.
6346 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6348 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6350 2004-06-05 Michael Koch <konqueror@gmx.de>
6352 * javax/swing/SwingConstants.java
6353 (NEXT): New constant.
6354 (PREVIOUS): Likewise.
6356 2004-06-05 Michael Koch <konqueror@gmx.de>
6358 * javax/swing/UIManager.java
6359 (LookAndFeel): Made public.
6360 (LookAndFeel.getName): Likewise.
6361 (LookAndFeel.getClassName): Likewise.
6363 2004-06-03 Michael Koch <konqueror@gmx.de>
6365 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6366 (requestFocus): Revert last changes.
6367 (gtkRequestFocus): Removed.
6368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6369 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6371 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6372 Reverted last patch.
6373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6374 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6375 Reverted comment change.
6377 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6379 * javax/swing/JCheckBoxMenuItem.java:
6381 * javax/swing/JMenu.java: Likewise.
6382 * javax/swing/JMenuBar.java: Likewise.
6383 * javax/swing/JMenuItem.java: Likewise.
6384 * javax/swing/JPopupMenu.java: Likewise.
6385 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6386 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6387 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6388 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6389 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6390 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6391 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6393 2004-06-01 Tom Tromey <tromey@redhat.com>
6395 * java/io/ObjectStreamField.java: Cleaned up imports.
6397 2004-06-01 Michael Koch <konqueror@gmx.de>
6399 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6401 2004-06-01 Mark Wielaard <mark@klomp.org>
6403 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6405 2004-06-01 Michael Koch <konqueror@gmx.de>
6407 * java/security/Security.java
6408 (insertProviderAt): Use equals() instead of ==.
6409 (removeProvicer): Likewise.
6410 (getProvider): Likewise.
6411 * java/security/Signature.java
6412 (sign): Don't set state to UNINITIALIZED.
6415 2004-06-01 Mark Wielaard <mark@klomp.org>
6417 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6418 Implement by calling gtkRequestFocus.
6419 (gtkRequestFocus): New native method.
6420 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6421 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6423 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6425 (filter_expose_event_handler):
6427 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6428 (menu_pos): Mark static.
6430 2004-06-01 Michael Koch <konqueror@gmx.de>
6432 * java/text/CollationElementIterator.java,
6433 java/text/CollationKey.java,
6434 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6435 * testsuite/libjava.mauve/xfails: Removed all
6436 java.text.CollationElementIterator tests.
6438 2004-06-01 Michael Koch <konqueror@gmx.de>
6440 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6442 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6443 Java 1.5 keyword usage.
6445 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6447 * javax/swing/plaf/basic/BasicMenuUI.java:
6448 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6449 Call getPath() from super class instead.
6451 2004-05-31 Michael Koch <konqueror@gmx.de>
6453 * java/io/SequenceInputStream.java:
6454 Rename enum to e because enum is a keyword in Java 1.5.
6456 2004-05-31 Michael Koch <konqueror@gmx.de>
6458 * gnu/java/rmi/rmic/CompilerProcess.java:
6459 Fixed javadoc to by XHTML compliant.
6461 2004-05-30 Mark Wielaard <mark@klomp.org>
6463 * java/awt/Toolkit.java (loadSystemColors): Implement.
6465 2004-05-30 Michael Koch <konqueror@gmx.de>
6467 * java/lang/System.java: Reordered imports.
6469 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6471 * java/text/DecimalFormat.java
6472 (parse): Fixed parsing of decimal strings. Number of maximum
6473 digits to be read should now work.
6474 * java/text/SimpleDateFormat.java
6475 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6476 formatter. This fixes DateFormatTest.
6478 2004-05-30 Michael Koch <konqueror@gmx.de>
6480 * java/nio/Buffer.java
6481 (limit): Fixed off by one error.
6482 * java/nio/CharBuffer.java
6483 (wrap): Fixed arguments, added javadocs.
6485 2004-05-30 Michael Koch <konqueror@gmx.de>
6487 * gnu/java/beans/BeanInfoEmbryo.java,
6488 java/awt/im/InputContext.java,
6489 javax/swing/tree/DefaultMutableTreeNode.java:
6490 Rename enum to e because enum is a keyword in Java 1.5.
6492 2004-05-30 Michael Koch <konqueror@gmx.de>
6494 * gnu/java/math/MPN.java,
6495 java/awt/geom/Arc2D.java:
6496 Fixed javadocs all over.
6498 2004-05-30 Michael Koch <konqueror@gmx.de>
6500 * java/awt/DefaultKeyboardFocusManager.java
6501 (dispatchEvent): Call method to get key event dispatchers.
6502 (dispatchKeyEvent): Call method to get key event post processors.
6503 * javax/swing/JComponent.java
6504 (listenerList): Made protected.
6505 * javax/swing/JOptionPane.java
6506 (message): Don't initialize.
6507 (JOptionPane): Set message text.
6508 * javax/swing/JPopupMenu.java
6509 (show): Fixed typo in argument name.
6510 * javax/swing/RepaintManager.java
6511 (paintDirtyRegions): Use public API of java.util.Map.
6512 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6513 (positionForMouseEvent): Removed redundant ';'.
6514 (continueDrag): Use method arguments.
6516 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6518 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6521 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6523 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6525 * gnu/gcj/RawDataManaged.java: New file.
6526 * java/lang/Thread.java (data): Declare as RawDataManaged.
6527 * java/lang/natThread.cc (init_native): Cast natThread data to
6528 RawDataManaged, not jobject.
6529 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6530 * Makefile.in: Rebuilt.
6532 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6534 * java/util/SimpleTimeZone.java: Reverting my last change until I
6535 can fix it properly.
6537 2004-05-27 Michael Koch <konqueror@gmx.de>
6539 * javax/swing/JPopupMenu.java
6540 (isVisible): Do not use visible directly.
6541 (setVisible): Likewise.
6542 * javax/swing/JWindow.java
6543 (JWindow): call accessible constructor.
6544 * javax/swing/RepaintManager.java
6545 (paintDirtyRegions): Use public methods to obtain iterator.
6547 2004-05-25 David Jee <djee@redhat.com>
6549 * java/awt/Container.java
6550 (remove): Set component's parent to null only after we removed the
6551 component from its parent's layout manager.
6553 2004-05-25 David Jee <djee@redhat.com>
6555 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6556 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6558 * gnu/java/awt/peer/gtk/GtkListPeer.java
6559 (getSize): Change native method declaration.
6560 (minimumSize): Pass visible row count into getSize().
6561 (preferredSize): Likewise.
6562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6563 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6564 natural size. Use visible row count to determine the final height
6567 2004-05-21 Graydon Hoare <graydon@redhat.com>
6569 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6570 (setClip): Minor correction to order of operations.
6572 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6573 * javax/swing/ScrollPaneLayout.java: Likewise.
6574 * javax/swing/JViewPort.java: Likewise.
6575 * javax/swing/ViewportLayout.java: Likewise.
6577 * javax/swing/JComponent.java: Rewrite.
6578 * javax/swing/RepaintManager.java: Likewise.
6580 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6581 * javax/swing/JList.java
6582 (setSelectedIndices):
6583 (getSelectedIndices):
6584 (getSelectedValues): New functions.
6585 (getPreferredScrollableViewportSize): Return preferred size.
6586 (getScrollableUnitIncrement):
6587 (getScrollableBlockIncrement): Initial implementations.
6588 * javax/swing/JRootPane.java: Clean up slightly.
6593 (isValidateRoot): Add overrides from JComponent.
6594 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6595 * javax/swing/UIManager.java (getDimension): Return the dimension.
6597 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6598 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6599 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6600 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6601 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6602 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6603 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6604 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6605 Likewise, and set background.
6606 * javax/swing/plaf/basic/BasicListUI.java:
6607 Likewise, and improve a bit.
6608 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6609 Likewise, and adjust calculations.
6610 * javax/swing/plaf/basic/BasicViewportUI.java:
6611 Likewise, and improve a bit.
6612 * javax/swing/plaf/basic/BasicLookAndFeel.java
6613 (Button.margin): Shrink.
6615 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6616 Hack to set horizontal always, workaround pango.
6618 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6620 Synchronize more often, check cairo status after ops,
6621 handle changes to cairo pattern API, check for disposal.
6623 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6625 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6626 (BasicMenuItemUI): Create propertyChangeListener.
6627 (getPath):Implemented.
6628 (installListeners): Add propertyChangeListener to menuItem.
6629 (uninstallListeners): Remove propertyChangeListener from menuItem.
6630 (update): Implemented.
6631 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6632 (mouseEntered): Take insets of popup menu into account when
6633 calculating position of popup menu.
6635 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6637 * Makefile.am: Added new file.
6638 * Makefile.in: Regenerate.
6639 * javax/swing/JMenuBar.java:
6640 Started implementation.
6641 * javax/swing/JPopupMenu.java:
6642 (setVisible): Fixed location of lightweight/mediumweight
6644 (show): Fixed location of PopupMenu.
6645 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6646 New file. UI Delegate for JMenuBar.
6647 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6648 (mouseEntered): Corrected position of the submenu.
6650 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6652 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6653 to _gtk_accel_group_attach.
6654 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6657 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6658 package access. Don't override setFont.
6659 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6660 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6661 gtkWidgetRequestFocus package access.
6662 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6664 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6665 Give gtkWidgetRequestFocus package access.
6666 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6667 gtkWidgetRequestFocus package access. Don't override setFont.
6668 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6671 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6673 (gtkSetFont): Likewise.
6674 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6677 (gtkSetFont): Whitespace fix.
6679 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6680 (gtkWidgetSetUsize): Remove method.
6682 2004-05-18 David Jee <djee@redhat.com>
6684 * java/awt/image/MemoryImageSource.java
6685 (newPixels(int,int,int,int,boolean)): Set only the specified
6686 rectangle of pixels.
6687 (newPixels(byte[],ColorModel,int,int)): Implement.
6688 (newPixels(int[],ColorModel,int,int)): Implement.
6690 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6692 * Makefile.am: Added new file.
6693 * Makefile.in: Regenerate.
6694 * javax/swing/JMenu.java: Started
6696 * javax/swing/JPopupMenu.java:
6697 (insert): If specified index is -1, then
6698 add component at the end.
6699 (isPopupTrigger): Reimplemented.
6700 (JPopupMenu.LightWeightPopup): setBounds
6701 of the lightWeightPopup before adding it
6703 (javax/swing/plaf/basic/BasicIconFactory.java):
6704 (getMenuArrowIcon): Implemented.
6705 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6706 (getPreferredSize): Add size of the arrow icon
6707 if this menu item is instance of JMenu.
6708 (paintMenuItem): Paint arrow icon if this
6709 menu item is a submenu.
6710 * javax/swing/plaf/basic/BasicMenuUI.java:
6711 New File. UI Delegate for JMenu.
6713 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6715 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6716 Post KEY_TYPED events.
6717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6718 (generates_key_typed_event): Remove function.
6720 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6722 * javax/swing/JRootPane.java
6723 (JRootPane.RootLayout): Reimplemented to
6724 set bounds of contentPane and menuBar.
6725 (setJMenuBar): Add menu bar to the layered pane.
6726 (createLayeredPane): Set layout of layeredPane
6728 * javax/swing/JLayeredPane.java:
6729 (addImpl): Calculate index of the component in the
6730 layeredPane according to the specified position within
6733 2004-05-17 David Jee <djee@redhat.com>
6735 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6736 (setPixels): Change color model to the default model after
6738 * java/awt/image/MemoryImageSource.java
6739 (newPixels): Set only the specified rectangle of pixels.
6741 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6743 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6744 -l-java-beans -l-javax-accessibility -l-javax-swing.
6746 * java/awt/AWTEvent.java (toString): Print source's name rather
6747 than the source itself.
6749 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6751 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6754 (gdk_color_to_java_color): New function.
6755 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6757 2004-05-12 David Jee <djee@redhat.com>
6759 * java/awt/image/RGBImageFilter.java:
6760 Initialize origmodel as null.
6761 (makeColor): Fix pixel component order.
6762 (filterRGBPixels): Fix pixel iteration.
6763 (setPixels): Add extra checks for index color model. Convert pixels
6764 to default color model if necessary.
6765 (convertColorModelToDefault): New override method for byte pixels.
6766 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6767 (makeColorbyDefaultCM): New override method for byte pixels.
6768 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6769 (makeColor): Fix pixel component order.
6771 2004-05-11 Kim Ho <kho@redhat.com>
6773 * javax/swing/Box.java:
6774 Comment out more parts of Box.Filler.
6776 2004-05-11 Kim Ho <kho@redhat.com>
6778 * javax/swing/Box.java:
6779 Remove reference to AccessibleAWTComponent so
6782 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6784 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6785 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6786 implementation of list peer to use GtkTreeView instead of
6787 deprecated GtkCList.
6789 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6791 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6792 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6793 (handleEvent): Remove keyChar argument to
6794 gtkWidgetDispatchKeyEvent calls.
6795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6797 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6799 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6802 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6804 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6805 (gtkWidgetRequestFocus): Mark protected.
6806 (GtkComponentPeer): Only set the peer's bounds if its component
6808 * java/awt/Component.java (static): Set the default keyboard
6810 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6811 requestFocusInWindow(temporary)): Don't request focus if the
6812 component is not showing. Get tree lock before traversing
6813 component hierarchy.
6814 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6815 Only set the global focus owner if it is not a Window.
6816 (processKeyEvent): Consume keystrokes associated with the focus
6817 traversal keystroke.
6818 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6819 downFocusCycle): Call requestFocusInWindow instead of
6821 * java/awt/EventDispatchThread.java (run): Move setting of
6822 default keyboard focus manager to Component.java.
6823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6824 (awt_keycode_to_keysym): New function.
6825 (gtkWidgetDispatchKeyEvent): Finish implementation.
6826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6827 (pre_event_handler): Add FIXME comment.
6829 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6830 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6831 (gtkWidgetRequestFocus): New method.
6832 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6833 disable Tab and Shift-Tab keystrokes.
6834 (addNotify, appendText, insertText, replaceText): Simplify peer
6836 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6837 (connectSignals): Remove connections to "commit" signals.
6838 Remove C++-style comments.
6840 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6841 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6842 (handleEvent): Activate GTK button when the space bar key is
6844 (gtkActivate): New method.
6846 2004-05-06 David Jee <djee@redhat.com>
6848 * java/awt/image/CropImageFilter.java
6849 (setPixels): Implement for byte array pixels.
6850 * java/awt/image/ReplicateScaleFilter.java
6851 (setPixels): Implement for byte array pixels.
6852 (replicatePixels): Overload for byte array pixels.
6854 2004-05-06 Kim Ho <kho@redhat.com>
6856 * javax/swing/Box.java:
6857 (getAccessibleContext): Return an instance of the
6860 2004-05-05 David Jee <djee@redhat.com>
6862 * gnu/java/awt/peer/gtk/GdkGraphics.java
6863 (drawImage): When component is null, use SystemColor.window as
6864 the default bgcolor.
6865 * gnu/java/awt/peer/gtk/GtkImage.java
6866 (setPixels): We can avoid iterating through the pixel rows only
6868 * java/awt/Image.java
6869 (getScaledInstance): Partially implement.
6870 * java/awt/image/CropImageFilter.java
6871 (setProperties): Fix "filter" property.
6872 (setPixels): Implement.
6873 * java/awt/image/ReplicateScaleFilter.java
6874 (setDimensions): Use scaled dimensions.
6875 (setPixels): Implement.
6876 (replicatePixels): New method.
6878 2004-05-05 David Jee <djee@redhat.com>
6880 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6881 (convertPixels): If either pixels or model is null, return null.
6882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6883 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6884 is null, do nothing and return.
6886 2004-05-03 Kim Ho <kho@redhat.com>
6888 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6889 (getGraphics): Like GtkFramePeer, the Graphics
6890 object needs to be translate to account for
6892 (postMouseEvent): New method. Account for
6894 (postExposeEvent): ditto.
6895 * javax/swing/Box.java: Stubbed.
6896 * javax/swing/JDialog.java: Ran through jalopy
6898 (JDialog): Call SwingUtilities' getOwnerFrame
6900 (setLayout): Check isRootPaneCheckingEnabled
6901 * javax/swing/JOptionPane.java: Re-implemented.
6902 * javax/swing/SwingUtilities.java:
6903 (getOwnerFrame): Static method to grab a default
6904 owner frame for Dialogs that don't specify owners.
6905 * javax/swing/event/SwingPropertyChangeSupport.java:
6906 (firePropertyChange): Fix early exit condition.
6907 * javax/swing/plaf/basic/BasicLabelUI.java:
6908 (paint): Avoid painting text if it is null
6910 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6913 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6915 * Makefile.am: Added new file.
6916 * Makefile.in: Regenerate.
6917 * javax/swing/JPopupMenu.java:
6918 Started implementation.
6919 * javax/swing/JWindow.java
6920 (JWindow): call super() if parent for window
6922 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6923 New File. UI Delegate for JPopupMenu.
6925 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6927 * javax/swing/JApplet.java: Indicated that JApplet
6928 implements RootPaneContainer and made method of this
6930 * javax/swing/JFrame.java: Ditto.
6931 * javax/swing/JWindow.java: Ditto.
6933 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6936 (nativeSetBounds): Call gdk_window_move in addition to
6939 * java/applet/Applet.java (preferredSize): Call parent's
6940 preferredSize if the applet stub is null.
6941 (minimumSize): Likewise for parent's minimumSize.
6943 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6945 * javax/swing/JMenuItem.java
6946 (createActionPropertyChangeListener): Implemented.
6947 (processMouseEvent): Ditto.
6948 (fireMenuDragMouseEntered): Ditto.
6949 (fireMenuDragMouseExited): Ditto.
6950 (fireMenuDragMouseDragged): Ditto.
6951 (fireMenuDragMouseReleased): Ditto.
6952 (menuSelectionChanged): Ditto.
6953 (getSubElements): Ditto.
6954 (getComponent): Ditto.
6955 (addMenuDragMouseListener): Ditto.
6956 (removeMenuDragMouseListener):Ditto.
6957 (addMenuKeyListener): Ditto.
6958 (removeMenuKeyListener): Ditto.
6959 * javax/swing/plaf/basic/BasicMenuItemUI.java
6960 (doClick): Imlemented.
6961 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6962 Don't handle mouse events here. Pass them to
6963 MenuSelectionManager.
6965 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6966 Used correct version of jalopy configuration
6967 file to fix style in the files below.
6969 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6971 * javax/swing/JCheckBoxMenuItem.java:
6972 Fixed style and removed unnecessary comments.
6973 * javax/swing/JMenuItem.java: Ditto.
6974 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6975 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6976 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6977 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6979 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6981 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6984 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6986 * java/awt/ContainerOrderFocusTraversalPolicy.java
6987 (getComponentAfter): Start from current component and work up
6988 the component hierarchy until an acceptable component is found.
6989 Synchronize on tree lock.
6990 (getComponentBefore): Likewise.
6992 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6994 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6995 focus-related debugging messages.
6996 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6997 * java/awt/EventDispatchThread.java: Likewise.
6998 * java/awt/KeyboardFocusManager.java: Likewise.
6999 * java/awt/Window.java: Likewise.
7000 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
7001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
7004 new C++-style comments to C-style comments.
7005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
7007 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7008 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7009 (handleEvent): Dispatch key press and key release events to
7011 (requestFocus): Post a FOCUS_GAINED event to the event queue.
7012 (gtkWidgetRequestFocus): New method.
7013 (gtkWidgetDispatchKeyEvent): Likewise.
7014 * java/awt/Component.java (requestFocus, requestFocus(boolean),
7015 requestFocusInWindow, requestFocusInWindow(boolean),
7016 getFocusCycleRootAncestor, nextFocus, transferFocus,
7017 transferFocusBackward, transferFocusUpCycle, hasFocus,
7018 isFocusOwner): Implement and document focus-handling methods.
7019 (setFocusTraversalKeys): Inherit focus traversal keys when
7020 keystrokes argument is null. Fix focus-handling documentation
7022 * java/awt/Container.java (setFocusTraversalKeys,
7023 getFocusTraversalKeys, areFocusTraversalKeysSet,
7024 isFocusCycleRoot, setFocusTraversalPolicy,
7025 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7026 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7027 Implement and document focus-handling methods.
7028 (transferFocusBackward): Remove method.
7029 (readObject, writeObject): Implement and document serialization
7031 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7033 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7035 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7037 * java/awt/EventDispatchThread.java (run): Set default keyboard
7038 focus manager. Attempt to dispatch each event to the keyboard
7039 focus manager before normal dispatch.
7040 * java/awt/KeyboardFocusManager.java: Implement and partially
7042 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7043 (show): Focus initial component when window is shown for the
7045 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7046 (pre_event_handler): Replace complex key press and key release
7047 logic with simple callbacks into GtkComponentPeer.
7048 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7050 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7052 * javax/swing/MenuSelectionManager.java
7053 (componentForPoint): Added new method.
7054 (defaultManager): New Method. Implemented.
7055 (getSelectedPath): Ditto.
7056 (isComponentPartOfCurrentMenu): Ditto.
7057 (processKeyEvent): Added new method.
7058 (processMouseEvent): New Method. Implemented.
7059 (setSelectedPath): Ditto.
7062 2004-04-19 Kim Ho <kho@redhat.com>
7064 * java/awt/Container.java:
7065 (remove): Set the component's parent to null.
7066 (getComponentAt): Implement.
7067 * javax/swing/JComponent.java:
7068 (JComponent): Initialize defaultLocale
7069 (getDefaultLocale): Implement.
7070 (setDefaultLocale): ditto.
7071 * javax/swing/JSlider.java:
7072 (JSlider): Fix calculation of value.
7073 * javax/swing/JSplitPane.java: Implement.
7074 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7075 Change SplitPane's default divider size.
7076 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7077 (paint): Remove unused code.
7078 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7079 Added comments and ran through jalopy.
7080 (setBasicSplitPaneUI): Get reference to hidden divider
7081 and set up one touch buttons if necessary.
7082 (setBorder): Fire propertyChangeEvent only if
7083 borders are different.
7084 (getPreferredSize): Defer to layout manager.
7085 (propertyChange): Implement.
7086 (oneTouchExpandableChanged): ditto.
7087 (createLeftOneTouchButton): Use BasicArrowButton.
7088 (createRightOneTouchButton): ditto.
7089 (moveDividerTo): New method. Moves the divider
7090 to a set location based on the last divider location.
7091 (BasicSplitPaneDivider::MouseHandler): Implement.
7092 (BasicSplitPaneDivider::OneTouchButton): Removed.
7093 (BasicSplitPaneDivider::DragController): Implement.
7094 (BasicSplitPaneDivider::VerticalDragController):
7096 (BasicSplitPaneDivider::DividerLayout): ditto.
7097 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7098 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7099 (calculateLayoutInfo): Don't show component if it's
7101 (paintTab): Fix title paint logic.
7103 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7106 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7107 (setStartRule,setEndRule): Don't take abs of day number.
7108 (getOffset): Clarify docs. Add argument checks.
7109 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7110 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7112 * testsuite/libjava.mauve/xfails
7113 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7115 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7117 Layout interfaces during preparation, not initialization.
7118 * java/lang/natClass.cc (initializeClass): Move
7119 _Jv_LayoutInterfaceMethods call...
7120 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7122 2004-05-19 Anthony Green <green@localhost.localdomain>
7124 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7126 * Makefile.in: Rebuilt.
7127 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7128 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7129 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7130 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7131 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7132 gnu/javax/rmi/CORBA/DelegateFactory.java,
7133 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7134 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7135 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7136 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7137 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7138 gnu/javax/rmi/PortableServer.java: Remove files.
7140 2004-05-19 Anthony Green <green@redhat.com>
7142 * Makefile.am: Define JAVA_EXT_DIRS.
7143 * Makefile.in: Rebuilt.
7144 * java/lang/natRuntime.cc (insertSystemProperties): Set
7145 java.ext.dirs property.
7147 2004-05-16 Mark Wielaard <mark@klomp.org>
7149 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7151 2004-05-15 Mark Wielaard <mark@klomp.org>
7153 * doc/cni.sgml: Removed, merged into gcj.texi.
7155 2004-05-15 Mark Wielaard <mark@klomp.org>
7157 * Makefile.am (ordinary_java_source_files): Add new javax.print
7159 * Makefile.in: Regenerated.
7161 2004-05-15 Michael Koch <konqueror@gmx.de>
7163 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7164 javax/print/attribute/standard/DateTimeAtCreation.java,
7165 javax/print/attribute/standard/DateTimeAtProcessing.java,
7166 javax/print/attribute/standard/DocumentName.java,
7167 javax/print/attribute/standard/JobHoldUntil.java,
7168 javax/print/attribute/standard/JobImpressionsCompleted.java,
7169 javax/print/attribute/standard/JobMessageFromOperator.java,
7170 javax/print/attribute/standard/JobName.java,
7171 javax/print/attribute/standard/JobOriginatingUserName.java,
7172 javax/print/attribute/standard/JobPriority.java,
7173 javax/print/attribute/standard/JobPrioritySupported.java,
7174 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7175 javax/print/attribute/standard/OutputDeviceAssigned.java,
7176 javax/print/attribute/standard/PrinterInfo.java,
7177 javax/print/attribute/standard/PrinterLocation.java,
7178 javax/print/attribute/standard/PrinterMakeAndModel.java,
7179 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7180 javax/print/attribute/standard/PrinterName.java,
7181 javax/print/attribute/standard/QueuedJobCount.java,
7182 javax/print/attribute/standard/RequestingUserName.java:
7183 Fixed javadocs all over.
7185 2004-05-15 Michael Koch <konqueror@gmx.de>
7187 * javax/print/DocFlavor.java,
7188 javax/print/attribute/standard/ColorSupported.java,
7189 javax/print/attribute/standard/Compression.java,
7190 javax/print/attribute/standard/CopiesSupported.java,
7191 javax/print/attribute/standard/Fidelity.java,
7192 javax/print/attribute/standard/Finishings.java,
7193 javax/print/attribute/standard/JobImpressionsSupported.java,
7194 javax/print/attribute/standard/JobKOctetsSupported.java,
7195 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7196 javax/print/attribute/standard/JobSheets.java,
7197 javax/print/attribute/standard/JobState.java,
7198 javax/print/attribute/standard/JobStateReason.java,
7199 javax/print/attribute/standard/JobStateReasons.java,
7200 javax/print/attribute/standard/Media.java,
7201 javax/print/attribute/standard/MediaSizeName.java,
7202 javax/print/attribute/standard/MultipleDocumentHandling.java,
7203 javax/print/attribute/standard/NumberUpSupported.java,
7204 javax/print/attribute/standard/OrientationRequested.java,
7205 javax/print/attribute/standard/PDLOverrideSupported.java,
7206 javax/print/attribute/standard/PageRanges.java,
7207 javax/print/attribute/standard/PresentationDirection.java,
7208 javax/print/attribute/standard/PrintQuality.java,
7209 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7210 javax/print/attribute/standard/PrinterMoreInfo.java,
7211 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7212 javax/print/attribute/standard/PrinterResolution.java,
7213 javax/print/attribute/standard/PrinterState.java,
7214 javax/print/attribute/standard/PrinterStateReason.java,
7215 javax/print/attribute/standard/PrinterStateReasons.java,
7216 javax/print/attribute/standard/PrinterURI.java,
7217 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7218 javax/print/attribute/standard/Severity.java,
7219 javax/print/attribute/standard/SheetCollate.java,
7220 javax/print/attribute/standard/Sides.java:
7221 Added serialVersionUID and removed final keyword where it doenst
7224 2004-05-15 Michael Koch <konqueror@gmx.de>
7226 * javax/print/PrintServiceLookup.java: New file.
7228 2004-05-15 Michael Koch <konqueror@gmx.de>
7230 * javax/print/DocFlavor.java:
7231 Implemented all flavor classes.
7233 2004-05-15 Michael Koch <konqueror@gmx.de>
7235 * javax/print/attribute/standard/ColorSupported.java,
7236 javax/print/attribute/standard/Compression.java,
7237 javax/print/attribute/standard/CopiesSupported.java,
7238 javax/print/attribute/standard/Fidelity.java,
7239 javax/print/attribute/standard/Finishings.java,
7240 javax/print/attribute/standard/JobImpressionsSupported.java,
7241 javax/print/attribute/standard/JobKOctetsSupported.java,
7242 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7243 javax/print/attribute/standard/JobSheets.java,
7244 javax/print/attribute/standard/JobState.java,
7245 javax/print/attribute/standard/JobStateReason.java,
7246 javax/print/attribute/standard/JobStateReasons.java,
7247 javax/print/attribute/standard/Media.java,
7248 javax/print/attribute/standard/MediaSizeName.java,
7249 javax/print/attribute/standard/MultipleDocumentHandling.java,
7250 javax/print/attribute/standard/NumberUpSupported.java,
7251 javax/print/attribute/standard/OrientationRequested.java,
7252 javax/print/attribute/standard/PDLOverrideSupported.java,
7253 javax/print/attribute/standard/PageRanges.java,
7254 javax/print/attribute/standard/PresentationDirection.java,
7255 javax/print/attribute/standard/PrintQuality.java,
7256 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7257 javax/print/attribute/standard/PrinterMoreInfo.java,
7258 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7259 javax/print/attribute/standard/PrinterResolution.java,
7260 javax/print/attribute/standard/PrinterState.java,
7261 javax/print/attribute/standard/PrinterStateReason.java,
7262 javax/print/attribute/standard/PrinterStateReasons.java,
7263 javax/print/attribute/standard/PrinterURI.java,
7264 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7265 javax/print/attribute/standard/Severity.java,
7266 javax/print/attribute/standard/SheetCollate.java,
7267 javax/print/attribute/standard/Sides.java: New files.
7269 2004-05-15 Michael Koch <konqueror@gmx.de>
7271 * javax/print/Doc.java
7272 (getPrintData): Throws IOException.
7273 (getReaderForText): Likewise.
7274 (getStreamForBytes): Likewise.
7275 * javax/print/DocFlavor.java:
7276 Fixed filename in copyright.
7277 (serialVersionUID): New field.
7278 * javax/print/ServiceUIFactory.java:
7279 Made all constants final.
7280 * javax/print/AttributeException.java
7281 javax/print/MultiDoc.java
7282 javax/print/MultiDocPrintJob.java
7283 javax/print/MultiDocPrintService.java
7284 javax/print/StreamPrintService.java
7285 javax/print/URIException.java: New files.
7286 * javax/print/Makefile.am
7287 (EXTRA_DIST): Added all new files.
7289 2004-05-15 Michael Koch <konqueror@gmx.de>
7291 * javax/print/attribute/standard/Copies.java,
7292 javax/print/attribute/standard/DateTimeAtCompleted.java,
7293 javax/print/attribute/standard/DateTimeAtCreation.java,
7294 javax/print/attribute/standard/DateTimeAtProcessing.java,
7295 javax/print/attribute/standard/DocumentName.java,
7296 javax/print/attribute/standard/JobHoldUntil.java,
7297 javax/print/attribute/standard/JobImpressions.java,
7298 javax/print/attribute/standard/JobImpressionsCompleted.java,
7299 javax/print/attribute/standard/JobKOctets.java,
7300 javax/print/attribute/standard/JobKOctetsProcessed.java,
7301 javax/print/attribute/standard/JobMediaSheets.java,
7302 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7303 javax/print/attribute/standard/JobMessageFromOperator.java,
7304 javax/print/attribute/standard/JobName.java,
7305 javax/print/attribute/standard/JobOriginatingUserName.java,
7306 javax/print/attribute/standard/JobPriority.java,
7307 javax/print/attribute/standard/JobPrioritySupported.java,
7308 javax/print/attribute/standard/NumberOfDocuments.java,
7309 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7310 javax/print/attribute/standard/NumberUp.java,
7311 javax/print/attribute/standard/OutputDeviceAssigned.java,
7312 javax/print/attribute/standard/PagesPerMinute.java,
7313 javax/print/attribute/standard/PagesPerMinuteColor.java:
7314 Fixed @return tag all over.
7316 2004-05-15 Michael Koch <konqueror@gmx.de>
7318 * javax/print/attribute/AttributeSetUtilities.java
7319 (verifyCategoryForValue): Fixed typo in javadoc.
7320 * javax/print/attribute/HashAttributeSet.java
7321 (containsKey): Fixed @return tag.
7322 (comtainsValue): Likewise.
7324 * javax/print/attribute/IntegerSyntax.java
7326 * javax/print/attribute/ResolutionSyntax.java
7328 (getCrossFeedResolution): Removed unused code.
7329 (getFeedResolution): Likewise.
7330 * javax/print/attribute/SetOfIntegerSyntax.java
7331 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7332 (equals): Fixed @return tag.
7333 * javax/print/attribute/TextSyntax.java
7334 (TextSyntax): Take locale into account.
7335 (hashCode): Better implementation.
7337 2004-05-15 Michael Koch <konqueror@gmx.de>
7339 * javax/print/CancelablePrintJob.java,
7340 javax/print/Doc.java,
7341 javax/print/DocFlavor.java,
7342 javax/print/DocPrintJob.java,
7343 javax/print/FlavorException.java,
7344 javax/print/PrintException.java,
7345 javax/print/PrintService.java,
7346 javax/print/ServiceUIFactory.java: New files.
7348 2004-05-15 Mark Wielaard <mark@klomp.org>
7350 * gnu/regexp/CharIndexedReader.java: Removed.
7351 * gnu/regexp/REFilterReader.java: Likewise.
7352 * gnu/regexp/RETokenLookAhead.java: Likewise.
7353 * Makefile.am (ordinary_java_source_files): Remove above classes.
7354 * Makefile.in: Regenerated.
7356 2004-05-14 Tom Tromey <tromey@redhat.com>
7358 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7359 not `XGraphicsConfiguration.XOffScreenImage'.
7361 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7363 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7365 2004-05-14 Steven Augart <augart@watson.ibm.com>
7367 * include/jni.h (_Jv_func): Removed.
7368 (struct JNINativeInterface): Use `void *' for reserved slots.
7369 (struct JNIInvokeInterface): Likewise.
7371 2004-05-11 Michael Koch <konqueror@gmx.de>
7373 * gnu/java/net/natPlainSocketImplPosix.cc
7374 (read): Fixed typo in expression.
7376 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7378 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7379 ld_library_additions. Adjust all calls to libjava_invoke to match
7382 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7383 path to cxxflagslist.
7384 Pass path of libstdc++ to libjava_invoke.
7386 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7387 libjava_invoke arguments.
7389 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7391 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7394 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7396 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7397 main binary against the JNI shared library.
7399 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7401 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7402 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7403 (SimpleTimeZone): Tweak docs. Add new variation.
7404 (setStartRule,setEndRule): Add new variations. Use
7405 startTimeMode and endTimeMode.
7407 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7409 * java/util/Calendar.java (getActualMinimum,
7410 getActualMaximum): Remove abstract. Implement.
7412 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7414 Run the jni tests using the interpreter.
7415 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7416 options_cxx to shared lib compile command.
7417 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7418 they are used to link the shared lib, not the main binary.
7419 Use libjava_invoke to run gij.
7421 2004-05-06 Michael Koch <konqueror@gmx.de>
7423 * java/util/logging/Level.java
7424 (parse): Use == instead of String.equals().
7426 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7428 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7429 verify_field_signature and verify_method_signature, not
7430 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7431 (_Jv_ClassReader::handleField): Likewise.
7432 (_Jv_ClassReader::handleMethod): Likewise.
7434 2004-05-06 Michael Koch <konqueror@gmx.de>
7436 * javax/swing/table/TableColumn.java:
7439 2004-05-06 Michael Koch <konqueror@gmx.de>
7441 * javax/imageio/spi/ImageReaderWriterSpi.java
7442 (ImageReaderWriterSpi): Made it public.
7443 * javax/imageio/stream/ImageInputStream.java:
7446 2004-05-06 Michael Koch <konqueror@gmx.de>
7448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7451 2004-05-06 Michael Koch <konqueror@gmx.de>
7453 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7454 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7457 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7458 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7459 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7460 their own source file.
7461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7462 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7463 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7465 (create): Define variable on top of function.
7466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7467 (menu_pos): Prototyped.
7468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7469 (setTitle): Removed.
7470 * jni/gtk-peer/gthread-jni.c
7471 (gdk_threads_wake): Removed.
7472 * Makefile.am (gtk_c_source_files): Added new files
7473 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7474 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7475 * Makefile.in: Regenerated.
7477 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7479 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7482 2004-05-05 Mark Wielaard <mark@klomp.org>
7484 * javax/swing/AbstractButton.java: Replace special HTML entities with
7486 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7487 * javax/swing/DefaultButtonModel.java: Likewise.
7488 * javax/swing/DefaultListModel.java: Likewise.
7489 * javax/swing/JList.java: Likewise.
7490 * javax/swing/JSlider.java: Likewise.
7491 * javax/swing/ListModel.java: Likewise.
7492 * javax/swing/Popup.java: Likewise.
7493 * javax/swing/SwingUtilities.java: Likewise.
7495 2004-05-05 Michael Koch <konqueror@gmx.de>
7497 * javax/swing/AbstractButton.java,
7498 javax/swing/ActionMap.java,
7499 javax/swing/DefaultButtonModel.java,
7500 javax/swing/DefaultListModel.java,
7501 javax/swing/ImageIcon.java,
7502 javax/swing/JComboBox.java,
7503 javax/swing/JComponent.java,
7504 javax/swing/JFrame.java,
7505 javax/swing/JInternalFrame.java,
7506 javax/swing/JMenuBar.java,
7507 javax/swing/JMenuItem.java,
7508 javax/swing/JOptionPane.java,
7509 javax/swing/JProgressBar.java,
7510 javax/swing/JRootPane.java,
7511 javax/swing/JScrollBar.java,
7512 javax/swing/JScrollPane.java,
7513 javax/swing/JSeparator.java,
7514 javax/swing/JSlider.java,
7515 javax/swing/JTabbedPane.java,
7516 javax/swing/JTable.java,
7517 javax/swing/JTextField.java,
7518 javax/swing/JToolBar.java,
7519 javax/swing/JToolTip.java,
7520 javax/swing/JTree.java,
7521 javax/swing/JViewport.java,
7522 javax/swing/JWindow.java,
7523 javax/swing/KeyStroke.java,
7524 javax/swing/LookAndFeel.java,
7525 javax/swing/SwingUtilities.java,
7526 javax/swing/Timer.java,
7527 javax/swing/ToolTipManager.java,
7528 javax/swing/UIDefaults.java,
7529 javax/swing/border/TitledBorder.java,
7530 javax/swing/filechooser/FileSystemView.java,
7531 javax/swing/plaf/basic/BasicButtonListener.java,
7532 javax/swing/plaf/basic/BasicButtonUI.java,
7533 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7534 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7535 javax/swing/plaf/basic/BasicLabelUI.java,
7536 javax/swing/plaf/basic/BasicMenuItemUI.java,
7537 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7538 javax/swing/plaf/basic/BasicRootPaneUI.java,
7539 javax/swing/plaf/basic/BasicScrollBarUI.java,
7540 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7541 javax/swing/plaf/basic/BasicSliderUI.java,
7542 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7543 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7544 javax/swing/table/JTableHeader.java,
7545 javax/swing/text/AbstractDocument.java,
7546 javax/swing/text/DefaultCaret.java,
7547 javax/swing/text/StyledEditorKit.java,
7548 javax/swing/tree/DefaultTreeCellEditor.java:
7551 2004-05-05 Michael Koch <konqueror@gmx.de>
7553 * java/util/prefs/AbstractPreferences.java
7554 (AbstractPreferences): Added parenthesis for clarity.
7555 Closes classpath bug #7940.
7557 2004-05-05 Tom Tromey <tromey@redhat.com>
7559 * javax/naming/CompoundName.java (endsWith): Look at correct
7560 element of source name.
7562 2004-05-05 Mark Wielaard <mark@klomp.org>
7564 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7565 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7567 2004-05-05 Tom Tromey <tromey@redhat.com>
7569 * java/io/BufferedReader.java (skip): Removed unused
7572 2004-05-05 Michael Koch <konqueror@gmx.de>
7574 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7576 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7578 * java/text/AttributedString.java,
7579 java/text/AttributedStringIterator.java,
7580 java/text/Collator.java,
7581 java/text/DecimalFormatSymbols.java,
7582 java/text/NumberFormat.java,
7583 java/text/RuleBasedCollator.java:
7586 2004-05-05 Tom Tromey <tromey@redhat.com>
7588 * java/text/Format.java: Cleaned up imports.
7589 * java/text/DecimalFormat.java: Cleaned up imports.
7590 * java/security/SecureRandom.java: Cleaned up imports.
7591 (SecureRandom): Removed unused variable.
7592 * java/security/UnresolvedPermission.java: Cleaned up imports.
7593 * java/util/Date.java (parse): Removed unused variable.
7594 * java/util/ResourceBundle.java: Cleaned up imports.
7595 (getBundle): Removed unused variable.
7596 (tryBundle): Likewise.
7597 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7599 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7601 * java/text/SimpleDateFormat.java:
7602 (formatWithAttribute): New method. It implements
7603 the formatting process with attributes.
7604 (format): Use formatWithAttribute.
7605 (formatToCharacterIterator): New method. Use
7606 formatWithAttribute.
7608 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7610 * java/text/MessageFormat.java:
7611 (class Field): New class.
7612 (formatToCharacterIterator): New method.
7613 (format): Use formatInternal now.
7614 (formatInternal): New method. String formatter should
7615 be done here (with attributes). Attributes merging supported.
7616 (parse): More documentation.
7617 (getFormatsByArgumentIndex): New method.
7618 (setFormatByArgumentIndex): New method.
7619 (setFormatsByArgumentIndex): New method.
7621 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7623 * java/text/DecimalFormat.java
7624 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7625 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7626 (parse): Fixed handling of exponentiation notation and grouping.
7628 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7630 * java/text/DecimalFormat.java
7631 (scanFix): Build attribute array. Fixed error reporting.
7632 (applyPatternWithSymbols): Store attributes for the prefix and
7634 (formatInternal): New method. Changed the way the string is
7635 computed. Implemented attributes. Cleant up rounding in
7636 exponential notation.
7637 (format): Use formatInternal.
7638 (formatToCharacterIterator): New method.
7639 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7640 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7641 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7644 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7646 * java/security/interfaces/DSAKeyPairGenerator.java,
7647 java/security/interfaces/DSAPrivateKey.java,
7648 java/security/interfaces/DSAPublicKey.java,
7649 java/security/interfaces/RSAPrivateKey.java,
7650 java/security/interfaces/RSAPublicKey.java:
7653 2004-05-04 Michael Koch <konqueror@gmx.de>
7655 * java/nio/ByteBuffer.java,
7656 java/nio/CharBuffer.java,
7657 java/nio/DoubleBuffer.java,
7658 java/nio/FloatBuffer.java,
7659 java/nio/IntBuffer.java,
7660 java/nio/LongBuffer.java,
7661 java/nio/ShortBuffer.java:
7662 (compareTo): Fixed bogus implementation in all buffer classes.
7664 2004-05-04 Ingo Proetel <proetel@aicas.com>
7666 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7667 32 bit pixels not 8 bit pixels.
7668 (isCompatibleRaster): Added javadoc comment.
7670 2004-05-04 Ingo Proetel <proetel@aicas.com>
7672 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7675 2004-05-04 Ingo Proetel <proetel@aicas.com>
7677 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7678 (getColorModel): Return the actual color model.
7679 (getRaster): Implemented.
7680 (ColorRaster): New inner class.
7681 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7683 * java/awt/Color.java (<init>): Make exception more verbose.
7684 (createContext): Use ColorModel when creating a PaintContext.
7686 2004-05-04 Michael Koch <konqueror@gmx.de>
7688 * gnu/java/text/CharacterBreakIterator.java
7689 (previous): Removed unused variable.
7691 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7693 * gnu/java/text/FormatBuffer.java,
7694 gnu/java/text/AttributedFormatBuffer.java,
7695 gnu/java/text/StringFormatBuffer.java: New classes to implement
7696 attributed iterators in java.text.
7697 * gnu/java/text/FormatCharacterIterator.java: Moved
7698 from java/text as it is an internal class.
7699 * java/text/FormatCharacterIterator.java: Removed.
7700 * java/text/Format.java:
7701 Import gnu.java.text.FormatCharacterIterator.
7702 * Makefile.am (java_source_files): Added new files.
7703 * Makefile.in: Regenerated.
7706 2004-05-04 Mark Wielaard <mark@klomp.org>
7708 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7710 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7712 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7713 * Makefile.in: Rebuilt.
7715 2004-05-03 Mark Wielaard <mark@klomp.org>
7717 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7718 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7720 (set(String, String, int, String, String, String, String, String)):
7721 Assign this.file to path or path + "?" + query.
7722 * java/util/Arrays.java: Call static methods staticly.
7723 * java/util/zip/ZipEntry.java: Likewise.
7724 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7725 dir to this.direction.
7726 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7727 Assign static field only once.
7728 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7730 2004-05-03 Mark Wielaard <mark@klomp.org>
7732 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7733 unused variables hScrollbarHeight and vScrollbarWidth.
7734 (preferredSize): Likewise.
7735 * gnu/java/security/provider/DSAParameters.java (engineToString):
7736 Removed unused call to System.getProperty("line.seperator");
7737 * java/security/Security.java (loadProviders): Return result.
7739 2004-05-03 Tom Tromey <tromey@redhat.com>
7741 * java/net/URLStreamHandler.java (toExternalForm): Removed
7744 * java/math/BigDecimal.java (divide): Removed unused variable.
7745 * java/lang/Throwable.java: Cleaned up imports.
7746 * java/lang/ClassLoader.java: Cleaned up imports.
7747 * java/io/FilePermission.java (implies): Removed unused
7749 * java/awt/TextComponent.java: Removed unused import.
7750 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7751 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7752 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7753 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7755 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7756 * gnu/java/text/CharacterBreakIterator.java: Removed
7758 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7760 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7761 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7763 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7764 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7765 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7766 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7767 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7768 (lookupProviders): Removed unused variable.
7769 (loadNextServiceProvider): Likewise.
7770 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7772 2004-05-03 Michael Koch <konqueror@gmx.de>
7774 Fixes PR libgcj/14695:
7775 * java/net/NetworkInterface.java
7776 (getByName): Return null when no interface was found.
7778 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7779 Tom Tromey <tromey@redhat.com>
7781 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7782 additional option "-Wmissing-prototypes" for compiling C sources.
7783 Print actual filename for pass/fail rather than $name.c.
7784 * testsuite/libjava.jni/PR15133.java: New testcase file.
7785 * testsuite/libjava.jni/PR15133.c: Likewise.
7786 * testsuite/libjava.jni/PR15133.out: Likewise.
7788 2004-04-30 Roger Sayle <roger@eyesopen.com>
7790 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7793 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7795 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7796 limit the maximum heap size to avoid unnecessary thrashing.
7798 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7800 * java/text/CollationElementIterator.java (reset): Reset
7801 lookahead variables.
7803 2004-04-23 Mark Wielaard <mark@klomp.org>
7805 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7807 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7809 * java/sql/DriverManager.java:
7812 2004-04-23 Michael Koch <konqueror@gmx.de>
7815 (hashcode): Don't initialize with default value explicitely.
7816 (getContent): Removed redundant "final" keyword.
7817 (openStream): Likewise.
7818 (getURLStreamHandler): Fixed coding style.
7819 * java/net/URLConnection.java
7820 (defaultAllowUserInteraction): Don't initialize with default value
7822 (connected): Likewise.
7823 (doOutput): Likewise.
7824 (ifModifiedSince): Likewise.
7825 (dateformats_initialized): Likewise.
7826 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7828 2004-04-23 Michael Koch <konqueror@gmx.de>
7830 * gnu/java/nio/channels/FileChannelImpl.java
7831 (SET, CUR): Unused, removed.
7832 (read): Implement here directly.
7833 (implRead): Removed.
7834 (write): Implement here directly.
7835 (implWrite): Removed.
7837 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7839 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7840 javax/rmi/CORBA/Stub.java,
7841 javax/rmi/CORBA/Util.java,
7842 javax/rmi/CORBA/ValueHandler.java,
7843 javax/rmi/CORBA/ValueHandler.java,
7844 javax/rmi/PortableRemoteObject.java:
7847 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7849 * java/util/jar/JarFile.java,
7850 java/util/jar/JarInputStream.java,
7851 java/util/jar/JarOutputStream.java,
7852 java/util/jar/Manifest.java:
7855 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7857 * java/util/ArrayList.java,
7858 java/util/Calendar.java,
7859 java/util/Currency.java,
7860 java/util/HashMap.java,
7861 java/util/HashSet.java,
7862 java/util/Hashtable.java,
7863 java/util/LinkedList.java,
7864 java/util/Properties.java,
7865 java/util/PropertyPermission.java,
7866 java/util/TimeZone.java,
7867 java/util/TreeMap.java,
7868 java/util/TreeSet.java,
7869 java/util/Vector.java,
7870 java/util/WeakHashMap.java:
7873 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7875 * java/util/logging/FileHandler.java,
7876 java/util/logging/Formatter.java,
7877 java/util/logging/Handler.java,
7878 java/util/logging/Logger.java,
7879 java/util/logging/SimpleFormatter.java,
7880 java/util/logging/XMLFormatter.java:
7883 2004-04-22 Mark Wielaard <mark@klomp.org>
7885 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7886 -Wno-long-long flags variable.
7887 (gtk_c_files): Use PEDANTIC_CFLAGS.
7888 * Makefile.in: Regenerated.
7890 2004-04-22 Mark Wielaard <mark@klomp.org>
7892 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7893 Changed C++ comments into C comments.
7894 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7897 2004-04-22 Michael Koch <konqueror@gmx.de>
7899 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7900 Merged copyright year with GNU classpath.
7902 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7904 * javax/security/auth/x500/X500Principal.java:
7907 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7909 * javax/swing/JSlider.java:
7910 Fixed HTML tags in comments.
7912 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7914 * javax/accessibility/AccessibleText.java:
7917 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7919 * java/net/URLStreamHandler.java
7920 (parseURL): Convert the file path to using '/' instead of native
7923 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7926 (userInfo): New field.
7927 (URL): Set authority to the right value.
7928 (setURL): Fixed authority and file initialization.
7929 * java/net/URLStreamHandler.java
7930 (parseURL): Take care of the query tag. Build authority.
7931 (toExternalForm): Fixed URL building using authority.
7933 2004-04-22 Michael Koch <konqueror@gmx.de>
7935 * java/net/Socket.java
7936 (impl): Made package-private.
7937 * java/net/ServerSocket.java
7938 (implAccept): Access Socket.impl field directly.
7940 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7942 * java/util/prefs/Preferences.java,
7943 java/util/prefs/InvalidPreferencesFormatException.java,
7944 java/util/prefs/BackingStoreException.java,
7945 java/util/prefs/AbstractPreferences.java:
7948 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7950 * java/util/regex/Matcher.java,
7951 java/util/regex/Pattern.java:
7954 2004-04-22 Michael Koch <konqueror@gmx.de>
7956 * java/nio/charset/IllegalCharsetNameException.java
7957 (charsetName): Made private.
7958 (IllegalCharsetNameException): Added @param tag to javadoc.
7959 (getCharsetName): Added @return tag to javadoc.
7960 * java/nio/charset/MalformedInputException.java
7961 (MalformedInputException): Added @param tag to javadoc.
7962 (getInputLength): Revised method description, added @return tag.
7963 (getMessage): Added @return tag.
7965 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7967 * java/awt/Font.java (deriveFont): Implement missing variants.
7968 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7971 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7973 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7974 Set method->index values for interface methods to their itable index.
7975 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7977 2004-04-21 Michael Koch <konqueror@gmx.de>
7979 * java/nio/DirectByteBufferImpl.java
7980 (shiftDown): Made static, give address as argument and
7981 provide a convenience method that overwrites shiftDown in
7982 ByteBufferImpl and calls the native shiftDown.
7983 * java/nio/MappedByteBufferImpl.java
7984 (): Use optimized method in DirectByteBufferImpl.
7985 * java/nio/natDirectByteBufferImpl.cc
7986 (shiftDown): Changed method signature. Removed usage of array_offset.
7988 2004-04-21 Michael Koch <konqueror@gmx.de>
7990 * gnu/java/net/natPlainSocketImplPosix.cc
7991 (SocketInputStream::read): Make sure returned data is a byte value.
7993 2004-04-21 Michael Koch <konqueror@gmx.de>
7995 * gnu/classpath/ServiceFactory.java,
7996 gnu/classpath/ServiceProviderLoadingAction.java,
7997 javax/imageio/ImageReader.java,
7998 javax/imageio/ImageTranscoder.java,
7999 javax/imageio/ImageWriter.java,
8000 javax/imageio/package.html,
8001 javax/imageio/spi/IIOServiceProvider.java,
8002 javax/imageio/spi/ImageInputStreamSpi.java,
8003 javax/imageio/spi/ImageOutputStreamSpi.java,
8004 javax/imageio/spi/ImageReaderWriterSpi.java,
8005 javax/imageio/spi/ImageTranscoderSpi.java,
8006 javax/imageio/spi/RegisterableService.java,
8007 javax/imageio/spi/ServiceRegistry.java,
8008 javax/imageio/spi/package.html,
8009 javax/imageio/stream/IIOByteBuffer.java,
8010 javax/imageio/stream/ImageInputStream.java,
8011 javax/imageio/stream/ImageOutputStream.java,
8012 javax/imageio/stream/package.html:
8015 (ordinary_java_source_files): Added
8016 gnu/classpath/ServiceFactory.java and
8017 gnu/classpath/ServiceProviderLoadingAction.java.
8018 (javax_source_files): Added
8019 javax/imageio/ImageReader.java,
8020 javax/imageio/ImageTranscoder.java,
8021 javax/imageio/ImageWriter.java,
8022 javax/imageio/spi/IIOServiceProvider.java,
8023 javax/imageio/spi/ImageInputStreamSpi.java,
8024 javax/imageio/spi/ImageOutputStreamSpi.java,
8025 javax/imageio/spi/ImageReaderWriterSpi.java,
8026 javax/imageio/spi/ImageTranscoderSpi.java,
8027 javax/imageio/spi/RegisterableService.java,
8028 javax/imageio/spi/ServiceRegistry.java,
8029 javax/imageio/stream/IIOByteBuffer.java,
8030 javax/imageio/stream/ImageInputStream.java and
8031 javax/imageio/stream/ImageOutputStream.java.
8032 * Makefile.in: Regenerated.
8034 2004-04-21 Michael Koch <konqueror@gmx.de>
8036 * java/util/Properties.java
8037 (load): Fix wrongly merged fix.
8039 2004-04-21 Mark Wielaard <mark@klomp.org>
8041 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8042 malloc and free buf.
8044 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8046 * javax/naming/AuthenticationException.java,
8047 javax/naming/AuthenticationNotSupportedException.java,
8048 javax/naming/CannotProceedException.java,
8049 javax/naming/CommunicationException.java,
8050 javax/naming/CompoundName.java,
8051 javax/naming/ConfigurationException.java,
8052 javax/naming/ContextNotEmptyException.java,
8053 javax/naming/InitialContext.java,
8054 javax/naming/InsufficientResourcesException.java,
8055 javax/naming/InterruptedNamingException.java,
8056 javax/naming/LimitExceededException.java,
8057 javax/naming/LinkException.java,
8058 javax/naming/LinkLoopException.java,
8059 javax/naming/LinkRef.java,
8060 javax/naming/MalformedLinkException.java,
8061 javax/naming/Name.java,
8062 javax/naming/NameAlreadyBoundException.java,
8063 javax/naming/NameNotFoundException.java,
8064 javax/naming/NamingSecurityException.java,
8065 javax/naming/NoInitialContextException.java,
8066 javax/naming/NoPermissionException.java,
8067 javax/naming/NotContextException.java,
8068 javax/naming/PartialResultException.java,
8069 javax/naming/ReferralException.java,
8070 javax/naming/ServiceUnavailableException.java,
8071 javax/naming/SizeLimitExceededException.java,
8072 javax/naming/TimeLimitExceededException.java,
8073 javax/naming/directory/Attribute.java,
8074 javax/naming/directory/Attributes.java,
8075 javax/naming/directory/SearchResult.java,
8076 javax/naming/event/NamingExceptionEvent.java,
8077 javax/naming/spi/ResolveResult.java:
8080 2004-04-21 Mark Wielaard <mark@klomp.org>
8082 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8083 Changed C++ comments into C comments. Removed commented out code.
8084 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8086 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8088 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8090 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8092 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8094 * native/jni/gtk-peer/gthread-jni.c:
8097 2004-04-21 Mark Wielaard <mark@klomp.org>
8099 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8100 static fields defined in interface.
8101 * javax/awt/JDialog.java: Likewise.
8102 (JDialog): Make constructors public.
8103 (getDefaultCloseOperation): Make public.
8104 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8105 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8106 * javax/swing/JViewport.java (JViewport): Make constructor public.
8108 2004-04-21 Michael Koch <konqueror@gmx.de>
8110 * java/util/Map.java
8111 (Entry): Removed redundant "static" modifier.
8112 * java/text/AttributedCharacterIterator.java:
8113 Updated copyright year.
8115 2004-04-20 Michael Koch <konqueror@gmx.de>
8117 * javax/naming/directory/SearchControls.java:
8118 Don't explicitely extend java.lang.Object.
8119 * javax/naming/spi/DirStateFactory.java:
8120 Merged copyright year with GNU classpath.
8122 2004-04-20 Michael Koch <konqueror@gmx.de>
8124 * java/nio/channels/Channels.java:
8125 Merged coding style with GNU classpath.
8127 2004-04-20 Michael Koch <konqueror@gmx.de>
8129 * java/net/ServerSocket.java
8130 Merged coding style from GNU classpath.
8132 2004-04-20 Michael Koch <konqueror@gmx.de>
8134 * java/io/BufferedWriter.java:
8135 Reordered variables to be at top of the class.
8136 (localFlush): Removed redundant final keyword.
8138 2004-04-20 Ingo Proetel <proetel@aicas.com>
8140 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8142 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8144 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8145 for percent and permill check.
8147 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8149 * java/text/FieldPosition.java
8150 (FieldPosition) Constructor now behaves as it should according
8151 to the java documentation.
8153 2004-04-20 Mark Wielaard <mark@klomp.org>
8155 * java/util/Properties.java: Use the word umlaut, not ä in api
8158 2004-04-20 Michael Koch <konqueror@gmx.de>
8160 * java/nio/Buffer.java,
8161 java/nio/channels/AlreadyConnectedException.java,
8162 java/nio/channels/AsynchronousCloseException.java,
8163 java/nio/channels/ByteChannel.java,
8164 java/nio/channels/CancelledKeyException.java,
8165 java/nio/channels/Channel.java,
8166 java/nio/channels/Channels.java,
8167 java/nio/channels/ClosedByInterruptException.java,
8168 java/nio/channels/ClosedChannelException.java,
8169 java/nio/channels/ClosedSelectorException.java,
8170 java/nio/channels/ConnectionPendingException.java,
8171 java/nio/channels/DatagramChannel.java,
8172 java/nio/channels/FileChannel.java,
8173 java/nio/channels/FileLock.java,
8174 java/nio/channels/FileLockInterruptionException.java,
8175 java/nio/channels/GatheringByteChannel.java,
8176 java/nio/channels/IllegalBlockingModeException.java,
8177 java/nio/channels/IllegalSelectorException.java,
8178 java/nio/channels/InterruptibleChannel.java,
8179 java/nio/channels/NoConnectionPendingException.java,
8180 java/nio/channels/NonReadableChannelException.java,
8181 java/nio/channels/NonWritableChannelException.java,
8182 java/nio/channels/NotYetBoundException.java,
8183 java/nio/channels/NotYetConnectedException.java,
8184 java/nio/channels/OverlappingFileLockException.java,
8185 java/nio/channels/Pipe.java,
8186 java/nio/channels/ReadableByteChannel.java,
8187 java/nio/channels/ScatteringByteChannel.java,
8188 java/nio/channels/SelectableChannel.java,
8189 java/nio/channels/SelectionKey.java,
8190 java/nio/channels/Selector.java,
8191 java/nio/channels/ServerSocketChannel.java,
8192 java/nio/channels/SocketChannel.java,
8193 java/nio/channels/UnresolvedAddressException.java,
8194 java/nio/channels/UnsupportedAddressTypeException.java,
8195 java/nio/channels/WritableByteChannel.java,
8196 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8197 java/nio/channels/spi/AbstractSelectableChannel.java,
8198 java/nio/channels/spi/AbstractSelectionKey.java,
8199 java/nio/channels/spi/AbstractSelector.java,
8200 java/nio/channels/spi/SelectorProvider.java,
8201 java/nio/charset/spi/CharsetProvider.java:
8202 Fixed javadocs and jalopied all over java.nio.
8204 2004-04-20 Michael Koch <konqueror@gmx.de>
8206 * java/nio/ByteBufferImpl.java,
8207 java/nio/CharBufferImpl.java,
8208 java/nio/DirectByteBufferImpl.java,
8209 java/nio/DoubleBufferImpl.java,
8210 java/nio/DoubleViewBufferImpl.java,
8211 java/nio/FloatBufferImpl.java,
8212 java/nio/FloatViewBufferImpl.java,
8213 java/nio/IntBufferImpl.java,
8214 java/nio/IntViewBufferImpl.java,
8215 java/nio/LongBufferImpl.java,
8216 java/nio/LongViewBufferImpl.java,
8217 java/nio/MappedByteBufferImpl.java,
8218 java/nio/ShortBufferImpl.java,
8219 java/nio/ShortViewBufferImpl.java:
8220 Made sure all classes are final and removed final keyword from all
8223 2004-04-20 Michael Koch <konqueror@gmx.de>
8225 * java/rmi/MarshalledObject.java,
8226 java/rmi/Naming.java,
8227 java/rmi/RemoteException.java,
8228 java/rmi/activation/ActivationException.java,
8229 java/rmi/server/ServerCloneException.java,
8230 java/security/AccessController.java,
8231 java/security/AlgorithmParameterGenerator.java,
8232 java/security/AlgorithmParameters.java,
8233 java/security/CodeSource.java,
8234 java/security/Identity.java,
8235 java/security/IdentityScope.java,
8236 java/security/KeyPairGenerator.java,
8237 java/security/KeyStore.java,
8238 java/security/Security.java,
8239 java/security/Signature.java,
8240 java/security/SignatureSpi.java,
8241 java/security/SignedObject.java,
8242 java/security/spec/DSAParameterSpec.java,
8243 java/security/spec/DSAPrivateKeySpec.java,
8244 java/security/spec/DSAPublicKeySpec.java,
8245 java/sql/Array.java,
8246 java/sql/DatabaseMetaData.java,
8247 java/sql/ResultSet.java,
8248 java/text/ChoiceFormat.java,
8249 java/text/CollationElementIterator.java,
8250 java/text/CollationKey.java,
8251 java/text/Collator.java,
8252 java/text/DateFormat.java,
8253 java/text/DateFormatSymbols.java,
8254 java/text/DecimalFormatSymbols.java,
8255 java/text/Format.java,
8256 java/text/ParsePosition.java,
8257 java/text/RuleBasedCollator.java,
8258 java/text/SimpleDateFormat.java,
8259 java/text/StringCharacterIterator.java,
8260 java/util/Collections.java,
8261 java/util/PropertyResourceBundle.java,
8262 java/util/ResourceBundle.java,
8263 java/util/StringTokenizer.java,
8264 java/util/jar/Attributes.java,
8265 java/util/logging/ConsoleHandler.java,
8266 java/util/logging/LogManager.java,
8267 java/util/logging/MemoryHandler.java,
8268 java/util/logging/SocketHandler.java,
8269 javax/naming/NamingException.java:
8270 Fixed javadoc, coding style and argument names all over.
8272 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8274 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8275 constructor. (valid) Added null check.
8277 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8279 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8280 * java/io/FileOutputStream.java
8281 (FileOutputStream) Reorganized constructors. Constructors now
8282 check whether the given path is directory.
8284 2004-04-20 Michael Koch <konqueror@gmx.de>
8286 * java/net/Authenticator.java,
8287 java/net/BindException.java,
8288 java/net/ConnectException.java,
8289 java/net/ContentHandler.java,
8290 java/net/ContentHandlerFactory.java,
8291 java/net/DatagramPacket.java,
8292 java/net/DatagramSocket.java,
8293 java/net/DatagramSocketImpl.java,
8294 java/net/DatagramSocketImplFactory.java,
8295 java/net/FileNameMap.java,
8296 java/net/HttpURLConnection.java,
8297 java/net/Inet4Address.java,
8298 java/net/Inet6Address.java,
8299 java/net/InetAddress.java,
8300 java/net/InetSocketAddress.java,
8301 java/net/JarURLConnection.java,
8302 java/net/MalformedURLException.java,
8303 java/net/MulticastSocket.java,
8304 java/net/NetPermission.java,
8305 java/net/NetworkInterface.java,
8306 java/net/NoRouteToHostException.java,
8307 java/net/PasswordAuthentication.java,
8308 java/net/PortUnreachableException.java,
8309 java/net/ProtocolException.java,
8310 java/net/ServerSocket.java,
8311 java/net/Socket.java,
8312 java/net/SocketAddress.java,
8313 java/net/SocketException.java,
8314 java/net/SocketImpl.java,
8315 java/net/SocketImplFactory.java,
8316 java/net/SocketOptions.java,
8317 java/net/SocketPermission.java,
8318 java/net/SocketTimeoutException.java,
8320 java/net/URISyntaxException.java,
8322 java/net/URLClassLoader.java,
8323 java/net/URLConnection.java,
8324 java/net/URLDecoder.java,
8325 java/net/URLEncoder.java,
8326 java/net/URLStreamHandler.java,
8327 java/net/URLStreamHandlerFactory.java,
8328 java/net/UnknownHostException.java,
8329 java/net/UnknownServiceException.java:
8330 Fixed javadocs, coding style and argument names all over.
8332 2004-04-20 Michael Koch <konqueror@gmx.de>
8334 * java/lang/Byte.java,
8335 java/lang/CharSequence.java,
8336 java/lang/ClassLoader.java,
8337 java/lang/Compiler.java,
8338 java/lang/Double.java,
8339 java/lang/Float.java,
8340 java/lang/Integer.java,
8341 java/lang/Long.java,
8342 java/lang/Math.java,
8343 java/lang/Number.java,
8344 java/lang/Package.java,
8345 java/lang/Runtime.java,
8346 java/lang/RuntimePermission.java,
8347 java/lang/SecurityManager.java,
8348 java/lang/Short.java,
8349 java/lang/StringBuffer.java,
8350 java/lang/System.java,
8351 java/lang/ThreadGroup.java,
8352 java/lang/Throwable.java,
8353 java/lang/reflect/InvocationHandler.java,
8354 java/lang/reflect/Proxy.java:
8355 Fixed javadocs, coding style and argument names all over.
8357 2004-04-20 Michael Koch <konqueror@gmx.de>
8359 * java/io/BufferedWriter.java,
8360 java/io/ByteArrayInputStream.java,
8361 java/io/CharArrayWriter.java,
8362 java/io/DataInput.java,
8363 java/io/DataInputStream.java,
8365 java/io/FilterInputStream.java,
8366 java/io/InputStream.java,
8367 java/io/InputStreamReader.java,
8368 java/io/ObjectInputStream.java,
8369 java/io/ObjectStreamClass.java,
8370 java/io/PipedInputStream.java,
8371 java/io/PipedReader.java,
8372 java/io/PushbackInputStream.java,
8373 java/io/PushbackReader.java,
8374 java/io/RandomAccessFile.java,
8375 java/io/SerializablePermission.java,
8376 java/io/StreamTokenizer.java,
8377 java/io/StringWriter.java,
8378 java/io/WriteAbortedException.java,
8379 java/io/Writer.java:
8380 Fixed javadocs all over, rename arguments to match javadocs,
8383 2004-04-20 Ingo Proetel <proetel@aicas.com>
8385 * java/awt/FontMetrics.java:
8386 (charsWidth): fixed accumulation of total_width
8387 (getWidth): simple default implementation
8388 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8389 in Rectangle constructor.
8390 * java/awt/image/Raster.java (toString): Added method.
8391 * java/awt/image/SampleModel.java (<init>): Added error cause
8392 information to thrown exception.
8393 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8395 (setDataElements): New method.
8396 (setPixels): New method.
8397 (toString): New method.
8399 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8401 * java/awt/image/ComponentColorModel.java
8402 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8403 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8404 Mauve tests on this method. Improved documentation.
8406 2004-04-20 Michael Koch <konqueror@gmx.de>
8408 * javax/swing/JLayeredPane.java,
8409 javax/swing/plaf/BorderUIResource.java,
8410 javax/swing/plaf/ComponentUI.java,
8411 javax/swing/undo/CompoundEdit.java,
8412 javax/swing/undo/StateEdit.java:
8413 Fixed HTML tags in javadocs all over.
8415 2004-04-20 Michael Koch <konqueror@gmx.de>
8417 * javax/print/attribute/EnumSyntax.java
8418 (getOffset): Made protected.
8419 * javax/print/attribute/HashAttributeSet.java
8420 (HashAttributeSet): Likewise.
8421 * javax/print/attribute/ResolutionSyntax.java
8422 (getFeedResolution): Fixed typo in exception name.
8423 (getCrossFeedResolution): Likewise.
8424 * javax/print/attribute/SetOfIntegerSyntax.java
8425 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8426 * javax/print/attribute/TextSyntax.java
8427 (TextSyntax): Handle locale correctly.
8428 (hashCode): Calc better hashcode value.
8429 (equals): Fixed @return tag.
8430 (toString): New method.
8432 2004-04-20 Michael Koch <konqueror@gmx.de>
8434 * gnu/java/nio/FileLockImpl.java
8435 (static): Removed, not needed anymore.
8436 * gnu/java/nio/channels/FileChannelImpl.java
8437 (FileChannelImpl): Made final.
8438 (mode): Made private.
8439 (READ, WRITE, APPEND): Made public.
8440 (EXCL, SYNC, DSYNC): Likewise.
8441 (static): Load native JNI library, when needed.
8442 (length): Unused, removed.
8443 (available): Made public.
8444 (implPosition): Throws IOException.
8446 (implTruncate): Likewise.
8450 2004-04-20 Michael Koch <konqueror@gmx.de>
8452 * java/awt/AWTPermission.java,
8453 java/awt/Component.java,
8454 java/awt/ComponentOrientation.java,,
8455 java/awt/Dialog.java,
8456 java/awt/FontMetrics.java,
8457 java/awt/Graphics.java,
8458 java/awt/datatransfer/DataFlavor.java,
8459 java/beans/Introspector.java,
8460 java/beans/PropertyEditor.java,
8461 java/beans/PropertyEditorManager.java,
8462 java/beans/beancontext/BeanContextServiceProvider.java:
8463 Fixed HTML tags in javadocs all over.
8465 2004-04-20 Mark Wielaard <mark@klomp.org>
8467 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8468 MissingResourceException is thrown.
8469 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8470 null when a MissingResourceException is thrown. Should never happen.
8472 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8474 * java/awt/image/DataBufferShort.java,
8475 java/awt/image/DataBufferFloat.java,
8476 java/awt/image/DataBufferDouble.java,
8477 java/awt/image/PixelInterleavedSampleModel.java: New files.
8478 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8479 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8481 2004-04-20 Michael Koch <konqueror@gmx.de>
8483 * Makefile.am (java_source_files): Added
8484 java/awt/image/DataBufferDouble.java,
8485 java/awt/image/DataBufferFloat.java,
8486 java/awt/image/DataBufferShort.java and
8487 java/awt/image/PixelInterleavedSampleModel.java.
8488 * Makefile.in: Regenerated.
8490 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8492 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8493 undocumented CNI calls.
8494 * include/java-interp.h (_Jv_InterpClass): No longer
8495 extends java.lang.Class.
8496 * java/lang/Class.h (Class): Add new field `aux_info'.
8497 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8498 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8499 Use Class->aux_info instead.
8500 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8501 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8502 Use Class->aux_info instead.
8503 * java/io/natObjectInputStream.cc (allocateObject): Use
8505 * java/lang/natClass.cc (newInstance): Likewise.
8506 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8507 * java/lang/natObject.cc (clone): Likewise.
8508 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8509 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8510 JvAllocObject. Allocate klass->aux_info here for interpreted
8513 2004-04-17 Mark Wielaard <mark@klomp.org>
8515 * javax/swing/JToggleButton.java (ToggleButtonModel):
8516 Make public static inner class.
8517 * javax/swing/JTabbedPane.java (setComponentAt):
8518 Call Page.setComponent().
8519 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8520 (WRAP_TAB_LAYOUT): Make public, value is 0.
8521 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8522 Make private static inner class.
8524 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8526 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8527 arguments to match new signature. Remove FIXME comments.
8529 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8531 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8536 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8538 * Makefile.am: Added new file.
8539 * Makefile.in: Regenerate.
8540 * javax/swing/ImageIcon.java:
8541 (ImageIcon(file)): set description of the icon
8543 * javax/swing/JCheckBoxMenuItem.java:
8544 Mostly Implemented. Work in progress.
8545 * javax/swing/JRadioButtonMenuItem.java:
8546 Reimplement constructors to use JToggleButtonModel.
8547 * javax/swing/plaf/basic/BasicIconFactory.java:
8548 (getCheckBoxMenuItemIcon): return check box
8550 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8551 paint menu item selected only when it is armed and
8554 2004-04-02 David Jee <djee@redhat.com>
8556 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8557 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8558 * java/awt/Component.java
8559 (add): Set the parent of the popup as this component.
8560 * java/awt/PopupMenu.java
8561 (addNotify): Create popup menu when peer is null.
8562 (show): Call addNotify() if peer is null.
8563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8564 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8565 argument for gtk_menu_popup() as zero. This causes the popup menu to
8566 respond to any mouse button.
8568 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8570 * Makefile.am: Added new file.
8571 * Makefile.in: Regenerate.
8572 * javax/swing/JRadioButtonMenuItem.java:
8574 * javax/swing/plaf/basic/BasicIconFactory.java:
8575 (getRadioButtonMenuItemIcon): Return
8577 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8578 (getPreferredSize): Add size of checkIcon if it
8580 (installDefaults): Don't initialize checkIcon.
8581 It's value will be set in subclasses.
8582 (uninstallDefaults): remove uninstallation of
8584 (paint): Moved code to paintMenuItem().
8585 (paintMenuItem): Implemented.
8586 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8587 UI delegate for JRadioButtonMenuItem.
8589 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8591 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8592 Corrected position of the accelerator.
8594 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8596 * Makefile.am: Added new file.
8597 * Makefile.in: Regenerate.
8598 * javax/swing/JMenuItem.java: Partly
8599 implemented. Work in progress
8600 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8601 Changed default value of acceleratorDelimiter.
8602 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8603 New class. Partly implemented.
8605 2004-03-26 Mark Wielaard <mark@klomp.org>
8607 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8608 (item_activate): Declare label before use.
8609 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8610 (gtkSetFont): Removed unused variable label.
8611 (addExposeFilter): Declare variables before use.
8612 (removeExposeFilter): Likewise.
8613 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8614 (ok_clicked): Declare str_fileName before use.
8616 2004-03-26 David Jee <djee@redhat.com>
8618 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8619 (addSeparator): Remove.
8620 * java/awt/Menu.java
8621 (separator): Remove static final MenuItem field.
8622 (separatorLabel): New static final String field.
8623 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8624 Use separatorLabel to denote that it is a separator.
8625 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8626 of reusing the static separator instance, because a MenuItem instance
8627 can't be added more than once without being cloned.
8628 * java/awt/peer/MenuPeer.java
8629 (addSeparator): Remove from interface.
8631 2004-03-26 David Jee <djee@redhat.com>
8633 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8634 (connectSignals): New native method declaration.
8635 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8636 * java/awt/MenuItem.java
8637 (getActionCommand): Return the label if the action command is not set.
8638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8639 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8640 gtk_menu_shell_append().
8641 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8642 (item_activate): Fix argument type.
8643 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8645 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8647 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8648 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8649 given. Add the menu widget's top-level GtkWindow to the global window
8650 group, so it can grab the pointer.
8651 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8652 gtk_menu_shell_append().
8654 2004-03-23 Graydon Hoare <graydon@redhat.com>
8656 * java/text/AttributedString.java
8657 (addAttribute): Fix off-by-one.
8658 (getIterator): Likewise.
8659 * java/text/AttributedStringIterator.java
8660 (getRunLimit): Correct logic.
8661 (getRunStart): Likewise.
8662 (getAttribute): Fix inequality.
8663 (getAttributes): Likewise.
8664 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8666 2004-03-23 Kim Ho <kho@redhat.com>
8668 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8669 (calculateSizes): Return real width and height.
8671 2004-03-23 Kim Ho <kho@redhat.com>
8673 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8674 (calculateTabRects): Set the selectedRun before
8675 trying to rotate tabs.
8677 2004-03-23 Kim Ho <kho@redhat.com>
8679 * Makefile.am: New file
8680 * Makefile.in: Regenerate
8681 * java/awt/Graphics.java: (drawRect):
8682 Draw to the correct point.
8683 * javax/swing/DefaultSingleSelectionModel.java
8684 (isSelected): Return true if the selected index
8686 * javax/swing/JLabel.java: Do not change mnemonic
8687 index if text is null.
8688 * javax/swing/JProgressBar.java: Use JComponent's
8690 * javax/swing/JScrollBar.java: Ditto.
8691 * javax/swing/JSlider.java: Ditto.
8692 * javax/swing/JTabbedPane.java: Reimplement.
8693 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8694 Add defaults for TabbedPane.
8695 * javax/swing/plaf/basic/BasicArrowButton.java:
8697 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8698 (paintDeterminate): Don't paint String if it's
8700 (paintIndeterminate): ditto.
8701 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8704 2004-03-19 Michael Koch <konqueror@gmx.de>
8706 * java/awt/image/AffineTransformOp.java
8707 (AffineTransformOp): Made public.
8708 * javax/swing/JComponent.java
8709 (listenerList): Made protected.
8710 (accessibleContext): Likewise.
8711 * javax/swing/JList.java
8712 (valueChanged): Dont use internal fields of ListSelectionEvent.
8713 * javax/swing/JViewport.java
8714 (getView): Dont use internal fields of Component.
8715 (addImpl): Likewise.
8716 * javax/swing/Timer.java
8717 (isRunning): Made public.
8720 * javax/swing/UIDefaults.java
8721 (getInt): Made public.
8722 * javax/swing/plaf/basic/BasicListUI.java
8723 (mousePressed): Dont use internal fields of MouseEvent.
8724 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8725 * javax/swing/plaf/basic/BasicScrollBarUI.java
8726 (arrowIcon): Made static.
8727 * javax/swing/plaf/basic/BasicViewportUI.java
8728 (stateChanged): Dont use internal field on ChangeEvent.
8729 * javax/swing/text/JTextComponent.java
8730 (getUI): Call UIManager.getUI().
8731 (updateUI): Use getUI().
8733 2004-03-19 Graydon Hoare <graydon@redhat.com>
8735 * javax/swing/JComponent.java: Turn off double buffer by default.
8736 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8738 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8739 Use cairo to copy areas.
8740 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8741 Initialize and set clip region.
8743 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8745 * java/applet/Applet.java (preferredSize): Override deprecated
8746 variant of getPreferredSize.
8747 (minimumSize): Override deprecated variant of getMinimumSize.
8749 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8751 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8752 (drawImage(img,xform,bgcolor,obs)): New Method.
8753 Helper function that every drawImage method will
8755 (drawRaster): Added new parameter, bgcolor. All
8756 transparent pixels are changed to bgcolor before
8758 (drawRenderedImage): Fixed to use changed drawRaster().
8759 (drawImage(image,xform,obs): Fixed to use new helper function
8760 (drawImage(image,op,x,y)): Ditto.
8761 (drawImage (img,x,y,observer)): Ditto.
8762 ((PainterThread) bgcolor): New Field.
8763 ((PainterThread) (setPixels)): Changed all transparent pixels
8765 (drawImage(img,x,y,width,height,bgcolor,observer)):
8766 Fixed FIXME - all the transparent pixels are
8767 changed to the specified bgcolor.
8768 (drawImage(img, x, y, width, height, observer): Changed to
8770 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8771 Fixed FIXME- changed all transparent pixels to bgcolor.
8772 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8773 Changed to use function above.
8775 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8777 * java/applet/Applet.java (dimensions): New field.
8778 (getDimensions): New method.
8779 (getPreferredSize): Call getDimensions.
8780 (getMinimumSize): Likewise.
8782 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8784 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8785 * jni/classpath/jnilink.c: Likewise.
8787 * java/applet/Applet.java (getPreferredSize): New method.
8788 (getMinimumSize): New method.
8790 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8792 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8793 (_Jv_AllocObjectNoFinalizer): Likewise.
8794 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8795 (_Jv_AllocPtrFreeObject): Likewise.
8796 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8797 directly even in the JVMPI case.
8798 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8799 _Jv_AllocObject calls.
8800 * gcj/javaprims.h: Update prototypes.
8801 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8802 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8803 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8805 2004-04-14 Andrew Haley <aph@redhat.com>
8806 Bryce McKinlay <mckinlay@redhat.com>
8808 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8809 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8810 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8812 * testsuite/libjava.lang/InvokeInterface.java: New file.
8813 * testsuite/libjava.lang/InvokeInterface.out: New file.
8815 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8817 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8819 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8820 StackTraceElement directly.
8821 (newElement): New native helper method to create StackTraceElement
8822 bypassing Java access control.
8823 (createStackTraceElement): Use newElement() instead of directly
8824 calling StackTraceElement's constructor.
8825 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8827 2004-04-01 Michael Koch <konqueror@gmx.de>
8829 * java/lang/SecurityManager.java
8830 (checkAwtEventQueueAccess): Implemented.
8832 2004-04-01 Gary Benson <gbenson@redhat.com>
8834 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8835 (_Jv_SearchMethodInClass): Likewise.
8837 2004-03-26 Peter Moon <peterm@miraculum.com>
8839 * java/text/NumberFormat.java: Fix spelling of setCurrency
8842 2004-03-21 Anthony Green <green@redhat.com>
8844 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8845 recursion when searching for the system ClassLoader.
8847 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8849 * java/net/ServerSocket.java
8850 (accept): Close the socket when error occured.
8852 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8854 * java/net/URI.java (parseURI): Added unquoting.
8855 (unquote): New method.
8856 (quoteAuthority): Implemented.
8857 (quote(String,String)): New method.
8858 (quotePath): Implemented.
8859 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8860 (getSchemeSpecificPart): Removed FIXME comment.
8861 (getRawAuthority): Return new rawAuthority field.
8862 (getAuthority): Removed FIXME comment.
8863 (getRawUserInfo): Return new rawUserInfo field.
8864 (getUserInfo): Removed FIXME comment.
8865 (getRawPath): Return new rawPath field.
8866 (getPath): Removed FIXME comment.
8867 (getRawQuery): Return new rawQuery field.
8868 (getQuery): Removed FIXME comment.
8869 (getRawFragment): Return new rawFragment field.
8870 (getFragment): Removed FIXME comment.
8872 2004-03-20 Michael Koch <konqueror@gmx.de>
8874 * java/net/URLConnection.java: Merged copyright year with classpath.
8876 2004-03-20 Norbert Frese <postfach@nfrese.net>
8878 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8879 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8880 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8882 (getObjectInputStream): Return object reference, throw IOException if null.
8883 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8884 (getObjectOutputStream): Return object reference, throw IOException if null.
8885 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8886 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8887 (UnicastConnectionManager): Throw RemoteException if port is not available.
8888 (getInstance): Throw RemoteException.
8889 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8890 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8891 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8892 Collect Exceptions which are returned by a rmi-call and fix void returns.
8893 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8894 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8895 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8896 (dispatch): Answer ping messages which are sent by other java implementions.
8897 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8898 for every rmi-message and fix void return problems.
8899 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8900 (UnicastServerRef): Throw RemoteException.
8901 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8902 In some situations it is necessary to export a subclass of the class which has the _Stub.
8903 For instance when the class with has the _Stub is abstract.
8904 (findStubSkelClass): New method which looks for the class which has the _Stub.
8905 (getClientHost): Implementated.
8906 * gcc/libjava/java/rmi/server/RemoteServer.java
8907 (getClientHost): Implementated.
8908 * gcc/libjava/Makefile.am (rmi_java_source_files):
8909 Added gnu/java/rmi/server/RMIIncomingThread.java.
8910 * Makefile.in: Regenerated.
8912 2004-03-20 Michael Koch <konqueror@gmx.de>
8914 * java/net/InetAddress.java
8915 (getLocalHostname): Added javadoc.
8917 2004-03-19 Per Bothner <per@bothner.com>
8919 * configure.in: FILE variable overrides FLATFORM when linking
8920 natFileChannelXXX.cc.
8922 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8923 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8925 2004-03-19 Per Bothner <per@bothner.com>
8927 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8928 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8929 * Makefile.am: Update accordingly.
8930 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8931 as aliases for UnicodeLittle and UnicodeBig.
8933 2004-03-20 Mark Wielaard <mark@klomp.org>
8935 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8936 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8937 Don't access ws when it is null.
8938 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8941 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8943 * java/lang/ThreadGroup.java (list): Changed print to println.
8945 2004-03-19 Mark Wielaard <mark@klomp.org>
8947 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8950 2004-02-10 Randolph Chung <tausq@debian.org>
8952 * configure.in: Build java for hppa target.
8953 * configure: Regenerate.
8954 * libjava/configure.host (hppa-*): Add target.
8955 * libjava/sysdeps/pa/lock.h: New file.
8957 2004-03-19 Mark Wielaard <mark@klomp.org>
8959 Reported by Stephen Crawley
8960 * java/io/FilePermission.java (implies): Use String.length() -1 to
8961 access last char of String.
8963 2004-03-19 Michael Koch <konqueror@gmx.de>
8965 * java/awt/image/AffineTransformOp.java
8966 (AffineTransformOp): Made public.
8967 * javax/swing/JComponent.java
8968 (listenerList): Made protected.
8969 (accessibleContext): Likewise.
8970 * javax/swing/JList.java
8971 (valueChanged): Dont use internal fields of ListSelectionEvent.
8972 * javax/swing/JViewport.java
8973 (getView): Dont use internal fields of Component.
8974 (addImpl): Likewise.
8975 * javax/swing/Timer.java
8976 (isRunning): Made public.
8979 * javax/swing/UIDefaults.java
8980 (getInt): Made public.
8981 * javax/swing/plaf/basic/BasicListUI.java
8982 (mousePressed): Dont use internal fields of MouseEvent.
8983 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8984 * javax/swing/plaf/basic/BasicScrollBarUI.java
8985 (arrowIcon): Made static.
8986 * javax/swing/plaf/basic/BasicViewportUI.java
8987 (stateChanged): Dont use internal field on ChangeEvent.
8988 * javax/swing/text/JTextComponent.java
8989 (getUI): Call UIManager.getUI().
8990 (updateUI): Use getUI().
8992 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8994 * verify.cc: Undef PC.
8996 2004-03-18 Michael Koch <konqueror@gmx.de>
8998 * java/nio/channels/spi/AbstractSelectableChannel.java
8999 (keys): Initialize at declaration.
9000 (locate): keys cant be null.
9002 (addSelectionKey): New method.
9003 (removeSelectionKey): New method.
9004 * java/nio/channels/spi/AbstractSelectionKey.java
9005 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
9006 * java/nio/channels/spi/AbstractSelector.java
9007 (provider): Javadoc added.
9008 (cancelledKeys): Javadoc added.
9009 (cancelKey): Javadoc added, add key to cancelledKeys.
9010 (deregister): Implemented.
9012 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
9014 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
9015 MAP_FAILED to void *.
9017 2004-03-12 Graydon Hoare <graydon@redhat.com>
9019 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9020 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9021 * javax/swing/JList.java (ListListener): Revalidate on changes.
9022 * javax/swing/JScrollPane.java: Reimplement.
9023 * javax/swing/JViewport.java: Reimplement.
9024 * javax/swing/ScrollPaneLayout.java: Reimplement.
9025 * javax/swing/ViewportLayout.java: Tidy up.
9026 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9027 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9028 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9029 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9032 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9034 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9035 (window_wm_protocols_filter): New function.
9036 (window_focus_in_cb): Remove function.
9037 (window_focus_out_cb): Likewise.
9038 (window_focus_or_active_state_change_cb): New function.
9039 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9040 (connectSignals): Don't attach handlers to focus-in-event or
9041 focus-out-event signals. Handle notify signal.
9043 2004-03-11 David Jee <djee@redhat.com>
9045 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9046 (gtkSetLabel): New native method declaration.
9047 (setLabel): Use gtkSetLabel.
9048 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9049 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9051 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9053 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9054 black when color argument is null.
9056 2004-03-10 Kim Ho <kho@redhat.com>
9058 * java/awt/Container.java: Remove check
9061 2004-03-10 Kim Ho <kho@redhat.com>
9063 * java/awt/Container.java: (visitChild):
9064 Remove candidate clip. Use the component
9066 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9067 (handleEvent): Use the PaintEvent's clip.
9069 2004-03-10 Kim Ho <kho@redhat.com>
9071 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9072 (handleEvent): Don't set the clip for the
9075 2004-03-09 Graydon Hoare <graydon@redhat.com>
9077 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9078 Fix double <-> fixed macros, reset font transform.
9079 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9082 2004-03-09Â Kim Ho <kho@redhat.com>
9084 * java/awt/Container.java: (visitChild): Move
9085 the x and y coordinate of the component rectangle
9086 to correct position.
9087 (handleEvent): Forward drag events to the pressed
9089 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9091 (ArrowButtonListener::mousePressed): Stop the
9093 (mouseDragged): Implement.
9094 (TrackListener::mousePressed): Only react if
9095 the press doesn't occur on the thumb, otherwise
9096 just set the offset.
9097 (TrackListener::mouseReleased): Unset the isAdjusting
9099 (createIncreaseIcon): Switch icon.
9100 (createDecreaseIcon): Switch icon.
9101 (calculatePreferredSize): Use width.
9102 (getThumbBounds): Use the top as the lower value.
9103 (layoutVScrollBar): Switch the button locations.
9104 (paintIncreaseHighlight): Paint correct side of thumb.
9105 (paintDecreaseHighlight): ditto.
9106 (valueForYPosition): Use top as the lower value.
9107 * javax/swing/plaf/basic/BasicSliderUI.java:
9109 (mouseDragged): Implement.
9110 (mousePressed): Only react when the thumb isn't
9111 pressed, otherwise just set offset.
9112 (mouseReleased): Handle a release of the thumb.
9113 (scrollDueToClickInTrack): Stop the timer first.
9114 * javax/swing/JProgressBar.java:
9115 (setString): Fix change condition.
9116 * javax/swing/JSeparator.java:
9119 2004-03-08 David Jee <djee@redhat.com>
9121 * java/awt/image/AffineTransformOp.java:
9122 (filter): Use Graphics2D interface instead of directly using the
9125 2004-03-05 David Jee <djee@redhat.com>
9127 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9128 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9129 * java/awt/Container.java
9130 (acquireComponentForMouseEvent): Fixed.
9131 (handleEvent): Fixed.
9132 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9133 (state_to_awt_mods_with_button_states): New method.
9134 (pre_event_handler): Fixed mouse event generation.
9136 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9138 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9139 (GdkGraphics2D (BufferedImage)): Initialize
9140 pixmap associated with specified BufferedImage.
9141 (setPaint): Changed implementation of Texture
9142 Paint to use AffineTransformOp.
9143 * java/awt/image/AffineTransformOp.java
9144 (createCompatibleDestRaster): Throw RasterFormatException
9145 if resulting width or height of raster is 0.
9147 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9149 * java/awt/image/AffineTransformOp.java:
9150 Removed unnecessary field interpolationType.
9151 Formatted some of the lines to be consistent with
9153 (AffineTransformOp): Create new RenderingHints
9154 containing specified interpolation type.
9155 (createCompatibleDestImage): Implemented.
9156 (createCompatibleDestRaster): Implemented.
9157 (filter): Implemented.
9158 (getBounds2D(BufferedImage)): Implemented.
9159 (getBounds2D(Raster)): Implemented.
9160 (getInterpolationType): Get interpolation value from
9163 2004-03-04 David Jee <djee@redhat.com>
9165 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9166 (setFont): Check if child peers are null.
9168 2004-03-04 Graydon Hoare <graydon@redhat.com>
9170 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9172 (libjava_arguments): Add new libraries to argument list.
9174 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9176 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9177 * Makefile.in: Re-generated.
9178 * java/awt/image/AffineTransformOp.java: New Class.
9180 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9182 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9183 (setPaint): Interpret correctly TexturePaint's
9185 (drawImage): Fixed scale factors of the affine
9188 2004-02-27 David Jee <djee@redhat.com>
9190 * gnu/java/awt/peer/gtk/GdkGraphics.java
9191 (GdkGraphics(Component)): Inherit font from component.
9192 (drawString): Use font style.
9193 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9194 (gtkSetFont): New native method declaration.
9195 (setFont): New method.
9196 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9197 (gtkSetFont): New native method declaration.
9198 (setFont): Call new native method gtkSetFont.
9199 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9200 (setFont): For all child components who do not their fonts set,
9201 set their peers' fonts with this container's font.
9202 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9203 Move all native method declarations to the top for readability.
9204 (gtkSetFont): New native method declaration.
9205 (setFont): New method.
9206 * java/awt/Component.java
9207 (setFont): Invalidate after setting the font.
9208 * java/awt/Container.java
9209 (invalidateTree): New method.
9210 (setFont): Invalidate the container tree after setting the font.
9211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9212 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9214 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9216 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9218 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9220 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9222 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9223 (updateBufferedImage): New helper function.
9224 Updates BufferedImage in memory if it was changed.
9225 (draw): changed to update BufferedImage in memory after
9226 this drawing operation
9228 (draw3DRect): Ditto.
9229 (fill3DRect): Ditto.
9231 (drawRaster): Ditto.
9232 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9233 no affine transformation.
9234 (drawGlyphVector): Ditto.
9236 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9238 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9239 (isBufferedImageGraphics): New Helper function.
9240 Returns true if this graphics2d can be used to draw
9241 into buffered image and false otherwise.
9242 (updateImagePixels): New Helper function.
9243 Updates pixels in the BufferedImage.
9244 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9245 (getImagePixels): New function. Returns pixels
9246 of the buffered image associated with
9249 2004-02-26 David Jee <djee@redhat.com>
9251 * java/awt/BorderLayout.java
9252 (layoutContainer): Fix width and height calculations to ensure
9253 that they're non-negative.
9254 * java/awt/Component.java
9255 (setBackground): If c is null, inherit from closest ancestor whose
9256 background color is set.
9258 2004-02-26 Kim Ho <kho@redhat.com>
9260 * Makefile.am: Add new files.
9261 * Makefile.in: Re-generate.
9262 * javax/swing/JProgressBar.java:
9263 (JProgressBar(int, int int)): Throw
9264 IllegalArgumentException if orientation is
9266 (JProgressBar(BoundedRangeModel)): Create
9267 ChangeListener and register it. UpdateUI.
9268 (getChangeListeners): Implement.
9269 (setModel): Reset ChangeListener.
9270 * javax/swing/JScrollBar.java: Implement.
9271 * javax/swing/JSeparator.java: Implement.
9272 * javax/swing/JSlider.java:
9273 (JSlider(int, int, int, int)): Throw
9274 IllegalArgumentException if orientation
9276 (getChangeListeners): Fix method name.
9277 * javax/swing/SwingUtilities.java:
9278 (layoutCompoundLabel): If there is no text,
9279 set the text rectangle dimensions to 0.
9280 * javax/swing/plaf/basic/BasicButtonUI.java:
9281 (paint): If there is no text, don't paint it.
9282 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9284 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9286 * javax/swing/plaf/basic/BasicSliderUI.java:
9287 (propertyChange): If the model changes, change
9288 the listeners accordingly.
9290 2004-02-25 Graydon Hoare <graydon@redhat.com>
9292 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9293 * javax/swing/JList.java: Reimplement.
9294 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9295 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9296 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9297 * javax/swing/ListModel.java: Javadoc.
9298 * javax/swing/ListSelectionModel.java: Add missing methods.
9299 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9300 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9301 * javax/swing/ListModel.java: Javadoc and corrections.
9302 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9304 2004-02-25 David Jee <djee@redhat.com>
9306 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9307 (GtkFontPeer): Change default size to 12.
9308 * gnu/java/awt/peer/gtk/GtkToolkit.java
9309 (getFontPeer): Change default size to 12.
9310 (getClasspathFontPeer): Likewise. Set default name to "Default".
9311 * java/awt/Font.java
9312 (Font(Map)): Call Font(String,Map).
9313 (Font(String,Map)): If attrs is null, initialize it as an empty
9314 HashMap, which will ensure that the Font will get default attributes.
9316 2004-02-25 David Jee <djee@redhat.com>
9318 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9319 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9320 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9321 * gnu/java/awt/peer/gtk/GtkToolkit.java
9322 (getFontPeer(String,int)): Call the new overload method with size 1.
9323 (getFontPeer(String,int,int)): New method. Overloaded with size
9325 (getClasspathFontPeer): Set the size of the font.
9327 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9329 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9330 (bimage): New field.
9331 (GdkGraphics2D): New Constructor. Constructs Graphics
9332 object that can be used to draw into the Buffered Image.
9333 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9334 (GdkGraphicsEnvironment): Fixed to include public
9336 (createGraphics): Implemented.
9337 * gnu/java/awt/peer/gtk/GtkToolkit.java
9338 (getLocalGraphicsEnvironment): Implemented.
9339 * java/awt/GraphicsEnvironment.java:
9340 (getLocalGraphicsEnvironment): Implemented.
9341 * java/awt/image/BufferedImage.java:
9342 (createGraphics): Implemented.
9344 2004-02-24 David Jee <djee@redhat.com>
9346 * java/awt/Component.java
9347 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9348 * java/awt/Container.java
9349 (addNotifyContainerChildren): Fix event enabling.
9351 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9353 * Makefile.am: Added
9354 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9355 * Makefile.in: Re-generated.
9356 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9359 2004-02-19 Kim Ho <kho@redhat.com>
9361 * Makefile.am: Add BasicProgressBarUI
9362 * Makefile.in: Regenerate.
9363 * javax/swing/JProgressBar.java:
9365 * javax/swing/plaf/basic/BasicLookAndFeel.java
9366 Add constants for JProgressBar.
9367 * javax/swing/plaf/basic/BasicProgressBarUI.java
9369 * javax/swing/plaf/basic/BasicSliderUI.java
9371 (calculateGeometry): New method
9372 (paint): Remove unnecessary size calculations.
9374 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9376 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9377 (drawRaster): Fixed small error that caused
9378 imageToUser transformation to be set incorrectly.
9379 (toString): Implemented.
9381 2004-02-18 David Jee <djee@redhat.com>
9383 * java/awt/CardLayout.java
9384 (addLayoutComponent): Show the first component added as the default.
9385 (removeLayoutComponent): After removing, show the next component.
9386 (gotoComponent): If there is only one component, show it and return.
9388 2004-02-18 Kim Ho <kho@redhat.com>
9390 * javax/swing/JSlider.java: Re-order
9392 * javax/swing/JLabel.java: Re-order
9394 * javax/swing/JComponent.java:
9395 (addPropertyChangeListener):
9397 (removePropertyChangeListener):
9399 (firePropertyChangeEvent):
9402 2004-02-17 David Jee <djee@redhat.com>
9404 * java/awt/Component.java
9405 (show): Dispatch ComponentEvent via system event queue.
9409 (reshape): Likewise.
9410 * java/awt/Window.java
9411 (setBoundsCallback): Likewise.
9413 2004-02-17 David Jee <djee@redhat.com>
9415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9416 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9417 Use gtk_widget_set_size_request() instead of the deprecated
9418 gtk_widget_set_usize().
9420 2004-02-17 Kim Ho <kho@redhat.com>
9422 * javax/swing/JSlider.java: Fix comments and
9423 make property strings constants.
9424 (createStandardLabels): Use the labels
9425 preferred size as bounds.
9426 * javax/swing/plaf/basic/BasicSliderUI.java
9428 (ScrollHandler::actionPerformed): Don't
9429 calculate the timer stop value. Let the
9430 MouseListeners find the stop location.
9431 (getPreferredHorizontalSize): Re-implement.
9432 (getPreferredVerticalSize): ditto.
9433 (getMinimumHorizontalSize): ditto.
9434 (getMinimumVerticalSize): ditto.
9435 (getPreferredSize): ditto.
9436 (getMinimumSize): ditto.
9437 (getMaximumSize): ditto.
9438 (paintTicks): Use doubles to find the
9440 (paintHorizontalLabel):Â Use preferredSize
9441 as initial width and height.
9442 (paintVerticalLabel): ditto.
9444 2004-02-17 Kim Ho <kho@redhat.com>
9446 * javax/swing/JLabel.java: Changed
9447 property strings to constants.
9448 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9450 (setText): Change mnemonic index if
9452 (setDisplayedMnemonicIndex): Fire property
9454 (getDisplayedMnemonicIndex): Remove check
9457 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9459 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9460 (drawImage(img,xform,obs)): Invert xform before
9461 passing the xform to cairo.
9462 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9463 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9465 (drawImage (img,x,y,w,h,obs)): Implemented.
9466 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9467 bgcolor,obs)): Partly implemented.
9468 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9470 * java/awt/image/BufferedImage.java:
9471 (copyData): if dest is null, create raster with same
9472 dimensions as the current image.
9474 2004-02-16 Graydon Hoare <graydon@redhat.com>
9476 * javax/swing/plaf/basic/BasicLabelUI.java
9477 (getPreferredSize): Use layoutCL.
9478 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9479 (getPreferredButtonSize): Start with empty view rect, layout using
9480 component's preferred alignment.
9481 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9484 2004-02-16 David Jee <djee@redhat.com>
9486 * java/awt/Component.java
9487 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9488 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9489 (move): Erase old bounds and repaint new bounds. Dispatch
9490 COMPONENT_MOVED ComponentEvent.
9491 (resize): Erase old bounds and repaint new bounds. Dispatch
9492 COMPONENT_RESIZED ComponentEvent.
9493 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9495 * java/awt/Window.java
9496 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9499 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9501 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9502 (setRenderingHint): Added implementation of
9503 Interpolation rendering hints.
9504 (setRenderingHints): Ditto.
9505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9506 (drawPixels): fixed to allow user to choose type
9507 of filtering that should be used when displaying images.
9508 (cairoSurfaceSetFilter): New method. Sets filter type for
9509 interpolation of pixel values.
9511 2004-02-16 David Jee <djee@redhat.com>
9513 * java/awt/GridBagLayout.java
9514 (calcCellSizes): Rows or columns with zero sizes should still be
9515 considered for extra space distribution.
9517 2004-02-16 Kim Ho <kho@redhat.com>
9519 * javax/swing/JLabel.java: Re-implement.
9520 * javax/swing/plaf/basic/BasicLabelUI.java
9522 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9525 2004-02-16 Kim Ho <kho@redhat.com>
9527 * javax/swing/JSlider.java: Fix indentation and comments.
9528 (setModel): Remove null check to conform with Sun's.
9529 (setOrientation): Throw exception if not
9530 HORIZONTAL or VERTICAL.
9531 (getInverted): Use private variable instead of
9532 ComponentOrientation.
9533 (setInverted): ditto.
9534 * javax/swing/plaf/basic/BasicSliderUI.java:
9535 Fix indentation and comments.
9536 (propertyChange): Remove check for inverted slider, handle
9538 (getMinimumSize): Return preferred size.
9539 (getMaximumSize): ditto.
9540 (calculateFocusRect): Don't relocate rectangle.
9541 (drawInverted): Return XOR of the slider's inversion and
9542 the component's orientation.
9543 (paint): Update leftToRightCache
9545 2004-02-13 David Jee <djee@redhat.com>
9547 * java/awt/GridBagLayout.java
9548 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9549 code to helper methods.
9550 (sortBySpan): New helper method.
9551 (distributeSizeAndWeight): Likewise.
9552 (calcCellWeights): Likewise.
9553 (calcCellSizes): Add comments.
9555 2004-02-13 David Jee <djee@redhat.com>
9557 * java/awt/Component.java
9558 (show): Only do something if component is invisible at the moment.
9559 (hide): Only do something if component is visible at the moment.
9560 (reshape): If lightweight, erase old bounds and repaint new bounds.
9562 2004-02-13 Kim Ho <kho@redhat.com>
9564 * Makefile.am: Updated for new file.
9565 * Makefile.in: Regenerated.
9566 * javax/swing/JSlider.java: Reimplement.
9567 * javax/swing/SwingUtilities.java
9568 (layoutCompoundLabel): Use icon height
9570 (paintComponent): Implement.
9571 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9572 Add JSlider defaults.
9573 * javax/swing/plaf/basic/BasicSliderUI.java:
9574 Implement. New file.
9576 2004-03-17 Michael Koch <konqueror@gmx.de>
9578 * gnu/java/net/PlainDatagramSocketImpl.java
9579 (RECEIVE_LOCK): New member field.
9580 (SEND_LOCK): New member field.
9581 (send0): New method.
9582 (send): Synchronize on SEND_LOCK.
9583 (receive0): New method.
9584 (receive): Synchronize on RECEIVE_LOCK.
9585 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9586 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9587 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9588 (send0): Renamed from send.
9589 (receive0): Renamed from receive.
9590 2004-03-17 Michael Koch <konqueror@gmx.de>
9592 * gnu/java/net/natPlainSocketImplPosix.cc
9593 (write): Just call write(jbyteArray, offset, len).
9594 (read): Just call read(jbyteArray, offset, len).
9596 2004-03-16 Michael Koch <konqueror@gmx.de>
9598 * javax/swing/JTabbedPane.java
9599 (serialVersionUID): New field.
9601 2004-03-16 Norbert Frese <postfach@nfrese.net>
9603 * java/net/InetAddress.java
9604 (getByName): Handle hostname == "" case.
9606 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9608 Reported by: Adam Heath <doogie@debian.org>
9609 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9612 2004-03-15 Michael Koch <konqueror@gmx.de>
9614 * java/util/Locale.java: Reverting my last patch
9615 and add a comment why the original version was okay.
9617 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9619 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9620 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9621 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9622 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9624 2004-03-12 Michael Koch <konqueror@gmx.de>
9626 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9628 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9630 * java/net/URI.java (toURL): Implemented.
9632 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9635 (URI_REGEXP) updated to contain scheme specific part.
9636 (SCHEME_SPEC_PART_GROUP) new constant.
9637 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9638 updated to make room for SCHEME_SPEC_PART_GROUP.
9639 (parseURI) parse scheme specific part.
9640 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9641 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9642 getQuery, getFragment) implemented.
9644 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9646 * libraries/javalib/java/net/URI.java
9647 partially implemented using java.util.regex.
9648 (URI_REGEXP) new constant. Used to parse URIs.
9649 (SCHEME_GROUP) new constant representing index of scheme group
9651 (AUTHORITY_GROUP) new constant representing index of authority
9652 group in parsed URI.
9653 (PATH_GROUP) new constant representing index of path group in
9655 (QUERY_GROUP) new constant representing index of query group in
9657 (FRAGMENT_GROUP) new constant representing index of fragment
9658 group in parsed URI.
9659 (getURIGroup) new static utility method.
9660 (parseURI) implemented.
9661 (quote) stub for new static utility method.
9662 (quoteAuthority) stub for new static utility method.
9663 (quoteHost) stub for new static utility method.
9664 (quotePath) stub for new static utility method.
9665 (quoteUserInfo) stub for new static utility method.
9667 (create) don't throw URISyntaxException. Implemented.
9668 (toString) implemented.
9670 2004-03-12 Michael Koch <konqueror@gmx.de>
9672 * java/net/HttpURLConnection.java
9673 (getResponseCode): Fix another typo in javadoc.
9675 2004-03-11 Michael Koch <konqueror@gmx.de>
9677 * java/util/logging/Level.java
9678 (parse): Use String.equals() instead of ==.
9680 2004-03-11 Michael Koch <konqueror@gmx.de>
9682 * gnu/java/net/protocol/jar/Connection.java
9683 (getContentLength): New method.
9685 2004-03-11 Michael Koch <konqueror@gmx.de>
9687 * gnu/java/net/PlainSocketImpl.java:
9688 Reformated to merge better with classpath's version.
9690 2004-03-11 Michael Koch <konqueror@gmx.de>
9692 * java/util/Locale.java
9693 (getISO3Language): Use String.equals() instead of ==.
9694 (getISO3Country): Likewise.
9696 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9698 * java/text/AttributedString.java
9699 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9700 Use HashMap instead of Hashtable since value can be null, and
9701 you can not store a null value in a Hashtable.
9703 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9705 * java/text/AttributedStringIterator.java
9706 (getAllAttributesKey): Return only keys concerned
9707 by the current iterator.
9708 (getAttributes): Use strict inequality for
9711 2004-03-11 Michael Koch <konqueror@gmx.de>
9713 * java/net/HttpURLConnection.java:
9714 Fixed typo in javadoc.
9716 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9718 * java/io/BufferedInputStream.java (marktarget): New field for max
9720 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9721 (mark): Use new fields.
9723 (read(byte[],int,int)): Likewise.
9727 2004-03-11 Mark Wielaard <mark@klomp.org>
9729 * java/beans/BeanDescriptor.java (BeanDescriptor):
9730 Set the FeatureDescriptor programmatic name.
9732 2004-03-11 Michael Koch <konqueror@gmx.de>
9734 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9735 This file was was just copied form java/io/natFileDescriptorEcos.cc
9736 and never changed to compile correctly.
9738 2004-03-11 Michael Koch <konqueror@gmx.de>
9740 * gnu/java/nio/PipeImpl.java
9741 (SourceChannelImpl): Made final.
9742 (read): Implemented.
9743 (SinkChannelImpl): Made final.
9744 (write): Implemented.
9746 2004-03-11 Michael Koch <konqueror@gmx.de>
9748 * gnu/java/net/PlainDatagramSocketImpl.java:
9749 Reformated to match classpath's version more.
9751 2004-03-11 Michael Koch <konqueror@gmx.de>
9753 * gnu/java/awt/peer/ClasspathFontPeer.java:
9754 Fixed javadoc to be correct xhtml.
9755 * gnu/java/awt/peer/gtk/GtkArgList.java
9756 (add): Use Boolean.valueOf() instead of new Boolean().
9758 2004-03-09 Michael Koch <konqueror@gmx.de>
9760 * java/lang/Thread.java
9761 (runnable): Moved around.
9762 (daemon): Renamed from daemon_flag.
9763 (contextClassLoader): Renamed from context_class_loader.
9764 (Thread): Reordered constructors.
9765 (activeCount): Use group directly.
9766 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9767 (holdsLock): Reworked javadoc.
9768 (setDaemon): Reworked.
9769 * java/lang/natThread.cc
9772 2004-03-08 Anthony Green <green@redhat.com>
9774 * Makefile.am: Build property resource files into libgcj.
9775 * Makefile.in: Rebuilt.
9776 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9777 java/util/regex/PatternSyntaxException.java,
9778 gnu/regexp/CharIndexed.java,
9779 gnu/regexp/CharIndexedCharArray.java,
9780 gnu/regexp/CharIndexedInputStream.java,
9781 gnu/regexp/CharIndexedReader.java,
9782 gnu/regexp/CharIndexedString.java,
9783 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9784 gnu/regexp/REException.java,
9785 gnu/regexp/REFilterInputStream.java,
9786 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9787 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9788 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9789 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9790 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9791 gnu/regexp/RETokenLookAhead.java,
9792 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9793 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9794 gnu/regexp/RETokenStart.java,
9795 gnu/regexp/RETokenWordBoundary.java,
9796 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9798 2004-03-03 Per Bothner <per@bothner.com>
9800 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9801 Optimize when argument is a FileChannelImpl.
9802 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9804 * java/nio/channels/natChannels.cc: New file for new native methods.
9805 * Makefile.am: Update accordingly.
9807 2004-03-02 Jan Hubicka <jh@suse.cz>
9809 * configure.host: Pass -fno-omit-frame-pointer for i386.
9810 * configure.in: Likewise.
9811 * configure: Regenerate.
9813 2004-03-01 Per Bothner <per@bothner.com>
9815 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9817 2004-02-29 Per Bothner <per@bothner.com>
9819 * java/nio/channels/FileChannelImpl.java: Moved to package
9820 gnu/java/nio/channels, since we need to refer to it from java.io.
9821 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9822 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9823 from java/nio/channels. Don't depend on FileDescriptor.
9824 (in, out, err): New static fields.
9826 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9827 from FileDescriptor.
9828 (by): Removed MappedByteBuffer field.
9829 (map): New working implementation.
9830 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9831 some code "ported" from natFileDescriptoPosix.cc.
9832 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9833 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9834 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9835 Remove native methods.
9836 * Makefile.am, configure.in: Updated accordingly.
9838 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9839 (ch): New FileChannelImpl field. Update constructor to match.
9840 (releaseImpl): Remove native method. Instead ...
9841 (release): Call unlock on channel.
9842 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9844 * java/io/natFileDescriptorEcos.cc: Remove file.
9845 * java/io/natFileDescriptorPosix.cc: Remove file.
9846 * java/io/natFileDescriptorWin32.cc: Remove file.
9847 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9848 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9849 (<init>(FileChannelImpl)): New package-private constructor.
9850 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9851 (available, close, read, skip): Implement using FileChannelImpl.
9852 (getFD): Allocate FileDescriptor if needed.
9853 (getChannel): Is now trivial.
9854 * java/io/FileOutputStream.java: Corresponding changes.
9855 * java/io/RandomAccessFile.java: Corresponding changes.
9857 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9858 unmapImpl): New dummy methods, to be overridden by subclass.
9859 (finalize, isLoaded, load, force): New methods.
9860 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9861 Now works, at least for read mapping.
9863 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9864 streams using FileChannelImpl, not FileDescriptor.
9865 * java/lang/natWin32Process.cc (startProcess): Likewise.
9867 2004-02-28 Michael Koch <konqueror@gmx.de>
9869 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9872 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9874 * java/io/ObjectInputStream.java
9875 (readClassDescriptor): Keep elements of the mapping non null.
9876 (checkTypeConsistency): New method.
9877 (readFields): Fixed main loop and base logic. Small reindentation.
9878 * java/io/ObjectStreamField.java
9879 (lookupField): New method to update the field reference.
9880 (checkFieldType): New method.
9881 * java/io/ObjectStreamClass.java
9882 (setClass, setFields): Call lookupField when building the field
9883 database. Check the real field type.
9885 2004-02-28 Michael Koch <konqueror@gmx.de>
9887 * java/nio/ByteOrder.java
9888 (nativeOrder): Use equals() to compare strings.
9890 2004-02-26 Michael Koch <konqueror@gmx.de>
9892 * gnu/java/nio/FileLockImpl.java
9893 (finalize): Made protected.
9894 * java/nio/channels/FileChannel.java
9895 (MapMode.READ_ONLY): Made final.
9896 (MapMode.READ_WRITE): Made final.
9897 (MapMode.PRIVATE): Made final.
9898 * java/nio/channels/SocketChannel.java
9899 (open): Simplified code.
9900 * java/nio/channels/spi/AbstractSelectableChannel.java
9901 (registered): Unused, removed.
9902 (keyFor): Check channel is open, only locate key
9903 and not add a new one.
9904 (register): Don't delete attachments.
9906 2004-02-26 Michael Koch <konqueror@gmx.de>
9908 * gnu/java/awt/ComponentDataBlitOp.java
9909 (INSTANCE): Made final.
9910 * gnu/java/awt/image/ImageDecoder.java:
9912 (cm): Unused, removed.
9914 2004-02-26 Michael Koch <konqueror@gmx.de>
9916 * gnu/java/nio/DatagramChannelImpl.java
9917 (send): Check if target address is resolved.
9919 2004-02-26 Michael Koch <konqueror@gmx.de>
9921 * Makefile.am: Generate and install headers for inner classes in
9922 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9923 * Makefile.in: Regenerated.
9925 2004-02-24 Anthony Green <green@redhat.com>
9927 * java/lang/StringBuffer.java: No need to NULL out remainder of
9928 buffer since ensureCapacity_unsynchronized will have done this for
9931 2004-02-20 Michael Koch <konqueror@gmx.de>
9933 * gnu/java/net/protocol/jar/Handler.java
9934 (): Removed unneeded check for file != null. java.net.URL.getFile()
9935 returns an empty string but never null.
9937 2004-02-20 Michael Koch <konqueror@gmx.de>
9939 * gnu/gcj/convert/Convert.java
9940 (main): Use equals() to compare strings.
9942 2004-02-20 Michael Koch <konqueror@gmx.de>
9944 * javax/swing/AbstractButton.java: Made several constants final.
9945 (getRolloverSelectedIcon): Made public.
9946 (getSelectedIcon): Made public.
9948 2004-02-16 Per Bothner <per@bothner.com>
9950 * java/nio/CharBufferImpl.java: Inline super constructor.
9951 * java/nio/DoubleBufferImpl.java: Likewise.
9952 * java/nio/FloatBufferImpl.java: Likewise.
9953 * java/nio/IntBufferImpl.java: Likewise.
9954 * java/nio/LongBufferImpl.java: Likewise.
9955 * java/nio/ShortBufferImpl.java: Likewise.
9956 * java/nio/CharBuffer.java: Remove unused constructor.
9957 * java/nio/DoubleBuffer.java: Likewise.
9958 * java/nio/FloatBuffer.java: Likewise.
9959 * java/nio/IntBuffer.java: Likewise.
9960 * java/nio/LongBuffer.java: Likewise.
9961 * java/nio/ShortBuffer.java: Likewise.
9962 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9963 Fix buggy call to super constructor.
9964 * java/nio/DoubleViewBufferImpl.java: Likewise.
9965 * java/nio/FloatViewBufferImpl.java: Likewise.
9966 * java/nio/IntViewBufferImpl.java: Likewise.
9967 * java/nio/LongViewBufferImpl.java: Likewise.
9968 * java/nio/ShortViewBufferImpl.java: Likewise.
9970 * java/nio/ByteBuffer.java (endian): Make non-private so other
9971 java.nio classes can inherit it.
9972 (<init>): Don't bother clearing array_offset.
9973 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9974 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9975 Remove redundant test.
9977 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9978 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9979 Use new XxxViewBufferImpl constructors.
9980 * java/nio/MappedByteBufferImpl.java: Likewise.
9981 * java/nio/DirectByteBufferImpl.java: Likewise.
9983 * java/nio/ByteBufferImpl.java: Remove one constructor.
9984 Inline super in remaining constructor.
9985 * java/nio/ByteBuffer.java: Remove unused constructor.
9987 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9989 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9990 * java/nio/DirectByteBufferImpl.java (owner): New field.
9991 (offset): Remove unused field.
9992 (<init>): Modify one and add another constructor. Change callers.
9993 (allocateDirect): Removed - not used.
9994 (getImpl, putImpl): Make static and pass address explicitly,
9995 to make them useful for MappedByteBufferImpl.
9996 (get, put): Check for underflow. Modify for new getImpl.
9997 (getImpl): New native method where target is array.
9998 (get(byte[],int,int)): Use the above.
9999 (adjustAddress): New static native method.
10000 (slice, duplicate, asReadOnly): New implementations.
10001 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
10002 adjustAddress): New or updated native methods.
10004 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
10006 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
10007 overflow of fieldmapping.
10009 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
10011 * javax/swing/undo/UndoManager.java: Re-written from scratch.
10013 2004-02-14 Per Bothner <per@bothner.com>
10015 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
10016 Set closed before calling implCloseChannel, as in the spec.
10018 2004-02-09 Graydon Hoare <graydon@redhat.com>
10020 * javax/swing/ToggleButtonModel.java: Remove dead class.
10021 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10022 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10023 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10024 * Makefile.am: Update for new and removed files.
10025 * Makefile.in: Regenerate.
10027 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10028 * javax/swing/AbstractButton.java
10029 (AbstractButton): Initialize fields correctly in ctor.
10030 * javax/swing/JCheckbox.java
10031 (JCheckBox): Override painting flags.
10032 * javax/swing/DefaultButtonModel.java: Conform to sun.
10033 * javax/swing/JComponent.java (paint): Fill with background color
10035 (processComponentKeyEvent)
10036 (processFocusEvent)
10038 (processMouseMotionEvent): Remove event-consuming empty methods.
10039 (getUIClassID): Return "ComponentUI" not "JComponent"
10040 * javax/swing/JFrame.java: Remove some debugging chatter.
10041 (JFrame): Subscribe to window events.
10042 * javax/swing/JRadioButton.java
10043 (JRadioButton): Override painting flags.
10044 * javax/swing/JRootPane.java
10045 (JRootPane): Set background from UIDefaults.
10046 * javax/swing/JToggleButton.java
10047 (ToggleButtonModel): New inner class.
10048 (JToggleButton): Override layout alighment.
10049 * javax/swing/SwingUtilities.java:
10050 (getLocalBounds): Return width and height, not x and y.
10051 (calculateInnerArea): Use local bounds, not bounds.
10052 (layoutCompoundLabel): Provide overridden form.
10053 (layoutCompoundLabel): Correct bugs.
10054 * javax/swing/UIDefaults.java: Correct comment.
10055 * javax/swing/plaf/basic/BasicButtonUI.java:
10056 Move most logic into defaults, external listener.
10057 (paintIcon): Implement icon painting.
10058 (paint): Fix state painting to conform to changes in model.
10059 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10060 Remove most dead/wrong methods.
10061 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10062 * javax/swing/plaf/basic/BasicIconFactory.java:
10063 (DummyIcon): New class.
10064 (getMenuItemCheckIcon)
10065 (getMenuItemArrowIcon)
10067 (getCheckBoxMenuItemIcon)
10068 (getRadioButtonMenuItemIcon)
10069 (createEmptyFrameIcon): Return DummyIcons, not null.
10070 (getCheckBoxIcon): Implement an icon that looks like sun's.
10071 (getRadioButtonIcon): Implement an icon that looks like sun's.
10072 * javax/swing/plaf/basic/BasicLookAndFeel.java
10073 (initComponentDefaults): Fix impossible values, add some missing.
10074 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10075 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10076 Remove most dead/wrong methods.
10078 (getDefaultIcon): New method.
10079 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10080 Remove most dead/wrong methods.
10081 * javax/swing/plaf/metal/MetalLookAndFeel.java
10082 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10084 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10085 Implement "clearing" as drawing, when on pixmap drawables.
10087 * javax/swing/JButton.java (getUIClassID):
10088 * javax/swing/JCheckBox.java (getUIClassID):
10089 * javax/swing/JEditorPane.java (getUIClassID):
10090 * javax/swing/JLabel.java (getUIClassID):
10091 * javax/swing/JList.java (getUIClassID):
10092 * javax/swing/JOptionPane.java (getUIClassID):
10093 * javax/swing/JPanel.java (getUIClassID):
10094 * javax/swing/JPasswordField.java (uiClassID):
10095 * javax/swing/JRadioButton.java (getUIClassID):
10096 * javax/swing/JRootPane.java (getUIClassID):
10097 * javax/swing/JScrollPane.java (getUIClassID):
10098 * javax/swing/JTabbedPane.java (getUIClassID):
10099 * javax/swing/JToggleButton.java (getUIClassID):
10100 * javax/swing/JTree.java (getUIClassID):
10101 * javax/swing/JViewport.java (getUIClassID):
10102 * javax/swing/text/JTextComponent.java (getUIClassID):
10103 Return "fooUI" not "Jfoo"
10105 2004-02-11 Michael Koch <konqueror@gmx.de>
10107 * java/net/DatagramSocket.java
10108 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10110 (setBroadcast): Likewise.
10111 * java/net/MulticastSocket.java
10112 (setLoopbackMode): Likewise.
10113 * java/net/ServerSocket.java
10114 (setReuseAddress): Likewise.
10115 * java/net/Socket.java
10116 (setTcpNoDelay): Likewise.
10117 (setSoLinger): Likewise.
10118 (setOOBInline): Likewise.
10119 (setKeepAlive): Likewise.
10120 (setReuseAddress): Likewise.
10121 * java/net/URLConnection.java
10122 (setContentHandler): Replace == with equals().
10123 * java/net/URLStreamHandler.java
10124 (hostSEquals): Fix checking host addresses.
10125 (toExternalForm): Dont check protocol for null. We know already its
10128 2004-02-10 David Jee <djee@redhat.com>
10130 * java/awt/BorderLayout.java
10131 (calcCompSize): Invisible components get zero dimensions.
10132 * java/awt/Button.java
10133 (setLabel): Set actionCommand.
10134 * java/awt/Component.java
10135 (show): Invalidate component and parent container.
10138 2004-02-10 David Jee <djee@redhat.com>
10140 * java/awt/GridBagLayout.java
10141 (GridBagLayout): New private field, internalcomptable.
10142 (lookupInternalConstraints): New method.
10143 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10144 (GetLayoutInfo): Reimplement.
10145 (calcCellSizes): Ignore rows/columns with size 0.
10147 2004-02-10 Michael Koch <konqueror@gmx.de>
10149 * gnu/java/awt/EmbeddedWindow.java
10150 (setHandle): Use java.awt.Component.getPeer() instead of
10151 java.awt.Component.peer directly.
10153 2004-02-10 David Jee <djee@redhat.com>
10155 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10156 (gtkSetLabel): New native method definition.
10157 (setLabel): Use gtkSetLabel.
10158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10159 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10161 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10163 * include/powerpc-signal.h: Revert 2004-01-21 change.
10164 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10165 from syscall for ppc32 versions.
10167 2004-02-08 Per Bothner <per@bothner.com>
10169 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10170 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10171 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10172 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10173 Pass ByteOrder parameter to most methods, since the underlying
10174 ByteBuffer's order isn't always what we should use.
10175 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10176 * java/nio/DirectByteBufferImpl.java: Likewise.
10177 Use ByteBufferHelper methods.
10178 * java/nio/MappedByteBufferImpl.java: Likewise.
10179 (compact): Use shiftDown.
10180 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10181 (get, put): Use ByteBufferHelper.
10182 (compact): Use new shiftDown method.
10183 (duplicate(boolean)): New helper method.
10184 (duplicate, asReadOnlyBuffer): Use it.
10185 (order): Return endian field.
10186 * java/nio/DoubleViewBufferImpl.java: Likewise.
10187 * java/nio/FloatViewBufferImpl.java: Likewise.
10188 * java/nio/IntViewBufferImpl.java: Likewise.
10189 * java/nio/LongViewBufferImpl.java: Likewise.
10190 * java/nio/ShortViewBufferImpl.java: Likewise.
10191 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10192 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10193 (compact): Re-implement using shiftDown.
10195 2004-02-08 Andreas Jaeger <aj@suse.de>
10197 * include/x86_64-signal.h: Fix typo.
10199 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10201 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10202 qualifier to _regs.
10203 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10205 2004-02-06 Michael Koch <konqueror@gmx.de>
10207 * java/io/ObjectInputStream.java
10208 (currentClassLoader): Reverted to old version of this method.
10210 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10212 * java/io/ObjectInputStream.java: Made all calls
10213 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10214 use cached info from ObjectStreamClass. (readClassDescriptor):
10215 Cache more information in ObjectStreamClass. (processResolution,
10216 readFields): Use cached info from ObjectStreamClass.
10217 (newObject): Throw exception instead of returning null for failure.
10218 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10219 setCharField, setDoubleField, setFloatField, setIntField,
10220 setLongField, setShortField, setObjectField, readObjectParams):
10221 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10223 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10224 (setClass): Added call to cacheMethods() (findMethod): New method.
10225 (cacheMethods): New method. (ObjectStreamClass): Added call to
10226 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10227 AccessController.doPrivileged to invoke setAccessible.
10228 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10229 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10231 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10232 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10233 isPrimitive): Made safe for cases where type == null.
10234 (setBooleanField, setByteField, setCharField, setShortField,
10235 setIntField, setLongField, setFloatField, setDoubleField,
10236 setObjectField): New methods.
10238 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10240 * java/awt/Component.java (getFont): Return a default font
10243 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10244 (Scrollbar (int, int, int, int, int)): Make default page
10246 (setValues): Only call peer.setValues if one of the values has
10248 (generateName): New method.
10249 (getUniqueLong): New method.
10250 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10251 (range_scrollbar): Remove structure.
10252 (post_adjustment_event): Remove function.
10253 (post_change_event): Accept jobject argument.
10254 (create): Cast jints to gdoubles. Round scrollbar values to the
10255 nearest integer. Clamp min, max and value settings.
10256 (connectJObject): Connect hook to widget->window.
10257 (connectSignals): Remove range_scrollbar structure variables.
10258 Remove "move-slider" connection. Pass global peer reference to
10259 "value-changed" callback.
10260 (setLineIncrement): Cast jint value to gdouble.
10261 (setPageIncrement): Likewise.
10262 (setValues): Likewise. Clamp min, max and value settings.
10264 2004-02-05 Michael Koch <konqueror@gmx.de>
10266 * javax/swing/AbstractCellEditor.java
10267 (getCellEditorValue): Removed.
10268 * javax/swing/Box.java: Reformated.
10269 (serialVersionUID): New field.
10270 * javax/swing/ButtonGroup.java:
10271 Removed some weird whitespace.
10272 * javax/swing/CellEditor.java: Reformated.
10273 * javax/swing/CellRendererPane.java
10274 (serialVersionUID): New field.
10275 (AccessibleCellRendererPaneserialVersionUID): New field.
10276 * javax/swing/DefaultListModel.java
10277 (serialVersionUID): New field.
10278 * javax/swing/JEditorPane.java
10279 (serialVersionUID): New field.
10280 (setPage): Throws IOException.
10281 (addHyperlinkListener): Implemented.
10282 (removeHyperlinkListener): Implemented.
10283 (getHyperlinkListener): New method.
10284 * javax/swing/JFileChooser.java
10285 (serialVersionUID): New field.
10286 (AccessibleJFileChooser.serialVersionUID): New field.
10287 (addActionListener): Implemented.
10288 (removeActionListener): Implemented.
10289 (getActionListeners): New method.
10290 * javax/swing/JFormattedTextField.java
10291 (serialVersionUID): New field.
10292 (AbstractFormatter.serialVersionUID): New field.
10293 (clone): Throws CloneNotSupportedException
10294 (setEditValid): Add missing argument.
10295 (stringToValue): Throws ParseExcpetion.
10296 (valueToString): Throws ParseException.
10297 (commitEdit): Throws ParseException.
10298 * javax/swing/JLabel.java
10299 (serialVersionUID): New field.
10300 * javax/swing/JList.java
10301 (serialVersionUID): New field.
10302 (addListSelectionListener): Reformated.
10303 (removeListSelectionListener): Reformated.
10304 (getListSelectionListeners): New method.
10305 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10307 (serialVersionUID): New field.
10308 * javax/swing/table/AbstractTableModel.java
10309 (getValueAt): Removed.
10310 (getColumnCount): Removed.
10311 (getRowCount): Removed.
10313 2004-02-05 Michael Koch <konqueror@gmx.de>
10315 * java/awt/datatransfer/DataFlavor.java
10316 (imageFlavor): Javadoc added.
10317 (javaJVMLocalObjectType): Fixed.
10319 2004-02-05 Michael Koch <konqueror@gmx.de>
10321 * java/lang/Thread.java
10322 (Thread): Reordered.
10323 (setContextClassLoader): Fixed javadoc comment.
10324 (setPriority): Reordered.
10325 (yield): Reordered.
10326 (initialize_native): Reordered.
10327 (gen_name): Reordered.
10329 2004-02-05 Michael Koch <konqueror@gmx.de>
10331 * java/lang/Thread.java: Reordered fields, reformated much code,
10332 no functional changes, some variables renamed, javadoc comments
10335 2004-02-05 Michael Koch <konqueror@gmx.de>
10337 * java/util/zip/Deflater.java,
10338 java/util/zip/DeflaterOutputStream.java,
10339 java/util/zip/GZIPInputStream.java:
10340 Reformated and javadoc comments merged from classpath.
10342 2004-02-05 Michael Koch <konqueror@gmx.de>
10344 * gnu/java/nio/NIOServerSocket.java
10345 (impl): Unused, removed.
10346 * gnu/java/nio/SocketChannelImpl.java
10347 (finnishConnect): Don't throw NoConnectionPendingException if not
10348 connected or no connection pending.
10350 2004-02-02 Graydon Hoare <graydon@redhat.com>
10352 * javax/swing/SwingUtilities.java: Many new functions.
10353 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10354 * javax/swing/basic/BasicGraphicsUtils.java
10355 (getPreferredButtonSize): Start layout from top-left corner.
10357 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10359 * java/awt/geom/AffineTransform.java:
10360 Corrected comments on the field definitions for
10362 (shear): Fixed few errors that caused shear
10363 transformation to be performed incorrectly.
10364 (createInverse): Fixed to return correct
10365 inverse of the given matrix.
10367 2004-02-03 Tom Tromey <tromey@redhat.com>
10369 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10370 PATH or LD_LIBRARY_PATH is not set in parent environment.
10372 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10374 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10375 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10376 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10377 java/awt/Component.java, java/awt/Container.java,
10378 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10379 java/awt/LayoutManager2.java, java/awt/List.java,
10380 java/awt/Menu.java, java/awt/MenuBar.java,
10381 java/awt/MenuItem.java, java/awt/Polygon.java,
10382 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10383 java/awt/Scrollbar.java, java/awt/TextArea.java,
10384 java/awt/TextField.java,
10385 java/awt/image/renderable/RenderContext.java,
10386 javax/swing/JApplet.java: Fix handling of alias methods, where a
10387 method has been deprecated in favour of a new one with the same
10388 funtion but a different name. Put the method implementation in
10389 the deprecated method and have the new method call the
10390 deprecated one. Make all other code call the new method.
10392 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10394 * gnu/java/nio/DatagramChannelImpl.java
10395 (inChannelOperation): New field.
10396 (isInChannelOperation): New accessor.
10397 (setInChannelOperation): New modifier.
10398 (receive): Use capacity() - position() of destination
10399 buffer instead of remaining(). Set and reset our "in
10400 channel operation indicator" before and after delegating
10401 the receive to our datagram socket. Removed testing code.
10402 Update destination buffer's current position if it is
10403 backed by a byte array (hasArray() is true).
10404 (send): Set and reset our "in channel operation indicator"
10405 before and after delegating the send to our datagram socket.
10406 Removed testing code. Update source buffer's current position
10407 if it is backed by a byte array (hasArray() is true).
10408 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10409 Use capacity() - position() of destination buffer instead
10411 * java/net/DatagramSocket.java (receive): Don't throw an
10412 IllegalBlockingModeException if we have a non-blocking
10413 channel which initiated this operation.
10416 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10418 * configure.in: Add pkgconfig check for glib and gthread.
10419 * configure: Regenerate.
10421 2004-02-01 Michael Koch <konqueror@gmx.de>
10423 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10425 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10426 * verify.cc (debug_print): Mark 'fmt' unused.
10428 2004-01-30 Michael Koch <konqueror@gmx.de>
10430 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10431 * configure: Regenerated.
10432 * glib-2.0.m4: Removed.
10433 * gtk-2.0.m4: Removed.
10434 * libart.m4: Removed.
10435 * pkg.m4: New file.
10437 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10439 * gnu/java/net/PlainSocketImpl.java
10440 (inChannelOperation): New field.
10441 (isInChannelOperation): New accessor.
10442 (setInChannelOperation): New modifier.
10443 * gnu/java/nio/ServerSocketChannelImpl.java
10444 (accept): Set and reset our server socket's PlainSocketImpl's
10445 "in channel operation" indicator before and after delegating
10446 the accept to our server socket.
10447 * gnu/java/nio/SocketChannelImpl.java
10448 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10449 operation" indicator before and after delegating the operation to
10453 * java/net/ServerSocket.java (implAccept): Don't throw an
10454 IllegalBlockingModeException if we have a non-blocking
10455 channel which initiated this accept operation.
10456 * java/net/Socket.java (connect): Don't throw an
10457 IllegalBlockingModeException if we have a non-blocking
10458 channel which initiated this connect operation.
10459 * java/nio/channels/spi/AbstractSelectableChannel.java
10460 (configureBlocking): Only call implConfigureBlocking() if
10461 the desired blocking mode is different from our current one.
10463 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10465 * java/io/BufferedReader.java (sbuf): New field.
10466 (readLine): Use String.valueOf instead of new String() as per
10467 Per Bothner's suggestion. Use instance sbuf field instead of a
10468 local StringBuffer instance.
10469 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10470 caller's buffer to refill().
10471 (read(void)): Pass our internal work buffer to refill if our
10472 input queue is empty.
10473 (refill): Changed return type to int. Use the specified buffer
10474 instead of our work buffer as per Bryce McKinlay's suggestion.
10475 Return the number of characters read or -1 for EOF.
10477 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10479 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10481 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10483 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10484 * Makefile.in: Re-generated.
10485 * gnu/awt/xlib/XFontPeer.java: New file.
10486 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10487 (setClip): Commented out debug printout.
10488 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10489 (getFontPeer): Return XFontPeer.
10490 (getLocalGraphicsEnvironment): New method.
10491 (getClasspathFontPeer): New method.
10492 (createFont): New method.
10494 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10496 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10499 2004-01-29 Kim Ho <kho@redhat.com>
10501 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10502 (gtkLayoutSetVisible): New method
10503 (setMenuBar): Hide layout before setting MenuBar
10504 and reshow it after.
10505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10506 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10508 2004-01-28 Michael Koch <konqueror@gmx.de>
10510 * gnu/java/lang/ClassHelper.java
10511 (getPackagePortion): Removed.
10513 2004-01-28 Michael Koch <konqueror@gmx.de>
10515 * javax/swing/JComponent.java
10516 (listenerList): Initalize globally.
10517 (ancestor_list): Removed.
10518 (veto_list): Removed.
10519 (change_list): Removed.
10520 (get_veto_list): Removed.
10521 (get_change_list): Removed.
10522 (get_ancestor_list): Removed.
10523 (removeAncestorListener): Reimplemented.
10524 (removePropertyChangeListener): Likewise.
10525 (removeVetoableChangeListener): Likewise.
10526 (addAncestorListener): Likewise.
10527 (addPropertyChangeListener): Likewise.
10528 (addVetoableChangeListener): Likewise.
10529 (getListeners): New method.
10530 (getAncestorListeners): Likewise.
10531 (getVetoableChangeListeners): Likewise.
10532 (fireVetoableChange): Throws PropertyVetoException.
10533 * javax/swing/JEditorPane.java
10534 (JEditorPane): Throws IOException.
10536 2004-01-28 David Jee <djee@redhat.com>
10538 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10539 (create): Set the default foreground color to
10540 java.awt.SystemColor.windowText.
10542 2004-01-27 Michael Koch <konqueror@gmx.de>
10544 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10545 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10546 Reindented to merge with classpath.
10548 2004-01-27 David Jee <djee@redhat.com>
10550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10551 (addExposeFilter): Handle GtkFramePeer separately.
10552 (removeExposeFilter): Likewise.
10554 2004-01-27 Michael Koch <konqueror@gmx.de>
10556 * gnu/java/net/protocol/http/Connection.java
10557 (getOutputStream): Fixed typo.
10559 2004-01-27 Michael Koch <konqueror@gmx.de>
10561 * java/lang/Class.java
10562 (getConstructor): Removed SecurityException from throws clause.
10563 (_getConstructors): Likewise.
10564 (getConstructors): Likewise.
10565 (getDeclaredConstructor): Likewise.
10566 (getDeclaredClasses): Likewise.
10567 (getDeclaredConstructors): Likewise.
10568 (getDeclaredField): Likewise.
10569 (getDeclaredMethod): Likewise.
10570 (getDeclaredMethods): Likewise.
10571 (getField): Likewise.
10572 (getMethod): Likewise.
10573 (getMethods): Likewise.
10575 2004-01-27 Kim Ho <kho@redhat.com>
10577 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10578 (removeMenuBarPeer): Remove MenuBarPeer argument.
10579 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10580 (dispose): Call native method.
10581 * java/awt/Frame.java (setMenuBar): Create and remove
10582 MenuBar peers only if the Frame has a peer.
10583 (addNotify): Create the MenuBar peer if one exists.
10584 (removeNotify): Remove MenuBar peer if one exists.
10585 * java/awt/Menu.java: Fix imports.
10586 (addNotify): Don't use full class name.
10587 (removeNotify): Call removeNotify on all children.
10588 * java/awt/MenuBar.java (removeNotify): Call
10589 removeNotify on all children.
10590 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10591 (removeMenuBarPeer): Remove MenuBarPeer argument.
10592 Iterate through children to find the Frame's MenuBar.
10593 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10595 (dispose): Remove references to the MenuComponent.
10597 2004-01-27 Michael Koch <konqueror@gmx.de>
10599 * javax/swing/AbstractCellEditor.java: Reformated.
10600 * javax/swing/DefaultListSelectionModel.java
10601 (listenerList): Made protected.
10602 (addListSelectionListener): Javadoc added.
10603 (removeListSelectionListener): Likewise.
10604 (getListeners): Likewise.
10605 (getListSelectionListeners): Likewise.
10606 * javax/swing/JComboBox.java: Merged copyright year.
10607 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10609 2004-01-26 Andrew Haley <aph@redhat.com>
10611 * javax/swing/table/JTableHeader.java: Extend JComponent
10613 2004-01-26 Kim Ho <kho@redhat.com>
10615 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10618 2004-01-26 Kim Ho <kho@redhat.com>
10620 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10622 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10623 height and let the Layout Managers readjust anything that
10625 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10626 (moveLayout): New method. Shift everything in the Gtk
10627 layout in the Y direction by an offset.
10629 2004-01-26 David Jee <djee@redhat.com>
10631 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10632 (handleEvent): Implemented. Handles PaintEvents.
10633 (paint): Implemented. Use GTK native methods to queue updates
10634 for this heavyweight peer.
10635 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10636 (handleEvent): Removed.
10637 * java/awt/Component.java
10638 (paint): Implemented. Explictly paint the heavyweight peer.
10639 (update): Clear the background for heavyweight components.
10640 (paintAll): No need to call peer.paint() anymore.
10641 (processEvent): Don't process PaintEvents here. It's now done in
10642 the peer's handleEvent().
10643 (processPaintEvent): Removed.
10644 * java/awt/Container.java
10645 (paint): No need to call super.paint(). Visit heavyweight
10647 (update): Don't clear the background here. It's done in
10648 Component.update().
10649 (visitChildren): Added check to not recurse into Containers.
10650 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10651 (filter_expose_event_handler): New method. Filter unwanted
10652 expose events while painting heavyweight peers.
10653 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10654 New method. Connect filter and block pre_event_handler.
10655 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10656 New method. Disconnect filter and unblock pre_event_handler.
10657 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10658 New method. Invalidate and update given area.
10659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10660 (pre_event_handler): Add checks for unwanted expose events.
10662 2004-01-26 David Jee <djee@redhat.com>
10664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10665 (find_bg_color_widget): For GtkButton, return its child.
10667 2004-01-26 Kim Ho <kho@redhat.com>
10669 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10671 (setMenuBar): Grab MenuBar height and change insets.
10672 (setBounds): Account for MenuBar height.
10673 (postInsetsChangedEvent): Ditto.
10674 (postSizeAllocateEvent): Remove.
10675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10676 (menubar_resize_cb): Remove
10677 (setMenuBarPeer): Remove callback.
10678 (getMenuBarHeight): Use size requisition instead of
10681 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10683 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10684 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10686 (setColumns): Remove FIXME -- peer will retrieve number of
10687 columns by calling getColumns.
10688 (setRows): Likewise for number of rows.
10689 (next_text_number): New field.
10690 (paramString): Fix param string.
10691 (generateName): New method.
10692 (getUniqueLong): New method.
10694 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10696 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10697 image observer of image loading status.
10698 (getImage (String)): Start image production.
10699 (getImage (URL)): Likewise.
10701 2004-01-25 Michael Koch <konqueror@gmx.de>
10703 * java/lang/Class.java: Imports reworked, reformated.
10704 (Class): Javadoc added.
10705 (forName): Likewise.
10706 (getClasses): Likewise.
10707 (getClassLoader): Likewise.
10708 (getComponentType): Likewise.
10709 (getConstructor): Likewise.
10710 (getConstructors): Likewise.
10711 (getDeclaredConstructor): Likewise.
10712 (getDeclaredClasses): Likewise.
10713 (getDeclaredConstructors): Likewise.
10714 (getDeclaredField): Likewise.
10715 (getDeclaredMethod): Likewise.
10716 (getDeclaredMethods): Likewise.
10717 (getDeclaringClass): Likewise.
10718 (getField): Likewise.
10719 (getInterfaces): Likewise.
10720 (getMethod): Likewise.
10721 (getMethods): Likewise.
10722 (getModifiers): Likewise.
10723 (getName): Likewise.
10724 (getResource): Likewise.
10725 (getResourceAsStream): Likewise.
10726 (getSigners): Likewise.
10727 (setSigners): Likewise.
10728 (getSuperclass): Likewise.
10729 (isArray): Likewise.
10730 (isAssignableFrom): Likewise.
10731 (isInstance): Likewise.
10732 (isInterface): Likewise.
10733 (isPrimitive): Likewise.
10734 (newInstance): Likewise.
10735 (getProtectionDomain): Likewise.
10736 (toString): Likewise.
10738 (initializeClass): Likewise.
10739 (finalize): Likewise.
10741 2004-01-24 Michael Koch <konqueror@gmx.de>
10743 * gnu/java/net/protocol/jar/Connection.java
10744 (hdrHash): Removed.
10746 (gotHeaders): Removed.
10747 (getHeaderField): Removed.
10748 (getHeaderFields): Removed.
10749 (getHeaderFieldKey): Removed.
10751 (getField): Removed.
10752 (getHeaders): Removed.
10754 2004-01-24 Michael Koch <konqueror@gmx.de>
10756 * Makefile.am: Added library version to gtk peer lib.
10757 * Makefile.in: Regenerated.
10759 2004-01-24 Michael Koch <konqueror@gmx.de>
10761 * java/util/zip/InflaterInputStream.java: Merged class documentation
10764 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10766 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10767 header. For __powerpc64__ provide the default-signal.h definitions
10769 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10770 instead of the dummy definitions.
10771 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10772 (powerpc64*-*): Remove with_libffi_default.
10773 Only add -mminimal-toc for 64-bit compilations.
10774 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10775 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10776 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10777 * configure: Rebuilt.
10779 2004-01-23 Michael Koch <konqueror@gmx.de>
10781 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10783 2004-01-23 Michael Koch <konqueror@gmx.de>
10785 * java/lang/VMClassLoader.java: Reworked imports.
10787 2004-01-23 Michael Koch <konqueror@gmx.de>
10789 * javax/swing/AbstractAction.java: Reformated.
10791 2004-01-23 Michael Koch <konqueror@gmx.de>
10793 * java/text/CollationElementIterator.java:
10794 (setText): New method.
10796 2004-01-23 Michael Koch <konqueror@gmx.de>
10798 * gnu/java/nio/FileLockImpl.java:
10799 Fixed filename in copyright.
10800 (released): Removed.
10801 (finalize): New method.
10802 * gnu/java/nio/natFileLockImpl.cc
10803 (releaseImpl): Implemented.
10804 * java/nio/channels/FileChannelImpl.java:
10806 (lock): Implemented.
10807 (lockImpl): New method.
10808 (tryLock): Implemented.
10809 (tryLockImpl): New method.
10810 * java/nio/channels/natFileChannelImpl.cc
10811 (lockImpl): New method.
10812 (tryLockImpl): New method.
10814 2004-01-23 Michael Koch <konqueror@gmx.de>
10816 * java/io/FileDescriptor.java
10817 (lock): New method.
10818 (tryLock): New method.
10819 (unlock): New method.
10820 * java/io/natFileDescriptorEcos.cc
10821 (lock): New method.
10822 (tryLock): New method.
10823 (unlock): New method.
10824 * java/io/natFileDescriptorPosix.cc
10825 (lock): New method.
10826 (tryLock): New method.
10827 (unlock): New method.
10828 * java/io/natFileDescriptorWin32.cc
10829 (lock): New method.
10830 (tryLock): New method.
10831 (unlock): New method.
10833 2004-01-23 Michael Koch <konqueror@gmx.de>
10835 * java/io/FileDescriptor.java
10836 (sync): Moved around, added javadoc.
10841 (setLength): Likewise.
10843 (getLength): Likewise.
10844 (getFilePointer): Likewise.
10846 (available): Likewise.
10847 (finalize): Likewise.
10849 2004-01-23 Michael Koch <konqueror@gmx.de>
10851 * javax/swing/AbstractAction.java: Reformated.
10852 (getPropertyChangeListeners): New method.
10853 * javax/swing/AbstractCellEditor.java: Reformated.
10854 (getCellEditorListeners): New method.
10855 * javax/swing/DefaultListSelectionModel.java
10856 (listenerList): New field.
10857 (listeners): Removed.
10858 (get_listeners): Removed.
10859 (addListSelectionListener): Rewritten.
10860 (removeListSelectionListener): Rewritten.
10861 (getListSelectionListeners): New method.
10862 (getListeners): New method.
10863 * javax/swing/JComboBox.java: Imports reworked.
10864 (addActionListener): Implemented.
10865 (removeActionListener): Implemented.
10866 (addItemListener): Implemented.
10867 (removeItemListener): Implemented.
10868 (addPopupMenuListener): Implemented.
10869 (removePopupMenuListener): Implemented.
10870 (getActionListeners): New method.
10871 (getItemListeners): New method.
10872 (getPopupMenuListeners): New method.
10874 2004-01-23 Michael Koch <konqueror@gmx.de>
10876 * gnu/java/net/protocol/http/Connection.java
10877 (connect): Don't initialize bufferedOutputStream if not needed.
10878 (sendRequest): Set property for content length if content is present.
10879 Write content only if present.
10880 (getOutputStream): Check if already connected, dont connect,
10881 initalize bufferedOutputStream if needed.
10883 2004-01-23 Michael Koch <konqueror@gmx.de>
10885 * java/io/FileDescriptor.java
10886 (in, out, err): Added javadoc.
10887 (static): Merged loading code.
10888 (fd, position): Moved around.
10890 2004-01-23 Michael Koch <konqueror@gmx.de>
10892 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10895 2004-01-23 Michael Koch <konqueror@gmx.de>
10897 * java/lang/Class.java,
10898 java/lang/Object.java,
10899 java/lang/Thread.java: Merged copyright with classpath.
10901 2004-01-23 Michael Koch <konqueror@gmx.de>
10903 * java/io/FileDescriptor.java: Merged copyright with classpath to
10904 start merging this class.
10906 2004-01-22 Tom Tromey <tromey@redhat.com>
10909 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10910 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10911 * testsuite/libjava.lang/pr13107_3.java: New file.
10912 * testsuite/libjava.lang/pr13107_3.out: New file.
10913 * testsuite/libjava.lang/pr13107_2.java: New file.
10914 * testsuite/libjava.lang/pr13107_2.out: New file.
10915 * testsuite/libjava.lang/pr13107.java: New file.
10916 * testsuite/libjava.lang/pr13107.out: New file.
10917 * verify.cc (jsr_ptrs): Removed.
10918 (entry_points): Likewise.
10919 (struct subr_info): Likewise.
10920 (struct subr_entry_info): Likewise.
10921 (type_val::unused_by_subroutine_type): Likewise.
10922 (type::merge): Don't handle unused_by_subroutine_type.
10923 (type::print): Likewise.
10924 (state::flags): Removed.
10925 (state::subroutine): Likewise.
10926 (state::seen_subrs): Likewise.
10927 (state::NO_STACK): Likewise.
10928 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10929 (state): Updated all methods.
10930 (state::clean_subrs): Removed.
10931 (state::state): Removed `ret_semantics' flag.
10932 (state::copy): Likewise.
10933 (state::add_subr): Removed.
10934 (state::enter_subroutine): Likewise.
10935 (type::set_return_address): New method.
10936 (handle_jsr_insn): Set return address on the type. Always
10937 invalidate PC after call.
10938 (check_nonrecursive_call): Removed.
10939 (~_Jv_BytecodeVerifier): Updated.
10940 (branch_prepass): Removed special handling of jsr.
10941 (note_branch_target): Likewise.
10942 (get_subroutine): Removed.
10943 (state::merge): Don't merge subroutines and don't handle
10944 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10945 (state::note_variable): Removed.
10946 (state::is_unmerged_ret_state): Likewise.
10947 (state::print): Updated.
10948 (set_variable): Likewise.
10949 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10950 and jsr_semantics arguments. Updated for new reverification
10952 (pop_jump): Rewrote.
10953 (construct_primitive_array_type): Updated.
10954 (state::next): Removed.
10955 (INVALID_STATE): New define.
10956 (state::INVALID): Removed.
10957 (state::NO_NEXT): New value.
10958 (state::pc, state::next): New fields.
10959 (state::get_pc): New method.
10960 (next_verify_pc): Removed.
10961 (next_verify_state): New field.
10962 (verify_instructions_0): Always check for falling off end.
10963 (linked): New type.
10964 (linked_utf8): Removed.
10965 (states): Changed type.
10966 (type::state_mergeable_p): New method.
10967 (state::state_mergeable_p): Likewise.
10968 (handle_ret_insn): Removed most code.
10969 (state::reverify): New method.
10970 (add_new_state): Likewise.
10971 (state::set_pc): Likewise.
10973 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10976 * testsuite/libjava.compile/PR13733.java: New file.
10977 * testsuite/libjava.compile/PR13733.xfail: New file.
10979 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10980 Michael Koch <konqueror@gmx.de>
10982 * javax/swing/table/DefaultTableCellRenderer.java
10983 (DefaultTableCellRenderer): Added javadoc for the class and for
10984 the constructor, Border instance, create an EmptyBorder.
10985 (UIResource): Removed the comment at the end of the class
10986 (setForeground): New method.
10987 (setBackground): New method.
10988 (updateUI): New method.
10989 (getTableCellRendererComponent): Rewritten with the help of
10990 dvholten and Stephane Meslin-Weber.
10991 (validate): New method.
10992 (repaint): New method.
10993 (firePropertyChange): New method.
10994 (setValue): New method.
10996 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10998 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10999 (connectJObject): Replace printf calls with g_assert statements.
11000 Move property-notify-event signal connection to ...
11001 (connectSignals): Connect property-notify-event signal. Iterate
11002 through the vbox's children to find layout.
11004 2004-01-22 Graydon Hoare <graydon@redhat.com>
11006 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
11007 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
11008 Predicate static initialization on GtkToolkit.useGraphics2D().
11009 * java/awt/Component.java (processPaintEvent): Consume event.
11010 * javax/swing/AbstractButton.java: Reimplement, document.
11011 * javax/swing/DefaultButtonModel.java: Reimplement, document.
11012 * javax/swing/JComponent.java (paint): Use double buffer.
11013 (listenerList): Enable member.
11014 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
11015 * javax/swing/JToggleButton.java
11016 (JToggleButton): Modify model constructor.
11017 * javax/swing/SwingUtilities.java
11018 (layoutCompoundLabel): Adjust arithmetic.
11019 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11020 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11021 (getPreferredButtonSize): Include margins in calculation.
11022 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11023 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11024 Receive up events from subordinate layout component.
11026 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11028 * java/awt/Component.java (show): Set visible to true before
11031 2004-01-21 Kim Ho <kho@redhat.com>
11033 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11035 (removeMenuBarPeer): Make package private.
11036 (setMenuBarPeer): Make package private.
11037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11038 (menubar_resize_cb): Mark attributes unused.
11039 (getMenuBarHeight): ditto.
11041 2004-01-21 David Jee <djee@redhat.com>
11043 * java/awt/Container.java
11044 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11045 dispatching MOUSE_ENTERED event twice. Translate the point for
11046 the mouse event target before dispatching the event.
11048 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11050 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11051 lib_org_w3c_dom_la_LDFLAGS): New.
11052 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11053 * Makefile.in: Rebuilt.
11055 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11057 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11058 Calculate proper offsets for heavyweight components packed in
11059 lightweight containers.
11061 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11062 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11063 (native create): Add width parameter.
11064 (create): Calculate text entry width based on current font's
11065 metrics and number of columns. Set TextField's font if not
11066 already set. Call native create.
11067 (gtkEntryGetBorderWidth): New native method.
11068 (gtkEntryGetSize): Remove method.
11069 (getMinimumSize): Call minimumSize.
11070 (getPreferredSize): Call preferredSize.
11071 (minimumSize): Calculate minimum size based on backing
11072 GtkEntry's borders, font metrics and number of columns.
11073 (preferredSize): Likewise for preferred size.
11074 (get_border_width): New static function.
11076 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11077 Override GtkWindowPeer's setResizable method to account for menu
11078 bar height when setting the frame's size.
11080 2004-01-19 Matthias Klose <doko@debian.org>
11082 * libtool-version: Increased `current' to 6.
11084 2004-01-19 Kim Ho <kho@redhat.com>
11086 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11087 (connectJObject): Iterate through the vbox's children to find layout.
11089 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11091 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11092 isDispatchThread method to replace wrong test condition.
11094 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11096 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11097 events to the queue out of order by acquiring locks in the proper
11098 order and not by releasing one before acquiring the other.
11100 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11102 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11103 visible so that dialog can be reused.
11105 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11107 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11108 events may be handled by any queue in the stack.
11110 2004-01-19 Kim Ho <kho@redhat.com>
11112 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11113 MenuBarPeer parameter.
11114 (removeMenuBarPeer): New native method.
11115 (setMenuBar): Call remove if menu bar is null. Adjust insets
11117 (postSizeAllocateEvent): New method. Called when menu bar size is
11118 allocated. Adjust insets and redo layout.
11119 (GtkFramePeer): Set menu bar during frame creation.
11120 (postConfigureEvent): Adjust position and size to accomodate
11122 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11123 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11124 (addNotify): Create the peer if it doesn't exist and call addNotify
11125 for the menu's items.
11126 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11127 * java/awt/MenuItem.java (addNotify): Create the peer if it
11129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11130 (removeMenuBarPeer): New method. Remove menu bar on the current
11132 (setMenuBarPeer): Add the menu bar to the current frame and the
11133 callback for size-allocate events on the menu bar.
11134 (getMenuBarHeight): Add menu bar parameter.
11135 (menubar_resize_cb): New callback method for postSizeAllocate events.
11137 Also: Fix indentation on last ChangeLog entry.
11139 2004-01-16 Kim Ho <kho@redhat.com>
11141 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11142 (gtkWidgetGetDimensions): Remove.
11143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11144 (gtkWidgetGetDimensions): Remove.
11146 2004-01-16 Tom Tromey <tromey@redhat.com>
11148 * java/awt/Container.java: Typo and indentation fixes.
11150 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11151 * java/lang/natVMClassLoader.cc: ...here. New file.
11152 * Makefile.in: Rebuilt.
11153 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11155 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11157 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11158 Discard GDK_ENTER_NOTIFY related to ungrabs.
11160 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11162 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11163 is called for an intermediate queue.
11165 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11167 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11168 (window_property_changed_cb): Set id_set.
11170 2004-01-16 Kim Ho <kho@redhat.com>
11172 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11173 it is a FileDialog and has dimensions of 0 by 0, then the initial
11174 size is set to size request plus insets.
11175 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11176 (gtkWidgetGetDimensions): Override method.
11177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11178 (gtkWidgetGetDimensions): Override method. Returns size request plus
11181 2004-01-16 Andrew Haley <aph@redhat.com>
11183 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11184 * sysdep/i386/locks.h: Likewise.
11186 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11188 * java/awt/EventDispatchThread.java (run): Stop running when
11190 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11191 Reset the queue after transferring its contents.
11192 (push): Start a new dispatch thread if none is running.
11194 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11196 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11197 (doPolygon): set fill rule of polygon to
11198 WIND_EVEN_ODD by default.
11200 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11202 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11203 Implemented rendering hints related methods.
11204 (getDefaultHints): New helper method. Returns
11205 default rendering hints.
11206 (walkPath): changed to normalize path if
11207 the KEY_STROKE_CONTROL key is in "normalize" mode.
11208 (draw3DRect): changed coordinates of rectangle by +0.5
11209 if in "normalize" mode.
11211 2004-01-15 Tom Tromey <tromey@redhat.com>
11213 * Makefile.in: Rebuilt.
11214 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11215 (%.lo: %.java) Filter out StackTrace.lo.
11217 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11219 * configure.in: Add in AC_PREREQ(2.13)
11220 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11223 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11224 Tom Tromey <tromey@redhat.com>
11227 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11228 array to superclass.
11229 (init): Changed interface; add URLs here.
11230 (initialize): New static method.
11231 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11232 (_Jv_RunMain): ... not here.
11234 2004-01-14 Michael Koch <konqueror@gmx.de>
11236 * java/text/MessageFormat.java:
11237 Added descriptions to exceptions.
11238 This fixes PR libgcj/2429.
11240 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11242 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11243 (push): Make sure push is performed at the top of the thread stack.
11245 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11247 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11248 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11249 (native create): Add width and height parameters. Set text
11250 view's size request according to new parameters.
11251 (create): Calculate text view size based on current font's
11252 metrics and number of rows and columns. Set TextArea's font if
11253 not already set. Call native create.
11254 (getMinimumSize): Call minimumSize.
11255 (getPreferredSize): Call preferredSize.
11256 (getHScrollbarHeight): New method.
11257 (getVScrollbarWidth): New method.
11258 (minimumSize): Calculate minimum size based on scrollbar
11259 visibility, scrollbar sizes, font metrics and number of rows and
11261 (preferredSize): Likewise for preferred size.
11262 (gtkTextGetSize): Remove method.
11264 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11266 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11267 (initializeInsets): Remove method.
11268 (GtkComponentPeer): Initialize insets field. Remove call to
11270 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11272 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11274 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11275 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11276 (latestInsets): Remove field.
11277 (native create): Add insets parameter. Call
11278 window_get_frame_extents. Set the window's default size and
11279 size request based on its frame extents.
11280 (create): Initialize insets.
11281 (postInsetsChangedEvent): New method.
11282 (postConfigureEvent): Remove parameters top, left, bottom,
11283 right. Remove insets-related logic.
11284 (connectJObject): Handle property-notify-event.
11285 (window_get_frame_extents, request_frame_extents,
11286 property_notify_predicate, window_property_changed_cb): New
11288 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11289 (pre_event_handler): Remove insets-related logic for configure
11291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11292 Update postConfigureEvent signature.
11294 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11296 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11297 to handle Window "Closing" events.
11299 2004-01-13 David Jee <djee@redhat.com>
11301 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11302 (setBackground): New method. Children with no explicitly-set
11303 background will be repainted with the parent container's new
11306 2004-01-13 David Jee <djee@redhat.com>
11308 * Makefile.am: Add BitwiseXORComposite.java.
11309 * Makefile.in: Regenerated.
11310 * gcj/Makefile.in: Regenerated.
11311 * include/Makefile.in: Regenerated.
11312 * testsuite/Makefile.in: Regenerated.
11314 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11316 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11317 not show modal dialogs twice and so that it allows showing a modal
11318 dialog from another modal dialog.
11320 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11322 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11323 and run secondary dispatch thread to process event queue while this
11326 2004-01-12 Graydon Hoare <graydon@redhat.com>
11328 * gnu/java/awt/gtk/GdkGraphics2D.java
11329 (static): Check GtkToolkit before initializing static state.
11330 (Graphics2D): Don't construct transform with 0.5 unit offset.
11332 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11334 * gnu/java/awt/BitwiseXORComposite.java: Add.
11335 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11336 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11337 (BitwiseXORComposite): Remove inner class.
11339 2004-01-11 Michael Koch <konqueror@gmx.de>
11341 * gnu/java/lang/reflect/TypeSignature.java
11342 (getEncodingOfClass): Documentation fixed.
11343 (getClassForEncoding): Give class loader to Class.forName().
11344 Documentation fixed.
11346 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11348 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11350 2004-01-11 Michael Koch <konqueror@gmx.de>
11352 * javax/swing/undo/StateEditable.java
11353 (RCSID): Removed redundant modifiers.
11355 2004-01-10 Michael Koch <konqueror@gmx.de>
11357 * javax/print/attribute/EnumSyntax.java
11358 (getStringTable): Made protected.
11359 (getEnumValueTable): Likewise.
11360 * javax/print/attribute/standard/JobKOctetsProcessed.java
11361 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11362 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11363 (JobMediaSheetsCompleted): Made class final.
11364 * javax/print/attribute/standard/OutputDeviceAssigned.java
11365 (getName): Fixed typo.
11366 * javax/print/attribute/standard/RequestingUserName.java
11367 (serialVersionUID): Fixed value.
11369 2004-01-10 Michael Koch <konqueror@gmx.de>
11371 * javax/swing/plaf/basic/BasicButtonUI.java,
11372 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11373 javax/swing/plaf/basic/BasicListUI.java,
11374 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11375 javax/swing/plaf/basic/BasicPanelUI.java,
11376 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11377 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11378 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11379 javax/swing/plaf/basic/BasicViewportUI.java:
11380 Fixed import statements.
11382 2004-01-10 Michael Koch <konqueror@gmx.de>
11384 * gnu/java/awt/image/ImageDecoder.java
11385 (produce): Made public.
11386 * gnu/java/awt/peer/GLightweightPeer.java,
11387 gnu/java/awt/peer/gtk/GtkToolkit.java:
11390 2004-01-10 Michael Koch <konqueror@gmx.de>
11392 * javax/swing/JRadioButtonMenuItem.java,
11393 javax/swing/JSeparator.java,
11394 javax/swing/JSplitPane.java,
11395 javax/swing/JTextPane.java,
11396 javax/swing/JToolBar.java,
11397 javax/swing/ListCellRenderer.java,
11398 javax/swing/ListModel.java,
11399 javax/swing/MenuElement.java,
11400 javax/swing/OverlayLayout.java,
11401 javax/swing/ProgressMonitor.java,
11402 javax/swing/ProgressMonitorInputStream.java,
11403 javax/swing/Renderer.java,
11404 javax/swing/RootPaneContainer.java,
11405 javax/swing/Scrollable.java,
11406 javax/swing/SingleSelectionModel.java,
11407 javax/swing/ToolTipManager.java,
11408 javax/swing/ViewportLayout.java,
11409 javax/swing/event/DocumentEvent.java,
11410 javax/swing/event/SwingPropertyChangeSupport.java,
11411 javax/swing/event/TreeSelectionEvent.java,
11412 javax/swing/event/UndoableEditEvent.java,
11413 javax/swing/text/AbstractDocument.java,
11414 javax/swing/text/AttributeSet.java,
11415 javax/swing/text/Caret.java,
11416 javax/swing/text/ComponentView.java,
11417 javax/swing/text/DefaultCaret.java,
11418 javax/swing/text/DefaultEditorKit.java,
11419 javax/swing/text/Document.java,
11420 javax/swing/text/EditorKit.java,
11421 javax/swing/text/GapContent.java,
11422 javax/swing/text/Keymap.java,
11423 javax/swing/text/MutableAttributeSet.java,
11424 javax/swing/text/PlainEditorKit.java,
11425 javax/swing/text/Segment.java,
11426 javax/swing/text/Style.java,
11427 javax/swing/text/StyledDocument.java,
11428 javax/swing/text/StyledEditorKit.java,
11429 javax/swing/text/TextAction.java,
11430 javax/swing/text/View.java: Fixed import statements.
11432 2004-01-08 Graydon Hoare <graydon@redhat.com>
11434 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11435 djee@redhat.com's recent inverse ordering of Container elements.
11437 2004-01-09 Michael Koch <konqueror@gmx.de>
11439 * gnu/java/lang/ArrayHelper.java
11440 (equalsArray): Removed.
11442 2004-01-09 Andrew Haley <aph@redhat.com>
11444 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11445 a Utf8Const field before looking at its class.
11447 2004-01-09 Michael Koch <konqueror@gmx.de>
11449 * javax/print/attribute/standard/DocumentName.java,
11450 javax/print/attribute/standard/JobHoldUntil.java,
11451 javax/print/attribute/standard/JobMessageFromOperator.java,
11452 javax/print/attribute/standard/JobName.java,
11453 javax/print/attribute/standard/JobOriginatingUserName.java,
11454 javax/print/attribute/standard/OutputDeviceAssigned.java,
11455 javax/print/attribute/standard/PrinterInfo.java,
11456 javax/print/attribute/standard/PrinterLocation.java,
11457 javax/print/attribute/standard/PrinterMakeAndModel.java,
11458 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11459 javax/print/attribute/standard/PrinterName.java,
11460 javax/print/attribute/standard/RequestingUserName.java: New files.
11461 * Makefile.am (javax_source_files): Added new files.
11462 * Makefile.in: Regenerated.
11464 2004-01-09 Michael Koch <konqueror@gmx.de>
11466 * javax/swing/AbstractAction.java,
11467 javax/swing/AbstractSet.java,
11468 javax/swing/Action.java,
11469 javax/swing/ActionMap.java,
11470 javax/swing/BoundedRangeModel.java,
11471 javax/swing/ButtonModel.java,
11472 javax/swing/CellEditor.java,
11473 javax/swing/CellRendererPane.java,
11474 javax/swing/ComboBoxEditor.java,
11475 javax/swing/DebugGraphics.java,
11476 javax/swing/DefaultCellEditor.java,
11477 javax/swing/DefaultCellRenderer.java,
11478 javax/swing/DefaultComboBoxModel.java,
11479 javax/swing/DefaultDesktopManager.java,
11480 javax/swing/DefaultFocusManager.java,
11481 javax/swing/DefaultListCellRenderer.java,
11482 javax/swing/Icon.java,
11483 javax/swing/JButton.java,
11484 javax/swing/JCheckBoxMenuItem.java,
11485 javax/swing/JDesktopPane.java,
11486 javax/swing/JEditorPane.java,
11487 javax/swing/JMenu.java,
11488 javax/swing/JPanel.java,
11489 javax/swing/JPasswordField.java,
11490 javax/swing/JPopupMenu.java,
11491 javax/swing/JProgressBar.java: Reworked imports.
11493 2004-01-09 Michael Koch <konqueror@gmx.de>
11495 * java/awt/geom/PathIterator.java
11496 (WIND_EVEN_ODD): Removed redundant modifiers.
11497 (WIND_NON_ZERO): Likewise.
11498 (SEG_MOVETO): Likewise.
11499 (SEG_LINETO): Likewise.
11500 (SEG_QUADTO): Likewise.
11501 (SEG_CUBICTO): Likewise.
11502 (SEG_CLOSE): Likewise.
11503 * java/awt/image/SinglePixelPackedSampleModel.java:
11504 Removed redundant semicolon.
11505 * java/io/ObjectInputStream.java
11506 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11507 * java/util/logging/Filter.java
11508 (isLoggable): Removed redundant modifier.
11509 * java/util/logging/LogManager.java:
11510 Removed redundant semicolon.
11511 * java/util/logging/XMLFormatter.java
11512 (format): Removed unused variable "key".
11514 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11516 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11517 New name for the former setFile native method.
11518 (setFile): New method.
11519 (setDirectory): Implemented.
11520 (connectSignals): New native method.
11521 (setFilenameFilter): Improve comment.
11522 (getGraphics): Comment.
11523 (gtkHideFileDialog): New method.
11524 (gtkDisposeFileDialog): New method.
11525 (gtkSetFilename): New method.
11526 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11527 for FileDialog for now.
11528 (hide): New method.
11529 (dispose): New method.
11530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11531 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11532 deprecated creation functions. Make dialog modal. Add it to the
11534 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11536 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11538 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11540 (window_closed): New function.
11541 (ok_clicked): New function.
11542 (cancel_clicked): New function.
11544 2004-01-08 Michael Koch <konqueror@gmx.de>
11546 * javax/swing/JLayeredPane.java: Revert changes to standard
11547 boilerplate, reworked imports.
11549 2004-01-07 Tom Tromey <tromey@redhat.com>
11552 * verify.cc (state::merge): Copy changed locals out of subroutine
11554 (state::FLAG_CHANGED): New const.
11555 (state::FLAG_UNUSED): Likewise.
11556 (state::local_changed): Removed. Updated all users.
11557 (state::flags): New field.
11558 (state::merge): Added jsr_semantics argument, more logic.
11559 (push_jump_merge): Added jsr_semantics argument.
11560 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11561 merging through the jsr instruction.
11563 2004-01-07 Tom Tromey <tromey@redhat.com>
11565 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11568 2004-01-07 Graydon Hoare <graydon@redhat.com>
11570 * java/awt/Container.java (LightweightDispatcher): Implement.
11571 (visitChild): Reuse graphics object.
11572 (dispatchEventImpl): Optionally dispatch to lightweight.
11573 (addNotifyContainerChildren): Build LightweightDispatcher.
11575 2004-01-07 David Jee <djee@redhat.com>
11577 * java/awt/Container.java
11578 (update): Clear only the clipped region, instead of clearing the
11580 (visitChildren): Visit children in descending order.
11582 2004-01-07 Michael Koch <konqueror@gmx.de>
11584 * java/lang/reflect/Array.java: Merged documentation with classpath.
11586 2004-01-07 Michael Koch <konqueror@gmx.de>
11588 * java/text/CollationElementIterator.java
11589 (textIndex): Renamed from index.
11590 * java/text/CollationKey.java
11591 (collator): New member.
11592 (CollationKey): New argument for parent collator.
11593 (equals): Check for same collator, source string and key array.
11594 * java/text/RuleBasedCollator.java:
11596 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11598 (getCollationElementIterator): Rewritten.
11599 (getCollationKey): Added new argument to CollationKey constructor.
11601 2004-01-07 Michael Koch <konqueror@gmx.de>
11603 * gnu/java/nio/DatagramChannelImpl.java
11604 (blocking): Removed.
11605 (DatagramChannelImpl): Call configureBlocking().
11606 (implConfigureBlocking): Dont initialize blocking.
11607 * gnu/java/nio/ServerSocketChannelImpl.java
11608 (blocking): Removed.
11609 (ServerSocketChannelImpl): Call configureBlocking().
11610 (implConfigureBlocking): Dont initialize blocking.
11611 * gnu/java/nio/SocketChannelImpl.java
11612 (blocking): Removed.
11613 (SocketChannelImpl): Call configureBlocking().
11614 (implConfigureBlocking): Dont initialize blocking.
11615 (connect): Use isBlocking().
11616 * java/nio/channels/spi/AbstractSelectableChannel.java
11617 (configureBlocking): Use blockingLock() instead of LOCK.
11618 Set blocking after successfully called implConfigureBlocking().
11619 (register): Use blockingLock() instead of LOCK.
11621 2004-01-07 Michael Koch <konqueror@gmx.de>
11623 * java/net/ServerSocket.java (isBound): Fixed documentation.
11625 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11627 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11628 (changeEvent): Create event object on demand.
11629 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11630 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11631 fireStateChanged): Re-written.
11632 * javax/swing/event/EventListenerList.java: Reformatted, document
11634 (toString): Implemented.
11635 (getListeners): Re-written.
11636 (remove): Re-written.
11638 (NO_LISTENERS): New singleton field.
11639 (listenerList): Declare as transient; document.
11640 (serialVersionUID): Document.
11641 (getListenerCount(Class)): More efficient implementation,
11642 also accepts null argument. Improve Javadoc.
11643 (getListenerCount()): Remove unnecessary cast; docfix.
11644 * javax/swing/undo/UndoableEditSupport.java:
11645 Re-format, document.
11646 (UndoableEditSupport): Set realSource field. Improve documentation.
11647 (_postEdit): Iterate over cloned listener vector.
11648 (toString): Don't emit realSource.
11649 (beginUpdate, endUpdate): Support nested updates.
11650 (postEdit): Use compound edit if present.
11652 2004-01-06 Graydon Hoare <graydon@redhat.com>
11654 * java/awt/Container.java (swapComponents): Add forgotten
11655 function, required for JLayeredPane change.
11657 2004-01-06 Michael Koch <konqueror@gmx.de>
11659 * java/text/CollationElementIterator.java: Reformated.
11660 (CollationElementIterator): Changed order of arguments.
11661 * java/text/RuleBasedCollator.java
11662 (RuleBasedCollator): Merged class documentation.
11663 (CollationElement): Added documentation.
11664 (compare): Reformated, renamed arguments.
11665 (equals): Likewise.
11666 (getCollationElementIterator): Likewise.
11667 (getCollationKey): Likewise.
11669 2004-01-06 Graydon Hoare <graydon@redhat.com>
11671 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11673 2004-01-06 Michael Koch <konqueror@gmx.de>
11675 * gnu/java/net/protocol/file/Connection.java:
11676 Reformated copyright.
11677 (hdrHash): Removed.
11679 (gotHeaders): Removed.
11680 (getHeaderField): Removed.
11681 (getHeaderField): Removed.
11682 (getHeaderFieldKey): Removed.
11684 (getField): Removed.
11685 (getHeaders): Removed.
11687 2004-01-06 Michael Koch <konqueror@gmx.de>
11689 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11690 javax/print/attribute/standard/DateTimeAtCreation.java,
11691 javax/print/attribute/standard/DateTimeAtProcessing.java,
11692 javax/print/attribute/standard/JobImpressionsCompleted.java,
11693 javax/print/attribute/standard/JobKOctets.java,
11694 javax/print/attribute/standard/JobKOctetsProcessed.java,
11695 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11696 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11697 * Makefile.am (javax_source_files): Added new files.
11698 * Makefile.in: Regenerated.
11700 2004-01-06 Michael Koch <konqueror@gmx.de>
11702 * java/net/URLConnection.java
11703 (contentHandler): Removed.
11705 (getHeaderFields): Return an empty map instead of null.
11706 (getContent): Connect if needed, renamed "cType" to "type" and
11707 "contentHandler" to "ch" and made it a local variable.
11708 (getPermission): Don't use package in class name.
11709 (setDefaultRequestProperty): Fixed typo in documentation.
11710 (initializeDateFormats): Made locale a local variable.
11712 2004-01-06 Michael Koch <konqueror@gmx.de>
11714 * java/lang/Package.java
11715 (getPackage): Get the current class loader directly.
11716 * java/lang/SecurityManager.java
11717 (currentLoadedClass): Dont iterate over class contexts.
11718 (classLoaderDepth): Don't check class loaders if everything is allowed.
11720 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11723 (pre_event_handler): Set all insets to 0 when a Configure event
11724 is received for a GtkPlug.
11725 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11726 Make handle long, not int.
11727 (EmbeddedWindow()): New constructor.
11728 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11730 (setHandle): New method.
11731 (getHandle): Return long, not int.
11732 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11734 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11735 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11736 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11737 argument to GdkNativeWindow.
11738 (construct): New method.
11739 (embed): New method.
11741 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11742 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11743 (create(int, int)): New method.
11744 (create): Call new create method.
11745 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11747 (childResized): Remove native implementation. Implement in
11749 (getHScrollbarHeight, getVScrollbarWidth): Call
11750 gtk_widget_size_request to get scrollbar dimensions.
11751 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11752 call getVScrollbarWidth and getHScrollbarHeight when vertical
11753 and horizontal scrollbars respectively are needed.
11754 (doLayout): Enlarge child if it is smaller than the viewport.
11756 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11758 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11759 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11760 argument as per spec.
11762 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11764 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11766 (remove): Ditto. Also, Check for valid argument.
11767 (removeAll): Use peer interface method.
11768 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11769 native add function.
11770 (nativeRemove): New name for native remove function.
11771 (getHistory): New native function.
11772 (constructor): Generate ItemEvent.
11773 (add): Ditto, if selection is changed.
11774 (remove): Ditto, ditto.
11775 (removeAll): Add implementation.
11776 (handleEvent): Remove. Dead code.
11777 (choicePostItemEvent): Add comment.
11778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11779 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11780 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11781 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11782 comments and fix condition to change selection.
11783 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11784 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11785 remove all capability.
11786 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11787 (item_activate): Add cast to remove compiler warning.
11789 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11791 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11792 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11793 (getPreferredSize): Call preferredSize.
11794 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11795 (getMinimumSize): Call minimumSize.
11796 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11797 (gtkWidgetGetDimensions): Return the peer widget's current size
11799 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11800 natural size request.
11802 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11804 Thanks to Brian Gough <bjg@network-theory.com>
11805 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11806 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11808 2004-01-04 Matthias Klose <doko@debian.org>
11810 * aclocal.m4: Rebuilt using "aclocal -I .".
11811 * configure: Rebuilt.
11813 2004-01-03 Per Bothner <per@bothner.com>
11815 * java/util/Date.java (parse): Fix a number of problems.
11816 (skipParens): Remove no-longer-needed method.