1 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
3 * libjava/java/lang/Class.h
4 (java::lang::Class): Correct friend class declaration.
6 2004-10-25 Geoffrey Keating <geoffk@apple.com>
8 * Makefile.am (DARWIN_CRT_SRC): New.
9 (libgcj_la_SOURCES): Use it.
10 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
11 * darwin.cc: New file.
12 * include/jvm.h (_Jv_RegisterClasses): Constify.
13 (_Jv_RegisterClasses_Counted): New prototype.
14 * java/lang/Class.h: Include stddef.h.
15 (_Jv_RegisterClasses): Constify.
16 (_Jv_RegisterClasses_Counted): New prototype.
17 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
18 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
19 (_Jv_RegisterClasses_Counted): New function.
20 * configure: Regenerate.
21 * Makefile.in: Regenerate.
22 * gcj/Makefile.in: Regenerate.
23 * include/Makefile.in: Regenerate.
24 * testsuite/Makefile.in: Regenerate.
26 2004-10-25 Tom Tromey <tromey@redhat.com>
28 * java/util/ResourceBundle.java (tryBundle): Use
29 Class.isAssignableFrom rather than catching ClassCastException.
31 2004-10-25 Tom Tromey <tromey@redhat.com>
33 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
35 * gnu/java/text/SentenceBreakIterator.java
36 (SentenceBreakIterator): Don't initialize `iter'.
37 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
39 * gnu/java/text/CharacterBreakIterator.java
40 (CharacterBreakIterator): Don't initialize `iter'.
41 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
43 * java/text/BreakIterator.java: Updated documentation.
45 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
48 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
50 2004-10-23 Michael Koch <konqueror@gmx.de>
52 * javax/print/DocFlavor.java,
53 javax/print/attribute/standard/JobStateReason.java,
54 javax/print/attribute/standard/MultipleDocumentHandling.java:
55 Added missing constants.
57 2004-10-22 Tom Tromey <tromey@redhat.com>
59 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
62 2004-10-22 Michael Koch <konqueror@gmx.de>
65 * gnu/java/net/protocol/http/Connection.java
66 (sendRequest): Handle case when url.getFile() returns an empty string.
68 2004-10-22 Michael Koch <konqueror@gmx.de>
70 * java/lang/Math.java,
71 java/lang/StackTraceElement.java,
73 java/nio/ByteBuffer.java,
74 java/nio/CharBuffer.java,
75 java/nio/DoubleBuffer.java,
76 java/nio/FloatBuffer.java,
77 java/nio/IntBuffer.java,
78 java/nio/LongBuffer.java,
79 java/nio/ShortBuffer.java,
80 java/nio/charset/Charset.java,
81 java/rmi/server/RMIClassLoader.java,
82 java/rmi/server/RMISocketFactory.java,
83 java/security/Policy.java,
84 java/text/ChoiceFormat.java,
85 java/text/CollationElementIterator.java,
86 java/text/DateFormat.java,
87 java/text/DecimalFormat.java,
88 java/text/DecimalFormatSymbols.java,
89 java/text/MessageFormat.java,
90 java/text/NumberFormat.java,
91 java/text/RuleBasedCollator.java,
92 java/text/SimpleDateFormat.java,
93 java/util/BitSet.java,
94 java/util/Calendar.java,
95 java/util/Collections.java,
96 java/util/IdentityHashMap.java,
97 java/util/Locale.java,
98 java/util/TreeMap.java,
99 java/util/logging/LogRecord.java,
100 java/util/logging/XMLFormatter.java,
101 java/util/prefs/AbstractPreferences.java,
102 java/util/prefs/Preferences.java,
103 javax/crypto/interfaces/DHPrivateKey.java,
104 javax/crypto/interfaces/DHPublicKey.java,
105 javax/crypto/interfaces/PBEKey.java,
106 javax/net/ssl/HandshakeCompletedEvent.java,
107 javax/security/auth/Subject.java:
108 Removed redundant and reordered modifiers.
110 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
112 * gnu/java/net/natPlainSocketImplPosix.cc
113 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
114 with 'int *' argument instead of 'long *'.
116 2004-10-21 Michael Koch <konqueror@gmx.de>
118 * java/net/NetworkInterface.java,
119 java/text/Format.java,
120 javax/security/auth/x500/X500Principal.java,
121 javax/security/auth/x500/X500PrivateCredential.java,
122 javax/security/cert/X509CertBridge.java,
123 javax/security/sasl/Sasl.java,
124 javax/sql/XAConnection.java:
127 2004-10-21 Michael Koch <konqueror@gmx.de>
129 * javax/net/ssl/HandshakeCompletedEvent.java,
130 javax/net/ssl/KeyManagerFactory.java,
131 javax/net/ssl/SSLContext.java,
132 javax/net/ssl/SSLServerSocketFactory.java,
133 javax/net/ssl/SSLSession.java,
134 javax/net/ssl/SSLSocketFactory.java,
135 javax/net/ssl/TrustManagerFactory.java:
138 2004-10-21 Michael Koch <konqueror@gmx.de>
140 * javax/naming/directory/BasicAttribute.java,
141 javax/naming/directory/BasicAttributes.java,
142 javax/naming/directory/InitialDirContext.java,
143 javax/naming/event/NamingEvent.java,
144 javax/naming/ldap/ControlFactory.java,
145 javax/naming/ldap/ExtendedRequest.java,
146 javax/naming/ldap/InitialLdapContext.java,
147 javax/naming/ldap/LdapReferralException.java,
148 javax/naming/spi/DirObjectFactory.java,
149 javax/naming/spi/DirStateFactory.java,
150 javax/naming/spi/DirectoryManager.java,
151 javax/naming/spi/InitialContextFactory.java,
152 javax/naming/spi/InitialContextFactoryBuilder.java,
153 javax/naming/spi/NamingManager.java,
154 javax/naming/spi/ObjectFactory.java,
155 javax/naming/spi/ObjectFactoryBuilder.java,
156 javax/naming/spi/StateFactory.java:
159 2004-10-21 Michael Koch <konqueror@gmx.de>
161 * javax/crypto/Cipher.java,
162 javax/crypto/EncryptedPrivateKeyInfo.java,
163 javax/crypto/ExemptionMechanism.java,
164 javax/crypto/KeyAgreement.java,
165 javax/crypto/KeyGenerator.java,
166 javax/crypto/Mac.java,
167 javax/crypto/SecretKeyFactory.java,
168 javax/crypto/SecretKeyFactorySpi.java,
169 javax/crypto/spec/SecretKeySpec.java:
172 2004-10-21 Michael Koch <konqueror@gmx.de>
174 * java/security/AlgorithmParameterGenerator.java,
175 java/security/AlgorithmParameters.java,
176 java/security/AlgorithmParametersSpi.java,
177 java/security/AllPermission.java,
178 java/security/BasicPermission.java,
179 java/security/Certificate.java,
180 java/security/CodeSource.java,
181 java/security/DigestInputStream.java,
182 java/security/DigestOutputStream.java,
183 java/security/GuardedObject.java,
184 java/security/KeyFactory.java,
185 java/security/KeyFactorySpi.java,
186 java/security/KeyPairGenerator.java,
187 java/security/KeyStore.java,
188 java/security/KeyStoreSpi.java,
189 java/security/Permissions.java,
190 java/security/Security.java,
191 java/security/Signature.java,
192 java/security/UnresolvedPermission.java,
193 java/security/cert/CertPathBuilder.java,
194 java/security/cert/CertPathValidator.java,
195 java/security/cert/CertStore.java,
196 java/security/cert/Certificate.java,
197 java/security/cert/CertificateFactory.java,
198 java/security/cert/PolicyQualifierInfo.java,
199 java/security/cert/TrustAnchor.java,
200 java/security/cert/X509CRL.java,
201 java/security/cert/X509CRLSelector.java,
202 java/security/cert/X509CertSelector.java:
205 2004-10-21 Michael Koch <konqueror@gmx.de>
207 * java/rmi/MarshalledObject.java,
208 java/rmi/Naming.java,
209 java/rmi/activation/Activatable.java,
210 java/rmi/activation/ActivationGroup.java,
211 java/rmi/activation/ActivationGroupDesc.java,
212 java/rmi/activation/ActivationInstantiator.java,
213 java/rmi/activation/ActivationMonitor.java,
214 java/rmi/activation/ActivationSystem.java,
215 java/rmi/activation/Activator.java,
216 java/rmi/registry/LocateRegistry.java,
217 java/rmi/registry/Registry.java,
218 java/rmi/server/LogStream.java,
219 java/rmi/server/ObjID.java,
220 java/rmi/server/RMIClientSocketFactory.java,
221 java/rmi/server/RMIServerSocketFactory.java,
222 java/rmi/server/RMISocketFactory.java,
223 java/rmi/server/RemoteCall.java,
224 java/rmi/server/RemoteServer.java,
225 java/rmi/server/ServerRef.java,
226 java/rmi/server/UID.java,
227 java/rmi/server/UnicastRemoteObject.java:
230 2004-10-21 Tom Tromey <tromey@redhat.com>
232 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
233 exception if we hit EOF of `in'.
234 (read): Handle case where inflating returns -1.
236 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
238 * gnu/java/nio/channels/natFileChannelPosix.cc
239 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
240 argument instead of 'long *'.
242 2004-10-21 Tom Tromey <tromey@redhat.com>
244 * java/util/ResourceBundle.java (tryBundle): Also ignore
247 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
249 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
250 for all sh*-*-linux* targets.
251 * configure: Regenerate.
252 * include/sh-signal.h: New file.
254 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
256 * java/lang/ieeefp.h: Add m32r support.
258 2004-10-20 Andreas Schwab <schwab@suse.de>
260 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
262 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
265 2004-10-20 Michael Koch <konqueror@gmx.de>
267 * javax/print/attribute/standard/ColorSupported.java,
268 javax/print/attribute/standard/Compression.java,
269 javax/print/attribute/standard/Copies.java,
270 javax/print/attribute/standard/CopiesSupported.java,
271 javax/print/attribute/standard/DateTimeAtCompleted.java,
272 javax/print/attribute/standard/DateTimeAtCreation.java,
273 javax/print/attribute/standard/DateTimeAtProcessing.java,
274 javax/print/attribute/standard/DocumentName.java,
275 javax/print/attribute/standard/Fidelity.java,
276 javax/print/attribute/standard/Finishings.java,
277 javax/print/attribute/standard/JobHoldUntil.java,
278 javax/print/attribute/standard/JobImpressions.java,
279 javax/print/attribute/standard/JobImpressionsCompleted.java,
280 javax/print/attribute/standard/JobImpressionsSupported.java,
281 javax/print/attribute/standard/JobKOctets.java,
282 javax/print/attribute/standard/JobKOctetsProcessed.java,
283 javax/print/attribute/standard/JobKOctetsSupported.java,
284 javax/print/attribute/standard/JobMediaSheets.java,
285 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
286 javax/print/attribute/standard/JobMediaSheetsSupported.java,
287 javax/print/attribute/standard/JobMessageFromOperator.java,
288 javax/print/attribute/standard/JobName.java,
289 javax/print/attribute/standard/JobOriginatingUserName.java,
290 javax/print/attribute/standard/JobPriority.java,
291 javax/print/attribute/standard/JobPrioritySupported.java,
292 javax/print/attribute/standard/JobSheets.java,
293 javax/print/attribute/standard/JobState.java,
294 javax/print/attribute/standard/JobStateReason.java,
295 javax/print/attribute/standard/JobStateReasons.java,
296 javax/print/attribute/standard/Media.java,
297 javax/print/attribute/standard/MultipleDocumentHandling.java,
298 javax/print/attribute/standard/NumberOfDocuments.java,
299 javax/print/attribute/standard/NumberOfInterveningJobs.java,
300 javax/print/attribute/standard/NumberUp.java,
301 javax/print/attribute/standard/NumberUpSupported.java,
302 javax/print/attribute/standard/OrientationRequested.java,
303 javax/print/attribute/standard/OutputDeviceAssigned.java,
304 javax/print/attribute/standard/PDLOverrideSupported.java,
305 javax/print/attribute/standard/PageRanges.java,
306 javax/print/attribute/standard/PagesPerMinute.java,
307 javax/print/attribute/standard/PagesPerMinuteColor.java,
308 javax/print/attribute/standard/PrintQuality.java,
309 javax/print/attribute/standard/PrinterInfo.java,
310 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
311 javax/print/attribute/standard/PrinterLocation.java,
312 javax/print/attribute/standard/PrinterMakeAndModel.java,
313 javax/print/attribute/standard/PrinterMessageFromOperator.java,
314 javax/print/attribute/standard/PrinterMoreInfo.java,
315 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
316 javax/print/attribute/standard/PrinterName.java,
317 javax/print/attribute/standard/PrinterStateReason.java,
318 javax/print/attribute/standard/PrinterStateReasons.java,
319 javax/print/attribute/standard/PrinterURI.java,
320 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
321 javax/print/attribute/standard/RequestingUserName.java:
322 Reorganized imports and removed redundant final modifiers.
324 2004-10-20 Michael Koch <konqueror@gmx.de>
326 * javax/security/sasl/SaslClient.java,
327 javax/security/sasl/SaslClientFactory.java,
328 javax/security/sasl/SaslException.java,
329 javax/security/sasl/SaslServer.java,
330 javax/security/sasl/SaslServerFactory.java:
333 2004-10-20 Michael Koch <konqueror@gmx.de>
335 * javax/security/auth/login/NullConfiguration.java,
336 javax/security/auth/x500/X500Principal.java,
337 javax/security/cert/X509Certificate.java,
338 javax/security/sasl/AuthenticationException.java,
339 javax/security/sasl/AuthorizeCallback.java,
340 javax/security/sasl/RealmCallback.java,
341 javax/security/sasl/RealmChoiceCallback.java,
342 javax/security/sasl/Sasl.java,
343 javax/security/sasl/SaslClient.java,
344 javax/security/sasl/SaslClientFactory.java,
345 javax/security/sasl/SaslException.java,
346 javax/security/sasl/SaslServer.java,
347 javax/security/sasl/SaslServerFactory.java:
348 Cleaned up import statements and copyright notices.
350 2004-10-20 Michael Koch <konqueror@gmx.de>
352 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
354 2004-10-20 Michael Koch <konqueror@gmx.de>
356 * java/sql/Timestamp.java,
357 java/text/AttributedCharacterIterator.java,
358 java/text/AttributedString.java,
359 java/util/zip/CheckedOutputStream.java,
360 java/util/zip/DeflaterOutputStream.java,
361 java/util/zip/ZipFile.java,
362 javax/crypto/Cipher.java,
363 javax/crypto/ExemptionMechanismException.java,
364 javax/crypto/SecretKey.java,
365 javax/crypto/SecretKeyFactory.java,
366 javax/naming/directory/ModificationItem.java,
367 javax/naming/directory/SearchControls.java,
368 javax/naming/event/NamingListener.java,
369 javax/naming/ldap/Control.java,
370 javax/naming/ldap/ExtendedResponse.java,
371 javax/net/ssl/SSLSocketFactory.java:
372 Reorganized imports and fixed copyright headers.
374 2004-10-20 Michael Koch <konqueror@gmx.de>
376 * java/util/logging/ConsoleHandler.java,
377 java/util/logging/ErrorManager.java,
378 java/util/logging/FileHandler.java,
379 java/util/logging/Filter.java,
380 java/util/logging/Formatter.java,
381 java/util/logging/Handler.java,
382 java/util/logging/Level.java,
383 java/util/logging/LogManager.java,
384 java/util/logging/LogRecord.java,
385 java/util/logging/Logger.java,
386 java/util/logging/LoggingPermission.java,
387 java/util/logging/MemoryHandler.java,
388 java/util/logging/SimpleFormatter.java,
389 java/util/logging/SocketHandler.java,
390 java/util/logging/StreamHandler.java,
391 java/util/logging/XMLFormatter.java:
392 Standardized copyrigth header.
394 2004-10-20 Michael Koch <konqueror@gmx.de>
396 * java/security/AlgorithmParameterGenerator.java,
397 java/security/AlgorithmParameters.java,
398 java/security/DigestInputStream.java,
399 java/security/Identity.java,
400 java/security/KeyFactory.java,
401 java/security/KeyPairGenerator.java,
402 java/security/KeyStore.java,
403 java/security/MessageDigest.java,
404 java/security/MessageDigestSpi.java,
405 java/security/Policy.java,
406 java/security/SecureRandom.java,
407 java/security/Security.java,
408 java/security/Signature.java,
409 java/security/SignatureSpi.java,
410 java/security/cert/CertPathBuilder.java,
411 java/security/cert/CertPathValidator.java,
412 java/security/cert/CertStore.java,
413 java/security/cert/Certificate.java,
414 java/security/cert/CertificateFactory.java,
415 java/security/cert/PolicyQualifierInfo.java,
416 java/security/cert/TrustAnchor.java,
417 java/security/cert/X509CRL.java,
418 java/security/cert/X509CRLEntry.java,
419 java/security/cert/X509Certificate.java,
420 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
421 Import statements reorganized, some little formatting issues,
422 used java-style array declarations, added comments in empty catch
425 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
427 * java/security/Security.java
428 (static): Use AccessController.doPrivileged to get system property.
430 2004-10-18 Sven de Marothy <sven@physto.se>
432 * java/nio/ByteBufferHelper.java
433 (putDouble): Use Double.toRawLongBits instead.
435 2004-10-18 Mark Wielaard <mark@klomp.org>
436 Andrew Haley <aph@redhat.com>
438 * testsuite/libjava.lang/ExtraClassLoader.java: New.
440 2004-10-18 Andrew Haley <aph@redhat.com>
443 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
444 and correct logic used to find interpreter.
446 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
448 * java/util/logging/LogManager.java
449 (findAncestor): Fixed IndexOutOfBoundsException.
451 2004-10-18 Michael Koch <konqueror@gmx.de>
453 * java/io/BufferedInputStream.java: Fixed @author tag.
454 (read): Simplified expression.
455 (read): Merged javadoc a bit more.
456 (read): Renamed 'remain' to 'totalBytesRead'.
457 * java/io/DataInputStream.java,
458 java/io/DataOutputStream.java,
459 java/io/ObjectInputStream.java,
460 java/io/ObjectOutputStream.java:
461 Reworked modifier order.
463 2004-10-18 Michael Koch <konqueror@gmx.de>
465 * java/net/Inet4Address.java: Merged file header and javadocs.
466 * java/net/Inet6Address.java: Likewise.
467 * java/net/InetAddress.java
468 (getCanonicalHostName): Create Inet4Address object instead of
469 InetAddress and add comment regarding IPv6.
470 (toString): Simplified.
472 2004-10-18 Michael Koch <konqueror@gmx.de>
474 * gnu/java/net/protocol/http/Connection.java,
475 java/nio/MappedByteBufferImpl.java,
476 java/text/RuleBasedCollator.java,
477 java/util/ResourceBundle.java:
478 Reworked import statements.
480 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
482 * java/security/IdentityScope.java
483 (systemScope): Removed useless initializer.
484 * java/security/Policy.java
485 (currentPolicy): Likewise.
487 2004-10-18 Michael Koch <konqueror@gmx.de>
489 * java/lang/System.java: Revert accidential change.
491 2004-10-18 Michael Koch <konqueror@gmx.de>
493 * java/lang/Math.java,
494 java/lang/Package.java,
495 java/lang/Runtime.java,
496 java/lang/StrictMath.java,
497 java/lang/System.java,
498 java/lang/Thread.java,
499 java/lang/ThreadLocal.java,
501 Reworked import statements, HTML in javadocs and modifier orders.
503 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
505 * java/util/Timer.java
506 (nr): Removed useless initializer.
507 * java/util/logging/LogRecord.java
508 (lastSeqNum): Likewise.
509 * javax/naming/spi/NamingManager.java
510 (icfb, ofb): Likewise.
512 2004-10-18 Michael Koch <konqueror@gmx.de>
514 * gnu/java/net/PlainDatagramSocketImpl.java:
515 Reworked import statements.
516 * gnu/java/security/provider/DSAParameters.java:
517 Fixed copyrigth years.
518 * java/net/JarURLConnection.java:
519 Fixed HTML in @author tags.
522 2004-10-18 Michael Koch <konqueror@gmx.de>
524 * java/rmi/activation/ActivationSystem.java
525 (SYSTEM_PORT): Initialize with correct port number.
527 2004-10-18 Michael Koch <konqueror@gmx.de>
529 * java/lang/reflect/Proxy.java: Improved javadocs.
531 2004-10-18 Michael Koch <konqueror@gmx.de>
533 * java/lang/reflect/AccessibleObject.java
534 (checkPermission): Removed redundant final modifier.
535 (secureSetAccessible): Likewise.
536 * java/lang/reflect/Proxy.java:
537 Reworked import statements.
538 (generate): Removed redundant final modifier.
539 * java/lang/reflect/ReflectPermission.java:
540 Reorder package declaration and import statement.
542 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
544 * java/lang/reflect/Proxy.java
545 (count): Removed useless initializer.
547 2004-10-17 Michael Koch <konqueror@gmx.de>
549 * java/net/BindException.java,
550 java/net/ConnectException.java,
551 java/net/ContentHandler.java,
552 java/net/ContentHandlerFactory.java,
553 java/net/DatagramPacket.java,
554 java/net/DatagramSocket.java,
555 java/net/DatagramSocketImpl.java,
556 java/net/DatagramSocketImplFactory.java,
557 java/net/FileNameMap.java,
558 java/net/HttpURLConnection.java,
559 java/net/MalformedURLException.java,
560 java/net/MulticastSocket.java,
561 java/net/NetworkInterface.java,
562 java/net/NoRouteToHostException.java,
563 java/net/PasswordAuthentication.java,
564 java/net/PortUnreachableException.java,
565 java/net/ProtocolException.java,
566 java/net/ServerSocket.java,
567 java/net/Socket.java,
568 java/net/SocketException.java,
569 java/net/SocketImpl.java,
570 java/net/SocketImplFactory.java,
571 java/net/SocketOptions.java,
572 java/net/SocketPermission.java,
573 java/net/SocketTimeoutException.java,
575 java/net/URISyntaxException.java,
577 java/net/URLDecoder.java,
578 java/net/URLEncoder.java,
579 java/net/URLStreamHandler.java,
580 java/net/URLStreamHandlerFactory.java,
581 java/net/UnknownHostException.java,
582 java/net/UnknownServiceException.java:
583 Big import statement and @author tag cleanup.
585 2004-10-17 Michael Koch <konqueror@gmx.de>
587 * gnu/java/security/OID.java,
588 gnu/java/security/provider/DSAParameters.java,
589 gnu/java/security/provider/DSASignature.java,
590 gnu/java/security/x509/X500DistinguishedName.java,
591 gnu/java/security/x509/X509CRL.java:
592 Import statements cleaned up.
594 2004-10-16 Michael Koch <konqueror@gmx.de>
596 * gnu/java/nio/NIODatagramSocket.java,
597 gnu/java/nio/ServerSocketChannelImpl.java:
598 Reorganized import statements.
600 2004-10-16 Michael Koch <konqueror@gmx.de>
602 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
603 gnu/java/rmi/rmic/RMIC.java,
604 gnu/java/rmi/server/RMIHashes.java,
605 gnu/java/rmi/server/RMIObjectInputStream.java,
606 gnu/java/rmi/server/RMIObjectOutputStream.java,
607 gnu/java/rmi/server/UnicastConnection.java,
608 gnu/java/rmi/server/UnicastConnectionManager.java,
609 gnu/java/rmi/server/UnicastRemoteCall.java,
610 gnu/java/rmi/server/UnicastServer.java,
611 gnu/java/rmi/server/UnicastServerRef.java,
612 java/rmi/MarshalledObject.java,
613 java/rmi/Naming.java,
614 java/rmi/RMISecurityManager.java,
615 java/rmi/Remote.java,
616 java/rmi/activation/Activatable.java,
617 java/rmi/activation/ActivationDesc.java,
618 java/rmi/activation/ActivationGroup.java,
619 java/rmi/activation/ActivationGroupDesc.java,
620 java/rmi/activation/ActivationGroupID.java,
621 java/rmi/activation/ActivationID.java,
622 java/rmi/activation/ActivationInstantiator.java,
623 java/rmi/activation/ActivationMonitor.java,
624 java/rmi/activation/ActivationSystem.java,
625 java/rmi/activation/Activator.java,
626 java/rmi/dgc/DGC.java,
627 java/rmi/dgc/Lease.java,
628 java/rmi/dgc/VMID.java,
629 java/rmi/registry/LocateRegistry.java,
630 java/rmi/registry/Registry.java,
631 java/rmi/registry/RegistryHandler.java,
632 java/rmi/server/LoaderHandler.java,
633 java/rmi/server/LogStream.java,
634 java/rmi/server/ObjID.java,
635 java/rmi/server/Operation.java,
636 java/rmi/server/RMIClassLoader.java,
637 java/rmi/server/RMIClassLoaderSpi.java,
638 java/rmi/server/RMIClientSocketFactory.java,
639 java/rmi/server/RMIFailureHandler.java,
640 java/rmi/server/RMIServerSocketFactory.java,
641 java/rmi/server/RMISocketFactory.java,
642 java/rmi/server/RemoteCall.java,
643 java/rmi/server/RemoteObject.java,
644 java/rmi/server/RemoteRef.java,
645 java/rmi/server/RemoteServer.java,
646 java/rmi/server/RemoteStub.java,
647 java/rmi/server/ServerRef.java,
648 java/rmi/server/Skeleton.java,
649 java/rmi/server/SkeletonMismatchException.java,
650 java/rmi/server/UID.java,
651 java/rmi/server/UnicastRemoteObject.java,
652 java/rmi/server/Unreferenced.java:
653 File headers and import statements cleaned up.
655 2004-10-16 Michael Koch <konqueror@gmx.de>
657 * libjava/gnu/java/nio/charset/UTF_16.java,
658 libjava/gnu/java/nio/charset/UTF_16BE.java,
659 libjava/gnu/java/nio/charset/UTF_16LE.java,
660 libjava/java/nio/ByteOrder.java,
661 libjava/java/nio/MappedByteBuffer.java,
662 libjava/java/nio/channels/Channels.java,
663 libjava/java/nio/channels/spi/SelectorProvider.java,
664 libjava/java/nio/charset/Charset.java:
667 2004-10-16 Michael Koch <konqueror@gmx.de>
669 * gnu/java/nio/charset/UTF_16Encoder.java
670 (UTF_16Encoder): Fixed maxBytesPerChar handling.
672 2004-10-16 Michael Koch <konqueror@gmx.de>
674 * java/math/BigDecimal.java, java/math/BigInteger.java:
675 Reorganized import statements, removed redundant and
676 reorganized modifiers.
678 2004-10-16 Michael Koch <konqueror@gmx.de>
680 * gnu/java/beans/ExplicitBeanInfo.java:
681 Explicitely import java.awt.Image.
682 (getIcon): Fixed off-by-one error.
684 2004-10-15 Andrew Haley <aph@redhat.com>
686 * Makefile.am (nat_files, xlib_nat_files): New.
687 * Makefile.in: Regenerate.
689 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
691 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
692 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
694 2004-10-13 Andrew Haley <aph@redhat.com>
696 * interpret.cc (_Jv_InterpMethod::run): Initialize
697 _Jv_StartOfInterpreter.
698 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
699 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
700 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
701 _Unwind_FindEnclosingFunction to discover whether PC is within the
704 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
707 * testsuite/libjava.lang/md5test.java: New file.
708 * testsuite/libjava.lang/md5test.out: Likewise.
709 * testsuite/libjava.lang/shatest.java: Likewise.
710 * testsuite/libjava.lang/shatest.out: Likewise.
712 2004-10-11 Richard Henderson <rth@redhat.com>
714 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
715 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
717 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
719 * java/util/Calendar.java (set): Invalidate DST_OFFSET
720 field as a DST boundary may have been crossed.
721 * java/util/GregorianCalendar.java (add): Throw
722 IllegalArgumentException on attempt to add to DST_OFFSET or
723 ZONE_OFFSET fields. Update javadoc.
725 2004-10-09 Michael Koch <konqueror@gmx.de>
727 * java/io/CharArrayWriter.java
728 (resize): Removed redundant 'final' modifier.
729 * java/io/DataInputStream.java
730 (readFully): Throw IndexOutOfBoundsException of len < 0.
731 * java/io/FileDescriptor.java,
732 java/io/FileInputStream.java,
733 java/io/FileOutputStream.java,
734 java/io/ObjectOutputStream.java,
735 java/io/ObjectStreamClass.java,
736 java/io/PipedInputStream.java,
737 java/io/RandomAccessFile.java:
738 Reorganized import statements.
740 2004-10-09 Michael Koch <konqueror@gmx.de>
742 * gnu/java/rmi/rmic/RMIC.java,
743 gnu/java/rmi/server/RMIHashes.java,
744 gnu/java/rmi/server/RMIObjectInputStream.java,
745 gnu/java/rmi/server/UnicastConnection.java,
746 gnu/java/rmi/server/UnicastConnectionManager.java,
747 gnu/java/rmi/server/UnicastRemoteCall.java,
748 gnu/java/rmi/server/UnicastServerRef.java:
749 Reworked import statements and fixed file headers.
751 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
753 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
755 * configure: Rebuilt.
757 2004-09-30 Tom Tromey <tromey@redhat.com>
759 * java/text/MessageFormat.java (Field): Constructor now
762 2004-09-30 Tom Tromey <tromey@redhat.com>
764 * javax/crypto/MacSpi.java: Fixed typo.
766 2004-09-30 Michael Koch <konqueror@gmx.de>
768 * java/net/InetAddress.java: Reformatted.
769 (loopback): Initialize with Inet4Address object.
770 (static): Initialize ANY_IF with Inet4Address object.
771 (InetAddress): Removed unused package-private constructor.
773 2004-09-30 Michael Koch <konqueror@gmx.de>
775 * java/beans/Beans.java,
776 java/beans/EventHandler.java,
777 java/beans/EventSetDescriptor.java,
778 java/beans/Introspector.java,
779 java/beans/PropertyEditorManager.java,
780 java/beans/beancontext/BeanContext.java,
781 java/beans/beancontext/BeanContextChild.java,
782 java/beans/beancontext/BeanContextChildSupport.java,
783 java/beans/beancontext/BeanContextMembershipEvent.java:
784 Reordered import statements and removed redundant modifiers.
786 2004-09-29 Tom Tromey <tromey@redhat.com>
789 * Makefile.in: Rebuilt.
790 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
792 (all_property_files): New macro.
794 * Makefile.in: Rebuilt.
795 * Makefile.am (ordinary_java_source_files): Re-sorted.
796 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
798 2004-09-28 Tom Tromey <tromey@redhat.com>
800 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
803 * Makefile.am (libgcj.la): Restored.
804 * Makefile.in: Rebuilt.
806 2004-09-28 Michael Koch <konqueror@gmx.de>
808 * java/net/URLConnection.java: Reformatted.
809 * java/net/URLClassLoader.java: Reformatted.
810 (getContent): Reordered return of content.
811 (getContentHandler): Don't check for null explicitely.
813 2004-09-27 Michael Koch <konqueror@gmx.de>
815 * java/io/BufferedInputStream.java
816 (BufferedInputStream): Added Jeroen Frijters to authors.
817 (count): Don't explicitely initialize with default value.
819 (marklimit): Likewise.
820 (read): Changed boolean expression to match GNU classpath' version.
821 (reset): Add proper message to exception.
822 (skip): Check for closed stream.
825 2004-09-26 Per Bothner <per@bothner.com>
827 * prims.cc (unblock_signal): Annotate signum with __unused__ to
828 avoid warnings in the non-POSIX_VERSION case.
829 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
830 so place it inside an #if block.
831 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
832 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
833 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
834 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
836 2004-09-26 Per Bothner <per@bothner.com>
838 * prims.cc (process_gcj_properties): Optimization.
840 2004-09-26 Per Bothner <per@bothner.com>
842 * java/util/Collections.java (sort): Copy from array in forwards
843 order, rather than reverse order which may be much less efficient.
845 2004-09-26 Mark Wielaard <mark@klomp.org>
847 * java/lang/System.java (properties): Make package private.
848 * java/lang/Throwable.java (StaticData.nl): Initialize through
849 directly accessing System.properties.getProperty().
851 * java/lang/Throwable.java (nl): Remove static field.
852 (StaticData): New private static inner class.
853 (stackTraceStringBuffer): Use StaticData.nl.
855 2004-09-26 Casey Marshall <csm@gnu.org>
857 * java/security/ProtectionDomain.java
858 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
861 * java/security/SecureClassLoader.java
862 (defineClass): make protection domain dynamically bound.
863 (getPermissions): call `getCurrentPolicy' to avoid permission
866 2004-09-25 Mark Wielaard <mark@klomp.org>
868 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
869 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
870 * Makefile.in: Regenerated.
872 * gcj/javaprims.h: Regenerated.
874 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
875 (getDefaultTimeZone): Make package private. Check that GMToffset
876 contains at least one digit.
877 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
879 * util/VMTimeZone.java: New file with above methods.
881 * java/util/natTimeZone.cc: Removed (renamed).
882 * java/util/natVMTimeZone.cc: Added (renamed).
884 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
886 * java/util/TimeZone.java
887 (getDefaultTimeZone): Fixed test to distinguish between hours and
888 minutes in specified timezone.
890 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
892 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
893 handling of default package. (generate): Removed confused comments
894 and code about making Method and Field accessible.
896 2004-09-25 Tom Tromey <tromey@redhat.com>
899 * testsuite/libjava.compile/pr17500.java: New file.
901 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
902 Mark Wielaard <mark@klomp.org>
904 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
905 * gnu/regexp/RETokenLookAhead.java: New file.
907 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
908 * Makefile.in: Regenerated.
910 2004-09-25 Michael Koch <konqueror@gmx.de>
912 * java/io/ObjectStreamField.java:
913 Removed unused import statement.
915 2004-09-24 Tom Tromey <tromey@redhat.com>
918 * testsuite/libjava.compile/pr15656.xfail: New file.
919 * testsuite/libjava.compile/pr15656.java: new file.
922 * testsuite/libjava.lang/pr16789.out: New file.
923 * testsuite/libjava.lang/pr16789.java: New file.
925 2004-09-24 Andrew Haley <aph@redhat.com>
928 * testsuite/libjava.compile/AssertBug.java: New file.
930 2004-09-24 Casey Marshall <csm@gnu.org>
932 * java/util/PropertyPermissionCollection.java
933 (implies): avoid infinite loop.
935 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
937 * javax/security/auth/PrivateCredentialPermission.java
938 (PrivateCredentialPermission): added serialization UID
941 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
943 * gnu/java/rmi/server/UnicastServer.java
944 (incomingMessageCall): Added code to handle Errors.
945 * gnu/java/rmi/server/UnicastServerRef.java
946 (incomingMessageCall): Added code to handle Errors.
949 2004-09-24 Tom Tromey <tromey@redhat.com>
951 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
952 (definedPackages): Likewise.
954 2004-09-24 Michael Koch <konqueror@gmx.de>
956 * java/io/ObjectInputStream.java:
959 2004-09-24 Casey Marshall <csm@gnu.org>
961 * java/io/ObjectInputStream.java (callReadMethod): re-throw
962 `ClassNotFoundException'.
964 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
966 * java/io/ObjectInputStream.java (readObject): Delegate instantation
967 of Externalizable classes to ObjectStreamClass.
968 * java/io/ObjectStreamClass.java (newInstance): New method to
969 instantiate Externalizable (while ignoring the accessibility of
970 the constructor). (constructor): New field to cache the constructor.
972 2004-09-24 Mark Wielaard <mark@klomp.org>
974 * java/net/URL.java (systemClassLoader): New static field.
975 (getURLStreamHandler): Always use system/application classloader
976 for finding URLStreamhandler. Remove unecessary instanceof checks.
978 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
981 (set): This method now matches the behaviour of the JDK.
982 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
984 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
986 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
988 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
990 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
991 Don't set authority if host isn't specified.
993 2004-09-24 Michael Koch <konqueror@gmx.de>
995 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
996 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
997 * gnu/java/nio/VMPipe.java,
998 gnu/java/nio/VMSelector.java:
1000 * gnu/java/nio/natPipeImplEcos.cc,
1001 gnu/java/nio/natPipeImplPosix.cc,
1002 gnu/java/nio/natPipeImplWin32.cc:
1004 * gnu/java/nio/natSelectorImplEcos.cc,
1005 gnu/java/nio/natSelectorImplPosix.cc,
1006 gnu/java/nio/natSelectorImplWin32.cc:
1007 Ported to VMSelector.
1008 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
1009 gnu/java/nio/VMSelector.java.
1010 * Makefile.in: Regenerated.
1012 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
1014 * java/lang/StackTraceElement.java
1015 (className): Renamed field to declaringClass to be compatible
1016 with Sun serialization format.
1018 2004-09-23 Michael Koch <konqueror@gmx.de>
1020 * java/applet/AppletContext.java,
1021 java/applet/Applet.java,
1022 java/applet/AppletStub.java,
1023 java/applet/AudioClip.java:
1024 Jalopied and checkstyle clean.
1026 2004-09-23 Mark Wielaard <mark@klomp.org>
1028 * java/util/Collections.java
1029 (binarySearch(List, Object, Comparator)): Explicitly
1030 reverse direction in list iterator.
1031 (rotate): Just return when list is empty.
1033 2004-09-23 Tom Tromey <tromey@redhat.com>
1036 * testsuite/libjava.compile/pr17329.java: New file.
1039 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
1042 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1044 * Makefile.am: Run aclocal with -I ../config
1045 * acinclude.m4: Delete macros picked up from ../config and tidy.
1046 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1047 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1048 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1050 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
1052 * aclocal.m4: Regenerate with aclocal 1.9.2.
1053 * configure: Regenerate.
1054 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1055 * include/Makefile.in, testsuite/Makefile.in: Likewise.
1057 2004-09-22 David Daney <ddaney@avtrex.com>
1060 * java/net/URL.java (URL): Copy userInfo from context.
1061 (getUserInfo): Return cached userInfo if present.
1063 2004-09-22 Tom Tromey <tromey@redhat.com>
1066 * mauve-libgcj: Enable java.lang.Character tests.
1068 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1070 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1072 (lib_org_ietf_jgss_la_LIBADD): Likewise.
1073 * Makefile.in: Regenerated.
1075 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
1077 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1078 * configure: Regenerate.
1079 * include/config.h.in: Likewise.
1080 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1081 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1083 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1084 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1085 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1090 2004-09-22 Tom Tromey <tromey@redhat.com>
1093 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1094 when comparing CRCs.
1095 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1097 (read()): New overload.
1099 2004-09-21 Tom Tromey <tromey@redhat.com>
1101 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1104 2004-09-21 Michael Koch <konqueror@gmx.de>
1106 * java/net/Socket.java
1107 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1109 2004-09-21 Casey Marshall <csm@gnu.org>
1111 * javax/crypto/MacSpi.java (clone): Provide meaningful
1114 2004-09-21 Tom Tromey <tromey@redhat.com>
1117 * Makefile.in: Rebuilt.
1118 * Makefile.am (MOSTLYCLEANFILES): Removed.
1119 (mostlyclean-local): Remove header files.
1121 2004-09-21 Casey Marshall <csm@gnu.org>
1123 * java/security/cert/X509CRLSelector.java:
1124 (match): remove unreachable try-catch clauses.
1125 Reported by: Dalibor Topic <robilad@kaffe.org>
1127 2004-09-21 Mark Wielaard <mark@klomp.org>
1129 * java/util/TreeMap.java (root): Don't initialize.
1130 (TreeMap(Comparator)): Call fabricateTree(0).
1131 (fabricateTree): Initialize root and size when count is 0.
1133 2004-09-21 Sven de Marothy <sven@physto.se>
1135 * java/nio/ByteBuffer.java (hashCode): Implemented.
1136 * java/nio/CharBuffer.java: Likewise.
1137 * java/nio/DoubleBuffer.java: Likewise.
1138 * java/nio/FloatBuffer.java: Likewise.
1139 * java/nio/LongBuffer.java: Likewise.
1140 * java/nio/IntBuffer.java: Likewise.
1141 * java/nio/ShortBuffer.java: Likewise.
1143 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1145 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1147 2004-09-21 Michael Koch <konqueror@gmx.de>
1149 * javax/net/ssl/SSLServerSocket.java:
1150 Removed comment about "Do not edit this file, it's generated.".
1152 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
1154 Import the big Crypto/Jessie/Security merge from Classpath.
1156 * Makefile.am: Add imported files.
1157 * Makefile.in: Regenerate.
1159 2004-08-14 Casey Marshall <csm@gnu.org>
1161 The Big Crypto Merge of 2004.
1163 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1166 Files imported from GNU Crypto.
1167 * javax/crypto/BadPaddingException.java
1168 * javax/crypto/Cipher.java
1169 * javax/crypto/CipherInputStream.java
1170 * javax/crypto/CipherOutputStream.java
1171 * javax/crypto/CipherSpi.java
1172 * javax/crypto/EncryptedPrivateKeyInfo.java
1173 * javax/crypto/ExemptionMechanism.java
1174 * javax/crypto/ExemptionMechanismException.java
1175 * javax/crypto/ExemptionMechanismSpi.java
1176 * javax/crypto/IllegalBlockSizeException.java
1177 * javax/crypto/KeyAgreement.java
1178 * javax/crypto/KeyAgreementSpi.java
1179 * javax/crypto/KeyGenerator.java
1180 * javax/crypto/KeyGeneratorSpi.java
1181 * javax/crypto/Mac.java
1182 * javax/crypto/MacSpi.java
1183 * javax/crypto/Makefile.am
1184 * javax/crypto/NoSuchPaddingException.java
1185 * javax/crypto/NullCipher.java
1186 * javax/crypto/NullCipherImpl.java
1187 * javax/crypto/SealedObject.java
1188 * javax/crypto/SecretKey.java
1189 * javax/crypto/SecretKeyFactory.java
1190 * javax/crypto/SecretKeyFactorySpi.java
1191 * javax/crypto/ShortBufferException.java
1192 * javax/crypto/interfaces/DHKey.java
1193 * javax/crypto/interfaces/DHPrivateKey.java
1194 * javax/crypto/interfaces/DHPublicKey.java
1195 * javax/crypto/interfaces/PBEKey.java
1196 * javax/crypto/spec/DESKeySpec.java
1197 * javax/crypto/spec/DESedeKeySpec.java
1198 * javax/crypto/spec/DHGenParameterSpec.java
1199 * javax/crypto/spec/DHParameterSpec.java
1200 * javax/crypto/spec/DHPrivateKeySpec.java
1201 * javax/crypto/spec/DHPublicKeySpec.java
1202 * javax/crypto/spec/IvParameterSpec.java
1203 * javax/crypto/spec/PBEKeySpec.java
1204 * javax/crypto/spec/PBEParameterSpec.java
1205 * javax/crypto/spec/RC2ParameterSpec.java
1206 * javax/crypto/spec/RC5ParameterSpec.java
1207 * javax/crypto/spec/SecretKeySpec.java
1208 * javax/security/auth/AuthPermission.java
1209 * javax/security/auth/DestroyFailedException.java
1210 * javax/security/auth/Destroyable.java
1211 * javax/security/auth/Policy.java
1212 * javax/security/auth/PrivateCredentialPermission.java
1213 * javax/security/auth/RefreshFailedException.java
1214 * javax/security/auth/Refreshable.java
1215 * javax/security/auth/Subject.java
1216 * javax/security/auth/SubjectDomainCombiner.java
1217 * javax/security/auth/callback/Callback.java
1218 * javax/security/auth/callback/CallbackHandler.java
1219 * javax/security/auth/callback/ChoiceCallback.java
1220 * javax/security/auth/callback/ConfirmationCallback.java
1221 * javax/security/auth/callback/LanguageCallback.java
1222 * javax/security/auth/callback/NameCallback.java
1223 * javax/security/auth/callback/PasswordCallback.java
1224 * javax/security/auth/callback/TextInputCallback.java
1225 * javax/security/auth/callback/TextOutputCallback.java
1226 * javax/security/auth/callback/UnsupportedCallbackException.java
1227 * javax/security/auth/login/AccountExpiredException.java
1228 * javax/security/auth/login/AppConfigurationEntry.java
1229 * javax/security/auth/login/Configuration.java
1230 * javax/security/auth/login/CredentialExpiredException.java
1231 * javax/security/auth/login/FailedLoginException.java
1232 * javax/security/auth/login/LoginContext.java
1233 * javax/security/auth/login/LoginException.java
1234 * javax/security/auth/login/NullConfiguration.java
1235 * javax/security/auth/x500/X500PrivateCredential.java
1236 * javax/security/sasl/AuthenticationException.java
1237 * javax/security/sasl/AuthorizeCallback.java
1238 * javax/security/sasl/RealmCallback.java
1239 * javax/security/sasl/RealmChoiceCallback.java
1240 * javax/security/sasl/Sasl.java
1241 * javax/security/sasl/SaslClient.java
1242 * javax/security/sasl/SaslClientFactory.java
1243 * javax/security/sasl/SaslException.java
1244 * javax/security/sasl/SaslServer.java
1245 * javax/security/sasl/SaslServerFactory.java
1246 * org/ietf/jgss/ChannelBinding.java
1247 * org/ietf/jgss/GSSContext.java
1248 * org/ietf/jgss/GSSCredential.java
1249 * org/ietf/jgss/GSSException.java
1250 * org/ietf/jgss/GSSManager.java
1251 * org/ietf/jgss/GSSName.java
1252 * org/ietf/jgss/MessageProp.java
1253 * org/ietf/jgss/Oid.java
1254 * org/ietf/jgss/MessagesBundle.properties
1256 Files imported from Jessie <http://www.nongnu.org/jessie/>
1257 * javax/net/ServerSocketFactory.java
1258 * javax/net/SocketFactory.java
1259 * javax/net/VanillaServerSocketFactory.java
1260 * javax/net/VanillaSocketFactory.java
1261 * javax/net/ssl/HandshakeCompletedEvent.java
1262 * javax/net/ssl/HandshakeCompletedListener.java
1263 * javax/net/ssl/HostnameVerifier.java
1264 * javax/net/ssl/HttpsURLConnection.java
1265 * javax/net/ssl/KeyManager.java
1266 * javax/net/ssl/KeyManagerFactory.java
1267 * javax/net/ssl/KeyManagerFactorySpi.java
1268 * javax/net/ssl/ManagerFactoryParameters.java
1269 * javax/net/ssl/SSLContext.java
1270 * javax/net/ssl/SSLContextSpi.java
1271 * javax/net/ssl/SSLException.java
1272 * javax/net/ssl/SSLHandshakeException.java
1273 * javax/net/ssl/SSLKeyException.java
1274 * javax/net/ssl/SSLPeerUnverifiedException.java
1275 * javax/net/ssl/SSLPermission.java
1276 * javax/net/ssl/SSLProtocolException.java
1277 * javax/net/ssl/SSLServerSocket.java
1278 * javax/net/ssl/SSLServerSocketFactory.java
1279 * javax/net/ssl/SSLSession.java
1280 * javax/net/ssl/SSLSessionBindingEvent.java
1281 * javax/net/ssl/SSLSessionBindingListener.java
1282 * javax/net/ssl/SSLSessionContext.java
1283 * javax/net/ssl/SSLSocket.java
1284 * javax/net/ssl/SSLSocketFactory.java
1285 * javax/net/ssl/TrivialHostnameVerifier.java
1286 * javax/net/ssl/TrustManager.java
1287 * javax/net/ssl/TrustManagerFactory.java
1288 * javax/net/ssl/TrustManagerFactorySpi.java
1289 * javax/net/ssl/X509KeyManager.java
1290 * javax/net/ssl/X509TrustManager.java
1291 * javax/security/cert/Certificate.java
1292 * javax/security/cert/CertificateEncodingException.java
1293 * javax/security/cert/CertificateException.java
1294 * javax/security/cert/CertificateExpiredException.java
1295 * javax/security/cert/CertificateNotYetValidException.java
1296 * javax/security/cert/CertificateParsingException.java
1297 * javax/security/cert/X509CertBridge.java
1298 * javax/security/cert/X509Certificate.java
1300 2004-08-20 Casey Marshall <csm@gnu.org>
1302 * java/security/cert/X509CRLSelector.java: New file.
1303 * java/security/cert/X509CertSelector.java: New file.
1305 2004-09-15 Michael Koch <konqueror@gmx.de>
1307 * gnu/java/net/protocol/file/Handler.java
1308 (openConnection): Don't throw exception if host part for file: URI is
1309 present. setURL() keeps file: protocol if ftp: protocol is not
1312 2004-09-14 Richard Henderson <rth@redhat.com>
1314 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1315 value of sigsuspend.
1317 2004-09-12 Tom Tromey <tromey@redhat.com>
1319 * javax/naming/CompoundName.java (CompoundName): Don't check for
1320 separator in "flat" case.
1322 2004-09-12 Michael Koch <konqueror@gmx.de>
1324 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1325 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1326 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1329 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1332 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1333 handle in newly-allocated _Jv_Thread_t.
1334 (_Jv_ThreadDestroyData): Close thread handle.
1335 (_Jv_ThreadStart): Remove obsolete comment.
1336 Store handle of newly-created thread in _Jv_Thread_t.
1337 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1338 before including <windows.h>
1339 #define _Jv_HaveCondDestroy
1341 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1343 * java/lang/natThread.cc (finalize_native): Destroy
1344 join conditional variable and mutex if these destroy
1345 operations are supported.
1347 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1349 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1350 (DEFAULT_PERMISSION): New constant.
1351 (Connection): Create a FilePermission with permission to read file.
1353 2004-09-10 Michael Koch <konqueror@gmx.de>
1355 * gnu/java/net/protocol/file/Connection.java
1356 (getLastModified): Moved around.
1357 (getPermission): Return stored permission.
1359 2004-09-10 Michael Koch <konqueror@gmx.de>
1361 * Makefile.in: Regenerate.
1363 2004-09-10 Michael Koch <konqueror@gmx.de>
1365 * Makefile.am: Reverted accidently commited stuff.
1366 * configure: Regenerated.
1368 2004-09-10 Michael Koch <konqueror@gmx.de>
1370 * gnu/java/net/protocol/file/Connection.java
1371 (lineSeparator): Made non-final.
1373 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1374 instead of StringBufferInputStream.
1376 2004-09-10 Michael Koch <konqueror@gmx.de>
1378 * gnu/java/net/protocol/file/Connection.java
1379 (connect): Handle file is a directory case.
1381 2004-09-10 Michael Koch <konqueror@gmx.de>
1384 (xlib_includes): Removed.
1385 (AM_CPPFLAGS): Renamed from INCLUDES.
1386 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1387 * Makefile.in: Regenerate.
1389 2004-09-09 Michael Koch <konqueror@gmx.de>
1391 * java/security/ProtectionDomain.java,
1392 * java/util/PropertyPermissionCollection.java:
1393 Fixed javadocs all over.
1395 2004-09-09 Sven de Marothy <sven@physto.se>
1397 Patch from David Gilbert <david.gilbert@object-refinery.com>
1398 * java/lang/Comparable.java: Fixed documentation errors.
1399 * java/util/Arrays.java: Likewise.
1401 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1403 * java/net/Inet4Address.java
1404 (Inet4Address): Added comment to serialization UID.
1405 * java/text/Format.java
1406 (Format): Added comment to serialization UID.
1408 2004-09-09 Michael Koch <konqueror@gmx.de>
1410 * java/lang/System.java
1411 (err): Fixed javadoci to point to setErr() and not setOut().
1413 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1415 (normalizePath): Added special case for windows systems.
1417 2004-09-09 Michael Koch <konqueror@gmx.de>
1420 (dupSeparator): Made private.
1421 (File(URI)): New constructor.
1422 (getParentFile): Fixed javadoc.
1423 (createTempFile): Reformated.
1424 (setReadOnly): Added comment.
1425 (deleteOnExit): Merged javadoc with classpath version.
1427 2004-09-09 Michael Koch <konqueror@gmx.de>
1429 * Makefile.am: Don't try to include deps.mk.
1430 * Makefile.in: Regenerated.
1432 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1434 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1436 * configure: Rebuilt.
1438 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1440 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1441 Changed pfn from static local to local.
1443 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1444 H.J. Lu <hongjiu.lu@intel.com>
1447 * Makefile.am (GCJCOMPILE): Remove definition.
1448 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1449 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1450 * Makefile.in: Rebuilt.
1452 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1454 * configure.ac (enable-gc-debug): Update help for new syntax.
1455 * configure: Regenerate.
1457 2004-09-03 David Daney <ddaney@avtrex.com>
1459 * include/mips-signal.h: Update copyright.
1461 2004-09-03 David Daney <ddaney@avtrex.com>
1463 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1464 * include/mips-signal.h: Added HANDLE_FPE support.
1466 2004-08-31 Michael Koch <konqueror@gmx.de>
1468 * javax/swing/plaf/basic/BasicTextAreaUI.java
1469 (create): New method.
1470 * javax/swing/text/DefaultHighlighter.java
1471 (DefaultHighlightPainter.debugRect): Removed.
1472 * javax/swing/text/StyleContext.java
1473 (DEFAULT_STYLE): New field.
1475 2004-08-31 Michael Koch <konqueror@gmx.de>
1477 * javax/swing/plaf/basic/BasicLookAndFeel.java
1478 (initComponentDefaults): Add keybindings for selection.backward and
1479 selection-forward for text components.
1480 * javax/swing/plaf/basic/BasicTextUI.java
1481 (paintSafely): Paint highlight only when something is actually
1483 * javax/swing/text/DefaultCaret.java
1484 (handleHighlight): New method.
1485 (setSelectionVisible): Don't do anything when nothing changes.
1487 (moveDot): Reimplemented. Handle highlight.
1488 (setDot): Set mark too. Handle highlight.
1489 (getSelectionPainter): New method.
1490 * javax/swing/text/DefaultEditorKit.java
1491 (defaultActions): Added new actions for text selection.
1492 * javax/swing/text/DefaultHighlighter.java
1493 (DefaultHighlightPainter): New inner class.
1494 (DefaultPainter): New field.
1495 (paint): Implemented.
1496 * javax/swing/text/PlainView.java
1497 (paint): Don't draw background here again.
1498 * javax/swing/text/Utilities.java
1499 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1500 (drawTabbedText): Likewise.
1502 2004-08-31 Graydon Hoare <graydon@redhat.com>
1504 * javax/swing/JComponent.java
1505 (resetKeyboardActions): Add null checks.
1507 2004-08-31 Graydon Hoare <graydon@redhat.com>
1509 * javax/swing/DefaultButtonModel.java:
1510 Skip group notification when no group is set.
1512 2004-08-31 Graydon Hoare <graydon@redhat.com>
1514 * javax/swing/JColorChooser.java:
1515 Make a couple inner classes static, for jikes.
1517 2004-08-31 Michael Koch <konqueror@gmx.de>
1519 * javax/swing/plaf/basic/BasicTextUI.java
1520 (RottView.modelToView): New method.
1521 (UpdateHandler): Renamed from EventHandler.
1522 (updateHandler): Renamed from eventHandler.
1523 (modelToView): Implemented.
1524 * javax/swing/text/AbstractDocument.java
1525 (BranchElement.getElement): Return null for non-existing indeces.
1526 (BranchElement.getElementIndex): Return 0 in some corner cases.
1527 * javax/swing/text/FieldView.java
1528 (modelToView): New method.
1529 * javax/swing/text/PlainView.java
1530 (modelToView): Made public.
1532 2004-08-31 Kim Ho <kho@redhat.com>
1534 * Makefile.am: New files.
1535 * Makefile.in: Regenerate.
1536 * gcj/Makefile.in: Regenerate.
1537 * include/Makefile.in: Regenerate.
1538 * java/awt/Color.java: Fix documentation.
1539 (RGBtoHSB): Use floats for conversions.
1540 * javax/swing/ButtonGroup.java: Run Jalopy.
1541 (setSelected): Reimplement.
1542 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1543 (changeState): Let ButtonGroup know that the button
1545 * javax/swing/JColorChooser.java: Implement.
1546 * javax/swing/JLabel.java: Run Jalopy.
1547 * javax/swing/JSpinner.java: Run Jalopy.
1548 (setValue): New method.
1549 * javax/swing/JTabbedPane.java: Run Jalopy.
1550 (removeTabAt): Call correct remove method.
1551 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1552 (getPreviousValue): Compare minimum value.
1553 * javax/swing/Timer.java: Run Jalopy.
1554 (run): Comment out println.
1555 * javax/swing/ToolTipManager.java:
1556 (mouseMoved): Get new tooltip text for location.
1557 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1559 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1561 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1563 (setSelectedColor): Fire ChangeEvent.
1564 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1565 New file. Implement.
1566 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1568 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1570 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1572 * javax/swing/plaf/basic/BasicArrowButton.java:
1573 (getArrow): Fix size of upward pointing button.
1574 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1576 * javax/swing/plaf/basic/BasicSliderUI.java:
1577 (getWidthOfWidestLabel): Use preferred dimensions.
1578 (getHeightOfTallestLabel): Ditto.
1579 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1581 (mousePressed): Disable changes to spinner if it is not enabled.
1582 * testsuite/Makefile.in: Regenerate.
1585 2004-08-31 Michael Koch <konqueror@gmx.de>
1587 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1588 javax/swing/plaf/basic/BasicTableUI.java:
1589 Added copyright notice.
1591 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1593 * Makefile.am: Added new files.
1594 * Makefile.in: Regenerate.
1595 * javax/swing/ComboBoxEditor.java: Added javadocs.
1596 * javax/swing/ComboBoxModel.java: Likewise.
1597 * javax/swing/DefaultComboBoxModel.java: Implemented.
1598 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1599 and ran through jalopy to fix formatting style.
1600 (getListCellRendererComponent): Use appropriate border
1601 if renderer has focus and use noFocusBorder when it doesn't.
1602 * javax/swing/JComboBox.java: Implemented.
1603 * javax/swing/JList.java:
1604 (locationToIndex): New Method. Implemented.
1605 (indexToLocation): New Method.
1606 * javax/swing/JPopupMenu.java:
1607 (visible): New field.
1608 (isVisible): Changed to use new field above.
1609 (setVisible): Likewise.
1610 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1611 * javax/swing/plaf/basic/BasicArrowButton.java:
1612 (shadow): Changed default color to Color.gray.
1613 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1614 UI delegate for JComboBox.
1615 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1616 Popup menu containing list of JComboBox's items.
1617 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1618 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1619 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1620 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1621 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1622 (popupMenuWillBecomeVisible): Set selected path to the first
1623 element only if it is of type MenuElement. Also fix formatting
1625 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1628 2004-08-31 Michael Koch <konqueror@gmx.de>
1630 * javax/swing/text/AbstractDocument.java
1631 (createBranchElement): Use new constructor of BranchElement.
1632 (createLeafElement): Renamed arguments.
1633 (getRootElements): Implemented.
1634 (BranchElement.start): Removed.
1635 (BranchElement.end): Likewise.
1636 (BranchElement.BranchElement): Fixed arguments.
1637 (BranchElement.getEndOffset): Reimplemented.
1638 (BranchElement.getStartOffset): Likewis.
1639 * javax/swing/text/DefaultCaret.java
1640 (paint): Draw simple vertical line as caret instead of a rectangle.
1641 * javax/swing/text/JTextComponent.java
1642 (setText): Use doc directly.
1643 * javax/swing/text/PlainView.java
1644 (nextTabStop): Implemented.
1645 * javax/swing/text/Utilities.java
1646 (drawTabbedText): nextTabStop() returns an absolute x position.
1647 (getTabbedTextWidth): Likewise.
1649 2004-08-31 Graydon Hoare <graydon@redhat.com>
1651 * java/awt/Component.java
1652 (isFocusTraversable): Predicate on isLightweight()
1653 (setFocusable): Set isFocusTraversableOverridden.
1654 (requestFocus): Predicate peer dispatch on !isLightweight()
1655 (requestFocusInWindow): Likewise.
1656 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1657 * java/awt/Container.java
1658 (dispatchEventImpl): Predicate on event mask.
1659 (LightweightDispatcher): Remove focus machinery.
1660 * java/awt/DefaultFocusTraversalPolicy.java
1661 (accept): Expand predicate to include isFocusable().
1662 * java/awt/DefaultKeyboardFocusManager.java:
1663 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1664 * java/awt/KeyboardFocusManager.java
1665 (redispatchEvent): Synchronize on event to prevent feedback.
1666 * javax/swing/AbstractButton.java
1667 (ButtonFocusListener): Remove class.
1668 (init): Set focusPainted, focusable.
1669 * javax/swing/ActionMap.java (get): Check parent for null.
1670 * javax/swing/InputMap.java (get): Likewise.
1671 * javax/swing/JComponent.java
1672 (inputMap_whenFocused): New InputMap.
1673 (inputMap_whenAncestorOfFocused): Likewise.
1674 (inputMap_whenInFocusedWindow): Likewise.
1675 (getActionForKeyStroke): Rewrite.
1676 (getConditionForKeystroke): Likewise.
1677 (ActionListenerProxy): New private class.
1678 (setInputMap): Implement.
1679 (getInputMap): Likewise.
1680 (setActionMap): Likewise.
1681 (getActionMap): Likewise.
1682 (processComponentKeyEvent): New empty method.
1683 (processKeyEvent): Implement.
1684 (processKeyBinding): Likewise.
1685 (resetKeyboardActions): Rewrite.
1686 * javax/swing/KeyStroke.java: Rewrite.
1687 * javax/swing/SwingUtilities.java
1688 (notifyAction): Implement.
1689 (replaceUIActionMap): Likewise.
1690 (replaceUIInputMap): Likewise.
1691 * javax/swing/plaf/basic/BasicButtonListener.java
1692 (focusGained): Implement.
1693 (focusLost): Repaint if focusPainted().
1694 (installKeyboardActions): Install pressed / released actions.
1695 (uninstallKeyboardActions): Implement.
1696 * javax/swing/plaf/basic/BasicButtonUI.java
1697 (focusColor): New field.
1698 (installDefaults): Load focus color, install input map.
1699 (installKeyboardActions): Implement.
1700 (uninstallKeyboardActions): Likewise.
1701 (paintFocus): Rewrite.
1702 * javax/swing/plaf/basic/BasicLookAndFeel.java
1703 (Button.focus): New default, midPurple.
1704 * javax/swing/plaf/basic/BasicTextUI.java
1706 (installUI): Get doc from kit, load defaults.
1707 (getKeymapName): Implement.
1708 (createKeymap): Likewise.
1709 (installKeyboardActions): Likewise.
1710 (getInputMap): Likewise.
1711 (getActionMap): Likewise.
1712 (createActionMap): Likewise.
1713 * javax/swing/text/AbstractDocument.java
1714 (getStartPosition): Implement.
1715 (getEndPosition): Likewise.
1716 * javax/swing/text/DefaultEditorKit.java
1717 (CopyAction): New class.
1718 (CutAction): Likewise.
1719 (DefaultKeyTypedAction): Likewise.
1720 (InsertBreakAction): Likewise.
1721 (InsertContentAction): Likewise.
1722 (InsertTabAction): Likewise.
1723 (PasteAction): Likewise.
1724 (defaultActions): New static table.
1725 (createCaret): Implement.
1726 (getActions): Likewise.
1727 * javax/swing/text/JTextComponent.java
1728 (KeymapWrapper): New private class.
1729 (KeymapActionMap): Likewise.
1730 (DefaultKeymap): New class.
1731 (keymaps): New static table.
1732 (keymap): New field.
1733 (getKeymap): Implement.
1734 (removeKeymap): Likewise.
1735 (addKeymap): Likewise.
1736 (setKeymap): Likewise.
1737 (loadKeymap): Likewise.
1738 (getActions): Likewise.
1739 (margin): New field.
1740 (JTextComponent): Build and install default keymap.
1741 * javax/swing/text/TextAction.java
1742 (textAction): Call super properly.
1743 (getTextComponent): Implement.
1744 * javax/swing/text/Utilities.java
1745 (drawTabbedText): Adjust position by ascent.
1747 2004-08-31 David Jee <djee@redhat.com>
1751 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1752 (setEnabled): Make it a native method.
1753 * java/awt/DefaultKeyboardFocusManager.java
1754 (postProcessKeyEvent): Only post event if the menu item
1756 * java/awt/MenuItem.java:
1757 Private field 'enabled' should be true by default.
1758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1759 (setEnabled): New function.
1761 2004-08-31 David Jee <djee@redhat.com>
1765 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1766 (nativeSetHelpMenu): New native method declaration.
1767 (addHelpMenu): Call nativeSetHelpMenu().
1769 * java/awt/MenuBar.java
1770 (setHelpMenu): Call addNotify() on the new help menu.
1771 (add): Call addNotify() on the new menu.
1772 (addNotify): Set the help menu if one exists.
1773 * java/awt/peer/MenuBarPeer.java
1775 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1776 (nativeSetHelpMenu): New method.
1778 2004-08-31 Graydon Hoare <graydon@redhat.com>
1780 * Makefile.am: Add new files.
1781 * Makefile.in: Regenerate.
1782 * javax/swing/Box.java: Fix setting of layout in ctor.
1783 * javax/swing/JScrollPane.java: Scroll headers as well.
1784 * javax/swing/JTable.java: Reimplement.
1785 * javax/swing/JViewPort.java: Only add non-null children.
1786 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1787 * javax/swing/Timer.java: Fix stopping null waker.
1788 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1789 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1790 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1791 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1792 * javax/swing/table/DefaultTableModel.java: Clean up.
1793 * javax/swing/table/JTableHeader.java: Implement.
1795 2004-08-31 Mark Wielaard <mark@klomp.org>
1797 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1800 2004-08-31 Mark Wielaard <mark@klomp.org>
1802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1803 Declare variables at top of functions/block.
1804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1806 2004-08-31 Mark Wielaard <mark@klomp.org>
1808 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1811 2004-08-31 Michael Koch <konqueror@gmx.de>
1813 * javax/swing/text/PlainView.java
1814 (selectedColor): New field.
1815 (unselectedColor): Likewise.
1817 (updateMetrics): New method.
1818 (lineToRect): Likewise.
1819 (modelToView): Likewise.
1820 (drawSelectedText): Use color from JTextComponent ad draw with
1822 (drawUnselectedText): Likewise.
1823 (paint): Initialize helper fields.
1824 * javax/swing/text/View.java
1825 (getChildAllocation): New method.
1826 (getViewIndex): Likewise.
1827 (getToolTipText): Likewise.
1829 2004-08-31 Michael Koch <konqueror@gmx.de>
1831 * javax/swing/text/Utilities.java
1832 (drawTabbedText): Reimplemented.
1833 (getTabbedTextWidth): Likewise.
1835 2004-08-31 Michael Koch <konqueror@gmx.de>
1837 * javax/swing/plaf/basic/BasicTextUI.java
1838 (installDefaults): Install caret and highlighter.
1839 (modelToView): Use Bias.Forward when calling sibling.
1840 * javax/swing/text/AbstractDocument.java
1841 (ElementEdit): Implements DocumentEvent.ElementChange.
1842 (ElementEdit.ElementEdit): New method.
1843 (ElementEdit.getChildrenAdded): Likewise.
1844 (ElementEdit.getChildrenRemoved): Likewise.
1845 (ElementEdit.getElement): Likewise.
1846 (ElementEdit.getIndex): Likewise.
1847 * javax/swing/text/DefaultCaret.java
1849 (textComponent): Renamed from parent, made private.
1850 (selectionVisible): Renamed from vis_sel, made private.
1851 (blinkRate): Renamed from blink, made private.
1852 (magicCaretPosition): Renamed from magic, made private.
1853 (visible): Renamed from vis, made private.
1854 (dot): Made private.
1856 (deinstall): Remove as MouseMotionListener.
1857 (install): Initialize textComponent first. Add as MouseMotionListener.
1858 (paint): Reimplemented.
1859 * javax/swing/text/JTextComponent.java
1860 (setCaret): Deinstall old caret, install new one and fire property
1861 change after setting property.
1862 (setHighlighter): Deinstall old highlighter, install new one and fire
1863 property change after setting property.
1864 (setCaretColor): Fire property change after setting property.
1865 (setDisabledTextColor): Likewise.
1866 (setSelectedTextColor): Likewise.
1867 (setSelectionColor): Likewise.
1868 (modelToView): New method.
1870 2004-08-31 Michael Koch <konqueror@gmx.de>
1872 * javax/swing/text/AbstractDocument.java
1873 (getText): Simplified.
1874 * javax/swing/text/Segment.java
1875 (current): New field.
1876 (current): Reimplemented.
1878 (getIndex): Likewise.
1881 (previous): Likewise.
1882 (setIndex): Likewise.
1884 2004-08-31 Michael Koch <konqueror@gmx.de>
1886 * javax/swing/plaf/basic/BasicButtonUI.java
1887 (defaultTextIconGap): Made protected.
1888 (defaultTextShiftOffset): Likewise.
1889 (textShiftOffset): New field.
1890 (clearTextShiftOffset): New method.
1891 (getTextShiftOffset): Likewise.
1892 (setTextShiftOffset): Likewise.
1894 2004-08-31 Michael Koch <konqueror@gmx.de>
1896 * javax/swing/plaf/basic/BasicTextUI.java
1897 (installUI): Add eventHandler as property listener.
1898 (uninstallUI): remove eventHandler as propert listener.
1899 (installDefaults): Added comment.
1900 (installListeners): Likewise.
1901 (installKeyboardActions): Likewise.
1902 (uninstallDefaults): Likewise.
1903 (uninstallListeners): Likewise.
1904 (uninstallKeyboardActions): Likewise.
1906 2004-08-31 Michael Koch <konqueror@gmx.de>
1908 * javax/swing/text/AbstractDocument.java:
1909 Fixed some typos in comments.
1910 (insertString): Reimplemented.
1912 (replace): New method.
1913 (children): Dont use fully qualified class name.
1914 (DefaultDocumentEvent.offset): Renamed from off.
1915 (DefaultDocumentEvent.length): Renamed from len.
1916 (DefaultDocumentEvent.type): New field.
1917 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1918 (DefaultDocumentEvent.getType): Implemented.
1920 2004-08-31 Michael Koch <konqueror@gmx.de>
1922 * javax/swing/plaf/basic/BasicTextUI.java
1923 (RootView.textComponent): Removed.
1924 (RootView.RootView): Don't initialize textComponent.
1925 (RootView.getViewFactory): New method.
1926 (EventHandler): New inner class.
1927 (rootView): Initialize at instance creation.
1928 (eventHandler): New field.
1929 (installUI): Don't create view hierarchy directly,
1930 call modelChanged() instead.
1931 (modelChanged): New method.
1932 * javax/swing/text/JTextComponent.java
1933 (setDocument): Fire property change event.
1935 2004-08-31 Michael Koch <konqueror@gmx.de>
1937 * javax/swing/plaf/basic/BasicTextUI.java
1938 (RootView.paint): Removed debug output.
1939 (paintSafely): Draw highlighter before text.
1940 (paintBackground): Use background color of text component.
1941 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1944 2004-08-31 Michael Koch <konqueror@gmx.de>
1946 * javax/swing/plaf/basic/BasicToolBarUI.java
1947 (BasicToolBarUI): Fixed arguments for constructor.
1948 (createUI): Fixed creation of object.
1950 2004-08-31 Michael Koch <konqueror@gmx.de>
1952 * javax/swing/DefaultListSelectionModel.java
1953 (fireValueChanged): Renamed from fireSelectionValueChanged,
1956 2004-08-31 Michael Koch <konqueror@gmx.de>
1958 * javax/swing/text/TabSet.java
1959 (TabSet): Implements java.io.Serializable.
1960 * javax/swing/text/TabStop.java
1961 (TabStop): Implements java.io.Serializable.
1962 (TabStop): Made public.
1964 2004-08-31 Michael Koch <konqueror@gmx.de>
1966 * javax/swing/JComponent.java
1967 (setUI): Fire PropertyChange.
1968 * javax/swing/JLabel.java
1969 (text): Renamed from labelText.
1970 (horizontalAlignment): New default vlaue.
1971 (icon): Renamed from activeIcon.
1972 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1973 (displayedMnemonicIndex): Renamed from underlineChar.
1974 (setDisplayedMnemonic): Reimplemented.
1975 * javax/swing/JRadioButton.java
1976 (JRadioButton): New constructors.
1977 * javax/swing/JTextField.java
1978 (JTextField): Throw exception if colums < 0, initialitialz
1979 this.columns directly and initialize document with text conditionally.
1981 2004-08-31 Michael Koch <konqueror@gmx.de>
1983 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1984 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1985 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1986 * javax/swing/text/FieldView.java
1987 (paint): Just call super method for now.
1988 * Makefile.am: Added new files.
1989 * Makefile.in: Regenerated.
1991 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1993 * javax/swing/AbstractSpinnerModel.java,
1994 javax/swing/JSpinner.java,
1995 javax/swing/SpinnerNumberModel.java,
1996 javax/swing/plaf/basic/BasicSpinnerUI.java:
1998 * javax/swing/plaf/basic/BasicLookAndFeel.java
1999 (initClassDefaults): Added defaults for BasicSpinnerUI.
2001 2004-08-31 Michael Koch <konqueror@gmx.de>
2003 * Makefile.am: Added new files.
2004 * Makefile.in: Regenerated.
2006 2004-08-31 Michael Koch <konqueror@gmx.de>
2008 * javax/swing/TransferHandler.java,
2009 javax/swing/plaf/basic/ComboPopup.java: New files
2010 * Makefile.am: Added javax/swing/TransferHandler.java and
2011 javax/swing/plaf/basic/ComboPopup.java
2012 * Makefile.in: Regenerated.
2014 2004-08-31 Roman Kennke <roman@ontographics.com>
2016 * javax/swing/text/Utilities.java: New file.
2018 2004-08-31 Michael Koch <konqueror@gmx.de>
2020 * Makefile.am: Added javax/swing/text/Utilities.java.
2021 * Makefile.in: Regenerated.
2023 2004-08-31 Graydon Hoare <graydon@redhat.com>
2025 * javax/swing/text/SimpleAttributeSet.java: New file.
2026 * javax/swing/text/StyleConstants.java: New file.
2027 * javax/swing/text/StyleContext.java: New file.
2028 * javax/swing/text/TabSet.java: New file.
2029 * javax/swing/text/TabStop.java: New file.
2030 * javax/swing/text/AbstactDocument.java:
2031 (AbstractElement): Implement attribute support.
2032 * javax/swing/text/AttributeSet.java
2033 (NameAttribute): New static field.
2034 (ResolveAttribute): New static field.
2035 * Makefile.am: Update for new files.
2036 * Makefile.in: Regenerate.
2038 2004-08-31 Craig Black <craig.black@aonix.com>
2040 * gnu/java/awt/peer/gtk/GdkGraphics.java
2041 (drawImage): Add support for scaling pixmaps.
2042 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
2043 (copyAndScalePixmap): New native method.
2045 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2048 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
2049 type-punning compiler warnings using unions.
2050 (throw): Replace bzero with memset.
2052 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
2053 Thomas Fitzsimmons <fitzsim@redhat.com>
2055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2056 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
2057 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2059 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2061 2004-08-31 Mark Wielaard <mark@klomp.org>
2063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2064 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2065 and stdlib.h, not gtkpeer.h.
2066 (*vm): New static variable.
2067 (areaPreparedID): Make static.
2068 (areaUpdatedID): Likewise.
2069 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2070 (area_prepared): Likewise.
2071 (area_updated): Likewise.
2073 (initStaticState): Initialize *vm javaVM.
2074 (pumpBytes): Use given env, not global gdk_env.
2076 2004-08-31 Mark Wielaard <mark@klomp.org>
2078 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2081 2004-08-31 Sven de Marothy <sven@physto.se>
2083 * java/awt/geom/CubicCurve2D.java: Reindent.
2084 (contains): Implemented.
2085 (intersects): Implemented.
2086 * java/awt/geom/QuadCurve2D.java: Likewise.
2087 * java/awt/geom/GeneralPath.java: Reindent and document.
2088 Fully (re)implemented using separate xpoints and ypoints
2090 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2092 2004-08-31 Michael Koch <konqueror@gmx.de>
2094 * javax/swing/JMenuItem.java
2095 (getMenuDragMouseListeners): New method.
2096 (getMenuKeyListeners): Likewise.
2098 2004-08-31 Michael Koch <konqueror@gmx.de>
2100 * javax/swing/AbstractButton.java
2101 (model): Made protected.
2102 (actionListener): Likewise.
2103 (changeListener): Likewise.
2104 (itemListener): Likewise.
2105 (multiClickThreshhold): New field.
2106 (getActionListeners): New method.
2107 (getChangeListeners): Likewise.
2108 (getItemListeners): Likewise.
2109 (fireItemStateChanged): Simplified implementation.
2110 (fireActionPerformed): Likewise.
2111 (fireStateChanged): Likewise.
2112 (getMultiClickThreshhold): New method.
2113 (setMultiClickThreshhold): Likewise.
2115 2004-08-31 Tom Tromey <tromey@redhat.com>
2117 * java/awt/image/Kernel.java (clone): Use super.clone().
2119 2004-08-31 David Jee <djee@redhat.com>
2122 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2123 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2124 (nativeSetIconImageFromData): New native method declaration.
2125 (setIconImage): Handle images not produced from GdkPixbufDecoder.
2126 * gnu/java/awt/peer/gtk/GtkImage.java
2127 (getPixelCache): New method.
2128 (getColorModel): New method.
2129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2130 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2131 (free_pixbuf_data): New helper function.
2132 (nativeSetIconImageFromData): New function.
2134 2004-08-31 Graydon Hoare <graydon@redhat.com>
2137 * javax/swing/JLayeredPane.java
2138 (setLayer): Permit changing layer after addition.
2139 (setPosition): Permit over-length positions.
2140 (layerToRange): Compare intValue()s.
2141 * javax/swing/Box.java (createHorizontalBox): Implement.
2142 (createRigidArea): Likewise.
2143 (createVerticalBox): Likewise.
2145 2004-08-31 Kim Ho <kho@redhat.com>
2147 * java/awt/Component.java:
2148 (processMouseEvent): Consume event after
2149 listeners process it.
2150 (processMouseMotionEvent): ditto.
2151 (processMouseWheelEvent): ditto.
2152 * java/awt/Container.java:
2153 (acquireComponentForMouseEvent):
2154 Do not dispatch to events that have been
2155 removed from the Container.
2156 (handleEvent): Consume the MouseEvents.
2157 * javax/swing/RepaintManager.java:
2158 (paintDirtyRegions): Do not add to list of
2159 damaged areas if the component has no root.
2161 2004-08-31 Michael Koch <konqueror@gmx.de>
2163 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2165 2004-08-31 Mark Wielaard <mark@klomp.org>
2167 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2168 null when a MissingResourceException is thrown. Should never happen.
2170 2004-08-31 Mark Wielaard <mark@klomp.org>
2172 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2173 when argument is null.
2175 2004-08-31 Mark Wielaard <mark@klomp.org>
2177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2178 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2179 Define hid at start of function.
2180 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2183 2004-08-31 Mark Wielaard <mark@klomp.org>
2185 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2186 * javax/swing/JButton.java: Reindent.
2187 * javax/swing/JCheckBox.java: Reindent.
2189 2004-08-31 Mark Wielaard <mark@klomp.org>
2191 * Makefile.am (gtk_c_source_files): Added
2192 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2193 (gtk_awt_peer_sources): Added
2194 gnu/java/awt/peer/gtk/GThreadMutex.java and
2195 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2196 * Makefile.in: Regenerated.
2198 2004-08-31 Archie Cobbs <archie@dellroad.org>
2200 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2202 2004-08-31 Steven Augart <augart@watson.ibm.com>
2204 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2205 Added jfieldID, jmethodID.
2207 2004-08-31 Mark Wielaard <mark@klomp.org>
2209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2210 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2211 gdk_env before calling any gdk or gtk function.
2213 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2214 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2215 (run): Set gtkInitCalled.
2217 2004-08-31 Steven Augart <augart@watson.ibm.com>
2219 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2220 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2223 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2224 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2226 (init_glib_threads): New function.
2228 2004-08-31 Mark Wielaard <mark@klomp.org>
2230 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2231 PRIORITY when not already defined in header file.
2233 2004-08-31 Mark Wielaard <mark@klomp.org>
2235 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2236 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2238 2004-08-31 Steven Augart <augart@watson.ibm.com>
2240 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2241 Implemented missing functions for GTK2.
2242 Added error handling.
2243 Renamed static functions out of the g_ namespace.
2244 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2245 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2246 Rewrote global-reference code.
2247 Eliminated cascading errors.
2248 (mutex_trylock_jni_impl) Fully implemented.
2249 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2251 (setup_cache) New function.
2252 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2253 bug where they were not unlocking the GMutex associated with the
2254 condition variable during the wait on that condition variable.
2256 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2257 native/jni/gtk-peer/gthread-jni.c,
2258 native/jni/gtk-peer/gthread-jni.h
2259 (g_thread_jni_functions): Renamed to ...
2260 (portable_native_sync_jni_functions): this name.
2261 (gdk_vm): Renamed to...
2262 (the_vm): this name.
2264 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2265 (gdk_vm): Removed duplicate definition.
2266 (gtkInit): Removed stray message to stdout.
2267 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2268 (gtkInit): Fix a const assignment bug.
2269 (gtkInit): Simplified code.
2271 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2272 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2273 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2274 gnu/java/awt/peer/gtk/GThreadMutex.java:
2277 2004-08-31 Mark Wielaard <mark@klomp.org>
2279 * javax/swing/Box.java: Put FIXME comment above class declaration.
2280 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2281 * javax/swing/JCheckBox.java: Likewise.
2282 * javax/swing/JDialog.java: Likewise.
2283 * javax/swing/JRadioButton.java: Likewise.
2284 * javax/swing/JToggleButton.java: Likewise.
2285 * javax/swing/UIManager.java: Likewise.
2286 * javax/swing/border/TitledBorder.java: Likewise.
2287 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2288 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2289 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2290 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2291 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2292 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2293 * javax/swing/text/JTextComponent.java: Likewise.
2295 2004-08-31 David Jee <djee@redhat.com>
2298 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2299 (setIconImage): Add a FIXME for unhandled cases.
2301 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2304 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2305 getModifiers. Replace old button masks with new ones.
2306 * gnu/awt/xlib/XEventLoop.java: Likewise.
2307 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2308 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2309 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2310 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2311 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2312 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2313 * java/awt/Component.java: Replace old modifier masks with new
2315 * java/awt/Container.java: Call getModifiersEx, not
2317 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2319 * javax/swing/JMenuItem.java: Replace old button masks with new
2321 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2323 * javax/swing/SwingUtilities.java: Likewise.
2324 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2325 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2326 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2327 mask macros with new ones.
2328 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2329 macros with new ones representing new masks.
2331 2004-08-31 Craig Black <craig.black@aonix.com>
2333 * gnu/java/awt/peer/gtk/GdkGraphics.java
2334 (drawRoundRect): Implemented.
2335 (fillRoundRect): Implemented.
2336 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2337 (drawRoundRect): Reimplemented to match GdkGraphics.
2338 (fillRoundRect): Reimplemented to match GdkGraphics.
2340 2004-08-31 Mark Wielaard <mark@klomp.org>
2342 * Makefile.in: Regenerated.
2344 2004-08-31 Michael Koch <konqueror@gmx.de>
2346 * gnu/java/awt/EmbeddedWindow.java
2347 (addNotify): Use AccessController to allow execution of privileged
2350 2004-08-31 Michael Koch <konqueror@gmx.de>
2352 * gnu/java/awt/EmbeddedWindow.java
2354 (addNotify): Set peer via reflection.
2355 (setWindowPeer): Removed.
2356 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2357 * Makefile.am (nat_source_files):
2358 Removed gnu/java/awt/natEmbeddedWindow.cc.
2360 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2362 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2363 and gnu/java/security/action/SetAccessibleAction.java.
2365 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2367 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2368 Renamed from 'setName'. New 2-argument form with default value.
2369 (run): Pass default 'value' parameter to System.getProperty().
2370 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2373 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2375 * gnu/java/security/action/GetPropertyAction.java: New class.
2376 * gnu/java/security/action/SetAccessibleAction.java: New class.
2378 2004-08-31 David Jee <djee@redhat.com>
2380 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2381 (setIconImage): Check if image is null.
2383 2004-08-31 David Jee <djee@redhat.com>
2385 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2386 (create): Set the icon image.
2387 (nativeSetIconImage): New native method declaration.
2388 (setIconImage): Implement.
2389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2390 (nativeSetIconImage): New function.
2392 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2394 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2395 (filenameFilterCallback): Declare local variable accepted before use.
2397 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2399 * gnu/java/awt/ComponentDataBlitOp.java:
2402 2004-08-31 Tom Tromey <tromey@redhat.com>
2404 * gnu/java/awt/peer/GLightweightPeer.java,
2405 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2406 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2407 javax/swing/JScrollPane.java: Removed
2410 2004-08-31 David Jee <djee@redhat.com>
2412 * java/awt/DefaultKeyboardFocusManager.java
2413 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2414 event. Fix shift modifier checking.
2415 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2416 (accel_attach): Remove.
2417 (setupAccelGroup): Remove calls to accel_attach.
2419 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2421 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2422 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2424 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2426 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2427 * Makefile.in: Regenerate.
2428 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2429 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2430 (create(String)): New method.
2431 (create): Call new create method.
2432 (getArgs): Remove method.
2433 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2434 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2435 (nativeCreate): Rename to create.
2436 (gtkSetLabel): Rename to gtkButtonSetLabel.
2437 (gtkToggleButtonSetActive): New method.
2438 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2439 (setState): Replace set call with gtkToggleButtonSetActive.
2440 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2441 (getArgs): Remove method.
2442 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2443 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2444 (gtkWidgetSetSensitive): New method.
2445 (gtkWidgetSetParent): Likewise.
2446 (GtkComponentPeer): Call setParent, setComponentBounds and
2447 setVisibleAndEnabled.
2448 (setParent): New method.
2449 (setComponentBounds): New method.
2450 (setVisibleAndEnabled): New method.
2451 (setEnabled): Call gtkWidgetSetSensitive.
2452 (getArgs): Remove method.
2453 Remove all set methods.
2454 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2455 gtkWindowSetModal, setTitle and setResizable.
2456 (getArgs): Remove method.
2457 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2458 (setComponentBounds): New method.
2459 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2460 Replace set call with gtkWindowSetResizable.
2461 (getArgs): Remove method.
2462 (create): Call setTitle and setResizable.
2463 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2464 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2465 (gtkWindowSetTitle): New method.
2466 (gtkWindowSetResizable): New method.
2467 (gtkWindowSetModal): New method.
2468 (setParent): New method.
2469 (setVisibleAndEnabled): New method.
2470 (getArgs): Remove method.
2471 (setTitle): Call gtkWindowSetTitle.
2472 (setResizable): Call gtkWindowSetResizable.
2473 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2474 and off locking instrumentation.
2476 2004-08-31 Kim Ho <kho@redhat.com>
2478 * Makefile.am: Add new file.
2479 * Makefile.in: Regenerate.
2480 * gcj/Makefile.in: Regenerate
2481 * include/Makefile.in:
2482 * java/awt/Container.java:
2483 (acquireComponentForMouseEvent): Respect
2484 the event mask when looking for candidate.
2485 * javax/swing/JComponent.java:
2486 Remove toolTip field.
2487 (createToolTip): Create a tooltip on demand.
2488 (setToolTipText): Register with the ToolTipManager.
2489 (getToolTipText(MouseEvent)): Return getToolTipText().
2490 * javax/swing/JToolTip.java: Implement.
2491 * javax/swing/Timer.java: Jalopy.
2492 (restart): Call stop, then start.
2493 (stop): Interrupt the timer rather than wait for
2494 the timer to come to a stop naturally.
2495 * javax/swing/ToolTipManager.java: Implement.
2496 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2497 Change ToolTip.background color.
2498 * javax/swing/plaf/basic/BasicToolTipUI.java:
2500 * testsuite/Makefile.in: Regenerate
2502 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2504 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2505 constructor param comments.
2507 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2509 * java/awt/Component.java: Document AWT 1.0 event handler
2512 2004-08-31 Roman Kennke <roman@ontographics.com>
2514 * javax/swing/Box.java:
2515 (createGlue): Implemented
2516 (createHorizontalGlue): Implemented
2517 (createHorizontalStrut): Implemented
2518 (createVerticalGlue): Implemented
2519 (createVerticalStrut): Implemented
2521 2004-08-31 David Jee <djee@redhat.com>
2523 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2524 (GtkChoicePeer): Do not automatically select first item.
2525 (getHistory): Remove.
2526 (nativeGetSelected): New method.
2527 (nativeRemoveAll): New method.
2528 (add): Use nativeGetSelected() instead of getHistory().
2530 (removeAll): Call nativeRemoveAll().
2531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2532 (create): Migrate to GtkComboBox.
2534 (nativeAdd): Likewise.
2535 (nativeRemove): Likewise.
2537 (nativeRemoveAll): New method.
2538 (nativeGetSelected): New method.
2539 (selection_changed): New method.
2540 (getHistory): Remove.
2541 (item_activate): Remove.
2542 (item_removed): Remove.
2543 (connect_choice_item_selectable_hook): Remove.
2545 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2547 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2548 variable in setEditable call.
2550 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2551 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2552 (gtkWidgetSetBackground): New method.
2553 (gtkWidgetSetForeground): Likewise.
2554 (create): Set peer's editable state based on awtComponent's.
2556 * java/awt/Button.java (Button()): Use empty string rather than
2557 null in no-label constructor.
2559 2004-08-31 Roman Kennke <roman@ontographics.com>
2561 * javax/swing/BoxLayout.java: Reimplement.
2563 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2565 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2566 gnu_java_awt_peer_gtk_GdkGraphics.c
2567 (initState(GtkComponentPeer)): Don't return array of colour
2569 (GdkGraphics(int,int)): Set default font to size 12.
2570 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2571 component's foreground colour.
2572 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2573 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2574 (initState(GtkComponentPeer)): Don't return array of colour
2576 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2577 colours to component's colours.
2578 (current_colors_of_widget): Remove function.
2579 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2580 Return a new graphics object.
2581 * java/awt/Font.java (toString): Fix format.
2582 * java/awt/Graphics.java (toString): Likewise.
2584 2004-08-31 Craig Black <craig.black@aonix.com>
2586 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2587 (addTearOff): New function.
2588 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2590 (init): Call addTearOff() when menu.isTearOff().
2592 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2594 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2595 Default implementation.
2596 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2597 Implement using GdkPixbufDecoder.
2599 2004-08-31 David Jee <djee@redhat.com>
2601 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2602 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2603 setting the size of GtkFileDialogPeers.
2604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2605 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2606 use their default sizes rather than their natural requisitions.
2608 2004-08-31 Michael Koch <konqueror@gmx.de>
2610 * javax/swing/JFormattedTextField.java
2611 (JFormattedTextField): Implemented.
2612 * javax/swing/text/DefaultEditorKit.java
2613 (BeepAction): New inner class.
2614 * javax/swing/text/Segment.java
2615 (partialReturn): New field.
2616 (setPartialReturn): New method.
2617 (isPartialReturn): Likewise.
2618 * javax/swing/text/View.java
2619 (createFragment): Fixed typo.
2620 (getStartOffset): New method.
2621 (getEndOffset): Likewise.
2623 2004-08-31 Michael Koch <konqueror@gmx.de>
2625 * javax/swing/table/DefaultTableColumnModel.java
2626 (serialVersionUID): Made private.
2627 (listenerList): Initialize.
2628 (changeEvent): Initialize.
2629 * javax/swing/table/JTableHeader.java
2630 (JTableHeader): New constructors.
2631 (createDefaultColumnModel): New method.
2632 * javax/swing/table/TableColumn.java
2633 (setHeaderRenderer): Simplified code.
2634 (setCellRenderer): Likewise.
2635 (setWidth): Likewise.
2637 2004-08-31 Tom Tromey <tromey@redhat.com>
2639 * java/text/AttributedString.java (AttributedString): Use
2640 ArrayList to build array of attribute ranges. Don't use
2641 `attribs' before it is set.
2643 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2645 * HACKING: Remove reference to special automake. No longer needed.
2647 2004-08-30 Tom Tromey <tromey@redhat.com>
2649 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2650 return result from `add'.
2652 2004-08-30 Tom Tromey <tromey@redhat.com>
2654 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2656 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2658 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2660 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2662 * java/io/File.java File(String,String): Fixed handling of empty
2665 2004-08-30 Casey Marshall <csm@gnu.org>
2667 Author e-mail updated for all files.
2668 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2670 (compareTo): Use `equals'.
2671 * gnu/java/security/der/BitString.java (equals): Test if the
2672 argument is an instance of BitString.
2673 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2674 class final. Made fields private.
2675 (<init>): New constructor.
2677 (makeString): Made static; don't use NIO.
2678 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2679 * gnu/java/security/der/DERWriter.java: Fixed imports.
2680 (writeString): Don't use NIO.
2681 (toIso88591, toUtf16Be, toUtf8): New methods.
2682 * gnu/java/security/der/DERValue.java: Formatting changes only.
2683 * gnu/java/security/der/DER.java: Likewise.
2685 2004-08-30 Tom Tromey <tromey@redhat.com>
2687 * java/nio/CharBuffer.java (put): Fix typo.
2688 * java/nio/DoubleBuffer.java (put): Fix typo.
2689 * java/nio/FloatBuffer.java (put): Fix typo.
2690 * java/nio/IntBuffer.java (put): Fix typo.
2691 * java/nio/LongBuffer.java (put): Fix typo.
2692 * java/nio/ShortBuffer.java (put): Fix typo.
2694 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2696 * java/nio/ByteBuffer.java (put): Fix typo.
2698 2004-08-30 Casey Marshall <csm@gnu.org>
2700 * java/security/DummyKeyPairGenerator.java (clone): Removed
2701 useless instanceof check.
2702 * java/security/DummyMessageDigest.java (clone): Likewise.
2703 * java/security/DummySignature.java (clone): Likewise.
2704 * java/security/MessageDigest.java (clone): Remove useless
2706 * java/security/MessageDigestSpi.java (clone): Likewise.
2707 * java/security/Signature.java (clone): Provide meaningful
2709 * java/security/SignatureSpi.java (clone): Likewise.
2711 2004-08-29 Mark Wielaard <mark@klomp.org>
2713 * java/util/Arrays.java
2714 (sort(byte[], int, int)): Check fromIndex < 0.
2715 (sort(char[], int, int)): Likewise.
2716 (sort(short[], int, int)): Likewise.
2717 (sort(int[], int, int)): Likewise.
2718 (sort(long[], int, int)): Likewise.
2719 (sort(float[], int, int)): Likewise.
2720 (sort(double[], int, int)): Likewise.
2721 (sort(Object[], int, int, Comparator)): Likewise.
2722 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2723 (qsort(char[], int, int)): Likewise.
2724 (qsort(short[], int, int)): Likewise.
2725 (qsort(int[], int, int)): Likewise.
2726 (qsort(long[], int, int)): Likewise.
2727 (qsort(float[], int, int)): Likewise.
2728 (qsort(double[], int, int)): Likewise.
2730 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2732 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2733 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2734 java/util/ArrayList.java, java/util/Arrays.java,
2735 java/util/BitSet.java, java/util/Calendar.java,
2736 java/util/Collection.java, java/util/ListIterator.java,
2737 java/util/Map.java, java/util/SortedSet.java:
2738 Added additional exceptions to documentation, along
2739 with some additions and corrections.
2741 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2743 * configure.ac: Handle --enable-gc-debug.
2744 * configure: Regenerate.
2745 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2746 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2747 Rearrange include file order.
2748 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2749 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2750 (disable_gc_mutex): Delete along with all references.
2751 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2752 adjust for debug header size.
2753 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2755 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2756 (gcj_describe_type_fn): New.
2757 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2758 Register gcj_describe_type_fn.
2759 * include/boehm-gc.h:
2760 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2761 Don't define, but declare, for debug case.
2762 * java/lang/natObject.cc:
2763 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2765 2004-08-26 Mark Wielaard <mark@klomp.org>
2767 Fixes PR libgcj/17002:
2768 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2769 a TimeZoneId string and then try to convert that to a TimeZone with
2770 getDefaultSystemTimeZone(String).
2771 (timezones0): Changed type from Hashtable to HashMap.
2772 (timezones): Create HashMap, not Hashtable.
2773 (getDefaultTimeZone): New method, rewritten from CNI version.
2774 (readTimeZoneFile): New method.
2775 (readtzFile): Likewise.
2776 (skipFully): Likewise.
2777 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2778 getDefaultTimeZoneId and rewritten.
2779 (getDefaultTimeZoneId): Rewritten in java.
2781 2004-08-25 David Daney <daney@avtrex.com>
2783 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2784 * Makefile.in: Regenerated.
2786 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2788 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2789 only if jvmpi is enabled.
2790 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2791 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2792 (_Jv_AllocString): Likewise.
2793 (_Jv_AllocPtrFreeObject): Likewise.
2795 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2797 * defineclass.cc: Include <stdio.h>.
2798 * java/lang/natClassLoader.cc: Include <stdio.h>.
2800 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2801 Michael Koch <konqueror@gmx.de>
2803 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2804 * Makefile.in: Regenerated.
2806 2004-08-20 Michael Koch <konqueror@gmx.de>
2808 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2809 AC_COMPILE_IFELSE macros.
2811 2004-08-20 Michael Koch <konqueror@gmx.de>
2813 * configure.in: Renamed to configure.ac.
2814 * configure.ac: New file.
2815 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2816 include/config.h.in, testsuite/Makefile.in: Regenerated.
2818 2004-08-20 Michael Koch <konqueror@gmx.de>
2820 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2821 * aclocal.m4, configure: Regenerated.
2823 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2824 Michael Koch <konqueror@gmx.de>
2826 * configure.in, Makefile.am: Ported to automake 1.9.
2827 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2828 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2831 2004-08-19 Tom Tromey <tromey@redhat.com>
2833 * java/net/DatagramSocket.java: Fixed typo.
2835 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2838 * java/net/URI.java (string): New field. Make all other fields
2840 (readObject): Implemented.
2841 (writeObject): Implemented.
2842 (URI): Set 'string'.
2844 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2847 * java/util/logging/Handler.java (isLoggable): Accept record if its
2848 log level equals the threshold level. From Robin Green.
2850 2004-08-18 David Daney <ddaney@avtrex.com>
2852 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2855 2004-08-17 Michael Koch <konqueror@gmx.de>
2857 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2858 * Makefile.in: Regenerated.
2860 2004-08-16 Tom Tromey <tromey@redhat.com>
2863 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2865 2004-08-16 Michael Koch <konqueror@gmx.de>
2868 (math_c_files): Renamed from c_files.
2869 (math_c_source_files): Renamed from c_source_files.
2872 include/Makefile.in,
2873 testsuite/Makefile.in: Regenerated.
2875 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2877 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2878 to avoid autoconf warning.
2879 * configure: Rebuilt.
2881 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2883 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2884 localhostAddress to loopbackAddress.
2885 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2887 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2889 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2890 boehm-gc's include dirs.
2891 * configure: Rebuilt.
2892 * include/boehm-gc.h: Include gc_config.h.
2894 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2896 * java/net/InetAddress.java (loopbackAddress): Renamed from
2898 (getByName): Return loopback address for null hostname, without
2899 security check. Use lookup(), not getAllByName.
2900 (getAllByName): Return loopback address for null hostname, without
2902 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2905 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2908 Reported by Robin Green.
2909 * defineclass.cc (handleField): Don't throw exception on unrecognised
2910 modifier. Add FIXME comments for spec compliance.
2911 (handleMethod): Likewise.
2913 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2916 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2917 (Almost everywhere): add LOG calls, fix, add comments.
2918 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2919 Add explicit check for LOCKED bit in slow case (PR 16662).
2920 (_Jv_MonitorExit): Add casts in debug-only code.
2921 Always release LOCKED bit before throwing exception.
2922 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2923 isn't. Handle easy cases without lock acquisition.
2924 (Object::wait): Use NotifyAll for lock inflation.
2926 2004-08-12 David Daney <ddaney@avtrex.com>
2928 * testsuite/libjava.lang/Process_1.java: New test.
2929 * testsuite/libjava.lang/Process_2.java: New test.
2930 * testsuite/libjava.lang/Process_3.java: New test.
2931 * testsuite/libjava.lang/Process_4.java: New test.
2932 * testsuite/libjava.lang/Process_5.java: New test.
2933 * testsuite/libjava.lang/Process_6.java: New test.
2934 * testsuite/libjava.lang/Process_1.out: Expected result.
2935 * testsuite/libjava.lang/Process_2.out: Expected result.
2936 * testsuite/libjava.lang/Process_3.out: Expected result.
2937 * testsuite/libjava.lang/Process_4.out: Expected result.
2938 * testsuite/libjava.lang/Process_5.out: Expected result.
2939 * testsuite/libjava.lang/Process_6.out: Expected result.
2941 2004-08-12 David Daney <ddaney@avtrex.com>
2944 * java/lang/PosixProcess.java: Rewrote.
2945 * java/lang/natPosixProcess.cc: Rewrote.
2946 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2947 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2948 * posix-threads.cc (block_sigchld) New function.
2949 (_Jv_ThreadRegister) Use it.
2950 (_Jv_ThreadStart) Use it.
2951 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2952 * Makefile.am: ... to specify extra native headers.
2953 * configure: Regenerated.
2954 * include/config.h: Regenerated.
2955 * Makefile.in: Regenerated.
2956 * gcj/Makefile.in: Regenerated.
2957 * include/Makefile.in: Regenerated.
2958 * testsuite/Makefile.in: Regenerated.
2960 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2962 PR tree-optimization/16867
2963 * testsuite/libjava.lang/PR16867.java: New test.
2965 2004-08-09 Per Bothner <per@bothner.com>
2967 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2968 with private fields and access methods.
2969 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2970 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2971 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2972 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2973 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2974 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2976 * resolve.cc: Likewise.
2977 * gcj/field.h: Likewise.
2978 * include/jvm.h: Likewise.
2979 * java/lang/Class.h: Likewise.
2980 * java/lang/natClass.cc: Likwise.
2981 * java/lang/natClassLoader.cc: Likewise
2982 * java/lang/reflect/natMethod.cc: Likewise
2983 * verify.cc: Likewise.
2984 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2985 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2987 2004-08-10 Andrew Haley <aph@redhat.com>
2989 * testsuite/libjava.lang/err14.java: New file.
2990 * testsuite/libjava.lang/err14.out: New file.
2992 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2994 * Makefile.am: Fix missing rename from x_nat_headers to
2996 * Makefile.in: Regenerated.
2998 2004-08-04 Andrew Haley <aph@redhat.com>
3000 * java/security/BasicPermission.java: Don't check wildcards.
3002 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3003 Michael Koch <konqueror@gmx.de>
3005 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
3006 * configure.in: Replaced all usages of AC_LINK_FILES by
3009 configure: Regenerated.
3011 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
3012 Michael Koch <konqueror@gmx.de>
3014 * acconfig.h: Removed.
3015 * Makefile.am: Rename variables for xlib peer to include xlib and
3016 gtk_c_headers to gtk_jni_headers.
3017 * Makefile.in: Regenerated.
3019 2004-08-04 Andrew Haley <aph@redhat.com>
3021 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
3024 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
3026 * configure.in: Eliminate uses of changequote (mostly by quoting []).
3027 Replace most top level 'dnl' comments with '#' comments, conforming
3028 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
3030 * configure: Rebuilt.
3032 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
3034 * acinclude.m4: Include no-executables.m4.
3035 * aclocal.m4: Rebuild.
3036 * configure.in: Convert to the autoconf 2.59 version of
3037 of the no-executables hack, and also of the nonstandard CXX
3038 hack and the multilibbed CC and CXX hack. Change prerequisite
3040 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
3041 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
3042 testsuite/Makefile.in: Regenerate.
3044 2004-08-03 Tom Tromey <tromey@redhat.com>
3046 * jni.cc: Reindented.
3048 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3050 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3052 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
3054 * testsuite/libjava.compile/PR16701.java: New test.
3056 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
3058 * java/util/Collection.java, java/util/List.java,
3059 java/util/Map.java, java/util/Set.java,
3060 java/util/SortedMap.java, java/util/SortedSet.java:
3061 Added additional exceptions to documentation.
3063 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
3066 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3067 * configure. Regenerate.
3068 * include/win32.h: Explicitly include winsock2.h
3069 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3072 2004-07-30 Michael Koch <konqueror@gmx.de>
3074 * java/util/zip/GZIPInputStream.java
3075 (GZIPInputStream): Increase buffer size to 4k.
3076 * java/util/zip/GZIPOutputStream.java
3077 (GZIPOutputStream): Likewise.
3078 * java/util/zip/Inflater.java
3079 (setInput): Merged formating with GNU classpath.
3080 * java/util/zip/InflaterInputStream.java
3081 (InflaterInputStream): Increase buffer size to 4k.
3082 (fill): Throw exception if stream ends early.
3083 (read): Merged endless-loop with GNU classpath.
3084 (skip): Increase buffer size to 2k.
3086 2004-07-30 Michael Koch <konqueror@gmx.de>
3088 * gnu/java/awt/EmbeddedWindow.java
3089 (addNotify): Use AccessController to allow execution of privileged
3092 2004-07-29 Michael Koch <konqueror@gmx.de>
3094 * gnu/java/lang/MainThread.java:
3095 Explicitely import used classes.
3096 (args): Make it type String[].
3098 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3100 * gnu/java/awt/ComponentDataBlitOp.java,
3101 gnu/java/beans/ExplicitBeanInfo.java,
3102 gnu/java/beans/IntrospectionIncubator.java,
3103 gnu/java/beans/editors/ColorEditor.java,
3104 gnu/java/beans/editors/FontEditor.java,
3105 gnu/java/beans/editors/NativeBooleanEditor.java,
3106 gnu/java/beans/editors/NativeByteEditor.java,
3107 gnu/java/beans/editors/NativeDoubleEditor.java,
3108 gnu/java/beans/editors/NativeFloatEditor.java,
3109 gnu/java/beans/editors/NativeIntEditor.java,
3110 gnu/java/beans/editors/NativeLongEditor.java,
3111 gnu/java/beans/editors/NativeShortEditor.java,
3112 gnu/java/beans/editors/StringEditor.java,
3113 gnu/java/io/ClassLoaderObjectInputStream.java,
3114 gnu/java/io/decode/Decoder.java,
3115 gnu/java/io/encode/Encoder.java,
3116 gnu/java/lang/ClassHelper.java,
3117 gnu/java/locale/Calendar.java,
3118 gnu/java/locale/Calendar_de.java,
3119 gnu/java/locale/Calendar_en.java,
3120 gnu/java/locale/Calendar_nl.java,
3121 gnu/java/locale/LocaleInformation_de.java,
3122 gnu/java/locale/LocaleInformation_en.java,
3123 gnu/java/locale/LocaleInformation_nl.java:
3126 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3128 * README: Remove obsolete info. Update bug URL.
3130 * NEWS: Updated with news up to GCC 3.4 release.
3132 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3134 * gnu/java/security/action/GetPropertyAction.java (setParameters):
3135 Renamed from 'setName'. New 2-argument form with default value.
3136 (run): Pass default 'value' parameter to System.getProperty().
3137 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3139 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3142 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
3144 * configure.in: Check for minimum GTK version 2.4 requirement.
3145 * configure: Rebuilt.
3147 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3149 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3150 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3152 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3154 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
3155 address. Reduce sleep times. Synchronize with target threads before
3156 attempting to interrupt them. Don't try to calibrate yeild count,
3157 instead, always loop for a fixed time.
3158 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3159 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3160 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3161 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3162 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3163 * testsuite/libjava.lang/pr179.java: Likewise.
3164 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3165 time. Remove upper bounds check on sleep time.
3167 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3169 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3170 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3172 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3174 * java/io/File.java (toURI): Throw RuntimeException, not
3176 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3177 class name, not instance.
3179 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3181 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3182 and gnu/java/security/action/SetAccessibleAction.java.
3183 * Makefile.in: Rebuilt.
3185 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3187 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3188 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3190 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3191 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3192 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3194 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3196 * Makefile.am: Replace jar, rmic and rmiregistry references with
3197 gjar, grmic and grmiregistry.
3198 * configure.in: Likewise.
3199 * Makefile.in: Regenerate.
3200 * configure: Likewise.
3201 * gcj/Makefile.in: Likewise.
3202 * include/Makefile.in: Likewise.
3203 * testsuite/Makefile.in: Likewise.
3205 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3207 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3208 for privileged getProperty calls.
3209 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3210 SetAccessibleAction instead of anonymous class for doPrivileged call.
3211 (getMethod): Likewise.
3212 (setAccessible): New field. PrivilegedAction object to use when
3213 calling setAccessible.
3214 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3215 SetAccessibleAction instead of anonymous class for diPrivileged call.
3216 (setFields): Likewise.
3217 (getClassUID): Likewise.
3218 (findMethod): Likewise.
3219 * gnu/java/security/action/GetPropertyAction.java: New class.
3220 * gnu/java/security/action/SetAccessibleAction.java: New class.
3222 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3224 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3226 * testsuite/libjava.lang/Serialization.java: New test.
3227 * testsuite/libjava.lang/Serialization.out: New.
3229 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3231 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3232 missed in last commit.
3234 2004-07-23 Mark Wielaard <mark@klomp.org>
3236 * java/lang/System.java (static): Set http.agent system property when
3238 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3239 from system property inside AccessController.doPrivileged() call.
3240 (proxyPort): Made package private.
3241 (proxyInUse): Likewise.
3242 (proxyHost): Likewise.
3243 (userAgent): Likewise.
3245 2004-07-23 Mark Wielaard <mark@klomp.org>
3247 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3250 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3252 * Makefile.am (ordinary_java_source_files): Add
3253 DefaultContentHandlerFactory.java.
3254 * Makefile.in: Rebuilt.
3255 * java/net/URLConnection.java (defaultFactory): New field.
3257 (getContentHandler): Renamed from 'setContentHandler'. Try
3258 defaultFactory after user-set factory, if any. Search for content
3259 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3260 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3262 (getLastModified): Implemented.
3263 (getPermission): Create file permission here, instead of in
3265 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3267 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3269 (getLastModified): Implemented.
3270 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3271 Default implementation.
3272 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3273 Implement using GdkPixbufDecoder.
3275 2004-07-21 Michael Koch <konqueror@gmx.de>
3277 * javax/swing/JTextArea.java
3278 (setLineWrap): Fire property change event after new value is set.
3279 (setTabSize): Likewise.
3281 2004-07-21 Michael Koch <konqueror@gmx.de>
3283 * javax/swing/JTable.java
3284 (autoCreateColumnsFromModel): New field.
3285 (autoResizeMode): Likewise.
3286 (cellEditor): Likewise.
3287 (cellSelectionEnabled): Likewise.
3288 (columnModel): Likewise.
3289 (dataModel): Likewise.
3290 (defaultEditorsByColumnClass): Likewise.
3291 (defaultRenderersByColumnClass): Likewise.
3292 (editingColumn): Likewise.
3293 (editingRow): Likewise.
3294 (gridColor): Likewise.
3295 (preferredViewportSize): Likewise.
3296 (rowHeight): Likewise.
3297 (rowMargin): Likewise.
3298 (rowSelectionAllowed): Likewise.
3299 (selectionBackground): Likewise.
3300 (selectionForeground): Likewise.
3301 (selectionModel): Likewise.
3302 (showHorizontalLines): Likewise.
3303 (showVerticalLines): Likewise.
3304 (tableHeader): Likewise.
3305 (JTable): Implemented.
3306 (getColumnModel): Likewise.
3307 (getSelectedRow): Likewise.
3308 (getSelectionModel): Likewise.
3309 (setModel): Likewise.
3310 (setSelectionModel): Likewise.
3311 (createScrollPaneForTable): New method.
3312 (createDefaultDataModel): Likewise.
3313 (createDefaultListSelectionModel): Likewise.
3314 (getModel): Likewise.
3315 (getTableHeader): Likewise.
3316 (setTableHeader): Likewise.
3317 (getColumnSelectionAllowed): Likewise.
3318 (setColumnSelectionAllowed): Likewise.
3319 (getRowSelectionAllowed): Likewise.
3320 (setRowSelectionAllowed): Likewise.
3321 (getAutoResizeMode): Likewise.
3322 (setAutoResizeMode): Likewise.
3323 (getColumnCount): Likewise.
3324 (getRowCount): Likewise.
3325 (getCellRenderer): Likewise.
3326 * javax/swing/JTree.java
3327 (cellRenderer): New field.
3328 (editable): Likewise.
3329 (rootVisible): Likewise.
3330 (showsRootHandles): Likewise.
3331 (getModel): New method.
3332 (setModel): Likewise.
3333 (isEditable): Likewise.
3334 (setEditable): Likewise.
3335 (isRootVisbile): Likewise.
3336 (setRootVisible): Likewise.
3337 (getShowsRootHandles): Likewise.
3338 (setShowRootHandles): Likewise.
3339 (getCellRenderer): Likewise.
3340 (setCellRenderer): Likewise.
3342 2004-07-21 Michael Koch <konqueror@gmx.de>
3344 * javax/swing/JFormattedTextField.java
3345 (setDocument): Implemented.
3346 * javax/swing/JRootPane.java:
3348 * javax/swing/JTable.java
3349 (getDefaultRenderer): New method.
3350 * javax/swing/JTextField.java
3351 (setFont): Likewise.
3352 (getPreferredSize): Likewise.
3353 * javax/swing/JToggleButton.java
3354 (getAccessibleContext): Fix javadoc.
3355 * javax/swing/JTree.java:
3357 * javax/swing/JViewport.java:
3360 2004-07-21 David Jee <djee@redhat.com>
3362 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3363 Collect all native method declaration at the top.
3364 (create): Set the filename filter if necessary.
3365 (setDirectory): Call nativeSetDirectory().
3366 (setFilenameFilter): Implement.
3367 (filenameFilterCallback): New method.
3368 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3369 (create): Configure dialog to show hidden files.
3370 (filenameFilterCallback): New function.
3371 (nativeSetFilenameFilter): New function.
3372 (nativeSetDirectory): New function.
3374 2004-07-21 Kim Ho <kho@redhat.com>
3376 * javax/swing/plaf/basic/BasicSliderUI.java:
3378 (paintTrack): Fill the track before painting
3381 2004-07-21 Graydon Hoare <graydon@redhat.com>
3383 patch from Roman Kennke <roman@ontographics.com>
3384 * javax/swing/Spring.java: New file.
3385 * javax/swing/SpringLayout.java: New file.
3386 * Makefile.am: Add new files.
3387 * Makefile.in: Regenerate.
3389 2004-07-21 Graydon Hoare <graydon@redhat.com>
3391 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3392 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3393 * javax/swing/ScrollPaneLayout.java: Likewise.
3395 2004-07-21 Kim Ho <kho@redhat.com>
3397 * javax/swing/DefaultDesktopManager.java:
3398 (findMinimum): Removed.
3399 (resizeFrame): Trust the UI to pass valid
3401 * javax/swing/JOptionPane.java:
3402 Implemented showInternalXXXDialog methods.
3403 (startModal): New method.
3404 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3405 (BorderListener::mouseDragged): Verify that the new
3406 bounds are valid before passing them to the DesktopManager.
3407 (preferredLayoutSize): Delegate
3409 (minimumLayoutSize): Ditto.
3410 (getSize): New method.
3411 (GlassPaneDispatcher): Reimplemented by copying
3412 a stripped down LightweightDispatcher from Container.
3413 (getMinimumSize): Call minimumLayoutSize.
3414 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3416 (mousePressed): Add ability to properly close
3418 * javax/swing/plaf/basic/BasicToolBarUI.java:
3419 (DragWindow): Set owner for DragWindow.
3421 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3423 * java/awt/image/ShortLookupTable.java: New file.
3424 * java/awt/image/ByteLookupTable.java: New file.
3425 * Makefile.am: Added new files.
3426 * Makefile.in: Regenerated.
3428 2004-07-21 David Jee <djee@redhat.com>
3430 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3431 (create(GtkContainerPeer)): New native method.
3432 (create()): Call native create(), passing in the parent frame
3433 as the paramter. Natively set the current file and directory.
3434 (setFile): Construct an absolute filename before passing it to
3436 (nativeGetDirectory): New method.
3437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3438 (window_closed): Removed.
3439 (ok_clicked): Likewise.
3440 (cancel_clicked): Likewise.
3441 (handle_response): New method.
3442 (create): Use GtkFileChooserDialog.
3443 (connectSignals): Connect to handle_response.
3444 (nativeGetDirectory): New method.
3445 (nativeSetFile): Use GtkFileChooserDialog.
3447 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3449 * java/awt/image/LookupTable.java: New file.
3450 * Makefile.am: Added new file.
3451 * Makefile.in: Regenerated.
3453 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3455 * java/awt/image/Kernel.java: New file.
3456 * Makefile.am: Added new file.
3457 * Makefile.in: Regenerated.
3459 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3461 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3462 * javax/swing/JMenu.java: Likewise.
3463 * javax/swing/JMenuBar.java: Likewise.
3464 (MARGIN_CHANGED_PROPERTY): New property.
3465 (setMargin): Implemented.
3466 * javax/swing/JMenuItem.java: Fixed javadocs.
3467 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3468 (LABEL_CHANGED_PROPERTY): New property.
3469 (add): changed to use createActionComponent.
3470 (createActionComponent): Implemented.
3471 (setLabel): Fire PropertyChangeEvent if label property
3473 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3474 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3475 (ContainerHandler): Repaint if margin property has changed.
3476 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3477 (installUI): Call installComponents().
3478 (uninstallUI): Call uinstallComponents().
3479 * javax/swing/plaf/basic/BasicMenuUI.java:
3481 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3484 2004-07-21 Kim Ho <kho@redhat.com>
3486 * javax/swing/plaf/basic/BasicToolBarUI.java:
3487 (DragWindow): Use the right constructor.
3489 2004-07-21 Kim Ho <kho@redhat.com>
3491 * javax/swing/JToolBar.java:
3492 (layoutContainer): Use getComponents.
3493 * javax/swing/plaf/basic/BasicToolBarUI.java:
3494 (DragWindow): Don't use SwingUtilities'
3496 (ToolBarDialog): ditto.
3498 2004-07-21 Kim Ho <kho@redhat.com>
3500 * javax/swing/JRootPane.java:
3502 (layoutContainer): Set the glasspane's size to
3503 be the same as the content pane.
3504 (createGlassPane): Set opaque property to false.
3506 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3508 * java/awt/Component.java (requestFocus()): Don't handle Panels
3510 (requestFocus(boolean)): Likewise.
3511 (requestFocusInWindow(boolean)): Likewise.
3512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3513 Set GTK_CAN_FOCUS flag.
3515 2004-07-21 Kim Ho <kho@redhat.com>
3517 * Makefile.am: Added new file.
3518 * Makefile.in: Regenerated.
3519 * gcj/Makefile.in: Regenerated.
3520 * include/Makefile.in: Regenerated.
3521 * javax/swing/AbstractButton.java:
3522 Add rollOverEnabled property.
3523 (setRolloverEnabled): Use new property.
3524 (isRolloverEnabled): Use new property.
3525 * javax/swing/JTabbedPane.java:
3526 (setComponent): Remove useless JTabbedPane.this.
3527 * javax/swing/JToolBar.java: Finish implementation.
3528 * javax/swing/plaf/basic/BasicArrowButton.java:
3529 (paint): Moved border painting to a border.
3530 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3531 Change JToolBar look and feel defaults.
3532 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3533 (actionPerformed): Return Integer index instead of name.
3534 (addButtonComponents): Check to see if component is
3536 (createMessageArea): Don't use components that are not
3538 (getIconForType): Use temporary icons.
3539 * javax/swing/plaf/basic/BasicSliderUI.java:
3540 (mousePressed): Do not return if it's on thumb.
3541 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3542 (paintMinorTickForVertSlider): ditto.
3543 (paintMajorTickForHorizSlider): ditto.
3544 (paintMajorTickForVertSlider): ditto.
3545 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3546 Add a border around the SplitPaneDivider.
3547 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3549 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3550 New file. Implemented.
3551 * javax/swing/plaf/basic/BasicToolBarUI.java:
3553 * testsuite/Makefile.in: Regenerated.
3555 2004-07-21 Graydon Hoare <graydon@redhat.com>
3557 * javax/swing/Timer.java (run): Queue events each time cycle.
3559 2004-07-21 David Jee <djee@redhat.com>
3561 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3562 (imageComplete): Call image.imageComplete().
3563 * java/awt/image/MemoryImageSource.java:
3564 Reimplement consumers as a Vector instead of a Hashtable. This is
3565 because enumeration on a Hashtable is not thread-safe.
3566 (addConsumer): Adapt to Vector consumers.
3567 (isConsumer): Adapt to Vector consumers.
3568 (removeConsumer): Adapt to Vector consumers.
3569 (startProduction): Adapt to Vector consumers. Call imageComplete()
3570 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3571 (newPixels): Adapt to Vector consumers.
3572 (sendPicture): Set the color model of the image consumer.
3573 (newPixels(IIII)): Adapt to Vector consumers.
3574 (newPixels(IIIIB)): Adapt to Vector consumers.
3576 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3578 * java/awt/Component.java (deliverEvent): Implement.
3579 (postEvent): Implement.
3580 (handleEvent): Implement.
3581 (translateEvent): New method.
3582 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3583 * java/awt/Container.java (deliverEvent): Implement.
3584 * java/awt/Event.java (paramString): Fix formatting.
3585 * java/awt/Font.java (toString): Likewise.
3586 * java/awt/Window.java (postEvent): Implement.
3588 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3590 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3591 Set window's focus owner upon receiving a FOCUS_LOST event.
3592 * java/awt/Window.java (Window()): Refocus the previously
3593 focused component within the window when the window regains the
3595 (setFocusOwner): New method.
3596 * java/awt/Component.java (requestFocus): Add FIXME.
3598 * libgcj.pc.in: Remove library flags.
3600 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3602 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3603 MOUSE_PRESSED event.
3604 * java/awt/Component.java (requestFocus()): Handle Panel
3605 specially. Post FOCUS_LOST event on opposite component.
3606 (requestFocus(boolean)): Likewise.
3607 (requestFocusInWindow(boolean)): Likewise.
3608 (paramString): Reorder dimension fields.
3609 * java/awt/Container.java (paramString): Fix string format.
3610 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3611 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3612 process key events if the focus owner is non-null.
3613 (dispatchKeyEvent): Likewise.
3614 * java/awt/Frame.java (paramString): Fix formatting.
3615 (generateName): New method.
3616 (getUniqueLong): Likewise.
3617 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3618 the temporary focus owner is null. If so, return the permanent
3620 * java/awt/Panel.java (generateName): New method.
3621 (getUniqueLong): Likewise.
3622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3623 signal handling to make callbacks more specific.
3625 2004-07-21 Michael Koch <konqueror@gmx.de>
3627 * javax/swing/text/Position.java
3628 (Bias): Implemented.
3630 2004-07-21 Michael Koch <konqueror@gmx.de>
3632 * javax/swing/LookAndFeel.java
3633 (provideErrorFeedback): New method.
3635 2004-07-21 Michael Koch <konqueror@gmx.de>
3637 * javax/swing/JTextArea.java
3638 (tabSize): New field.
3639 (getTabSize): New method.
3640 (setTabSize): Likewise.
3642 2004-07-21 Michael Koch <konqueror@gmx.de>
3644 * javax/swing/ActionMap.java:
3645 Fixed javadocs all over.
3646 (serialVersionUID): Made private.
3647 (parent): Don't explicitely initialize with default value.
3649 (keys): Reimplemented.
3650 (allKeys): Likewise.
3651 (convertSet): Removed.
3652 * javax/swing/ComponentInputMap.java:
3653 Fixed javadocs all over.
3654 (ComponentInputMap): Implemented.
3658 (SetParent): Likewise.
3659 (getComponent): Likewise.
3660 * javax/swing/InputMap.java:
3661 Fixed javadocs all over.
3662 (serialVersionUID): Made private.
3663 (parent): Don't explicitely initialize with default value.
3665 (keys): Reimplemented.
3666 (allKeys): Likewise.
3667 (convertSet): Removed.
3669 2004-07-21 Michael Koch <konqueror@gmx.de>
3671 * javax/swing/ActionMap.java,
3672 javax/swing/ComponentInputMap.java,
3673 javax/swing/InputMap.java,
3674 javax/swing/table/DefaultTableColumnModel.java,
3675 javax/swing/table/TableColumn.java,
3676 javax/swing/table/TableColumnModel.java,
3677 javax/swing/table/TableModel.java,
3678 javax/swing/text/AbstractDocument.java,
3679 javax/swing/text/TextAction.java:
3682 2004-07-21 Graydon Hoare <graydon@redhat.com>
3684 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3685 Make method non-static.
3686 * javax/swing/AbstractButton.java:
3687 Rename fields to match property names where possible.
3688 (iconTextGap): New property.
3689 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3690 (init) New method, call from after various constructors.
3691 * javax/swing/JComponent.java (revalidate):
3692 Invalidate before queueing repair.
3693 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3694 Reimplement in terms of visibleRowCount property.
3695 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3696 * javax/swing/JScrollPane.java (createScrollListener):
3697 Remove tracing chatter.
3698 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3699 * javax/swing/RepaintManager.java (addInvalidComponent):
3701 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3703 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3704 Mimic sun behavior on top left/right positioning.
3705 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3706 Remove mistaken use of preferredScrollableViewportSize here.
3707 (layoutContainer): Use view's preferred size as basis.
3708 * javax/swing/plaf/basic/BasicButtonUI.java:
3709 Set, get, and use textIconGap property.
3710 (paint) Paint text returned from layout (with ellipsis).
3711 * javax/swing/plaf/basic/BasicListUI.java:
3712 Remove tracing chatter, correct various minor calculations.
3713 (getCellBounds): Update layout state before calculating.
3714 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3715 Use margin default similar to sun's.
3716 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3717 (createIncreaseIcon): Center icon, minimize margins.
3718 (createDecreaseIcon): Likewise.
3719 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3721 (installUI): Call it.
3722 (uninstallDefaults): Implement.
3723 (uninstallUI): Call it.
3724 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3725 Call existing Window constructor.
3726 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3727 Set clip before painting.
3729 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3731 * javax/swing/JMenuItem.java:
3732 (processMouseEvent): Reimplemented to deal with
3734 (createMenuDragMouseEvent): New private helper method.
3735 Creates MenuDragMouseEvent.
3736 * javax/swing/MenuSelectionManager.java
3737 (componentForPoint): Implemented.
3738 (isComponentPartOfCurrentMenu): Made public.
3739 (processMouseEvent): Reimplemented to deal with
3741 (setSelectedPath): Corrected small mistake that caused
3742 path to be set incorrectly.
3743 (getPath): If given component is JMenu then also add this
3744 menu's popup menu to the selected path.
3745 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3747 (getPreferredSize): Call getPreferredMenuItemSize().
3748 (getPreferredItemSize): Moved code from getPreferredSize to here.
3749 (installListeners): Install MouseMotionListeners.
3750 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3751 if mouse wasn't released in the bounds of this menu item.
3752 (MenuDragMouseHandler): Implemented.
3753 * javax/swing/plaf/basic/BasicMenuUI.java:
3754 (installListeners): Install MouseMotionListener and
3755 MenuDrageMouseListener.
3756 (MenuDragMouseHandler): Implemented.
3757 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3758 (uninstallListeners): Implemented.
3760 2004-07-21 Michael Koch <konqueror@gmx.de>
3762 * javax/swing/JCheckBox.java: Reformated.
3763 (JCheckBox): Fixed all constructors.
3764 (isBorderPaintedFlat): New method.
3765 (setBorderPaintedFlat): New method.
3766 * javax/swing/JEditorPane.java
3767 (createEditorKitForContentType): Made public.
3768 (scrollToReference): Likewise.
3769 * javax/swing/JTextArea.java
3770 (setLineWrap): Fire property change.
3771 * javax/swing/JToggleButton.java
3772 (JToggleButton): New constructor.
3773 (JToggleButton): Simplified.
3774 * javax/swing/text/AttributeSet.java
3775 (FontAttribute): Renamed from FontCharacterAttribute.
3776 * javax/swing/text/JTextComponent.java
3777 (KeyBinBinding): Added javadoc.
3778 (JTextComponent): Likewise.
3779 (getAccessibleContext): Fixed javadoc.
3780 * javax/swing/text/View.java
3781 (View): Added javadoc.
3782 * javax/swing/text/TabableView.java: New file.
3783 * Makefile.am: Added javax/swing/text/TabableView.java.
3784 * Makefile.in: Regenerated.
3786 2004-07-21 Graydon Hoare <graydon@redhat.com>
3788 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3789 * gnu/java/awt/peer/gtk/GtkToolkit.java
3790 (GtkErrorImage): New helper class.
3791 (bufferedImageOrError): New helper method.
3792 (createImage): Use it.
3794 2004-07-21 David Jee <djee@redhat.com>
3796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3797 (setCaretPosition): Scroll the text view so the new caret position
3798 is visible on screen.
3800 2004-07-21 David Jee <djee@redhat.com>
3802 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3803 (setBounds): Do not validate awtComponent here.
3804 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3805 (getPreferredSize): New method.
3806 * java/awt/ScrollPane.java
3807 (ScrollPane): Set default size to 100x100.
3808 (addNotify): If child is not a Panel, wrap it with a new Panel.
3809 (paramString): Implement.
3811 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3813 * javax/swing/JMenu.java:
3814 (setSelected): Display popup menu only if this menu
3815 is showing on the screen.
3816 * javax/swing/JPopupMenu.java:
3817 (processMouseEvent): Added comment.
3818 (processKeyEvent): Likewise.
3819 * javax/swing/MenuSelectionManager.java:
3820 (clearSelectedPath): Only fireStateChanged() after
3821 selected path was changed, not before.
3822 (setSelectedPath): Likewise.
3823 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3824 (paintMenuItem): Corrected position of menu item's
3826 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3827 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3828 (popupMenuCanceled): Reimplemented.
3829 (popupMenuWillBecomeVisible): Select first menu item by default
3830 when displaying free floating popup menus.
3831 (TopWindowListener): Reimplemented.
3833 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3835 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3836 Panel from being painted twice when it is first shown.
3838 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3840 * java/awt/Window.java: Reverted changes from my
3841 previous patch for creating window without an owner.
3842 * javax/swing/SwingUtilities.java:
3843 (SwingUtilities.OwnerFrame): made static.
3844 (OwnerFrame.setVisible): New method. Overridden with
3845 empty implementation.
3846 (OwnerFrame.isShowing): New method. Ovverridden
3847 to return always true.
3849 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3851 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3852 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3853 (GtkComponentPeer): Remove temporary try/catch block.
3854 (setVisible): Call show and hide.
3855 (show): Make native.
3857 (getArgs): Don't add "visible" argument.
3858 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3859 (property_notify_predicate): Return Bool instead of int.
3860 (find_layout): New function.
3861 (connectJObject): Call find_layout.
3862 (connectSignals): Likewise.
3863 (moveLayout): Likewise.
3864 (gtkLayoutSetVisible): Likewise.
3866 2004-07-21 Mark Wielaard <mark@klomp.org>
3868 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3869 on notifier object before calling notifyAll().
3871 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3873 * java/awt/Window.java: Changed constructors to use new
3874 method that is described below. Constructors call this
3875 methods only if newly created window should have an owner.
3876 (setWindowOwner): New method. Implementation for
3877 this method is moved from this(owner,configuration).
3878 * javax/swing/JWindow.java:
3879 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3881 * javax/swing/SwingUtilities.java:
3882 (ownerFrame): Change type of this field to OwnerFrame.
3883 (getOwnerFrame): Changed to return object of type OwnerFrame.
3884 (SwingUtilities.OwnerFrame): New class. Represents owner
3885 of a Window that is not provided with one.
3887 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3889 * javax/swing/AbstractButton.java:
3890 (configurePropertiesFromAction): Set action command
3891 to button's text by default if action command is not
3892 explicitely specified.
3893 * javax/swing/JMenu.java: Remove unnecessary listener
3894 and methods relevant to it.
3895 (setSelected): Reimplemented.
3896 (menuSelectionChanged): Moved most part of implementation to
3897 setSelected() and call it instead.
3898 * javax/swing/JMenuItem.java:
3899 (init): Comment out statement that sets paint_border to false.
3900 (configurePropertiesFromAction): Do not set accelerator
3902 (menuSelectionChanged): Change selected index in the selection
3903 model of menu item's parent.
3904 * javax/swing/JPopupMenu.java:
3905 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3906 instead of GridBagConstraints.HORIZONTAL.
3908 (createActionChangeListener): Implemented.
3909 (setVisible): Correct location of HeavyWeightMenu and
3910 don't firePopupMenuCanceled().
3911 (menuSelectionChanged): Implemented.
3912 (ActionChangeListener): New Listener. Implemented.
3913 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3914 (BasicMenuBarUI.ContainerHandler): Implemented.
3915 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3916 (paintMenuItem): Uncommented out code that paints
3917 icon, now that icons are working properly.
3918 (PropertyChangeListener): Implemented.
3919 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3921 (topWindowListener): New field.
3922 (Constructor): initialize topWindowListener.
3923 (BasicPopupMenuUI.TopWindowListener): Implemented.
3924 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3925 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3928 2004-07-21 Michael Koch <konqueror@gmx.de>
3930 * javax/swing/plaf/basic/BasicButtonUI.java
3931 (paintFocus): Fixed method signature.
3932 (paintButtonPressed): Likewise.
3933 (paintButtonNormal): Likewise.
3934 (paintText): New method.
3935 * javax/swing/plaf/basic/BasicLabelUI.java
3936 (paint): Re-indented.
3937 * javax/swing/plaf/basic/BasicTextUI.java
3938 (installUI): Set parent textComponent to opaque.
3939 * javax/swing/text/DefaultHighlighter.java
3940 (checkPositions): New helper method.
3941 (addHighlight): Throws BadLocationException, check positions.
3942 (changeHighlight): Likewise.
3943 * javax/swing/text/EditorKit.java
3944 (EditorKit): Implements Serializable.
3945 * javax/swing/text/JTextComponent.java
3946 (getUI): Added javadoc.
3948 (upadteUI): Added javadoc, don't revalidate and repaint.
3950 2004-07-21 David Jee <djee@redhat.com>
3952 * java/awt/GridBagLayout.java
3953 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3954 * javax/swing/AbstractButton.java
3955 (setText): Reindent.
3956 * javax/swing/RepaintManager.java
3957 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3959 2004-07-21 Michael Koch <konqueror@gmx.de>
3961 * javax/swing/JFormattedTextField.java
3963 (JFormattedTextField): Implemented.
3964 (getValue): Likewise.
3965 (setValue): Likewise.
3966 * javax/swing/LookAndFeel.java
3967 (getSupportsWindowDecorations): New method.
3968 * javax/swing/UIDefaults.java:
3969 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3970 (addPropertyChangeListener): Made public.
3971 (addResourceBundle): Likewise.
3972 (removeResourceBundle): Likewise.
3973 (setDefaultLocale): Likewise.
3974 * javax/swing/plaf/basic/BasicRootPaneUI.java
3975 (BasicRootPaneUI): Implements PropertyChangeListener.
3976 (propertyChange): New method.
3977 * javax/swing/plaf/basic/BasicTextUI.java
3978 (BasicHighlighter): New inner class.
3979 (createHighlighter): New method.
3980 * javax/swing/plaf/basic/BasicToolBarUI.java
3981 (DragWindow): Extends java.awt.Window.
3982 * javax/swing/text/JTextComponent.java
3983 (getDocument): Removed debug output.
3984 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3985 javax/swing/text/DefaultHighlighter.java,
3986 javax/swing/text/FieldView.java,
3987 javax/swing/text/PlainView.java: New files.
3988 * Makefile.am: Added new files.
3989 * Makefile.in: Regenerated.
3991 2004-07-21 Michael Koch <konqueror@gmx.de>
3993 * javax/swing/JEditorPane.java
3994 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3995 (createEditorKitForContentType): Likewise.
3996 * javax/swing/text/DefaultEditorKit.java
3997 (serialVersionUID): Added constant field.
3998 (EndOfLineStringPropery): Fixed typo.
3999 (DefaultEditorKit): New constructor.
4000 * javax/swing/text/Segment.java:
4001 Import java.text.CharacterIterator.
4002 * javax/swing/text/CharacterIterator.java,
4003 javax/swing/text/PlainEditorKit.java: Removed.
4004 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
4005 javax/swing/text/PlainEditorKit.java.
4006 * Makefile.in: Regenerated.
4008 2004-07-21 Michael Koch <konqueror@gmx.de>
4010 * javax/swing/JButton.java,
4011 javax/swing/text/DefaultEditorKit.java,
4012 javax/swing/text/EditorKit.java,
4013 javax/swing/text/Segment.java,
4014 javax/swing/text/StyledEditorKit.java:
4017 2004-07-21 Michael Koch <konqueror@gmx.de>
4019 * javax/swing/ImageIcon.java
4021 (description): Renamed from descr.
4022 (ImageIcon): Added missing constructors.
4023 (setParent): Removed.
4024 (setImageObserver): New method.
4025 (getImageObserver): New method.
4026 (paintIcon): Handle observer = null.
4027 * javax/swing/JButton.java
4028 (removeNotify): Fixed javadoc.
4029 (updateUI): Simplified.
4030 * javax/swing/JRootPane.java
4031 (serialVersionUID): New constant field.
4032 * javax/swing/UIManager.java:
4033 Fixed javadocs all over.
4034 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
4035 * javax/swing/text/AbstractDocument.java
4036 (createPosition): Throws BadLocationException.
4037 (getText): Likewise.
4039 * javax/swing/text/ComponentView.java
4040 (modelToView): Likewise.
4041 * javax/swing/text/DefaultEditorKit.java:
4042 Made all public methods public.
4043 (read): Throws BadLocationException and IOException.
4045 * javax/swing/text/EditorKit.java:
4046 Made all public methods public.
4047 (serialVersionUID): New constant field.
4048 (clone): New method.
4049 (read): Throws BadLocationException and IOException.
4051 * javax/swing/text/Segment.java
4052 (array): Made public.
4055 (Segment): New constructors.
4056 (clone): Reimplemented.
4057 * javax/swing/text/StyledEditorKit.java
4058 (serialVersionUID): New constant field.
4060 2004-07-21 Graydon Hoare <graydon@redhat.com>
4062 * java/awt/image/BufferedImage.java
4063 (getSource): Implement.
4064 * javax/swing/ImageIcon.java
4065 (ImageIcon): Implement ctor.
4066 * javax/swing/ScrollPaneLayout.java
4067 (preferredLayoutSize): Be more careful about nulls.
4069 2004-07-21 Michael Koch <konqueror@gmx.de>
4071 * javax/swing/text/AttributeSet.java
4072 (CharacterAttribute): New interface
4073 (ColorAttribute): Likewise.
4074 (FontCharacterAttribute): Likewise.
4075 (ParagraphAttribute): Likewise.
4076 * javax/swing/text/DefaultCaret.java
4077 (moveCaret): New method.
4078 (positionCaret): Likewise.
4079 (repaint): Made protected.
4080 * javax/swing/text/JTextComponent.java
4081 (KeyBinding): Made it static.
4082 * javax/swing/text/View.java
4083 (getContainer): Honor parent == null.
4085 2004-07-21 Michael Koch <konqueror@gmx.de>
4087 * javax/swing/text/AbstractDocument.java:
4090 2004-07-21 Michael Koch <konqueror@gmx.de>
4092 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4093 Import javax.swing.UIManager explicitely.
4094 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4095 (ScrollingButton): Made it static.
4097 2004-07-21 Michael Koch <konqueror@gmx.de>
4099 * javax/swing/UIDefaults.java
4100 (ActiveValue): Made public.
4101 (LazyValue): Likewise.
4102 * javax/swing/plaf/basic/BasicTextUI.java
4103 (RootView): Reintroduced.
4105 (rootView): New field.
4106 (installUI): Create document if needed, initialize rootView.
4107 (uninstallUI): Hanle rootView.
4109 (getRootView): Likewise.
4110 (setView): Likewise.
4111 * javax/swing/text/DefaultCaret.java:
4112 Renamed all "evt" variables to "event".
4114 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4116 * libgcj.spec.in: Add -l-java-util-logging.
4118 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
4120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4121 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
4122 gtk-xft-dpi can no calculate the right value.
4123 (dpi_changed_cb): Mark *pspec as unsused.
4125 2004-07-21 David Jee <djee@redhat.com>
4127 * java/awt/Component.java
4128 (move): Delegate to setBounds().
4130 (reshape): Fix so it repaints parent and self only when necessary.
4132 2004-07-21 David Jee <djee@redhat.com>
4134 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4135 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4136 (GtkComponentPeer): Revert previous patch from 2004-06-22.
4137 (setVisible): Likewise.
4140 (getArgs): Likewise.
4141 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4142 (property_notify_predicate): Likewise.
4143 (find_layout): Likewise.
4144 (connectJObject): Likewise.
4145 (connectSignals): Likewise.
4146 (moveLayout): Likewise.
4147 (gtkLayoutSetVisible): Likewise.
4149 2004-07-21 Graydon Hoare <graydon@redhat.com>
4155 (rmiregistry_LDADD): Add lib-java-util-logging.la
4156 * Makefile.in: Regenerate.
4158 2004-07-21 Michael Koch <konqueror@gmx.de>
4160 * javax/swing/text/AbstractDocument.java
4161 (replace): Dont use protected method of java.util.Vector directly.
4163 2004-07-21 Michael Koch <konqueror@gmx.de>
4165 * javax/swing/plaf/basic/BasicTextUI.java
4166 (installUI): Call specialized install methods.
4167 (installDefaults): New method.
4168 (installListeners): Likewise.
4169 (installKeyboardActions): Likewise.
4170 (uninstallUI): Likewise.
4171 (uninstallDefaults): New method.
4172 (uninstallListeners): Likewise.
4173 (uninstallKeyboardActions): Likewise.
4174 (getPropertyPrefix): New abstract method.
4175 (paint): Made final, just call paintSafely().
4176 (paintSavely): New method.
4177 (paintBackground): Likewise.
4178 (getVisibleEditorRect): Likewise.
4179 * javax/swing/text/LayeredHighlighter.java,
4180 javax/swing/text/TabExpander.java: New files.
4181 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4182 and javax/swing/text/TabExpander.java.
4183 * Makefile.in: Regenerated.
4185 2004-07-21 Michael Koch <konqueror@gmx.de>
4187 * javax/swing/plaf/basic/BasicTextUI.java
4188 (BasicTextUI): Made abstract.
4189 (BasicCaret): New inner class.
4190 (view): Don't explicitely initialize with "null".
4191 (textComponent): New field.
4192 (textColor): Removed.
4193 (disabledTextColor): Removed.
4194 (normalBackgroundColor): Removed.
4195 (RootView): Removed commented out inner class.
4196 (createUI): Removed.
4197 (createCaret): New method.
4198 (getComponent): Likewise.
4199 (installUI): Initialize textComponent only.
4200 (getPreferredSize): Use installed JTextComponent.
4201 (setView): New method.
4203 * javax/swing/text/JTextComponent.java
4204 (highlighter): New field.
4205 (caretColor): Likewise.
4206 (disabledTextColor): Likewise.
4207 (seletedTextColor): Likewise.
4208 (selectionColor): Likewise.
4209 (setUI): New method.
4210 (getCaretColor): Likewise.
4211 (setCaretColor): Likewise.
4212 (getDisabledColor): Likewise.
4213 (setDisabledColor): Likewise.
4214 (getSelectedTextColor): Likewise.
4215 (setSelectedTextColor): Likewise.
4216 (getSelectionColor): Likewise.
4217 (setSelectionColor): Likewise.
4218 (getHighlighter): Likewise.
4219 (setHighlighter): Likewise.
4220 (replaceSelection): Likewise.
4222 2004-07-21 Michael Koch <konqueror@gmx.de>
4224 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4225 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4226 * javax/swing/plaf/basic/BasicToolBarUI.java
4227 (BasicToolBarUI): Implements SwingConstants.
4229 2004-07-21 Michael Koch <konqueror@gmx.de>
4231 * javax/swing/JPopupMenu.java: Removed CVS tags.
4232 * javax/swing/UIDefaults.java: Reformatted.
4233 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4234 Explicitely import used classes.
4236 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4238 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4239 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4240 (GtkComponentPeer): Remove temporary try/catch block.
4241 (setVisible): Call show and hide.
4242 (show): Make native.
4244 (getArgs): Don't add "visible" argument.
4245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4246 (property_notify_predicate): Return Bool instead of int.
4247 (find_layout): New function.
4248 (connectJObject): Call find_layout.
4249 (connectSignals): Likewise.
4250 (moveLayout): Likewise.
4251 (gtkLayoutSetVisible): Likewise.
4253 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4255 * javax/swing/AbstractButton.java:
4256 (setDisplayedMnemonicIndex): Check if button
4257 text is not null before checking its length.
4258 * javax/swing/JMenuItem.java:
4259 (processMouseEvent): Disarm menu item if mouse has
4261 * javax/swing/plaf/basic/BasicMenuUI.java:
4262 (MouseInputHandler.mouseEntered): Do not raise
4263 popup menu if this menu is already selected.
4264 (MouseInputHandler.mousePressed): Do not fire
4266 (MenuHandler): Implemented.
4268 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4270 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4271 (getSelectedObjects): Implemented.
4272 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4273 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4274 Added javadoc for few methods.
4275 (processMouseEvent): Made public.
4276 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4277 (processMouseEvent): Likewise.
4279 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4281 * javax/swing/AbstractButton.java:
4282 (init): Set display mnemonic index to -1.
4283 (setMnemonic(char)): Use setMnemonic(int).
4284 (setMnemonic(int)): Set display mnemonic index.
4285 (getDisplayedMnemonicIndex): Change method signature
4286 by removing 'index' parameter.
4287 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4288 Added default for Menu.selectionBackground.
4289 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4290 (paintMenuItem): Change background color of the selected
4292 (paintText): Paint differently when menu item is disabled.
4293 Also paint mnemonic if it appears in the menu item's label.
4294 (paintAccelerator): Paint accelerator differently
4295 if menu item is disabled.
4296 * javax/swing/plaf/basic/BasicMenuUI.java:
4297 (installDefaults): Install defaults for
4298 selectionForeground and selectionBackground.
4299 (uninstallDefaults): Uninstall defauls for
4300 selectionForeground and selectionBackground.
4302 2004-07-21 Michael Koch <konqueror@gmx.de>
4304 * javax/swing/text/AbstractDocument.java
4305 (BranchElement): Implemented.
4306 (LeafElement): Implemented.
4307 * javax/swing/text/DefaultCaret.java:
4308 Import used classes.
4309 (serialVersionUID): New constant.
4310 * javax/swing/text/JTextComponent.java
4311 (AccessibleJTextComponent): Removed dead declaration.
4312 (caretPos): Removed.
4313 (setCaret): New method.
4314 * javax/swing/text/PlainDocument.java
4315 (rootElement): New field.
4316 (PlainDocument): Initialize rootElement.
4317 (createDefaultRoot): New method.
4318 (getDefaultRootElement): Implemented.
4319 * javax/swing/text/View.java: Reformatted.
4320 * javax/swing/text/ViewFactory.java
4321 (create): Added javadoc.
4323 2004-07-21 Michael Koch <konqueror@gmx.de>
4325 * javax/swing/ToolTipManager.java: Reformatted.
4327 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4329 * javax/swing/AbstractButton.java
4330 (changeEvent): New field.
4331 (fireItemStateChanged): Change source of the event
4332 to 'this' before firing it to button listeners.
4333 (fireActionPerformed): Likewise.
4334 (fireStateChanged): Likewise.
4335 (createActionListener): Do not set source
4336 of the event to AbstractButton.
4337 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4338 (ContainerHandler.componentAdded): Removed
4339 print out statement.
4340 (ContainerHandler.componentRemoved): Likewise.
4342 2004-07-21 Michael Koch <konqueror@gmx.de>
4344 * javax/swing/text/Highlighter.java: New file.
4345 * Makefile.am: Added javax/swing/text/Highlighter.java.
4346 * Makefile.in: Regenerated.
4348 2004-07-21 Michael Koch <konqueror@gmx.de>
4350 * javax/swing/ToolTipManager.java
4351 (stillInsideTimerAction): Fixed constructor arguments.
4352 (outsideTimerAction): Likewise.
4353 (insideTimerAction): Likewise.
4355 2004-07-21 Michael Koch <konqueror@gmx.de>
4357 * javax/swing/JButton.java: Reformatted.
4358 * javax/swing/JFormattedTextField.java
4359 (getUIClassID): Implemented.
4360 * javax/swing/JRootPane.java
4361 (serialVersionUID): New constant.
4362 * javax/swing/JTextField.java
4364 (JTextField): Simplified.
4365 (getUIClassID): New method.
4366 (getActionListeners): Added @since tag.
4367 (setColumns): Invalidate layout and repaint.
4368 (getHorizontalAlignment): New method.
4369 (setHorizontalAlignment): New method.
4370 (selectAll): Removed.
4371 * javax/swing/SwingUtilities.java
4372 (getAncestorOfClass): Removed redundant @see tag.
4373 (isLeftMouseButton): Fixed implementation.
4374 (isMiddleMouseButton): Likewise.
4375 (isRightMouseButton): Likewise.
4376 * javax/swing/text/AbstractDocument.java
4377 (AttributeContext.addAttribute): New method.
4378 (AttributeContext.addAttributes): New method.
4379 (AttributeContext.getEmptySet): New method.
4380 (AttributeContext.reclaim): New method.
4381 (AttributeContext.removeAttribute): New method.
4382 (AttributeContext.removeAttributes): New method.
4383 * javax/swing/text/Document.java
4384 (createPosition): Throws BadLocationException.
4385 (getText): Likewise.
4387 * javax/swing/text/JTextComponent.java
4388 (getText): Return null if no document is set. Catch
4389 BadLocationException.
4391 (updateUI): Simplified.
4393 2004-07-21 Michael Koch <konqueror@gmx.de>
4395 * javax/swing/JButton.java
4396 (removeNotify): Fixed javadoc.
4397 (updateUI): Simplified.
4399 2004-07-21 David Jee <djee@redhat.com>
4401 * gnu/java/awt/image/ImageDecoder.java
4402 (startProduction): Only add consumer if it's not added yet.
4403 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4404 (GdkPixbufDecoder): Don't call initState() here.
4405 (produce): Call initState() here, to ensure area_prepared and
4406 area_updated signals are properly connected.
4407 * gnu/java/awt/peer/gtk/GtkImage.java
4408 (setColorModel): Use equals() to compare ColorModel objects.
4409 (setPixels): Likewise.
4410 * java/awt/image/ColorModel.java
4411 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4412 * java/awt/image/RGBImageFilter.java
4413 (setColorModel): Set consumer's color model.
4414 (setPixels): Use equals() to compare ColorModel objects.
4416 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4418 * java/net/URLConnection.java (position): New field.
4419 (dateFormat1, dateFormat2, dateFormat3): Removed.
4420 (dateFormats): New field.
4421 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4422 each time instead of re-allocating.
4423 (initializeDateFormats): Initialize 'dateFormats'.
4425 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4428 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4431 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4433 * java/net/Socket.java (getImpl): Now private. Remove comment.
4435 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4437 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4438 of chained Writer when calling super-constructor.
4439 * java/io/FilterWriter.java (FilterWriter): Likewise.
4440 * java/io/PrintWriter.java (PrintWriter): Likewise.
4442 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4444 * prims.cc (process_gcj_properties): Don't increment i within LHS
4447 2004-07-19 Per Bothner <per@bothner.com>
4449 Print -verbose:message on "loading", not initialization.
4450 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4451 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4452 gcj::verbose_class_flag.
4453 * java/lang/natClass.cc (initializeClass): Don't print message here.
4454 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4455 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4456 (_Jv_PrepareCompiledClass): Likewise.
4458 2004-07-18 Matthias Klose <doko@debian.org>
4460 * configure.in: Substitute target_noncanonical.
4461 * configure: Regenerate
4463 2004-07-17 Michael Koch <konqueror@gmx.de>
4465 * java/lang/String.java: Fixed javadocs all over.
4467 2004-07-17 Mark Wielaard <mark@klomp.org>
4469 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4470 when size is smaller.
4471 * java/io/RandomAccessFile.java (setLength): Use truncate for
4472 shrinking the file and seek plus write for expanding the file.
4474 2004-07-17 Michael Koch <konqueror@gmx.de>
4476 * gnu/java/nio/channels/natFileChannelPosix.cc
4477 (implTruncate): Always save current position. Only reposition file
4478 pointer to where we started if not beyond new lenght. Reposition file
4479 pointer to file length if it points beyond the end of file.
4481 2004-07-17 Mark Wielaard <mark@klomp.org>
4483 * javax/swing/Box.java: Put FIXME comment above class declaration.
4484 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4485 * javax/swing/JCheckBox.java: Likewise.
4486 * javax/swing/JDialog.java: Likewise.
4487 * javax/swing/JRadioButton.java: Likewise.
4488 * javax/swing/JToggleButton.java: Likewise.
4489 * javax/swing/UIManager.java: Likewise.
4490 * javax/swing/border/TitledBorder.java: Likewise.
4491 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4492 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4493 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4494 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4495 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4496 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4497 * javax/swing/text/JTextComponent.java: Likewise.
4499 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4501 * java/net/DatagramPacket.java (setAddress): Removed check for
4504 2004-07-17 Michael Koch <konqueror@gmx.de>
4506 * java/net/DatagramSocket.java
4507 (getLocalAddress): Check if socket is bound or not.
4508 * java/net/Socket.java
4509 (getLocalAddrss): Check if socket is bound or not.
4510 (getPort): Return -1 when not connected. Dont check getImpl() for
4512 (setReuseAddress): Check if socket is closed.
4513 (isConnected): Check if getImpl() returns null.
4515 2004-07-17 Mark Wielaard <mark@klomp.org>
4517 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4518 on notifier object before calling notifyAll().
4520 2004-07-17 Michael Koch <konqueror@gmx.de>
4522 * gnu/java/nio/channels/FileChannelImpl.java
4523 (finalize): Added javadoc.
4525 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4527 * java/text/CollationElementIterator.java
4528 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4529 (setText): Use ArrayList instead of Vector.
4531 2004-07-17 Michael Koch <konqueror@gmx.de>
4533 * java/nio/ByteOrder.java
4534 (static): Removed. Not needed.
4535 Thanks to Patrick Reali for noticing.
4536 * java/nio/charset/CharsetDecoder.java
4537 (decode): Fix for classpath bug #9177: Reset state before flipping.
4539 2004-07-17 Michael Koch <konqueror@gmx.de>
4541 * java/security/Security.java: Fixed javadocs all over.
4543 2004-07-17 Michael Koch <konqueror@gmx.de>
4545 * gnu/java/awt/EmbeddedWindow.java
4547 (addNotify): Set peer via reflection.
4548 (setWindowPeer): Removed.
4549 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4550 * Makefile.am (nat_source_files):
4551 Removed gnu/java/awt/natEmbeddedWindow.cc.
4552 * Makefile.in: Regenerated.
4554 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4556 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4558 * configure: Regenerated.
4560 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4562 * configure.in: Use build_noncanonical rather than build_alias.
4563 * configure: Rebuild.
4565 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4566 by logic refactoring. Move default definition of NATIVE closer
4567 to first alternate definition.
4568 * configure: Regenerate.
4570 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4571 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4572 gcj/Makefile.in: Regenerate.
4573 * configure.in: Set ZIP and GCJH. Remove redundant condition
4574 in AM_CONDITIONAL(NATIVE,...)
4575 * configure: Regenerate.
4577 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4579 * configure.in: Use target_noncanonical rather than
4580 target_alias for forward-compatibility with autoconf 2.59.
4581 * configure: Regenerate.
4582 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4583 testsuite/Makefile.am: Substitute target_noncanonical.
4584 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4585 testsuite/Makefile.in: Regenerate.
4587 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4588 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4589 * acinclude.m4: Include acx.m4.
4590 * aclocal.m4: Regenerate.
4591 * configure: Regenerate.
4593 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4596 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4597 (decimalFormat): New static variable.
4599 (getTime): New. Override Date.getTime().
4600 (toString): Synchronize. Use decimalFormat to format nanos value
4601 correctly. Truncate extra zeros.
4602 (before): Compare getNanos() only if getTime() is equal.
4605 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4607 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4608 * configure.in: ...here.
4609 * aclocal.m4: Regenerate.
4610 * configure: Regenerate.
4612 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4613 * configure: Rebuilt with autoconf 2.13.
4614 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4615 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4617 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4620 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4622 * Makefile.in: Rebuilt.
4623 * testsuite/libjava.lang/LargeFile.java: New test case.
4624 * testsuite/libjava.lang/LargeFile.out: New file.
4626 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4628 * java/beans/EventHandler.java: Remove debugging statements.
4630 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4632 * java/beans/EventHandler.java: New file.
4633 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4634 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4635 testsuite/Makefile.in: Regenerate.
4637 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4639 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4640 flag to the gcj_setup.
4641 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4643 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4644 deprecation flag change. 58 XFAILS removed.
4646 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4648 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4649 -fno-use-divide-subroutine.
4650 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4651 (HANDLE_FPE): Define.
4652 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4653 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4654 (HANDLE_DIVIDE_OVERFLOW): Define.
4656 2004-07-14 Michael Koch <konqueror@gmx.de>
4657 Matthias Klose <doko@debian.org>
4659 * java/awt/im/InputContext.java: Initialize in, line.
4661 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4663 * interpret.cc (run): Correctly access libffi return values of
4664 integral smaller-than-int type; these are implicitly promoted.
4666 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4669 * interpret.cc (compile_mutex): New.
4670 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4671 (run): Lock compile_mutex before calling compile() if compilation is
4673 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4674 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4676 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4679 * include/jvm.h (_Jv_value): New union type.
4680 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4681 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4684 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4686 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4687 * gnu/awt/xlib/XOffScreenImage.java
4688 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4689 constructor argument. Add constructor using ImageProducer.
4690 (getSource): Implement.
4691 (imageComplete): New method.
4692 (setColorModel): New method.
4693 (setDimensions): New method.
4694 (setHints): New method.
4695 (setPixels): New method.
4696 (setProperties): New method.
4697 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4698 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4700 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4703 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4704 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4705 (finalizerReady): Now native.
4707 (runFinalizers): Removed.
4708 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4709 a primitive lock, and don't hold it while running the finalizers.
4710 (runFinalizers): Implement. Don't aquire any Java lock.
4711 (finalizerReady): Use lock primitives to signal finalizer thread.
4713 2004-07-11 Mark Wielaard <mark@klomp.org>
4715 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4716 * java/net/URLStreamHandler.java (parseURL): When url file part
4717 doesn't contain a '/' just ignore context.
4719 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4721 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4722 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4723 (MAKE_THROW_FRAME): Do not modify PSW address.
4724 (INIT_SEGV): Install SIGINFO-style signal handler.
4725 (INIT_FPE): Likewise.
4727 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4729 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4730 status. 21 xfail's removed, 1 added.
4732 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4734 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4736 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4738 * java/text/MessageFormat.java
4739 (formatInternal): Append "{n}" if argument n is unavailable.
4740 (format(Object, StringBuffer, FieldPosition)): This
4741 should be equivalent to format(Object[],
4742 StringBuffer, FieldPosition).
4744 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4746 * java.util.Calendar.java (cache): New private static field. Cached
4747 mappings of locales->calendar classes.
4748 (ctorArgTypes): New private static field. Singleton argument for
4749 calendar class constructor lookup.
4750 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4751 Optimize by bypassing reflection instantiation for the
4752 GregorianCalendar case.
4754 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4756 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4757 ResourceBundle.getBundle() calls.
4758 * java/util/GregorianCalendar.java: Likewise.
4759 * java/util/Currency.java: Likewise.
4760 * java/text/BreakIterator.java: Likewise.
4761 * java/text/Collator.java: Likewise.
4762 * java/text/DateFormat.java: Likewise.
4763 * java/text/DateFormatSymbols.java: Likewise.
4764 * java/text/DecimalFormatSymbols.java: Likewise.
4765 * java/text/NumberFormat.java: Likewise.
4766 * java/awt/Window.java: Likewise.
4768 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4770 * java/util/ResourceBundle.java (bundleCache): Renamed from
4771 resourceBundleCache. Update comments.
4772 (getObject): Don't catch MissingResourceException.
4773 (getBundle(String)): Remove 'final'. Use system classloader if
4774 getCallingClassLoader returned null.
4775 (getBundle(String, Locale)): Likewise.
4776 (BundleKey): New private class. HashMap key for bundle cache lookup.
4777 (lookupKey): New. Singleton instance of BundleKey.
4778 (nullEntry): New. Cache entry to represent failed lookups.
4779 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4780 caching strategy, no-allocation lookup, and new tryBundle methods.
4781 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4782 name using given classloader.
4783 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4784 baseName for given Locale and attempt to load bundle.
4786 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4788 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4789 illegal protected method calls.
4791 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4793 Fix or remove some bogus test cases.
4794 * testsuite/libjava.compile/pr10459_2.java: Removed.
4795 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4797 * testsuite/libjava.compile/inner_data.java: Test against its own
4800 2004-07-09 Michael Koch <konqueror@gmx.de>
4802 * scripts/unicode-muncher.pl: Updated to version 2.1
4803 from GNU classpath. Added some clarifications on where to find the
4804 needed files from www.unicode.org.
4805 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4806 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4807 Removed, these can directly be downloaded from www.unicode.org if
4809 * gnu/java/lang/CharData.java: Regenerated.
4810 * include/java-chartables.h: Regenerated.
4811 * Makefile.am (ordinary_java_source_files):
4812 Removed gnu/java/lang/CharData.java.
4813 * Makefile.in: Regenerated.
4815 2004-07-09 Michael Koch <konqueror@gmx.de>
4817 * java/security/AccessControlContext.java,
4818 java/security/SecureClassLoader.java:
4821 2004-07-09 Michael Koch <konqueror@gmx.de>
4823 * java/io/ObjectInputStream.java (readFields): Use long datatype
4824 when shifting byte values more then 24 bits left.
4826 2004-07-09 Michael Koch <konqueror@gmx.de>
4828 * java/util/zip/DeflaterOutputStream.java,
4829 java/util/zip/GZIPInputStream.java,
4830 java/util/zip/GZIPOutputStream.java,
4831 java/util/zip/InflaterInputStream.java:
4832 Reformatted. Added javadocs. Reordered all stuff.
4833 Renamed variables to be more clear.
4835 2004-07-09 Michael Koch <konqueror@gmx.de>
4837 * javax/imageio/IIOException.java,
4838 javax/imageio/event/IIOReadProgressListener.java,
4839 javax/imageio/event/IIOReadUpdateListener.java,
4840 javax/imageio/event/IIOReadWarningListener.java,
4841 javax/imageio/event/IIOWriteProgressListener.java,
4842 javax/imageio/event/IIOWriteWarningListener.java:
4844 * Makefile.am: Added new files.
4845 * Makefile.in: Regenerated.
4847 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4849 * java/text/RuleBasedCollator.java
4850 (mergeRules): Use ArrayList instead of Vector.
4851 (subParseString): likewise.
4852 (parseString): likewise.
4853 (buildCollationVector): likewise.
4854 (getCollationKey): likewise.
4856 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4858 * java/text/DateFormat.java (parse):
4859 Improved javadoc. Improved exception message.
4861 2004-07-09 Mark Wielaard <mark@klomp.org>
4863 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4864 interrupted() method to clear interupt flag of our Thread.
4866 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4868 * java/nio/Buffer.java,
4869 java/nio/ByteBuffer.java,
4870 java/nio/ByteBufferHelper.java,
4871 java/nio/ByteBufferImpl.java,
4872 java/nio/CharBuffer.java,
4873 java/nio/CharBufferImpl.java,
4874 java/nio/CharViewBufferImpl.java,
4875 java/nio/DirectByteBufferImpl.java,
4876 java/nio/DoubleBuffer.java,
4877 java/nio/DoubleBufferImpl.java,
4878 java/nio/DoubleViewBufferImpl.java,
4879 java/nio/FloatBuffer.java,
4880 java/nio/FloatBufferImpl.java,
4881 java/nio/FloatViewBufferImpl.java,
4882 java/nio/IntBuffer.java,
4883 java/nio/IntBufferImpl.java,
4884 java/nio/IntViewBufferImpl.java,
4885 java/nio/LongBuffer.java,
4886 java/nio/LongBufferImpl.java,
4887 java/nio/LongViewBufferImpl.java,
4888 java/nio/MappedByteBufferImpl.java,
4889 java/nio/ShortBuffer.java,
4890 java/nio/ShortBufferImpl.java,
4891 java/nio/ShortViewBufferImpl.java:
4892 Fixed javadocs all over. Improved input error
4895 * java/nio/Buffer.java
4896 (checkForUnderflow, checkForOverflow, checkIndex,
4897 checkIfReadOnly, checkArraySize): New helper methods
4900 * java/nio/ByteBufferHelper.java
4901 (checkRemainingForRead, checkRemainingForWrite,
4902 checkAvailableForRead, checkAvailableForWrite): Removed
4903 no longer needed methods.
4905 2004-07-09 Michael Koch <konqueror@gmx.de>
4907 * gnu/regexp/CharIndexedInputStream.java:
4908 Reordered imports to match classpath.
4910 2004-07-09 Michael Koch <konqueror@gmx.de>
4912 * gnu/java/awt/EmbeddedWindow.java:
4913 Load native library for setWindowPeer method.
4915 2004-07-08 Randolph Chung <tausq@debian.org>
4917 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4918 * configure: Regenerate.
4919 * configure.host: Set can_unwind_signal for hppa*-linux.
4920 * include/pa-signal.h: New file.
4922 2004-07-07 Per Bothner <per@bothner.com>
4924 * Makefile.am: Add rules to build libgij from just gij.cc.
4926 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4927 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4928 (initializeClass): If verbose_class_flag, print message.
4929 * gij.cc (main): Handle -verbose:class flag.
4931 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4933 * configure.host: Enable hash synchronization on Darwin.
4934 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4935 ';', since this is a comment on Darwin.
4936 (compare_and_swap_release): Likewise.
4938 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4940 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4941 file portion of URL in addition to spec for file: protocol.
4943 2004-07-05 Anthony Green <green@redhat.com>
4945 * java/io/File.java (toURI): Merge from Classpath.
4947 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4949 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4950 before passing to URL constructor. Rethrow any MalformedURLException
4951 as a RuntimeException. Catch MalformedURLException specifically, not
4954 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4956 * java/util/Locale.java (readObject): Intern strings read from object
4959 2004-07-04 Michael Koch <konqueror@gmx.de>
4961 * gnu/gcj/runtime/FirstThread.java,
4962 gnu/gcj/runtime/natFirstThread.cc: Removed.
4963 * gnu/java/lang/MainThread.java,
4964 gnu/java/lang/natMainThread.cc: New files.
4965 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4966 * Makefile.am: Added new files and removed deleted ones.
4967 * Makefile.in: Regenerated.
4969 2004-07-03 Mark Wielaard <mark@klomp.org>
4970 Anthony Green <green@redhat.com>
4972 * java/net/URL.java (getFile): Clarify return value doc.
4973 (getPath): Return null if file is empty - not empty String.
4974 (set): Convert protocol to lower case before doing anything.
4975 Only change the protocol handler if it's different.
4977 2004-07-03 Anthony Green <green@redhat.com>
4979 * java/net/URL.java (URL): Convert protocol to lower case before
4980 doing anything, so we getURLStreamHandler() with the proper value.
4982 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4984 * java/util/Locale.java (hashcode): Made transient.
4985 (hashCode): No longer synchronized.
4986 (equals): Remove comment.
4987 (writeObject): No longer synchronized. Implement using writeObject
4988 calls instead of tweaking hashCode field. Update doc.
4989 (readObject): Implement using readObject calls.
4991 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4992 Andreas Tobler <a.tobler@schweiz.ch>
4994 * configure.host (powerpc-*-darwin*): New case, define
4996 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4997 * configure: Regenerate.
4998 * include/darwin-signal.h: New.
5000 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
5002 * java/beans/Statement.java (doExecute): Fix formatting.
5004 2004-06-29 Per Bothner <per@bothner.com>
5006 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
5007 etc etc): Remove needless parenthesis, which causes __stdcall__
5008 attribute on MinGW to get ignored.
5010 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
5012 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
5014 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
5016 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
5018 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
5020 * java/beans/Expression.java: New file.
5021 * java/beans/Statement.java: New file.
5022 * Makefile.am: Added new files.
5023 * Makefile.in: Re-generate.
5025 2004-06-27 Mark Wielaard <mark@klomp.org>
5027 * java/io/FilePermission.java (usingPerms): Removed.
5028 (actionsString): Made final.
5029 (cachePerms): Renamed to checkPerms.
5030 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
5032 (FilePermission): Check arguments, call checkPerms().
5033 (equals): Remove cachePerms() call.
5034 (implies): Likewise.
5036 2004-06-27 Mark Wielaard <mark@klomp.org>
5038 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
5040 (sendRequest): Use new field in user-agent http agent.
5042 2004-06-27 Mark Wielaard <mark@klomp.org>
5044 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
5045 when argument is null.
5047 2004-06-26 Mark Wielaard <mark@klomp.org>
5049 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5050 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
5052 (cancel_clicked): Likewise.
5054 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
5056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5057 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
5058 can not calculate the right value.
5059 (dpi_changed_cb): Likewise. Mark *pspec as unused.
5061 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
5063 * testsuite/libjava.jacks/jacks.xfail: Remove
5064 15.9.1-qualified-concrete-20.
5066 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5068 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
5069 encoding name to iconv.
5070 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5072 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
5075 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
5076 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
5077 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
5079 2004-06-21 Andrew Haley <aph@redhat.com>
5081 * java/io/ObjectOutputStream.java: Add DEBUG statements
5083 (dumpElementln): New method.
5085 * java/io/ObjectInputStream.java
5086 (currentClassLoader): Make native.
5087 (callersClassLoader): New field.
5089 (readObject): ENDBLOCKDATA is generated if the class has a write
5090 method, not if it has a read method.
5091 (readObject): Save and restore this.currentObject and
5092 this.currentObjectStreamClass around calls to callReadMethod().
5093 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
5096 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
5098 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
5101 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5103 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
5104 if desired, before the default class loader is initialised.
5105 Call INIT_SEGV only if HANDLE_SEGV is defined.
5107 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5109 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
5110 directory only if it actually exists.
5112 2004-06-18 Graydon Hoare <graydon@redhat.com>
5114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
5115 Fix up non-ansi comments.
5117 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
5119 * javax/swing/text/AbstractDocument.java: Adding missing import
5120 for javax.swing.event.EventListenerList.
5121 * javax/swing/text/DefaultCaret.java: Likewise.
5123 2004-06-17 Michael Koch <konqueror@gmx.de>
5125 * javax/swing/JToolBar.java
5127 (JToolBar): Use Component.setName(String) instead of doing it all
5129 * javax/swing/Timer.java
5130 (queueEvent): Added missing modifier.
5132 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
5134 * Makefile.am: Added new file.
5135 * Makefile.in: Re-generate.
5136 * javax/swing/JMenu.java:
5137 (insertSeparator): Implemented.
5138 * javax/swing/JPopupMenu.java:
5139 (JPopupMenu.Separator): Implemented.
5140 * javax/swing/MenuSelectionManager.java:
5141 (processMouseEvent): Use java.awt.Component
5142 for event source instead of javax.swing.JComponent.
5143 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
5144 New File. Implemented.
5146 2004-06-16 David Jee <djee@redhat.com>
5148 * java/awt/GridBagLayout.java
5149 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
5150 Make sure pos_x and pos_y are never negative.
5152 2004-04-16 Andrew Overholt <overholt@redhat.com>
5154 * Makefile.am: Add new file.
5155 * Makefile.in: Re-generate.
5156 * javax/swing/JToolBar.java
5157 Partially implemented.
5158 * javax/swing/plaf/basic/BasicToolBarUI.java
5159 New file. Partially implemented.
5161 2004-06-16 Graydon Hoare <graydon@redhat.com>
5163 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5164 (setComposite): Accept AlphaComposite arguments.
5165 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5166 (createBufferedImage): Add new overloads.
5167 * gnu/java/awt/peer/gtk/GtkToolkit.java
5168 (createImage): Use GdkPixbufDecoder.createBufferedImage
5169 when useGraphics2D() is true.
5170 (getImage): Delegate to createImage.
5171 * javax/swing/JList.java
5173 (getFirstVisibleIndex):
5174 (getLastVisibleIndex):
5176 (ensureIndexIsVisible): New methods.
5177 * javax/swing/Timer.java: Reimplement.
5179 2004-06-16 Michael Koch <konqueror@gmx.de>
5181 * javax/swing/text/AbstractDocument.java
5182 (AbstracElement): Made public, implements java.io.Serializable.
5183 (AttributeContext): Made public.
5184 (BranchElement): Likewise.
5185 (Content): Likewise.
5186 (DefaultDocumentEvent): Made public, extends
5187 javax.swing.undo.CompoundEdit.
5188 (ElementEdit): Made public, extends
5189 javax.swing.undo.AbstractUndoableEdit.
5190 (LeafElement): Made public.
5191 (LeafElement.LeafElement): Made public.
5193 2004-06-16 Michael Koch <konqueror@gmx.de>
5195 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5196 methods (that were obviously never be intended to get included hi this
5197 class. Added some methods too.
5199 2004-06-16 Michael Koch <konqueror@gmx.de>
5201 * javax/swing/text/PlainDocument.java
5202 (serialVersionUID): New constant.
5203 (lineLimitAttribute): Likewise.
5204 (tabSizeAttribute): Likewise.
5205 (tabSize): New field.
5206 (PlainDocument): Made public.
5207 (PlainDocument): New constructor.
5209 2004-06-16 Michael Koch <konqueror@gmx.de>
5211 * javax/swing/text/AbstractDocument.java
5212 (insertString): Throws BadLocationException.
5213 * javax/swing/text/Document.java
5214 (insertString): Likewise.
5215 * javax/swing/text/JTextComponent.java:
5216 Javadocs and comments cleaned up.
5218 2004-06-16 Michael Koch <konqueror@gmx.de>
5220 * javax/swing/event/UndoableEditListener.java: Reformatted.
5221 * javax/swing/text/AbstractDocument.java
5222 (AbstractDocument): Implements java.io.Serializable.
5223 (doc_list): Removed.
5224 (undo_list): Removed.
5225 (AbstractElement.serialVerionUID): New field.
5226 (BranchElement.serialVerionUID): Likewise.
5227 (DefaultDocumentEvent.serialVerionUID): Likewise.
5228 (ElementEdit.serialVerionUID): Likewise.
5229 (LeafElement.serialVerionUID): Likewise.
5230 (serialVerionUID): Likewise.
5231 (BAD_LOCATION): New constant.
5232 (BidiElementName): Likewise.
5233 (ContentElementName): Likewise.
5234 (ParagraphElementName): Likewise.
5235 (SectionElementName): Likewise.
5236 (ElementNameAttribute): Likewise.
5237 (AbstractDocument): Made protected.
5238 (AbstractDocument): New construtor.
5239 (listenerList): New field.
5240 (fireChangedUpdate): Implemented.
5241 (fireInsertUpdate): Likewise.
5242 (fireRemoveUpdate): Likewise.
5243 (fireUndoableEditUpdate): Likewise.
5244 (getListeners): Likewise.
5245 (addDocumentListener): Likewise.
5246 (removeDocumentListener): Likewise.
5247 (addUndoableEditListener): Likewise.
5248 (removeUndoableEditListener): Likewise.
5249 (getDocumentListeners): New method.
5250 (getUndoableEditListeners): Likewise.
5251 (getAsynchronousLoadPriority): Made public.
5252 (getBidiRootElement): Likewise.
5253 (setAsynchronousLoadPriority): Likewise.
5254 (setDocumentProperties): Likewise.
5255 * javax/swing/text/BadLocationException.java
5256 (serialVerionUID): New field.
5257 * javax/swing/text/DefaultCaret.java
5258 (changeEvent): New field.
5259 (listenerList): Likewise.
5261 (addChangeListener): Reimplemented.
5262 (removeChangeListener): Likewise.
5263 (getListeners): New method.
5264 (getChangeListeners): Likwise.
5265 (getComponent): Likewise.
5266 * javax/swing/text/GapContent.java
5267 (GapContent): Implements java.io.Serializable.
5268 (serialVerionUID): New field.
5270 2004-06-16 Michael Koch <konqueror@gmx.de>
5272 * javax/swing/JTree.java
5273 (treeModel): New field.
5274 (JTree): New constructors, one existing one made public.
5275 (createTreeModel): New method.
5276 (addTreeExpansionListener): Likewise.
5277 (removeTreeExpansionListener): Likewise.
5278 (getTreeExpansionListeners): Likewise.
5279 (fireTreeCollapsed): Likewise.
5280 (fireTreeExpanded): Likewise.
5281 (addTreeSelectionListener): Likewise.
5282 (removeTreeSelectionListener): Likewise.
5283 (getTreeSelectionListeners): Likewise.
5284 (fireValueChanged): Likewise.
5285 (addTreeWillExpandListener): Likewise.
5286 (removeTreeWillExpandListener): Likewise.
5287 (getTreeWillExpandListeners): Likewise.
5288 (fireTreeWillCollapse): Likewise.
5289 (fireTreeWillExpand): Likewise.
5291 2004-06-16 Michael Koch <konqueror@gmx.de>
5293 * javax/swing/JTree.java: Reformatted.
5295 2004-06-16 Michael Koch <konqueror@gmx.de>
5297 * javax/swing/JTextArea.java: New file.
5298 * javax/swing/JTextField.java
5300 (notifyAction): New constant.
5301 (columns): New field.
5302 (JTextField): New constructors.
5303 (createDefaultModel): New method.
5304 (addActionListener): Reimplmemented.
5305 (removeActionListener): Reimplemented.
5306 (getActionListeners): New method.
5307 (fireActionPerformed): New method.
5308 (getColumns): New method.
5309 (setColumne): New method.
5310 * javax/swing/text/JTextComponent.java
5311 (AccessibleJTextComponent.serialVersionUID): New field.
5312 (serialVersionUID): Likewise.
5313 (DEFAULT_KEYMAP): Likewise.
5314 (FOCUS_ACCELERATOR_KEY): Likewise.
5315 (doc): Made private.
5316 (icon_gap): Likewise.
5319 (JTextComponent): Some constructors removed.
5320 (getScrollableTracksViewportHeight): New method.
5321 (getScrollableTracksViewportWidth): Likewise.
5322 * Makefile.am: Added javax/swing/JTextArea.java.
5323 * Makefile.in: Regenerated.
5325 2004-06-15 Graydon Hoare <graydon@redhat.com>
5327 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5328 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5329 * javax/swing/JViewport.java
5330 (getExtentSize): Return size rather than preferred size.
5331 (toViewCoordinates): New methods.
5332 (getViewSize): Return size rather than preferred size.
5333 (setViewSize): Note view size as set.
5334 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5335 * javax/swing/plaf/basic/BasicScrollBarUI.java
5336 (getPreferredSize): Don't redo layout.
5337 * javax/swing/plaf/basic/BasicViewportUI.java
5338 (paint): Translate image properly and eat exceptions.
5340 2004-06-15 Kim Ho <kho@redhat.com>
5342 * javax/swing/JTabbedPane.java
5343 (setComponent): Remove old component and
5345 (setSelectedIndex): Don't operate on the
5346 components if they're null. Don't set index
5347 on the model if the index is the same.
5348 (insertTab): Don't add or hide the component
5349 if it's null. Repaint the container.
5350 * javax/swing/plaf/basic/BasicLookAndFeel.java
5351 Change colors for TabbedPane.
5352 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5353 (mousePressed): Re-layout and paint the component.
5354 (layoutContainer): Don't set location on the view.
5355 (ScrollingViewport::paint): Remove.
5357 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5359 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5360 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5362 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5363 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5364 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5366 (drawLine): Call gdk_flush before leaving GDK critical region.
5367 (fillRect): Likewise.
5368 (drawRect): Likewise.
5369 (copyArea): Likewise.
5370 (copyPixmap): Likewise.
5371 (clearRect): Likewise.
5372 (drawArc): Likewise.
5373 (drawPolyline): Likewise.
5374 (drawPolygon): Likewise.
5375 (fillPolygon): Likewise.
5376 (fillArc): Likewise.
5377 (drawOval): Likewise.
5378 (fillOval): Likewise.
5380 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5382 (GdkFontMetrics): Add style argument to initState call.
5383 (stringWidth(String,int,int,String)): Add style parameter.
5384 (stringWidth(String)): Add style argument to stringWidth call.
5385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5386 (initState): Set pango font style and weight based on AWT style
5387 parameter. Pass default GTK language to
5388 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5389 simply dividing by PANGO_SCALE.
5390 (stringWidth): Set pango font style and weight based on AWT style
5393 * java/awt/Button.java (next_button_number): New field.
5394 (paramString): Change output.
5395 (generateName): New method.
5396 (getUniqueLong): New method.
5398 2004-06-14 Kim Ho <kho@redhat.com>
5400 * javax/swing/JTabbedPane.java:
5401 (setComponentAt): Set the component, not
5403 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5404 (actionPerformed): Let deiconize catch exception.
5406 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5408 * javax/swing/JPopupMenu.java:
5409 (setVisible): Corrected location of a
5410 heavyweight popup menu.
5412 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5414 * javax/swing/MenuSelectionManager.java:
5415 Ran through jalopy to fix formatting style.
5417 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5419 * javax/swing/JLayeredPane.java:
5420 (remove): Revalidate and repaint layered pane after
5421 the component was removed.
5422 javax/swing/JMenu.java:
5423 (setVisible): Display popup menu at the user location,
5424 if one was set by the user.
5425 (setMenuLocation): Reimplemented. Fixed javadoc.
5426 * javax/swing/JMenuBar.java: Added javadoc.
5427 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5428 (MODEL_CHANGED_PROPERTY): New Property.
5429 (isSelected): Implemented.
5430 (setBorderPainted): Fire PropertyChangeEvent
5431 if paintBorder property changes.
5432 (setSelected): Implemented.
5433 (setSelectionModel): Implemented.
5434 * javax/swing/JPopupMenu.java: Added Javadoc
5435 (pack): Implemented.
5436 (setVisible): Reimplemented.
5437 (show): Fixed location.
5438 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5439 Container instead of JPanel.
5440 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5441 (clearSelectedPath): Reimplemented to clear selectedPath
5443 (processMouseEvent): Reimplemented.
5444 (setSelectedPath): Fire stateChange event indicating that
5445 selected menu path has changed.
5446 (getPath): Change to use ArrayList instead of Vector.
5447 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5448 (installUI): call installKeyboardActions().
5449 (uninstallUI): call uninstallKeyboardActions().
5451 2004-06-13 Michael Koch <konqueror@gmx.de>
5453 * javax/swing/text/DefaultCaret.java,
5454 javax/swing/text/BadLocationException.java:
5457 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5459 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5460 DEFAULT_COLS): New variables.
5461 (create): Don't allow 0 rows or 0 columns. Instead, set the
5462 values to DEFAULT_ROWS or DEFAULT_COLS.
5463 (getMinimumSize): Likewise.
5464 (getPreferredSize): Likewise.
5465 (minimumSize): Likewise.
5466 (preferredSize): Likewise.
5467 (create): Set peer's editable state.
5468 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5469 zero. Update javadocs.
5470 (TextArea(String)): Likewise.
5471 (TextArea(int,int)): Fix javadocs.
5472 (TextArea(String,int,int,int)): Only throw exception if one of
5473 rows or columns is zero. Fix javadocs.
5475 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5477 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5478 addition to Components.
5480 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5481 wasn't consumed by normal processing, send it to the parent
5484 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5485 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5488 2004-06-11 David Jee <djee@redhat.com>
5490 * java/awt/MediaTracker.java
5491 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5492 (addImage(Image,int,int,int)): Likewise.
5494 2004-06-11 Michael Koch <konqueror@gmx.de>
5496 * javax/swing/text/AbstractDocument.java,
5497 javax/swing/text/Document.java,
5498 javax/swing/text/GapContent.java,
5499 javax/swing/text/JTextComponent.java,
5500 javax/swing/text/PlainDocument.java:
5503 2004-06-11 Michael Koch <konqueror@gmx.de>
5505 * javax/swing/JRootPane.java
5506 (AccessibleJRootPane.serialVersionUID): New field.
5507 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5508 (AccessibleJRootPane.getAccessibleRole): New method.
5509 (RootLayout): Implements Serializable.
5510 (RootLayout.serialVersionUID): New field.
5511 (RootLayout.RootLayout): New constructor.
5512 (setJMenuBar): Made public.
5513 (getJMenuBar): Likewise.
5514 (JRootPane): Likewise.
5515 (createContentPane): Likewise.
5516 (createGlassPane): Likewise.
5517 (createLayeredPane): Likewise.
5519 2004-06-11 Michael Koch <konqueror@gmx.de>
5521 * javax/swing/SwingUtilities.java
5522 (isLeftMouseButton): Fixed javadoc.
5523 (isMiddleMouseButton): Likewise.
5524 (isRightMouseButton): Likewise.
5526 2004-06-11 Michael Koch <konqueror@gmx.de>
5528 * javax/swing/JScrollPane.java
5529 (serialVersionUID): New field.
5530 (columnHeader): Made protected.
5531 (rowHeader): Likewise.
5532 (lowerLeft): Likewise.
5533 (lowerRight): Likewise.
5534 (upperLeft): Likewise.
5535 (upperRight): Likewise.
5536 (horizontalScrollBar): Likewise.
5537 (horizontalScrollBarPolicy): Likewise.
5538 (verticalScrollBar): Likewise.
5539 (verticalScrollBarPolicy): Likewise.
5540 (viewport): Likewise.
5542 2004-06-11 Michael Koch <konqueror@gmx.de>
5544 * javax/swing/LookAndFeel.java: Fixed javadocs.
5546 2004-06-11 Michael Koch <konqueror@gmx.de>
5548 * javax/swing/JEditorPane.java: Fixed javadocs.
5549 (JEditorPane): Removed redundant call to to this().
5550 (fireHyperlinkUpdate): Implemented.
5552 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5554 * javax/swing/JMenu.java: Fixed file name
5555 in the file comment.
5557 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5559 * javax/swing/JMenu.java: Added javadoc.
5560 (JMenu): Added MenuChangeListener to listen to
5561 ChangeEvents occuring in menu's model.
5562 (insert): Throw IllegalArgumentException if
5563 index is less than 0
5564 (setSelected): Reimplement.
5565 (setPopupMenuVisible): Call menu's model isEnabled()
5566 (setDelay): Throw IllegalArgumentException if
5567 given amount of delay is less than 0.
5568 (createActionComponent): Implemented.
5569 (createActionChangeListener): Implemented.
5570 (addSeparator): Implemented.
5571 (getItem): Throw IllegalArgumentException if index is
5573 (getItemCount): Implemented.
5574 (fireMenuSelected): Changed to use menuEvent.
5575 (fireMenuDeselected): Likewise.
5576 (fireMenuCanceled): Likewise.
5577 (setAccelerator): Changed to throw an error if this
5579 (doClick): Implemented.
5580 (JMenu.ActionChangedListener): New inner class to handle
5581 PropertyChangeEvents occuring in the actions associated with menu.
5582 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5583 (BasicMenuUI): Added PropertyChangeListener to the menu.
5584 (createChangeListener): Implemented.
5585 (createMenuDragMouseListener): Likewise.
5586 (createMenuKeyListener): Likewise.
5587 (createPropertyChangeListener): Likewise.
5588 (uninstallListeners): Likewise.
5589 (BasicMenuUI.MouseInputHandler): Reimplemented.
5590 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5591 (BasicMenuUI.ChangeHandler): Likewise.
5592 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5593 (BasicMenuUI.MenuKeyHandler): Likewise.
5595 2004-06-10 David Jee <djee@redhat.com>
5597 * java/awt/MediaTracker.java
5598 (imageUpdate): Only do notifyAll() if the image is complete.
5600 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5602 * javax/swing/JApplet.java:
5603 (getJMenuBar): Made public.
5604 (setJMenuBar): Likewise.
5605 * javax/swing/JFrame.java:
5606 (getJMenuBar): Made public.
5607 (setJMenuBar): Likewise.
5608 * javax/swing/JWindow.java:
5609 (getJMenuBar): Removed.
5610 (setJMenuBar): Removed.
5612 2004-06-10 Michael Koch <konqueror@gmx.de>
5614 * javax/swing/JEditorPane.java
5615 (createEditorKitForContentType): Fixed visibility.
5616 (fireHyperlinkUpdate): Likewise.
5617 (getContentType): Likewise.
5618 (getEditorKit): Likewise.
5619 (getEditorKitForContentType): Likewise.
5620 (getPage): Likewise.
5622 (registerEditorKitForContentTyoe): Likewise.
5623 (replaceSelection): Likewise.
5624 (setContentType): Likewise.
5625 (setEditorKit): Likewise.
5626 (setPage): Likewise.
5628 2004-06-10 Michael Koch <konqueror@gmx.de>
5630 * javax/swing/Timer.java
5631 (Timer): New constructor.
5632 * javax/swing/plaf/basic/BasicProgressBarUI.java
5633 (animationTimer): Don't initialize at construction.
5634 (startAnimationTimer): Added since tag.
5635 (stopAnimationTimer): Likewise.
5636 (installUI): Use new Timer constructor.
5637 * javax/swing/plaf/basic/BasicScrollBarUI.java
5638 (installUI): Likewise.
5639 * javax/swing/plaf/basic/BasicSliderUI.java
5640 (installUI): Likewise.
5642 2004-06-10 Michael Koch <konqueror@gmx.de>
5644 * javax/swing/ButtonGroup.java
5645 (serialVersionUID): Made private.
5646 (buttons): Renamed from v, added javadoc.
5647 (sel): Added javadoc.
5648 (ButtonGroup): Likewise.
5651 (getElements): Likewise.
5652 (getSelection): Likewise.
5653 (setSelected): Likewise.
5654 (isSelected): Likewise.
5655 (getButtonCount): Likewise.
5657 2004-06-10 Michael Koch <konqueror@gmx.de>
5659 * javax/swing/ButtonGroup.java,
5660 javax/swing/ImageIcon.java,
5661 javax/swing/JEditorPane.java,
5662 javax/swing/JRootPane.java,
5663 javax/swing/JTextField.java,
5664 javax/swing/LookAndFeel.java,
5665 javax/swing/plaf/basic/BasicTextUI.java:
5668 2004-06-10 Michael Koch <konqueror@gmx.de>
5670 * javax/swing/text/Style.java: Added javadocs.
5672 2004-06-10 Michael Koch <konqueror@gmx.de>
5674 * javax/swing/JComponent.java
5675 (fireVetoableChange): Removed redundant cast.
5676 * javax/swing/JLabel.java
5677 (getDisabledIcon): Save icon for next call.
5679 2004-06-10 Michael Koch <konqueror@gmx.de>
5681 * javax/swing/KeyStroke.java
5682 (getKeyStroke(char,boolean)): Marked deprecated.
5684 2004-06-10 Michael Koch <konqueror@gmx.de>
5686 * javax/swing/DefaultCellEditor.java,
5687 javax/swing/GrayFilter.java,
5688 javax/swing/event/DocumentEvent.java,
5689 javax/swing/text/JTextComponent.java,
5690 javax/swing/text/MutableAttributeSet.java:
5693 2004-06-10 Michael Koch <konqueror@gmx.de>
5695 * javax/swing/plaf/BorderUIResource.java:
5696 Added serialVersionUID all over.
5698 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5700 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5702 2004-06-10 Michael Koch <konqueror@gmx.de>
5704 * javax/swing/table/DefaultTableCellRenderer.java
5705 (noFocusBorder): Initialize directly.
5707 2004-06-10 Michael Koch <konqueror@gmx.de>
5709 * javax/swing/plaf/basic/BasicArrowButton.java
5710 (setDirection): Use method argument.
5712 2004-06-10 Michael Koch <konqueror@gmx.de>
5714 * javax/swing/plaf/BorderUIResource.java,
5715 javax/swing/plaf/ComponentUI.java,
5716 javax/swing/undo/CompoundEdit.java,
5717 javax/swing/undo/StateEdit.java:
5718 Fixed javadocs all over.
5720 2004-06-10 Michael Koch <konqueror@gmx.de>
5722 * javax/swing/DefaultButtonModel.java
5723 (ARMED): Made public final, fixed value.
5724 (ENABLED): Likewise.
5725 (PRESSED): Likewise.
5726 (ROLLOVER): Likewise.
5727 (SELECTED): Likewise.
5728 (stateMask): Initialize directly.
5729 (listenerList): Likewise.
5730 (mnemonic): Likewise.
5731 (fireStateChanged): Removed argument, use changeEvent as event.
5732 All places where this method is called are fixed too.
5733 (getActionCommant): Fixed javadoc.
5734 (setGroup): Fixed javadoc.
5735 (getGroup): New method.
5737 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5739 * javax/swing/AbstractButton.java
5740 (AbstractButton): Use init() to initialize the button.
5741 (init): New Method. Initializes AbstractButton.
5742 * javax/swing/JMenuItem.java: Documented.
5743 (JMenuItem): Reimplemented.
5744 (init): Implemented.
5745 (setEnabled): Changed to call super.setEnabled()
5746 (processMouseEvent): Reimplemented.
5747 (fireMenuKeyPressed): Implemented.
5748 (fireMenuKeyReleased): Implemented.
5749 (fireMenuKeyTyped): Implemented.
5750 (menuSelectionChanged): disarm the model if the menu item was
5752 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5753 (getPath): Change to use ArrayList instead of Vector.
5754 (getPreferredSize): Renamed variable.
5755 (paintMenuItem): Paint margin area of menu item.
5756 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5757 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5758 menu item's bounds before clearing the selection.
5760 2004-06-09 David Jee <djee@redhat.com>
5762 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5763 (GtkTextComponentPeer): Set caret position to 0.
5764 * java/awt/TextComponent.java
5765 (setText): Set caret position to 0.
5766 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5767 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5768 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5769 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5771 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5772 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5775 2004-06-09 Kim Ho <kho@redhat.com>
5777 * Makefile.am: New files
5778 * Makefile.in: Regenerated
5779 * java/awt/Container.java
5780 (getComponentAt): Removed.
5781 * javax/swing/AbstractAction.java
5782 (ENABLED_PROPERTY): New property.
5783 (putValue): Fire PropertyChangeEvents.
5784 (setEnabled): ditto.
5785 (firePropertyChange): Javadoc and implement
5787 * javax/swing/AbstractButton.java
5788 (setAction): Don't create PropertyChangeListener
5789 if new Action is null.
5790 (setIcon): Don't set icon till after comparing
5792 (configurePropertiesFromAction): Check mnemonic
5793 key before calling intValue().
5794 (createActionPropertyChangeListener): Check
5795 properties rather than bulk change.
5796 * javax/swing/DefaultDesktopManager.java:
5798 * javax/swing/DesktopManager.java:
5800 * javax/swing/JComponent.java
5801 (fireVetoableChange): Implement.
5802 (paintImmediately): Use root component.
5803 * javax/swing/JDesktopPane.java: Implement
5804 * javax/swing/JInternalFrame.java: Implement
5805 * javax/swing/JLabel.java
5806 (getDisabledIcon): Return grayscaled icon if
5807 no disabled icon specified.
5808 * javax/swing/JMenuBar.java
5809 (getComponentAtIndex): Use getComponent
5810 * javax/swing/JOptionPane.java
5811 (getDesktopPaneForComponent): Use SwingUtilities'
5813 (getFrameForComponent): ditto.
5814 * javax/swing/JSplitPane.java
5815 (remove): Use getComponent.
5816 * javax/swing/SwingUtilities.java
5817 (convertPoint): Implement.
5818 * javax/swing/plaf/basic/BasicButtonUI.java
5819 (paintButtonNormal): Check opaqueness before
5821 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5823 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5825 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5827 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5829 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5830 Change InternalFrame and Desktop colors.
5832 2004-06-09 David Jee <djee@redhat.com>
5834 * java/awt/Container.java
5835 (remove): Do not set component to invisible.
5837 2004-06-09 Michael Koch <konqueror@gmx.de>
5839 * javax/swing/tree/DefaultMutableTreeNode.java
5840 (getLeafCount): Renamed enum to e.
5842 2004-06-09 Michael Koch <konqueror@gmx.de>
5844 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5845 (positionForMouseEvent): Removed redundant semicolon.
5846 (continueDrag): Use method arguments.
5848 2004-06-09 Michael Koch <konqueror@gmx.de>
5850 * javax/swing/border/TitledBorder.java,
5851 javax/swing/filechooser/FileSystemView.java,
5852 javax/swing/plaf/basic/BasicButtonListener.java,
5853 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5854 javax/swing/plaf/basic/BasicLabelUI.java,
5855 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5856 javax/swing/plaf/basic/BasicScrollBarUI.java,
5857 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5858 javax/swing/plaf/basic/BasicSliderUI.java,
5859 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5860 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5861 javax/swing/table/JTableHeader.java,
5862 javax/swing/text/AbstractDocument.java,
5863 javax/swing/text/DefaultCaret.java,
5864 javax/swing/text/StyledEditorKit.java,
5865 javax/swing/tree/DefaultTreeCellEditor.java:
5866 Reworked import statements.
5868 2004-06-08 Graydon Hoare <graydon@redhat.com>
5870 * javax/swing/Box.java: Temporarily comment out code
5871 broken due to visibility bug.
5873 2004-06-09 Michael Koch <konqueror@gmx.de>
5875 * javax/swing/ImageIcon.java
5876 (ImageIcon): Added missing constructor.
5878 2004-06-08 Michael Koch <konqueror@gmx.de>
5880 * javax/swing/JToggleButton.java
5881 (JToggleButton): New constructor.
5882 (getAccessibleContext): Moved documentation into javadoc.
5883 (getUIClassID): Likewise.
5885 2004-06-08 Michael Koch <konqueror@gmx.de>
5887 * javax/swing/AbstractButton.java
5888 (getDisabledIcon): Create disabled icon if none exists yet.
5890 2004-06-08 Michael Koch <konqueror@gmx.de>
5892 * javax/swing/plaf/basic/BasicLookAndFeel.java
5893 (initClassDefaults): Added FormattedTextFieldUI.
5894 (loadResourceBundle): Renamed enum to e.
5896 2004-06-08 Michael Koch <konqueror@gmx.de>
5898 * javax/swing/plaf/basic/BasicButtonUI.java
5899 (paintIcon): Simplified.
5900 (paintText): Paint disabled button correctly.
5902 2004-06-08 Michael Koch <konqueror@gmx.de>
5904 * javax/swing/JComponent.java
5905 (createToolTip): Use official JToolTip API.
5907 2004-06-08 Michael Koch <konqueror@gmx.de>
5909 * javax/swing/JToolTip.java
5910 (JToolTip): No arguments in API.
5911 (setTipText): New method.
5913 2004-06-08 Michael Koch <konqueror@gmx.de>
5915 * javax/swing/SwingUtilities.java
5916 (isLeftMouseButton): New method.
5917 (isMiddleMouseButton): New method.
5918 (isRightMouseButton): New method.
5920 2004-06-08 Michael Koch <konqueror@gmx.de>
5922 * javax/swing/AbstractButton.java,
5923 javax/swing/CellRendererPane.java,
5924 javax/swing/JCheckBoxMenuItem.java,
5925 javax/swing/JColorChooser.java,
5926 javax/swing/JComboBox.java,
5927 javax/swing/JComponent.java,
5928 javax/swing/JDesktopPane.java,
5929 javax/swing/JFileChooser.java,
5930 javax/swing/JMenu.java,
5931 javax/swing/JMenuItem.java,
5932 javax/swing/JOptionPane.java,
5933 javax/swing/JPasswordField.java,
5934 javax/swing/JPopupMenu.java,
5935 javax/swing/JProgressBar.java,
5936 javax/swing/JRadioButtonMenuItem.java,
5937 javax/swing/JScrollBar.java,
5938 javax/swing/JSeparator.java,
5939 javax/swing/JSlider.java,
5940 javax/swing/JSplitPane.java,
5941 javax/swing/JTabbedPane.java,
5942 javax/swing/JTextField.java,
5943 javax/swing/JToolBar.java,
5944 javax/swing/text/JTextComponent.java:
5945 Fixed all constructors of accessibility classes.
5947 2004-06-08 Michael Koch <konqueror@gmx.de>
5949 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5952 2004-06-08 Michael Koch <konqueror@gmx.de>
5954 * javax/swing/Box.java
5955 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5956 (AccessibleBoxFiller.serialVersionUID): New member variable.
5957 * javax/swing/DefaultButtonModel.java
5958 (stateMask): Made protected.
5959 (listenerList): Likewise.
5960 (changeEvent): Likewise.
5962 (mnemonic): Likewise.
5963 (actionCommand): Likewise.
5964 (getListeners): New method.
5965 (getActionListeners): New method.
5966 (getItemListeners): New method.
5967 (getChangeListeners): New method.
5968 (fireItemStateChanged): Simplified.
5969 (fireActionPerformed): Simplified.
5970 (fireStateChanged): Simplified.
5971 * javax/swing/JFrame.java
5972 (JFrame): Implements WindowContants.
5973 (HIDE_ON_CLOSE): Removed.
5974 (EXIT_ON_CLOSE): Removed.
5975 (DISPOSE_ON_CLOSE): Removed.
5976 (DO_NOTHING_ON_CLOSE): Removed.
5977 (processWindowEvent): Exit with code 0.
5978 (setDefaultCloseOperation): Do security check before setting value.
5979 * javax/swing/JOptionPane.java
5980 (message): Initialize only in constructor.
5981 * javax/swing/JToolTip.java: Removed unused imports.
5982 * javax/swing/JViewport.java
5983 (serialVersionUID): New member variable.
5984 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5985 (BLIT_SCROLL_MODE): Likewise.
5986 (BACKINGSTORE_SCROLL_MODE): Likewise.
5987 (scrollUnderway): Made protected.
5988 (isViewSizeSet): Likewise.
5989 * javax/swing/ListModel.java: Fixed javadoc.
5990 * javax/swing/Popup.java: Likewise.
5991 * javax/swing/RepaintManager.java
5992 (paintDirtyRegions): Don't use internal classes of
5993 java.util.AbstractMap.
5994 * javax/swing/ScrollPaneConstants.java: Reindented.
5995 * javax/swing/ScrollPaneLayout.java
5996 (viewport): Made protected.
5997 (verticalScrollBar): Made protected, renamed to vsb.
5998 (horizontalScrollBar): Made protected, renamed to hsb.
5999 (rowHeader): Made protected, renamed to rowHead.
6000 (columnHeader): Made protected, renamed to colHead.
6001 (lowerLeft): Made protected.
6002 (lowerRight): Made protected.
6003 (upperLeft): Made protected.
6004 (upperRight): Made protected.
6005 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
6006 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
6008 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
6010 * java/awt/MediaTracker.java (imageUpdate): Only set status to
6011 LOADING if flags has SOMEBITS set.
6013 2004-06-07 Michael Koch <konqueror@gmx.de>
6015 * javax/swing/AbstractButton.java: Reorganized imports.
6016 * javax/swing/ActionMap.java: Likewise.
6017 * javax/swing/DefaultButtonModel.java: Likewise.
6018 * javax/swing/DefaultListModel.java: Likewise.
6019 * javax/swing/ImageIcon.java: Likewise.
6020 (serialVersionUID): New member variable.
6021 * javax/swing/JComboBox.java: Reorganized imports.
6022 * javax/swing/JComponent.java: Likewise.
6023 (ui): Made protected.
6024 (listenerList): Made protected.
6025 (TOOL_TIP_TEXT_KEY): New constant.
6026 (scrollRectToVisible): Removed redundant null check.
6027 * javax/swing/JFrame.java: Reorganized imports.
6028 * javax/swing/JInternalFrame.java: Reorganized imports.
6029 * javax/swing/JProgressBar.java: Likewise.
6030 * javax/swing/JRootPane.java: Likewise.
6031 * javax/swing/JScrollBar.java: Likewise.
6032 * javax/swing/JSeparator.java: Likewise.
6033 * javax/swing/JSlider.java: Likewise.
6034 * javax/swing/JTabbedPane.java: Likewise.
6035 * javax/swing/JTextField.java: Likewise.
6036 * javax/swing/JToolBar.java: Likewise.
6037 * javax/swing/JTree.java: Likewise.
6038 * javax/swing/JViewport.java: Likewise.
6039 * javax/swing/JWindow.java: Likewise.
6040 * javax/swing/KeyStroke.java: Likewise.
6041 * javax/swing/LookAndFeel.java: Likewise.
6042 * javax/swing/MenuSelectionManager.java: Likewise.
6043 * javax/swing/SwingUtilities.java: Likewise.
6044 * javax/swing/Timer.java: Likewise.
6045 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
6046 * javax/swing/JList.java
6047 (HORIZONTAL_WRAP): Made final, fixed value.
6048 (VERTICAL): Likewise.
6049 (VERTICAL_WRAP): Likewise.
6051 2004-06-07 Michael Koch <konqueror@gmx.de>
6053 * javax/swing/AbstractButton.java
6054 (serialVersionUID): New member variable.
6055 (AccessibleAbstractButton.serialVersionUID): Likewise.
6056 (AbstractButton): Made public.
6057 * javax/swing/Box.java
6058 (AccessibleBox.serialVersionUID): New member variable.
6059 (Filler.serialVersionUID): Likewise.
6060 * javax/swing/DefaultListSelectionModel.java
6061 (serialVersionUID): Likewise.
6062 * javax/swing/JApplet.java
6063 (serialVersionUID): Likewise.
6064 * javax/swing/JCheckBox.java
6065 (serialVersionUID): Likewise.
6066 * javax/swing/JCheckBoxMenuItem.java
6067 (serialVersionUID): Likewise.
6068 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
6069 * javax/swing/JColorChooser.java
6070 (serialVersionUID): Likewise.
6071 (AccessibleJColorChooser.serialVersionUID): Likewise.
6072 * javax/swing/JComponent.java
6073 (serialVersionUID): Made private.
6074 (AccessibleJComponent.serialVersionUID): New member variable.
6075 * javax/swing/JDesktopPane.java
6076 (serialVersionUID): Likewise.
6077 * javax/swing/JDialog.java
6078 (serialVersionUID): Likewise.
6079 * javax/swing/JFormattedTextField.java
6080 (serialVersionUID): Fixed value.
6081 * javax/swing/JFrame.java
6082 (serialVersionUID): New member variable.
6083 (getDefaultCloseOpertation): Made public.
6084 * javax/swing/JLayeredPane.java
6085 (serialVersionUID): Likewise.
6086 (LAYER_PROPERTY): Made final, fixed value.
6087 (JLayeredPane): Made public.
6088 * javax/swing/JMenu.java
6089 (AccessibleJMenu.serialVersionUID): New member variable.
6090 (WinListener.serialVersionUID): Likewise.
6091 * javax/swing/JMenuBar.java
6092 (serialVersionUID): Likewise.
6093 (getComponentAtIndex): Added @deprecated tag.
6094 * javax/swing/JMenuItem.java
6095 (serialVersionUID): New member variable.
6096 (AccessibleJMenuItem.serialVersionUID): Likewise.
6097 * javax/swing/JOptionPane.java
6098 (serialVersionUID): Likewise.
6099 (AccessibleJOptionPane.serialVersionUID): Likewise.
6100 * javax/swing/JPopupMenu.java
6101 (serialVersionUID): Likewise.
6102 (AccessibleJPopupMenu.serialVersionUID): Likewise.
6103 (getPopupMenuListeners): New method.
6104 (getComponentAtIndex): Added @deprecated tag.
6105 * javax/swing/JProgressBar.java
6106 (serialVersionUID): New member variable.
6107 (AccessibleJProgressBar.serialVersionUID): Likewise.
6108 * javax/swing/JRadioButton.java
6109 (serialVersionUID): Likewise.
6110 * javax/swing/JRadioButtonMenuItem.java
6111 (serialVersionUID): Likewise.
6112 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
6113 * javax/swing/JScrollBar.java
6114 (serialVersionUID): Likewise.
6115 (AccessibleJScrollBar.serialVersionUID): Likewise.
6116 * javax/swing/JSeparator.java
6117 (serialVersionUID): Likewise.
6118 (AccessibleJSeparator.serialVersionUID): Likewise.
6119 * javax/swing/JSlider.java: Fixed javadocs.
6120 (AccessibleJSlider.serialVersionUID): New member variable.
6121 * javax/swing/JSplitPane.java: Added copyright statement.
6122 (serialVersionUID): New member variable.
6123 (AccessibleJSplitPane.serialVersionUID): Likewise.
6124 * javax/swing/JTabbedPane.java
6125 (serialVersionUID): Likewise.
6126 (AccessibleJTabbedPane.serialVersionUID): Likewise.
6127 (ModelListener.serialVersionUID): Likewise.
6128 (ModelListener.ModelListener): New constructor.
6129 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
6130 (WRAP_TAB_LAYOUT): Likewise.
6131 * javax/swing/JTable.java
6132 (serialVersionUID): New member variable.
6133 * javax/swing/JToggleButton.java
6134 (serialVersionUID): Likewise.
6135 (ToggleButtonModel): Made static.
6136 (ToggleButtonModel.serialVersionUID): New member variable.
6137 * javax/swing/JToolTip.java
6138 (serialVersionUID): Likewise.
6139 * javax/swing/JTree.java
6140 (serialVersionUID): Likewise.
6141 * javax/swing/JWindow.java
6142 (serialVersionUID): Likewise.
6143 * javax/swing/Timer.java
6144 (serialVersionUID): Likewise.
6146 2004-06-06 Michael Koch <konqueror@gmx.de>
6148 * javax/swing/SwingConstants.java
6149 (NEXT): New constant.
6150 (PREVIOUS): Likewise.
6151 * javax/swing/UIManager.java
6152 (LookAndFeel): Made public.
6153 (LookAndFeel.getClassName): Likewise.
6154 (LookAndFeel.getName): Likewise.
6156 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6158 * javax/swing/JCheckBoxMenuItem.java:
6160 * javax/swing/JMenu.java: Likewise.
6161 * javax/swing/JMenuBar.java: Likewise.
6162 * javax/swing/JMenuItem.java: Likewise.
6163 * javax/swing/JPopupMenu.java: Likewise.
6164 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6165 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6166 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6167 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6168 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6169 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6170 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6172 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6174 * javax/swing/plaf/basic/BasicMenuUI.java:
6175 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6176 Call getPath() from super class instead.
6178 2004-05-31 David Jee <djee@redhat.com>
6180 * java/awt/Container.java
6181 (remove): Set component visibility to false after removing it.
6183 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6185 * java/awt/Component.java (getForeground): Return SystemColor if
6187 (getBackground): Likewise.
6189 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6190 (item_highlighted): New function.
6191 (connectSignals): Set item_highlighted as list's select
6194 * java/applet/Applet.java: Revert changes from 2004-04-29,
6195 2004-03-15 and 2004-03-14.
6197 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6198 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6201 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6202 "Dialog" as the default font.
6203 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6205 * java/awt/Component.java (getFont): Return "Dialog" font by
6207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6208 Multiply size argument to pango_font_description_set_size by the
6209 DPI conversion factor rather than by PANGO_SCALE.
6210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6212 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6213 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6214 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6215 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6217 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6218 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6219 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6220 Divide baseline y coordinate by DPI conversion factor rather
6221 than by PANGO_SCALE.
6222 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6223 (area_prepared): Fix typo.
6224 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6225 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6226 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6227 (dpi_conversion_factor): New global variable.
6228 (init_dpi_conversion_factor): New function to calculate and
6229 track DPI conversion factor.
6230 (dpi_changed_cb): New callback.
6231 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6233 2004-05-27 David Jee <djee@redhat.com>
6235 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6236 (getGraphics): Return a new GdkGraphics instance.
6237 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6238 (getGraphics): Call super.getGraphics().
6240 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6242 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6243 (setNativeBounds): Clamp width and height values to >= 0.
6245 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6246 (find_fg_color_widget): Handle GtkOptionMenu specially.
6248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6249 (pre_event_handler): Only post configure events to visible
6252 2004-05-26 David Jee <djee@redhat.com>
6254 * java/awt/BorderLayout.java
6255 (layoutContainer): Fix size calculations.
6257 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6260 (window_wm_protocols_filter): Remove function.
6261 (create): Remove filter that removes WM_TAKE_FOCUS client
6264 2004-06-17 Anthony Green <green@redhat.com>
6266 * java/util/zip/ZipFile.java (getInputStream): Return null if
6269 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6270 directory contents to the class path.
6272 2004-06-15 Andrew Haley <aph@redhat.com>
6274 * java/lang/natSystem.cc (getenv0): Don't assume environment
6275 variable is Latin 1 coded.
6277 2004-06-14 Andreas Jaeger <aj@suse.de>
6279 * configure.in: Support --enable-version-specific-runtime-libs.
6280 * configure: Regenerated.
6282 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6284 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6285 to pass ClassLoader argument.
6286 * java/util/GregorianCalendar.java: Likewise.
6287 * java/util/Currency.java: Likewise.
6288 * java/text/BreakIterator.java: Likewise.
6289 * java/text/Collator.java: Likewise.
6290 * java/text/DateFormat.java: Likewise.
6291 * java/text/DateFormatSymbols.java: Likewise.
6292 * java/text/DecimalFormatSymbols.java: Likewise.
6293 * java/text/NumberFormat.java: Likewise.
6294 * java/awt/Window.java: Likewise.
6296 2004-06-14 Andrew Haley <aph@redhat.com>
6298 * java/lang/System.java: (getenv0): New method.
6299 (getenv): Add security check. Do the right thing.
6300 * java/lang/natSystem.cc (getenv0): New method.
6302 2004-06-12 Mark Wielaard <mark@klomp.org>
6304 * javax/swing/RepaintManager.java
6305 (paintDirtyRegions): Use entrySet(), not values().
6307 2004-06-10 Mark Wielaard <mark@klomp.org>
6309 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6312 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6314 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6315 when we already know the answer.
6316 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6317 (setStartRule,setEndRule): Don't take abs of day number.
6318 (getOffset): Clarify docs. Add argument checks.
6319 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6320 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6323 2004-06-10 Tom Tromey <tromey@redhat.com>
6325 * interpret.cc (run): Handle wide fload.
6327 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6329 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6331 2004-06-05 Michael Koch <konqueror@gmx.de>
6333 * javax/swing/SwingConstants.java
6334 (NEXT): New constant.
6335 (PREVIOUS): Likewise.
6337 2004-06-05 Michael Koch <konqueror@gmx.de>
6339 * javax/swing/UIManager.java
6340 (LookAndFeel): Made public.
6341 (LookAndFeel.getName): Likewise.
6342 (LookAndFeel.getClassName): Likewise.
6344 2004-06-03 Michael Koch <konqueror@gmx.de>
6346 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6347 (requestFocus): Revert last changes.
6348 (gtkRequestFocus): Removed.
6349 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6350 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6352 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6353 Reverted last patch.
6354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6355 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6356 Reverted comment change.
6358 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6360 * javax/swing/JCheckBoxMenuItem.java:
6362 * javax/swing/JMenu.java: Likewise.
6363 * javax/swing/JMenuBar.java: Likewise.
6364 * javax/swing/JMenuItem.java: Likewise.
6365 * javax/swing/JPopupMenu.java: Likewise.
6366 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6367 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6368 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6369 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6370 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6371 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6372 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6374 2004-06-01 Tom Tromey <tromey@redhat.com>
6376 * java/io/ObjectStreamField.java: Cleaned up imports.
6378 2004-06-01 Michael Koch <konqueror@gmx.de>
6380 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6382 2004-06-01 Mark Wielaard <mark@klomp.org>
6384 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6386 2004-06-01 Michael Koch <konqueror@gmx.de>
6388 * java/security/Security.java
6389 (insertProviderAt): Use equals() instead of ==.
6390 (removeProvicer): Likewise.
6391 (getProvider): Likewise.
6392 * java/security/Signature.java
6393 (sign): Don't set state to UNINITIALIZED.
6396 2004-06-01 Mark Wielaard <mark@klomp.org>
6398 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6399 Implement by calling gtkRequestFocus.
6400 (gtkRequestFocus): New native method.
6401 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6402 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6404 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6406 (filter_expose_event_handler):
6408 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6409 (menu_pos): Mark static.
6411 2004-06-01 Michael Koch <konqueror@gmx.de>
6413 * java/text/CollationElementIterator.java,
6414 java/text/CollationKey.java,
6415 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6416 * testsuite/libjava.mauve/xfails: Removed all
6417 java.text.CollationElementIterator tests.
6419 2004-06-01 Michael Koch <konqueror@gmx.de>
6421 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6423 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6424 Java 1.5 keyword usage.
6426 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6428 * javax/swing/plaf/basic/BasicMenuUI.java:
6429 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6430 Call getPath() from super class instead.
6432 2004-05-31 Michael Koch <konqueror@gmx.de>
6434 * java/io/SequenceInputStream.java:
6435 Rename enum to e because enum is a keyword in Java 1.5.
6437 2004-05-31 Michael Koch <konqueror@gmx.de>
6439 * gnu/java/rmi/rmic/CompilerProcess.java:
6440 Fixed javadoc to by XHTML compliant.
6442 2004-05-30 Mark Wielaard <mark@klomp.org>
6444 * java/awt/Toolkit.java (loadSystemColors): Implement.
6446 2004-05-30 Michael Koch <konqueror@gmx.de>
6448 * java/lang/System.java: Reordered imports.
6450 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6452 * java/text/DecimalFormat.java
6453 (parse): Fixed parsing of decimal strings. Number of maximum
6454 digits to be read should now work.
6455 * java/text/SimpleDateFormat.java
6456 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6457 formatter. This fixes DateFormatTest.
6459 2004-05-30 Michael Koch <konqueror@gmx.de>
6461 * java/nio/Buffer.java
6462 (limit): Fixed off by one error.
6463 * java/nio/CharBuffer.java
6464 (wrap): Fixed arguments, added javadocs.
6466 2004-05-30 Michael Koch <konqueror@gmx.de>
6468 * gnu/java/beans/BeanInfoEmbryo.java,
6469 java/awt/im/InputContext.java,
6470 javax/swing/tree/DefaultMutableTreeNode.java:
6471 Rename enum to e because enum is a keyword in Java 1.5.
6473 2004-05-30 Michael Koch <konqueror@gmx.de>
6475 * gnu/java/math/MPN.java,
6476 java/awt/geom/Arc2D.java:
6477 Fixed javadocs all over.
6479 2004-05-30 Michael Koch <konqueror@gmx.de>
6481 * java/awt/DefaultKeyboardFocusManager.java
6482 (dispatchEvent): Call method to get key event dispatchers.
6483 (dispatchKeyEvent): Call method to get key event post processors.
6484 * javax/swing/JComponent.java
6485 (listenerList): Made protected.
6486 * javax/swing/JOptionPane.java
6487 (message): Don't initialize.
6488 (JOptionPane): Set message text.
6489 * javax/swing/JPopupMenu.java
6490 (show): Fixed typo in argument name.
6491 * javax/swing/RepaintManager.java
6492 (paintDirtyRegions): Use public API of java.util.Map.
6493 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6494 (positionForMouseEvent): Removed redundant ';'.
6495 (continueDrag): Use method arguments.
6497 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6499 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6502 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6504 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6506 * gnu/gcj/RawDataManaged.java: New file.
6507 * java/lang/Thread.java (data): Declare as RawDataManaged.
6508 * java/lang/natThread.cc (init_native): Cast natThread data to
6509 RawDataManaged, not jobject.
6510 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6511 * Makefile.in: Rebuilt.
6513 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6515 * java/util/SimpleTimeZone.java: Reverting my last change until I
6516 can fix it properly.
6518 2004-05-27 Michael Koch <konqueror@gmx.de>
6520 * javax/swing/JPopupMenu.java
6521 (isVisible): Do not use visible directly.
6522 (setVisible): Likewise.
6523 * javax/swing/JWindow.java
6524 (JWindow): call accessible constructor.
6525 * javax/swing/RepaintManager.java
6526 (paintDirtyRegions): Use public methods to obtain iterator.
6528 2004-05-25 David Jee <djee@redhat.com>
6530 * java/awt/Container.java
6531 (remove): Set component's parent to null only after we removed the
6532 component from its parent's layout manager.
6534 2004-05-25 David Jee <djee@redhat.com>
6536 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6537 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6539 * gnu/java/awt/peer/gtk/GtkListPeer.java
6540 (getSize): Change native method declaration.
6541 (minimumSize): Pass visible row count into getSize().
6542 (preferredSize): Likewise.
6543 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6544 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6545 natural size. Use visible row count to determine the final height
6548 2004-05-21 Graydon Hoare <graydon@redhat.com>
6550 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6551 (setClip): Minor correction to order of operations.
6553 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6554 * javax/swing/ScrollPaneLayout.java: Likewise.
6555 * javax/swing/JViewPort.java: Likewise.
6556 * javax/swing/ViewportLayout.java: Likewise.
6558 * javax/swing/JComponent.java: Rewrite.
6559 * javax/swing/RepaintManager.java: Likewise.
6561 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6562 * javax/swing/JList.java
6563 (setSelectedIndices):
6564 (getSelectedIndices):
6565 (getSelectedValues): New functions.
6566 (getPreferredScrollableViewportSize): Return preferred size.
6567 (getScrollableUnitIncrement):
6568 (getScrollableBlockIncrement): Initial implementations.
6569 * javax/swing/JRootPane.java: Clean up slightly.
6574 (isValidateRoot): Add overrides from JComponent.
6575 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6576 * javax/swing/UIManager.java (getDimension): Return the dimension.
6578 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6579 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6580 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6581 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6582 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6583 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6584 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6585 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6586 Likewise, and set background.
6587 * javax/swing/plaf/basic/BasicListUI.java:
6588 Likewise, and improve a bit.
6589 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6590 Likewise, and adjust calculations.
6591 * javax/swing/plaf/basic/BasicViewportUI.java:
6592 Likewise, and improve a bit.
6593 * javax/swing/plaf/basic/BasicLookAndFeel.java
6594 (Button.margin): Shrink.
6596 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6597 Hack to set horizontal always, workaround pango.
6599 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6601 Synchronize more often, check cairo status after ops,
6602 handle changes to cairo pattern API, check for disposal.
6604 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6606 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6607 (BasicMenuItemUI): Create propertyChangeListener.
6608 (getPath):Implemented.
6609 (installListeners): Add propertyChangeListener to menuItem.
6610 (uninstallListeners): Remove propertyChangeListener from menuItem.
6611 (update): Implemented.
6612 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6613 (mouseEntered): Take insets of popup menu into account when
6614 calculating position of popup menu.
6616 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6618 * Makefile.am: Added new file.
6619 * Makefile.in: Regenerate.
6620 * javax/swing/JMenuBar.java:
6621 Started implementation.
6622 * javax/swing/JPopupMenu.java:
6623 (setVisible): Fixed location of lightweight/mediumweight
6625 (show): Fixed location of PopupMenu.
6626 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6627 New file. UI Delegate for JMenuBar.
6628 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6629 (mouseEntered): Corrected position of the submenu.
6631 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6633 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6634 to _gtk_accel_group_attach.
6635 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6638 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6639 package access. Don't override setFont.
6640 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6641 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6642 gtkWidgetRequestFocus package access.
6643 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6645 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6646 Give gtkWidgetRequestFocus package access.
6647 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6648 gtkWidgetRequestFocus package access. Don't override setFont.
6649 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6651 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6652 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6654 (gtkSetFont): Likewise.
6655 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6658 (gtkSetFont): Whitespace fix.
6660 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6661 (gtkWidgetSetUsize): Remove method.
6663 2004-05-18 David Jee <djee@redhat.com>
6665 * java/awt/image/MemoryImageSource.java
6666 (newPixels(int,int,int,int,boolean)): Set only the specified
6667 rectangle of pixels.
6668 (newPixels(byte[],ColorModel,int,int)): Implement.
6669 (newPixels(int[],ColorModel,int,int)): Implement.
6671 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6673 * Makefile.am: Added new file.
6674 * Makefile.in: Regenerate.
6675 * javax/swing/JMenu.java: Started
6677 * javax/swing/JPopupMenu.java:
6678 (insert): If specified index is -1, then
6679 add component at the end.
6680 (isPopupTrigger): Reimplemented.
6681 (JPopupMenu.LightWeightPopup): setBounds
6682 of the lightWeightPopup before adding it
6684 (javax/swing/plaf/basic/BasicIconFactory.java):
6685 (getMenuArrowIcon): Implemented.
6686 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6687 (getPreferredSize): Add size of the arrow icon
6688 if this menu item is instance of JMenu.
6689 (paintMenuItem): Paint arrow icon if this
6690 menu item is a submenu.
6691 * javax/swing/plaf/basic/BasicMenuUI.java:
6692 New File. UI Delegate for JMenu.
6694 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6696 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6697 Post KEY_TYPED events.
6698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6699 (generates_key_typed_event): Remove function.
6701 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6703 * javax/swing/JRootPane.java
6704 (JRootPane.RootLayout): Reimplemented to
6705 set bounds of contentPane and menuBar.
6706 (setJMenuBar): Add menu bar to the layered pane.
6707 (createLayeredPane): Set layout of layeredPane
6709 * javax/swing/JLayeredPane.java:
6710 (addImpl): Calculate index of the component in the
6711 layeredPane according to the specified position within
6714 2004-05-17 David Jee <djee@redhat.com>
6716 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6717 (setPixels): Change color model to the default model after
6719 * java/awt/image/MemoryImageSource.java
6720 (newPixels): Set only the specified rectangle of pixels.
6722 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6724 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6725 -l-java-beans -l-javax-accessibility -l-javax-swing.
6727 * java/awt/AWTEvent.java (toString): Print source's name rather
6728 than the source itself.
6730 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6732 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6735 (gdk_color_to_java_color): New function.
6736 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6738 2004-05-12 David Jee <djee@redhat.com>
6740 * java/awt/image/RGBImageFilter.java:
6741 Initialize origmodel as null.
6742 (makeColor): Fix pixel component order.
6743 (filterRGBPixels): Fix pixel iteration.
6744 (setPixels): Add extra checks for index color model. Convert pixels
6745 to default color model if necessary.
6746 (convertColorModelToDefault): New override method for byte pixels.
6747 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6748 (makeColorbyDefaultCM): New override method for byte pixels.
6749 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6750 (makeColor): Fix pixel component order.
6752 2004-05-11 Kim Ho <kho@redhat.com>
6754 * javax/swing/Box.java:
6755 Comment out more parts of Box.Filler.
6757 2004-05-11 Kim Ho <kho@redhat.com>
6759 * javax/swing/Box.java:
6760 Remove reference to AccessibleAWTComponent so
6763 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6765 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6766 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6767 implementation of list peer to use GtkTreeView instead of
6768 deprecated GtkCList.
6770 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6772 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6773 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6774 (handleEvent): Remove keyChar argument to
6775 gtkWidgetDispatchKeyEvent calls.
6776 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6778 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6783 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6785 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6786 (gtkWidgetRequestFocus): Mark protected.
6787 (GtkComponentPeer): Only set the peer's bounds if its component
6789 * java/awt/Component.java (static): Set the default keyboard
6791 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6792 requestFocusInWindow(temporary)): Don't request focus if the
6793 component is not showing. Get tree lock before traversing
6794 component hierarchy.
6795 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6796 Only set the global focus owner if it is not a Window.
6797 (processKeyEvent): Consume keystrokes associated with the focus
6798 traversal keystroke.
6799 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6800 downFocusCycle): Call requestFocusInWindow instead of
6802 * java/awt/EventDispatchThread.java (run): Move setting of
6803 default keyboard focus manager to Component.java.
6804 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6805 (awt_keycode_to_keysym): New function.
6806 (gtkWidgetDispatchKeyEvent): Finish implementation.
6807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6808 (pre_event_handler): Add FIXME comment.
6810 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6811 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6812 (gtkWidgetRequestFocus): New method.
6813 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6814 disable Tab and Shift-Tab keystrokes.
6815 (addNotify, appendText, insertText, replaceText): Simplify peer
6817 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6818 (connectSignals): Remove connections to "commit" signals.
6819 Remove C++-style comments.
6821 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6822 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6823 (handleEvent): Activate GTK button when the space bar key is
6825 (gtkActivate): New method.
6827 2004-05-06 David Jee <djee@redhat.com>
6829 * java/awt/image/CropImageFilter.java
6830 (setPixels): Implement for byte array pixels.
6831 * java/awt/image/ReplicateScaleFilter.java
6832 (setPixels): Implement for byte array pixels.
6833 (replicatePixels): Overload for byte array pixels.
6835 2004-05-06 Kim Ho <kho@redhat.com>
6837 * javax/swing/Box.java:
6838 (getAccessibleContext): Return an instance of the
6841 2004-05-05 David Jee <djee@redhat.com>
6843 * gnu/java/awt/peer/gtk/GdkGraphics.java
6844 (drawImage): When component is null, use SystemColor.window as
6845 the default bgcolor.
6846 * gnu/java/awt/peer/gtk/GtkImage.java
6847 (setPixels): We can avoid iterating through the pixel rows only
6849 * java/awt/Image.java
6850 (getScaledInstance): Partially implement.
6851 * java/awt/image/CropImageFilter.java
6852 (setProperties): Fix "filter" property.
6853 (setPixels): Implement.
6854 * java/awt/image/ReplicateScaleFilter.java
6855 (setDimensions): Use scaled dimensions.
6856 (setPixels): Implement.
6857 (replicatePixels): New method.
6859 2004-05-05 David Jee <djee@redhat.com>
6861 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6862 (convertPixels): If either pixels or model is null, return null.
6863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6864 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6865 is null, do nothing and return.
6867 2004-05-03 Kim Ho <kho@redhat.com>
6869 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6870 (getGraphics): Like GtkFramePeer, the Graphics
6871 object needs to be translate to account for
6873 (postMouseEvent): New method. Account for
6875 (postExposeEvent): ditto.
6876 * javax/swing/Box.java: Stubbed.
6877 * javax/swing/JDialog.java: Ran through jalopy
6879 (JDialog): Call SwingUtilities' getOwnerFrame
6881 (setLayout): Check isRootPaneCheckingEnabled
6882 * javax/swing/JOptionPane.java: Re-implemented.
6883 * javax/swing/SwingUtilities.java:
6884 (getOwnerFrame): Static method to grab a default
6885 owner frame for Dialogs that don't specify owners.
6886 * javax/swing/event/SwingPropertyChangeSupport.java:
6887 (firePropertyChange): Fix early exit condition.
6888 * javax/swing/plaf/basic/BasicLabelUI.java:
6889 (paint): Avoid painting text if it is null
6891 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6894 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6896 * Makefile.am: Added new file.
6897 * Makefile.in: Regenerate.
6898 * javax/swing/JPopupMenu.java:
6899 Started implementation.
6900 * javax/swing/JWindow.java
6901 (JWindow): call super() if parent for window
6903 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6904 New File. UI Delegate for JPopupMenu.
6906 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6908 * javax/swing/JApplet.java: Indicated that JApplet
6909 implements RootPaneContainer and made method of this
6911 * javax/swing/JFrame.java: Ditto.
6912 * javax/swing/JWindow.java: Ditto.
6914 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6916 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6917 (nativeSetBounds): Call gdk_window_move in addition to
6920 * java/applet/Applet.java (preferredSize): Call parent's
6921 preferredSize if the applet stub is null.
6922 (minimumSize): Likewise for parent's minimumSize.
6924 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6926 * javax/swing/JMenuItem.java
6927 (createActionPropertyChangeListener): Implemented.
6928 (processMouseEvent): Ditto.
6929 (fireMenuDragMouseEntered): Ditto.
6930 (fireMenuDragMouseExited): Ditto.
6931 (fireMenuDragMouseDragged): Ditto.
6932 (fireMenuDragMouseReleased): Ditto.
6933 (menuSelectionChanged): Ditto.
6934 (getSubElements): Ditto.
6935 (getComponent): Ditto.
6936 (addMenuDragMouseListener): Ditto.
6937 (removeMenuDragMouseListener):Ditto.
6938 (addMenuKeyListener): Ditto.
6939 (removeMenuKeyListener): Ditto.
6940 * javax/swing/plaf/basic/BasicMenuItemUI.java
6941 (doClick): Imlemented.
6942 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6943 Don't handle mouse events here. Pass them to
6944 MenuSelectionManager.
6946 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6947 Used correct version of jalopy configuration
6948 file to fix style in the files below.
6950 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6952 * javax/swing/JCheckBoxMenuItem.java:
6953 Fixed style and removed unnecessary comments.
6954 * javax/swing/JMenuItem.java: Ditto.
6955 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6956 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6957 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6958 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6960 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6962 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6965 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6967 * java/awt/ContainerOrderFocusTraversalPolicy.java
6968 (getComponentAfter): Start from current component and work up
6969 the component hierarchy until an acceptable component is found.
6970 Synchronize on tree lock.
6971 (getComponentBefore): Likewise.
6973 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6975 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6976 focus-related debugging messages.
6977 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6978 * java/awt/EventDispatchThread.java: Likewise.
6979 * java/awt/KeyboardFocusManager.java: Likewise.
6980 * java/awt/Window.java: Likewise.
6981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6985 new C++-style comments to C-style comments.
6986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6988 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6989 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6990 (handleEvent): Dispatch key press and key release events to
6992 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6993 (gtkWidgetRequestFocus): New method.
6994 (gtkWidgetDispatchKeyEvent): Likewise.
6995 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6996 requestFocusInWindow, requestFocusInWindow(boolean),
6997 getFocusCycleRootAncestor, nextFocus, transferFocus,
6998 transferFocusBackward, transferFocusUpCycle, hasFocus,
6999 isFocusOwner): Implement and document focus-handling methods.
7000 (setFocusTraversalKeys): Inherit focus traversal keys when
7001 keystrokes argument is null. Fix focus-handling documentation
7003 * java/awt/Container.java (setFocusTraversalKeys,
7004 getFocusTraversalKeys, areFocusTraversalKeysSet,
7005 isFocusCycleRoot, setFocusTraversalPolicy,
7006 getFocusTraversalPolicy, isFocusTraversalPolicySet,
7007 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
7008 Implement and document focus-handling methods.
7009 (transferFocusBackward): Remove method.
7010 (readObject, writeObject): Implement and document serialization
7012 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
7014 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
7016 * java/awt/DefaultKeyboardFocusManager.java: Implement and
7018 * java/awt/EventDispatchThread.java (run): Set default keyboard
7019 focus manager. Attempt to dispatch each event to the keyboard
7020 focus manager before normal dispatch.
7021 * java/awt/KeyboardFocusManager.java: Implement and partially
7023 * java/awt/Window.java (Window): Set focusCycleRoot to true.
7024 (show): Focus initial component when window is shown for the
7026 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7027 (pre_event_handler): Replace complex key press and key release
7028 logic with simple callbacks into GtkComponentPeer.
7029 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
7031 2004-04-21 Olga Rodimina <rodimina@redhat.com>
7033 * javax/swing/MenuSelectionManager.java
7034 (componentForPoint): Added new method.
7035 (defaultManager): New Method. Implemented.
7036 (getSelectedPath): Ditto.
7037 (isComponentPartOfCurrentMenu): Ditto.
7038 (processKeyEvent): Added new method.
7039 (processMouseEvent): New Method. Implemented.
7040 (setSelectedPath): Ditto.
7043 2004-04-19 Kim Ho <kho@redhat.com>
7045 * java/awt/Container.java:
7046 (remove): Set the component's parent to null.
7047 (getComponentAt): Implement.
7048 * javax/swing/JComponent.java:
7049 (JComponent): Initialize defaultLocale
7050 (getDefaultLocale): Implement.
7051 (setDefaultLocale): ditto.
7052 * javax/swing/JSlider.java:
7053 (JSlider): Fix calculation of value.
7054 * javax/swing/JSplitPane.java: Implement.
7055 * javax/swing/plaf/basic/BasicLookAndFeel.java:
7056 Change SplitPane's default divider size.
7057 * javax/swing/plaf/basic/BasicScrollBarUI.java:
7058 (paint): Remove unused code.
7059 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
7060 Added comments and ran through jalopy.
7061 (setBasicSplitPaneUI): Get reference to hidden divider
7062 and set up one touch buttons if necessary.
7063 (setBorder): Fire propertyChangeEvent only if
7064 borders are different.
7065 (getPreferredSize): Defer to layout manager.
7066 (propertyChange): Implement.
7067 (oneTouchExpandableChanged): ditto.
7068 (createLeftOneTouchButton): Use BasicArrowButton.
7069 (createRightOneTouchButton): ditto.
7070 (moveDividerTo): New method. Moves the divider
7071 to a set location based on the last divider location.
7072 (BasicSplitPaneDivider::MouseHandler): Implement.
7073 (BasicSplitPaneDivider::OneTouchButton): Removed.
7074 (BasicSplitPaneDivider::DragController): Implement.
7075 (BasicSplitPaneDivider::VerticalDragController):
7077 (BasicSplitPaneDivider::DividerLayout): ditto.
7078 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
7079 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7080 (calculateLayoutInfo): Don't show component if it's
7082 (paintTab): Fix title paint logic.
7084 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
7087 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
7088 (setStartRule,setEndRule): Don't take abs of day number.
7089 (getOffset): Clarify docs. Add argument checks.
7090 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
7091 (equals,hasSameRules,toString,readObject): Use startTimeMode and
7093 * testsuite/libjava.mauve/xfails
7094 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
7096 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
7098 Layout interfaces during preparation, not initialization.
7099 * java/lang/natClass.cc (initializeClass): Move
7100 _Jv_LayoutInterfaceMethods call...
7101 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
7103 2004-05-19 Anthony Green <green@localhost.localdomain>
7105 * Makefile.am (awt_java_source_files): Remove javax.rmi and
7107 * Makefile.in: Rebuilt.
7108 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
7109 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
7110 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
7111 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
7112 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
7113 gnu/javax/rmi/CORBA/DelegateFactory.java,
7114 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
7115 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
7116 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
7117 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
7118 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
7119 gnu/javax/rmi/PortableServer.java: Remove files.
7121 2004-05-19 Anthony Green <green@redhat.com>
7123 * Makefile.am: Define JAVA_EXT_DIRS.
7124 * Makefile.in: Rebuilt.
7125 * java/lang/natRuntime.cc (insertSystemProperties): Set
7126 java.ext.dirs property.
7128 2004-05-16 Mark Wielaard <mark@klomp.org>
7130 * java/io/Writer.java (Writer(Object)): Check for null lock object.
7132 2004-05-15 Mark Wielaard <mark@klomp.org>
7134 * doc/cni.sgml: Removed, merged into gcj.texi.
7136 2004-05-15 Mark Wielaard <mark@klomp.org>
7138 * Makefile.am (ordinary_java_source_files): Add new javax.print
7140 * Makefile.in: Regenerated.
7142 2004-05-15 Michael Koch <konqueror@gmx.de>
7144 * javax/print/attribute/standard/DateTimeAtCompleted.java,
7145 javax/print/attribute/standard/DateTimeAtCreation.java,
7146 javax/print/attribute/standard/DateTimeAtProcessing.java,
7147 javax/print/attribute/standard/DocumentName.java,
7148 javax/print/attribute/standard/JobHoldUntil.java,
7149 javax/print/attribute/standard/JobImpressionsCompleted.java,
7150 javax/print/attribute/standard/JobMessageFromOperator.java,
7151 javax/print/attribute/standard/JobName.java,
7152 javax/print/attribute/standard/JobOriginatingUserName.java,
7153 javax/print/attribute/standard/JobPriority.java,
7154 javax/print/attribute/standard/JobPrioritySupported.java,
7155 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7156 javax/print/attribute/standard/OutputDeviceAssigned.java,
7157 javax/print/attribute/standard/PrinterInfo.java,
7158 javax/print/attribute/standard/PrinterLocation.java,
7159 javax/print/attribute/standard/PrinterMakeAndModel.java,
7160 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7161 javax/print/attribute/standard/PrinterName.java,
7162 javax/print/attribute/standard/QueuedJobCount.java,
7163 javax/print/attribute/standard/RequestingUserName.java:
7164 Fixed javadocs all over.
7166 2004-05-15 Michael Koch <konqueror@gmx.de>
7168 * javax/print/DocFlavor.java,
7169 javax/print/attribute/standard/ColorSupported.java,
7170 javax/print/attribute/standard/Compression.java,
7171 javax/print/attribute/standard/CopiesSupported.java,
7172 javax/print/attribute/standard/Fidelity.java,
7173 javax/print/attribute/standard/Finishings.java,
7174 javax/print/attribute/standard/JobImpressionsSupported.java,
7175 javax/print/attribute/standard/JobKOctetsSupported.java,
7176 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7177 javax/print/attribute/standard/JobSheets.java,
7178 javax/print/attribute/standard/JobState.java,
7179 javax/print/attribute/standard/JobStateReason.java,
7180 javax/print/attribute/standard/JobStateReasons.java,
7181 javax/print/attribute/standard/Media.java,
7182 javax/print/attribute/standard/MediaSizeName.java,
7183 javax/print/attribute/standard/MultipleDocumentHandling.java,
7184 javax/print/attribute/standard/NumberUpSupported.java,
7185 javax/print/attribute/standard/OrientationRequested.java,
7186 javax/print/attribute/standard/PDLOverrideSupported.java,
7187 javax/print/attribute/standard/PageRanges.java,
7188 javax/print/attribute/standard/PresentationDirection.java,
7189 javax/print/attribute/standard/PrintQuality.java,
7190 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7191 javax/print/attribute/standard/PrinterMoreInfo.java,
7192 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7193 javax/print/attribute/standard/PrinterResolution.java,
7194 javax/print/attribute/standard/PrinterState.java,
7195 javax/print/attribute/standard/PrinterStateReason.java,
7196 javax/print/attribute/standard/PrinterStateReasons.java,
7197 javax/print/attribute/standard/PrinterURI.java,
7198 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7199 javax/print/attribute/standard/Severity.java,
7200 javax/print/attribute/standard/SheetCollate.java,
7201 javax/print/attribute/standard/Sides.java:
7202 Added serialVersionUID and removed final keyword where it doenst
7205 2004-05-15 Michael Koch <konqueror@gmx.de>
7207 * javax/print/PrintServiceLookup.java: New file.
7209 2004-05-15 Michael Koch <konqueror@gmx.de>
7211 * javax/print/DocFlavor.java:
7212 Implemented all flavor classes.
7214 2004-05-15 Michael Koch <konqueror@gmx.de>
7216 * javax/print/attribute/standard/ColorSupported.java,
7217 javax/print/attribute/standard/Compression.java,
7218 javax/print/attribute/standard/CopiesSupported.java,
7219 javax/print/attribute/standard/Fidelity.java,
7220 javax/print/attribute/standard/Finishings.java,
7221 javax/print/attribute/standard/JobImpressionsSupported.java,
7222 javax/print/attribute/standard/JobKOctetsSupported.java,
7223 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7224 javax/print/attribute/standard/JobSheets.java,
7225 javax/print/attribute/standard/JobState.java,
7226 javax/print/attribute/standard/JobStateReason.java,
7227 javax/print/attribute/standard/JobStateReasons.java,
7228 javax/print/attribute/standard/Media.java,
7229 javax/print/attribute/standard/MediaSizeName.java,
7230 javax/print/attribute/standard/MultipleDocumentHandling.java,
7231 javax/print/attribute/standard/NumberUpSupported.java,
7232 javax/print/attribute/standard/OrientationRequested.java,
7233 javax/print/attribute/standard/PDLOverrideSupported.java,
7234 javax/print/attribute/standard/PageRanges.java,
7235 javax/print/attribute/standard/PresentationDirection.java,
7236 javax/print/attribute/standard/PrintQuality.java,
7237 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7238 javax/print/attribute/standard/PrinterMoreInfo.java,
7239 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7240 javax/print/attribute/standard/PrinterResolution.java,
7241 javax/print/attribute/standard/PrinterState.java,
7242 javax/print/attribute/standard/PrinterStateReason.java,
7243 javax/print/attribute/standard/PrinterStateReasons.java,
7244 javax/print/attribute/standard/PrinterURI.java,
7245 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7246 javax/print/attribute/standard/Severity.java,
7247 javax/print/attribute/standard/SheetCollate.java,
7248 javax/print/attribute/standard/Sides.java: New files.
7250 2004-05-15 Michael Koch <konqueror@gmx.de>
7252 * javax/print/Doc.java
7253 (getPrintData): Throws IOException.
7254 (getReaderForText): Likewise.
7255 (getStreamForBytes): Likewise.
7256 * javax/print/DocFlavor.java:
7257 Fixed filename in copyright.
7258 (serialVersionUID): New field.
7259 * javax/print/ServiceUIFactory.java:
7260 Made all constants final.
7261 * javax/print/AttributeException.java
7262 javax/print/MultiDoc.java
7263 javax/print/MultiDocPrintJob.java
7264 javax/print/MultiDocPrintService.java
7265 javax/print/StreamPrintService.java
7266 javax/print/URIException.java: New files.
7267 * javax/print/Makefile.am
7268 (EXTRA_DIST): Added all new files.
7270 2004-05-15 Michael Koch <konqueror@gmx.de>
7272 * javax/print/attribute/standard/Copies.java,
7273 javax/print/attribute/standard/DateTimeAtCompleted.java,
7274 javax/print/attribute/standard/DateTimeAtCreation.java,
7275 javax/print/attribute/standard/DateTimeAtProcessing.java,
7276 javax/print/attribute/standard/DocumentName.java,
7277 javax/print/attribute/standard/JobHoldUntil.java,
7278 javax/print/attribute/standard/JobImpressions.java,
7279 javax/print/attribute/standard/JobImpressionsCompleted.java,
7280 javax/print/attribute/standard/JobKOctets.java,
7281 javax/print/attribute/standard/JobKOctetsProcessed.java,
7282 javax/print/attribute/standard/JobMediaSheets.java,
7283 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7284 javax/print/attribute/standard/JobMessageFromOperator.java,
7285 javax/print/attribute/standard/JobName.java,
7286 javax/print/attribute/standard/JobOriginatingUserName.java,
7287 javax/print/attribute/standard/JobPriority.java,
7288 javax/print/attribute/standard/JobPrioritySupported.java,
7289 javax/print/attribute/standard/NumberOfDocuments.java,
7290 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7291 javax/print/attribute/standard/NumberUp.java,
7292 javax/print/attribute/standard/OutputDeviceAssigned.java,
7293 javax/print/attribute/standard/PagesPerMinute.java,
7294 javax/print/attribute/standard/PagesPerMinuteColor.java:
7295 Fixed @return tag all over.
7297 2004-05-15 Michael Koch <konqueror@gmx.de>
7299 * javax/print/attribute/AttributeSetUtilities.java
7300 (verifyCategoryForValue): Fixed typo in javadoc.
7301 * javax/print/attribute/HashAttributeSet.java
7302 (containsKey): Fixed @return tag.
7303 (comtainsValue): Likewise.
7305 * javax/print/attribute/IntegerSyntax.java
7307 * javax/print/attribute/ResolutionSyntax.java
7309 (getCrossFeedResolution): Removed unused code.
7310 (getFeedResolution): Likewise.
7311 * javax/print/attribute/SetOfIntegerSyntax.java
7312 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7313 (equals): Fixed @return tag.
7314 * javax/print/attribute/TextSyntax.java
7315 (TextSyntax): Take locale into account.
7316 (hashCode): Better implementation.
7318 2004-05-15 Michael Koch <konqueror@gmx.de>
7320 * javax/print/CancelablePrintJob.java,
7321 javax/print/Doc.java,
7322 javax/print/DocFlavor.java,
7323 javax/print/DocPrintJob.java,
7324 javax/print/FlavorException.java,
7325 javax/print/PrintException.java,
7326 javax/print/PrintService.java,
7327 javax/print/ServiceUIFactory.java: New files.
7329 2004-05-15 Mark Wielaard <mark@klomp.org>
7331 * gnu/regexp/CharIndexedReader.java: Removed.
7332 * gnu/regexp/REFilterReader.java: Likewise.
7333 * gnu/regexp/RETokenLookAhead.java: Likewise.
7334 * Makefile.am (ordinary_java_source_files): Remove above classes.
7335 * Makefile.in: Regenerated.
7337 2004-05-14 Tom Tromey <tromey@redhat.com>
7339 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7340 not `XGraphicsConfiguration.XOffScreenImage'.
7342 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7344 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7346 2004-05-14 Steven Augart <augart@watson.ibm.com>
7348 * include/jni.h (_Jv_func): Removed.
7349 (struct JNINativeInterface): Use `void *' for reserved slots.
7350 (struct JNIInvokeInterface): Likewise.
7352 2004-05-11 Michael Koch <konqueror@gmx.de>
7354 * gnu/java/net/natPlainSocketImplPosix.cc
7355 (read): Fixed typo in expression.
7357 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7359 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7360 ld_library_additions. Adjust all calls to libjava_invoke to match
7363 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7364 path to cxxflagslist.
7365 Pass path of libstdc++ to libjava_invoke.
7367 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7368 libjava_invoke arguments.
7370 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7372 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7375 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7377 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7378 main binary against the JNI shared library.
7380 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7382 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7383 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7384 (SimpleTimeZone): Tweak docs. Add new variation.
7385 (setStartRule,setEndRule): Add new variations. Use
7386 startTimeMode and endTimeMode.
7388 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7390 * java/util/Calendar.java (getActualMinimum,
7391 getActualMaximum): Remove abstract. Implement.
7393 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7395 Run the jni tests using the interpreter.
7396 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7397 options_cxx to shared lib compile command.
7398 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7399 they are used to link the shared lib, not the main binary.
7400 Use libjava_invoke to run gij.
7402 2004-05-06 Michael Koch <konqueror@gmx.de>
7404 * java/util/logging/Level.java
7405 (parse): Use == instead of String.equals().
7407 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7409 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7410 verify_field_signature and verify_method_signature, not
7411 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7412 (_Jv_ClassReader::handleField): Likewise.
7413 (_Jv_ClassReader::handleMethod): Likewise.
7415 2004-05-06 Michael Koch <konqueror@gmx.de>
7417 * javax/swing/table/TableColumn.java:
7420 2004-05-06 Michael Koch <konqueror@gmx.de>
7422 * javax/imageio/spi/ImageReaderWriterSpi.java
7423 (ImageReaderWriterSpi): Made it public.
7424 * javax/imageio/stream/ImageInputStream.java:
7427 2004-05-06 Michael Koch <konqueror@gmx.de>
7429 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7432 2004-05-06 Michael Koch <konqueror@gmx.de>
7434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7435 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7437 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7438 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7440 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7441 their own source file.
7442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7443 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7444 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7445 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7446 (create): Define variable on top of function.
7447 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7448 (menu_pos): Prototyped.
7449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7450 (setTitle): Removed.
7451 * jni/gtk-peer/gthread-jni.c
7452 (gdk_threads_wake): Removed.
7453 * Makefile.am (gtk_c_source_files): Added new files
7454 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7455 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7456 * Makefile.in: Regenerated.
7458 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7460 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7463 2004-05-05 Mark Wielaard <mark@klomp.org>
7465 * javax/swing/AbstractButton.java: Replace special HTML entities with
7467 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7468 * javax/swing/DefaultButtonModel.java: Likewise.
7469 * javax/swing/DefaultListModel.java: Likewise.
7470 * javax/swing/JList.java: Likewise.
7471 * javax/swing/JSlider.java: Likewise.
7472 * javax/swing/ListModel.java: Likewise.
7473 * javax/swing/Popup.java: Likewise.
7474 * javax/swing/SwingUtilities.java: Likewise.
7476 2004-05-05 Michael Koch <konqueror@gmx.de>
7478 * javax/swing/AbstractButton.java,
7479 javax/swing/ActionMap.java,
7480 javax/swing/DefaultButtonModel.java,
7481 javax/swing/DefaultListModel.java,
7482 javax/swing/ImageIcon.java,
7483 javax/swing/JComboBox.java,
7484 javax/swing/JComponent.java,
7485 javax/swing/JFrame.java,
7486 javax/swing/JInternalFrame.java,
7487 javax/swing/JMenuBar.java,
7488 javax/swing/JMenuItem.java,
7489 javax/swing/JOptionPane.java,
7490 javax/swing/JProgressBar.java,
7491 javax/swing/JRootPane.java,
7492 javax/swing/JScrollBar.java,
7493 javax/swing/JScrollPane.java,
7494 javax/swing/JSeparator.java,
7495 javax/swing/JSlider.java,
7496 javax/swing/JTabbedPane.java,
7497 javax/swing/JTable.java,
7498 javax/swing/JTextField.java,
7499 javax/swing/JToolBar.java,
7500 javax/swing/JToolTip.java,
7501 javax/swing/JTree.java,
7502 javax/swing/JViewport.java,
7503 javax/swing/JWindow.java,
7504 javax/swing/KeyStroke.java,
7505 javax/swing/LookAndFeel.java,
7506 javax/swing/SwingUtilities.java,
7507 javax/swing/Timer.java,
7508 javax/swing/ToolTipManager.java,
7509 javax/swing/UIDefaults.java,
7510 javax/swing/border/TitledBorder.java,
7511 javax/swing/filechooser/FileSystemView.java,
7512 javax/swing/plaf/basic/BasicButtonListener.java,
7513 javax/swing/plaf/basic/BasicButtonUI.java,
7514 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7515 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7516 javax/swing/plaf/basic/BasicLabelUI.java,
7517 javax/swing/plaf/basic/BasicMenuItemUI.java,
7518 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7519 javax/swing/plaf/basic/BasicRootPaneUI.java,
7520 javax/swing/plaf/basic/BasicScrollBarUI.java,
7521 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7522 javax/swing/plaf/basic/BasicSliderUI.java,
7523 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7524 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7525 javax/swing/table/JTableHeader.java,
7526 javax/swing/text/AbstractDocument.java,
7527 javax/swing/text/DefaultCaret.java,
7528 javax/swing/text/StyledEditorKit.java,
7529 javax/swing/tree/DefaultTreeCellEditor.java:
7532 2004-05-05 Michael Koch <konqueror@gmx.de>
7534 * java/util/prefs/AbstractPreferences.java
7535 (AbstractPreferences): Added parenthesis for clarity.
7536 Closes classpath bug #7940.
7538 2004-05-05 Tom Tromey <tromey@redhat.com>
7540 * javax/naming/CompoundName.java (endsWith): Look at correct
7541 element of source name.
7543 2004-05-05 Mark Wielaard <mark@klomp.org>
7545 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7546 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7548 2004-05-05 Tom Tromey <tromey@redhat.com>
7550 * java/io/BufferedReader.java (skip): Removed unused
7553 2004-05-05 Michael Koch <konqueror@gmx.de>
7555 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7557 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7559 * java/text/AttributedString.java,
7560 java/text/AttributedStringIterator.java,
7561 java/text/Collator.java,
7562 java/text/DecimalFormatSymbols.java,
7563 java/text/NumberFormat.java,
7564 java/text/RuleBasedCollator.java:
7567 2004-05-05 Tom Tromey <tromey@redhat.com>
7569 * java/text/Format.java: Cleaned up imports.
7570 * java/text/DecimalFormat.java: Cleaned up imports.
7571 * java/security/SecureRandom.java: Cleaned up imports.
7572 (SecureRandom): Removed unused variable.
7573 * java/security/UnresolvedPermission.java: Cleaned up imports.
7574 * java/util/Date.java (parse): Removed unused variable.
7575 * java/util/ResourceBundle.java: Cleaned up imports.
7576 (getBundle): Removed unused variable.
7577 (tryBundle): Likewise.
7578 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7580 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7582 * java/text/SimpleDateFormat.java:
7583 (formatWithAttribute): New method. It implements
7584 the formatting process with attributes.
7585 (format): Use formatWithAttribute.
7586 (formatToCharacterIterator): New method. Use
7587 formatWithAttribute.
7589 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7591 * java/text/MessageFormat.java:
7592 (class Field): New class.
7593 (formatToCharacterIterator): New method.
7594 (format): Use formatInternal now.
7595 (formatInternal): New method. String formatter should
7596 be done here (with attributes). Attributes merging supported.
7597 (parse): More documentation.
7598 (getFormatsByArgumentIndex): New method.
7599 (setFormatByArgumentIndex): New method.
7600 (setFormatsByArgumentIndex): New method.
7602 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7604 * java/text/DecimalFormat.java
7605 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7606 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7607 (parse): Fixed handling of exponentiation notation and grouping.
7609 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7611 * java/text/DecimalFormat.java
7612 (scanFix): Build attribute array. Fixed error reporting.
7613 (applyPatternWithSymbols): Store attributes for the prefix and
7615 (formatInternal): New method. Changed the way the string is
7616 computed. Implemented attributes. Cleant up rounding in
7617 exponential notation.
7618 (format): Use formatInternal.
7619 (formatToCharacterIterator): New method.
7620 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7621 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7622 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7625 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7627 * java/security/interfaces/DSAKeyPairGenerator.java,
7628 java/security/interfaces/DSAPrivateKey.java,
7629 java/security/interfaces/DSAPublicKey.java,
7630 java/security/interfaces/RSAPrivateKey.java,
7631 java/security/interfaces/RSAPublicKey.java:
7634 2004-05-04 Michael Koch <konqueror@gmx.de>
7636 * java/nio/ByteBuffer.java,
7637 java/nio/CharBuffer.java,
7638 java/nio/DoubleBuffer.java,
7639 java/nio/FloatBuffer.java,
7640 java/nio/IntBuffer.java,
7641 java/nio/LongBuffer.java,
7642 java/nio/ShortBuffer.java:
7643 (compareTo): Fixed bogus implementation in all buffer classes.
7645 2004-05-04 Ingo Proetel <proetel@aicas.com>
7647 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7648 32 bit pixels not 8 bit pixels.
7649 (isCompatibleRaster): Added javadoc comment.
7651 2004-05-04 Ingo Proetel <proetel@aicas.com>
7653 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7656 2004-05-04 Ingo Proetel <proetel@aicas.com>
7658 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7659 (getColorModel): Return the actual color model.
7660 (getRaster): Implemented.
7661 (ColorRaster): New inner class.
7662 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7664 * java/awt/Color.java (<init>): Make exception more verbose.
7665 (createContext): Use ColorModel when creating a PaintContext.
7667 2004-05-04 Michael Koch <konqueror@gmx.de>
7669 * gnu/java/text/CharacterBreakIterator.java
7670 (previous): Removed unused variable.
7672 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7674 * gnu/java/text/FormatBuffer.java,
7675 gnu/java/text/AttributedFormatBuffer.java,
7676 gnu/java/text/StringFormatBuffer.java: New classes to implement
7677 attributed iterators in java.text.
7678 * gnu/java/text/FormatCharacterIterator.java: Moved
7679 from java/text as it is an internal class.
7680 * java/text/FormatCharacterIterator.java: Removed.
7681 * java/text/Format.java:
7682 Import gnu.java.text.FormatCharacterIterator.
7683 * Makefile.am (java_source_files): Added new files.
7684 * Makefile.in: Regenerated.
7687 2004-05-04 Mark Wielaard <mark@klomp.org>
7689 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7691 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7693 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7694 * Makefile.in: Rebuilt.
7696 2004-05-03 Mark Wielaard <mark@klomp.org>
7698 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7699 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7701 (set(String, String, int, String, String, String, String, String)):
7702 Assign this.file to path or path + "?" + query.
7703 * java/util/Arrays.java: Call static methods staticly.
7704 * java/util/zip/ZipEntry.java: Likewise.
7705 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7706 dir to this.direction.
7707 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7708 Assign static field only once.
7709 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7711 2004-05-03 Mark Wielaard <mark@klomp.org>
7713 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7714 unused variables hScrollbarHeight and vScrollbarWidth.
7715 (preferredSize): Likewise.
7716 * gnu/java/security/provider/DSAParameters.java (engineToString):
7717 Removed unused call to System.getProperty("line.seperator");
7718 * java/security/Security.java (loadProviders): Return result.
7720 2004-05-03 Tom Tromey <tromey@redhat.com>
7722 * java/net/URLStreamHandler.java (toExternalForm): Removed
7725 * java/math/BigDecimal.java (divide): Removed unused variable.
7726 * java/lang/Throwable.java: Cleaned up imports.
7727 * java/lang/ClassLoader.java: Cleaned up imports.
7728 * java/io/FilePermission.java (implies): Removed unused
7730 * java/awt/TextComponent.java: Removed unused import.
7731 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7732 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7733 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7734 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7736 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7737 * gnu/java/text/CharacterBreakIterator.java: Removed
7739 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7741 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7742 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7744 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7745 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7746 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7747 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7748 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7749 (lookupProviders): Removed unused variable.
7750 (loadNextServiceProvider): Likewise.
7751 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7753 2004-05-03 Michael Koch <konqueror@gmx.de>
7755 Fixes PR libgcj/14695:
7756 * java/net/NetworkInterface.java
7757 (getByName): Return null when no interface was found.
7759 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7760 Tom Tromey <tromey@redhat.com>
7762 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7763 additional option "-Wmissing-prototypes" for compiling C sources.
7764 Print actual filename for pass/fail rather than $name.c.
7765 * testsuite/libjava.jni/PR15133.java: New testcase file.
7766 * testsuite/libjava.jni/PR15133.c: Likewise.
7767 * testsuite/libjava.jni/PR15133.out: Likewise.
7769 2004-04-30 Roger Sayle <roger@eyesopen.com>
7771 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7774 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7776 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7777 limit the maximum heap size to avoid unnecessary thrashing.
7779 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7781 * java/text/CollationElementIterator.java (reset): Reset
7782 lookahead variables.
7784 2004-04-23 Mark Wielaard <mark@klomp.org>
7786 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7788 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7790 * java/sql/DriverManager.java:
7793 2004-04-23 Michael Koch <konqueror@gmx.de>
7796 (hashcode): Don't initialize with default value explicitely.
7797 (getContent): Removed redundant "final" keyword.
7798 (openStream): Likewise.
7799 (getURLStreamHandler): Fixed coding style.
7800 * java/net/URLConnection.java
7801 (defaultAllowUserInteraction): Don't initialize with default value
7803 (connected): Likewise.
7804 (doOutput): Likewise.
7805 (ifModifiedSince): Likewise.
7806 (dateformats_initialized): Likewise.
7807 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7809 2004-04-23 Michael Koch <konqueror@gmx.de>
7811 * gnu/java/nio/channels/FileChannelImpl.java
7812 (SET, CUR): Unused, removed.
7813 (read): Implement here directly.
7814 (implRead): Removed.
7815 (write): Implement here directly.
7816 (implWrite): Removed.
7818 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7820 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7821 javax/rmi/CORBA/Stub.java,
7822 javax/rmi/CORBA/Util.java,
7823 javax/rmi/CORBA/ValueHandler.java,
7824 javax/rmi/CORBA/ValueHandler.java,
7825 javax/rmi/PortableRemoteObject.java:
7828 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7830 * java/util/jar/JarFile.java,
7831 java/util/jar/JarInputStream.java,
7832 java/util/jar/JarOutputStream.java,
7833 java/util/jar/Manifest.java:
7836 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7838 * java/util/ArrayList.java,
7839 java/util/Calendar.java,
7840 java/util/Currency.java,
7841 java/util/HashMap.java,
7842 java/util/HashSet.java,
7843 java/util/Hashtable.java,
7844 java/util/LinkedList.java,
7845 java/util/Properties.java,
7846 java/util/PropertyPermission.java,
7847 java/util/TimeZone.java,
7848 java/util/TreeMap.java,
7849 java/util/TreeSet.java,
7850 java/util/Vector.java,
7851 java/util/WeakHashMap.java:
7854 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7856 * java/util/logging/FileHandler.java,
7857 java/util/logging/Formatter.java,
7858 java/util/logging/Handler.java,
7859 java/util/logging/Logger.java,
7860 java/util/logging/SimpleFormatter.java,
7861 java/util/logging/XMLFormatter.java:
7864 2004-04-22 Mark Wielaard <mark@klomp.org>
7866 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7867 -Wno-long-long flags variable.
7868 (gtk_c_files): Use PEDANTIC_CFLAGS.
7869 * Makefile.in: Regenerated.
7871 2004-04-22 Mark Wielaard <mark@klomp.org>
7873 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7874 Changed C++ comments into C comments.
7875 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7878 2004-04-22 Michael Koch <konqueror@gmx.de>
7880 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7881 Merged copyright year with GNU classpath.
7883 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7885 * javax/security/auth/x500/X500Principal.java:
7888 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7890 * javax/swing/JSlider.java:
7891 Fixed HTML tags in comments.
7893 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7895 * javax/accessibility/AccessibleText.java:
7898 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7900 * java/net/URLStreamHandler.java
7901 (parseURL): Convert the file path to using '/' instead of native
7904 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7907 (userInfo): New field.
7908 (URL): Set authority to the right value.
7909 (setURL): Fixed authority and file initialization.
7910 * java/net/URLStreamHandler.java
7911 (parseURL): Take care of the query tag. Build authority.
7912 (toExternalForm): Fixed URL building using authority.
7914 2004-04-22 Michael Koch <konqueror@gmx.de>
7916 * java/net/Socket.java
7917 (impl): Made package-private.
7918 * java/net/ServerSocket.java
7919 (implAccept): Access Socket.impl field directly.
7921 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7923 * java/util/prefs/Preferences.java,
7924 java/util/prefs/InvalidPreferencesFormatException.java,
7925 java/util/prefs/BackingStoreException.java,
7926 java/util/prefs/AbstractPreferences.java:
7929 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7931 * java/util/regex/Matcher.java,
7932 java/util/regex/Pattern.java:
7935 2004-04-22 Michael Koch <konqueror@gmx.de>
7937 * java/nio/charset/IllegalCharsetNameException.java
7938 (charsetName): Made private.
7939 (IllegalCharsetNameException): Added @param tag to javadoc.
7940 (getCharsetName): Added @return tag to javadoc.
7941 * java/nio/charset/MalformedInputException.java
7942 (MalformedInputException): Added @param tag to javadoc.
7943 (getInputLength): Revised method description, added @return tag.
7944 (getMessage): Added @return tag.
7946 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7948 * java/awt/Font.java (deriveFont): Implement missing variants.
7949 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7952 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7954 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7955 Set method->index values for interface methods to their itable index.
7956 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7958 2004-04-21 Michael Koch <konqueror@gmx.de>
7960 * java/nio/DirectByteBufferImpl.java
7961 (shiftDown): Made static, give address as argument and
7962 provide a convenience method that overwrites shiftDown in
7963 ByteBufferImpl and calls the native shiftDown.
7964 * java/nio/MappedByteBufferImpl.java
7965 (): Use optimized method in DirectByteBufferImpl.
7966 * java/nio/natDirectByteBufferImpl.cc
7967 (shiftDown): Changed method signature. Removed usage of array_offset.
7969 2004-04-21 Michael Koch <konqueror@gmx.de>
7971 * gnu/java/net/natPlainSocketImplPosix.cc
7972 (SocketInputStream::read): Make sure returned data is a byte value.
7974 2004-04-21 Michael Koch <konqueror@gmx.de>
7976 * gnu/classpath/ServiceFactory.java,
7977 gnu/classpath/ServiceProviderLoadingAction.java,
7978 javax/imageio/ImageReader.java,
7979 javax/imageio/ImageTranscoder.java,
7980 javax/imageio/ImageWriter.java,
7981 javax/imageio/package.html,
7982 javax/imageio/spi/IIOServiceProvider.java,
7983 javax/imageio/spi/ImageInputStreamSpi.java,
7984 javax/imageio/spi/ImageOutputStreamSpi.java,
7985 javax/imageio/spi/ImageReaderWriterSpi.java,
7986 javax/imageio/spi/ImageTranscoderSpi.java,
7987 javax/imageio/spi/RegisterableService.java,
7988 javax/imageio/spi/ServiceRegistry.java,
7989 javax/imageio/spi/package.html,
7990 javax/imageio/stream/IIOByteBuffer.java,
7991 javax/imageio/stream/ImageInputStream.java,
7992 javax/imageio/stream/ImageOutputStream.java,
7993 javax/imageio/stream/package.html:
7996 (ordinary_java_source_files): Added
7997 gnu/classpath/ServiceFactory.java and
7998 gnu/classpath/ServiceProviderLoadingAction.java.
7999 (javax_source_files): Added
8000 javax/imageio/ImageReader.java,
8001 javax/imageio/ImageTranscoder.java,
8002 javax/imageio/ImageWriter.java,
8003 javax/imageio/spi/IIOServiceProvider.java,
8004 javax/imageio/spi/ImageInputStreamSpi.java,
8005 javax/imageio/spi/ImageOutputStreamSpi.java,
8006 javax/imageio/spi/ImageReaderWriterSpi.java,
8007 javax/imageio/spi/ImageTranscoderSpi.java,
8008 javax/imageio/spi/RegisterableService.java,
8009 javax/imageio/spi/ServiceRegistry.java,
8010 javax/imageio/stream/IIOByteBuffer.java,
8011 javax/imageio/stream/ImageInputStream.java and
8012 javax/imageio/stream/ImageOutputStream.java.
8013 * Makefile.in: Regenerated.
8015 2004-04-21 Michael Koch <konqueror@gmx.de>
8017 * java/util/Properties.java
8018 (load): Fix wrongly merged fix.
8020 2004-04-21 Mark Wielaard <mark@klomp.org>
8022 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
8023 malloc and free buf.
8025 2004-04-21 Dalibor Topic <robilad@kaffe.org>
8027 * javax/naming/AuthenticationException.java,
8028 javax/naming/AuthenticationNotSupportedException.java,
8029 javax/naming/CannotProceedException.java,
8030 javax/naming/CommunicationException.java,
8031 javax/naming/CompoundName.java,
8032 javax/naming/ConfigurationException.java,
8033 javax/naming/ContextNotEmptyException.java,
8034 javax/naming/InitialContext.java,
8035 javax/naming/InsufficientResourcesException.java,
8036 javax/naming/InterruptedNamingException.java,
8037 javax/naming/LimitExceededException.java,
8038 javax/naming/LinkException.java,
8039 javax/naming/LinkLoopException.java,
8040 javax/naming/LinkRef.java,
8041 javax/naming/MalformedLinkException.java,
8042 javax/naming/Name.java,
8043 javax/naming/NameAlreadyBoundException.java,
8044 javax/naming/NameNotFoundException.java,
8045 javax/naming/NamingSecurityException.java,
8046 javax/naming/NoInitialContextException.java,
8047 javax/naming/NoPermissionException.java,
8048 javax/naming/NotContextException.java,
8049 javax/naming/PartialResultException.java,
8050 javax/naming/ReferralException.java,
8051 javax/naming/ServiceUnavailableException.java,
8052 javax/naming/SizeLimitExceededException.java,
8053 javax/naming/TimeLimitExceededException.java,
8054 javax/naming/directory/Attribute.java,
8055 javax/naming/directory/Attributes.java,
8056 javax/naming/directory/SearchResult.java,
8057 javax/naming/event/NamingExceptionEvent.java,
8058 javax/naming/spi/ResolveResult.java:
8061 2004-04-21 Mark Wielaard <mark@klomp.org>
8063 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
8064 Changed C++ comments into C comments. Removed commented out code.
8065 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
8067 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
8069 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
8071 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
8073 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
8075 * native/jni/gtk-peer/gthread-jni.c:
8078 2004-04-21 Mark Wielaard <mark@klomp.org>
8080 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
8081 static fields defined in interface.
8082 * javax/awt/JDialog.java: Likewise.
8083 (JDialog): Make constructors public.
8084 (getDefaultCloseOperation): Make public.
8085 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
8086 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
8087 * javax/swing/JViewport.java (JViewport): Make constructor public.
8089 2004-04-21 Michael Koch <konqueror@gmx.de>
8091 * java/util/Map.java
8092 (Entry): Removed redundant "static" modifier.
8093 * java/text/AttributedCharacterIterator.java:
8094 Updated copyright year.
8096 2004-04-20 Michael Koch <konqueror@gmx.de>
8098 * javax/naming/directory/SearchControls.java:
8099 Don't explicitely extend java.lang.Object.
8100 * javax/naming/spi/DirStateFactory.java:
8101 Merged copyright year with GNU classpath.
8103 2004-04-20 Michael Koch <konqueror@gmx.de>
8105 * java/nio/channels/Channels.java:
8106 Merged coding style with GNU classpath.
8108 2004-04-20 Michael Koch <konqueror@gmx.de>
8110 * java/net/ServerSocket.java
8111 Merged coding style from GNU classpath.
8113 2004-04-20 Michael Koch <konqueror@gmx.de>
8115 * java/io/BufferedWriter.java:
8116 Reordered variables to be at top of the class.
8117 (localFlush): Removed redundant final keyword.
8119 2004-04-20 Ingo Proetel <proetel@aicas.com>
8121 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
8123 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8125 * java/text/DecimalFormat.java (scanFix): Removed suffix check
8126 for percent and permill check.
8128 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8130 * java/text/FieldPosition.java
8131 (FieldPosition) Constructor now behaves as it should according
8132 to the java documentation.
8134 2004-04-20 Mark Wielaard <mark@klomp.org>
8136 * java/util/Properties.java: Use the word umlaut, not ä in api
8139 2004-04-20 Michael Koch <konqueror@gmx.de>
8141 * java/nio/Buffer.java,
8142 java/nio/channels/AlreadyConnectedException.java,
8143 java/nio/channels/AsynchronousCloseException.java,
8144 java/nio/channels/ByteChannel.java,
8145 java/nio/channels/CancelledKeyException.java,
8146 java/nio/channels/Channel.java,
8147 java/nio/channels/Channels.java,
8148 java/nio/channels/ClosedByInterruptException.java,
8149 java/nio/channels/ClosedChannelException.java,
8150 java/nio/channels/ClosedSelectorException.java,
8151 java/nio/channels/ConnectionPendingException.java,
8152 java/nio/channels/DatagramChannel.java,
8153 java/nio/channels/FileChannel.java,
8154 java/nio/channels/FileLock.java,
8155 java/nio/channels/FileLockInterruptionException.java,
8156 java/nio/channels/GatheringByteChannel.java,
8157 java/nio/channels/IllegalBlockingModeException.java,
8158 java/nio/channels/IllegalSelectorException.java,
8159 java/nio/channels/InterruptibleChannel.java,
8160 java/nio/channels/NoConnectionPendingException.java,
8161 java/nio/channels/NonReadableChannelException.java,
8162 java/nio/channels/NonWritableChannelException.java,
8163 java/nio/channels/NotYetBoundException.java,
8164 java/nio/channels/NotYetConnectedException.java,
8165 java/nio/channels/OverlappingFileLockException.java,
8166 java/nio/channels/Pipe.java,
8167 java/nio/channels/ReadableByteChannel.java,
8168 java/nio/channels/ScatteringByteChannel.java,
8169 java/nio/channels/SelectableChannel.java,
8170 java/nio/channels/SelectionKey.java,
8171 java/nio/channels/Selector.java,
8172 java/nio/channels/ServerSocketChannel.java,
8173 java/nio/channels/SocketChannel.java,
8174 java/nio/channels/UnresolvedAddressException.java,
8175 java/nio/channels/UnsupportedAddressTypeException.java,
8176 java/nio/channels/WritableByteChannel.java,
8177 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8178 java/nio/channels/spi/AbstractSelectableChannel.java,
8179 java/nio/channels/spi/AbstractSelectionKey.java,
8180 java/nio/channels/spi/AbstractSelector.java,
8181 java/nio/channels/spi/SelectorProvider.java,
8182 java/nio/charset/spi/CharsetProvider.java:
8183 Fixed javadocs and jalopied all over java.nio.
8185 2004-04-20 Michael Koch <konqueror@gmx.de>
8187 * java/nio/ByteBufferImpl.java,
8188 java/nio/CharBufferImpl.java,
8189 java/nio/DirectByteBufferImpl.java,
8190 java/nio/DoubleBufferImpl.java,
8191 java/nio/DoubleViewBufferImpl.java,
8192 java/nio/FloatBufferImpl.java,
8193 java/nio/FloatViewBufferImpl.java,
8194 java/nio/IntBufferImpl.java,
8195 java/nio/IntViewBufferImpl.java,
8196 java/nio/LongBufferImpl.java,
8197 java/nio/LongViewBufferImpl.java,
8198 java/nio/MappedByteBufferImpl.java,
8199 java/nio/ShortBufferImpl.java,
8200 java/nio/ShortViewBufferImpl.java:
8201 Made sure all classes are final and removed final keyword from all
8204 2004-04-20 Michael Koch <konqueror@gmx.de>
8206 * java/rmi/MarshalledObject.java,
8207 java/rmi/Naming.java,
8208 java/rmi/RemoteException.java,
8209 java/rmi/activation/ActivationException.java,
8210 java/rmi/server/ServerCloneException.java,
8211 java/security/AccessController.java,
8212 java/security/AlgorithmParameterGenerator.java,
8213 java/security/AlgorithmParameters.java,
8214 java/security/CodeSource.java,
8215 java/security/Identity.java,
8216 java/security/IdentityScope.java,
8217 java/security/KeyPairGenerator.java,
8218 java/security/KeyStore.java,
8219 java/security/Security.java,
8220 java/security/Signature.java,
8221 java/security/SignatureSpi.java,
8222 java/security/SignedObject.java,
8223 java/security/spec/DSAParameterSpec.java,
8224 java/security/spec/DSAPrivateKeySpec.java,
8225 java/security/spec/DSAPublicKeySpec.java,
8226 java/sql/Array.java,
8227 java/sql/DatabaseMetaData.java,
8228 java/sql/ResultSet.java,
8229 java/text/ChoiceFormat.java,
8230 java/text/CollationElementIterator.java,
8231 java/text/CollationKey.java,
8232 java/text/Collator.java,
8233 java/text/DateFormat.java,
8234 java/text/DateFormatSymbols.java,
8235 java/text/DecimalFormatSymbols.java,
8236 java/text/Format.java,
8237 java/text/ParsePosition.java,
8238 java/text/RuleBasedCollator.java,
8239 java/text/SimpleDateFormat.java,
8240 java/text/StringCharacterIterator.java,
8241 java/util/Collections.java,
8242 java/util/PropertyResourceBundle.java,
8243 java/util/ResourceBundle.java,
8244 java/util/StringTokenizer.java,
8245 java/util/jar/Attributes.java,
8246 java/util/logging/ConsoleHandler.java,
8247 java/util/logging/LogManager.java,
8248 java/util/logging/MemoryHandler.java,
8249 java/util/logging/SocketHandler.java,
8250 javax/naming/NamingException.java:
8251 Fixed javadoc, coding style and argument names all over.
8253 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8255 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8256 constructor. (valid) Added null check.
8258 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8260 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8261 * java/io/FileOutputStream.java
8262 (FileOutputStream) Reorganized constructors. Constructors now
8263 check whether the given path is directory.
8265 2004-04-20 Michael Koch <konqueror@gmx.de>
8267 * java/net/Authenticator.java,
8268 java/net/BindException.java,
8269 java/net/ConnectException.java,
8270 java/net/ContentHandler.java,
8271 java/net/ContentHandlerFactory.java,
8272 java/net/DatagramPacket.java,
8273 java/net/DatagramSocket.java,
8274 java/net/DatagramSocketImpl.java,
8275 java/net/DatagramSocketImplFactory.java,
8276 java/net/FileNameMap.java,
8277 java/net/HttpURLConnection.java,
8278 java/net/Inet4Address.java,
8279 java/net/Inet6Address.java,
8280 java/net/InetAddress.java,
8281 java/net/InetSocketAddress.java,
8282 java/net/JarURLConnection.java,
8283 java/net/MalformedURLException.java,
8284 java/net/MulticastSocket.java,
8285 java/net/NetPermission.java,
8286 java/net/NetworkInterface.java,
8287 java/net/NoRouteToHostException.java,
8288 java/net/PasswordAuthentication.java,
8289 java/net/PortUnreachableException.java,
8290 java/net/ProtocolException.java,
8291 java/net/ServerSocket.java,
8292 java/net/Socket.java,
8293 java/net/SocketAddress.java,
8294 java/net/SocketException.java,
8295 java/net/SocketImpl.java,
8296 java/net/SocketImplFactory.java,
8297 java/net/SocketOptions.java,
8298 java/net/SocketPermission.java,
8299 java/net/SocketTimeoutException.java,
8301 java/net/URISyntaxException.java,
8303 java/net/URLClassLoader.java,
8304 java/net/URLConnection.java,
8305 java/net/URLDecoder.java,
8306 java/net/URLEncoder.java,
8307 java/net/URLStreamHandler.java,
8308 java/net/URLStreamHandlerFactory.java,
8309 java/net/UnknownHostException.java,
8310 java/net/UnknownServiceException.java:
8311 Fixed javadocs, coding style and argument names all over.
8313 2004-04-20 Michael Koch <konqueror@gmx.de>
8315 * java/lang/Byte.java,
8316 java/lang/CharSequence.java,
8317 java/lang/ClassLoader.java,
8318 java/lang/Compiler.java,
8319 java/lang/Double.java,
8320 java/lang/Float.java,
8321 java/lang/Integer.java,
8322 java/lang/Long.java,
8323 java/lang/Math.java,
8324 java/lang/Number.java,
8325 java/lang/Package.java,
8326 java/lang/Runtime.java,
8327 java/lang/RuntimePermission.java,
8328 java/lang/SecurityManager.java,
8329 java/lang/Short.java,
8330 java/lang/StringBuffer.java,
8331 java/lang/System.java,
8332 java/lang/ThreadGroup.java,
8333 java/lang/Throwable.java,
8334 java/lang/reflect/InvocationHandler.java,
8335 java/lang/reflect/Proxy.java:
8336 Fixed javadocs, coding style and argument names all over.
8338 2004-04-20 Michael Koch <konqueror@gmx.de>
8340 * java/io/BufferedWriter.java,
8341 java/io/ByteArrayInputStream.java,
8342 java/io/CharArrayWriter.java,
8343 java/io/DataInput.java,
8344 java/io/DataInputStream.java,
8346 java/io/FilterInputStream.java,
8347 java/io/InputStream.java,
8348 java/io/InputStreamReader.java,
8349 java/io/ObjectInputStream.java,
8350 java/io/ObjectStreamClass.java,
8351 java/io/PipedInputStream.java,
8352 java/io/PipedReader.java,
8353 java/io/PushbackInputStream.java,
8354 java/io/PushbackReader.java,
8355 java/io/RandomAccessFile.java,
8356 java/io/SerializablePermission.java,
8357 java/io/StreamTokenizer.java,
8358 java/io/StringWriter.java,
8359 java/io/WriteAbortedException.java,
8360 java/io/Writer.java:
8361 Fixed javadocs all over, rename arguments to match javadocs,
8364 2004-04-20 Ingo Proetel <proetel@aicas.com>
8366 * java/awt/FontMetrics.java:
8367 (charsWidth): fixed accumulation of total_width
8368 (getWidth): simple default implementation
8369 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8370 in Rectangle constructor.
8371 * java/awt/image/Raster.java (toString): Added method.
8372 * java/awt/image/SampleModel.java (<init>): Added error cause
8373 information to thrown exception.
8374 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8376 (setDataElements): New method.
8377 (setPixels): New method.
8378 (toString): New method.
8380 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8382 * java/awt/image/ComponentColorModel.java
8383 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8384 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8385 Mauve tests on this method. Improved documentation.
8387 2004-04-20 Michael Koch <konqueror@gmx.de>
8389 * javax/swing/JLayeredPane.java,
8390 javax/swing/plaf/BorderUIResource.java,
8391 javax/swing/plaf/ComponentUI.java,
8392 javax/swing/undo/CompoundEdit.java,
8393 javax/swing/undo/StateEdit.java:
8394 Fixed HTML tags in javadocs all over.
8396 2004-04-20 Michael Koch <konqueror@gmx.de>
8398 * javax/print/attribute/EnumSyntax.java
8399 (getOffset): Made protected.
8400 * javax/print/attribute/HashAttributeSet.java
8401 (HashAttributeSet): Likewise.
8402 * javax/print/attribute/ResolutionSyntax.java
8403 (getFeedResolution): Fixed typo in exception name.
8404 (getCrossFeedResolution): Likewise.
8405 * javax/print/attribute/SetOfIntegerSyntax.java
8406 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8407 * javax/print/attribute/TextSyntax.java
8408 (TextSyntax): Handle locale correctly.
8409 (hashCode): Calc better hashcode value.
8410 (equals): Fixed @return tag.
8411 (toString): New method.
8413 2004-04-20 Michael Koch <konqueror@gmx.de>
8415 * gnu/java/nio/FileLockImpl.java
8416 (static): Removed, not needed anymore.
8417 * gnu/java/nio/channels/FileChannelImpl.java
8418 (FileChannelImpl): Made final.
8419 (mode): Made private.
8420 (READ, WRITE, APPEND): Made public.
8421 (EXCL, SYNC, DSYNC): Likewise.
8422 (static): Load native JNI library, when needed.
8423 (length): Unused, removed.
8424 (available): Made public.
8425 (implPosition): Throws IOException.
8427 (implTruncate): Likewise.
8431 2004-04-20 Michael Koch <konqueror@gmx.de>
8433 * java/awt/AWTPermission.java,
8434 java/awt/Component.java,
8435 java/awt/ComponentOrientation.java,,
8436 java/awt/Dialog.java,
8437 java/awt/FontMetrics.java,
8438 java/awt/Graphics.java,
8439 java/awt/datatransfer/DataFlavor.java,
8440 java/beans/Introspector.java,
8441 java/beans/PropertyEditor.java,
8442 java/beans/PropertyEditorManager.java,
8443 java/beans/beancontext/BeanContextServiceProvider.java:
8444 Fixed HTML tags in javadocs all over.
8446 2004-04-20 Mark Wielaard <mark@klomp.org>
8448 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8449 MissingResourceException is thrown.
8450 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8451 null when a MissingResourceException is thrown. Should never happen.
8453 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8455 * java/awt/image/DataBufferShort.java,
8456 java/awt/image/DataBufferFloat.java,
8457 java/awt/image/DataBufferDouble.java,
8458 java/awt/image/PixelInterleavedSampleModel.java: New files.
8459 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8460 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8462 2004-04-20 Michael Koch <konqueror@gmx.de>
8464 * Makefile.am (java_source_files): Added
8465 java/awt/image/DataBufferDouble.java,
8466 java/awt/image/DataBufferFloat.java,
8467 java/awt/image/DataBufferShort.java and
8468 java/awt/image/PixelInterleavedSampleModel.java.
8469 * Makefile.in: Regenerated.
8471 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8473 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8474 undocumented CNI calls.
8475 * include/java-interp.h (_Jv_InterpClass): No longer
8476 extends java.lang.Class.
8477 * java/lang/Class.h (Class): Add new field `aux_info'.
8478 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8479 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8480 Use Class->aux_info instead.
8481 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8482 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8483 Use Class->aux_info instead.
8484 * java/io/natObjectInputStream.cc (allocateObject): Use
8486 * java/lang/natClass.cc (newInstance): Likewise.
8487 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8488 * java/lang/natObject.cc (clone): Likewise.
8489 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8490 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8491 JvAllocObject. Allocate klass->aux_info here for interpreted
8494 2004-04-17 Mark Wielaard <mark@klomp.org>
8496 * javax/swing/JToggleButton.java (ToggleButtonModel):
8497 Make public static inner class.
8498 * javax/swing/JTabbedPane.java (setComponentAt):
8499 Call Page.setComponent().
8500 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8501 (WRAP_TAB_LAYOUT): Make public, value is 0.
8502 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8503 Make private static inner class.
8505 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8507 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8508 arguments to match new signature. Remove FIXME comments.
8510 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8512 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8514 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8517 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8519 * Makefile.am: Added new file.
8520 * Makefile.in: Regenerate.
8521 * javax/swing/ImageIcon.java:
8522 (ImageIcon(file)): set description of the icon
8524 * javax/swing/JCheckBoxMenuItem.java:
8525 Mostly Implemented. Work in progress.
8526 * javax/swing/JRadioButtonMenuItem.java:
8527 Reimplement constructors to use JToggleButtonModel.
8528 * javax/swing/plaf/basic/BasicIconFactory.java:
8529 (getCheckBoxMenuItemIcon): return check box
8531 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8532 paint menu item selected only when it is armed and
8535 2004-04-02 David Jee <djee@redhat.com>
8537 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8538 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8539 * java/awt/Component.java
8540 (add): Set the parent of the popup as this component.
8541 * java/awt/PopupMenu.java
8542 (addNotify): Create popup menu when peer is null.
8543 (show): Call addNotify() if peer is null.
8544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8545 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8546 argument for gtk_menu_popup() as zero. This causes the popup menu to
8547 respond to any mouse button.
8549 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8551 * Makefile.am: Added new file.
8552 * Makefile.in: Regenerate.
8553 * javax/swing/JRadioButtonMenuItem.java:
8555 * javax/swing/plaf/basic/BasicIconFactory.java:
8556 (getRadioButtonMenuItemIcon): Return
8558 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8559 (getPreferredSize): Add size of checkIcon if it
8561 (installDefaults): Don't initialize checkIcon.
8562 It's value will be set in subclasses.
8563 (uninstallDefaults): remove uninstallation of
8565 (paint): Moved code to paintMenuItem().
8566 (paintMenuItem): Implemented.
8567 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8568 UI delegate for JRadioButtonMenuItem.
8570 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8572 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8573 Corrected position of the accelerator.
8575 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8577 * Makefile.am: Added new file.
8578 * Makefile.in: Regenerate.
8579 * javax/swing/JMenuItem.java: Partly
8580 implemented. Work in progress
8581 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8582 Changed default value of acceleratorDelimiter.
8583 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8584 New class. Partly implemented.
8586 2004-03-26 Mark Wielaard <mark@klomp.org>
8588 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8589 (item_activate): Declare label before use.
8590 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8591 (gtkSetFont): Removed unused variable label.
8592 (addExposeFilter): Declare variables before use.
8593 (removeExposeFilter): Likewise.
8594 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8595 (ok_clicked): Declare str_fileName before use.
8597 2004-03-26 David Jee <djee@redhat.com>
8599 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8600 (addSeparator): Remove.
8601 * java/awt/Menu.java
8602 (separator): Remove static final MenuItem field.
8603 (separatorLabel): New static final String field.
8604 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8605 Use separatorLabel to denote that it is a separator.
8606 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8607 of reusing the static separator instance, because a MenuItem instance
8608 can't be added more than once without being cloned.
8609 * java/awt/peer/MenuPeer.java
8610 (addSeparator): Remove from interface.
8612 2004-03-26 David Jee <djee@redhat.com>
8614 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8615 (connectSignals): New native method declaration.
8616 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8617 * java/awt/MenuItem.java
8618 (getActionCommand): Return the label if the action command is not set.
8619 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8620 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8621 gtk_menu_shell_append().
8622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8623 (item_activate): Fix argument type.
8624 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8626 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8629 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8630 given. Add the menu widget's top-level GtkWindow to the global window
8631 group, so it can grab the pointer.
8632 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8633 gtk_menu_shell_append().
8635 2004-03-23 Graydon Hoare <graydon@redhat.com>
8637 * java/text/AttributedString.java
8638 (addAttribute): Fix off-by-one.
8639 (getIterator): Likewise.
8640 * java/text/AttributedStringIterator.java
8641 (getRunLimit): Correct logic.
8642 (getRunStart): Likewise.
8643 (getAttribute): Fix inequality.
8644 (getAttributes): Likewise.
8645 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8647 2004-03-23 Kim Ho <kho@redhat.com>
8649 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8650 (calculateSizes): Return real width and height.
8652 2004-03-23 Kim Ho <kho@redhat.com>
8654 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8655 (calculateTabRects): Set the selectedRun before
8656 trying to rotate tabs.
8658 2004-03-23 Kim Ho <kho@redhat.com>
8660 * Makefile.am: New file
8661 * Makefile.in: Regenerate
8662 * java/awt/Graphics.java: (drawRect):
8663 Draw to the correct point.
8664 * javax/swing/DefaultSingleSelectionModel.java
8665 (isSelected): Return true if the selected index
8667 * javax/swing/JLabel.java: Do not change mnemonic
8668 index if text is null.
8669 * javax/swing/JProgressBar.java: Use JComponent's
8671 * javax/swing/JScrollBar.java: Ditto.
8672 * javax/swing/JSlider.java: Ditto.
8673 * javax/swing/JTabbedPane.java: Reimplement.
8674 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8675 Add defaults for TabbedPane.
8676 * javax/swing/plaf/basic/BasicArrowButton.java:
8678 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8679 (paintDeterminate): Don't paint String if it's
8681 (paintIndeterminate): ditto.
8682 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8685 2004-03-19 Michael Koch <konqueror@gmx.de>
8687 * java/awt/image/AffineTransformOp.java
8688 (AffineTransformOp): Made public.
8689 * javax/swing/JComponent.java
8690 (listenerList): Made protected.
8691 (accessibleContext): Likewise.
8692 * javax/swing/JList.java
8693 (valueChanged): Dont use internal fields of ListSelectionEvent.
8694 * javax/swing/JViewport.java
8695 (getView): Dont use internal fields of Component.
8696 (addImpl): Likewise.
8697 * javax/swing/Timer.java
8698 (isRunning): Made public.
8701 * javax/swing/UIDefaults.java
8702 (getInt): Made public.
8703 * javax/swing/plaf/basic/BasicListUI.java
8704 (mousePressed): Dont use internal fields of MouseEvent.
8705 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8706 * javax/swing/plaf/basic/BasicScrollBarUI.java
8707 (arrowIcon): Made static.
8708 * javax/swing/plaf/basic/BasicViewportUI.java
8709 (stateChanged): Dont use internal field on ChangeEvent.
8710 * javax/swing/text/JTextComponent.java
8711 (getUI): Call UIManager.getUI().
8712 (updateUI): Use getUI().
8714 2004-03-19 Graydon Hoare <graydon@redhat.com>
8716 * javax/swing/JComponent.java: Turn off double buffer by default.
8717 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8718 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8719 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8720 Use cairo to copy areas.
8721 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8722 Initialize and set clip region.
8724 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8726 * java/applet/Applet.java (preferredSize): Override deprecated
8727 variant of getPreferredSize.
8728 (minimumSize): Override deprecated variant of getMinimumSize.
8730 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8732 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8733 (drawImage(img,xform,bgcolor,obs)): New Method.
8734 Helper function that every drawImage method will
8736 (drawRaster): Added new parameter, bgcolor. All
8737 transparent pixels are changed to bgcolor before
8739 (drawRenderedImage): Fixed to use changed drawRaster().
8740 (drawImage(image,xform,obs): Fixed to use new helper function
8741 (drawImage(image,op,x,y)): Ditto.
8742 (drawImage (img,x,y,observer)): Ditto.
8743 ((PainterThread) bgcolor): New Field.
8744 ((PainterThread) (setPixels)): Changed all transparent pixels
8746 (drawImage(img,x,y,width,height,bgcolor,observer)):
8747 Fixed FIXME - all the transparent pixels are
8748 changed to the specified bgcolor.
8749 (drawImage(img, x, y, width, height, observer): Changed to
8751 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8752 Fixed FIXME- changed all transparent pixels to bgcolor.
8753 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8754 Changed to use function above.
8756 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8758 * java/applet/Applet.java (dimensions): New field.
8759 (getDimensions): New method.
8760 (getPreferredSize): Call getDimensions.
8761 (getMinimumSize): Likewise.
8763 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8765 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8766 * jni/classpath/jnilink.c: Likewise.
8768 * java/applet/Applet.java (getPreferredSize): New method.
8769 (getMinimumSize): New method.
8771 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8773 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8774 (_Jv_AllocObjectNoFinalizer): Likewise.
8775 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8776 (_Jv_AllocPtrFreeObject): Likewise.
8777 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8778 directly even in the JVMPI case.
8779 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8780 _Jv_AllocObject calls.
8781 * gcj/javaprims.h: Update prototypes.
8782 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8783 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8784 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8786 2004-04-14 Andrew Haley <aph@redhat.com>
8787 Bryce McKinlay <mckinlay@redhat.com>
8789 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8790 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8791 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8793 * testsuite/libjava.lang/InvokeInterface.java: New file.
8794 * testsuite/libjava.lang/InvokeInterface.out: New file.
8796 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8798 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8800 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8801 StackTraceElement directly.
8802 (newElement): New native helper method to create StackTraceElement
8803 bypassing Java access control.
8804 (createStackTraceElement): Use newElement() instead of directly
8805 calling StackTraceElement's constructor.
8806 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8808 2004-04-01 Michael Koch <konqueror@gmx.de>
8810 * java/lang/SecurityManager.java
8811 (checkAwtEventQueueAccess): Implemented.
8813 2004-04-01 Gary Benson <gbenson@redhat.com>
8815 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8816 (_Jv_SearchMethodInClass): Likewise.
8818 2004-03-26 Peter Moon <peterm@miraculum.com>
8820 * java/text/NumberFormat.java: Fix spelling of setCurrency
8823 2004-03-21 Anthony Green <green@redhat.com>
8825 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8826 recursion when searching for the system ClassLoader.
8828 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8830 * java/net/ServerSocket.java
8831 (accept): Close the socket when error occured.
8833 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8835 * java/net/URI.java (parseURI): Added unquoting.
8836 (unquote): New method.
8837 (quoteAuthority): Implemented.
8838 (quote(String,String)): New method.
8839 (quotePath): Implemented.
8840 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8841 (getSchemeSpecificPart): Removed FIXME comment.
8842 (getRawAuthority): Return new rawAuthority field.
8843 (getAuthority): Removed FIXME comment.
8844 (getRawUserInfo): Return new rawUserInfo field.
8845 (getUserInfo): Removed FIXME comment.
8846 (getRawPath): Return new rawPath field.
8847 (getPath): Removed FIXME comment.
8848 (getRawQuery): Return new rawQuery field.
8849 (getQuery): Removed FIXME comment.
8850 (getRawFragment): Return new rawFragment field.
8851 (getFragment): Removed FIXME comment.
8853 2004-03-20 Michael Koch <konqueror@gmx.de>
8855 * java/net/URLConnection.java: Merged copyright year with classpath.
8857 2004-03-20 Norbert Frese <postfach@nfrese.net>
8859 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8860 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8861 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8863 (getObjectInputStream): Return object reference, throw IOException if null.
8864 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8865 (getObjectOutputStream): Return object reference, throw IOException if null.
8866 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8867 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8868 (UnicastConnectionManager): Throw RemoteException if port is not available.
8869 (getInstance): Throw RemoteException.
8870 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8871 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8872 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8873 Collect Exceptions which are returned by a rmi-call and fix void returns.
8874 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8875 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8876 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8877 (dispatch): Answer ping messages which are sent by other java implementions.
8878 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8879 for every rmi-message and fix void return problems.
8880 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8881 (UnicastServerRef): Throw RemoteException.
8882 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8883 In some situations it is necessary to export a subclass of the class which has the _Stub.
8884 For instance when the class with has the _Stub is abstract.
8885 (findStubSkelClass): New method which looks for the class which has the _Stub.
8886 (getClientHost): Implementated.
8887 * gcc/libjava/java/rmi/server/RemoteServer.java
8888 (getClientHost): Implementated.
8889 * gcc/libjava/Makefile.am (rmi_java_source_files):
8890 Added gnu/java/rmi/server/RMIIncomingThread.java.
8891 * Makefile.in: Regenerated.
8893 2004-03-20 Michael Koch <konqueror@gmx.de>
8895 * java/net/InetAddress.java
8896 (getLocalHostname): Added javadoc.
8898 2004-03-19 Per Bothner <per@bothner.com>
8900 * configure.in: FILE variable overrides FLATFORM when linking
8901 natFileChannelXXX.cc.
8903 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8904 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8906 2004-03-19 Per Bothner <per@bothner.com>
8908 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8909 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8910 * Makefile.am: Update accordingly.
8911 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8912 as aliases for UnicodeLittle and UnicodeBig.
8914 2004-03-20 Mark Wielaard <mark@klomp.org>
8916 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8917 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8918 Don't access ws when it is null.
8919 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8922 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8924 * java/lang/ThreadGroup.java (list): Changed print to println.
8926 2004-03-19 Mark Wielaard <mark@klomp.org>
8928 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8931 2004-02-10 Randolph Chung <tausq@debian.org>
8933 * configure.in: Build java for hppa target.
8934 * configure: Regenerate.
8935 * libjava/configure.host (hppa-*): Add target.
8936 * libjava/sysdeps/pa/lock.h: New file.
8938 2004-03-19 Mark Wielaard <mark@klomp.org>
8940 Reported by Stephen Crawley
8941 * java/io/FilePermission.java (implies): Use String.length() -1 to
8942 access last char of String.
8944 2004-03-19 Michael Koch <konqueror@gmx.de>
8946 * java/awt/image/AffineTransformOp.java
8947 (AffineTransformOp): Made public.
8948 * javax/swing/JComponent.java
8949 (listenerList): Made protected.
8950 (accessibleContext): Likewise.
8951 * javax/swing/JList.java
8952 (valueChanged): Dont use internal fields of ListSelectionEvent.
8953 * javax/swing/JViewport.java
8954 (getView): Dont use internal fields of Component.
8955 (addImpl): Likewise.
8956 * javax/swing/Timer.java
8957 (isRunning): Made public.
8960 * javax/swing/UIDefaults.java
8961 (getInt): Made public.
8962 * javax/swing/plaf/basic/BasicListUI.java
8963 (mousePressed): Dont use internal fields of MouseEvent.
8964 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8965 * javax/swing/plaf/basic/BasicScrollBarUI.java
8966 (arrowIcon): Made static.
8967 * javax/swing/plaf/basic/BasicViewportUI.java
8968 (stateChanged): Dont use internal field on ChangeEvent.
8969 * javax/swing/text/JTextComponent.java
8970 (getUI): Call UIManager.getUI().
8971 (updateUI): Use getUI().
8973 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8975 * verify.cc: Undef PC.
8977 2004-03-18 Michael Koch <konqueror@gmx.de>
8979 * java/nio/channels/spi/AbstractSelectableChannel.java
8980 (keys): Initialize at declaration.
8981 (locate): keys cant be null.
8983 (addSelectionKey): New method.
8984 (removeSelectionKey): New method.
8985 * java/nio/channels/spi/AbstractSelectionKey.java
8986 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8987 * java/nio/channels/spi/AbstractSelector.java
8988 (provider): Javadoc added.
8989 (cancelledKeys): Javadoc added.
8990 (cancelKey): Javadoc added, add key to cancelledKeys.
8991 (deregister): Implemented.
8993 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8995 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8996 MAP_FAILED to void *.
8998 2004-03-12 Graydon Hoare <graydon@redhat.com>
9000 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
9001 * javax/swing/JComponent.java (paint): Use persistent double buffer.
9002 * javax/swing/JList.java (ListListener): Revalidate on changes.
9003 * javax/swing/JScrollPane.java: Reimplement.
9004 * javax/swing/JViewport.java: Reimplement.
9005 * javax/swing/ScrollPaneLayout.java: Reimplement.
9006 * javax/swing/ViewportLayout.java: Tidy up.
9007 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
9008 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
9009 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
9010 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
9013 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
9015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9016 (window_wm_protocols_filter): New function.
9017 (window_focus_in_cb): Remove function.
9018 (window_focus_out_cb): Likewise.
9019 (window_focus_or_active_state_change_cb): New function.
9020 (create): Add filter that removes WM_TAKE_FOCUS client messages.
9021 (connectSignals): Don't attach handlers to focus-in-event or
9022 focus-out-event signals. Handle notify signal.
9024 2004-03-11 David Jee <djee@redhat.com>
9026 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9027 (gtkSetLabel): New native method declaration.
9028 (setLabel): Use gtkSetLabel.
9029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9030 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
9032 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
9034 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
9035 black when color argument is null.
9037 2004-03-10 Kim Ho <kho@redhat.com>
9039 * java/awt/Container.java: Remove check
9042 2004-03-10 Kim Ho <kho@redhat.com>
9044 * java/awt/Container.java: (visitChild):
9045 Remove candidate clip. Use the component
9047 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9048 (handleEvent): Use the PaintEvent's clip.
9050 2004-03-10 Kim Ho <kho@redhat.com>
9052 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
9053 (handleEvent): Don't set the clip for the
9056 2004-03-09 Graydon Hoare <graydon@redhat.com>
9058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
9059 Fix double <-> fixed macros, reset font transform.
9060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
9063 2004-03-09Â Kim Ho <kho@redhat.com>
9065 * java/awt/Container.java: (visitChild): Move
9066 the x and y coordinate of the component rectangle
9067 to correct position.
9068 (handleEvent): Forward drag events to the pressed
9070 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9072 (ArrowButtonListener::mousePressed): Stop the
9074 (mouseDragged): Implement.
9075 (TrackListener::mousePressed): Only react if
9076 the press doesn't occur on the thumb, otherwise
9077 just set the offset.
9078 (TrackListener::mouseReleased): Unset the isAdjusting
9080 (createIncreaseIcon): Switch icon.
9081 (createDecreaseIcon): Switch icon.
9082 (calculatePreferredSize): Use width.
9083 (getThumbBounds): Use the top as the lower value.
9084 (layoutVScrollBar): Switch the button locations.
9085 (paintIncreaseHighlight): Paint correct side of thumb.
9086 (paintDecreaseHighlight): ditto.
9087 (valueForYPosition): Use top as the lower value.
9088 * javax/swing/plaf/basic/BasicSliderUI.java:
9090 (mouseDragged): Implement.
9091 (mousePressed): Only react when the thumb isn't
9092 pressed, otherwise just set offset.
9093 (mouseReleased): Handle a release of the thumb.
9094 (scrollDueToClickInTrack): Stop the timer first.
9095 * javax/swing/JProgressBar.java:
9096 (setString): Fix change condition.
9097 * javax/swing/JSeparator.java:
9100 2004-03-08 David Jee <djee@redhat.com>
9102 * java/awt/image/AffineTransformOp.java:
9103 (filter): Use Graphics2D interface instead of directly using the
9106 2004-03-05 David Jee <djee@redhat.com>
9108 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9109 (handleEvent): Action events are generated upon MOUSE_RELEASED.
9110 * java/awt/Container.java
9111 (acquireComponentForMouseEvent): Fixed.
9112 (handleEvent): Fixed.
9113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
9114 (state_to_awt_mods_with_button_states): New method.
9115 (pre_event_handler): Fixed mouse event generation.
9117 2004-03-05 Olga Rodimina <rodimina@redhat.com>
9119 gnu/java/awt/peer/gtk/GdkGraphics2D.java
9120 (GdkGraphics2D (BufferedImage)): Initialize
9121 pixmap associated with specified BufferedImage.
9122 (setPaint): Changed implementation of Texture
9123 Paint to use AffineTransformOp.
9124 * java/awt/image/AffineTransformOp.java
9125 (createCompatibleDestRaster): Throw RasterFormatException
9126 if resulting width or height of raster is 0.
9128 2004-03-04 Olga Rodimina <rodimina@redhat.com>
9130 * java/awt/image/AffineTransformOp.java:
9131 Removed unnecessary field interpolationType.
9132 Formatted some of the lines to be consistent with
9134 (AffineTransformOp): Create new RenderingHints
9135 containing specified interpolation type.
9136 (createCompatibleDestImage): Implemented.
9137 (createCompatibleDestRaster): Implemented.
9138 (filter): Implemented.
9139 (getBounds2D(BufferedImage)): Implemented.
9140 (getBounds2D(Raster)): Implemented.
9141 (getInterpolationType): Get interpolation value from
9144 2004-03-04 David Jee <djee@redhat.com>
9146 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9147 (setFont): Check if child peers are null.
9149 2004-03-04 Graydon Hoare <graydon@redhat.com>
9151 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
9153 (libjava_arguments): Add new libraries to argument list.
9155 2004-03-02 Olga Rodimina <rodimina@redhat.com>
9157 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9158 * Makefile.in: Re-generated.
9159 * java/awt/image/AffineTransformOp.java: New Class.
9161 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9163 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9164 (setPaint): Interpret correctly TexturePaint's
9166 (drawImage): Fixed scale factors of the affine
9169 2004-02-27 David Jee <djee@redhat.com>
9171 * gnu/java/awt/peer/gtk/GdkGraphics.java
9172 (GdkGraphics(Component)): Inherit font from component.
9173 (drawString): Use font style.
9174 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9175 (gtkSetFont): New native method declaration.
9176 (setFont): New method.
9177 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9178 (gtkSetFont): New native method declaration.
9179 (setFont): Call new native method gtkSetFont.
9180 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9181 (setFont): For all child components who do not their fonts set,
9182 set their peers' fonts with this container's font.
9183 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9184 Move all native method declarations to the top for readability.
9185 (gtkSetFont): New native method declaration.
9186 (setFont): New method.
9187 * java/awt/Component.java
9188 (setFont): Invalidate after setting the font.
9189 * java/awt/Container.java
9190 (invalidateTree): New method.
9191 (setFont): Invalidate the container tree after setting the font.
9192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9193 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9194 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9195 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9197 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9199 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9201 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9203 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9204 (updateBufferedImage): New helper function.
9205 Updates BufferedImage in memory if it was changed.
9206 (draw): changed to update BufferedImage in memory after
9207 this drawing operation
9209 (draw3DRect): Ditto.
9210 (fill3DRect): Ditto.
9212 (drawRaster): Ditto.
9213 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9214 no affine transformation.
9215 (drawGlyphVector): Ditto.
9217 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9219 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9220 (isBufferedImageGraphics): New Helper function.
9221 Returns true if this graphics2d can be used to draw
9222 into buffered image and false otherwise.
9223 (updateImagePixels): New Helper function.
9224 Updates pixels in the BufferedImage.
9225 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9226 (getImagePixels): New function. Returns pixels
9227 of the buffered image associated with
9230 2004-02-26 David Jee <djee@redhat.com>
9232 * java/awt/BorderLayout.java
9233 (layoutContainer): Fix width and height calculations to ensure
9234 that they're non-negative.
9235 * java/awt/Component.java
9236 (setBackground): If c is null, inherit from closest ancestor whose
9237 background color is set.
9239 2004-02-26 Kim Ho <kho@redhat.com>
9241 * Makefile.am: Add new files.
9242 * Makefile.in: Re-generate.
9243 * javax/swing/JProgressBar.java:
9244 (JProgressBar(int, int int)): Throw
9245 IllegalArgumentException if orientation is
9247 (JProgressBar(BoundedRangeModel)): Create
9248 ChangeListener and register it. UpdateUI.
9249 (getChangeListeners): Implement.
9250 (setModel): Reset ChangeListener.
9251 * javax/swing/JScrollBar.java: Implement.
9252 * javax/swing/JSeparator.java: Implement.
9253 * javax/swing/JSlider.java:
9254 (JSlider(int, int, int, int)): Throw
9255 IllegalArgumentException if orientation
9257 (getChangeListeners): Fix method name.
9258 * javax/swing/SwingUtilities.java:
9259 (layoutCompoundLabel): If there is no text,
9260 set the text rectangle dimensions to 0.
9261 * javax/swing/plaf/basic/BasicButtonUI.java:
9262 (paint): If there is no text, don't paint it.
9263 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9265 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9267 * javax/swing/plaf/basic/BasicSliderUI.java:
9268 (propertyChange): If the model changes, change
9269 the listeners accordingly.
9271 2004-02-25 Graydon Hoare <graydon@redhat.com>
9273 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9274 * javax/swing/JList.java: Reimplement.
9275 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9276 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9277 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9278 * javax/swing/ListModel.java: Javadoc.
9279 * javax/swing/ListSelectionModel.java: Add missing methods.
9280 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9281 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9282 * javax/swing/ListModel.java: Javadoc and corrections.
9283 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9285 2004-02-25 David Jee <djee@redhat.com>
9287 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9288 (GtkFontPeer): Change default size to 12.
9289 * gnu/java/awt/peer/gtk/GtkToolkit.java
9290 (getFontPeer): Change default size to 12.
9291 (getClasspathFontPeer): Likewise. Set default name to "Default".
9292 * java/awt/Font.java
9293 (Font(Map)): Call Font(String,Map).
9294 (Font(String,Map)): If attrs is null, initialize it as an empty
9295 HashMap, which will ensure that the Font will get default attributes.
9297 2004-02-25 David Jee <djee@redhat.com>
9299 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9300 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9301 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9302 * gnu/java/awt/peer/gtk/GtkToolkit.java
9303 (getFontPeer(String,int)): Call the new overload method with size 1.
9304 (getFontPeer(String,int,int)): New method. Overloaded with size
9306 (getClasspathFontPeer): Set the size of the font.
9308 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9310 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9311 (bimage): New field.
9312 (GdkGraphics2D): New Constructor. Constructs Graphics
9313 object that can be used to draw into the Buffered Image.
9314 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9315 (GdkGraphicsEnvironment): Fixed to include public
9317 (createGraphics): Implemented.
9318 * gnu/java/awt/peer/gtk/GtkToolkit.java
9319 (getLocalGraphicsEnvironment): Implemented.
9320 * java/awt/GraphicsEnvironment.java:
9321 (getLocalGraphicsEnvironment): Implemented.
9322 * java/awt/image/BufferedImage.java:
9323 (createGraphics): Implemented.
9325 2004-02-24 David Jee <djee@redhat.com>
9327 * java/awt/Component.java
9328 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9329 * java/awt/Container.java
9330 (addNotifyContainerChildren): Fix event enabling.
9332 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9334 * Makefile.am: Added
9335 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9336 * Makefile.in: Re-generated.
9337 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9340 2004-02-19 Kim Ho <kho@redhat.com>
9342 * Makefile.am: Add BasicProgressBarUI
9343 * Makefile.in: Regenerate.
9344 * javax/swing/JProgressBar.java:
9346 * javax/swing/plaf/basic/BasicLookAndFeel.java
9347 Add constants for JProgressBar.
9348 * javax/swing/plaf/basic/BasicProgressBarUI.java
9350 * javax/swing/plaf/basic/BasicSliderUI.java
9352 (calculateGeometry): New method
9353 (paint): Remove unnecessary size calculations.
9355 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9357 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9358 (drawRaster): Fixed small error that caused
9359 imageToUser transformation to be set incorrectly.
9360 (toString): Implemented.
9362 2004-02-18 David Jee <djee@redhat.com>
9364 * java/awt/CardLayout.java
9365 (addLayoutComponent): Show the first component added as the default.
9366 (removeLayoutComponent): After removing, show the next component.
9367 (gotoComponent): If there is only one component, show it and return.
9369 2004-02-18 Kim Ho <kho@redhat.com>
9371 * javax/swing/JSlider.java: Re-order
9373 * javax/swing/JLabel.java: Re-order
9375 * javax/swing/JComponent.java:
9376 (addPropertyChangeListener):
9378 (removePropertyChangeListener):
9380 (firePropertyChangeEvent):
9383 2004-02-17 David Jee <djee@redhat.com>
9385 * java/awt/Component.java
9386 (show): Dispatch ComponentEvent via system event queue.
9390 (reshape): Likewise.
9391 * java/awt/Window.java
9392 (setBoundsCallback): Likewise.
9394 2004-02-17 David Jee <djee@redhat.com>
9396 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9397 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9398 Use gtk_widget_set_size_request() instead of the deprecated
9399 gtk_widget_set_usize().
9401 2004-02-17 Kim Ho <kho@redhat.com>
9403 * javax/swing/JSlider.java: Fix comments and
9404 make property strings constants.
9405 (createStandardLabels): Use the labels
9406 preferred size as bounds.
9407 * javax/swing/plaf/basic/BasicSliderUI.java
9409 (ScrollHandler::actionPerformed): Don't
9410 calculate the timer stop value. Let the
9411 MouseListeners find the stop location.
9412 (getPreferredHorizontalSize): Re-implement.
9413 (getPreferredVerticalSize): ditto.
9414 (getMinimumHorizontalSize): ditto.
9415 (getMinimumVerticalSize): ditto.
9416 (getPreferredSize): ditto.
9417 (getMinimumSize): ditto.
9418 (getMaximumSize): ditto.
9419 (paintTicks): Use doubles to find the
9421 (paintHorizontalLabel):Â Use preferredSize
9422 as initial width and height.
9423 (paintVerticalLabel): ditto.
9425 2004-02-17 Kim Ho <kho@redhat.com>
9427 * javax/swing/JLabel.java: Changed
9428 property strings to constants.
9429 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9431 (setText): Change mnemonic index if
9433 (setDisplayedMnemonicIndex): Fire property
9435 (getDisplayedMnemonicIndex): Remove check
9438 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9440 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9441 (drawImage(img,xform,obs)): Invert xform before
9442 passing the xform to cairo.
9443 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9444 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9446 (drawImage (img,x,y,w,h,obs)): Implemented.
9447 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9448 bgcolor,obs)): Partly implemented.
9449 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9451 * java/awt/image/BufferedImage.java:
9452 (copyData): if dest is null, create raster with same
9453 dimensions as the current image.
9455 2004-02-16 Graydon Hoare <graydon@redhat.com>
9457 * javax/swing/plaf/basic/BasicLabelUI.java
9458 (getPreferredSize): Use layoutCL.
9459 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9460 (getPreferredButtonSize): Start with empty view rect, layout using
9461 component's preferred alignment.
9462 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9465 2004-02-16 David Jee <djee@redhat.com>
9467 * java/awt/Component.java
9468 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9469 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9470 (move): Erase old bounds and repaint new bounds. Dispatch
9471 COMPONENT_MOVED ComponentEvent.
9472 (resize): Erase old bounds and repaint new bounds. Dispatch
9473 COMPONENT_RESIZED ComponentEvent.
9474 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9476 * java/awt/Window.java
9477 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9480 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9482 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9483 (setRenderingHint): Added implementation of
9484 Interpolation rendering hints.
9485 (setRenderingHints): Ditto.
9486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9487 (drawPixels): fixed to allow user to choose type
9488 of filtering that should be used when displaying images.
9489 (cairoSurfaceSetFilter): New method. Sets filter type for
9490 interpolation of pixel values.
9492 2004-02-16 David Jee <djee@redhat.com>
9494 * java/awt/GridBagLayout.java
9495 (calcCellSizes): Rows or columns with zero sizes should still be
9496 considered for extra space distribution.
9498 2004-02-16 Kim Ho <kho@redhat.com>
9500 * javax/swing/JLabel.java: Re-implement.
9501 * javax/swing/plaf/basic/BasicLabelUI.java
9503 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9506 2004-02-16 Kim Ho <kho@redhat.com>
9508 * javax/swing/JSlider.java: Fix indentation and comments.
9509 (setModel): Remove null check to conform with Sun's.
9510 (setOrientation): Throw exception if not
9511 HORIZONTAL or VERTICAL.
9512 (getInverted): Use private variable instead of
9513 ComponentOrientation.
9514 (setInverted): ditto.
9515 * javax/swing/plaf/basic/BasicSliderUI.java:
9516 Fix indentation and comments.
9517 (propertyChange): Remove check for inverted slider, handle
9519 (getMinimumSize): Return preferred size.
9520 (getMaximumSize): ditto.
9521 (calculateFocusRect): Don't relocate rectangle.
9522 (drawInverted): Return XOR of the slider's inversion and
9523 the component's orientation.
9524 (paint): Update leftToRightCache
9526 2004-02-13 David Jee <djee@redhat.com>
9528 * java/awt/GridBagLayout.java
9529 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9530 code to helper methods.
9531 (sortBySpan): New helper method.
9532 (distributeSizeAndWeight): Likewise.
9533 (calcCellWeights): Likewise.
9534 (calcCellSizes): Add comments.
9536 2004-02-13 David Jee <djee@redhat.com>
9538 * java/awt/Component.java
9539 (show): Only do something if component is invisible at the moment.
9540 (hide): Only do something if component is visible at the moment.
9541 (reshape): If lightweight, erase old bounds and repaint new bounds.
9543 2004-02-13 Kim Ho <kho@redhat.com>
9545 * Makefile.am: Updated for new file.
9546 * Makefile.in: Regenerated.
9547 * javax/swing/JSlider.java: Reimplement.
9548 * javax/swing/SwingUtilities.java
9549 (layoutCompoundLabel): Use icon height
9551 (paintComponent): Implement.
9552 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9553 Add JSlider defaults.
9554 * javax/swing/plaf/basic/BasicSliderUI.java:
9555 Implement. New file.
9557 2004-03-17 Michael Koch <konqueror@gmx.de>
9559 * gnu/java/net/PlainDatagramSocketImpl.java
9560 (RECEIVE_LOCK): New member field.
9561 (SEND_LOCK): New member field.
9562 (send0): New method.
9563 (send): Synchronize on SEND_LOCK.
9564 (receive0): New method.
9565 (receive): Synchronize on RECEIVE_LOCK.
9566 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9567 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9568 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9569 (send0): Renamed from send.
9570 (receive0): Renamed from receive.
9571 2004-03-17 Michael Koch <konqueror@gmx.de>
9573 * gnu/java/net/natPlainSocketImplPosix.cc
9574 (write): Just call write(jbyteArray, offset, len).
9575 (read): Just call read(jbyteArray, offset, len).
9577 2004-03-16 Michael Koch <konqueror@gmx.de>
9579 * javax/swing/JTabbedPane.java
9580 (serialVersionUID): New field.
9582 2004-03-16 Norbert Frese <postfach@nfrese.net>
9584 * java/net/InetAddress.java
9585 (getByName): Handle hostname == "" case.
9587 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9589 Reported by: Adam Heath <doogie@debian.org>
9590 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9593 2004-03-15 Michael Koch <konqueror@gmx.de>
9595 * java/util/Locale.java: Reverting my last patch
9596 and add a comment why the original version was okay.
9598 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9600 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9601 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9602 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9603 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9605 2004-03-12 Michael Koch <konqueror@gmx.de>
9607 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9609 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9611 * java/net/URI.java (toURL): Implemented.
9613 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9616 (URI_REGEXP) updated to contain scheme specific part.
9617 (SCHEME_SPEC_PART_GROUP) new constant.
9618 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9619 updated to make room for SCHEME_SPEC_PART_GROUP.
9620 (parseURI) parse scheme specific part.
9621 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9622 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9623 getQuery, getFragment) implemented.
9625 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9627 * libraries/javalib/java/net/URI.java
9628 partially implemented using java.util.regex.
9629 (URI_REGEXP) new constant. Used to parse URIs.
9630 (SCHEME_GROUP) new constant representing index of scheme group
9632 (AUTHORITY_GROUP) new constant representing index of authority
9633 group in parsed URI.
9634 (PATH_GROUP) new constant representing index of path group in
9636 (QUERY_GROUP) new constant representing index of query group in
9638 (FRAGMENT_GROUP) new constant representing index of fragment
9639 group in parsed URI.
9640 (getURIGroup) new static utility method.
9641 (parseURI) implemented.
9642 (quote) stub for new static utility method.
9643 (quoteAuthority) stub for new static utility method.
9644 (quoteHost) stub for new static utility method.
9645 (quotePath) stub for new static utility method.
9646 (quoteUserInfo) stub for new static utility method.
9648 (create) don't throw URISyntaxException. Implemented.
9649 (toString) implemented.
9651 2004-03-12 Michael Koch <konqueror@gmx.de>
9653 * java/net/HttpURLConnection.java
9654 (getResponseCode): Fix another typo in javadoc.
9656 2004-03-11 Michael Koch <konqueror@gmx.de>
9658 * java/util/logging/Level.java
9659 (parse): Use String.equals() instead of ==.
9661 2004-03-11 Michael Koch <konqueror@gmx.de>
9663 * gnu/java/net/protocol/jar/Connection.java
9664 (getContentLength): New method.
9666 2004-03-11 Michael Koch <konqueror@gmx.de>
9668 * gnu/java/net/PlainSocketImpl.java:
9669 Reformated to merge better with classpath's version.
9671 2004-03-11 Michael Koch <konqueror@gmx.de>
9673 * java/util/Locale.java
9674 (getISO3Language): Use String.equals() instead of ==.
9675 (getISO3Country): Likewise.
9677 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9679 * java/text/AttributedString.java
9680 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9681 Use HashMap instead of Hashtable since value can be null, and
9682 you can not store a null value in a Hashtable.
9684 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9686 * java/text/AttributedStringIterator.java
9687 (getAllAttributesKey): Return only keys concerned
9688 by the current iterator.
9689 (getAttributes): Use strict inequality for
9692 2004-03-11 Michael Koch <konqueror@gmx.de>
9694 * java/net/HttpURLConnection.java:
9695 Fixed typo in javadoc.
9697 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9699 * java/io/BufferedInputStream.java (marktarget): New field for max
9701 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9702 (mark): Use new fields.
9704 (read(byte[],int,int)): Likewise.
9708 2004-03-11 Mark Wielaard <mark@klomp.org>
9710 * java/beans/BeanDescriptor.java (BeanDescriptor):
9711 Set the FeatureDescriptor programmatic name.
9713 2004-03-11 Michael Koch <konqueror@gmx.de>
9715 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9716 This file was was just copied form java/io/natFileDescriptorEcos.cc
9717 and never changed to compile correctly.
9719 2004-03-11 Michael Koch <konqueror@gmx.de>
9721 * gnu/java/nio/PipeImpl.java
9722 (SourceChannelImpl): Made final.
9723 (read): Implemented.
9724 (SinkChannelImpl): Made final.
9725 (write): Implemented.
9727 2004-03-11 Michael Koch <konqueror@gmx.de>
9729 * gnu/java/net/PlainDatagramSocketImpl.java:
9730 Reformated to match classpath's version more.
9732 2004-03-11 Michael Koch <konqueror@gmx.de>
9734 * gnu/java/awt/peer/ClasspathFontPeer.java:
9735 Fixed javadoc to be correct xhtml.
9736 * gnu/java/awt/peer/gtk/GtkArgList.java
9737 (add): Use Boolean.valueOf() instead of new Boolean().
9739 2004-03-09 Michael Koch <konqueror@gmx.de>
9741 * java/lang/Thread.java
9742 (runnable): Moved around.
9743 (daemon): Renamed from daemon_flag.
9744 (contextClassLoader): Renamed from context_class_loader.
9745 (Thread): Reordered constructors.
9746 (activeCount): Use group directly.
9747 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9748 (holdsLock): Reworked javadoc.
9749 (setDaemon): Reworked.
9750 * java/lang/natThread.cc
9753 2004-03-08 Anthony Green <green@redhat.com>
9755 * Makefile.am: Build property resource files into libgcj.
9756 * Makefile.in: Rebuilt.
9757 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9758 java/util/regex/PatternSyntaxException.java,
9759 gnu/regexp/CharIndexed.java,
9760 gnu/regexp/CharIndexedCharArray.java,
9761 gnu/regexp/CharIndexedInputStream.java,
9762 gnu/regexp/CharIndexedReader.java,
9763 gnu/regexp/CharIndexedString.java,
9764 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9765 gnu/regexp/REException.java,
9766 gnu/regexp/REFilterInputStream.java,
9767 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9768 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9769 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9770 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9771 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9772 gnu/regexp/RETokenLookAhead.java,
9773 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9774 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9775 gnu/regexp/RETokenStart.java,
9776 gnu/regexp/RETokenWordBoundary.java,
9777 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9779 2004-03-03 Per Bothner <per@bothner.com>
9781 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9782 Optimize when argument is a FileChannelImpl.
9783 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9785 * java/nio/channels/natChannels.cc: New file for new native methods.
9786 * Makefile.am: Update accordingly.
9788 2004-03-02 Jan Hubicka <jh@suse.cz>
9790 * configure.host: Pass -fno-omit-frame-pointer for i386.
9791 * configure.in: Likewise.
9792 * configure: Regenerate.
9794 2004-03-01 Per Bothner <per@bothner.com>
9796 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9798 2004-02-29 Per Bothner <per@bothner.com>
9800 * java/nio/channels/FileChannelImpl.java: Moved to package
9801 gnu/java/nio/channels, since we need to refer to it from java.io.
9802 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9803 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9804 from java/nio/channels. Don't depend on FileDescriptor.
9805 (in, out, err): New static fields.
9807 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9808 from FileDescriptor.
9809 (by): Removed MappedByteBuffer field.
9810 (map): New working implementation.
9811 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9812 some code "ported" from natFileDescriptoPosix.cc.
9813 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9814 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9815 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9816 Remove native methods.
9817 * Makefile.am, configure.in: Updated accordingly.
9819 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9820 (ch): New FileChannelImpl field. Update constructor to match.
9821 (releaseImpl): Remove native method. Instead ...
9822 (release): Call unlock on channel.
9823 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9825 * java/io/natFileDescriptorEcos.cc: Remove file.
9826 * java/io/natFileDescriptorPosix.cc: Remove file.
9827 * java/io/natFileDescriptorWin32.cc: Remove file.
9828 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9829 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9830 (<init>(FileChannelImpl)): New package-private constructor.
9831 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9832 (available, close, read, skip): Implement using FileChannelImpl.
9833 (getFD): Allocate FileDescriptor if needed.
9834 (getChannel): Is now trivial.
9835 * java/io/FileOutputStream.java: Corresponding changes.
9836 * java/io/RandomAccessFile.java: Corresponding changes.
9838 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9839 unmapImpl): New dummy methods, to be overridden by subclass.
9840 (finalize, isLoaded, load, force): New methods.
9841 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9842 Now works, at least for read mapping.
9844 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9845 streams using FileChannelImpl, not FileDescriptor.
9846 * java/lang/natWin32Process.cc (startProcess): Likewise.
9848 2004-02-28 Michael Koch <konqueror@gmx.de>
9850 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9853 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9855 * java/io/ObjectInputStream.java
9856 (readClassDescriptor): Keep elements of the mapping non null.
9857 (checkTypeConsistency): New method.
9858 (readFields): Fixed main loop and base logic. Small reindentation.
9859 * java/io/ObjectStreamField.java
9860 (lookupField): New method to update the field reference.
9861 (checkFieldType): New method.
9862 * java/io/ObjectStreamClass.java
9863 (setClass, setFields): Call lookupField when building the field
9864 database. Check the real field type.
9866 2004-02-28 Michael Koch <konqueror@gmx.de>
9868 * java/nio/ByteOrder.java
9869 (nativeOrder): Use equals() to compare strings.
9871 2004-02-26 Michael Koch <konqueror@gmx.de>
9873 * gnu/java/nio/FileLockImpl.java
9874 (finalize): Made protected.
9875 * java/nio/channels/FileChannel.java
9876 (MapMode.READ_ONLY): Made final.
9877 (MapMode.READ_WRITE): Made final.
9878 (MapMode.PRIVATE): Made final.
9879 * java/nio/channels/SocketChannel.java
9880 (open): Simplified code.
9881 * java/nio/channels/spi/AbstractSelectableChannel.java
9882 (registered): Unused, removed.
9883 (keyFor): Check channel is open, only locate key
9884 and not add a new one.
9885 (register): Don't delete attachments.
9887 2004-02-26 Michael Koch <konqueror@gmx.de>
9889 * gnu/java/awt/ComponentDataBlitOp.java
9890 (INSTANCE): Made final.
9891 * gnu/java/awt/image/ImageDecoder.java:
9893 (cm): Unused, removed.
9895 2004-02-26 Michael Koch <konqueror@gmx.de>
9897 * gnu/java/nio/DatagramChannelImpl.java
9898 (send): Check if target address is resolved.
9900 2004-02-26 Michael Koch <konqueror@gmx.de>
9902 * Makefile.am: Generate and install headers for inner classes in
9903 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9904 * Makefile.in: Regenerated.
9906 2004-02-24 Anthony Green <green@redhat.com>
9908 * java/lang/StringBuffer.java: No need to NULL out remainder of
9909 buffer since ensureCapacity_unsynchronized will have done this for
9912 2004-02-20 Michael Koch <konqueror@gmx.de>
9914 * gnu/java/net/protocol/jar/Handler.java
9915 (): Removed unneeded check for file != null. java.net.URL.getFile()
9916 returns an empty string but never null.
9918 2004-02-20 Michael Koch <konqueror@gmx.de>
9920 * gnu/gcj/convert/Convert.java
9921 (main): Use equals() to compare strings.
9923 2004-02-20 Michael Koch <konqueror@gmx.de>
9925 * javax/swing/AbstractButton.java: Made several constants final.
9926 (getRolloverSelectedIcon): Made public.
9927 (getSelectedIcon): Made public.
9929 2004-02-16 Per Bothner <per@bothner.com>
9931 * java/nio/CharBufferImpl.java: Inline super constructor.
9932 * java/nio/DoubleBufferImpl.java: Likewise.
9933 * java/nio/FloatBufferImpl.java: Likewise.
9934 * java/nio/IntBufferImpl.java: Likewise.
9935 * java/nio/LongBufferImpl.java: Likewise.
9936 * java/nio/ShortBufferImpl.java: Likewise.
9937 * java/nio/CharBuffer.java: Remove unused constructor.
9938 * java/nio/DoubleBuffer.java: Likewise.
9939 * java/nio/FloatBuffer.java: Likewise.
9940 * java/nio/IntBuffer.java: Likewise.
9941 * java/nio/LongBuffer.java: Likewise.
9942 * java/nio/ShortBuffer.java: Likewise.
9943 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9944 Fix buggy call to super constructor.
9945 * java/nio/DoubleViewBufferImpl.java: Likewise.
9946 * java/nio/FloatViewBufferImpl.java: Likewise.
9947 * java/nio/IntViewBufferImpl.java: Likewise.
9948 * java/nio/LongViewBufferImpl.java: Likewise.
9949 * java/nio/ShortViewBufferImpl.java: Likewise.
9951 * java/nio/ByteBuffer.java (endian): Make non-private so other
9952 java.nio classes can inherit it.
9953 (<init>): Don't bother clearing array_offset.
9954 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9955 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9956 Remove redundant test.
9958 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9959 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9960 Use new XxxViewBufferImpl constructors.
9961 * java/nio/MappedByteBufferImpl.java: Likewise.
9962 * java/nio/DirectByteBufferImpl.java: Likewise.
9964 * java/nio/ByteBufferImpl.java: Remove one constructor.
9965 Inline super in remaining constructor.
9966 * java/nio/ByteBuffer.java: Remove unused constructor.
9968 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9970 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9971 * java/nio/DirectByteBufferImpl.java (owner): New field.
9972 (offset): Remove unused field.
9973 (<init>): Modify one and add another constructor. Change callers.
9974 (allocateDirect): Removed - not used.
9975 (getImpl, putImpl): Make static and pass address explicitly,
9976 to make them useful for MappedByteBufferImpl.
9977 (get, put): Check for underflow. Modify for new getImpl.
9978 (getImpl): New native method where target is array.
9979 (get(byte[],int,int)): Use the above.
9980 (adjustAddress): New static native method.
9981 (slice, duplicate, asReadOnly): New implementations.
9982 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9983 adjustAddress): New or updated native methods.
9985 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9987 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9988 overflow of fieldmapping.
9990 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9992 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9994 2004-02-14 Per Bothner <per@bothner.com>
9996 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9997 Set closed before calling implCloseChannel, as in the spec.
9999 2004-02-09 Graydon Hoare <graydon@redhat.com>
10001 * javax/swing/ToggleButtonModel.java: Remove dead class.
10002 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
10003 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
10004 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
10005 * Makefile.am: Update for new and removed files.
10006 * Makefile.in: Regenerate.
10008 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
10009 * javax/swing/AbstractButton.java
10010 (AbstractButton): Initialize fields correctly in ctor.
10011 * javax/swing/JCheckbox.java
10012 (JCheckBox): Override painting flags.
10013 * javax/swing/DefaultButtonModel.java: Conform to sun.
10014 * javax/swing/JComponent.java (paint): Fill with background color
10016 (processComponentKeyEvent)
10017 (processFocusEvent)
10019 (processMouseMotionEvent): Remove event-consuming empty methods.
10020 (getUIClassID): Return "ComponentUI" not "JComponent"
10021 * javax/swing/JFrame.java: Remove some debugging chatter.
10022 (JFrame): Subscribe to window events.
10023 * javax/swing/JRadioButton.java
10024 (JRadioButton): Override painting flags.
10025 * javax/swing/JRootPane.java
10026 (JRootPane): Set background from UIDefaults.
10027 * javax/swing/JToggleButton.java
10028 (ToggleButtonModel): New inner class.
10029 (JToggleButton): Override layout alighment.
10030 * javax/swing/SwingUtilities.java:
10031 (getLocalBounds): Return width and height, not x and y.
10032 (calculateInnerArea): Use local bounds, not bounds.
10033 (layoutCompoundLabel): Provide overridden form.
10034 (layoutCompoundLabel): Correct bugs.
10035 * javax/swing/UIDefaults.java: Correct comment.
10036 * javax/swing/plaf/basic/BasicButtonUI.java:
10037 Move most logic into defaults, external listener.
10038 (paintIcon): Implement icon painting.
10039 (paint): Fix state painting to conform to changes in model.
10040 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
10041 Remove most dead/wrong methods.
10042 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
10043 * javax/swing/plaf/basic/BasicIconFactory.java:
10044 (DummyIcon): New class.
10045 (getMenuItemCheckIcon)
10046 (getMenuItemArrowIcon)
10048 (getCheckBoxMenuItemIcon)
10049 (getRadioButtonMenuItemIcon)
10050 (createEmptyFrameIcon): Return DummyIcons, not null.
10051 (getCheckBoxIcon): Implement an icon that looks like sun's.
10052 (getRadioButtonIcon): Implement an icon that looks like sun's.
10053 * javax/swing/plaf/basic/BasicLookAndFeel.java
10054 (initComponentDefaults): Fix impossible values, add some missing.
10055 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
10056 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
10057 Remove most dead/wrong methods.
10059 (getDefaultIcon): New method.
10060 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10061 Remove most dead/wrong methods.
10062 * javax/swing/plaf/metal/MetalLookAndFeel.java
10063 (getDefaults): Return super.getDefaults(), not BasicDefaults.
10064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10065 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
10066 Implement "clearing" as drawing, when on pixmap drawables.
10068 * javax/swing/JButton.java (getUIClassID):
10069 * javax/swing/JCheckBox.java (getUIClassID):
10070 * javax/swing/JEditorPane.java (getUIClassID):
10071 * javax/swing/JLabel.java (getUIClassID):
10072 * javax/swing/JList.java (getUIClassID):
10073 * javax/swing/JOptionPane.java (getUIClassID):
10074 * javax/swing/JPanel.java (getUIClassID):
10075 * javax/swing/JPasswordField.java (uiClassID):
10076 * javax/swing/JRadioButton.java (getUIClassID):
10077 * javax/swing/JRootPane.java (getUIClassID):
10078 * javax/swing/JScrollPane.java (getUIClassID):
10079 * javax/swing/JTabbedPane.java (getUIClassID):
10080 * javax/swing/JToggleButton.java (getUIClassID):
10081 * javax/swing/JTree.java (getUIClassID):
10082 * javax/swing/JViewport.java (getUIClassID):
10083 * javax/swing/text/JTextComponent.java (getUIClassID):
10084 Return "fooUI" not "Jfoo"
10086 2004-02-11 Michael Koch <konqueror@gmx.de>
10088 * java/net/DatagramSocket.java
10089 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
10091 (setBroadcast): Likewise.
10092 * java/net/MulticastSocket.java
10093 (setLoopbackMode): Likewise.
10094 * java/net/ServerSocket.java
10095 (setReuseAddress): Likewise.
10096 * java/net/Socket.java
10097 (setTcpNoDelay): Likewise.
10098 (setSoLinger): Likewise.
10099 (setOOBInline): Likewise.
10100 (setKeepAlive): Likewise.
10101 (setReuseAddress): Likewise.
10102 * java/net/URLConnection.java
10103 (setContentHandler): Replace == with equals().
10104 * java/net/URLStreamHandler.java
10105 (hostSEquals): Fix checking host addresses.
10106 (toExternalForm): Dont check protocol for null. We know already its
10109 2004-02-10 David Jee <djee@redhat.com>
10111 * java/awt/BorderLayout.java
10112 (calcCompSize): Invisible components get zero dimensions.
10113 * java/awt/Button.java
10114 (setLabel): Set actionCommand.
10115 * java/awt/Component.java
10116 (show): Invalidate component and parent container.
10119 2004-02-10 David Jee <djee@redhat.com>
10121 * java/awt/GridBagLayout.java
10122 (GridBagLayout): New private field, internalcomptable.
10123 (lookupInternalConstraints): New method.
10124 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
10125 (GetLayoutInfo): Reimplement.
10126 (calcCellSizes): Ignore rows/columns with size 0.
10128 2004-02-10 Michael Koch <konqueror@gmx.de>
10130 * gnu/java/awt/EmbeddedWindow.java
10131 (setHandle): Use java.awt.Component.getPeer() instead of
10132 java.awt.Component.peer directly.
10134 2004-02-10 David Jee <djee@redhat.com>
10136 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
10137 (gtkSetLabel): New native method definition.
10138 (setLabel): Use gtkSetLabel.
10139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
10140 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
10142 2004-02-10 Alan Modra <amodra@bigpond.net.au>
10144 * include/powerpc-signal.h: Revert 2004-01-21 change.
10145 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
10146 from syscall for ppc32 versions.
10148 2004-02-08 Per Bothner <per@bothner.com>
10150 * java/nio/ByteBuffer.java (shiftDown): New helper method.
10151 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
10152 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
10153 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
10154 Pass ByteOrder parameter to most methods, since the underlying
10155 ByteBuffer's order isn't always what we should use.
10156 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
10157 * java/nio/DirectByteBufferImpl.java: Likewise.
10158 Use ByteBufferHelper methods.
10159 * java/nio/MappedByteBufferImpl.java: Likewise.
10160 (compact): Use shiftDown.
10161 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10162 (get, put): Use ByteBufferHelper.
10163 (compact): Use new shiftDown method.
10164 (duplicate(boolean)): New helper method.
10165 (duplicate, asReadOnlyBuffer): Use it.
10166 (order): Return endian field.
10167 * java/nio/DoubleViewBufferImpl.java: Likewise.
10168 * java/nio/FloatViewBufferImpl.java: Likewise.
10169 * java/nio/IntViewBufferImpl.java: Likewise.
10170 * java/nio/LongViewBufferImpl.java: Likewise.
10171 * java/nio/ShortViewBufferImpl.java: Likewise.
10172 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10173 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10174 (compact): Re-implement using shiftDown.
10176 2004-02-08 Andreas Jaeger <aj@suse.de>
10178 * include/x86_64-signal.h: Fix typo.
10180 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10182 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10183 qualifier to _regs.
10184 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10186 2004-02-06 Michael Koch <konqueror@gmx.de>
10188 * java/io/ObjectInputStream.java
10189 (currentClassLoader): Reverted to old version of this method.
10191 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10193 * java/io/ObjectInputStream.java: Made all calls
10194 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10195 use cached info from ObjectStreamClass. (readClassDescriptor):
10196 Cache more information in ObjectStreamClass. (processResolution,
10197 readFields): Use cached info from ObjectStreamClass.
10198 (newObject): Throw exception instead of returning null for failure.
10199 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10200 setCharField, setDoubleField, setFloatField, setIntField,
10201 setLongField, setShortField, setObjectField, readObjectParams):
10202 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10204 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10205 (setClass): Added call to cacheMethods() (findMethod): New method.
10206 (cacheMethods): New method. (ObjectStreamClass): Added call to
10207 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10208 AccessController.doPrivileged to invoke setAccessible.
10209 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10210 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10212 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10213 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10214 isPrimitive): Made safe for cases where type == null.
10215 (setBooleanField, setByteField, setCharField, setShortField,
10216 setIntField, setLongField, setFloatField, setDoubleField,
10217 setObjectField): New methods.
10219 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10221 * java/awt/Component.java (getFont): Return a default font
10224 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10225 (Scrollbar (int, int, int, int, int)): Make default page
10227 (setValues): Only call peer.setValues if one of the values has
10229 (generateName): New method.
10230 (getUniqueLong): New method.
10231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10232 (range_scrollbar): Remove structure.
10233 (post_adjustment_event): Remove function.
10234 (post_change_event): Accept jobject argument.
10235 (create): Cast jints to gdoubles. Round scrollbar values to the
10236 nearest integer. Clamp min, max and value settings.
10237 (connectJObject): Connect hook to widget->window.
10238 (connectSignals): Remove range_scrollbar structure variables.
10239 Remove "move-slider" connection. Pass global peer reference to
10240 "value-changed" callback.
10241 (setLineIncrement): Cast jint value to gdouble.
10242 (setPageIncrement): Likewise.
10243 (setValues): Likewise. Clamp min, max and value settings.
10245 2004-02-05 Michael Koch <konqueror@gmx.de>
10247 * javax/swing/AbstractCellEditor.java
10248 (getCellEditorValue): Removed.
10249 * javax/swing/Box.java: Reformated.
10250 (serialVersionUID): New field.
10251 * javax/swing/ButtonGroup.java:
10252 Removed some weird whitespace.
10253 * javax/swing/CellEditor.java: Reformated.
10254 * javax/swing/CellRendererPane.java
10255 (serialVersionUID): New field.
10256 (AccessibleCellRendererPaneserialVersionUID): New field.
10257 * javax/swing/DefaultListModel.java
10258 (serialVersionUID): New field.
10259 * javax/swing/JEditorPane.java
10260 (serialVersionUID): New field.
10261 (setPage): Throws IOException.
10262 (addHyperlinkListener): Implemented.
10263 (removeHyperlinkListener): Implemented.
10264 (getHyperlinkListener): New method.
10265 * javax/swing/JFileChooser.java
10266 (serialVersionUID): New field.
10267 (AccessibleJFileChooser.serialVersionUID): New field.
10268 (addActionListener): Implemented.
10269 (removeActionListener): Implemented.
10270 (getActionListeners): New method.
10271 * javax/swing/JFormattedTextField.java
10272 (serialVersionUID): New field.
10273 (AbstractFormatter.serialVersionUID): New field.
10274 (clone): Throws CloneNotSupportedException
10275 (setEditValid): Add missing argument.
10276 (stringToValue): Throws ParseExcpetion.
10277 (valueToString): Throws ParseException.
10278 (commitEdit): Throws ParseException.
10279 * javax/swing/JLabel.java
10280 (serialVersionUID): New field.
10281 * javax/swing/JList.java
10282 (serialVersionUID): New field.
10283 (addListSelectionListener): Reformated.
10284 (removeListSelectionListener): Reformated.
10285 (getListSelectionListeners): New method.
10286 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10288 (serialVersionUID): New field.
10289 * javax/swing/table/AbstractTableModel.java
10290 (getValueAt): Removed.
10291 (getColumnCount): Removed.
10292 (getRowCount): Removed.
10294 2004-02-05 Michael Koch <konqueror@gmx.de>
10296 * java/awt/datatransfer/DataFlavor.java
10297 (imageFlavor): Javadoc added.
10298 (javaJVMLocalObjectType): Fixed.
10300 2004-02-05 Michael Koch <konqueror@gmx.de>
10302 * java/lang/Thread.java
10303 (Thread): Reordered.
10304 (setContextClassLoader): Fixed javadoc comment.
10305 (setPriority): Reordered.
10306 (yield): Reordered.
10307 (initialize_native): Reordered.
10308 (gen_name): Reordered.
10310 2004-02-05 Michael Koch <konqueror@gmx.de>
10312 * java/lang/Thread.java: Reordered fields, reformated much code,
10313 no functional changes, some variables renamed, javadoc comments
10316 2004-02-05 Michael Koch <konqueror@gmx.de>
10318 * java/util/zip/Deflater.java,
10319 java/util/zip/DeflaterOutputStream.java,
10320 java/util/zip/GZIPInputStream.java:
10321 Reformated and javadoc comments merged from classpath.
10323 2004-02-05 Michael Koch <konqueror@gmx.de>
10325 * gnu/java/nio/NIOServerSocket.java
10326 (impl): Unused, removed.
10327 * gnu/java/nio/SocketChannelImpl.java
10328 (finnishConnect): Don't throw NoConnectionPendingException if not
10329 connected or no connection pending.
10331 2004-02-02 Graydon Hoare <graydon@redhat.com>
10333 * javax/swing/SwingUtilities.java: Many new functions.
10334 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10335 * javax/swing/basic/BasicGraphicsUtils.java
10336 (getPreferredButtonSize): Start layout from top-left corner.
10338 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10340 * java/awt/geom/AffineTransform.java:
10341 Corrected comments on the field definitions for
10343 (shear): Fixed few errors that caused shear
10344 transformation to be performed incorrectly.
10345 (createInverse): Fixed to return correct
10346 inverse of the given matrix.
10348 2004-02-03 Tom Tromey <tromey@redhat.com>
10350 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10351 PATH or LD_LIBRARY_PATH is not set in parent environment.
10353 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10355 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10356 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10357 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10358 java/awt/Component.java, java/awt/Container.java,
10359 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10360 java/awt/LayoutManager2.java, java/awt/List.java,
10361 java/awt/Menu.java, java/awt/MenuBar.java,
10362 java/awt/MenuItem.java, java/awt/Polygon.java,
10363 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10364 java/awt/Scrollbar.java, java/awt/TextArea.java,
10365 java/awt/TextField.java,
10366 java/awt/image/renderable/RenderContext.java,
10367 javax/swing/JApplet.java: Fix handling of alias methods, where a
10368 method has been deprecated in favour of a new one with the same
10369 funtion but a different name. Put the method implementation in
10370 the deprecated method and have the new method call the
10371 deprecated one. Make all other code call the new method.
10373 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10375 * gnu/java/nio/DatagramChannelImpl.java
10376 (inChannelOperation): New field.
10377 (isInChannelOperation): New accessor.
10378 (setInChannelOperation): New modifier.
10379 (receive): Use capacity() - position() of destination
10380 buffer instead of remaining(). Set and reset our "in
10381 channel operation indicator" before and after delegating
10382 the receive to our datagram socket. Removed testing code.
10383 Update destination buffer's current position if it is
10384 backed by a byte array (hasArray() is true).
10385 (send): Set and reset our "in channel operation indicator"
10386 before and after delegating the send to our datagram socket.
10387 Removed testing code. Update source buffer's current position
10388 if it is backed by a byte array (hasArray() is true).
10389 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10390 Use capacity() - position() of destination buffer instead
10392 * java/net/DatagramSocket.java (receive): Don't throw an
10393 IllegalBlockingModeException if we have a non-blocking
10394 channel which initiated this operation.
10397 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10399 * configure.in: Add pkgconfig check for glib and gthread.
10400 * configure: Regenerate.
10402 2004-02-01 Michael Koch <konqueror@gmx.de>
10404 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10406 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10407 * verify.cc (debug_print): Mark 'fmt' unused.
10409 2004-01-30 Michael Koch <konqueror@gmx.de>
10411 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10412 * configure: Regenerated.
10413 * glib-2.0.m4: Removed.
10414 * gtk-2.0.m4: Removed.
10415 * libart.m4: Removed.
10416 * pkg.m4: New file.
10418 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10420 * gnu/java/net/PlainSocketImpl.java
10421 (inChannelOperation): New field.
10422 (isInChannelOperation): New accessor.
10423 (setInChannelOperation): New modifier.
10424 * gnu/java/nio/ServerSocketChannelImpl.java
10425 (accept): Set and reset our server socket's PlainSocketImpl's
10426 "in channel operation" indicator before and after delegating
10427 the accept to our server socket.
10428 * gnu/java/nio/SocketChannelImpl.java
10429 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10430 operation" indicator before and after delegating the operation to
10434 * java/net/ServerSocket.java (implAccept): Don't throw an
10435 IllegalBlockingModeException if we have a non-blocking
10436 channel which initiated this accept operation.
10437 * java/net/Socket.java (connect): Don't throw an
10438 IllegalBlockingModeException if we have a non-blocking
10439 channel which initiated this connect operation.
10440 * java/nio/channels/spi/AbstractSelectableChannel.java
10441 (configureBlocking): Only call implConfigureBlocking() if
10442 the desired blocking mode is different from our current one.
10444 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10446 * java/io/BufferedReader.java (sbuf): New field.
10447 (readLine): Use String.valueOf instead of new String() as per
10448 Per Bothner's suggestion. Use instance sbuf field instead of a
10449 local StringBuffer instance.
10450 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10451 caller's buffer to refill().
10452 (read(void)): Pass our internal work buffer to refill if our
10453 input queue is empty.
10454 (refill): Changed return type to int. Use the specified buffer
10455 instead of our work buffer as per Bryce McKinlay's suggestion.
10456 Return the number of characters read or -1 for EOF.
10458 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10460 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10462 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10464 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10465 * Makefile.in: Re-generated.
10466 * gnu/awt/xlib/XFontPeer.java: New file.
10467 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10468 (setClip): Commented out debug printout.
10469 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10470 (getFontPeer): Return XFontPeer.
10471 (getLocalGraphicsEnvironment): New method.
10472 (getClasspathFontPeer): New method.
10473 (createFont): New method.
10475 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10477 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10480 2004-01-29 Kim Ho <kho@redhat.com>
10482 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10483 (gtkLayoutSetVisible): New method
10484 (setMenuBar): Hide layout before setting MenuBar
10485 and reshow it after.
10486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10487 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10489 2004-01-28 Michael Koch <konqueror@gmx.de>
10491 * gnu/java/lang/ClassHelper.java
10492 (getPackagePortion): Removed.
10494 2004-01-28 Michael Koch <konqueror@gmx.de>
10496 * javax/swing/JComponent.java
10497 (listenerList): Initalize globally.
10498 (ancestor_list): Removed.
10499 (veto_list): Removed.
10500 (change_list): Removed.
10501 (get_veto_list): Removed.
10502 (get_change_list): Removed.
10503 (get_ancestor_list): Removed.
10504 (removeAncestorListener): Reimplemented.
10505 (removePropertyChangeListener): Likewise.
10506 (removeVetoableChangeListener): Likewise.
10507 (addAncestorListener): Likewise.
10508 (addPropertyChangeListener): Likewise.
10509 (addVetoableChangeListener): Likewise.
10510 (getListeners): New method.
10511 (getAncestorListeners): Likewise.
10512 (getVetoableChangeListeners): Likewise.
10513 (fireVetoableChange): Throws PropertyVetoException.
10514 * javax/swing/JEditorPane.java
10515 (JEditorPane): Throws IOException.
10517 2004-01-28 David Jee <djee@redhat.com>
10519 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10520 (create): Set the default foreground color to
10521 java.awt.SystemColor.windowText.
10523 2004-01-27 Michael Koch <konqueror@gmx.de>
10525 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10526 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10527 Reindented to merge with classpath.
10529 2004-01-27 David Jee <djee@redhat.com>
10531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10532 (addExposeFilter): Handle GtkFramePeer separately.
10533 (removeExposeFilter): Likewise.
10535 2004-01-27 Michael Koch <konqueror@gmx.de>
10537 * gnu/java/net/protocol/http/Connection.java
10538 (getOutputStream): Fixed typo.
10540 2004-01-27 Michael Koch <konqueror@gmx.de>
10542 * java/lang/Class.java
10543 (getConstructor): Removed SecurityException from throws clause.
10544 (_getConstructors): Likewise.
10545 (getConstructors): Likewise.
10546 (getDeclaredConstructor): Likewise.
10547 (getDeclaredClasses): Likewise.
10548 (getDeclaredConstructors): Likewise.
10549 (getDeclaredField): Likewise.
10550 (getDeclaredMethod): Likewise.
10551 (getDeclaredMethods): Likewise.
10552 (getField): Likewise.
10553 (getMethod): Likewise.
10554 (getMethods): Likewise.
10556 2004-01-27 Kim Ho <kho@redhat.com>
10558 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10559 (removeMenuBarPeer): Remove MenuBarPeer argument.
10560 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10561 (dispose): Call native method.
10562 * java/awt/Frame.java (setMenuBar): Create and remove
10563 MenuBar peers only if the Frame has a peer.
10564 (addNotify): Create the MenuBar peer if one exists.
10565 (removeNotify): Remove MenuBar peer if one exists.
10566 * java/awt/Menu.java: Fix imports.
10567 (addNotify): Don't use full class name.
10568 (removeNotify): Call removeNotify on all children.
10569 * java/awt/MenuBar.java (removeNotify): Call
10570 removeNotify on all children.
10571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10572 (removeMenuBarPeer): Remove MenuBarPeer argument.
10573 Iterate through children to find the Frame's MenuBar.
10574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10576 (dispose): Remove references to the MenuComponent.
10578 2004-01-27 Michael Koch <konqueror@gmx.de>
10580 * javax/swing/AbstractCellEditor.java: Reformated.
10581 * javax/swing/DefaultListSelectionModel.java
10582 (listenerList): Made protected.
10583 (addListSelectionListener): Javadoc added.
10584 (removeListSelectionListener): Likewise.
10585 (getListeners): Likewise.
10586 (getListSelectionListeners): Likewise.
10587 * javax/swing/JComboBox.java: Merged copyright year.
10588 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10590 2004-01-26 Andrew Haley <aph@redhat.com>
10592 * javax/swing/table/JTableHeader.java: Extend JComponent
10594 2004-01-26 Kim Ho <kho@redhat.com>
10596 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10599 2004-01-26 Kim Ho <kho@redhat.com>
10601 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10603 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10604 height and let the Layout Managers readjust anything that
10606 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10607 (moveLayout): New method. Shift everything in the Gtk
10608 layout in the Y direction by an offset.
10610 2004-01-26 David Jee <djee@redhat.com>
10612 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10613 (handleEvent): Implemented. Handles PaintEvents.
10614 (paint): Implemented. Use GTK native methods to queue updates
10615 for this heavyweight peer.
10616 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10617 (handleEvent): Removed.
10618 * java/awt/Component.java
10619 (paint): Implemented. Explictly paint the heavyweight peer.
10620 (update): Clear the background for heavyweight components.
10621 (paintAll): No need to call peer.paint() anymore.
10622 (processEvent): Don't process PaintEvents here. It's now done in
10623 the peer's handleEvent().
10624 (processPaintEvent): Removed.
10625 * java/awt/Container.java
10626 (paint): No need to call super.paint(). Visit heavyweight
10628 (update): Don't clear the background here. It's done in
10629 Component.update().
10630 (visitChildren): Added check to not recurse into Containers.
10631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10632 (filter_expose_event_handler): New method. Filter unwanted
10633 expose events while painting heavyweight peers.
10634 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10635 New method. Connect filter and block pre_event_handler.
10636 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10637 New method. Disconnect filter and unblock pre_event_handler.
10638 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10639 New method. Invalidate and update given area.
10640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10641 (pre_event_handler): Add checks for unwanted expose events.
10643 2004-01-26 David Jee <djee@redhat.com>
10645 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10646 (find_bg_color_widget): For GtkButton, return its child.
10648 2004-01-26 Kim Ho <kho@redhat.com>
10650 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10652 (setMenuBar): Grab MenuBar height and change insets.
10653 (setBounds): Account for MenuBar height.
10654 (postInsetsChangedEvent): Ditto.
10655 (postSizeAllocateEvent): Remove.
10656 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10657 (menubar_resize_cb): Remove
10658 (setMenuBarPeer): Remove callback.
10659 (getMenuBarHeight): Use size requisition instead of
10662 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10664 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10665 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10667 (setColumns): Remove FIXME -- peer will retrieve number of
10668 columns by calling getColumns.
10669 (setRows): Likewise for number of rows.
10670 (next_text_number): New field.
10671 (paramString): Fix param string.
10672 (generateName): New method.
10673 (getUniqueLong): New method.
10675 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10677 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10678 image observer of image loading status.
10679 (getImage (String)): Start image production.
10680 (getImage (URL)): Likewise.
10682 2004-01-25 Michael Koch <konqueror@gmx.de>
10684 * java/lang/Class.java: Imports reworked, reformated.
10685 (Class): Javadoc added.
10686 (forName): Likewise.
10687 (getClasses): Likewise.
10688 (getClassLoader): Likewise.
10689 (getComponentType): Likewise.
10690 (getConstructor): Likewise.
10691 (getConstructors): Likewise.
10692 (getDeclaredConstructor): Likewise.
10693 (getDeclaredClasses): Likewise.
10694 (getDeclaredConstructors): Likewise.
10695 (getDeclaredField): Likewise.
10696 (getDeclaredMethod): Likewise.
10697 (getDeclaredMethods): Likewise.
10698 (getDeclaringClass): Likewise.
10699 (getField): Likewise.
10700 (getInterfaces): Likewise.
10701 (getMethod): Likewise.
10702 (getMethods): Likewise.
10703 (getModifiers): Likewise.
10704 (getName): Likewise.
10705 (getResource): Likewise.
10706 (getResourceAsStream): Likewise.
10707 (getSigners): Likewise.
10708 (setSigners): Likewise.
10709 (getSuperclass): Likewise.
10710 (isArray): Likewise.
10711 (isAssignableFrom): Likewise.
10712 (isInstance): Likewise.
10713 (isInterface): Likewise.
10714 (isPrimitive): Likewise.
10715 (newInstance): Likewise.
10716 (getProtectionDomain): Likewise.
10717 (toString): Likewise.
10719 (initializeClass): Likewise.
10720 (finalize): Likewise.
10722 2004-01-24 Michael Koch <konqueror@gmx.de>
10724 * gnu/java/net/protocol/jar/Connection.java
10725 (hdrHash): Removed.
10727 (gotHeaders): Removed.
10728 (getHeaderField): Removed.
10729 (getHeaderFields): Removed.
10730 (getHeaderFieldKey): Removed.
10732 (getField): Removed.
10733 (getHeaders): Removed.
10735 2004-01-24 Michael Koch <konqueror@gmx.de>
10737 * Makefile.am: Added library version to gtk peer lib.
10738 * Makefile.in: Regenerated.
10740 2004-01-24 Michael Koch <konqueror@gmx.de>
10742 * java/util/zip/InflaterInputStream.java: Merged class documentation
10745 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10747 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10748 header. For __powerpc64__ provide the default-signal.h definitions
10750 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10751 instead of the dummy definitions.
10752 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10753 (powerpc64*-*): Remove with_libffi_default.
10754 Only add -mminimal-toc for 64-bit compilations.
10755 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10756 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10757 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10758 * configure: Rebuilt.
10760 2004-01-23 Michael Koch <konqueror@gmx.de>
10762 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10764 2004-01-23 Michael Koch <konqueror@gmx.de>
10766 * java/lang/VMClassLoader.java: Reworked imports.
10768 2004-01-23 Michael Koch <konqueror@gmx.de>
10770 * javax/swing/AbstractAction.java: Reformated.
10772 2004-01-23 Michael Koch <konqueror@gmx.de>
10774 * java/text/CollationElementIterator.java:
10775 (setText): New method.
10777 2004-01-23 Michael Koch <konqueror@gmx.de>
10779 * gnu/java/nio/FileLockImpl.java:
10780 Fixed filename in copyright.
10781 (released): Removed.
10782 (finalize): New method.
10783 * gnu/java/nio/natFileLockImpl.cc
10784 (releaseImpl): Implemented.
10785 * java/nio/channels/FileChannelImpl.java:
10787 (lock): Implemented.
10788 (lockImpl): New method.
10789 (tryLock): Implemented.
10790 (tryLockImpl): New method.
10791 * java/nio/channels/natFileChannelImpl.cc
10792 (lockImpl): New method.
10793 (tryLockImpl): New method.
10795 2004-01-23 Michael Koch <konqueror@gmx.de>
10797 * java/io/FileDescriptor.java
10798 (lock): New method.
10799 (tryLock): New method.
10800 (unlock): New method.
10801 * java/io/natFileDescriptorEcos.cc
10802 (lock): New method.
10803 (tryLock): New method.
10804 (unlock): New method.
10805 * java/io/natFileDescriptorPosix.cc
10806 (lock): New method.
10807 (tryLock): New method.
10808 (unlock): New method.
10809 * java/io/natFileDescriptorWin32.cc
10810 (lock): New method.
10811 (tryLock): New method.
10812 (unlock): New method.
10814 2004-01-23 Michael Koch <konqueror@gmx.de>
10816 * java/io/FileDescriptor.java
10817 (sync): Moved around, added javadoc.
10822 (setLength): Likewise.
10824 (getLength): Likewise.
10825 (getFilePointer): Likewise.
10827 (available): Likewise.
10828 (finalize): Likewise.
10830 2004-01-23 Michael Koch <konqueror@gmx.de>
10832 * javax/swing/AbstractAction.java: Reformated.
10833 (getPropertyChangeListeners): New method.
10834 * javax/swing/AbstractCellEditor.java: Reformated.
10835 (getCellEditorListeners): New method.
10836 * javax/swing/DefaultListSelectionModel.java
10837 (listenerList): New field.
10838 (listeners): Removed.
10839 (get_listeners): Removed.
10840 (addListSelectionListener): Rewritten.
10841 (removeListSelectionListener): Rewritten.
10842 (getListSelectionListeners): New method.
10843 (getListeners): New method.
10844 * javax/swing/JComboBox.java: Imports reworked.
10845 (addActionListener): Implemented.
10846 (removeActionListener): Implemented.
10847 (addItemListener): Implemented.
10848 (removeItemListener): Implemented.
10849 (addPopupMenuListener): Implemented.
10850 (removePopupMenuListener): Implemented.
10851 (getActionListeners): New method.
10852 (getItemListeners): New method.
10853 (getPopupMenuListeners): New method.
10855 2004-01-23 Michael Koch <konqueror@gmx.de>
10857 * gnu/java/net/protocol/http/Connection.java
10858 (connect): Don't initialize bufferedOutputStream if not needed.
10859 (sendRequest): Set property for content length if content is present.
10860 Write content only if present.
10861 (getOutputStream): Check if already connected, dont connect,
10862 initalize bufferedOutputStream if needed.
10864 2004-01-23 Michael Koch <konqueror@gmx.de>
10866 * java/io/FileDescriptor.java
10867 (in, out, err): Added javadoc.
10868 (static): Merged loading code.
10869 (fd, position): Moved around.
10871 2004-01-23 Michael Koch <konqueror@gmx.de>
10873 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10876 2004-01-23 Michael Koch <konqueror@gmx.de>
10878 * java/lang/Class.java,
10879 java/lang/Object.java,
10880 java/lang/Thread.java: Merged copyright with classpath.
10882 2004-01-23 Michael Koch <konqueror@gmx.de>
10884 * java/io/FileDescriptor.java: Merged copyright with classpath to
10885 start merging this class.
10887 2004-01-22 Tom Tromey <tromey@redhat.com>
10890 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10891 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10892 * testsuite/libjava.lang/pr13107_3.java: New file.
10893 * testsuite/libjava.lang/pr13107_3.out: New file.
10894 * testsuite/libjava.lang/pr13107_2.java: New file.
10895 * testsuite/libjava.lang/pr13107_2.out: New file.
10896 * testsuite/libjava.lang/pr13107.java: New file.
10897 * testsuite/libjava.lang/pr13107.out: New file.
10898 * verify.cc (jsr_ptrs): Removed.
10899 (entry_points): Likewise.
10900 (struct subr_info): Likewise.
10901 (struct subr_entry_info): Likewise.
10902 (type_val::unused_by_subroutine_type): Likewise.
10903 (type::merge): Don't handle unused_by_subroutine_type.
10904 (type::print): Likewise.
10905 (state::flags): Removed.
10906 (state::subroutine): Likewise.
10907 (state::seen_subrs): Likewise.
10908 (state::NO_STACK): Likewise.
10909 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10910 (state): Updated all methods.
10911 (state::clean_subrs): Removed.
10912 (state::state): Removed `ret_semantics' flag.
10913 (state::copy): Likewise.
10914 (state::add_subr): Removed.
10915 (state::enter_subroutine): Likewise.
10916 (type::set_return_address): New method.
10917 (handle_jsr_insn): Set return address on the type. Always
10918 invalidate PC after call.
10919 (check_nonrecursive_call): Removed.
10920 (~_Jv_BytecodeVerifier): Updated.
10921 (branch_prepass): Removed special handling of jsr.
10922 (note_branch_target): Likewise.
10923 (get_subroutine): Removed.
10924 (state::merge): Don't merge subroutines and don't handle
10925 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10926 (state::note_variable): Removed.
10927 (state::is_unmerged_ret_state): Likewise.
10928 (state::print): Updated.
10929 (set_variable): Likewise.
10930 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10931 and jsr_semantics arguments. Updated for new reverification
10933 (pop_jump): Rewrote.
10934 (construct_primitive_array_type): Updated.
10935 (state::next): Removed.
10936 (INVALID_STATE): New define.
10937 (state::INVALID): Removed.
10938 (state::NO_NEXT): New value.
10939 (state::pc, state::next): New fields.
10940 (state::get_pc): New method.
10941 (next_verify_pc): Removed.
10942 (next_verify_state): New field.
10943 (verify_instructions_0): Always check for falling off end.
10944 (linked): New type.
10945 (linked_utf8): Removed.
10946 (states): Changed type.
10947 (type::state_mergeable_p): New method.
10948 (state::state_mergeable_p): Likewise.
10949 (handle_ret_insn): Removed most code.
10950 (state::reverify): New method.
10951 (add_new_state): Likewise.
10952 (state::set_pc): Likewise.
10954 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10957 * testsuite/libjava.compile/PR13733.java: New file.
10958 * testsuite/libjava.compile/PR13733.xfail: New file.
10960 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10961 Michael Koch <konqueror@gmx.de>
10963 * javax/swing/table/DefaultTableCellRenderer.java
10964 (DefaultTableCellRenderer): Added javadoc for the class and for
10965 the constructor, Border instance, create an EmptyBorder.
10966 (UIResource): Removed the comment at the end of the class
10967 (setForeground): New method.
10968 (setBackground): New method.
10969 (updateUI): New method.
10970 (getTableCellRendererComponent): Rewritten with the help of
10971 dvholten and Stephane Meslin-Weber.
10972 (validate): New method.
10973 (repaint): New method.
10974 (firePropertyChange): New method.
10975 (setValue): New method.
10977 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10979 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10980 (connectJObject): Replace printf calls with g_assert statements.
10981 Move property-notify-event signal connection to ...
10982 (connectSignals): Connect property-notify-event signal. Iterate
10983 through the vbox's children to find layout.
10985 2004-01-22 Graydon Hoare <graydon@redhat.com>
10987 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10988 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10989 Predicate static initialization on GtkToolkit.useGraphics2D().
10990 * java/awt/Component.java (processPaintEvent): Consume event.
10991 * javax/swing/AbstractButton.java: Reimplement, document.
10992 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10993 * javax/swing/JComponent.java (paint): Use double buffer.
10994 (listenerList): Enable member.
10995 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10996 * javax/swing/JToggleButton.java
10997 (JToggleButton): Modify model constructor.
10998 * javax/swing/SwingUtilities.java
10999 (layoutCompoundLabel): Adjust arithmetic.
11000 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
11001 * javax/swing/plaf/basic/BasicGraphicsUtils.java
11002 (getPreferredButtonSize): Include margins in calculation.
11003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11004 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
11005 Receive up events from subordinate layout component.
11007 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
11009 * java/awt/Component.java (show): Set visible to true before
11012 2004-01-21 Kim Ho <kho@redhat.com>
11014 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
11016 (removeMenuBarPeer): Make package private.
11017 (setMenuBarPeer): Make package private.
11018 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11019 (menubar_resize_cb): Mark attributes unused.
11020 (getMenuBarHeight): ditto.
11022 2004-01-21 David Jee <djee@redhat.com>
11024 * java/awt/Container.java
11025 (LightweightDispatcher.handleEvent): Add an extra check to avoid
11026 dispatching MOUSE_ENTERED event twice. Translate the point for
11027 the mouse event target before dispatching the event.
11029 2004-01-20 Jakub Jelinek <jakub@redhat.com>
11031 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
11032 lib_org_w3c_dom_la_LDFLAGS): New.
11033 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
11034 * Makefile.in: Rebuilt.
11036 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
11038 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
11039 Calculate proper offsets for heavyweight components packed in
11040 lightweight containers.
11042 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11043 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11044 (native create): Add width parameter.
11045 (create): Calculate text entry width based on current font's
11046 metrics and number of columns. Set TextField's font if not
11047 already set. Call native create.
11048 (gtkEntryGetBorderWidth): New native method.
11049 (gtkEntryGetSize): Remove method.
11050 (getMinimumSize): Call minimumSize.
11051 (getPreferredSize): Call preferredSize.
11052 (minimumSize): Calculate minimum size based on backing
11053 GtkEntry's borders, font metrics and number of columns.
11054 (preferredSize): Likewise for preferred size.
11055 (get_border_width): New static function.
11057 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11058 Override GtkWindowPeer's setResizable method to account for menu
11059 bar height when setting the frame's size.
11061 2004-01-19 Matthias Klose <doko@debian.org>
11063 * libtool-version: Increased `current' to 6.
11065 2004-01-19 Kim Ho <kho@redhat.com>
11067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11068 (connectJObject): Iterate through the vbox's children to find layout.
11070 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11072 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
11073 isDispatchThread method to replace wrong test condition.
11075 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11077 * java/awt/EventQueue.java (pop): Prevent racing condition to add
11078 events to the queue out of order by acquiring locks in the proper
11079 order and not by releasing one before acquiring the other.
11081 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11083 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
11084 visible so that dialog can be reused.
11086 2004-01-19 Fernando Nasser <fnasser@redhat.com>
11088 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
11089 events may be handled by any queue in the stack.
11091 2004-01-19 Kim Ho <kho@redhat.com>
11093 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
11094 MenuBarPeer parameter.
11095 (removeMenuBarPeer): New native method.
11096 (setMenuBar): Call remove if menu bar is null. Adjust insets
11098 (postSizeAllocateEvent): New method. Called when menu bar size is
11099 allocated. Adjust insets and redo layout.
11100 (GtkFramePeer): Set menu bar during frame creation.
11101 (postConfigureEvent): Adjust position and size to accomodate
11103 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
11104 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
11105 (addNotify): Create the peer if it doesn't exist and call addNotify
11106 for the menu's items.
11107 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
11108 * java/awt/MenuItem.java (addNotify): Create the peer if it
11110 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11111 (removeMenuBarPeer): New method. Remove menu bar on the current
11113 (setMenuBarPeer): Add the menu bar to the current frame and the
11114 callback for size-allocate events on the menu bar.
11115 (getMenuBarHeight): Add menu bar parameter.
11116 (menubar_resize_cb): New callback method for postSizeAllocate events.
11118 Also: Fix indentation on last ChangeLog entry.
11120 2004-01-16 Kim Ho <kho@redhat.com>
11122 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11123 (gtkWidgetGetDimensions): Remove.
11124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11125 (gtkWidgetGetDimensions): Remove.
11127 2004-01-16 Tom Tromey <tromey@redhat.com>
11129 * java/awt/Container.java: Typo and indentation fixes.
11131 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
11132 * java/lang/natVMClassLoader.cc: ...here. New file.
11133 * Makefile.in: Rebuilt.
11134 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
11136 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11138 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
11139 Discard GDK_ENTER_NOTIFY related to ungrabs.
11141 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11143 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
11144 is called for an intermediate queue.
11146 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
11148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11149 (window_property_changed_cb): Set id_set.
11151 2004-01-16 Kim Ho <kho@redhat.com>
11153 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
11154 it is a FileDialog and has dimensions of 0 by 0, then the initial
11155 size is set to size request plus insets.
11156 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11157 (gtkWidgetGetDimensions): Override method.
11158 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11159 (gtkWidgetGetDimensions): Override method. Returns size request plus
11162 2004-01-16 Andrew Haley <aph@redhat.com>
11164 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11165 * sysdep/i386/locks.h: Likewise.
11167 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11169 * java/awt/EventDispatchThread.java (run): Stop running when
11171 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11172 Reset the queue after transferring its contents.
11173 (push): Start a new dispatch thread if none is running.
11175 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11177 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11178 (doPolygon): set fill rule of polygon to
11179 WIND_EVEN_ODD by default.
11181 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11183 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11184 Implemented rendering hints related methods.
11185 (getDefaultHints): New helper method. Returns
11186 default rendering hints.
11187 (walkPath): changed to normalize path if
11188 the KEY_STROKE_CONTROL key is in "normalize" mode.
11189 (draw3DRect): changed coordinates of rectangle by +0.5
11190 if in "normalize" mode.
11192 2004-01-15 Tom Tromey <tromey@redhat.com>
11194 * Makefile.in: Rebuilt.
11195 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11196 (%.lo: %.java) Filter out StackTrace.lo.
11198 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11200 * configure.in: Add in AC_PREREQ(2.13)
11201 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11204 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11205 Tom Tromey <tromey@redhat.com>
11208 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11209 array to superclass.
11210 (init): Changed interface; add URLs here.
11211 (initialize): New static method.
11212 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11213 (_Jv_RunMain): ... not here.
11215 2004-01-14 Michael Koch <konqueror@gmx.de>
11217 * java/text/MessageFormat.java:
11218 Added descriptions to exceptions.
11219 This fixes PR libgcj/2429.
11221 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11223 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11224 (push): Make sure push is performed at the top of the thread stack.
11226 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11228 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11229 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11230 (native create): Add width and height parameters. Set text
11231 view's size request according to new parameters.
11232 (create): Calculate text view size based on current font's
11233 metrics and number of rows and columns. Set TextArea's font if
11234 not already set. Call native create.
11235 (getMinimumSize): Call minimumSize.
11236 (getPreferredSize): Call preferredSize.
11237 (getHScrollbarHeight): New method.
11238 (getVScrollbarWidth): New method.
11239 (minimumSize): Calculate minimum size based on scrollbar
11240 visibility, scrollbar sizes, font metrics and number of rows and
11242 (preferredSize): Likewise for preferred size.
11243 (gtkTextGetSize): Remove method.
11245 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11247 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11248 (initializeInsets): Remove method.
11249 (GtkComponentPeer): Initialize insets field. Remove call to
11251 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11253 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11255 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11256 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11257 (latestInsets): Remove field.
11258 (native create): Add insets parameter. Call
11259 window_get_frame_extents. Set the window's default size and
11260 size request based on its frame extents.
11261 (create): Initialize insets.
11262 (postInsetsChangedEvent): New method.
11263 (postConfigureEvent): Remove parameters top, left, bottom,
11264 right. Remove insets-related logic.
11265 (connectJObject): Handle property-notify-event.
11266 (window_get_frame_extents, request_frame_extents,
11267 property_notify_predicate, window_property_changed_cb): New
11269 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11270 (pre_event_handler): Remove insets-related logic for configure
11272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11273 Update postConfigureEvent signature.
11275 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11277 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11278 to handle Window "Closing" events.
11280 2004-01-13 David Jee <djee@redhat.com>
11282 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11283 (setBackground): New method. Children with no explicitly-set
11284 background will be repainted with the parent container's new
11287 2004-01-13 David Jee <djee@redhat.com>
11289 * Makefile.am: Add BitwiseXORComposite.java.
11290 * Makefile.in: Regenerated.
11291 * gcj/Makefile.in: Regenerated.
11292 * include/Makefile.in: Regenerated.
11293 * testsuite/Makefile.in: Regenerated.
11295 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11297 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11298 not show modal dialogs twice and so that it allows showing a modal
11299 dialog from another modal dialog.
11301 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11303 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11304 and run secondary dispatch thread to process event queue while this
11307 2004-01-12 Graydon Hoare <graydon@redhat.com>
11309 * gnu/java/awt/gtk/GdkGraphics2D.java
11310 (static): Check GtkToolkit before initializing static state.
11311 (Graphics2D): Don't construct transform with 0.5 unit offset.
11313 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11315 * gnu/java/awt/BitwiseXORComposite.java: Add.
11316 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11317 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11318 (BitwiseXORComposite): Remove inner class.
11320 2004-01-11 Michael Koch <konqueror@gmx.de>
11322 * gnu/java/lang/reflect/TypeSignature.java
11323 (getEncodingOfClass): Documentation fixed.
11324 (getClassForEncoding): Give class loader to Class.forName().
11325 Documentation fixed.
11327 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11329 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11331 2004-01-11 Michael Koch <konqueror@gmx.de>
11333 * javax/swing/undo/StateEditable.java
11334 (RCSID): Removed redundant modifiers.
11336 2004-01-10 Michael Koch <konqueror@gmx.de>
11338 * javax/print/attribute/EnumSyntax.java
11339 (getStringTable): Made protected.
11340 (getEnumValueTable): Likewise.
11341 * javax/print/attribute/standard/JobKOctetsProcessed.java
11342 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11343 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11344 (JobMediaSheetsCompleted): Made class final.
11345 * javax/print/attribute/standard/OutputDeviceAssigned.java
11346 (getName): Fixed typo.
11347 * javax/print/attribute/standard/RequestingUserName.java
11348 (serialVersionUID): Fixed value.
11350 2004-01-10 Michael Koch <konqueror@gmx.de>
11352 * javax/swing/plaf/basic/BasicButtonUI.java,
11353 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11354 javax/swing/plaf/basic/BasicListUI.java,
11355 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11356 javax/swing/plaf/basic/BasicPanelUI.java,
11357 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11358 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11359 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11360 javax/swing/plaf/basic/BasicViewportUI.java:
11361 Fixed import statements.
11363 2004-01-10 Michael Koch <konqueror@gmx.de>
11365 * gnu/java/awt/image/ImageDecoder.java
11366 (produce): Made public.
11367 * gnu/java/awt/peer/GLightweightPeer.java,
11368 gnu/java/awt/peer/gtk/GtkToolkit.java:
11371 2004-01-10 Michael Koch <konqueror@gmx.de>
11373 * javax/swing/JRadioButtonMenuItem.java,
11374 javax/swing/JSeparator.java,
11375 javax/swing/JSplitPane.java,
11376 javax/swing/JTextPane.java,
11377 javax/swing/JToolBar.java,
11378 javax/swing/ListCellRenderer.java,
11379 javax/swing/ListModel.java,
11380 javax/swing/MenuElement.java,
11381 javax/swing/OverlayLayout.java,
11382 javax/swing/ProgressMonitor.java,
11383 javax/swing/ProgressMonitorInputStream.java,
11384 javax/swing/Renderer.java,
11385 javax/swing/RootPaneContainer.java,
11386 javax/swing/Scrollable.java,
11387 javax/swing/SingleSelectionModel.java,
11388 javax/swing/ToolTipManager.java,
11389 javax/swing/ViewportLayout.java,
11390 javax/swing/event/DocumentEvent.java,
11391 javax/swing/event/SwingPropertyChangeSupport.java,
11392 javax/swing/event/TreeSelectionEvent.java,
11393 javax/swing/event/UndoableEditEvent.java,
11394 javax/swing/text/AbstractDocument.java,
11395 javax/swing/text/AttributeSet.java,
11396 javax/swing/text/Caret.java,
11397 javax/swing/text/ComponentView.java,
11398 javax/swing/text/DefaultCaret.java,
11399 javax/swing/text/DefaultEditorKit.java,
11400 javax/swing/text/Document.java,
11401 javax/swing/text/EditorKit.java,
11402 javax/swing/text/GapContent.java,
11403 javax/swing/text/Keymap.java,
11404 javax/swing/text/MutableAttributeSet.java,
11405 javax/swing/text/PlainEditorKit.java,
11406 javax/swing/text/Segment.java,
11407 javax/swing/text/Style.java,
11408 javax/swing/text/StyledDocument.java,
11409 javax/swing/text/StyledEditorKit.java,
11410 javax/swing/text/TextAction.java,
11411 javax/swing/text/View.java: Fixed import statements.
11413 2004-01-08 Graydon Hoare <graydon@redhat.com>
11415 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11416 djee@redhat.com's recent inverse ordering of Container elements.
11418 2004-01-09 Michael Koch <konqueror@gmx.de>
11420 * gnu/java/lang/ArrayHelper.java
11421 (equalsArray): Removed.
11423 2004-01-09 Andrew Haley <aph@redhat.com>
11425 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11426 a Utf8Const field before looking at its class.
11428 2004-01-09 Michael Koch <konqueror@gmx.de>
11430 * javax/print/attribute/standard/DocumentName.java,
11431 javax/print/attribute/standard/JobHoldUntil.java,
11432 javax/print/attribute/standard/JobMessageFromOperator.java,
11433 javax/print/attribute/standard/JobName.java,
11434 javax/print/attribute/standard/JobOriginatingUserName.java,
11435 javax/print/attribute/standard/OutputDeviceAssigned.java,
11436 javax/print/attribute/standard/PrinterInfo.java,
11437 javax/print/attribute/standard/PrinterLocation.java,
11438 javax/print/attribute/standard/PrinterMakeAndModel.java,
11439 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11440 javax/print/attribute/standard/PrinterName.java,
11441 javax/print/attribute/standard/RequestingUserName.java: New files.
11442 * Makefile.am (javax_source_files): Added new files.
11443 * Makefile.in: Regenerated.
11445 2004-01-09 Michael Koch <konqueror@gmx.de>
11447 * javax/swing/AbstractAction.java,
11448 javax/swing/AbstractSet.java,
11449 javax/swing/Action.java,
11450 javax/swing/ActionMap.java,
11451 javax/swing/BoundedRangeModel.java,
11452 javax/swing/ButtonModel.java,
11453 javax/swing/CellEditor.java,
11454 javax/swing/CellRendererPane.java,
11455 javax/swing/ComboBoxEditor.java,
11456 javax/swing/DebugGraphics.java,
11457 javax/swing/DefaultCellEditor.java,
11458 javax/swing/DefaultCellRenderer.java,
11459 javax/swing/DefaultComboBoxModel.java,
11460 javax/swing/DefaultDesktopManager.java,
11461 javax/swing/DefaultFocusManager.java,
11462 javax/swing/DefaultListCellRenderer.java,
11463 javax/swing/Icon.java,
11464 javax/swing/JButton.java,
11465 javax/swing/JCheckBoxMenuItem.java,
11466 javax/swing/JDesktopPane.java,
11467 javax/swing/JEditorPane.java,
11468 javax/swing/JMenu.java,
11469 javax/swing/JPanel.java,
11470 javax/swing/JPasswordField.java,
11471 javax/swing/JPopupMenu.java,
11472 javax/swing/JProgressBar.java: Reworked imports.
11474 2004-01-09 Michael Koch <konqueror@gmx.de>
11476 * java/awt/geom/PathIterator.java
11477 (WIND_EVEN_ODD): Removed redundant modifiers.
11478 (WIND_NON_ZERO): Likewise.
11479 (SEG_MOVETO): Likewise.
11480 (SEG_LINETO): Likewise.
11481 (SEG_QUADTO): Likewise.
11482 (SEG_CUBICTO): Likewise.
11483 (SEG_CLOSE): Likewise.
11484 * java/awt/image/SinglePixelPackedSampleModel.java:
11485 Removed redundant semicolon.
11486 * java/io/ObjectInputStream.java
11487 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11488 * java/util/logging/Filter.java
11489 (isLoggable): Removed redundant modifier.
11490 * java/util/logging/LogManager.java:
11491 Removed redundant semicolon.
11492 * java/util/logging/XMLFormatter.java
11493 (format): Removed unused variable "key".
11495 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11497 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11498 New name for the former setFile native method.
11499 (setFile): New method.
11500 (setDirectory): Implemented.
11501 (connectSignals): New native method.
11502 (setFilenameFilter): Improve comment.
11503 (getGraphics): Comment.
11504 (gtkHideFileDialog): New method.
11505 (gtkDisposeFileDialog): New method.
11506 (gtkSetFilename): New method.
11507 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11508 for FileDialog for now.
11509 (hide): New method.
11510 (dispose): New method.
11511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11512 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11513 deprecated creation functions. Make dialog modal. Add it to the
11515 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11517 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11519 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11521 (window_closed): New function.
11522 (ok_clicked): New function.
11523 (cancel_clicked): New function.
11525 2004-01-08 Michael Koch <konqueror@gmx.de>
11527 * javax/swing/JLayeredPane.java: Revert changes to standard
11528 boilerplate, reworked imports.
11530 2004-01-07 Tom Tromey <tromey@redhat.com>
11533 * verify.cc (state::merge): Copy changed locals out of subroutine
11535 (state::FLAG_CHANGED): New const.
11536 (state::FLAG_UNUSED): Likewise.
11537 (state::local_changed): Removed. Updated all users.
11538 (state::flags): New field.
11539 (state::merge): Added jsr_semantics argument, more logic.
11540 (push_jump_merge): Added jsr_semantics argument.
11541 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11542 merging through the jsr instruction.
11544 2004-01-07 Tom Tromey <tromey@redhat.com>
11546 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11549 2004-01-07 Graydon Hoare <graydon@redhat.com>
11551 * java/awt/Container.java (LightweightDispatcher): Implement.
11552 (visitChild): Reuse graphics object.
11553 (dispatchEventImpl): Optionally dispatch to lightweight.
11554 (addNotifyContainerChildren): Build LightweightDispatcher.
11556 2004-01-07 David Jee <djee@redhat.com>
11558 * java/awt/Container.java
11559 (update): Clear only the clipped region, instead of clearing the
11561 (visitChildren): Visit children in descending order.
11563 2004-01-07 Michael Koch <konqueror@gmx.de>
11565 * java/lang/reflect/Array.java: Merged documentation with classpath.
11567 2004-01-07 Michael Koch <konqueror@gmx.de>
11569 * java/text/CollationElementIterator.java
11570 (textIndex): Renamed from index.
11571 * java/text/CollationKey.java
11572 (collator): New member.
11573 (CollationKey): New argument for parent collator.
11574 (equals): Check for same collator, source string and key array.
11575 * java/text/RuleBasedCollator.java:
11577 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11579 (getCollationElementIterator): Rewritten.
11580 (getCollationKey): Added new argument to CollationKey constructor.
11582 2004-01-07 Michael Koch <konqueror@gmx.de>
11584 * gnu/java/nio/DatagramChannelImpl.java
11585 (blocking): Removed.
11586 (DatagramChannelImpl): Call configureBlocking().
11587 (implConfigureBlocking): Dont initialize blocking.
11588 * gnu/java/nio/ServerSocketChannelImpl.java
11589 (blocking): Removed.
11590 (ServerSocketChannelImpl): Call configureBlocking().
11591 (implConfigureBlocking): Dont initialize blocking.
11592 * gnu/java/nio/SocketChannelImpl.java
11593 (blocking): Removed.
11594 (SocketChannelImpl): Call configureBlocking().
11595 (implConfigureBlocking): Dont initialize blocking.
11596 (connect): Use isBlocking().
11597 * java/nio/channels/spi/AbstractSelectableChannel.java
11598 (configureBlocking): Use blockingLock() instead of LOCK.
11599 Set blocking after successfully called implConfigureBlocking().
11600 (register): Use blockingLock() instead of LOCK.
11602 2004-01-07 Michael Koch <konqueror@gmx.de>
11604 * java/net/ServerSocket.java (isBound): Fixed documentation.
11606 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11608 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11609 (changeEvent): Create event object on demand.
11610 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11611 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11612 fireStateChanged): Re-written.
11613 * javax/swing/event/EventListenerList.java: Reformatted, document
11615 (toString): Implemented.
11616 (getListeners): Re-written.
11617 (remove): Re-written.
11619 (NO_LISTENERS): New singleton field.
11620 (listenerList): Declare as transient; document.
11621 (serialVersionUID): Document.
11622 (getListenerCount(Class)): More efficient implementation,
11623 also accepts null argument. Improve Javadoc.
11624 (getListenerCount()): Remove unnecessary cast; docfix.
11625 * javax/swing/undo/UndoableEditSupport.java:
11626 Re-format, document.
11627 (UndoableEditSupport): Set realSource field. Improve documentation.
11628 (_postEdit): Iterate over cloned listener vector.
11629 (toString): Don't emit realSource.
11630 (beginUpdate, endUpdate): Support nested updates.
11631 (postEdit): Use compound edit if present.
11633 2004-01-06 Graydon Hoare <graydon@redhat.com>
11635 * java/awt/Container.java (swapComponents): Add forgotten
11636 function, required for JLayeredPane change.
11638 2004-01-06 Michael Koch <konqueror@gmx.de>
11640 * java/text/CollationElementIterator.java: Reformated.
11641 (CollationElementIterator): Changed order of arguments.
11642 * java/text/RuleBasedCollator.java
11643 (RuleBasedCollator): Merged class documentation.
11644 (CollationElement): Added documentation.
11645 (compare): Reformated, renamed arguments.
11646 (equals): Likewise.
11647 (getCollationElementIterator): Likewise.
11648 (getCollationKey): Likewise.
11650 2004-01-06 Graydon Hoare <graydon@redhat.com>
11652 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11654 2004-01-06 Michael Koch <konqueror@gmx.de>
11656 * gnu/java/net/protocol/file/Connection.java:
11657 Reformated copyright.
11658 (hdrHash): Removed.
11660 (gotHeaders): Removed.
11661 (getHeaderField): Removed.
11662 (getHeaderField): Removed.
11663 (getHeaderFieldKey): Removed.
11665 (getField): Removed.
11666 (getHeaders): Removed.
11668 2004-01-06 Michael Koch <konqueror@gmx.de>
11670 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11671 javax/print/attribute/standard/DateTimeAtCreation.java,
11672 javax/print/attribute/standard/DateTimeAtProcessing.java,
11673 javax/print/attribute/standard/JobImpressionsCompleted.java,
11674 javax/print/attribute/standard/JobKOctets.java,
11675 javax/print/attribute/standard/JobKOctetsProcessed.java,
11676 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11677 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11678 * Makefile.am (javax_source_files): Added new files.
11679 * Makefile.in: Regenerated.
11681 2004-01-06 Michael Koch <konqueror@gmx.de>
11683 * java/net/URLConnection.java
11684 (contentHandler): Removed.
11686 (getHeaderFields): Return an empty map instead of null.
11687 (getContent): Connect if needed, renamed "cType" to "type" and
11688 "contentHandler" to "ch" and made it a local variable.
11689 (getPermission): Don't use package in class name.
11690 (setDefaultRequestProperty): Fixed typo in documentation.
11691 (initializeDateFormats): Made locale a local variable.
11693 2004-01-06 Michael Koch <konqueror@gmx.de>
11695 * java/lang/Package.java
11696 (getPackage): Get the current class loader directly.
11697 * java/lang/SecurityManager.java
11698 (currentLoadedClass): Dont iterate over class contexts.
11699 (classLoaderDepth): Don't check class loaders if everything is allowed.
11701 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11704 (pre_event_handler): Set all insets to 0 when a Configure event
11705 is received for a GtkPlug.
11706 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11707 Make handle long, not int.
11708 (EmbeddedWindow()): New constructor.
11709 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11711 (setHandle): New method.
11712 (getHandle): Return long, not int.
11713 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11715 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11716 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11717 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11718 argument to GdkNativeWindow.
11719 (construct): New method.
11720 (embed): New method.
11722 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11723 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11724 (create(int, int)): New method.
11725 (create): Call new create method.
11726 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11728 (childResized): Remove native implementation. Implement in
11730 (getHScrollbarHeight, getVScrollbarWidth): Call
11731 gtk_widget_size_request to get scrollbar dimensions.
11732 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11733 call getVScrollbarWidth and getHScrollbarHeight when vertical
11734 and horizontal scrollbars respectively are needed.
11735 (doLayout): Enlarge child if it is smaller than the viewport.
11737 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11739 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11740 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11741 argument as per spec.
11743 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11745 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11747 (remove): Ditto. Also, Check for valid argument.
11748 (removeAll): Use peer interface method.
11749 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11750 native add function.
11751 (nativeRemove): New name for native remove function.
11752 (getHistory): New native function.
11753 (constructor): Generate ItemEvent.
11754 (add): Ditto, if selection is changed.
11755 (remove): Ditto, ditto.
11756 (removeAll): Add implementation.
11757 (handleEvent): Remove. Dead code.
11758 (choicePostItemEvent): Add comment.
11759 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11760 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11761 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11762 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11763 comments and fix condition to change selection.
11764 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11765 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11766 remove all capability.
11767 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11768 (item_activate): Add cast to remove compiler warning.
11770 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11772 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11773 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11774 (getPreferredSize): Call preferredSize.
11775 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11776 (getMinimumSize): Call minimumSize.
11777 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11778 (gtkWidgetGetDimensions): Return the peer widget's current size
11780 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11781 natural size request.
11783 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11785 Thanks to Brian Gough <bjg@network-theory.com>
11786 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11787 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11789 2004-01-04 Matthias Klose <doko@debian.org>
11791 * aclocal.m4: Rebuilt using "aclocal -I .".
11792 * configure: Rebuilt.
11794 2004-01-03 Per Bothner <per@bothner.com>
11796 * java/util/Date.java (parse): Fix a number of problems.
11797 (skipParens): Remove no-longer-needed method.