1 2004-10-21 Michael Koch <konqueror@gmx.de>
3 * javax/crypto/Cipher.java,
4 javax/crypto/EncryptedPrivateKeyInfo.java,
5 javax/crypto/ExemptionMechanism.java,
6 javax/crypto/KeyAgreement.java,
7 javax/crypto/KeyGenerator.java,
9 javax/crypto/SecretKeyFactory.java,
10 javax/crypto/SecretKeyFactorySpi.java,
11 javax/crypto/spec/SecretKeySpec.java:
14 2004-10-21 Michael Koch <konqueror@gmx.de>
16 * java/security/AlgorithmParameterGenerator.java,
17 java/security/AlgorithmParameters.java,
18 java/security/AlgorithmParametersSpi.java,
19 java/security/AllPermission.java,
20 java/security/BasicPermission.java,
21 java/security/Certificate.java,
22 java/security/CodeSource.java,
23 java/security/DigestInputStream.java,
24 java/security/DigestOutputStream.java,
25 java/security/GuardedObject.java,
26 java/security/KeyFactory.java,
27 java/security/KeyFactorySpi.java,
28 java/security/KeyPairGenerator.java,
29 java/security/KeyStore.java,
30 java/security/KeyStoreSpi.java,
31 java/security/Permissions.java,
32 java/security/Security.java,
33 java/security/Signature.java,
34 java/security/UnresolvedPermission.java,
35 java/security/cert/CertPathBuilder.java,
36 java/security/cert/CertPathValidator.java,
37 java/security/cert/CertStore.java,
38 java/security/cert/Certificate.java,
39 java/security/cert/CertificateFactory.java,
40 java/security/cert/PolicyQualifierInfo.java,
41 java/security/cert/TrustAnchor.java,
42 java/security/cert/X509CRL.java,
43 java/security/cert/X509CRLSelector.java,
44 java/security/cert/X509CertSelector.java:
47 2004-10-21 Michael Koch <konqueror@gmx.de>
49 * java/rmi/MarshalledObject.java,
51 java/rmi/activation/Activatable.java,
52 java/rmi/activation/ActivationGroup.java,
53 java/rmi/activation/ActivationGroupDesc.java,
54 java/rmi/activation/ActivationInstantiator.java,
55 java/rmi/activation/ActivationMonitor.java,
56 java/rmi/activation/ActivationSystem.java,
57 java/rmi/activation/Activator.java,
58 java/rmi/registry/LocateRegistry.java,
59 java/rmi/registry/Registry.java,
60 java/rmi/server/LogStream.java,
61 java/rmi/server/ObjID.java,
62 java/rmi/server/RMIClientSocketFactory.java,
63 java/rmi/server/RMIServerSocketFactory.java,
64 java/rmi/server/RMISocketFactory.java,
65 java/rmi/server/RemoteCall.java,
66 java/rmi/server/RemoteServer.java,
67 java/rmi/server/ServerRef.java,
68 java/rmi/server/UID.java,
69 java/rmi/server/UnicastRemoteObject.java:
72 2004-10-21 Tom Tromey <tromey@redhat.com>
74 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
75 exception if we hit EOF of `in'.
76 (read): Handle case where inflating returns -1.
78 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
80 * gnu/java/nio/channels/natFileChannelPosix.cc
81 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
82 argument instead of 'long *'.
84 2004-10-21 Tom Tromey <tromey@redhat.com>
86 * java/util/ResourceBundle.java (tryBundle): Also ignore
89 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
91 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
92 for all sh*-*-linux* targets.
93 * configure: Regenerate.
94 * include/sh-signal.h: New file.
96 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
98 * java/lang/ieeefp.h: Add m32r support.
100 2004-10-20 Andreas Schwab <schwab@suse.de>
102 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
104 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
107 2004-10-20 Michael Koch <konqueror@gmx.de>
109 * javax/print/attribute/standard/ColorSupported.java,
110 javax/print/attribute/standard/Compression.java,
111 javax/print/attribute/standard/Copies.java,
112 javax/print/attribute/standard/CopiesSupported.java,
113 javax/print/attribute/standard/DateTimeAtCompleted.java,
114 javax/print/attribute/standard/DateTimeAtCreation.java,
115 javax/print/attribute/standard/DateTimeAtProcessing.java,
116 javax/print/attribute/standard/DocumentName.java,
117 javax/print/attribute/standard/Fidelity.java,
118 javax/print/attribute/standard/Finishings.java,
119 javax/print/attribute/standard/JobHoldUntil.java,
120 javax/print/attribute/standard/JobImpressions.java,
121 javax/print/attribute/standard/JobImpressionsCompleted.java,
122 javax/print/attribute/standard/JobImpressionsSupported.java,
123 javax/print/attribute/standard/JobKOctets.java,
124 javax/print/attribute/standard/JobKOctetsProcessed.java,
125 javax/print/attribute/standard/JobKOctetsSupported.java,
126 javax/print/attribute/standard/JobMediaSheets.java,
127 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
128 javax/print/attribute/standard/JobMediaSheetsSupported.java,
129 javax/print/attribute/standard/JobMessageFromOperator.java,
130 javax/print/attribute/standard/JobName.java,
131 javax/print/attribute/standard/JobOriginatingUserName.java,
132 javax/print/attribute/standard/JobPriority.java,
133 javax/print/attribute/standard/JobPrioritySupported.java,
134 javax/print/attribute/standard/JobSheets.java,
135 javax/print/attribute/standard/JobState.java,
136 javax/print/attribute/standard/JobStateReason.java,
137 javax/print/attribute/standard/JobStateReasons.java,
138 javax/print/attribute/standard/Media.java,
139 javax/print/attribute/standard/MultipleDocumentHandling.java,
140 javax/print/attribute/standard/NumberOfDocuments.java,
141 javax/print/attribute/standard/NumberOfInterveningJobs.java,
142 javax/print/attribute/standard/NumberUp.java,
143 javax/print/attribute/standard/NumberUpSupported.java,
144 javax/print/attribute/standard/OrientationRequested.java,
145 javax/print/attribute/standard/OutputDeviceAssigned.java,
146 javax/print/attribute/standard/PDLOverrideSupported.java,
147 javax/print/attribute/standard/PageRanges.java,
148 javax/print/attribute/standard/PagesPerMinute.java,
149 javax/print/attribute/standard/PagesPerMinuteColor.java,
150 javax/print/attribute/standard/PrintQuality.java,
151 javax/print/attribute/standard/PrinterInfo.java,
152 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
153 javax/print/attribute/standard/PrinterLocation.java,
154 javax/print/attribute/standard/PrinterMakeAndModel.java,
155 javax/print/attribute/standard/PrinterMessageFromOperator.java,
156 javax/print/attribute/standard/PrinterMoreInfo.java,
157 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
158 javax/print/attribute/standard/PrinterName.java,
159 javax/print/attribute/standard/PrinterStateReason.java,
160 javax/print/attribute/standard/PrinterStateReasons.java,
161 javax/print/attribute/standard/PrinterURI.java,
162 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
163 javax/print/attribute/standard/RequestingUserName.java:
164 Reorganized imports and removed redundant final modifiers.
166 2004-10-20 Michael Koch <konqueror@gmx.de>
168 * javax/security/sasl/SaslClient.java,
169 javax/security/sasl/SaslClientFactory.java,
170 javax/security/sasl/SaslException.java,
171 javax/security/sasl/SaslServer.java,
172 javax/security/sasl/SaslServerFactory.java:
175 2004-10-20 Michael Koch <konqueror@gmx.de>
177 * javax/security/auth/login/NullConfiguration.java,
178 javax/security/auth/x500/X500Principal.java,
179 javax/security/cert/X509Certificate.java,
180 javax/security/sasl/AuthenticationException.java,
181 javax/security/sasl/AuthorizeCallback.java,
182 javax/security/sasl/RealmCallback.java,
183 javax/security/sasl/RealmChoiceCallback.java,
184 javax/security/sasl/Sasl.java,
185 javax/security/sasl/SaslClient.java,
186 javax/security/sasl/SaslClientFactory.java,
187 javax/security/sasl/SaslException.java,
188 javax/security/sasl/SaslServer.java,
189 javax/security/sasl/SaslServerFactory.java:
190 Cleaned up import statements and copyright notices.
192 2004-10-20 Michael Koch <konqueror@gmx.de>
194 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
196 2004-10-20 Michael Koch <konqueror@gmx.de>
198 * java/sql/Timestamp.java,
199 java/text/AttributedCharacterIterator.java,
200 java/text/AttributedString.java,
201 java/util/zip/CheckedOutputStream.java,
202 java/util/zip/DeflaterOutputStream.java,
203 java/util/zip/ZipFile.java,
204 javax/crypto/Cipher.java,
205 javax/crypto/ExemptionMechanismException.java,
206 javax/crypto/SecretKey.java,
207 javax/crypto/SecretKeyFactory.java,
208 javax/naming/directory/ModificationItem.java,
209 javax/naming/directory/SearchControls.java,
210 javax/naming/event/NamingListener.java,
211 javax/naming/ldap/Control.java,
212 javax/naming/ldap/ExtendedResponse.java,
213 javax/net/ssl/SSLSocketFactory.java:
214 Reorganized imports and fixed copyright headers.
216 2004-10-20 Michael Koch <konqueror@gmx.de>
218 * java/util/logging/ConsoleHandler.java,
219 java/util/logging/ErrorManager.java,
220 java/util/logging/FileHandler.java,
221 java/util/logging/Filter.java,
222 java/util/logging/Formatter.java,
223 java/util/logging/Handler.java,
224 java/util/logging/Level.java,
225 java/util/logging/LogManager.java,
226 java/util/logging/LogRecord.java,
227 java/util/logging/Logger.java,
228 java/util/logging/LoggingPermission.java,
229 java/util/logging/MemoryHandler.java,
230 java/util/logging/SimpleFormatter.java,
231 java/util/logging/SocketHandler.java,
232 java/util/logging/StreamHandler.java,
233 java/util/logging/XMLFormatter.java:
234 Standardized copyrigth header.
236 2004-10-20 Michael Koch <konqueror@gmx.de>
238 * java/security/AlgorithmParameterGenerator.java,
239 java/security/AlgorithmParameters.java,
240 java/security/DigestInputStream.java,
241 java/security/Identity.java,
242 java/security/KeyFactory.java,
243 java/security/KeyPairGenerator.java,
244 java/security/KeyStore.java,
245 java/security/MessageDigest.java,
246 java/security/MessageDigestSpi.java,
247 java/security/Policy.java,
248 java/security/SecureRandom.java,
249 java/security/Security.java,
250 java/security/Signature.java,
251 java/security/SignatureSpi.java,
252 java/security/cert/CertPathBuilder.java,
253 java/security/cert/CertPathValidator.java,
254 java/security/cert/CertStore.java,
255 java/security/cert/Certificate.java,
256 java/security/cert/CertificateFactory.java,
257 java/security/cert/PolicyQualifierInfo.java,
258 java/security/cert/TrustAnchor.java,
259 java/security/cert/X509CRL.java,
260 java/security/cert/X509CRLEntry.java,
261 java/security/cert/X509Certificate.java,
262 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
263 Import statements reorganized, some little formatting issues,
264 used java-style array declarations, added comments in empty catch
267 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
269 * java/security/Security.java
270 (static): Use AccessController.doPrivileged to get system property.
272 2004-10-18 Sven de Marothy <sven@physto.se>
274 * java/nio/ByteBufferHelper.java
275 (putDouble): Use Double.toRawLongBits instead.
277 2004-10-18 Mark Wielaard <mark@klomp.org>
278 Andrew Haley <aph@redhat.com>
280 * testsuite/libjava.lang/ExtraClassLoader.java: New.
282 2004-10-18 Andrew Haley <aph@redhat.com>
285 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
286 and correct logic used to find interpreter.
288 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
290 * java/util/logging/LogManager.java
291 (findAncestor): Fixed IndexOutOfBoundsException.
293 2004-10-18 Michael Koch <konqueror@gmx.de>
295 * java/io/BufferedInputStream.java: Fixed @author tag.
296 (read): Simplified expression.
297 (read): Merged javadoc a bit more.
298 (read): Renamed 'remain' to 'totalBytesRead'.
299 * java/io/DataInputStream.java,
300 java/io/DataOutputStream.java,
301 java/io/ObjectInputStream.java,
302 java/io/ObjectOutputStream.java:
303 Reworked modifier order.
305 2004-10-18 Michael Koch <konqueror@gmx.de>
307 * java/net/Inet4Address.java: Merged file header and javadocs.
308 * java/net/Inet6Address.java: Likewise.
309 * java/net/InetAddress.java
310 (getCanonicalHostName): Create Inet4Address object instead of
311 InetAddress and add comment regarding IPv6.
312 (toString): Simplified.
314 2004-10-18 Michael Koch <konqueror@gmx.de>
316 * gnu/java/net/protocol/http/Connection.java,
317 java/nio/MappedByteBufferImpl.java,
318 java/text/RuleBasedCollator.java,
319 java/util/ResourceBundle.java:
320 Reworked import statements.
322 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
324 * java/security/IdentityScope.java
325 (systemScope): Removed useless initializer.
326 * java/security/Policy.java
327 (currentPolicy): Likewise.
329 2004-10-18 Michael Koch <konqueror@gmx.de>
331 * java/lang/System.java: Revert accidential change.
333 2004-10-18 Michael Koch <konqueror@gmx.de>
335 * java/lang/Math.java,
336 java/lang/Package.java,
337 java/lang/Runtime.java,
338 java/lang/StrictMath.java,
339 java/lang/System.java,
340 java/lang/Thread.java,
341 java/lang/ThreadLocal.java,
343 Reworked import statements, HTML in javadocs and modifier orders.
345 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
347 * java/util/Timer.java
348 (nr): Removed useless initializer.
349 * java/util/logging/LogRecord.java
350 (lastSeqNum): Likewise.
351 * javax/naming/spi/NamingManager.java
352 (icfb, ofb): Likewise.
354 2004-10-18 Michael Koch <konqueror@gmx.de>
356 * gnu/java/net/PlainDatagramSocketImpl.java:
357 Reworked import statements.
358 * gnu/java/security/provider/DSAParameters.java:
359 Fixed copyrigth years.
360 * java/net/JarURLConnection.java:
361 Fixed HTML in @author tags.
364 2004-10-18 Michael Koch <konqueror@gmx.de>
366 * java/rmi/activation/ActivationSystem.java
367 (SYSTEM_PORT): Initialize with correct port number.
369 2004-10-18 Michael Koch <konqueror@gmx.de>
371 * java/lang/reflect/Proxy.java: Improved javadocs.
373 2004-10-18 Michael Koch <konqueror@gmx.de>
375 * java/lang/reflect/AccessibleObject.java
376 (checkPermission): Removed redundant final modifier.
377 (secureSetAccessible): Likewise.
378 * java/lang/reflect/Proxy.java:
379 Reworked import statements.
380 (generate): Removed redundant final modifier.
381 * java/lang/reflect/ReflectPermission.java:
382 Reorder package declaration and import statement.
384 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
386 * java/lang/reflect/Proxy.java
387 (count): Removed useless initializer.
389 2004-10-17 Michael Koch <konqueror@gmx.de>
391 * java/net/BindException.java,
392 java/net/ConnectException.java,
393 java/net/ContentHandler.java,
394 java/net/ContentHandlerFactory.java,
395 java/net/DatagramPacket.java,
396 java/net/DatagramSocket.java,
397 java/net/DatagramSocketImpl.java,
398 java/net/DatagramSocketImplFactory.java,
399 java/net/FileNameMap.java,
400 java/net/HttpURLConnection.java,
401 java/net/MalformedURLException.java,
402 java/net/MulticastSocket.java,
403 java/net/NetworkInterface.java,
404 java/net/NoRouteToHostException.java,
405 java/net/PasswordAuthentication.java,
406 java/net/PortUnreachableException.java,
407 java/net/ProtocolException.java,
408 java/net/ServerSocket.java,
409 java/net/Socket.java,
410 java/net/SocketException.java,
411 java/net/SocketImpl.java,
412 java/net/SocketImplFactory.java,
413 java/net/SocketOptions.java,
414 java/net/SocketPermission.java,
415 java/net/SocketTimeoutException.java,
417 java/net/URISyntaxException.java,
419 java/net/URLDecoder.java,
420 java/net/URLEncoder.java,
421 java/net/URLStreamHandler.java,
422 java/net/URLStreamHandlerFactory.java,
423 java/net/UnknownHostException.java,
424 java/net/UnknownServiceException.java:
425 Big import statement and @author tag cleanup.
427 2004-10-17 Michael Koch <konqueror@gmx.de>
429 * gnu/java/security/OID.java,
430 gnu/java/security/provider/DSAParameters.java,
431 gnu/java/security/provider/DSASignature.java,
432 gnu/java/security/x509/X500DistinguishedName.java,
433 gnu/java/security/x509/X509CRL.java:
434 Import statements cleaned up.
436 2004-10-16 Michael Koch <konqueror@gmx.de>
438 * gnu/java/nio/NIODatagramSocket.java,
439 gnu/java/nio/ServerSocketChannelImpl.java:
440 Reorganized import statements.
442 2004-10-16 Michael Koch <konqueror@gmx.de>
444 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
445 gnu/java/rmi/rmic/RMIC.java,
446 gnu/java/rmi/server/RMIHashes.java,
447 gnu/java/rmi/server/RMIObjectInputStream.java,
448 gnu/java/rmi/server/RMIObjectOutputStream.java,
449 gnu/java/rmi/server/UnicastConnection.java,
450 gnu/java/rmi/server/UnicastConnectionManager.java,
451 gnu/java/rmi/server/UnicastRemoteCall.java,
452 gnu/java/rmi/server/UnicastServer.java,
453 gnu/java/rmi/server/UnicastServerRef.java,
454 java/rmi/MarshalledObject.java,
455 java/rmi/Naming.java,
456 java/rmi/RMISecurityManager.java,
457 java/rmi/Remote.java,
458 java/rmi/activation/Activatable.java,
459 java/rmi/activation/ActivationDesc.java,
460 java/rmi/activation/ActivationGroup.java,
461 java/rmi/activation/ActivationGroupDesc.java,
462 java/rmi/activation/ActivationGroupID.java,
463 java/rmi/activation/ActivationID.java,
464 java/rmi/activation/ActivationInstantiator.java,
465 java/rmi/activation/ActivationMonitor.java,
466 java/rmi/activation/ActivationSystem.java,
467 java/rmi/activation/Activator.java,
468 java/rmi/dgc/DGC.java,
469 java/rmi/dgc/Lease.java,
470 java/rmi/dgc/VMID.java,
471 java/rmi/registry/LocateRegistry.java,
472 java/rmi/registry/Registry.java,
473 java/rmi/registry/RegistryHandler.java,
474 java/rmi/server/LoaderHandler.java,
475 java/rmi/server/LogStream.java,
476 java/rmi/server/ObjID.java,
477 java/rmi/server/Operation.java,
478 java/rmi/server/RMIClassLoader.java,
479 java/rmi/server/RMIClassLoaderSpi.java,
480 java/rmi/server/RMIClientSocketFactory.java,
481 java/rmi/server/RMIFailureHandler.java,
482 java/rmi/server/RMIServerSocketFactory.java,
483 java/rmi/server/RMISocketFactory.java,
484 java/rmi/server/RemoteCall.java,
485 java/rmi/server/RemoteObject.java,
486 java/rmi/server/RemoteRef.java,
487 java/rmi/server/RemoteServer.java,
488 java/rmi/server/RemoteStub.java,
489 java/rmi/server/ServerRef.java,
490 java/rmi/server/Skeleton.java,
491 java/rmi/server/SkeletonMismatchException.java,
492 java/rmi/server/UID.java,
493 java/rmi/server/UnicastRemoteObject.java,
494 java/rmi/server/Unreferenced.java:
495 File headers and import statements cleaned up.
497 2004-10-16 Michael Koch <konqueror@gmx.de>
499 * libjava/gnu/java/nio/charset/UTF_16.java,
500 libjava/gnu/java/nio/charset/UTF_16BE.java,
501 libjava/gnu/java/nio/charset/UTF_16LE.java,
502 libjava/java/nio/ByteOrder.java,
503 libjava/java/nio/MappedByteBuffer.java,
504 libjava/java/nio/channels/Channels.java,
505 libjava/java/nio/channels/spi/SelectorProvider.java,
506 libjava/java/nio/charset/Charset.java:
509 2004-10-16 Michael Koch <konqueror@gmx.de>
511 * gnu/java/nio/charset/UTF_16Encoder.java
512 (UTF_16Encoder): Fixed maxBytesPerChar handling.
514 2004-10-16 Michael Koch <konqueror@gmx.de>
516 * java/math/BigDecimal.java, java/math/BigInteger.java:
517 Reorganized import statements, removed redundant and
518 reorganized modifiers.
520 2004-10-16 Michael Koch <konqueror@gmx.de>
522 * gnu/java/beans/ExplicitBeanInfo.java:
523 Explicitely import java.awt.Image.
524 (getIcon): Fixed off-by-one error.
526 2004-10-15 Andrew Haley <aph@redhat.com>
528 * Makefile.am (nat_files, xlib_nat_files): New.
529 * Makefile.in: Regenerate.
531 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
533 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
534 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
536 2004-10-13 Andrew Haley <aph@redhat.com>
538 * interpret.cc (_Jv_InterpMethod::run): Initialize
539 _Jv_StartOfInterpreter.
540 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
541 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
542 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
543 _Unwind_FindEnclosingFunction to discover whether PC is within the
546 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
549 * testsuite/libjava.lang/md5test.java: New file.
550 * testsuite/libjava.lang/md5test.out: Likewise.
551 * testsuite/libjava.lang/shatest.java: Likewise.
552 * testsuite/libjava.lang/shatest.out: Likewise.
554 2004-10-11 Richard Henderson <rth@redhat.com>
556 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
557 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
559 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
561 * java/util/Calendar.java (set): Invalidate DST_OFFSET
562 field as a DST boundary may have been crossed.
563 * java/util/GregorianCalendar.java (add): Throw
564 IllegalArgumentException on attempt to add to DST_OFFSET or
565 ZONE_OFFSET fields. Update javadoc.
567 2004-10-09 Michael Koch <konqueror@gmx.de>
569 * java/io/CharArrayWriter.java
570 (resize): Removed redundant 'final' modifier.
571 * java/io/DataInputStream.java
572 (readFully): Throw IndexOutOfBoundsException of len < 0.
573 * java/io/FileDescriptor.java,
574 java/io/FileInputStream.java,
575 java/io/FileOutputStream.java,
576 java/io/ObjectOutputStream.java,
577 java/io/ObjectStreamClass.java,
578 java/io/PipedInputStream.java,
579 java/io/RandomAccessFile.java:
580 Reorganized import statements.
582 2004-10-09 Michael Koch <konqueror@gmx.de>
584 * gnu/java/rmi/rmic/RMIC.java,
585 gnu/java/rmi/server/RMIHashes.java,
586 gnu/java/rmi/server/RMIObjectInputStream.java,
587 gnu/java/rmi/server/UnicastConnection.java,
588 gnu/java/rmi/server/UnicastConnectionManager.java,
589 gnu/java/rmi/server/UnicastRemoteCall.java,
590 gnu/java/rmi/server/UnicastServerRef.java:
591 Reworked import statements and fixed file headers.
593 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
595 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
597 * configure: Rebuilt.
599 2004-09-30 Tom Tromey <tromey@redhat.com>
601 * java/text/MessageFormat.java (Field): Constructor now
604 2004-09-30 Tom Tromey <tromey@redhat.com>
606 * javax/crypto/MacSpi.java: Fixed typo.
608 2004-09-30 Michael Koch <konqueror@gmx.de>
610 * java/net/InetAddress.java: Reformatted.
611 (loopback): Initialize with Inet4Address object.
612 (static): Initialize ANY_IF with Inet4Address object.
613 (InetAddress): Removed unused package-private constructor.
615 2004-09-30 Michael Koch <konqueror@gmx.de>
617 * java/beans/Beans.java,
618 java/beans/EventHandler.java,
619 java/beans/EventSetDescriptor.java,
620 java/beans/Introspector.java,
621 java/beans/PropertyEditorManager.java,
622 java/beans/beancontext/BeanContext.java,
623 java/beans/beancontext/BeanContextChild.java,
624 java/beans/beancontext/BeanContextChildSupport.java,
625 java/beans/beancontext/BeanContextMembershipEvent.java:
626 Reordered import statements and removed redundant modifiers.
628 2004-09-29 Tom Tromey <tromey@redhat.com>
631 * Makefile.in: Rebuilt.
632 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
634 (all_property_files): New macro.
636 * Makefile.in: Rebuilt.
637 * Makefile.am (ordinary_java_source_files): Re-sorted.
638 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
640 2004-09-28 Tom Tromey <tromey@redhat.com>
642 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
645 * Makefile.am (libgcj.la): Restored.
646 * Makefile.in: Rebuilt.
648 2004-09-28 Michael Koch <konqueror@gmx.de>
650 * java/net/URLConnection.java: Reformatted.
651 * java/net/URLClassLoader.java: Reformatted.
652 (getContent): Reordered return of content.
653 (getContentHandler): Don't check for null explicitely.
655 2004-09-27 Michael Koch <konqueror@gmx.de>
657 * java/io/BufferedInputStream.java
658 (BufferedInputStream): Added Jeroen Frijters to authors.
659 (count): Don't explicitely initialize with default value.
661 (marklimit): Likewise.
662 (read): Changed boolean expression to match GNU classpath' version.
663 (reset): Add proper message to exception.
664 (skip): Check for closed stream.
667 2004-09-26 Per Bothner <per@bothner.com>
669 * prims.cc (unblock_signal): Annotate signum with __unused__ to
670 avoid warnings in the non-POSIX_VERSION case.
671 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
672 so place it inside an #if block.
673 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
674 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
675 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
676 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
678 2004-09-26 Per Bothner <per@bothner.com>
680 * prims.cc (process_gcj_properties): Optimization.
682 2004-09-26 Per Bothner <per@bothner.com>
684 * java/util/Collections.java (sort): Copy from array in forwards
685 order, rather than reverse order which may be much less efficient.
687 2004-09-26 Mark Wielaard <mark@klomp.org>
689 * java/lang/System.java (properties): Make package private.
690 * java/lang/Throwable.java (StaticData.nl): Initialize through
691 directly accessing System.properties.getProperty().
693 * java/lang/Throwable.java (nl): Remove static field.
694 (StaticData): New private static inner class.
695 (stackTraceStringBuffer): Use StaticData.nl.
697 2004-09-26 Casey Marshall <csm@gnu.org>
699 * java/security/ProtectionDomain.java
700 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
703 * java/security/SecureClassLoader.java
704 (defineClass): make protection domain dynamically bound.
705 (getPermissions): call `getCurrentPolicy' to avoid permission
708 2004-09-25 Mark Wielaard <mark@klomp.org>
710 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
711 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
712 * Makefile.in: Regenerated.
714 * gcj/javaprims.h: Regenerated.
716 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
717 (getDefaultTimeZone): Make package private. Check that GMToffset
718 contains at least one digit.
719 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
721 * util/VMTimeZone.java: New file with above methods.
723 * java/util/natTimeZone.cc: Removed (renamed).
724 * java/util/natVMTimeZone.cc: Added (renamed).
726 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
728 * java/util/TimeZone.java
729 (getDefaultTimeZone): Fixed test to distinguish between hours and
730 minutes in specified timezone.
732 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
734 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
735 handling of default package. (generate): Removed confused comments
736 and code about making Method and Field accessible.
738 2004-09-25 Tom Tromey <tromey@redhat.com>
741 * testsuite/libjava.compile/pr17500.java: New file.
743 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
744 Mark Wielaard <mark@klomp.org>
746 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
747 * gnu/regexp/RETokenLookAhead.java: New file.
749 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
750 * Makefile.in: Regenerated.
752 2004-09-25 Michael Koch <konqueror@gmx.de>
754 * java/io/ObjectStreamField.java:
755 Removed unused import statement.
757 2004-09-24 Tom Tromey <tromey@redhat.com>
760 * testsuite/libjava.compile/pr15656.xfail: New file.
761 * testsuite/libjava.compile/pr15656.java: new file.
764 * testsuite/libjava.lang/pr16789.out: New file.
765 * testsuite/libjava.lang/pr16789.java: New file.
767 2004-09-24 Andrew Haley <aph@redhat.com>
770 * testsuite/libjava.compile/AssertBug.java: New file.
772 2004-09-24 Casey Marshall <csm@gnu.org>
774 * java/util/PropertyPermissionCollection.java
775 (implies): avoid infinite loop.
777 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
779 * javax/security/auth/PrivateCredentialPermission.java
780 (PrivateCredentialPermission): added serialization UID
783 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
785 * gnu/java/rmi/server/UnicastServer.java
786 (incomingMessageCall): Added code to handle Errors.
787 * gnu/java/rmi/server/UnicastServerRef.java
788 (incomingMessageCall): Added code to handle Errors.
791 2004-09-24 Tom Tromey <tromey@redhat.com>
793 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
794 (definedPackages): Likewise.
796 2004-09-24 Michael Koch <konqueror@gmx.de>
798 * java/io/ObjectInputStream.java:
801 2004-09-24 Casey Marshall <csm@gnu.org>
803 * java/io/ObjectInputStream.java (callReadMethod): re-throw
804 `ClassNotFoundException'.
806 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
808 * java/io/ObjectInputStream.java (readObject): Delegate instantation
809 of Externalizable classes to ObjectStreamClass.
810 * java/io/ObjectStreamClass.java (newInstance): New method to
811 instantiate Externalizable (while ignoring the accessibility of
812 the constructor). (constructor): New field to cache the constructor.
814 2004-09-24 Mark Wielaard <mark@klomp.org>
816 * java/net/URL.java (systemClassLoader): New static field.
817 (getURLStreamHandler): Always use system/application classloader
818 for finding URLStreamhandler. Remove unecessary instanceof checks.
820 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
823 (set): This method now matches the behaviour of the JDK.
824 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
826 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
828 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
830 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
832 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
833 Don't set authority if host isn't specified.
835 2004-09-24 Michael Koch <konqueror@gmx.de>
837 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
838 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
839 * gnu/java/nio/VMPipe.java,
840 gnu/java/nio/VMSelector.java:
842 * gnu/java/nio/natPipeImplEcos.cc,
843 gnu/java/nio/natPipeImplPosix.cc,
844 gnu/java/nio/natPipeImplWin32.cc:
846 * gnu/java/nio/natSelectorImplEcos.cc,
847 gnu/java/nio/natSelectorImplPosix.cc,
848 gnu/java/nio/natSelectorImplWin32.cc:
849 Ported to VMSelector.
850 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
851 gnu/java/nio/VMSelector.java.
852 * Makefile.in: Regenerated.
854 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
856 * java/lang/StackTraceElement.java
857 (className): Renamed field to declaringClass to be compatible
858 with Sun serialization format.
860 2004-09-23 Michael Koch <konqueror@gmx.de>
862 * java/applet/AppletContext.java,
863 java/applet/Applet.java,
864 java/applet/AppletStub.java,
865 java/applet/AudioClip.java:
866 Jalopied and checkstyle clean.
868 2004-09-23 Mark Wielaard <mark@klomp.org>
870 * java/util/Collections.java
871 (binarySearch(List, Object, Comparator)): Explicitly
872 reverse direction in list iterator.
873 (rotate): Just return when list is empty.
875 2004-09-23 Tom Tromey <tromey@redhat.com>
878 * testsuite/libjava.compile/pr17329.java: New file.
881 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
884 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
886 * Makefile.am: Run aclocal with -I ../config
887 * acinclude.m4: Delete macros picked up from ../config and tidy.
888 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
889 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
890 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
892 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
894 * aclocal.m4: Regenerate with aclocal 1.9.2.
895 * configure: Regenerate.
896 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
897 * include/Makefile.in, testsuite/Makefile.in: Likewise.
899 2004-09-22 David Daney <ddaney@avtrex.com>
902 * java/net/URL.java (URL): Copy userInfo from context.
903 (getUserInfo): Return cached userInfo if present.
905 2004-09-22 Tom Tromey <tromey@redhat.com>
908 * mauve-libgcj: Enable java.lang.Character tests.
910 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
912 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
914 (lib_org_ietf_jgss_la_LIBADD): Likewise.
915 * Makefile.in: Regenerated.
917 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
919 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
920 * configure: Regenerate.
921 * include/config.h.in: Likewise.
922 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
926 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
927 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
929 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
932 2004-09-22 Tom Tromey <tromey@redhat.com>
935 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
937 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
939 (read()): New overload.
941 2004-09-21 Tom Tromey <tromey@redhat.com>
943 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
946 2004-09-21 Michael Koch <konqueror@gmx.de>
948 * java/net/Socket.java
949 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
951 2004-09-21 Casey Marshall <csm@gnu.org>
953 * javax/crypto/MacSpi.java (clone): Provide meaningful
956 2004-09-21 Tom Tromey <tromey@redhat.com>
959 * Makefile.in: Rebuilt.
960 * Makefile.am (MOSTLYCLEANFILES): Removed.
961 (mostlyclean-local): Remove header files.
963 2004-09-21 Casey Marshall <csm@gnu.org>
965 * java/security/cert/X509CRLSelector.java:
966 (match): remove unreachable try-catch clauses.
967 Reported by: Dalibor Topic <robilad@kaffe.org>
969 2004-09-21 Mark Wielaard <mark@klomp.org>
971 * java/util/TreeMap.java (root): Don't initialize.
972 (TreeMap(Comparator)): Call fabricateTree(0).
973 (fabricateTree): Initialize root and size when count is 0.
975 2004-09-21 Sven de Marothy <sven@physto.se>
977 * java/nio/ByteBuffer.java (hashCode): Implemented.
978 * java/nio/CharBuffer.java: Likewise.
979 * java/nio/DoubleBuffer.java: Likewise.
980 * java/nio/FloatBuffer.java: Likewise.
981 * java/nio/LongBuffer.java: Likewise.
982 * java/nio/IntBuffer.java: Likewise.
983 * java/nio/ShortBuffer.java: Likewise.
985 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
987 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
989 2004-09-21 Michael Koch <konqueror@gmx.de>
991 * javax/net/ssl/SSLServerSocket.java:
992 Removed comment about "Do not edit this file, it's generated.".
994 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
996 Import the big Crypto/Jessie/Security merge from Classpath.
998 * Makefile.am: Add imported files.
999 * Makefile.in: Regenerate.
1001 2004-08-14 Casey Marshall <csm@gnu.org>
1003 The Big Crypto Merge of 2004.
1005 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1008 Files imported from GNU Crypto.
1009 * javax/crypto/BadPaddingException.java
1010 * javax/crypto/Cipher.java
1011 * javax/crypto/CipherInputStream.java
1012 * javax/crypto/CipherOutputStream.java
1013 * javax/crypto/CipherSpi.java
1014 * javax/crypto/EncryptedPrivateKeyInfo.java
1015 * javax/crypto/ExemptionMechanism.java
1016 * javax/crypto/ExemptionMechanismException.java
1017 * javax/crypto/ExemptionMechanismSpi.java
1018 * javax/crypto/IllegalBlockSizeException.java
1019 * javax/crypto/KeyAgreement.java
1020 * javax/crypto/KeyAgreementSpi.java
1021 * javax/crypto/KeyGenerator.java
1022 * javax/crypto/KeyGeneratorSpi.java
1023 * javax/crypto/Mac.java
1024 * javax/crypto/MacSpi.java
1025 * javax/crypto/Makefile.am
1026 * javax/crypto/NoSuchPaddingException.java
1027 * javax/crypto/NullCipher.java
1028 * javax/crypto/NullCipherImpl.java
1029 * javax/crypto/SealedObject.java
1030 * javax/crypto/SecretKey.java
1031 * javax/crypto/SecretKeyFactory.java
1032 * javax/crypto/SecretKeyFactorySpi.java
1033 * javax/crypto/ShortBufferException.java
1034 * javax/crypto/interfaces/DHKey.java
1035 * javax/crypto/interfaces/DHPrivateKey.java
1036 * javax/crypto/interfaces/DHPublicKey.java
1037 * javax/crypto/interfaces/PBEKey.java
1038 * javax/crypto/spec/DESKeySpec.java
1039 * javax/crypto/spec/DESedeKeySpec.java
1040 * javax/crypto/spec/DHGenParameterSpec.java
1041 * javax/crypto/spec/DHParameterSpec.java
1042 * javax/crypto/spec/DHPrivateKeySpec.java
1043 * javax/crypto/spec/DHPublicKeySpec.java
1044 * javax/crypto/spec/IvParameterSpec.java
1045 * javax/crypto/spec/PBEKeySpec.java
1046 * javax/crypto/spec/PBEParameterSpec.java
1047 * javax/crypto/spec/RC2ParameterSpec.java
1048 * javax/crypto/spec/RC5ParameterSpec.java
1049 * javax/crypto/spec/SecretKeySpec.java
1050 * javax/security/auth/AuthPermission.java
1051 * javax/security/auth/DestroyFailedException.java
1052 * javax/security/auth/Destroyable.java
1053 * javax/security/auth/Policy.java
1054 * javax/security/auth/PrivateCredentialPermission.java
1055 * javax/security/auth/RefreshFailedException.java
1056 * javax/security/auth/Refreshable.java
1057 * javax/security/auth/Subject.java
1058 * javax/security/auth/SubjectDomainCombiner.java
1059 * javax/security/auth/callback/Callback.java
1060 * javax/security/auth/callback/CallbackHandler.java
1061 * javax/security/auth/callback/ChoiceCallback.java
1062 * javax/security/auth/callback/ConfirmationCallback.java
1063 * javax/security/auth/callback/LanguageCallback.java
1064 * javax/security/auth/callback/NameCallback.java
1065 * javax/security/auth/callback/PasswordCallback.java
1066 * javax/security/auth/callback/TextInputCallback.java
1067 * javax/security/auth/callback/TextOutputCallback.java
1068 * javax/security/auth/callback/UnsupportedCallbackException.java
1069 * javax/security/auth/login/AccountExpiredException.java
1070 * javax/security/auth/login/AppConfigurationEntry.java
1071 * javax/security/auth/login/Configuration.java
1072 * javax/security/auth/login/CredentialExpiredException.java
1073 * javax/security/auth/login/FailedLoginException.java
1074 * javax/security/auth/login/LoginContext.java
1075 * javax/security/auth/login/LoginException.java
1076 * javax/security/auth/login/NullConfiguration.java
1077 * javax/security/auth/x500/X500PrivateCredential.java
1078 * javax/security/sasl/AuthenticationException.java
1079 * javax/security/sasl/AuthorizeCallback.java
1080 * javax/security/sasl/RealmCallback.java
1081 * javax/security/sasl/RealmChoiceCallback.java
1082 * javax/security/sasl/Sasl.java
1083 * javax/security/sasl/SaslClient.java
1084 * javax/security/sasl/SaslClientFactory.java
1085 * javax/security/sasl/SaslException.java
1086 * javax/security/sasl/SaslServer.java
1087 * javax/security/sasl/SaslServerFactory.java
1088 * org/ietf/jgss/ChannelBinding.java
1089 * org/ietf/jgss/GSSContext.java
1090 * org/ietf/jgss/GSSCredential.java
1091 * org/ietf/jgss/GSSException.java
1092 * org/ietf/jgss/GSSManager.java
1093 * org/ietf/jgss/GSSName.java
1094 * org/ietf/jgss/MessageProp.java
1095 * org/ietf/jgss/Oid.java
1096 * org/ietf/jgss/MessagesBundle.properties
1098 Files imported from Jessie <http://www.nongnu.org/jessie/>
1099 * javax/net/ServerSocketFactory.java
1100 * javax/net/SocketFactory.java
1101 * javax/net/VanillaServerSocketFactory.java
1102 * javax/net/VanillaSocketFactory.java
1103 * javax/net/ssl/HandshakeCompletedEvent.java
1104 * javax/net/ssl/HandshakeCompletedListener.java
1105 * javax/net/ssl/HostnameVerifier.java
1106 * javax/net/ssl/HttpsURLConnection.java
1107 * javax/net/ssl/KeyManager.java
1108 * javax/net/ssl/KeyManagerFactory.java
1109 * javax/net/ssl/KeyManagerFactorySpi.java
1110 * javax/net/ssl/ManagerFactoryParameters.java
1111 * javax/net/ssl/SSLContext.java
1112 * javax/net/ssl/SSLContextSpi.java
1113 * javax/net/ssl/SSLException.java
1114 * javax/net/ssl/SSLHandshakeException.java
1115 * javax/net/ssl/SSLKeyException.java
1116 * javax/net/ssl/SSLPeerUnverifiedException.java
1117 * javax/net/ssl/SSLPermission.java
1118 * javax/net/ssl/SSLProtocolException.java
1119 * javax/net/ssl/SSLServerSocket.java
1120 * javax/net/ssl/SSLServerSocketFactory.java
1121 * javax/net/ssl/SSLSession.java
1122 * javax/net/ssl/SSLSessionBindingEvent.java
1123 * javax/net/ssl/SSLSessionBindingListener.java
1124 * javax/net/ssl/SSLSessionContext.java
1125 * javax/net/ssl/SSLSocket.java
1126 * javax/net/ssl/SSLSocketFactory.java
1127 * javax/net/ssl/TrivialHostnameVerifier.java
1128 * javax/net/ssl/TrustManager.java
1129 * javax/net/ssl/TrustManagerFactory.java
1130 * javax/net/ssl/TrustManagerFactorySpi.java
1131 * javax/net/ssl/X509KeyManager.java
1132 * javax/net/ssl/X509TrustManager.java
1133 * javax/security/cert/Certificate.java
1134 * javax/security/cert/CertificateEncodingException.java
1135 * javax/security/cert/CertificateException.java
1136 * javax/security/cert/CertificateExpiredException.java
1137 * javax/security/cert/CertificateNotYetValidException.java
1138 * javax/security/cert/CertificateParsingException.java
1139 * javax/security/cert/X509CertBridge.java
1140 * javax/security/cert/X509Certificate.java
1142 2004-08-20 Casey Marshall <csm@gnu.org>
1144 * java/security/cert/X509CRLSelector.java: New file.
1145 * java/security/cert/X509CertSelector.java: New file.
1147 2004-09-15 Michael Koch <konqueror@gmx.de>
1149 * gnu/java/net/protocol/file/Handler.java
1150 (openConnection): Don't throw exception if host part for file: URI is
1151 present. setURL() keeps file: protocol if ftp: protocol is not
1154 2004-09-14 Richard Henderson <rth@redhat.com>
1156 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1157 value of sigsuspend.
1159 2004-09-12 Tom Tromey <tromey@redhat.com>
1161 * javax/naming/CompoundName.java (CompoundName): Don't check for
1162 separator in "flat" case.
1164 2004-09-12 Michael Koch <konqueror@gmx.de>
1166 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1167 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1168 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1171 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1174 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1175 handle in newly-allocated _Jv_Thread_t.
1176 (_Jv_ThreadDestroyData): Close thread handle.
1177 (_Jv_ThreadStart): Remove obsolete comment.
1178 Store handle of newly-created thread in _Jv_Thread_t.
1179 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1180 before including <windows.h>
1181 #define _Jv_HaveCondDestroy
1183 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1185 * java/lang/natThread.cc (finalize_native): Destroy
1186 join conditional variable and mutex if these destroy
1187 operations are supported.
1189 2004-09-10 Dalibor Topic <robilad@kaffe.org>
1191 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1192 (DEFAULT_PERMISSION): New constant.
1193 (Connection): Create a FilePermission with permission to read file.
1195 2004-09-10 Michael Koch <konqueror@gmx.de>
1197 * gnu/java/net/protocol/file/Connection.java
1198 (getLastModified): Moved around.
1199 (getPermission): Return stored permission.
1201 2004-09-10 Michael Koch <konqueror@gmx.de>
1203 * Makefile.in: Regenerate.
1205 2004-09-10 Michael Koch <konqueror@gmx.de>
1207 * Makefile.am: Reverted accidently commited stuff.
1208 * configure: Regenerated.
1210 2004-09-10 Michael Koch <konqueror@gmx.de>
1212 * gnu/java/net/protocol/file/Connection.java
1213 (lineSeparator): Made non-final.
1215 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1216 instead of StringBufferInputStream.
1218 2004-09-10 Michael Koch <konqueror@gmx.de>
1220 * gnu/java/net/protocol/file/Connection.java
1221 (connect): Handle file is a directory case.
1223 2004-09-10 Michael Koch <konqueror@gmx.de>
1226 (xlib_includes): Removed.
1227 (AM_CPPFLAGS): Renamed from INCLUDES.
1228 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1229 * Makefile.in: Regenerate.
1231 2004-09-09 Michael Koch <konqueror@gmx.de>
1233 * java/security/ProtectionDomain.java,
1234 * java/util/PropertyPermissionCollection.java:
1235 Fixed javadocs all over.
1237 2004-09-09 Sven de Marothy <sven@physto.se>
1239 Patch from David Gilbert <david.gilbert@object-refinery.com>
1240 * java/lang/Comparable.java: Fixed documentation errors.
1241 * java/util/Arrays.java: Likewise.
1243 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1245 * java/net/Inet4Address.java
1246 (Inet4Address): Added comment to serialization UID.
1247 * java/text/Format.java
1248 (Format): Added comment to serialization UID.
1250 2004-09-09 Michael Koch <konqueror@gmx.de>
1252 * java/lang/System.java
1253 (err): Fixed javadoci to point to setErr() and not setOut().
1255 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
1257 (normalizePath): Added special case for windows systems.
1259 2004-09-09 Michael Koch <konqueror@gmx.de>
1262 (dupSeparator): Made private.
1263 (File(URI)): New constructor.
1264 (getParentFile): Fixed javadoc.
1265 (createTempFile): Reformated.
1266 (setReadOnly): Added comment.
1267 (deleteOnExit): Merged javadoc with classpath version.
1269 2004-09-09 Michael Koch <konqueror@gmx.de>
1271 * Makefile.am: Don't try to include deps.mk.
1272 * Makefile.in: Regenerated.
1274 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1276 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1278 * configure: Rebuilt.
1280 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1282 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1283 Changed pfn from static local to local.
1285 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1286 H.J. Lu <hongjiu.lu@intel.com>
1289 * Makefile.am (GCJCOMPILE): Remove definition.
1290 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1291 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1292 * Makefile.in: Rebuilt.
1294 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1296 * configure.ac (enable-gc-debug): Update help for new syntax.
1297 * configure: Regenerate.
1299 2004-09-03 David Daney <ddaney@avtrex.com>
1301 * include/mips-signal.h: Update copyright.
1303 2004-09-03 David Daney <ddaney@avtrex.com>
1305 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1306 * include/mips-signal.h: Added HANDLE_FPE support.
1308 2004-08-31 Michael Koch <konqueror@gmx.de>
1310 * javax/swing/plaf/basic/BasicTextAreaUI.java
1311 (create): New method.
1312 * javax/swing/text/DefaultHighlighter.java
1313 (DefaultHighlightPainter.debugRect): Removed.
1314 * javax/swing/text/StyleContext.java
1315 (DEFAULT_STYLE): New field.
1317 2004-08-31 Michael Koch <konqueror@gmx.de>
1319 * javax/swing/plaf/basic/BasicLookAndFeel.java
1320 (initComponentDefaults): Add keybindings for selection.backward and
1321 selection-forward for text components.
1322 * javax/swing/plaf/basic/BasicTextUI.java
1323 (paintSafely): Paint highlight only when something is actually
1325 * javax/swing/text/DefaultCaret.java
1326 (handleHighlight): New method.
1327 (setSelectionVisible): Don't do anything when nothing changes.
1329 (moveDot): Reimplemented. Handle highlight.
1330 (setDot): Set mark too. Handle highlight.
1331 (getSelectionPainter): New method.
1332 * javax/swing/text/DefaultEditorKit.java
1333 (defaultActions): Added new actions for text selection.
1334 * javax/swing/text/DefaultHighlighter.java
1335 (DefaultHighlightPainter): New inner class.
1336 (DefaultPainter): New field.
1337 (paint): Implemented.
1338 * javax/swing/text/PlainView.java
1339 (paint): Don't draw background here again.
1340 * javax/swing/text/Utilities.java
1341 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1342 (drawTabbedText): Likewise.
1344 2004-08-31 Graydon Hoare <graydon@redhat.com>
1346 * javax/swing/JComponent.java
1347 (resetKeyboardActions): Add null checks.
1349 2004-08-31 Graydon Hoare <graydon@redhat.com>
1351 * javax/swing/DefaultButtonModel.java:
1352 Skip group notification when no group is set.
1354 2004-08-31 Graydon Hoare <graydon@redhat.com>
1356 * javax/swing/JColorChooser.java:
1357 Make a couple inner classes static, for jikes.
1359 2004-08-31 Michael Koch <konqueror@gmx.de>
1361 * javax/swing/plaf/basic/BasicTextUI.java
1362 (RottView.modelToView): New method.
1363 (UpdateHandler): Renamed from EventHandler.
1364 (updateHandler): Renamed from eventHandler.
1365 (modelToView): Implemented.
1366 * javax/swing/text/AbstractDocument.java
1367 (BranchElement.getElement): Return null for non-existing indeces.
1368 (BranchElement.getElementIndex): Return 0 in some corner cases.
1369 * javax/swing/text/FieldView.java
1370 (modelToView): New method.
1371 * javax/swing/text/PlainView.java
1372 (modelToView): Made public.
1374 2004-08-31 Kim Ho <kho@redhat.com>
1376 * Makefile.am: New files.
1377 * Makefile.in: Regenerate.
1378 * gcj/Makefile.in: Regenerate.
1379 * include/Makefile.in: Regenerate.
1380 * java/awt/Color.java: Fix documentation.
1381 (RGBtoHSB): Use floats for conversions.
1382 * javax/swing/ButtonGroup.java: Run Jalopy.
1383 (setSelected): Reimplement.
1384 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1385 (changeState): Let ButtonGroup know that the button
1387 * javax/swing/JColorChooser.java: Implement.
1388 * javax/swing/JLabel.java: Run Jalopy.
1389 * javax/swing/JSpinner.java: Run Jalopy.
1390 (setValue): New method.
1391 * javax/swing/JTabbedPane.java: Run Jalopy.
1392 (removeTabAt): Call correct remove method.
1393 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1394 (getPreviousValue): Compare minimum value.
1395 * javax/swing/Timer.java: Run Jalopy.
1396 (run): Comment out println.
1397 * javax/swing/ToolTipManager.java:
1398 (mouseMoved): Get new tooltip text for location.
1399 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1401 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1403 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1405 (setSelectedColor): Fire ChangeEvent.
1406 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1407 New file. Implement.
1408 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1410 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1412 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1414 * javax/swing/plaf/basic/BasicArrowButton.java:
1415 (getArrow): Fix size of upward pointing button.
1416 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1418 * javax/swing/plaf/basic/BasicSliderUI.java:
1419 (getWidthOfWidestLabel): Use preferred dimensions.
1420 (getHeightOfTallestLabel): Ditto.
1421 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1423 (mousePressed): Disable changes to spinner if it is not enabled.
1424 * testsuite/Makefile.in: Regenerate.
1427 2004-08-31 Michael Koch <konqueror@gmx.de>
1429 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1430 javax/swing/plaf/basic/BasicTableUI.java:
1431 Added copyright notice.
1433 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1435 * Makefile.am: Added new files.
1436 * Makefile.in: Regenerate.
1437 * javax/swing/ComboBoxEditor.java: Added javadocs.
1438 * javax/swing/ComboBoxModel.java: Likewise.
1439 * javax/swing/DefaultComboBoxModel.java: Implemented.
1440 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1441 and ran through jalopy to fix formatting style.
1442 (getListCellRendererComponent): Use appropriate border
1443 if renderer has focus and use noFocusBorder when it doesn't.
1444 * javax/swing/JComboBox.java: Implemented.
1445 * javax/swing/JList.java:
1446 (locationToIndex): New Method. Implemented.
1447 (indexToLocation): New Method.
1448 * javax/swing/JPopupMenu.java:
1449 (visible): New field.
1450 (isVisible): Changed to use new field above.
1451 (setVisible): Likewise.
1452 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1453 * javax/swing/plaf/basic/BasicArrowButton.java:
1454 (shadow): Changed default color to Color.gray.
1455 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1456 UI delegate for JComboBox.
1457 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1458 Popup menu containing list of JComboBox's items.
1459 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1460 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1461 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1462 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1463 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1464 (popupMenuWillBecomeVisible): Set selected path to the first
1465 element only if it is of type MenuElement. Also fix formatting
1467 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1470 2004-08-31 Michael Koch <konqueror@gmx.de>
1472 * javax/swing/text/AbstractDocument.java
1473 (createBranchElement): Use new constructor of BranchElement.
1474 (createLeafElement): Renamed arguments.
1475 (getRootElements): Implemented.
1476 (BranchElement.start): Removed.
1477 (BranchElement.end): Likewise.
1478 (BranchElement.BranchElement): Fixed arguments.
1479 (BranchElement.getEndOffset): Reimplemented.
1480 (BranchElement.getStartOffset): Likewis.
1481 * javax/swing/text/DefaultCaret.java
1482 (paint): Draw simple vertical line as caret instead of a rectangle.
1483 * javax/swing/text/JTextComponent.java
1484 (setText): Use doc directly.
1485 * javax/swing/text/PlainView.java
1486 (nextTabStop): Implemented.
1487 * javax/swing/text/Utilities.java
1488 (drawTabbedText): nextTabStop() returns an absolute x position.
1489 (getTabbedTextWidth): Likewise.
1491 2004-08-31 Graydon Hoare <graydon@redhat.com>
1493 * java/awt/Component.java
1494 (isFocusTraversable): Predicate on isLightweight()
1495 (setFocusable): Set isFocusTraversableOverridden.
1496 (requestFocus): Predicate peer dispatch on !isLightweight()
1497 (requestFocusInWindow): Likewise.
1498 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1499 * java/awt/Container.java
1500 (dispatchEventImpl): Predicate on event mask.
1501 (LightweightDispatcher): Remove focus machinery.
1502 * java/awt/DefaultFocusTraversalPolicy.java
1503 (accept): Expand predicate to include isFocusable().
1504 * java/awt/DefaultKeyboardFocusManager.java:
1505 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1506 * java/awt/KeyboardFocusManager.java
1507 (redispatchEvent): Synchronize on event to prevent feedback.
1508 * javax/swing/AbstractButton.java
1509 (ButtonFocusListener): Remove class.
1510 (init): Set focusPainted, focusable.
1511 * javax/swing/ActionMap.java (get): Check parent for null.
1512 * javax/swing/InputMap.java (get): Likewise.
1513 * javax/swing/JComponent.java
1514 (inputMap_whenFocused): New InputMap.
1515 (inputMap_whenAncestorOfFocused): Likewise.
1516 (inputMap_whenInFocusedWindow): Likewise.
1517 (getActionForKeyStroke): Rewrite.
1518 (getConditionForKeystroke): Likewise.
1519 (ActionListenerProxy): New private class.
1520 (setInputMap): Implement.
1521 (getInputMap): Likewise.
1522 (setActionMap): Likewise.
1523 (getActionMap): Likewise.
1524 (processComponentKeyEvent): New empty method.
1525 (processKeyEvent): Implement.
1526 (processKeyBinding): Likewise.
1527 (resetKeyboardActions): Rewrite.
1528 * javax/swing/KeyStroke.java: Rewrite.
1529 * javax/swing/SwingUtilities.java
1530 (notifyAction): Implement.
1531 (replaceUIActionMap): Likewise.
1532 (replaceUIInputMap): Likewise.
1533 * javax/swing/plaf/basic/BasicButtonListener.java
1534 (focusGained): Implement.
1535 (focusLost): Repaint if focusPainted().
1536 (installKeyboardActions): Install pressed / released actions.
1537 (uninstallKeyboardActions): Implement.
1538 * javax/swing/plaf/basic/BasicButtonUI.java
1539 (focusColor): New field.
1540 (installDefaults): Load focus color, install input map.
1541 (installKeyboardActions): Implement.
1542 (uninstallKeyboardActions): Likewise.
1543 (paintFocus): Rewrite.
1544 * javax/swing/plaf/basic/BasicLookAndFeel.java
1545 (Button.focus): New default, midPurple.
1546 * javax/swing/plaf/basic/BasicTextUI.java
1548 (installUI): Get doc from kit, load defaults.
1549 (getKeymapName): Implement.
1550 (createKeymap): Likewise.
1551 (installKeyboardActions): Likewise.
1552 (getInputMap): Likewise.
1553 (getActionMap): Likewise.
1554 (createActionMap): Likewise.
1555 * javax/swing/text/AbstractDocument.java
1556 (getStartPosition): Implement.
1557 (getEndPosition): Likewise.
1558 * javax/swing/text/DefaultEditorKit.java
1559 (CopyAction): New class.
1560 (CutAction): Likewise.
1561 (DefaultKeyTypedAction): Likewise.
1562 (InsertBreakAction): Likewise.
1563 (InsertContentAction): Likewise.
1564 (InsertTabAction): Likewise.
1565 (PasteAction): Likewise.
1566 (defaultActions): New static table.
1567 (createCaret): Implement.
1568 (getActions): Likewise.
1569 * javax/swing/text/JTextComponent.java
1570 (KeymapWrapper): New private class.
1571 (KeymapActionMap): Likewise.
1572 (DefaultKeymap): New class.
1573 (keymaps): New static table.
1574 (keymap): New field.
1575 (getKeymap): Implement.
1576 (removeKeymap): Likewise.
1577 (addKeymap): Likewise.
1578 (setKeymap): Likewise.
1579 (loadKeymap): Likewise.
1580 (getActions): Likewise.
1581 (margin): New field.
1582 (JTextComponent): Build and install default keymap.
1583 * javax/swing/text/TextAction.java
1584 (textAction): Call super properly.
1585 (getTextComponent): Implement.
1586 * javax/swing/text/Utilities.java
1587 (drawTabbedText): Adjust position by ascent.
1589 2004-08-31 David Jee <djee@redhat.com>
1593 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1594 (setEnabled): Make it a native method.
1595 * java/awt/DefaultKeyboardFocusManager.java
1596 (postProcessKeyEvent): Only post event if the menu item
1598 * java/awt/MenuItem.java:
1599 Private field 'enabled' should be true by default.
1600 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1601 (setEnabled): New function.
1603 2004-08-31 David Jee <djee@redhat.com>
1607 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1608 (nativeSetHelpMenu): New native method declaration.
1609 (addHelpMenu): Call nativeSetHelpMenu().
1611 * java/awt/MenuBar.java
1612 (setHelpMenu): Call addNotify() on the new help menu.
1613 (add): Call addNotify() on the new menu.
1614 (addNotify): Set the help menu if one exists.
1615 * java/awt/peer/MenuBarPeer.java
1617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1618 (nativeSetHelpMenu): New method.
1620 2004-08-31 Graydon Hoare <graydon@redhat.com>
1622 * Makefile.am: Add new files.
1623 * Makefile.in: Regenerate.
1624 * javax/swing/Box.java: Fix setting of layout in ctor.
1625 * javax/swing/JScrollPane.java: Scroll headers as well.
1626 * javax/swing/JTable.java: Reimplement.
1627 * javax/swing/JViewPort.java: Only add non-null children.
1628 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1629 * javax/swing/Timer.java: Fix stopping null waker.
1630 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1631 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1632 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1633 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1634 * javax/swing/table/DefaultTableModel.java: Clean up.
1635 * javax/swing/table/JTableHeader.java: Implement.
1637 2004-08-31 Mark Wielaard <mark@klomp.org>
1639 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1642 2004-08-31 Mark Wielaard <mark@klomp.org>
1644 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1645 Declare variables at top of functions/block.
1646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1648 2004-08-31 Mark Wielaard <mark@klomp.org>
1650 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1653 2004-08-31 Michael Koch <konqueror@gmx.de>
1655 * javax/swing/text/PlainView.java
1656 (selectedColor): New field.
1657 (unselectedColor): Likewise.
1659 (updateMetrics): New method.
1660 (lineToRect): Likewise.
1661 (modelToView): Likewise.
1662 (drawSelectedText): Use color from JTextComponent ad draw with
1664 (drawUnselectedText): Likewise.
1665 (paint): Initialize helper fields.
1666 * javax/swing/text/View.java
1667 (getChildAllocation): New method.
1668 (getViewIndex): Likewise.
1669 (getToolTipText): Likewise.
1671 2004-08-31 Michael Koch <konqueror@gmx.de>
1673 * javax/swing/text/Utilities.java
1674 (drawTabbedText): Reimplemented.
1675 (getTabbedTextWidth): Likewise.
1677 2004-08-31 Michael Koch <konqueror@gmx.de>
1679 * javax/swing/plaf/basic/BasicTextUI.java
1680 (installDefaults): Install caret and highlighter.
1681 (modelToView): Use Bias.Forward when calling sibling.
1682 * javax/swing/text/AbstractDocument.java
1683 (ElementEdit): Implements DocumentEvent.ElementChange.
1684 (ElementEdit.ElementEdit): New method.
1685 (ElementEdit.getChildrenAdded): Likewise.
1686 (ElementEdit.getChildrenRemoved): Likewise.
1687 (ElementEdit.getElement): Likewise.
1688 (ElementEdit.getIndex): Likewise.
1689 * javax/swing/text/DefaultCaret.java
1691 (textComponent): Renamed from parent, made private.
1692 (selectionVisible): Renamed from vis_sel, made private.
1693 (blinkRate): Renamed from blink, made private.
1694 (magicCaretPosition): Renamed from magic, made private.
1695 (visible): Renamed from vis, made private.
1696 (dot): Made private.
1698 (deinstall): Remove as MouseMotionListener.
1699 (install): Initialize textComponent first. Add as MouseMotionListener.
1700 (paint): Reimplemented.
1701 * javax/swing/text/JTextComponent.java
1702 (setCaret): Deinstall old caret, install new one and fire property
1703 change after setting property.
1704 (setHighlighter): Deinstall old highlighter, install new one and fire
1705 property change after setting property.
1706 (setCaretColor): Fire property change after setting property.
1707 (setDisabledTextColor): Likewise.
1708 (setSelectedTextColor): Likewise.
1709 (setSelectionColor): Likewise.
1710 (modelToView): New method.
1712 2004-08-31 Michael Koch <konqueror@gmx.de>
1714 * javax/swing/text/AbstractDocument.java
1715 (getText): Simplified.
1716 * javax/swing/text/Segment.java
1717 (current): New field.
1718 (current): Reimplemented.
1720 (getIndex): Likewise.
1723 (previous): Likewise.
1724 (setIndex): Likewise.
1726 2004-08-31 Michael Koch <konqueror@gmx.de>
1728 * javax/swing/plaf/basic/BasicButtonUI.java
1729 (defaultTextIconGap): Made protected.
1730 (defaultTextShiftOffset): Likewise.
1731 (textShiftOffset): New field.
1732 (clearTextShiftOffset): New method.
1733 (getTextShiftOffset): Likewise.
1734 (setTextShiftOffset): Likewise.
1736 2004-08-31 Michael Koch <konqueror@gmx.de>
1738 * javax/swing/plaf/basic/BasicTextUI.java
1739 (installUI): Add eventHandler as property listener.
1740 (uninstallUI): remove eventHandler as propert listener.
1741 (installDefaults): Added comment.
1742 (installListeners): Likewise.
1743 (installKeyboardActions): Likewise.
1744 (uninstallDefaults): Likewise.
1745 (uninstallListeners): Likewise.
1746 (uninstallKeyboardActions): Likewise.
1748 2004-08-31 Michael Koch <konqueror@gmx.de>
1750 * javax/swing/text/AbstractDocument.java:
1751 Fixed some typos in comments.
1752 (insertString): Reimplemented.
1754 (replace): New method.
1755 (children): Dont use fully qualified class name.
1756 (DefaultDocumentEvent.offset): Renamed from off.
1757 (DefaultDocumentEvent.length): Renamed from len.
1758 (DefaultDocumentEvent.type): New field.
1759 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1760 (DefaultDocumentEvent.getType): Implemented.
1762 2004-08-31 Michael Koch <konqueror@gmx.de>
1764 * javax/swing/plaf/basic/BasicTextUI.java
1765 (RootView.textComponent): Removed.
1766 (RootView.RootView): Don't initialize textComponent.
1767 (RootView.getViewFactory): New method.
1768 (EventHandler): New inner class.
1769 (rootView): Initialize at instance creation.
1770 (eventHandler): New field.
1771 (installUI): Don't create view hierarchy directly,
1772 call modelChanged() instead.
1773 (modelChanged): New method.
1774 * javax/swing/text/JTextComponent.java
1775 (setDocument): Fire property change event.
1777 2004-08-31 Michael Koch <konqueror@gmx.de>
1779 * javax/swing/plaf/basic/BasicTextUI.java
1780 (RootView.paint): Removed debug output.
1781 (paintSafely): Draw highlighter before text.
1782 (paintBackground): Use background color of text component.
1783 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1786 2004-08-31 Michael Koch <konqueror@gmx.de>
1788 * javax/swing/plaf/basic/BasicToolBarUI.java
1789 (BasicToolBarUI): Fixed arguments for constructor.
1790 (createUI): Fixed creation of object.
1792 2004-08-31 Michael Koch <konqueror@gmx.de>
1794 * javax/swing/DefaultListSelectionModel.java
1795 (fireValueChanged): Renamed from fireSelectionValueChanged,
1798 2004-08-31 Michael Koch <konqueror@gmx.de>
1800 * javax/swing/text/TabSet.java
1801 (TabSet): Implements java.io.Serializable.
1802 * javax/swing/text/TabStop.java
1803 (TabStop): Implements java.io.Serializable.
1804 (TabStop): Made public.
1806 2004-08-31 Michael Koch <konqueror@gmx.de>
1808 * javax/swing/JComponent.java
1809 (setUI): Fire PropertyChange.
1810 * javax/swing/JLabel.java
1811 (text): Renamed from labelText.
1812 (horizontalAlignment): New default vlaue.
1813 (icon): Renamed from activeIcon.
1814 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1815 (displayedMnemonicIndex): Renamed from underlineChar.
1816 (setDisplayedMnemonic): Reimplemented.
1817 * javax/swing/JRadioButton.java
1818 (JRadioButton): New constructors.
1819 * javax/swing/JTextField.java
1820 (JTextField): Throw exception if colums < 0, initialitialz
1821 this.columns directly and initialize document with text conditionally.
1823 2004-08-31 Michael Koch <konqueror@gmx.de>
1825 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1826 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1827 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1828 * javax/swing/text/FieldView.java
1829 (paint): Just call super method for now.
1830 * Makefile.am: Added new files.
1831 * Makefile.in: Regenerated.
1833 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1835 * javax/swing/AbstractSpinnerModel.java,
1836 javax/swing/JSpinner.java,
1837 javax/swing/SpinnerNumberModel.java,
1838 javax/swing/plaf/basic/BasicSpinnerUI.java:
1840 * javax/swing/plaf/basic/BasicLookAndFeel.java
1841 (initClassDefaults): Added defaults for BasicSpinnerUI.
1843 2004-08-31 Michael Koch <konqueror@gmx.de>
1845 * Makefile.am: Added new files.
1846 * Makefile.in: Regenerated.
1848 2004-08-31 Michael Koch <konqueror@gmx.de>
1850 * javax/swing/TransferHandler.java,
1851 javax/swing/plaf/basic/ComboPopup.java: New files
1852 * Makefile.am: Added javax/swing/TransferHandler.java and
1853 javax/swing/plaf/basic/ComboPopup.java
1854 * Makefile.in: Regenerated.
1856 2004-08-31 Roman Kennke <roman@ontographics.com>
1858 * javax/swing/text/Utilities.java: New file.
1860 2004-08-31 Michael Koch <konqueror@gmx.de>
1862 * Makefile.am: Added javax/swing/text/Utilities.java.
1863 * Makefile.in: Regenerated.
1865 2004-08-31 Graydon Hoare <graydon@redhat.com>
1867 * javax/swing/text/SimpleAttributeSet.java: New file.
1868 * javax/swing/text/StyleConstants.java: New file.
1869 * javax/swing/text/StyleContext.java: New file.
1870 * javax/swing/text/TabSet.java: New file.
1871 * javax/swing/text/TabStop.java: New file.
1872 * javax/swing/text/AbstactDocument.java:
1873 (AbstractElement): Implement attribute support.
1874 * javax/swing/text/AttributeSet.java
1875 (NameAttribute): New static field.
1876 (ResolveAttribute): New static field.
1877 * Makefile.am: Update for new files.
1878 * Makefile.in: Regenerate.
1880 2004-08-31 Craig Black <craig.black@aonix.com>
1882 * gnu/java/awt/peer/gtk/GdkGraphics.java
1883 (drawImage): Add support for scaling pixmaps.
1884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1885 (copyAndScalePixmap): New native method.
1887 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1890 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1891 type-punning compiler warnings using unions.
1892 (throw): Replace bzero with memset.
1894 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1895 Thomas Fitzsimmons <fitzsim@redhat.com>
1897 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1898 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1899 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1901 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1903 2004-08-31 Mark Wielaard <mark@klomp.org>
1905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1906 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1907 and stdlib.h, not gtkpeer.h.
1908 (*vm): New static variable.
1909 (areaPreparedID): Make static.
1910 (areaUpdatedID): Likewise.
1911 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1912 (area_prepared): Likewise.
1913 (area_updated): Likewise.
1915 (initStaticState): Initialize *vm javaVM.
1916 (pumpBytes): Use given env, not global gdk_env.
1918 2004-08-31 Mark Wielaard <mark@klomp.org>
1920 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1923 2004-08-31 Sven de Marothy <sven@physto.se>
1925 * java/awt/geom/CubicCurve2D.java: Reindent.
1926 (contains): Implemented.
1927 (intersects): Implemented.
1928 * java/awt/geom/QuadCurve2D.java: Likewise.
1929 * java/awt/geom/GeneralPath.java: Reindent and document.
1930 Fully (re)implemented using separate xpoints and ypoints
1932 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1934 2004-08-31 Michael Koch <konqueror@gmx.de>
1936 * javax/swing/JMenuItem.java
1937 (getMenuDragMouseListeners): New method.
1938 (getMenuKeyListeners): Likewise.
1940 2004-08-31 Michael Koch <konqueror@gmx.de>
1942 * javax/swing/AbstractButton.java
1943 (model): Made protected.
1944 (actionListener): Likewise.
1945 (changeListener): Likewise.
1946 (itemListener): Likewise.
1947 (multiClickThreshhold): New field.
1948 (getActionListeners): New method.
1949 (getChangeListeners): Likewise.
1950 (getItemListeners): Likewise.
1951 (fireItemStateChanged): Simplified implementation.
1952 (fireActionPerformed): Likewise.
1953 (fireStateChanged): Likewise.
1954 (getMultiClickThreshhold): New method.
1955 (setMultiClickThreshhold): Likewise.
1957 2004-08-31 Tom Tromey <tromey@redhat.com>
1959 * java/awt/image/Kernel.java (clone): Use super.clone().
1961 2004-08-31 David Jee <djee@redhat.com>
1964 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1965 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1966 (nativeSetIconImageFromData): New native method declaration.
1967 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1968 * gnu/java/awt/peer/gtk/GtkImage.java
1969 (getPixelCache): New method.
1970 (getColorModel): New method.
1971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1972 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1973 (free_pixbuf_data): New helper function.
1974 (nativeSetIconImageFromData): New function.
1976 2004-08-31 Graydon Hoare <graydon@redhat.com>
1979 * javax/swing/JLayeredPane.java
1980 (setLayer): Permit changing layer after addition.
1981 (setPosition): Permit over-length positions.
1982 (layerToRange): Compare intValue()s.
1983 * javax/swing/Box.java (createHorizontalBox): Implement.
1984 (createRigidArea): Likewise.
1985 (createVerticalBox): Likewise.
1987 2004-08-31 Kim Ho <kho@redhat.com>
1989 * java/awt/Component.java:
1990 (processMouseEvent): Consume event after
1991 listeners process it.
1992 (processMouseMotionEvent): ditto.
1993 (processMouseWheelEvent): ditto.
1994 * java/awt/Container.java:
1995 (acquireComponentForMouseEvent):
1996 Do not dispatch to events that have been
1997 removed from the Container.
1998 (handleEvent): Consume the MouseEvents.
1999 * javax/swing/RepaintManager.java:
2000 (paintDirtyRegions): Do not add to list of
2001 damaged areas if the component has no root.
2003 2004-08-31 Michael Koch <konqueror@gmx.de>
2005 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2007 2004-08-31 Mark Wielaard <mark@klomp.org>
2009 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2010 null when a MissingResourceException is thrown. Should never happen.
2012 2004-08-31 Mark Wielaard <mark@klomp.org>
2014 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2015 when argument is null.
2017 2004-08-31 Mark Wielaard <mark@klomp.org>
2019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2020 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2021 Define hid at start of function.
2022 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2025 2004-08-31 Mark Wielaard <mark@klomp.org>
2027 * gnu/java/awt/EmbeddedWindow.java: Reindent.
2028 * javax/swing/JButton.java: Reindent.
2029 * javax/swing/JCheckBox.java: Reindent.
2031 2004-08-31 Mark Wielaard <mark@klomp.org>
2033 * Makefile.am (gtk_c_source_files): Added
2034 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2035 (gtk_awt_peer_sources): Added
2036 gnu/java/awt/peer/gtk/GThreadMutex.java and
2037 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2038 * Makefile.in: Regenerated.
2040 2004-08-31 Archie Cobbs <archie@dellroad.org>
2042 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2044 2004-08-31 Steven Augart <augart@watson.ibm.com>
2046 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
2047 Added jfieldID, jmethodID.
2049 2004-08-31 Mark Wielaard <mark@klomp.org>
2051 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2052 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2053 gdk_env before calling any gdk or gtk function.
2055 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2056 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2057 (run): Set gtkInitCalled.
2059 2004-08-31 Steven Augart <augart@watson.ibm.com>
2061 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
2062 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2065 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2066 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
2068 (init_glib_threads): New function.
2070 2004-08-31 Mark Wielaard <mark@klomp.org>
2072 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2073 PRIORITY when not already defined in header file.
2075 2004-08-31 Mark Wielaard <mark@klomp.org>
2077 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2078 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2080 2004-08-31 Steven Augart <augart@watson.ibm.com>
2082 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2083 Implemented missing functions for GTK2.
2084 Added error handling.
2085 Renamed static functions out of the g_ namespace.
2086 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
2087 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2088 Rewrote global-reference code.
2089 Eliminated cascading errors.
2090 (mutex_trylock_jni_impl) Fully implemented.
2091 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2093 (setup_cache) New function.
2094 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2095 bug where they were not unlocking the GMutex associated with the
2096 condition variable during the wait on that condition variable.
2098 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2099 native/jni/gtk-peer/gthread-jni.c,
2100 native/jni/gtk-peer/gthread-jni.h
2101 (g_thread_jni_functions): Renamed to ...
2102 (portable_native_sync_jni_functions): this name.
2103 (gdk_vm): Renamed to...
2104 (the_vm): this name.
2106 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2107 (gdk_vm): Removed duplicate definition.
2108 (gtkInit): Removed stray message to stdout.
2109 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2110 (gtkInit): Fix a const assignment bug.
2111 (gtkInit): Simplified code.
2113 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2114 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2115 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2116 gnu/java/awt/peer/gtk/GThreadMutex.java:
2119 2004-08-31 Mark Wielaard <mark@klomp.org>
2121 * javax/swing/Box.java: Put FIXME comment above class declaration.
2122 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2123 * javax/swing/JCheckBox.java: Likewise.
2124 * javax/swing/JDialog.java: Likewise.
2125 * javax/swing/JRadioButton.java: Likewise.
2126 * javax/swing/JToggleButton.java: Likewise.
2127 * javax/swing/UIManager.java: Likewise.
2128 * javax/swing/border/TitledBorder.java: Likewise.
2129 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2130 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2131 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2132 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2133 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2134 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2135 * javax/swing/text/JTextComponent.java: Likewise.
2137 2004-08-31 David Jee <djee@redhat.com>
2140 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2141 (setIconImage): Add a FIXME for unhandled cases.
2143 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2146 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2147 getModifiers. Replace old button masks with new ones.
2148 * gnu/awt/xlib/XEventLoop.java: Likewise.
2149 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2150 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2151 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2152 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2153 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2154 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2155 * java/awt/Component.java: Replace old modifier masks with new
2157 * java/awt/Container.java: Call getModifiersEx, not
2159 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2161 * javax/swing/JMenuItem.java: Replace old button masks with new
2163 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2165 * javax/swing/SwingUtilities.java: Likewise.
2166 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2167 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2168 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2169 mask macros with new ones.
2170 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2171 macros with new ones representing new masks.
2173 2004-08-31 Craig Black <craig.black@aonix.com>
2175 * gnu/java/awt/peer/gtk/GdkGraphics.java
2176 (drawRoundRect): Implemented.
2177 (fillRoundRect): Implemented.
2178 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2179 (drawRoundRect): Reimplemented to match GdkGraphics.
2180 (fillRoundRect): Reimplemented to match GdkGraphics.
2182 2004-08-31 Mark Wielaard <mark@klomp.org>
2184 * Makefile.in: Regenerated.
2186 2004-08-31 Michael Koch <konqueror@gmx.de>
2188 * gnu/java/awt/EmbeddedWindow.java
2189 (addNotify): Use AccessController to allow execution of privileged
2192 2004-08-31 Michael Koch <konqueror@gmx.de>
2194 * gnu/java/awt/EmbeddedWindow.java
2196 (addNotify): Set peer via reflection.
2197 (setWindowPeer): Removed.
2198 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2199 * Makefile.am (nat_source_files):
2200 Removed gnu/java/awt/natEmbeddedWindow.cc.
2202 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2204 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2205 and gnu/java/security/action/SetAccessibleAction.java.
2207 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2209 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2210 Renamed from 'setName'. New 2-argument form with default value.
2211 (run): Pass default 'value' parameter to System.getProperty().
2212 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2215 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2217 * gnu/java/security/action/GetPropertyAction.java: New class.
2218 * gnu/java/security/action/SetAccessibleAction.java: New class.
2220 2004-08-31 David Jee <djee@redhat.com>
2222 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2223 (setIconImage): Check if image is null.
2225 2004-08-31 David Jee <djee@redhat.com>
2227 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2228 (create): Set the icon image.
2229 (nativeSetIconImage): New native method declaration.
2230 (setIconImage): Implement.
2231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2232 (nativeSetIconImage): New function.
2234 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2236 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2237 (filenameFilterCallback): Declare local variable accepted before use.
2239 2004-08-31 Dalibor Topic <robilad@kaffe.org>
2241 * gnu/java/awt/ComponentDataBlitOp.java:
2244 2004-08-31 Tom Tromey <tromey@redhat.com>
2246 * gnu/java/awt/peer/GLightweightPeer.java,
2247 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2248 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2249 javax/swing/JScrollPane.java: Removed
2252 2004-08-31 David Jee <djee@redhat.com>
2254 * java/awt/DefaultKeyboardFocusManager.java
2255 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2256 event. Fix shift modifier checking.
2257 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2258 (accel_attach): Remove.
2259 (setupAccelGroup): Remove calls to accel_attach.
2261 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2263 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2264 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2266 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2268 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2269 * Makefile.in: Regenerate.
2270 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2271 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2272 (create(String)): New method.
2273 (create): Call new create method.
2274 (getArgs): Remove method.
2275 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2276 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2277 (nativeCreate): Rename to create.
2278 (gtkSetLabel): Rename to gtkButtonSetLabel.
2279 (gtkToggleButtonSetActive): New method.
2280 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2281 (setState): Replace set call with gtkToggleButtonSetActive.
2282 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2283 (getArgs): Remove method.
2284 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2285 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2286 (gtkWidgetSetSensitive): New method.
2287 (gtkWidgetSetParent): Likewise.
2288 (GtkComponentPeer): Call setParent, setComponentBounds and
2289 setVisibleAndEnabled.
2290 (setParent): New method.
2291 (setComponentBounds): New method.
2292 (setVisibleAndEnabled): New method.
2293 (setEnabled): Call gtkWidgetSetSensitive.
2294 (getArgs): Remove method.
2295 Remove all set methods.
2296 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2297 gtkWindowSetModal, setTitle and setResizable.
2298 (getArgs): Remove method.
2299 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2300 (setComponentBounds): New method.
2301 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2302 Replace set call with gtkWindowSetResizable.
2303 (getArgs): Remove method.
2304 (create): Call setTitle and setResizable.
2305 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2306 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2307 (gtkWindowSetTitle): New method.
2308 (gtkWindowSetResizable): New method.
2309 (gtkWindowSetModal): New method.
2310 (setParent): New method.
2311 (setVisibleAndEnabled): New method.
2312 (getArgs): Remove method.
2313 (setTitle): Call gtkWindowSetTitle.
2314 (setResizable): Call gtkWindowSetResizable.
2315 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2316 and off locking instrumentation.
2318 2004-08-31 Kim Ho <kho@redhat.com>
2320 * Makefile.am: Add new file.
2321 * Makefile.in: Regenerate.
2322 * gcj/Makefile.in: Regenerate
2323 * include/Makefile.in:
2324 * java/awt/Container.java:
2325 (acquireComponentForMouseEvent): Respect
2326 the event mask when looking for candidate.
2327 * javax/swing/JComponent.java:
2328 Remove toolTip field.
2329 (createToolTip): Create a tooltip on demand.
2330 (setToolTipText): Register with the ToolTipManager.
2331 (getToolTipText(MouseEvent)): Return getToolTipText().
2332 * javax/swing/JToolTip.java: Implement.
2333 * javax/swing/Timer.java: Jalopy.
2334 (restart): Call stop, then start.
2335 (stop): Interrupt the timer rather than wait for
2336 the timer to come to a stop naturally.
2337 * javax/swing/ToolTipManager.java: Implement.
2338 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2339 Change ToolTip.background color.
2340 * javax/swing/plaf/basic/BasicToolTipUI.java:
2342 * testsuite/Makefile.in: Regenerate
2344 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2346 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2347 constructor param comments.
2349 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2351 * java/awt/Component.java: Document AWT 1.0 event handler
2354 2004-08-31 Roman Kennke <roman@ontographics.com>
2356 * javax/swing/Box.java:
2357 (createGlue): Implemented
2358 (createHorizontalGlue): Implemented
2359 (createHorizontalStrut): Implemented
2360 (createVerticalGlue): Implemented
2361 (createVerticalStrut): Implemented
2363 2004-08-31 David Jee <djee@redhat.com>
2365 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2366 (GtkChoicePeer): Do not automatically select first item.
2367 (getHistory): Remove.
2368 (nativeGetSelected): New method.
2369 (nativeRemoveAll): New method.
2370 (add): Use nativeGetSelected() instead of getHistory().
2372 (removeAll): Call nativeRemoveAll().
2373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2374 (create): Migrate to GtkComboBox.
2376 (nativeAdd): Likewise.
2377 (nativeRemove): Likewise.
2379 (nativeRemoveAll): New method.
2380 (nativeGetSelected): New method.
2381 (selection_changed): New method.
2382 (getHistory): Remove.
2383 (item_activate): Remove.
2384 (item_removed): Remove.
2385 (connect_choice_item_selectable_hook): Remove.
2387 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2389 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2390 variable in setEditable call.
2392 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2393 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2394 (gtkWidgetSetBackground): New method.
2395 (gtkWidgetSetForeground): Likewise.
2396 (create): Set peer's editable state based on awtComponent's.
2398 * java/awt/Button.java (Button()): Use empty string rather than
2399 null in no-label constructor.
2401 2004-08-31 Roman Kennke <roman@ontographics.com>
2403 * javax/swing/BoxLayout.java: Reimplement.
2405 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2407 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2408 gnu_java_awt_peer_gtk_GdkGraphics.c
2409 (initState(GtkComponentPeer)): Don't return array of colour
2411 (GdkGraphics(int,int)): Set default font to size 12.
2412 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2413 component's foreground colour.
2414 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2415 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2416 (initState(GtkComponentPeer)): Don't return array of colour
2418 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2419 colours to component's colours.
2420 (current_colors_of_widget): Remove function.
2421 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2422 Return a new graphics object.
2423 * java/awt/Font.java (toString): Fix format.
2424 * java/awt/Graphics.java (toString): Likewise.
2426 2004-08-31 Craig Black <craig.black@aonix.com>
2428 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2429 (addTearOff): New function.
2430 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2432 (init): Call addTearOff() when menu.isTearOff().
2434 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2436 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2437 Default implementation.
2438 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2439 Implement using GdkPixbufDecoder.
2441 2004-08-31 David Jee <djee@redhat.com>
2443 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2444 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2445 setting the size of GtkFileDialogPeers.
2446 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2447 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2448 use their default sizes rather than their natural requisitions.
2450 2004-08-31 Michael Koch <konqueror@gmx.de>
2452 * javax/swing/JFormattedTextField.java
2453 (JFormattedTextField): Implemented.
2454 * javax/swing/text/DefaultEditorKit.java
2455 (BeepAction): New inner class.
2456 * javax/swing/text/Segment.java
2457 (partialReturn): New field.
2458 (setPartialReturn): New method.
2459 (isPartialReturn): Likewise.
2460 * javax/swing/text/View.java
2461 (createFragment): Fixed typo.
2462 (getStartOffset): New method.
2463 (getEndOffset): Likewise.
2465 2004-08-31 Michael Koch <konqueror@gmx.de>
2467 * javax/swing/table/DefaultTableColumnModel.java
2468 (serialVersionUID): Made private.
2469 (listenerList): Initialize.
2470 (changeEvent): Initialize.
2471 * javax/swing/table/JTableHeader.java
2472 (JTableHeader): New constructors.
2473 (createDefaultColumnModel): New method.
2474 * javax/swing/table/TableColumn.java
2475 (setHeaderRenderer): Simplified code.
2476 (setCellRenderer): Likewise.
2477 (setWidth): Likewise.
2479 2004-08-31 Tom Tromey <tromey@redhat.com>
2481 * java/text/AttributedString.java (AttributedString): Use
2482 ArrayList to build array of attribute ranges. Don't use
2483 `attribs' before it is set.
2485 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2487 * HACKING: Remove reference to special automake. No longer needed.
2489 2004-08-30 Tom Tromey <tromey@redhat.com>
2491 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2492 return result from `add'.
2494 2004-08-30 Tom Tromey <tromey@redhat.com>
2496 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2498 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2500 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2502 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2504 * java/io/File.java File(String,String): Fixed handling of empty
2507 2004-08-30 Casey Marshall <csm@gnu.org>
2509 Author e-mail updated for all files.
2510 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2512 (compareTo): Use `equals'.
2513 * gnu/java/security/der/BitString.java (equals): Test if the
2514 argument is an instance of BitString.
2515 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2516 class final. Made fields private.
2517 (<init>): New constructor.
2519 (makeString): Made static; don't use NIO.
2520 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2521 * gnu/java/security/der/DERWriter.java: Fixed imports.
2522 (writeString): Don't use NIO.
2523 (toIso88591, toUtf16Be, toUtf8): New methods.
2524 * gnu/java/security/der/DERValue.java: Formatting changes only.
2525 * gnu/java/security/der/DER.java: Likewise.
2527 2004-08-30 Tom Tromey <tromey@redhat.com>
2529 * java/nio/CharBuffer.java (put): Fix typo.
2530 * java/nio/DoubleBuffer.java (put): Fix typo.
2531 * java/nio/FloatBuffer.java (put): Fix typo.
2532 * java/nio/IntBuffer.java (put): Fix typo.
2533 * java/nio/LongBuffer.java (put): Fix typo.
2534 * java/nio/ShortBuffer.java (put): Fix typo.
2536 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2538 * java/nio/ByteBuffer.java (put): Fix typo.
2540 2004-08-30 Casey Marshall <csm@gnu.org>
2542 * java/security/DummyKeyPairGenerator.java (clone): Removed
2543 useless instanceof check.
2544 * java/security/DummyMessageDigest.java (clone): Likewise.
2545 * java/security/DummySignature.java (clone): Likewise.
2546 * java/security/MessageDigest.java (clone): Remove useless
2548 * java/security/MessageDigestSpi.java (clone): Likewise.
2549 * java/security/Signature.java (clone): Provide meaningful
2551 * java/security/SignatureSpi.java (clone): Likewise.
2553 2004-08-29 Mark Wielaard <mark@klomp.org>
2555 * java/util/Arrays.java
2556 (sort(byte[], int, int)): Check fromIndex < 0.
2557 (sort(char[], int, int)): Likewise.
2558 (sort(short[], int, int)): Likewise.
2559 (sort(int[], int, int)): Likewise.
2560 (sort(long[], int, int)): Likewise.
2561 (sort(float[], int, int)): Likewise.
2562 (sort(double[], int, int)): Likewise.
2563 (sort(Object[], int, int, Comparator)): Likewise.
2564 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2565 (qsort(char[], int, int)): Likewise.
2566 (qsort(short[], int, int)): Likewise.
2567 (qsort(int[], int, int)): Likewise.
2568 (qsort(long[], int, int)): Likewise.
2569 (qsort(float[], int, int)): Likewise.
2570 (qsort(double[], int, int)): Likewise.
2572 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2574 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2575 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2576 java/util/ArrayList.java, java/util/Arrays.java,
2577 java/util/BitSet.java, java/util/Calendar.java,
2578 java/util/Collection.java, java/util/ListIterator.java,
2579 java/util/Map.java, java/util/SortedSet.java:
2580 Added additional exceptions to documentation, along
2581 with some additions and corrections.
2583 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2585 * configure.ac: Handle --enable-gc-debug.
2586 * configure: Regenerate.
2587 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2588 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2589 Rearrange include file order.
2590 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2591 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2592 (disable_gc_mutex): Delete along with all references.
2593 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2594 adjust for debug header size.
2595 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2597 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2598 (gcj_describe_type_fn): New.
2599 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2600 Register gcj_describe_type_fn.
2601 * include/boehm-gc.h:
2602 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2603 Don't define, but declare, for debug case.
2604 * java/lang/natObject.cc:
2605 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2607 2004-08-26 Mark Wielaard <mark@klomp.org>
2609 Fixes PR libgcj/17002:
2610 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2611 a TimeZoneId string and then try to convert that to a TimeZone with
2612 getDefaultSystemTimeZone(String).
2613 (timezones0): Changed type from Hashtable to HashMap.
2614 (timezones): Create HashMap, not Hashtable.
2615 (getDefaultTimeZone): New method, rewritten from CNI version.
2616 (readTimeZoneFile): New method.
2617 (readtzFile): Likewise.
2618 (skipFully): Likewise.
2619 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2620 getDefaultTimeZoneId and rewritten.
2621 (getDefaultTimeZoneId): Rewritten in java.
2623 2004-08-25 David Daney <daney@avtrex.com>
2625 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2626 * Makefile.in: Regenerated.
2628 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2630 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2631 only if jvmpi is enabled.
2632 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2633 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2634 (_Jv_AllocString): Likewise.
2635 (_Jv_AllocPtrFreeObject): Likewise.
2637 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2639 * defineclass.cc: Include <stdio.h>.
2640 * java/lang/natClassLoader.cc: Include <stdio.h>.
2642 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2643 Michael Koch <konqueror@gmx.de>
2645 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2646 * Makefile.in: Regenerated.
2648 2004-08-20 Michael Koch <konqueror@gmx.de>
2650 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2651 AC_COMPILE_IFELSE macros.
2653 2004-08-20 Michael Koch <konqueror@gmx.de>
2655 * configure.in: Renamed to configure.ac.
2656 * configure.ac: New file.
2657 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2658 include/config.h.in, testsuite/Makefile.in: Regenerated.
2660 2004-08-20 Michael Koch <konqueror@gmx.de>
2662 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2663 * aclocal.m4, configure: Regenerated.
2665 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2666 Michael Koch <konqueror@gmx.de>
2668 * configure.in, Makefile.am: Ported to automake 1.9.
2669 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2670 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2673 2004-08-19 Tom Tromey <tromey@redhat.com>
2675 * java/net/DatagramSocket.java: Fixed typo.
2677 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2680 * java/net/URI.java (string): New field. Make all other fields
2682 (readObject): Implemented.
2683 (writeObject): Implemented.
2684 (URI): Set 'string'.
2686 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2689 * java/util/logging/Handler.java (isLoggable): Accept record if its
2690 log level equals the threshold level. From Robin Green.
2692 2004-08-18 David Daney <ddaney@avtrex.com>
2694 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2697 2004-08-17 Michael Koch <konqueror@gmx.de>
2699 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2700 * Makefile.in: Regenerated.
2702 2004-08-16 Tom Tromey <tromey@redhat.com>
2705 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2707 2004-08-16 Michael Koch <konqueror@gmx.de>
2710 (math_c_files): Renamed from c_files.
2711 (math_c_source_files): Renamed from c_source_files.
2714 include/Makefile.in,
2715 testsuite/Makefile.in: Regenerated.
2717 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2719 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2720 to avoid autoconf warning.
2721 * configure: Rebuilt.
2723 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2725 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2726 localhostAddress to loopbackAddress.
2727 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2729 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2731 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2732 boehm-gc's include dirs.
2733 * configure: Rebuilt.
2734 * include/boehm-gc.h: Include gc_config.h.
2736 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2738 * java/net/InetAddress.java (loopbackAddress): Renamed from
2740 (getByName): Return loopback address for null hostname, without
2741 security check. Use lookup(), not getAllByName.
2742 (getAllByName): Return loopback address for null hostname, without
2744 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2747 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2750 Reported by Robin Green.
2751 * defineclass.cc (handleField): Don't throw exception on unrecognised
2752 modifier. Add FIXME comments for spec compliance.
2753 (handleMethod): Likewise.
2755 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2758 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2759 (Almost everywhere): add LOG calls, fix, add comments.
2760 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2761 Add explicit check for LOCKED bit in slow case (PR 16662).
2762 (_Jv_MonitorExit): Add casts in debug-only code.
2763 Always release LOCKED bit before throwing exception.
2764 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2765 isn't. Handle easy cases without lock acquisition.
2766 (Object::wait): Use NotifyAll for lock inflation.
2768 2004-08-12 David Daney <ddaney@avtrex.com>
2770 * testsuite/libjava.lang/Process_1.java: New test.
2771 * testsuite/libjava.lang/Process_2.java: New test.
2772 * testsuite/libjava.lang/Process_3.java: New test.
2773 * testsuite/libjava.lang/Process_4.java: New test.
2774 * testsuite/libjava.lang/Process_5.java: New test.
2775 * testsuite/libjava.lang/Process_6.java: New test.
2776 * testsuite/libjava.lang/Process_1.out: Expected result.
2777 * testsuite/libjava.lang/Process_2.out: Expected result.
2778 * testsuite/libjava.lang/Process_3.out: Expected result.
2779 * testsuite/libjava.lang/Process_4.out: Expected result.
2780 * testsuite/libjava.lang/Process_5.out: Expected result.
2781 * testsuite/libjava.lang/Process_6.out: Expected result.
2783 2004-08-12 David Daney <ddaney@avtrex.com>
2786 * java/lang/PosixProcess.java: Rewrote.
2787 * java/lang/natPosixProcess.cc: Rewrote.
2788 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2789 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2790 * posix-threads.cc (block_sigchld) New function.
2791 (_Jv_ThreadRegister) Use it.
2792 (_Jv_ThreadStart) Use it.
2793 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2794 * Makefile.am: ... to specify extra native headers.
2795 * configure: Regenerated.
2796 * include/config.h: Regenerated.
2797 * Makefile.in: Regenerated.
2798 * gcj/Makefile.in: Regenerated.
2799 * include/Makefile.in: Regenerated.
2800 * testsuite/Makefile.in: Regenerated.
2802 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2804 PR tree-optimization/16867
2805 * testsuite/libjava.lang/PR16867.java: New test.
2807 2004-08-09 Per Bothner <per@bothner.com>
2809 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2810 with private fields and access methods.
2811 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2812 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2813 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2814 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2815 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2816 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2818 * resolve.cc: Likewise.
2819 * gcj/field.h: Likewise.
2820 * include/jvm.h: Likewise.
2821 * java/lang/Class.h: Likewise.
2822 * java/lang/natClass.cc: Likwise.
2823 * java/lang/natClassLoader.cc: Likewise
2824 * java/lang/reflect/natMethod.cc: Likewise
2825 * verify.cc: Likewise.
2826 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2827 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2829 2004-08-10 Andrew Haley <aph@redhat.com>
2831 * testsuite/libjava.lang/err14.java: New file.
2832 * testsuite/libjava.lang/err14.out: New file.
2834 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2836 * Makefile.am: Fix missing rename from x_nat_headers to
2838 * Makefile.in: Regenerated.
2840 2004-08-04 Andrew Haley <aph@redhat.com>
2842 * java/security/BasicPermission.java: Don't check wildcards.
2844 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2845 Michael Koch <konqueror@gmx.de>
2847 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2848 * configure.in: Replaced all usages of AC_LINK_FILES by
2851 configure: Regenerated.
2853 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2854 Michael Koch <konqueror@gmx.de>
2856 * acconfig.h: Removed.
2857 * Makefile.am: Rename variables for xlib peer to include xlib and
2858 gtk_c_headers to gtk_jni_headers.
2859 * Makefile.in: Regenerated.
2861 2004-08-04 Andrew Haley <aph@redhat.com>
2863 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2866 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2868 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2869 Replace most top level 'dnl' comments with '#' comments, conforming
2870 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2872 * configure: Rebuilt.
2874 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2876 * acinclude.m4: Include no-executables.m4.
2877 * aclocal.m4: Rebuild.
2878 * configure.in: Convert to the autoconf 2.59 version of
2879 of the no-executables hack, and also of the nonstandard CXX
2880 hack and the multilibbed CC and CXX hack. Change prerequisite
2882 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2883 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2884 testsuite/Makefile.in: Regenerate.
2886 2004-08-03 Tom Tromey <tromey@redhat.com>
2888 * jni.cc: Reindented.
2890 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2892 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2894 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2896 * testsuite/libjava.compile/PR16701.java: New test.
2898 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2900 * java/util/Collection.java, java/util/List.java,
2901 java/util/Map.java, java/util/Set.java,
2902 java/util/SortedMap.java, java/util/SortedSet.java:
2903 Added additional exceptions to documentation.
2905 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2908 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2909 * configure. Regenerate.
2910 * include/win32.h: Explicitly include winsock2.h
2911 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2914 2004-07-30 Michael Koch <konqueror@gmx.de>
2916 * java/util/zip/GZIPInputStream.java
2917 (GZIPInputStream): Increase buffer size to 4k.
2918 * java/util/zip/GZIPOutputStream.java
2919 (GZIPOutputStream): Likewise.
2920 * java/util/zip/Inflater.java
2921 (setInput): Merged formating with GNU classpath.
2922 * java/util/zip/InflaterInputStream.java
2923 (InflaterInputStream): Increase buffer size to 4k.
2924 (fill): Throw exception if stream ends early.
2925 (read): Merged endless-loop with GNU classpath.
2926 (skip): Increase buffer size to 2k.
2928 2004-07-30 Michael Koch <konqueror@gmx.de>
2930 * gnu/java/awt/EmbeddedWindow.java
2931 (addNotify): Use AccessController to allow execution of privileged
2934 2004-07-29 Michael Koch <konqueror@gmx.de>
2936 * gnu/java/lang/MainThread.java:
2937 Explicitely import used classes.
2938 (args): Make it type String[].
2940 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2942 * gnu/java/awt/ComponentDataBlitOp.java,
2943 gnu/java/beans/ExplicitBeanInfo.java,
2944 gnu/java/beans/IntrospectionIncubator.java,
2945 gnu/java/beans/editors/ColorEditor.java,
2946 gnu/java/beans/editors/FontEditor.java,
2947 gnu/java/beans/editors/NativeBooleanEditor.java,
2948 gnu/java/beans/editors/NativeByteEditor.java,
2949 gnu/java/beans/editors/NativeDoubleEditor.java,
2950 gnu/java/beans/editors/NativeFloatEditor.java,
2951 gnu/java/beans/editors/NativeIntEditor.java,
2952 gnu/java/beans/editors/NativeLongEditor.java,
2953 gnu/java/beans/editors/NativeShortEditor.java,
2954 gnu/java/beans/editors/StringEditor.java,
2955 gnu/java/io/ClassLoaderObjectInputStream.java,
2956 gnu/java/io/decode/Decoder.java,
2957 gnu/java/io/encode/Encoder.java,
2958 gnu/java/lang/ClassHelper.java,
2959 gnu/java/locale/Calendar.java,
2960 gnu/java/locale/Calendar_de.java,
2961 gnu/java/locale/Calendar_en.java,
2962 gnu/java/locale/Calendar_nl.java,
2963 gnu/java/locale/LocaleInformation_de.java,
2964 gnu/java/locale/LocaleInformation_en.java,
2965 gnu/java/locale/LocaleInformation_nl.java:
2968 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2970 * README: Remove obsolete info. Update bug URL.
2972 * NEWS: Updated with news up to GCC 3.4 release.
2974 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2976 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2977 Renamed from 'setName'. New 2-argument form with default value.
2978 (run): Pass default 'value' parameter to System.getProperty().
2979 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2981 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2984 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2986 * configure.in: Check for minimum GTK version 2.4 requirement.
2987 * configure: Rebuilt.
2989 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2991 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2992 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2994 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2996 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2997 address. Reduce sleep times. Synchronize with target threads before
2998 attempting to interrupt them. Don't try to calibrate yeild count,
2999 instead, always loop for a fixed time.
3000 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3001 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3002 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3003 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3004 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3005 * testsuite/libjava.lang/pr179.java: Likewise.
3006 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3007 time. Remove upper bounds check on sleep time.
3009 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3011 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3012 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
3014 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
3016 * java/io/File.java (toURI): Throw RuntimeException, not
3018 * java/lang/Runtime.java (exit): Qualify static sleep() call with
3019 class name, not instance.
3021 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
3023 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3024 and gnu/java/security/action/SetAccessibleAction.java.
3025 * Makefile.in: Rebuilt.
3027 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3029 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3030 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3032 (DECLARE_PRIM_TYPE): Don't declare array vtables.
3033 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3034 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3036 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
3038 * Makefile.am: Replace jar, rmic and rmiregistry references with
3039 gjar, grmic and grmiregistry.
3040 * configure.in: Likewise.
3041 * Makefile.in: Regenerate.
3042 * configure: Likewise.
3043 * gcj/Makefile.in: Likewise.
3044 * include/Makefile.in: Likewise.
3045 * testsuite/Makefile.in: Likewise.
3047 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3049 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3050 for privileged getProperty calls.
3051 * java/io/ObjectOutputStream.java (getField): No longer static. Use
3052 SetAccessibleAction instead of anonymous class for doPrivileged call.
3053 (getMethod): Likewise.
3054 (setAccessible): New field. PrivilegedAction object to use when
3055 calling setAccessible.
3056 * java/io/ObjectStreamClass.java (calculateOffsets): Use
3057 SetAccessibleAction instead of anonymous class for diPrivileged call.
3058 (setFields): Likewise.
3059 (getClassUID): Likewise.
3060 (findMethod): Likewise.
3061 * gnu/java/security/action/GetPropertyAction.java: New class.
3062 * gnu/java/security/action/SetAccessibleAction.java: New class.
3064 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3066 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3068 * testsuite/libjava.lang/Serialization.java: New test.
3069 * testsuite/libjava.lang/Serialization.out: New.
3071 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
3073 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3074 missed in last commit.
3076 2004-07-23 Mark Wielaard <mark@klomp.org>
3078 * java/lang/System.java (static): Set http.agent system property when
3080 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3081 from system property inside AccessController.doPrivileged() call.
3082 (proxyPort): Made package private.
3083 (proxyInUse): Likewise.
3084 (proxyHost): Likewise.
3085 (userAgent): Likewise.
3087 2004-07-23 Mark Wielaard <mark@klomp.org>
3089 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3092 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3094 * Makefile.am (ordinary_java_source_files): Add
3095 DefaultContentHandlerFactory.java.
3096 * Makefile.in: Rebuilt.
3097 * java/net/URLConnection.java (defaultFactory): New field.
3099 (getContentHandler): Renamed from 'setContentHandler'. Try
3100 defaultFactory after user-set factory, if any. Search for content
3101 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3102 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3104 (getLastModified): Implemented.
3105 (getPermission): Create file permission here, instead of in
3107 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3109 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3111 (getLastModified): Implemented.
3112 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3113 Default implementation.
3114 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3115 Implement using GdkPixbufDecoder.
3117 2004-07-21 Michael Koch <konqueror@gmx.de>
3119 * javax/swing/JTextArea.java
3120 (setLineWrap): Fire property change event after new value is set.
3121 (setTabSize): Likewise.
3123 2004-07-21 Michael Koch <konqueror@gmx.de>
3125 * javax/swing/JTable.java
3126 (autoCreateColumnsFromModel): New field.
3127 (autoResizeMode): Likewise.
3128 (cellEditor): Likewise.
3129 (cellSelectionEnabled): Likewise.
3130 (columnModel): Likewise.
3131 (dataModel): Likewise.
3132 (defaultEditorsByColumnClass): Likewise.
3133 (defaultRenderersByColumnClass): Likewise.
3134 (editingColumn): Likewise.
3135 (editingRow): Likewise.
3136 (gridColor): Likewise.
3137 (preferredViewportSize): Likewise.
3138 (rowHeight): Likewise.
3139 (rowMargin): Likewise.
3140 (rowSelectionAllowed): Likewise.
3141 (selectionBackground): Likewise.
3142 (selectionForeground): Likewise.
3143 (selectionModel): Likewise.
3144 (showHorizontalLines): Likewise.
3145 (showVerticalLines): Likewise.
3146 (tableHeader): Likewise.
3147 (JTable): Implemented.
3148 (getColumnModel): Likewise.
3149 (getSelectedRow): Likewise.
3150 (getSelectionModel): Likewise.
3151 (setModel): Likewise.
3152 (setSelectionModel): Likewise.
3153 (createScrollPaneForTable): New method.
3154 (createDefaultDataModel): Likewise.
3155 (createDefaultListSelectionModel): Likewise.
3156 (getModel): Likewise.
3157 (getTableHeader): Likewise.
3158 (setTableHeader): Likewise.
3159 (getColumnSelectionAllowed): Likewise.
3160 (setColumnSelectionAllowed): Likewise.
3161 (getRowSelectionAllowed): Likewise.
3162 (setRowSelectionAllowed): Likewise.
3163 (getAutoResizeMode): Likewise.
3164 (setAutoResizeMode): Likewise.
3165 (getColumnCount): Likewise.
3166 (getRowCount): Likewise.
3167 (getCellRenderer): Likewise.
3168 * javax/swing/JTree.java
3169 (cellRenderer): New field.
3170 (editable): Likewise.
3171 (rootVisible): Likewise.
3172 (showsRootHandles): Likewise.
3173 (getModel): New method.
3174 (setModel): Likewise.
3175 (isEditable): Likewise.
3176 (setEditable): Likewise.
3177 (isRootVisbile): Likewise.
3178 (setRootVisible): Likewise.
3179 (getShowsRootHandles): Likewise.
3180 (setShowRootHandles): Likewise.
3181 (getCellRenderer): Likewise.
3182 (setCellRenderer): Likewise.
3184 2004-07-21 Michael Koch <konqueror@gmx.de>
3186 * javax/swing/JFormattedTextField.java
3187 (setDocument): Implemented.
3188 * javax/swing/JRootPane.java:
3190 * javax/swing/JTable.java
3191 (getDefaultRenderer): New method.
3192 * javax/swing/JTextField.java
3193 (setFont): Likewise.
3194 (getPreferredSize): Likewise.
3195 * javax/swing/JToggleButton.java
3196 (getAccessibleContext): Fix javadoc.
3197 * javax/swing/JTree.java:
3199 * javax/swing/JViewport.java:
3202 2004-07-21 David Jee <djee@redhat.com>
3204 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3205 Collect all native method declaration at the top.
3206 (create): Set the filename filter if necessary.
3207 (setDirectory): Call nativeSetDirectory().
3208 (setFilenameFilter): Implement.
3209 (filenameFilterCallback): New method.
3210 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3211 (create): Configure dialog to show hidden files.
3212 (filenameFilterCallback): New function.
3213 (nativeSetFilenameFilter): New function.
3214 (nativeSetDirectory): New function.
3216 2004-07-21 Kim Ho <kho@redhat.com>
3218 * javax/swing/plaf/basic/BasicSliderUI.java:
3220 (paintTrack): Fill the track before painting
3223 2004-07-21 Graydon Hoare <graydon@redhat.com>
3225 patch from Roman Kennke <roman@ontographics.com>
3226 * javax/swing/Spring.java: New file.
3227 * javax/swing/SpringLayout.java: New file.
3228 * Makefile.am: Add new files.
3229 * Makefile.in: Regenerate.
3231 2004-07-21 Graydon Hoare <graydon@redhat.com>
3233 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3234 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3235 * javax/swing/ScrollPaneLayout.java: Likewise.
3237 2004-07-21 Kim Ho <kho@redhat.com>
3239 * javax/swing/DefaultDesktopManager.java:
3240 (findMinimum): Removed.
3241 (resizeFrame): Trust the UI to pass valid
3243 * javax/swing/JOptionPane.java:
3244 Implemented showInternalXXXDialog methods.
3245 (startModal): New method.
3246 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3247 (BorderListener::mouseDragged): Verify that the new
3248 bounds are valid before passing them to the DesktopManager.
3249 (preferredLayoutSize): Delegate
3251 (minimumLayoutSize): Ditto.
3252 (getSize): New method.
3253 (GlassPaneDispatcher): Reimplemented by copying
3254 a stripped down LightweightDispatcher from Container.
3255 (getMinimumSize): Call minimumLayoutSize.
3256 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3258 (mousePressed): Add ability to properly close
3260 * javax/swing/plaf/basic/BasicToolBarUI.java:
3261 (DragWindow): Set owner for DragWindow.
3263 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3265 * java/awt/image/ShortLookupTable.java: New file.
3266 * java/awt/image/ByteLookupTable.java: New file.
3267 * Makefile.am: Added new files.
3268 * Makefile.in: Regenerated.
3270 2004-07-21 David Jee <djee@redhat.com>
3272 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3273 (create(GtkContainerPeer)): New native method.
3274 (create()): Call native create(), passing in the parent frame
3275 as the paramter. Natively set the current file and directory.
3276 (setFile): Construct an absolute filename before passing it to
3278 (nativeGetDirectory): New method.
3279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3280 (window_closed): Removed.
3281 (ok_clicked): Likewise.
3282 (cancel_clicked): Likewise.
3283 (handle_response): New method.
3284 (create): Use GtkFileChooserDialog.
3285 (connectSignals): Connect to handle_response.
3286 (nativeGetDirectory): New method.
3287 (nativeSetFile): Use GtkFileChooserDialog.
3289 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3291 * java/awt/image/LookupTable.java: New file.
3292 * Makefile.am: Added new file.
3293 * Makefile.in: Regenerated.
3295 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3297 * java/awt/image/Kernel.java: New file.
3298 * Makefile.am: Added new file.
3299 * Makefile.in: Regenerated.
3301 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3303 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3304 * javax/swing/JMenu.java: Likewise.
3305 * javax/swing/JMenuBar.java: Likewise.
3306 (MARGIN_CHANGED_PROPERTY): New property.
3307 (setMargin): Implemented.
3308 * javax/swing/JMenuItem.java: Fixed javadocs.
3309 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3310 (LABEL_CHANGED_PROPERTY): New property.
3311 (add): changed to use createActionComponent.
3312 (createActionComponent): Implemented.
3313 (setLabel): Fire PropertyChangeEvent if label property
3315 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3316 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3317 (ContainerHandler): Repaint if margin property has changed.
3318 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3319 (installUI): Call installComponents().
3320 (uninstallUI): Call uinstallComponents().
3321 * javax/swing/plaf/basic/BasicMenuUI.java:
3323 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3326 2004-07-21 Kim Ho <kho@redhat.com>
3328 * javax/swing/plaf/basic/BasicToolBarUI.java:
3329 (DragWindow): Use the right constructor.
3331 2004-07-21 Kim Ho <kho@redhat.com>
3333 * javax/swing/JToolBar.java:
3334 (layoutContainer): Use getComponents.
3335 * javax/swing/plaf/basic/BasicToolBarUI.java:
3336 (DragWindow): Don't use SwingUtilities'
3338 (ToolBarDialog): ditto.
3340 2004-07-21 Kim Ho <kho@redhat.com>
3342 * javax/swing/JRootPane.java:
3344 (layoutContainer): Set the glasspane's size to
3345 be the same as the content pane.
3346 (createGlassPane): Set opaque property to false.
3348 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3350 * java/awt/Component.java (requestFocus()): Don't handle Panels
3352 (requestFocus(boolean)): Likewise.
3353 (requestFocusInWindow(boolean)): Likewise.
3354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3355 Set GTK_CAN_FOCUS flag.
3357 2004-07-21 Kim Ho <kho@redhat.com>
3359 * Makefile.am: Added new file.
3360 * Makefile.in: Regenerated.
3361 * gcj/Makefile.in: Regenerated.
3362 * include/Makefile.in: Regenerated.
3363 * javax/swing/AbstractButton.java:
3364 Add rollOverEnabled property.
3365 (setRolloverEnabled): Use new property.
3366 (isRolloverEnabled): Use new property.
3367 * javax/swing/JTabbedPane.java:
3368 (setComponent): Remove useless JTabbedPane.this.
3369 * javax/swing/JToolBar.java: Finish implementation.
3370 * javax/swing/plaf/basic/BasicArrowButton.java:
3371 (paint): Moved border painting to a border.
3372 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3373 Change JToolBar look and feel defaults.
3374 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3375 (actionPerformed): Return Integer index instead of name.
3376 (addButtonComponents): Check to see if component is
3378 (createMessageArea): Don't use components that are not
3380 (getIconForType): Use temporary icons.
3381 * javax/swing/plaf/basic/BasicSliderUI.java:
3382 (mousePressed): Do not return if it's on thumb.
3383 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3384 (paintMinorTickForVertSlider): ditto.
3385 (paintMajorTickForHorizSlider): ditto.
3386 (paintMajorTickForVertSlider): ditto.
3387 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3388 Add a border around the SplitPaneDivider.
3389 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3391 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3392 New file. Implemented.
3393 * javax/swing/plaf/basic/BasicToolBarUI.java:
3395 * testsuite/Makefile.in: Regenerated.
3397 2004-07-21 Graydon Hoare <graydon@redhat.com>
3399 * javax/swing/Timer.java (run): Queue events each time cycle.
3401 2004-07-21 David Jee <djee@redhat.com>
3403 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3404 (imageComplete): Call image.imageComplete().
3405 * java/awt/image/MemoryImageSource.java:
3406 Reimplement consumers as a Vector instead of a Hashtable. This is
3407 because enumeration on a Hashtable is not thread-safe.
3408 (addConsumer): Adapt to Vector consumers.
3409 (isConsumer): Adapt to Vector consumers.
3410 (removeConsumer): Adapt to Vector consumers.
3411 (startProduction): Adapt to Vector consumers. Call imageComplete()
3412 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3413 (newPixels): Adapt to Vector consumers.
3414 (sendPicture): Set the color model of the image consumer.
3415 (newPixels(IIII)): Adapt to Vector consumers.
3416 (newPixels(IIIIB)): Adapt to Vector consumers.
3418 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3420 * java/awt/Component.java (deliverEvent): Implement.
3421 (postEvent): Implement.
3422 (handleEvent): Implement.
3423 (translateEvent): New method.
3424 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3425 * java/awt/Container.java (deliverEvent): Implement.
3426 * java/awt/Event.java (paramString): Fix formatting.
3427 * java/awt/Font.java (toString): Likewise.
3428 * java/awt/Window.java (postEvent): Implement.
3430 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3432 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3433 Set window's focus owner upon receiving a FOCUS_LOST event.
3434 * java/awt/Window.java (Window()): Refocus the previously
3435 focused component within the window when the window regains the
3437 (setFocusOwner): New method.
3438 * java/awt/Component.java (requestFocus): Add FIXME.
3440 * libgcj.pc.in: Remove library flags.
3442 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3444 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3445 MOUSE_PRESSED event.
3446 * java/awt/Component.java (requestFocus()): Handle Panel
3447 specially. Post FOCUS_LOST event on opposite component.
3448 (requestFocus(boolean)): Likewise.
3449 (requestFocusInWindow(boolean)): Likewise.
3450 (paramString): Reorder dimension fields.
3451 * java/awt/Container.java (paramString): Fix string format.
3452 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3453 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3454 process key events if the focus owner is non-null.
3455 (dispatchKeyEvent): Likewise.
3456 * java/awt/Frame.java (paramString): Fix formatting.
3457 (generateName): New method.
3458 (getUniqueLong): Likewise.
3459 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3460 the temporary focus owner is null. If so, return the permanent
3462 * java/awt/Panel.java (generateName): New method.
3463 (getUniqueLong): Likewise.
3464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3465 signal handling to make callbacks more specific.
3467 2004-07-21 Michael Koch <konqueror@gmx.de>
3469 * javax/swing/text/Position.java
3470 (Bias): Implemented.
3472 2004-07-21 Michael Koch <konqueror@gmx.de>
3474 * javax/swing/LookAndFeel.java
3475 (provideErrorFeedback): New method.
3477 2004-07-21 Michael Koch <konqueror@gmx.de>
3479 * javax/swing/JTextArea.java
3480 (tabSize): New field.
3481 (getTabSize): New method.
3482 (setTabSize): Likewise.
3484 2004-07-21 Michael Koch <konqueror@gmx.de>
3486 * javax/swing/ActionMap.java:
3487 Fixed javadocs all over.
3488 (serialVersionUID): Made private.
3489 (parent): Don't explicitely initialize with default value.
3491 (keys): Reimplemented.
3492 (allKeys): Likewise.
3493 (convertSet): Removed.
3494 * javax/swing/ComponentInputMap.java:
3495 Fixed javadocs all over.
3496 (ComponentInputMap): Implemented.
3500 (SetParent): Likewise.
3501 (getComponent): Likewise.
3502 * javax/swing/InputMap.java:
3503 Fixed javadocs all over.
3504 (serialVersionUID): Made private.
3505 (parent): Don't explicitely initialize with default value.
3507 (keys): Reimplemented.
3508 (allKeys): Likewise.
3509 (convertSet): Removed.
3511 2004-07-21 Michael Koch <konqueror@gmx.de>
3513 * javax/swing/ActionMap.java,
3514 javax/swing/ComponentInputMap.java,
3515 javax/swing/InputMap.java,
3516 javax/swing/table/DefaultTableColumnModel.java,
3517 javax/swing/table/TableColumn.java,
3518 javax/swing/table/TableColumnModel.java,
3519 javax/swing/table/TableModel.java,
3520 javax/swing/text/AbstractDocument.java,
3521 javax/swing/text/TextAction.java:
3524 2004-07-21 Graydon Hoare <graydon@redhat.com>
3526 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3527 Make method non-static.
3528 * javax/swing/AbstractButton.java:
3529 Rename fields to match property names where possible.
3530 (iconTextGap): New property.
3531 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3532 (init) New method, call from after various constructors.
3533 * javax/swing/JComponent.java (revalidate):
3534 Invalidate before queueing repair.
3535 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3536 Reimplement in terms of visibleRowCount property.
3537 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3538 * javax/swing/JScrollPane.java (createScrollListener):
3539 Remove tracing chatter.
3540 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3541 * javax/swing/RepaintManager.java (addInvalidComponent):
3543 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3545 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3546 Mimic sun behavior on top left/right positioning.
3547 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3548 Remove mistaken use of preferredScrollableViewportSize here.
3549 (layoutContainer): Use view's preferred size as basis.
3550 * javax/swing/plaf/basic/BasicButtonUI.java:
3551 Set, get, and use textIconGap property.
3552 (paint) Paint text returned from layout (with ellipsis).
3553 * javax/swing/plaf/basic/BasicListUI.java:
3554 Remove tracing chatter, correct various minor calculations.
3555 (getCellBounds): Update layout state before calculating.
3556 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3557 Use margin default similar to sun's.
3558 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3559 (createIncreaseIcon): Center icon, minimize margins.
3560 (createDecreaseIcon): Likewise.
3561 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3563 (installUI): Call it.
3564 (uninstallDefaults): Implement.
3565 (uninstallUI): Call it.
3566 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3567 Call existing Window constructor.
3568 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3569 Set clip before painting.
3571 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3573 * javax/swing/JMenuItem.java:
3574 (processMouseEvent): Reimplemented to deal with
3576 (createMenuDragMouseEvent): New private helper method.
3577 Creates MenuDragMouseEvent.
3578 * javax/swing/MenuSelectionManager.java
3579 (componentForPoint): Implemented.
3580 (isComponentPartOfCurrentMenu): Made public.
3581 (processMouseEvent): Reimplemented to deal with
3583 (setSelectedPath): Corrected small mistake that caused
3584 path to be set incorrectly.
3585 (getPath): If given component is JMenu then also add this
3586 menu's popup menu to the selected path.
3587 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3589 (getPreferredSize): Call getPreferredMenuItemSize().
3590 (getPreferredItemSize): Moved code from getPreferredSize to here.
3591 (installListeners): Install MouseMotionListeners.
3592 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3593 if mouse wasn't released in the bounds of this menu item.
3594 (MenuDragMouseHandler): Implemented.
3595 * javax/swing/plaf/basic/BasicMenuUI.java:
3596 (installListeners): Install MouseMotionListener and
3597 MenuDrageMouseListener.
3598 (MenuDragMouseHandler): Implemented.
3599 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3600 (uninstallListeners): Implemented.
3602 2004-07-21 Michael Koch <konqueror@gmx.de>
3604 * javax/swing/JCheckBox.java: Reformated.
3605 (JCheckBox): Fixed all constructors.
3606 (isBorderPaintedFlat): New method.
3607 (setBorderPaintedFlat): New method.
3608 * javax/swing/JEditorPane.java
3609 (createEditorKitForContentType): Made public.
3610 (scrollToReference): Likewise.
3611 * javax/swing/JTextArea.java
3612 (setLineWrap): Fire property change.
3613 * javax/swing/JToggleButton.java
3614 (JToggleButton): New constructor.
3615 (JToggleButton): Simplified.
3616 * javax/swing/text/AttributeSet.java
3617 (FontAttribute): Renamed from FontCharacterAttribute.
3618 * javax/swing/text/JTextComponent.java
3619 (KeyBinBinding): Added javadoc.
3620 (JTextComponent): Likewise.
3621 (getAccessibleContext): Fixed javadoc.
3622 * javax/swing/text/View.java
3623 (View): Added javadoc.
3624 * javax/swing/text/TabableView.java: New file.
3625 * Makefile.am: Added javax/swing/text/TabableView.java.
3626 * Makefile.in: Regenerated.
3628 2004-07-21 Graydon Hoare <graydon@redhat.com>
3630 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3631 * gnu/java/awt/peer/gtk/GtkToolkit.java
3632 (GtkErrorImage): New helper class.
3633 (bufferedImageOrError): New helper method.
3634 (createImage): Use it.
3636 2004-07-21 David Jee <djee@redhat.com>
3638 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3639 (setCaretPosition): Scroll the text view so the new caret position
3640 is visible on screen.
3642 2004-07-21 David Jee <djee@redhat.com>
3644 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3645 (setBounds): Do not validate awtComponent here.
3646 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3647 (getPreferredSize): New method.
3648 * java/awt/ScrollPane.java
3649 (ScrollPane): Set default size to 100x100.
3650 (addNotify): If child is not a Panel, wrap it with a new Panel.
3651 (paramString): Implement.
3653 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3655 * javax/swing/JMenu.java:
3656 (setSelected): Display popup menu only if this menu
3657 is showing on the screen.
3658 * javax/swing/JPopupMenu.java:
3659 (processMouseEvent): Added comment.
3660 (processKeyEvent): Likewise.
3661 * javax/swing/MenuSelectionManager.java:
3662 (clearSelectedPath): Only fireStateChanged() after
3663 selected path was changed, not before.
3664 (setSelectedPath): Likewise.
3665 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3666 (paintMenuItem): Corrected position of menu item's
3668 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3669 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3670 (popupMenuCanceled): Reimplemented.
3671 (popupMenuWillBecomeVisible): Select first menu item by default
3672 when displaying free floating popup menus.
3673 (TopWindowListener): Reimplemented.
3675 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3677 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3678 Panel from being painted twice when it is first shown.
3680 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3682 * java/awt/Window.java: Reverted changes from my
3683 previous patch for creating window without an owner.
3684 * javax/swing/SwingUtilities.java:
3685 (SwingUtilities.OwnerFrame): made static.
3686 (OwnerFrame.setVisible): New method. Overridden with
3687 empty implementation.
3688 (OwnerFrame.isShowing): New method. Ovverridden
3689 to return always true.
3691 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3693 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3694 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3695 (GtkComponentPeer): Remove temporary try/catch block.
3696 (setVisible): Call show and hide.
3697 (show): Make native.
3699 (getArgs): Don't add "visible" argument.
3700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3701 (property_notify_predicate): Return Bool instead of int.
3702 (find_layout): New function.
3703 (connectJObject): Call find_layout.
3704 (connectSignals): Likewise.
3705 (moveLayout): Likewise.
3706 (gtkLayoutSetVisible): Likewise.
3708 2004-07-21 Mark Wielaard <mark@klomp.org>
3710 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3711 on notifier object before calling notifyAll().
3713 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3715 * java/awt/Window.java: Changed constructors to use new
3716 method that is described below. Constructors call this
3717 methods only if newly created window should have an owner.
3718 (setWindowOwner): New method. Implementation for
3719 this method is moved from this(owner,configuration).
3720 * javax/swing/JWindow.java:
3721 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3723 * javax/swing/SwingUtilities.java:
3724 (ownerFrame): Change type of this field to OwnerFrame.
3725 (getOwnerFrame): Changed to return object of type OwnerFrame.
3726 (SwingUtilities.OwnerFrame): New class. Represents owner
3727 of a Window that is not provided with one.
3729 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3731 * javax/swing/AbstractButton.java:
3732 (configurePropertiesFromAction): Set action command
3733 to button's text by default if action command is not
3734 explicitely specified.
3735 * javax/swing/JMenu.java: Remove unnecessary listener
3736 and methods relevant to it.
3737 (setSelected): Reimplemented.
3738 (menuSelectionChanged): Moved most part of implementation to
3739 setSelected() and call it instead.
3740 * javax/swing/JMenuItem.java:
3741 (init): Comment out statement that sets paint_border to false.
3742 (configurePropertiesFromAction): Do not set accelerator
3744 (menuSelectionChanged): Change selected index in the selection
3745 model of menu item's parent.
3746 * javax/swing/JPopupMenu.java:
3747 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3748 instead of GridBagConstraints.HORIZONTAL.
3750 (createActionChangeListener): Implemented.
3751 (setVisible): Correct location of HeavyWeightMenu and
3752 don't firePopupMenuCanceled().
3753 (menuSelectionChanged): Implemented.
3754 (ActionChangeListener): New Listener. Implemented.
3755 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3756 (BasicMenuBarUI.ContainerHandler): Implemented.
3757 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3758 (paintMenuItem): Uncommented out code that paints
3759 icon, now that icons are working properly.
3760 (PropertyChangeListener): Implemented.
3761 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3763 (topWindowListener): New field.
3764 (Constructor): initialize topWindowListener.
3765 (BasicPopupMenuUI.TopWindowListener): Implemented.
3766 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3767 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3770 2004-07-21 Michael Koch <konqueror@gmx.de>
3772 * javax/swing/plaf/basic/BasicButtonUI.java
3773 (paintFocus): Fixed method signature.
3774 (paintButtonPressed): Likewise.
3775 (paintButtonNormal): Likewise.
3776 (paintText): New method.
3777 * javax/swing/plaf/basic/BasicLabelUI.java
3778 (paint): Re-indented.
3779 * javax/swing/plaf/basic/BasicTextUI.java
3780 (installUI): Set parent textComponent to opaque.
3781 * javax/swing/text/DefaultHighlighter.java
3782 (checkPositions): New helper method.
3783 (addHighlight): Throws BadLocationException, check positions.
3784 (changeHighlight): Likewise.
3785 * javax/swing/text/EditorKit.java
3786 (EditorKit): Implements Serializable.
3787 * javax/swing/text/JTextComponent.java
3788 (getUI): Added javadoc.
3790 (upadteUI): Added javadoc, don't revalidate and repaint.
3792 2004-07-21 David Jee <djee@redhat.com>
3794 * java/awt/GridBagLayout.java
3795 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3796 * javax/swing/AbstractButton.java
3797 (setText): Reindent.
3798 * javax/swing/RepaintManager.java
3799 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3801 2004-07-21 Michael Koch <konqueror@gmx.de>
3803 * javax/swing/JFormattedTextField.java
3805 (JFormattedTextField): Implemented.
3806 (getValue): Likewise.
3807 (setValue): Likewise.
3808 * javax/swing/LookAndFeel.java
3809 (getSupportsWindowDecorations): New method.
3810 * javax/swing/UIDefaults.java:
3811 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3812 (addPropertyChangeListener): Made public.
3813 (addResourceBundle): Likewise.
3814 (removeResourceBundle): Likewise.
3815 (setDefaultLocale): Likewise.
3816 * javax/swing/plaf/basic/BasicRootPaneUI.java
3817 (BasicRootPaneUI): Implements PropertyChangeListener.
3818 (propertyChange): New method.
3819 * javax/swing/plaf/basic/BasicTextUI.java
3820 (BasicHighlighter): New inner class.
3821 (createHighlighter): New method.
3822 * javax/swing/plaf/basic/BasicToolBarUI.java
3823 (DragWindow): Extends java.awt.Window.
3824 * javax/swing/text/JTextComponent.java
3825 (getDocument): Removed debug output.
3826 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3827 javax/swing/text/DefaultHighlighter.java,
3828 javax/swing/text/FieldView.java,
3829 javax/swing/text/PlainView.java: New files.
3830 * Makefile.am: Added new files.
3831 * Makefile.in: Regenerated.
3833 2004-07-21 Michael Koch <konqueror@gmx.de>
3835 * javax/swing/JEditorPane.java
3836 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3837 (createEditorKitForContentType): Likewise.
3838 * javax/swing/text/DefaultEditorKit.java
3839 (serialVersionUID): Added constant field.
3840 (EndOfLineStringPropery): Fixed typo.
3841 (DefaultEditorKit): New constructor.
3842 * javax/swing/text/Segment.java:
3843 Import java.text.CharacterIterator.
3844 * javax/swing/text/CharacterIterator.java,
3845 javax/swing/text/PlainEditorKit.java: Removed.
3846 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3847 javax/swing/text/PlainEditorKit.java.
3848 * Makefile.in: Regenerated.
3850 2004-07-21 Michael Koch <konqueror@gmx.de>
3852 * javax/swing/JButton.java,
3853 javax/swing/text/DefaultEditorKit.java,
3854 javax/swing/text/EditorKit.java,
3855 javax/swing/text/Segment.java,
3856 javax/swing/text/StyledEditorKit.java:
3859 2004-07-21 Michael Koch <konqueror@gmx.de>
3861 * javax/swing/ImageIcon.java
3863 (description): Renamed from descr.
3864 (ImageIcon): Added missing constructors.
3865 (setParent): Removed.
3866 (setImageObserver): New method.
3867 (getImageObserver): New method.
3868 (paintIcon): Handle observer = null.
3869 * javax/swing/JButton.java
3870 (removeNotify): Fixed javadoc.
3871 (updateUI): Simplified.
3872 * javax/swing/JRootPane.java
3873 (serialVersionUID): New constant field.
3874 * javax/swing/UIManager.java:
3875 Fixed javadocs all over.
3876 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3877 * javax/swing/text/AbstractDocument.java
3878 (createPosition): Throws BadLocationException.
3879 (getText): Likewise.
3881 * javax/swing/text/ComponentView.java
3882 (modelToView): Likewise.
3883 * javax/swing/text/DefaultEditorKit.java:
3884 Made all public methods public.
3885 (read): Throws BadLocationException and IOException.
3887 * javax/swing/text/EditorKit.java:
3888 Made all public methods public.
3889 (serialVersionUID): New constant field.
3890 (clone): New method.
3891 (read): Throws BadLocationException and IOException.
3893 * javax/swing/text/Segment.java
3894 (array): Made public.
3897 (Segment): New constructors.
3898 (clone): Reimplemented.
3899 * javax/swing/text/StyledEditorKit.java
3900 (serialVersionUID): New constant field.
3902 2004-07-21 Graydon Hoare <graydon@redhat.com>
3904 * java/awt/image/BufferedImage.java
3905 (getSource): Implement.
3906 * javax/swing/ImageIcon.java
3907 (ImageIcon): Implement ctor.
3908 * javax/swing/ScrollPaneLayout.java
3909 (preferredLayoutSize): Be more careful about nulls.
3911 2004-07-21 Michael Koch <konqueror@gmx.de>
3913 * javax/swing/text/AttributeSet.java
3914 (CharacterAttribute): New interface
3915 (ColorAttribute): Likewise.
3916 (FontCharacterAttribute): Likewise.
3917 (ParagraphAttribute): Likewise.
3918 * javax/swing/text/DefaultCaret.java
3919 (moveCaret): New method.
3920 (positionCaret): Likewise.
3921 (repaint): Made protected.
3922 * javax/swing/text/JTextComponent.java
3923 (KeyBinding): Made it static.
3924 * javax/swing/text/View.java
3925 (getContainer): Honor parent == null.
3927 2004-07-21 Michael Koch <konqueror@gmx.de>
3929 * javax/swing/text/AbstractDocument.java:
3932 2004-07-21 Michael Koch <konqueror@gmx.de>
3934 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3935 Import javax.swing.UIManager explicitely.
3936 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3937 (ScrollingButton): Made it static.
3939 2004-07-21 Michael Koch <konqueror@gmx.de>
3941 * javax/swing/UIDefaults.java
3942 (ActiveValue): Made public.
3943 (LazyValue): Likewise.
3944 * javax/swing/plaf/basic/BasicTextUI.java
3945 (RootView): Reintroduced.
3947 (rootView): New field.
3948 (installUI): Create document if needed, initialize rootView.
3949 (uninstallUI): Hanle rootView.
3951 (getRootView): Likewise.
3952 (setView): Likewise.
3953 * javax/swing/text/DefaultCaret.java:
3954 Renamed all "evt" variables to "event".
3956 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3958 * libgcj.spec.in: Add -l-java-util-logging.
3960 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3962 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3963 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3964 gtk-xft-dpi can no calculate the right value.
3965 (dpi_changed_cb): Mark *pspec as unsused.
3967 2004-07-21 David Jee <djee@redhat.com>
3969 * java/awt/Component.java
3970 (move): Delegate to setBounds().
3972 (reshape): Fix so it repaints parent and self only when necessary.
3974 2004-07-21 David Jee <djee@redhat.com>
3976 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3977 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3978 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3979 (setVisible): Likewise.
3982 (getArgs): Likewise.
3983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3984 (property_notify_predicate): Likewise.
3985 (find_layout): Likewise.
3986 (connectJObject): Likewise.
3987 (connectSignals): Likewise.
3988 (moveLayout): Likewise.
3989 (gtkLayoutSetVisible): Likewise.
3991 2004-07-21 Graydon Hoare <graydon@redhat.com>
3997 (rmiregistry_LDADD): Add lib-java-util-logging.la
3998 * Makefile.in: Regenerate.
4000 2004-07-21 Michael Koch <konqueror@gmx.de>
4002 * javax/swing/text/AbstractDocument.java
4003 (replace): Dont use protected method of java.util.Vector directly.
4005 2004-07-21 Michael Koch <konqueror@gmx.de>
4007 * javax/swing/plaf/basic/BasicTextUI.java
4008 (installUI): Call specialized install methods.
4009 (installDefaults): New method.
4010 (installListeners): Likewise.
4011 (installKeyboardActions): Likewise.
4012 (uninstallUI): Likewise.
4013 (uninstallDefaults): New method.
4014 (uninstallListeners): Likewise.
4015 (uninstallKeyboardActions): Likewise.
4016 (getPropertyPrefix): New abstract method.
4017 (paint): Made final, just call paintSafely().
4018 (paintSavely): New method.
4019 (paintBackground): Likewise.
4020 (getVisibleEditorRect): Likewise.
4021 * javax/swing/text/LayeredHighlighter.java,
4022 javax/swing/text/TabExpander.java: New files.
4023 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
4024 and javax/swing/text/TabExpander.java.
4025 * Makefile.in: Regenerated.
4027 2004-07-21 Michael Koch <konqueror@gmx.de>
4029 * javax/swing/plaf/basic/BasicTextUI.java
4030 (BasicTextUI): Made abstract.
4031 (BasicCaret): New inner class.
4032 (view): Don't explicitely initialize with "null".
4033 (textComponent): New field.
4034 (textColor): Removed.
4035 (disabledTextColor): Removed.
4036 (normalBackgroundColor): Removed.
4037 (RootView): Removed commented out inner class.
4038 (createUI): Removed.
4039 (createCaret): New method.
4040 (getComponent): Likewise.
4041 (installUI): Initialize textComponent only.
4042 (getPreferredSize): Use installed JTextComponent.
4043 (setView): New method.
4045 * javax/swing/text/JTextComponent.java
4046 (highlighter): New field.
4047 (caretColor): Likewise.
4048 (disabledTextColor): Likewise.
4049 (seletedTextColor): Likewise.
4050 (selectionColor): Likewise.
4051 (setUI): New method.
4052 (getCaretColor): Likewise.
4053 (setCaretColor): Likewise.
4054 (getDisabledColor): Likewise.
4055 (setDisabledColor): Likewise.
4056 (getSelectedTextColor): Likewise.
4057 (setSelectedTextColor): Likewise.
4058 (getSelectionColor): Likewise.
4059 (setSelectionColor): Likewise.
4060 (getHighlighter): Likewise.
4061 (setHighlighter): Likewise.
4062 (replaceSelection): Likewise.
4064 2004-07-21 Michael Koch <konqueror@gmx.de>
4066 * javax/swing/plaf/basic/BasicScrollPaneUI.java
4067 (BasicScrollPaneUI): Implements ScrollPaneConstants.
4068 * javax/swing/plaf/basic/BasicToolBarUI.java
4069 (BasicToolBarUI): Implements SwingConstants.
4071 2004-07-21 Michael Koch <konqueror@gmx.de>
4073 * javax/swing/JPopupMenu.java: Removed CVS tags.
4074 * javax/swing/UIDefaults.java: Reformatted.
4075 * javax/swing/plaf/basic/BasicRootPaneUI.java:
4076 Explicitely import used classes.
4078 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
4080 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
4081 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4082 (GtkComponentPeer): Remove temporary try/catch block.
4083 (setVisible): Call show and hide.
4084 (show): Make native.
4086 (getArgs): Don't add "visible" argument.
4087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4088 (property_notify_predicate): Return Bool instead of int.
4089 (find_layout): New function.
4090 (connectJObject): Call find_layout.
4091 (connectSignals): Likewise.
4092 (moveLayout): Likewise.
4093 (gtkLayoutSetVisible): Likewise.
4095 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4097 * javax/swing/AbstractButton.java:
4098 (setDisplayedMnemonicIndex): Check if button
4099 text is not null before checking its length.
4100 * javax/swing/JMenuItem.java:
4101 (processMouseEvent): Disarm menu item if mouse has
4103 * javax/swing/plaf/basic/BasicMenuUI.java:
4104 (MouseInputHandler.mouseEntered): Do not raise
4105 popup menu if this menu is already selected.
4106 (MouseInputHandler.mousePressed): Do not fire
4108 (MenuHandler): Implemented.
4110 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4112 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4113 (getSelectedObjects): Implemented.
4114 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4115 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4116 Added javadoc for few methods.
4117 (processMouseEvent): Made public.
4118 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4119 (processMouseEvent): Likewise.
4121 2004-07-21 Olga Rodimina <rodimina@redhat.com>
4123 * javax/swing/AbstractButton.java:
4124 (init): Set display mnemonic index to -1.
4125 (setMnemonic(char)): Use setMnemonic(int).
4126 (setMnemonic(int)): Set display mnemonic index.
4127 (getDisplayedMnemonicIndex): Change method signature
4128 by removing 'index' parameter.
4129 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4130 Added default for Menu.selectionBackground.
4131 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4132 (paintMenuItem): Change background color of the selected
4134 (paintText): Paint differently when menu item is disabled.
4135 Also paint mnemonic if it appears in the menu item's label.
4136 (paintAccelerator): Paint accelerator differently
4137 if menu item is disabled.
4138 * javax/swing/plaf/basic/BasicMenuUI.java:
4139 (installDefaults): Install defaults for
4140 selectionForeground and selectionBackground.
4141 (uninstallDefaults): Uninstall defauls for
4142 selectionForeground and selectionBackground.
4144 2004-07-21 Michael Koch <konqueror@gmx.de>
4146 * javax/swing/text/AbstractDocument.java
4147 (BranchElement): Implemented.
4148 (LeafElement): Implemented.
4149 * javax/swing/text/DefaultCaret.java:
4150 Import used classes.
4151 (serialVersionUID): New constant.
4152 * javax/swing/text/JTextComponent.java
4153 (AccessibleJTextComponent): Removed dead declaration.
4154 (caretPos): Removed.
4155 (setCaret): New method.
4156 * javax/swing/text/PlainDocument.java
4157 (rootElement): New field.
4158 (PlainDocument): Initialize rootElement.
4159 (createDefaultRoot): New method.
4160 (getDefaultRootElement): Implemented.
4161 * javax/swing/text/View.java: Reformatted.
4162 * javax/swing/text/ViewFactory.java
4163 (create): Added javadoc.
4165 2004-07-21 Michael Koch <konqueror@gmx.de>
4167 * javax/swing/ToolTipManager.java: Reformatted.
4169 2004-07-21 Rodimina Olga <rodimina@redhat.com>
4171 * javax/swing/AbstractButton.java
4172 (changeEvent): New field.
4173 (fireItemStateChanged): Change source of the event
4174 to 'this' before firing it to button listeners.
4175 (fireActionPerformed): Likewise.
4176 (fireStateChanged): Likewise.
4177 (createActionListener): Do not set source
4178 of the event to AbstractButton.
4179 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4180 (ContainerHandler.componentAdded): Removed
4181 print out statement.
4182 (ContainerHandler.componentRemoved): Likewise.
4184 2004-07-21 Michael Koch <konqueror@gmx.de>
4186 * javax/swing/text/Highlighter.java: New file.
4187 * Makefile.am: Added javax/swing/text/Highlighter.java.
4188 * Makefile.in: Regenerated.
4190 2004-07-21 Michael Koch <konqueror@gmx.de>
4192 * javax/swing/ToolTipManager.java
4193 (stillInsideTimerAction): Fixed constructor arguments.
4194 (outsideTimerAction): Likewise.
4195 (insideTimerAction): Likewise.
4197 2004-07-21 Michael Koch <konqueror@gmx.de>
4199 * javax/swing/JButton.java: Reformatted.
4200 * javax/swing/JFormattedTextField.java
4201 (getUIClassID): Implemented.
4202 * javax/swing/JRootPane.java
4203 (serialVersionUID): New constant.
4204 * javax/swing/JTextField.java
4206 (JTextField): Simplified.
4207 (getUIClassID): New method.
4208 (getActionListeners): Added @since tag.
4209 (setColumns): Invalidate layout and repaint.
4210 (getHorizontalAlignment): New method.
4211 (setHorizontalAlignment): New method.
4212 (selectAll): Removed.
4213 * javax/swing/SwingUtilities.java
4214 (getAncestorOfClass): Removed redundant @see tag.
4215 (isLeftMouseButton): Fixed implementation.
4216 (isMiddleMouseButton): Likewise.
4217 (isRightMouseButton): Likewise.
4218 * javax/swing/text/AbstractDocument.java
4219 (AttributeContext.addAttribute): New method.
4220 (AttributeContext.addAttributes): New method.
4221 (AttributeContext.getEmptySet): New method.
4222 (AttributeContext.reclaim): New method.
4223 (AttributeContext.removeAttribute): New method.
4224 (AttributeContext.removeAttributes): New method.
4225 * javax/swing/text/Document.java
4226 (createPosition): Throws BadLocationException.
4227 (getText): Likewise.
4229 * javax/swing/text/JTextComponent.java
4230 (getText): Return null if no document is set. Catch
4231 BadLocationException.
4233 (updateUI): Simplified.
4235 2004-07-21 Michael Koch <konqueror@gmx.de>
4237 * javax/swing/JButton.java
4238 (removeNotify): Fixed javadoc.
4239 (updateUI): Simplified.
4241 2004-07-21 David Jee <djee@redhat.com>
4243 * gnu/java/awt/image/ImageDecoder.java
4244 (startProduction): Only add consumer if it's not added yet.
4245 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4246 (GdkPixbufDecoder): Don't call initState() here.
4247 (produce): Call initState() here, to ensure area_prepared and
4248 area_updated signals are properly connected.
4249 * gnu/java/awt/peer/gtk/GtkImage.java
4250 (setColorModel): Use equals() to compare ColorModel objects.
4251 (setPixels): Likewise.
4252 * java/awt/image/ColorModel.java
4253 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4254 * java/awt/image/RGBImageFilter.java
4255 (setColorModel): Set consumer's color model.
4256 (setPixels): Use equals() to compare ColorModel objects.
4258 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4260 * java/net/URLConnection.java (position): New field.
4261 (dateFormat1, dateFormat2, dateFormat3): Removed.
4262 (dateFormats): New field.
4263 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4264 each time instead of re-allocating.
4265 (initializeDateFormats): Initialize 'dateFormats'.
4267 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4270 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4273 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4275 * java/net/Socket.java (getImpl): Now private. Remove comment.
4277 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4279 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4280 of chained Writer when calling super-constructor.
4281 * java/io/FilterWriter.java (FilterWriter): Likewise.
4282 * java/io/PrintWriter.java (PrintWriter): Likewise.
4284 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4286 * prims.cc (process_gcj_properties): Don't increment i within LHS
4289 2004-07-19 Per Bothner <per@bothner.com>
4291 Print -verbose:message on "loading", not initialization.
4292 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4293 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4294 gcj::verbose_class_flag.
4295 * java/lang/natClass.cc (initializeClass): Don't print message here.
4296 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4297 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4298 (_Jv_PrepareCompiledClass): Likewise.
4300 2004-07-18 Matthias Klose <doko@debian.org>
4302 * configure.in: Substitute target_noncanonical.
4303 * configure: Regenerate
4305 2004-07-17 Michael Koch <konqueror@gmx.de>
4307 * java/lang/String.java: Fixed javadocs all over.
4309 2004-07-17 Mark Wielaard <mark@klomp.org>
4311 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4312 when size is smaller.
4313 * java/io/RandomAccessFile.java (setLength): Use truncate for
4314 shrinking the file and seek plus write for expanding the file.
4316 2004-07-17 Michael Koch <konqueror@gmx.de>
4318 * gnu/java/nio/channels/natFileChannelPosix.cc
4319 (implTruncate): Always save current position. Only reposition file
4320 pointer to where we started if not beyond new lenght. Reposition file
4321 pointer to file length if it points beyond the end of file.
4323 2004-07-17 Mark Wielaard <mark@klomp.org>
4325 * javax/swing/Box.java: Put FIXME comment above class declaration.
4326 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4327 * javax/swing/JCheckBox.java: Likewise.
4328 * javax/swing/JDialog.java: Likewise.
4329 * javax/swing/JRadioButton.java: Likewise.
4330 * javax/swing/JToggleButton.java: Likewise.
4331 * javax/swing/UIManager.java: Likewise.
4332 * javax/swing/border/TitledBorder.java: Likewise.
4333 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4334 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4335 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4336 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4337 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4338 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4339 * javax/swing/text/JTextComponent.java: Likewise.
4341 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4343 * java/net/DatagramPacket.java (setAddress): Removed check for
4346 2004-07-17 Michael Koch <konqueror@gmx.de>
4348 * java/net/DatagramSocket.java
4349 (getLocalAddress): Check if socket is bound or not.
4350 * java/net/Socket.java
4351 (getLocalAddrss): Check if socket is bound or not.
4352 (getPort): Return -1 when not connected. Dont check getImpl() for
4354 (setReuseAddress): Check if socket is closed.
4355 (isConnected): Check if getImpl() returns null.
4357 2004-07-17 Mark Wielaard <mark@klomp.org>
4359 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4360 on notifier object before calling notifyAll().
4362 2004-07-17 Michael Koch <konqueror@gmx.de>
4364 * gnu/java/nio/channels/FileChannelImpl.java
4365 (finalize): Added javadoc.
4367 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4369 * java/text/CollationElementIterator.java
4370 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4371 (setText): Use ArrayList instead of Vector.
4373 2004-07-17 Michael Koch <konqueror@gmx.de>
4375 * java/nio/ByteOrder.java
4376 (static): Removed. Not needed.
4377 Thanks to Patrick Reali for noticing.
4378 * java/nio/charset/CharsetDecoder.java
4379 (decode): Fix for classpath bug #9177: Reset state before flipping.
4381 2004-07-17 Michael Koch <konqueror@gmx.de>
4383 * java/security/Security.java: Fixed javadocs all over.
4385 2004-07-17 Michael Koch <konqueror@gmx.de>
4387 * gnu/java/awt/EmbeddedWindow.java
4389 (addNotify): Set peer via reflection.
4390 (setWindowPeer): Removed.
4391 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4392 * Makefile.am (nat_source_files):
4393 Removed gnu/java/awt/natEmbeddedWindow.cc.
4394 * Makefile.in: Regenerated.
4396 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4398 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4400 * configure: Regenerated.
4402 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4404 * configure.in: Use build_noncanonical rather than build_alias.
4405 * configure: Rebuild.
4407 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4408 by logic refactoring. Move default definition of NATIVE closer
4409 to first alternate definition.
4410 * configure: Regenerate.
4412 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4413 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4414 gcj/Makefile.in: Regenerate.
4415 * configure.in: Set ZIP and GCJH. Remove redundant condition
4416 in AM_CONDITIONAL(NATIVE,...)
4417 * configure: Regenerate.
4419 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4421 * configure.in: Use target_noncanonical rather than
4422 target_alias for forward-compatibility with autoconf 2.59.
4423 * configure: Regenerate.
4424 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4425 testsuite/Makefile.am: Substitute target_noncanonical.
4426 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4427 testsuite/Makefile.in: Regenerate.
4429 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4430 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4431 * acinclude.m4: Include acx.m4.
4432 * aclocal.m4: Regenerate.
4433 * configure: Regenerate.
4435 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4438 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4439 (decimalFormat): New static variable.
4441 (getTime): New. Override Date.getTime().
4442 (toString): Synchronize. Use decimalFormat to format nanos value
4443 correctly. Truncate extra zeros.
4444 (before): Compare getNanos() only if getTime() is equal.
4447 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4449 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4450 * configure.in: ...here.
4451 * aclocal.m4: Regenerate.
4452 * configure: Regenerate.
4454 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4455 * configure: Rebuilt with autoconf 2.13.
4456 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4457 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4459 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4462 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4464 * Makefile.in: Rebuilt.
4465 * testsuite/libjava.lang/LargeFile.java: New test case.
4466 * testsuite/libjava.lang/LargeFile.out: New file.
4468 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4470 * java/beans/EventHandler.java: Remove debugging statements.
4472 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4474 * java/beans/EventHandler.java: New file.
4475 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4476 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4477 testsuite/Makefile.in: Regenerate.
4479 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4481 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4482 flag to the gcj_setup.
4483 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4485 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4486 deprecation flag change. 58 XFAILS removed.
4488 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4490 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4491 -fno-use-divide-subroutine.
4492 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4493 (HANDLE_FPE): Define.
4494 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4495 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4496 (HANDLE_DIVIDE_OVERFLOW): Define.
4498 2004-07-14 Michael Koch <konqueror@gmx.de>
4499 Matthias Klose <doko@debian.org>
4501 * java/awt/im/InputContext.java: Initialize in, line.
4503 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4505 * interpret.cc (run): Correctly access libffi return values of
4506 integral smaller-than-int type; these are implicitly promoted.
4508 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4511 * interpret.cc (compile_mutex): New.
4512 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4513 (run): Lock compile_mutex before calling compile() if compilation is
4515 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4516 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4518 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4521 * include/jvm.h (_Jv_value): New union type.
4522 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4523 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4526 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4528 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4529 * gnu/awt/xlib/XOffScreenImage.java
4530 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4531 constructor argument. Add constructor using ImageProducer.
4532 (getSource): Implement.
4533 (imageComplete): New method.
4534 (setColorModel): New method.
4535 (setDimensions): New method.
4536 (setHints): New method.
4537 (setPixels): New method.
4538 (setProperties): New method.
4539 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4540 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4542 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4545 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4546 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4547 (finalizerReady): Now native.
4549 (runFinalizers): Removed.
4550 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4551 a primitive lock, and don't hold it while running the finalizers.
4552 (runFinalizers): Implement. Don't aquire any Java lock.
4553 (finalizerReady): Use lock primitives to signal finalizer thread.
4555 2004-07-11 Mark Wielaard <mark@klomp.org>
4557 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4558 * java/net/URLStreamHandler.java (parseURL): When url file part
4559 doesn't contain a '/' just ignore context.
4561 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4563 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4564 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4565 (MAKE_THROW_FRAME): Do not modify PSW address.
4566 (INIT_SEGV): Install SIGINFO-style signal handler.
4567 (INIT_FPE): Likewise.
4569 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4571 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4572 status. 21 xfail's removed, 1 added.
4574 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4576 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4578 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4580 * java/text/MessageFormat.java
4581 (formatInternal): Append "{n}" if argument n is unavailable.
4582 (format(Object, StringBuffer, FieldPosition)): This
4583 should be equivalent to format(Object[],
4584 StringBuffer, FieldPosition).
4586 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4588 * java.util.Calendar.java (cache): New private static field. Cached
4589 mappings of locales->calendar classes.
4590 (ctorArgTypes): New private static field. Singleton argument for
4591 calendar class constructor lookup.
4592 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4593 Optimize by bypassing reflection instantiation for the
4594 GregorianCalendar case.
4596 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4598 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4599 ResourceBundle.getBundle() calls.
4600 * java/util/GregorianCalendar.java: Likewise.
4601 * java/util/Currency.java: Likewise.
4602 * java/text/BreakIterator.java: Likewise.
4603 * java/text/Collator.java: Likewise.
4604 * java/text/DateFormat.java: Likewise.
4605 * java/text/DateFormatSymbols.java: Likewise.
4606 * java/text/DecimalFormatSymbols.java: Likewise.
4607 * java/text/NumberFormat.java: Likewise.
4608 * java/awt/Window.java: Likewise.
4610 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4612 * java/util/ResourceBundle.java (bundleCache): Renamed from
4613 resourceBundleCache. Update comments.
4614 (getObject): Don't catch MissingResourceException.
4615 (getBundle(String)): Remove 'final'. Use system classloader if
4616 getCallingClassLoader returned null.
4617 (getBundle(String, Locale)): Likewise.
4618 (BundleKey): New private class. HashMap key for bundle cache lookup.
4619 (lookupKey): New. Singleton instance of BundleKey.
4620 (nullEntry): New. Cache entry to represent failed lookups.
4621 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4622 caching strategy, no-allocation lookup, and new tryBundle methods.
4623 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4624 name using given classloader.
4625 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4626 baseName for given Locale and attempt to load bundle.
4628 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4630 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4631 illegal protected method calls.
4633 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4635 Fix or remove some bogus test cases.
4636 * testsuite/libjava.compile/pr10459_2.java: Removed.
4637 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4639 * testsuite/libjava.compile/inner_data.java: Test against its own
4642 2004-07-09 Michael Koch <konqueror@gmx.de>
4644 * scripts/unicode-muncher.pl: Updated to version 2.1
4645 from GNU classpath. Added some clarifications on where to find the
4646 needed files from www.unicode.org.
4647 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4648 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4649 Removed, these can directly be downloaded from www.unicode.org if
4651 * gnu/java/lang/CharData.java: Regenerated.
4652 * include/java-chartables.h: Regenerated.
4653 * Makefile.am (ordinary_java_source_files):
4654 Removed gnu/java/lang/CharData.java.
4655 * Makefile.in: Regenerated.
4657 2004-07-09 Michael Koch <konqueror@gmx.de>
4659 * java/security/AccessControlContext.java,
4660 java/security/SecureClassLoader.java:
4663 2004-07-09 Michael Koch <konqueror@gmx.de>
4665 * java/io/ObjectInputStream.java (readFields): Use long datatype
4666 when shifting byte values more then 24 bits left.
4668 2004-07-09 Michael Koch <konqueror@gmx.de>
4670 * java/util/zip/DeflaterOutputStream.java,
4671 java/util/zip/GZIPInputStream.java,
4672 java/util/zip/GZIPOutputStream.java,
4673 java/util/zip/InflaterInputStream.java:
4674 Reformatted. Added javadocs. Reordered all stuff.
4675 Renamed variables to be more clear.
4677 2004-07-09 Michael Koch <konqueror@gmx.de>
4679 * javax/imageio/IIOException.java,
4680 javax/imageio/event/IIOReadProgressListener.java,
4681 javax/imageio/event/IIOReadUpdateListener.java,
4682 javax/imageio/event/IIOReadWarningListener.java,
4683 javax/imageio/event/IIOWriteProgressListener.java,
4684 javax/imageio/event/IIOWriteWarningListener.java:
4686 * Makefile.am: Added new files.
4687 * Makefile.in: Regenerated.
4689 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4691 * java/text/RuleBasedCollator.java
4692 (mergeRules): Use ArrayList instead of Vector.
4693 (subParseString): likewise.
4694 (parseString): likewise.
4695 (buildCollationVector): likewise.
4696 (getCollationKey): likewise.
4698 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4700 * java/text/DateFormat.java (parse):
4701 Improved javadoc. Improved exception message.
4703 2004-07-09 Mark Wielaard <mark@klomp.org>
4705 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4706 interrupted() method to clear interupt flag of our Thread.
4708 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4710 * java/nio/Buffer.java,
4711 java/nio/ByteBuffer.java,
4712 java/nio/ByteBufferHelper.java,
4713 java/nio/ByteBufferImpl.java,
4714 java/nio/CharBuffer.java,
4715 java/nio/CharBufferImpl.java,
4716 java/nio/CharViewBufferImpl.java,
4717 java/nio/DirectByteBufferImpl.java,
4718 java/nio/DoubleBuffer.java,
4719 java/nio/DoubleBufferImpl.java,
4720 java/nio/DoubleViewBufferImpl.java,
4721 java/nio/FloatBuffer.java,
4722 java/nio/FloatBufferImpl.java,
4723 java/nio/FloatViewBufferImpl.java,
4724 java/nio/IntBuffer.java,
4725 java/nio/IntBufferImpl.java,
4726 java/nio/IntViewBufferImpl.java,
4727 java/nio/LongBuffer.java,
4728 java/nio/LongBufferImpl.java,
4729 java/nio/LongViewBufferImpl.java,
4730 java/nio/MappedByteBufferImpl.java,
4731 java/nio/ShortBuffer.java,
4732 java/nio/ShortBufferImpl.java,
4733 java/nio/ShortViewBufferImpl.java:
4734 Fixed javadocs all over. Improved input error
4737 * java/nio/Buffer.java
4738 (checkForUnderflow, checkForOverflow, checkIndex,
4739 checkIfReadOnly, checkArraySize): New helper methods
4742 * java/nio/ByteBufferHelper.java
4743 (checkRemainingForRead, checkRemainingForWrite,
4744 checkAvailableForRead, checkAvailableForWrite): Removed
4745 no longer needed methods.
4747 2004-07-09 Michael Koch <konqueror@gmx.de>
4749 * gnu/regexp/CharIndexedInputStream.java:
4750 Reordered imports to match classpath.
4752 2004-07-09 Michael Koch <konqueror@gmx.de>
4754 * gnu/java/awt/EmbeddedWindow.java:
4755 Load native library for setWindowPeer method.
4757 2004-07-08 Randolph Chung <tausq@debian.org>
4759 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4760 * configure: Regenerate.
4761 * configure.host: Set can_unwind_signal for hppa*-linux.
4762 * include/pa-signal.h: New file.
4764 2004-07-07 Per Bothner <per@bothner.com>
4766 * Makefile.am: Add rules to build libgij from just gij.cc.
4768 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4769 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4770 (initializeClass): If verbose_class_flag, print message.
4771 * gij.cc (main): Handle -verbose:class flag.
4773 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4775 * configure.host: Enable hash synchronization on Darwin.
4776 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4777 ';', since this is a comment on Darwin.
4778 (compare_and_swap_release): Likewise.
4780 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4782 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4783 file portion of URL in addition to spec for file: protocol.
4785 2004-07-05 Anthony Green <green@redhat.com>
4787 * java/io/File.java (toURI): Merge from Classpath.
4789 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4791 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4792 before passing to URL constructor. Rethrow any MalformedURLException
4793 as a RuntimeException. Catch MalformedURLException specifically, not
4796 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4798 * java/util/Locale.java (readObject): Intern strings read from object
4801 2004-07-04 Michael Koch <konqueror@gmx.de>
4803 * gnu/gcj/runtime/FirstThread.java,
4804 gnu/gcj/runtime/natFirstThread.cc: Removed.
4805 * gnu/java/lang/MainThread.java,
4806 gnu/java/lang/natMainThread.cc: New files.
4807 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4808 * Makefile.am: Added new files and removed deleted ones.
4809 * Makefile.in: Regenerated.
4811 2004-07-03 Mark Wielaard <mark@klomp.org>
4812 Anthony Green <green@redhat.com>
4814 * java/net/URL.java (getFile): Clarify return value doc.
4815 (getPath): Return null if file is empty - not empty String.
4816 (set): Convert protocol to lower case before doing anything.
4817 Only change the protocol handler if it's different.
4819 2004-07-03 Anthony Green <green@redhat.com>
4821 * java/net/URL.java (URL): Convert protocol to lower case before
4822 doing anything, so we getURLStreamHandler() with the proper value.
4824 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4826 * java/util/Locale.java (hashcode): Made transient.
4827 (hashCode): No longer synchronized.
4828 (equals): Remove comment.
4829 (writeObject): No longer synchronized. Implement using writeObject
4830 calls instead of tweaking hashCode field. Update doc.
4831 (readObject): Implement using readObject calls.
4833 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4834 Andreas Tobler <a.tobler@schweiz.ch>
4836 * configure.host (powerpc-*-darwin*): New case, define
4838 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4839 * configure: Regenerate.
4840 * include/darwin-signal.h: New.
4842 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4844 * java/beans/Statement.java (doExecute): Fix formatting.
4846 2004-06-29 Per Bothner <per@bothner.com>
4848 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4849 etc etc): Remove needless parenthesis, which causes __stdcall__
4850 attribute on MinGW to get ignored.
4852 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4854 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4856 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4858 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4860 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4862 * java/beans/Expression.java: New file.
4863 * java/beans/Statement.java: New file.
4864 * Makefile.am: Added new files.
4865 * Makefile.in: Re-generate.
4867 2004-06-27 Mark Wielaard <mark@klomp.org>
4869 * java/io/FilePermission.java (usingPerms): Removed.
4870 (actionsString): Made final.
4871 (cachePerms): Renamed to checkPerms.
4872 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4874 (FilePermission): Check arguments, call checkPerms().
4875 (equals): Remove cachePerms() call.
4876 (implies): Likewise.
4878 2004-06-27 Mark Wielaard <mark@klomp.org>
4880 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4882 (sendRequest): Use new field in user-agent http agent.
4884 2004-06-27 Mark Wielaard <mark@klomp.org>
4886 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4887 when argument is null.
4889 2004-06-26 Mark Wielaard <mark@klomp.org>
4891 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4892 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4894 (cancel_clicked): Likewise.
4896 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4898 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4899 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4900 can not calculate the right value.
4901 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4903 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4905 * testsuite/libjava.jacks/jacks.xfail: Remove
4906 15.9.1-qualified-concrete-20.
4908 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4910 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4911 encoding name to iconv.
4912 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4914 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4917 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4918 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4919 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4921 2004-06-21 Andrew Haley <aph@redhat.com>
4923 * java/io/ObjectOutputStream.java: Add DEBUG statements
4925 (dumpElementln): New method.
4927 * java/io/ObjectInputStream.java
4928 (currentClassLoader): Make native.
4929 (callersClassLoader): New field.
4931 (readObject): ENDBLOCKDATA is generated if the class has a write
4932 method, not if it has a read method.
4933 (readObject): Save and restore this.currentObject and
4934 this.currentObjectStreamClass around calls to callReadMethod().
4935 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4938 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4940 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4943 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4945 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4946 if desired, before the default class loader is initialised.
4947 Call INIT_SEGV only if HANDLE_SEGV is defined.
4949 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4951 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4952 directory only if it actually exists.
4954 2004-06-18 Graydon Hoare <graydon@redhat.com>
4956 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4957 Fix up non-ansi comments.
4959 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4961 * javax/swing/text/AbstractDocument.java: Adding missing import
4962 for javax.swing.event.EventListenerList.
4963 * javax/swing/text/DefaultCaret.java: Likewise.
4965 2004-06-17 Michael Koch <konqueror@gmx.de>
4967 * javax/swing/JToolBar.java
4969 (JToolBar): Use Component.setName(String) instead of doing it all
4971 * javax/swing/Timer.java
4972 (queueEvent): Added missing modifier.
4974 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4976 * Makefile.am: Added new file.
4977 * Makefile.in: Re-generate.
4978 * javax/swing/JMenu.java:
4979 (insertSeparator): Implemented.
4980 * javax/swing/JPopupMenu.java:
4981 (JPopupMenu.Separator): Implemented.
4982 * javax/swing/MenuSelectionManager.java:
4983 (processMouseEvent): Use java.awt.Component
4984 for event source instead of javax.swing.JComponent.
4985 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4986 New File. Implemented.
4988 2004-06-16 David Jee <djee@redhat.com>
4990 * java/awt/GridBagLayout.java
4991 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4992 Make sure pos_x and pos_y are never negative.
4994 2004-04-16 Andrew Overholt <overholt@redhat.com>
4996 * Makefile.am: Add new file.
4997 * Makefile.in: Re-generate.
4998 * javax/swing/JToolBar.java
4999 Partially implemented.
5000 * javax/swing/plaf/basic/BasicToolBarUI.java
5001 New file. Partially implemented.
5003 2004-06-16 Graydon Hoare <graydon@redhat.com>
5005 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5006 (setComposite): Accept AlphaComposite arguments.
5007 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
5008 (createBufferedImage): Add new overloads.
5009 * gnu/java/awt/peer/gtk/GtkToolkit.java
5010 (createImage): Use GdkPixbufDecoder.createBufferedImage
5011 when useGraphics2D() is true.
5012 (getImage): Delegate to createImage.
5013 * javax/swing/JList.java
5015 (getFirstVisibleIndex):
5016 (getLastVisibleIndex):
5018 (ensureIndexIsVisible): New methods.
5019 * javax/swing/Timer.java: Reimplement.
5021 2004-06-16 Michael Koch <konqueror@gmx.de>
5023 * javax/swing/text/AbstractDocument.java
5024 (AbstracElement): Made public, implements java.io.Serializable.
5025 (AttributeContext): Made public.
5026 (BranchElement): Likewise.
5027 (Content): Likewise.
5028 (DefaultDocumentEvent): Made public, extends
5029 javax.swing.undo.CompoundEdit.
5030 (ElementEdit): Made public, extends
5031 javax.swing.undo.AbstractUndoableEdit.
5032 (LeafElement): Made public.
5033 (LeafElement.LeafElement): Made public.
5035 2004-06-16 Michael Koch <konqueror@gmx.de>
5037 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
5038 methods (that were obviously never be intended to get included hi this
5039 class. Added some methods too.
5041 2004-06-16 Michael Koch <konqueror@gmx.de>
5043 * javax/swing/text/PlainDocument.java
5044 (serialVersionUID): New constant.
5045 (lineLimitAttribute): Likewise.
5046 (tabSizeAttribute): Likewise.
5047 (tabSize): New field.
5048 (PlainDocument): Made public.
5049 (PlainDocument): New constructor.
5051 2004-06-16 Michael Koch <konqueror@gmx.de>
5053 * javax/swing/text/AbstractDocument.java
5054 (insertString): Throws BadLocationException.
5055 * javax/swing/text/Document.java
5056 (insertString): Likewise.
5057 * javax/swing/text/JTextComponent.java:
5058 Javadocs and comments cleaned up.
5060 2004-06-16 Michael Koch <konqueror@gmx.de>
5062 * javax/swing/event/UndoableEditListener.java: Reformatted.
5063 * javax/swing/text/AbstractDocument.java
5064 (AbstractDocument): Implements java.io.Serializable.
5065 (doc_list): Removed.
5066 (undo_list): Removed.
5067 (AbstractElement.serialVerionUID): New field.
5068 (BranchElement.serialVerionUID): Likewise.
5069 (DefaultDocumentEvent.serialVerionUID): Likewise.
5070 (ElementEdit.serialVerionUID): Likewise.
5071 (LeafElement.serialVerionUID): Likewise.
5072 (serialVerionUID): Likewise.
5073 (BAD_LOCATION): New constant.
5074 (BidiElementName): Likewise.
5075 (ContentElementName): Likewise.
5076 (ParagraphElementName): Likewise.
5077 (SectionElementName): Likewise.
5078 (ElementNameAttribute): Likewise.
5079 (AbstractDocument): Made protected.
5080 (AbstractDocument): New construtor.
5081 (listenerList): New field.
5082 (fireChangedUpdate): Implemented.
5083 (fireInsertUpdate): Likewise.
5084 (fireRemoveUpdate): Likewise.
5085 (fireUndoableEditUpdate): Likewise.
5086 (getListeners): Likewise.
5087 (addDocumentListener): Likewise.
5088 (removeDocumentListener): Likewise.
5089 (addUndoableEditListener): Likewise.
5090 (removeUndoableEditListener): Likewise.
5091 (getDocumentListeners): New method.
5092 (getUndoableEditListeners): Likewise.
5093 (getAsynchronousLoadPriority): Made public.
5094 (getBidiRootElement): Likewise.
5095 (setAsynchronousLoadPriority): Likewise.
5096 (setDocumentProperties): Likewise.
5097 * javax/swing/text/BadLocationException.java
5098 (serialVerionUID): New field.
5099 * javax/swing/text/DefaultCaret.java
5100 (changeEvent): New field.
5101 (listenerList): Likewise.
5103 (addChangeListener): Reimplemented.
5104 (removeChangeListener): Likewise.
5105 (getListeners): New method.
5106 (getChangeListeners): Likwise.
5107 (getComponent): Likewise.
5108 * javax/swing/text/GapContent.java
5109 (GapContent): Implements java.io.Serializable.
5110 (serialVerionUID): New field.
5112 2004-06-16 Michael Koch <konqueror@gmx.de>
5114 * javax/swing/JTree.java
5115 (treeModel): New field.
5116 (JTree): New constructors, one existing one made public.
5117 (createTreeModel): New method.
5118 (addTreeExpansionListener): Likewise.
5119 (removeTreeExpansionListener): Likewise.
5120 (getTreeExpansionListeners): Likewise.
5121 (fireTreeCollapsed): Likewise.
5122 (fireTreeExpanded): Likewise.
5123 (addTreeSelectionListener): Likewise.
5124 (removeTreeSelectionListener): Likewise.
5125 (getTreeSelectionListeners): Likewise.
5126 (fireValueChanged): Likewise.
5127 (addTreeWillExpandListener): Likewise.
5128 (removeTreeWillExpandListener): Likewise.
5129 (getTreeWillExpandListeners): Likewise.
5130 (fireTreeWillCollapse): Likewise.
5131 (fireTreeWillExpand): Likewise.
5133 2004-06-16 Michael Koch <konqueror@gmx.de>
5135 * javax/swing/JTree.java: Reformatted.
5137 2004-06-16 Michael Koch <konqueror@gmx.de>
5139 * javax/swing/JTextArea.java: New file.
5140 * javax/swing/JTextField.java
5142 (notifyAction): New constant.
5143 (columns): New field.
5144 (JTextField): New constructors.
5145 (createDefaultModel): New method.
5146 (addActionListener): Reimplmemented.
5147 (removeActionListener): Reimplemented.
5148 (getActionListeners): New method.
5149 (fireActionPerformed): New method.
5150 (getColumns): New method.
5151 (setColumne): New method.
5152 * javax/swing/text/JTextComponent.java
5153 (AccessibleJTextComponent.serialVersionUID): New field.
5154 (serialVersionUID): Likewise.
5155 (DEFAULT_KEYMAP): Likewise.
5156 (FOCUS_ACCELERATOR_KEY): Likewise.
5157 (doc): Made private.
5158 (icon_gap): Likewise.
5161 (JTextComponent): Some constructors removed.
5162 (getScrollableTracksViewportHeight): New method.
5163 (getScrollableTracksViewportWidth): Likewise.
5164 * Makefile.am: Added javax/swing/JTextArea.java.
5165 * Makefile.in: Regenerated.
5167 2004-06-15 Graydon Hoare <graydon@redhat.com>
5169 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5170 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5171 * javax/swing/JViewport.java
5172 (getExtentSize): Return size rather than preferred size.
5173 (toViewCoordinates): New methods.
5174 (getViewSize): Return size rather than preferred size.
5175 (setViewSize): Note view size as set.
5176 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5177 * javax/swing/plaf/basic/BasicScrollBarUI.java
5178 (getPreferredSize): Don't redo layout.
5179 * javax/swing/plaf/basic/BasicViewportUI.java
5180 (paint): Translate image properly and eat exceptions.
5182 2004-06-15 Kim Ho <kho@redhat.com>
5184 * javax/swing/JTabbedPane.java
5185 (setComponent): Remove old component and
5187 (setSelectedIndex): Don't operate on the
5188 components if they're null. Don't set index
5189 on the model if the index is the same.
5190 (insertTab): Don't add or hide the component
5191 if it's null. Repaint the container.
5192 * javax/swing/plaf/basic/BasicLookAndFeel.java
5193 Change colors for TabbedPane.
5194 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5195 (mousePressed): Re-layout and paint the component.
5196 (layoutContainer): Don't set location on the view.
5197 (ScrollingViewport::paint): Remove.
5199 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5202 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5205 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5206 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5208 (drawLine): Call gdk_flush before leaving GDK critical region.
5209 (fillRect): Likewise.
5210 (drawRect): Likewise.
5211 (copyArea): Likewise.
5212 (copyPixmap): Likewise.
5213 (clearRect): Likewise.
5214 (drawArc): Likewise.
5215 (drawPolyline): Likewise.
5216 (drawPolygon): Likewise.
5217 (fillPolygon): Likewise.
5218 (fillArc): Likewise.
5219 (drawOval): Likewise.
5220 (fillOval): Likewise.
5222 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5224 (GdkFontMetrics): Add style argument to initState call.
5225 (stringWidth(String,int,int,String)): Add style parameter.
5226 (stringWidth(String)): Add style argument to stringWidth call.
5227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5228 (initState): Set pango font style and weight based on AWT style
5229 parameter. Pass default GTK language to
5230 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5231 simply dividing by PANGO_SCALE.
5232 (stringWidth): Set pango font style and weight based on AWT style
5235 * java/awt/Button.java (next_button_number): New field.
5236 (paramString): Change output.
5237 (generateName): New method.
5238 (getUniqueLong): New method.
5240 2004-06-14 Kim Ho <kho@redhat.com>
5242 * javax/swing/JTabbedPane.java:
5243 (setComponentAt): Set the component, not
5245 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5246 (actionPerformed): Let deiconize catch exception.
5248 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5250 * javax/swing/JPopupMenu.java:
5251 (setVisible): Corrected location of a
5252 heavyweight popup menu.
5254 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5256 * javax/swing/MenuSelectionManager.java:
5257 Ran through jalopy to fix formatting style.
5259 2004-06-14 Olga Rodimina <rodimina@redhat.com>
5261 * javax/swing/JLayeredPane.java:
5262 (remove): Revalidate and repaint layered pane after
5263 the component was removed.
5264 javax/swing/JMenu.java:
5265 (setVisible): Display popup menu at the user location,
5266 if one was set by the user.
5267 (setMenuLocation): Reimplemented. Fixed javadoc.
5268 * javax/swing/JMenuBar.java: Added javadoc.
5269 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5270 (MODEL_CHANGED_PROPERTY): New Property.
5271 (isSelected): Implemented.
5272 (setBorderPainted): Fire PropertyChangeEvent
5273 if paintBorder property changes.
5274 (setSelected): Implemented.
5275 (setSelectionModel): Implemented.
5276 * javax/swing/JPopupMenu.java: Added Javadoc
5277 (pack): Implemented.
5278 (setVisible): Reimplemented.
5279 (show): Fixed location.
5280 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5281 Container instead of JPanel.
5282 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5283 (clearSelectedPath): Reimplemented to clear selectedPath
5285 (processMouseEvent): Reimplemented.
5286 (setSelectedPath): Fire stateChange event indicating that
5287 selected menu path has changed.
5288 (getPath): Change to use ArrayList instead of Vector.
5289 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5290 (installUI): call installKeyboardActions().
5291 (uninstallUI): call uninstallKeyboardActions().
5293 2004-06-13 Michael Koch <konqueror@gmx.de>
5295 * javax/swing/text/DefaultCaret.java,
5296 javax/swing/text/BadLocationException.java:
5299 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5301 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5302 DEFAULT_COLS): New variables.
5303 (create): Don't allow 0 rows or 0 columns. Instead, set the
5304 values to DEFAULT_ROWS or DEFAULT_COLS.
5305 (getMinimumSize): Likewise.
5306 (getPreferredSize): Likewise.
5307 (minimumSize): Likewise.
5308 (preferredSize): Likewise.
5309 (create): Set peer's editable state.
5310 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5311 zero. Update javadocs.
5312 (TextArea(String)): Likewise.
5313 (TextArea(int,int)): Fix javadocs.
5314 (TextArea(String,int,int,int)): Only throw exception if one of
5315 rows or columns is zero. Fix javadocs.
5317 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5319 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5320 addition to Components.
5322 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5323 wasn't consumed by normal processing, send it to the parent
5326 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5327 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5330 2004-06-11 David Jee <djee@redhat.com>
5332 * java/awt/MediaTracker.java
5333 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5334 (addImage(Image,int,int,int)): Likewise.
5336 2004-06-11 Michael Koch <konqueror@gmx.de>
5338 * javax/swing/text/AbstractDocument.java,
5339 javax/swing/text/Document.java,
5340 javax/swing/text/GapContent.java,
5341 javax/swing/text/JTextComponent.java,
5342 javax/swing/text/PlainDocument.java:
5345 2004-06-11 Michael Koch <konqueror@gmx.de>
5347 * javax/swing/JRootPane.java
5348 (AccessibleJRootPane.serialVersionUID): New field.
5349 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5350 (AccessibleJRootPane.getAccessibleRole): New method.
5351 (RootLayout): Implements Serializable.
5352 (RootLayout.serialVersionUID): New field.
5353 (RootLayout.RootLayout): New constructor.
5354 (setJMenuBar): Made public.
5355 (getJMenuBar): Likewise.
5356 (JRootPane): Likewise.
5357 (createContentPane): Likewise.
5358 (createGlassPane): Likewise.
5359 (createLayeredPane): Likewise.
5361 2004-06-11 Michael Koch <konqueror@gmx.de>
5363 * javax/swing/SwingUtilities.java
5364 (isLeftMouseButton): Fixed javadoc.
5365 (isMiddleMouseButton): Likewise.
5366 (isRightMouseButton): Likewise.
5368 2004-06-11 Michael Koch <konqueror@gmx.de>
5370 * javax/swing/JScrollPane.java
5371 (serialVersionUID): New field.
5372 (columnHeader): Made protected.
5373 (rowHeader): Likewise.
5374 (lowerLeft): Likewise.
5375 (lowerRight): Likewise.
5376 (upperLeft): Likewise.
5377 (upperRight): Likewise.
5378 (horizontalScrollBar): Likewise.
5379 (horizontalScrollBarPolicy): Likewise.
5380 (verticalScrollBar): Likewise.
5381 (verticalScrollBarPolicy): Likewise.
5382 (viewport): Likewise.
5384 2004-06-11 Michael Koch <konqueror@gmx.de>
5386 * javax/swing/LookAndFeel.java: Fixed javadocs.
5388 2004-06-11 Michael Koch <konqueror@gmx.de>
5390 * javax/swing/JEditorPane.java: Fixed javadocs.
5391 (JEditorPane): Removed redundant call to to this().
5392 (fireHyperlinkUpdate): Implemented.
5394 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5396 * javax/swing/JMenu.java: Fixed file name
5397 in the file comment.
5399 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5401 * javax/swing/JMenu.java: Added javadoc.
5402 (JMenu): Added MenuChangeListener to listen to
5403 ChangeEvents occuring in menu's model.
5404 (insert): Throw IllegalArgumentException if
5405 index is less than 0
5406 (setSelected): Reimplement.
5407 (setPopupMenuVisible): Call menu's model isEnabled()
5408 (setDelay): Throw IllegalArgumentException if
5409 given amount of delay is less than 0.
5410 (createActionComponent): Implemented.
5411 (createActionChangeListener): Implemented.
5412 (addSeparator): Implemented.
5413 (getItem): Throw IllegalArgumentException if index is
5415 (getItemCount): Implemented.
5416 (fireMenuSelected): Changed to use menuEvent.
5417 (fireMenuDeselected): Likewise.
5418 (fireMenuCanceled): Likewise.
5419 (setAccelerator): Changed to throw an error if this
5421 (doClick): Implemented.
5422 (JMenu.ActionChangedListener): New inner class to handle
5423 PropertyChangeEvents occuring in the actions associated with menu.
5424 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5425 (BasicMenuUI): Added PropertyChangeListener to the menu.
5426 (createChangeListener): Implemented.
5427 (createMenuDragMouseListener): Likewise.
5428 (createMenuKeyListener): Likewise.
5429 (createPropertyChangeListener): Likewise.
5430 (uninstallListeners): Likewise.
5431 (BasicMenuUI.MouseInputHandler): Reimplemented.
5432 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5433 (BasicMenuUI.ChangeHandler): Likewise.
5434 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5435 (BasicMenuUI.MenuKeyHandler): Likewise.
5437 2004-06-10 David Jee <djee@redhat.com>
5439 * java/awt/MediaTracker.java
5440 (imageUpdate): Only do notifyAll() if the image is complete.
5442 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5444 * javax/swing/JApplet.java:
5445 (getJMenuBar): Made public.
5446 (setJMenuBar): Likewise.
5447 * javax/swing/JFrame.java:
5448 (getJMenuBar): Made public.
5449 (setJMenuBar): Likewise.
5450 * javax/swing/JWindow.java:
5451 (getJMenuBar): Removed.
5452 (setJMenuBar): Removed.
5454 2004-06-10 Michael Koch <konqueror@gmx.de>
5456 * javax/swing/JEditorPane.java
5457 (createEditorKitForContentType): Fixed visibility.
5458 (fireHyperlinkUpdate): Likewise.
5459 (getContentType): Likewise.
5460 (getEditorKit): Likewise.
5461 (getEditorKitForContentType): Likewise.
5462 (getPage): Likewise.
5464 (registerEditorKitForContentTyoe): Likewise.
5465 (replaceSelection): Likewise.
5466 (setContentType): Likewise.
5467 (setEditorKit): Likewise.
5468 (setPage): Likewise.
5470 2004-06-10 Michael Koch <konqueror@gmx.de>
5472 * javax/swing/Timer.java
5473 (Timer): New constructor.
5474 * javax/swing/plaf/basic/BasicProgressBarUI.java
5475 (animationTimer): Don't initialize at construction.
5476 (startAnimationTimer): Added since tag.
5477 (stopAnimationTimer): Likewise.
5478 (installUI): Use new Timer constructor.
5479 * javax/swing/plaf/basic/BasicScrollBarUI.java
5480 (installUI): Likewise.
5481 * javax/swing/plaf/basic/BasicSliderUI.java
5482 (installUI): Likewise.
5484 2004-06-10 Michael Koch <konqueror@gmx.de>
5486 * javax/swing/ButtonGroup.java
5487 (serialVersionUID): Made private.
5488 (buttons): Renamed from v, added javadoc.
5489 (sel): Added javadoc.
5490 (ButtonGroup): Likewise.
5493 (getElements): Likewise.
5494 (getSelection): Likewise.
5495 (setSelected): Likewise.
5496 (isSelected): Likewise.
5497 (getButtonCount): Likewise.
5499 2004-06-10 Michael Koch <konqueror@gmx.de>
5501 * javax/swing/ButtonGroup.java,
5502 javax/swing/ImageIcon.java,
5503 javax/swing/JEditorPane.java,
5504 javax/swing/JRootPane.java,
5505 javax/swing/JTextField.java,
5506 javax/swing/LookAndFeel.java,
5507 javax/swing/plaf/basic/BasicTextUI.java:
5510 2004-06-10 Michael Koch <konqueror@gmx.de>
5512 * javax/swing/text/Style.java: Added javadocs.
5514 2004-06-10 Michael Koch <konqueror@gmx.de>
5516 * javax/swing/JComponent.java
5517 (fireVetoableChange): Removed redundant cast.
5518 * javax/swing/JLabel.java
5519 (getDisabledIcon): Save icon for next call.
5521 2004-06-10 Michael Koch <konqueror@gmx.de>
5523 * javax/swing/KeyStroke.java
5524 (getKeyStroke(char,boolean)): Marked deprecated.
5526 2004-06-10 Michael Koch <konqueror@gmx.de>
5528 * javax/swing/DefaultCellEditor.java,
5529 javax/swing/GrayFilter.java,
5530 javax/swing/event/DocumentEvent.java,
5531 javax/swing/text/JTextComponent.java,
5532 javax/swing/text/MutableAttributeSet.java:
5535 2004-06-10 Michael Koch <konqueror@gmx.de>
5537 * javax/swing/plaf/BorderUIResource.java:
5538 Added serialVersionUID all over.
5540 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5542 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5544 2004-06-10 Michael Koch <konqueror@gmx.de>
5546 * javax/swing/table/DefaultTableCellRenderer.java
5547 (noFocusBorder): Initialize directly.
5549 2004-06-10 Michael Koch <konqueror@gmx.de>
5551 * javax/swing/plaf/basic/BasicArrowButton.java
5552 (setDirection): Use method argument.
5554 2004-06-10 Michael Koch <konqueror@gmx.de>
5556 * javax/swing/plaf/BorderUIResource.java,
5557 javax/swing/plaf/ComponentUI.java,
5558 javax/swing/undo/CompoundEdit.java,
5559 javax/swing/undo/StateEdit.java:
5560 Fixed javadocs all over.
5562 2004-06-10 Michael Koch <konqueror@gmx.de>
5564 * javax/swing/DefaultButtonModel.java
5565 (ARMED): Made public final, fixed value.
5566 (ENABLED): Likewise.
5567 (PRESSED): Likewise.
5568 (ROLLOVER): Likewise.
5569 (SELECTED): Likewise.
5570 (stateMask): Initialize directly.
5571 (listenerList): Likewise.
5572 (mnemonic): Likewise.
5573 (fireStateChanged): Removed argument, use changeEvent as event.
5574 All places where this method is called are fixed too.
5575 (getActionCommant): Fixed javadoc.
5576 (setGroup): Fixed javadoc.
5577 (getGroup): New method.
5579 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5581 * javax/swing/AbstractButton.java
5582 (AbstractButton): Use init() to initialize the button.
5583 (init): New Method. Initializes AbstractButton.
5584 * javax/swing/JMenuItem.java: Documented.
5585 (JMenuItem): Reimplemented.
5586 (init): Implemented.
5587 (setEnabled): Changed to call super.setEnabled()
5588 (processMouseEvent): Reimplemented.
5589 (fireMenuKeyPressed): Implemented.
5590 (fireMenuKeyReleased): Implemented.
5591 (fireMenuKeyTyped): Implemented.
5592 (menuSelectionChanged): disarm the model if the menu item was
5594 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5595 (getPath): Change to use ArrayList instead of Vector.
5596 (getPreferredSize): Renamed variable.
5597 (paintMenuItem): Paint margin area of menu item.
5598 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5599 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5600 menu item's bounds before clearing the selection.
5602 2004-06-09 David Jee <djee@redhat.com>
5604 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5605 (GtkTextComponentPeer): Set caret position to 0.
5606 * java/awt/TextComponent.java
5607 (setText): Set caret position to 0.
5608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5609 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5610 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5611 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5614 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5617 2004-06-09 Kim Ho <kho@redhat.com>
5619 * Makefile.am: New files
5620 * Makefile.in: Regenerated
5621 * java/awt/Container.java
5622 (getComponentAt): Removed.
5623 * javax/swing/AbstractAction.java
5624 (ENABLED_PROPERTY): New property.
5625 (putValue): Fire PropertyChangeEvents.
5626 (setEnabled): ditto.
5627 (firePropertyChange): Javadoc and implement
5629 * javax/swing/AbstractButton.java
5630 (setAction): Don't create PropertyChangeListener
5631 if new Action is null.
5632 (setIcon): Don't set icon till after comparing
5634 (configurePropertiesFromAction): Check mnemonic
5635 key before calling intValue().
5636 (createActionPropertyChangeListener): Check
5637 properties rather than bulk change.
5638 * javax/swing/DefaultDesktopManager.java:
5640 * javax/swing/DesktopManager.java:
5642 * javax/swing/JComponent.java
5643 (fireVetoableChange): Implement.
5644 (paintImmediately): Use root component.
5645 * javax/swing/JDesktopPane.java: Implement
5646 * javax/swing/JInternalFrame.java: Implement
5647 * javax/swing/JLabel.java
5648 (getDisabledIcon): Return grayscaled icon if
5649 no disabled icon specified.
5650 * javax/swing/JMenuBar.java
5651 (getComponentAtIndex): Use getComponent
5652 * javax/swing/JOptionPane.java
5653 (getDesktopPaneForComponent): Use SwingUtilities'
5655 (getFrameForComponent): ditto.
5656 * javax/swing/JSplitPane.java
5657 (remove): Use getComponent.
5658 * javax/swing/SwingUtilities.java
5659 (convertPoint): Implement.
5660 * javax/swing/plaf/basic/BasicButtonUI.java
5661 (paintButtonNormal): Check opaqueness before
5663 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5665 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5667 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5669 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5671 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5672 Change InternalFrame and Desktop colors.
5674 2004-06-09 David Jee <djee@redhat.com>
5676 * java/awt/Container.java
5677 (remove): Do not set component to invisible.
5679 2004-06-09 Michael Koch <konqueror@gmx.de>
5681 * javax/swing/tree/DefaultMutableTreeNode.java
5682 (getLeafCount): Renamed enum to e.
5684 2004-06-09 Michael Koch <konqueror@gmx.de>
5686 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5687 (positionForMouseEvent): Removed redundant semicolon.
5688 (continueDrag): Use method arguments.
5690 2004-06-09 Michael Koch <konqueror@gmx.de>
5692 * javax/swing/border/TitledBorder.java,
5693 javax/swing/filechooser/FileSystemView.java,
5694 javax/swing/plaf/basic/BasicButtonListener.java,
5695 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5696 javax/swing/plaf/basic/BasicLabelUI.java,
5697 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5698 javax/swing/plaf/basic/BasicScrollBarUI.java,
5699 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5700 javax/swing/plaf/basic/BasicSliderUI.java,
5701 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5702 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5703 javax/swing/table/JTableHeader.java,
5704 javax/swing/text/AbstractDocument.java,
5705 javax/swing/text/DefaultCaret.java,
5706 javax/swing/text/StyledEditorKit.java,
5707 javax/swing/tree/DefaultTreeCellEditor.java:
5708 Reworked import statements.
5710 2004-06-08 Graydon Hoare <graydon@redhat.com>
5712 * javax/swing/Box.java: Temporarily comment out code
5713 broken due to visibility bug.
5715 2004-06-09 Michael Koch <konqueror@gmx.de>
5717 * javax/swing/ImageIcon.java
5718 (ImageIcon): Added missing constructor.
5720 2004-06-08 Michael Koch <konqueror@gmx.de>
5722 * javax/swing/JToggleButton.java
5723 (JToggleButton): New constructor.
5724 (getAccessibleContext): Moved documentation into javadoc.
5725 (getUIClassID): Likewise.
5727 2004-06-08 Michael Koch <konqueror@gmx.de>
5729 * javax/swing/AbstractButton.java
5730 (getDisabledIcon): Create disabled icon if none exists yet.
5732 2004-06-08 Michael Koch <konqueror@gmx.de>
5734 * javax/swing/plaf/basic/BasicLookAndFeel.java
5735 (initClassDefaults): Added FormattedTextFieldUI.
5736 (loadResourceBundle): Renamed enum to e.
5738 2004-06-08 Michael Koch <konqueror@gmx.de>
5740 * javax/swing/plaf/basic/BasicButtonUI.java
5741 (paintIcon): Simplified.
5742 (paintText): Paint disabled button correctly.
5744 2004-06-08 Michael Koch <konqueror@gmx.de>
5746 * javax/swing/JComponent.java
5747 (createToolTip): Use official JToolTip API.
5749 2004-06-08 Michael Koch <konqueror@gmx.de>
5751 * javax/swing/JToolTip.java
5752 (JToolTip): No arguments in API.
5753 (setTipText): New method.
5755 2004-06-08 Michael Koch <konqueror@gmx.de>
5757 * javax/swing/SwingUtilities.java
5758 (isLeftMouseButton): New method.
5759 (isMiddleMouseButton): New method.
5760 (isRightMouseButton): New method.
5762 2004-06-08 Michael Koch <konqueror@gmx.de>
5764 * javax/swing/AbstractButton.java,
5765 javax/swing/CellRendererPane.java,
5766 javax/swing/JCheckBoxMenuItem.java,
5767 javax/swing/JColorChooser.java,
5768 javax/swing/JComboBox.java,
5769 javax/swing/JComponent.java,
5770 javax/swing/JDesktopPane.java,
5771 javax/swing/JFileChooser.java,
5772 javax/swing/JMenu.java,
5773 javax/swing/JMenuItem.java,
5774 javax/swing/JOptionPane.java,
5775 javax/swing/JPasswordField.java,
5776 javax/swing/JPopupMenu.java,
5777 javax/swing/JProgressBar.java,
5778 javax/swing/JRadioButtonMenuItem.java,
5779 javax/swing/JScrollBar.java,
5780 javax/swing/JSeparator.java,
5781 javax/swing/JSlider.java,
5782 javax/swing/JSplitPane.java,
5783 javax/swing/JTabbedPane.java,
5784 javax/swing/JTextField.java,
5785 javax/swing/JToolBar.java,
5786 javax/swing/text/JTextComponent.java:
5787 Fixed all constructors of accessibility classes.
5789 2004-06-08 Michael Koch <konqueror@gmx.de>
5791 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5794 2004-06-08 Michael Koch <konqueror@gmx.de>
5796 * javax/swing/Box.java
5797 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5798 (AccessibleBoxFiller.serialVersionUID): New member variable.
5799 * javax/swing/DefaultButtonModel.java
5800 (stateMask): Made protected.
5801 (listenerList): Likewise.
5802 (changeEvent): Likewise.
5804 (mnemonic): Likewise.
5805 (actionCommand): Likewise.
5806 (getListeners): New method.
5807 (getActionListeners): New method.
5808 (getItemListeners): New method.
5809 (getChangeListeners): New method.
5810 (fireItemStateChanged): Simplified.
5811 (fireActionPerformed): Simplified.
5812 (fireStateChanged): Simplified.
5813 * javax/swing/JFrame.java
5814 (JFrame): Implements WindowContants.
5815 (HIDE_ON_CLOSE): Removed.
5816 (EXIT_ON_CLOSE): Removed.
5817 (DISPOSE_ON_CLOSE): Removed.
5818 (DO_NOTHING_ON_CLOSE): Removed.
5819 (processWindowEvent): Exit with code 0.
5820 (setDefaultCloseOperation): Do security check before setting value.
5821 * javax/swing/JOptionPane.java
5822 (message): Initialize only in constructor.
5823 * javax/swing/JToolTip.java: Removed unused imports.
5824 * javax/swing/JViewport.java
5825 (serialVersionUID): New member variable.
5826 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5827 (BLIT_SCROLL_MODE): Likewise.
5828 (BACKINGSTORE_SCROLL_MODE): Likewise.
5829 (scrollUnderway): Made protected.
5830 (isViewSizeSet): Likewise.
5831 * javax/swing/ListModel.java: Fixed javadoc.
5832 * javax/swing/Popup.java: Likewise.
5833 * javax/swing/RepaintManager.java
5834 (paintDirtyRegions): Don't use internal classes of
5835 java.util.AbstractMap.
5836 * javax/swing/ScrollPaneConstants.java: Reindented.
5837 * javax/swing/ScrollPaneLayout.java
5838 (viewport): Made protected.
5839 (verticalScrollBar): Made protected, renamed to vsb.
5840 (horizontalScrollBar): Made protected, renamed to hsb.
5841 (rowHeader): Made protected, renamed to rowHead.
5842 (columnHeader): Made protected, renamed to colHead.
5843 (lowerLeft): Made protected.
5844 (lowerRight): Made protected.
5845 (upperLeft): Made protected.
5846 (upperRight): Made protected.
5847 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5848 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5850 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5852 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5853 LOADING if flags has SOMEBITS set.
5855 2004-06-07 Michael Koch <konqueror@gmx.de>
5857 * javax/swing/AbstractButton.java: Reorganized imports.
5858 * javax/swing/ActionMap.java: Likewise.
5859 * javax/swing/DefaultButtonModel.java: Likewise.
5860 * javax/swing/DefaultListModel.java: Likewise.
5861 * javax/swing/ImageIcon.java: Likewise.
5862 (serialVersionUID): New member variable.
5863 * javax/swing/JComboBox.java: Reorganized imports.
5864 * javax/swing/JComponent.java: Likewise.
5865 (ui): Made protected.
5866 (listenerList): Made protected.
5867 (TOOL_TIP_TEXT_KEY): New constant.
5868 (scrollRectToVisible): Removed redundant null check.
5869 * javax/swing/JFrame.java: Reorganized imports.
5870 * javax/swing/JInternalFrame.java: Reorganized imports.
5871 * javax/swing/JProgressBar.java: Likewise.
5872 * javax/swing/JRootPane.java: Likewise.
5873 * javax/swing/JScrollBar.java: Likewise.
5874 * javax/swing/JSeparator.java: Likewise.
5875 * javax/swing/JSlider.java: Likewise.
5876 * javax/swing/JTabbedPane.java: Likewise.
5877 * javax/swing/JTextField.java: Likewise.
5878 * javax/swing/JToolBar.java: Likewise.
5879 * javax/swing/JTree.java: Likewise.
5880 * javax/swing/JViewport.java: Likewise.
5881 * javax/swing/JWindow.java: Likewise.
5882 * javax/swing/KeyStroke.java: Likewise.
5883 * javax/swing/LookAndFeel.java: Likewise.
5884 * javax/swing/MenuSelectionManager.java: Likewise.
5885 * javax/swing/SwingUtilities.java: Likewise.
5886 * javax/swing/Timer.java: Likewise.
5887 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5888 * javax/swing/JList.java
5889 (HORIZONTAL_WRAP): Made final, fixed value.
5890 (VERTICAL): Likewise.
5891 (VERTICAL_WRAP): Likewise.
5893 2004-06-07 Michael Koch <konqueror@gmx.de>
5895 * javax/swing/AbstractButton.java
5896 (serialVersionUID): New member variable.
5897 (AccessibleAbstractButton.serialVersionUID): Likewise.
5898 (AbstractButton): Made public.
5899 * javax/swing/Box.java
5900 (AccessibleBox.serialVersionUID): New member variable.
5901 (Filler.serialVersionUID): Likewise.
5902 * javax/swing/DefaultListSelectionModel.java
5903 (serialVersionUID): Likewise.
5904 * javax/swing/JApplet.java
5905 (serialVersionUID): Likewise.
5906 * javax/swing/JCheckBox.java
5907 (serialVersionUID): Likewise.
5908 * javax/swing/JCheckBoxMenuItem.java
5909 (serialVersionUID): Likewise.
5910 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5911 * javax/swing/JColorChooser.java
5912 (serialVersionUID): Likewise.
5913 (AccessibleJColorChooser.serialVersionUID): Likewise.
5914 * javax/swing/JComponent.java
5915 (serialVersionUID): Made private.
5916 (AccessibleJComponent.serialVersionUID): New member variable.
5917 * javax/swing/JDesktopPane.java
5918 (serialVersionUID): Likewise.
5919 * javax/swing/JDialog.java
5920 (serialVersionUID): Likewise.
5921 * javax/swing/JFormattedTextField.java
5922 (serialVersionUID): Fixed value.
5923 * javax/swing/JFrame.java
5924 (serialVersionUID): New member variable.
5925 (getDefaultCloseOpertation): Made public.
5926 * javax/swing/JLayeredPane.java
5927 (serialVersionUID): Likewise.
5928 (LAYER_PROPERTY): Made final, fixed value.
5929 (JLayeredPane): Made public.
5930 * javax/swing/JMenu.java
5931 (AccessibleJMenu.serialVersionUID): New member variable.
5932 (WinListener.serialVersionUID): Likewise.
5933 * javax/swing/JMenuBar.java
5934 (serialVersionUID): Likewise.
5935 (getComponentAtIndex): Added @deprecated tag.
5936 * javax/swing/JMenuItem.java
5937 (serialVersionUID): New member variable.
5938 (AccessibleJMenuItem.serialVersionUID): Likewise.
5939 * javax/swing/JOptionPane.java
5940 (serialVersionUID): Likewise.
5941 (AccessibleJOptionPane.serialVersionUID): Likewise.
5942 * javax/swing/JPopupMenu.java
5943 (serialVersionUID): Likewise.
5944 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5945 (getPopupMenuListeners): New method.
5946 (getComponentAtIndex): Added @deprecated tag.
5947 * javax/swing/JProgressBar.java
5948 (serialVersionUID): New member variable.
5949 (AccessibleJProgressBar.serialVersionUID): Likewise.
5950 * javax/swing/JRadioButton.java
5951 (serialVersionUID): Likewise.
5952 * javax/swing/JRadioButtonMenuItem.java
5953 (serialVersionUID): Likewise.
5954 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5955 * javax/swing/JScrollBar.java
5956 (serialVersionUID): Likewise.
5957 (AccessibleJScrollBar.serialVersionUID): Likewise.
5958 * javax/swing/JSeparator.java
5959 (serialVersionUID): Likewise.
5960 (AccessibleJSeparator.serialVersionUID): Likewise.
5961 * javax/swing/JSlider.java: Fixed javadocs.
5962 (AccessibleJSlider.serialVersionUID): New member variable.
5963 * javax/swing/JSplitPane.java: Added copyright statement.
5964 (serialVersionUID): New member variable.
5965 (AccessibleJSplitPane.serialVersionUID): Likewise.
5966 * javax/swing/JTabbedPane.java
5967 (serialVersionUID): Likewise.
5968 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5969 (ModelListener.serialVersionUID): Likewise.
5970 (ModelListener.ModelListener): New constructor.
5971 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5972 (WRAP_TAB_LAYOUT): Likewise.
5973 * javax/swing/JTable.java
5974 (serialVersionUID): New member variable.
5975 * javax/swing/JToggleButton.java
5976 (serialVersionUID): Likewise.
5977 (ToggleButtonModel): Made static.
5978 (ToggleButtonModel.serialVersionUID): New member variable.
5979 * javax/swing/JToolTip.java
5980 (serialVersionUID): Likewise.
5981 * javax/swing/JTree.java
5982 (serialVersionUID): Likewise.
5983 * javax/swing/JWindow.java
5984 (serialVersionUID): Likewise.
5985 * javax/swing/Timer.java
5986 (serialVersionUID): Likewise.
5988 2004-06-06 Michael Koch <konqueror@gmx.de>
5990 * javax/swing/SwingConstants.java
5991 (NEXT): New constant.
5992 (PREVIOUS): Likewise.
5993 * javax/swing/UIManager.java
5994 (LookAndFeel): Made public.
5995 (LookAndFeel.getClassName): Likewise.
5996 (LookAndFeel.getName): Likewise.
5998 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6000 * javax/swing/JCheckBoxMenuItem.java:
6002 * javax/swing/JMenu.java: Likewise.
6003 * javax/swing/JMenuBar.java: Likewise.
6004 * javax/swing/JMenuItem.java: Likewise.
6005 * javax/swing/JPopupMenu.java: Likewise.
6006 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6007 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6008 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6009 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6010 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6011 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6012 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6014 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6016 * javax/swing/plaf/basic/BasicMenuUI.java:
6017 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6018 Call getPath() from super class instead.
6020 2004-05-31 David Jee <djee@redhat.com>
6022 * java/awt/Container.java
6023 (remove): Set component visibility to false after removing it.
6025 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
6027 * java/awt/Component.java (getForeground): Return SystemColor if
6029 (getBackground): Likewise.
6031 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6032 (item_highlighted): New function.
6033 (connectSignals): Set item_highlighted as list's select
6036 * java/applet/Applet.java: Revert changes from 2004-04-29,
6037 2004-03-15 and 2004-03-14.
6039 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6040 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
6043 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
6044 "Dialog" as the default font.
6045 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
6047 * java/awt/Component.java (getFont): Return "Dialog" font by
6049 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6050 Multiply size argument to pango_font_description_set_size by the
6051 DPI conversion factor rather than by PANGO_SCALE.
6052 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
6053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
6054 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
6055 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
6056 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6057 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
6058 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
6060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
6061 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
6062 Divide baseline y coordinate by DPI conversion factor rather
6063 than by PANGO_SCALE.
6064 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
6065 (area_prepared): Fix typo.
6066 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
6067 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
6068 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6069 (dpi_conversion_factor): New global variable.
6070 (init_dpi_conversion_factor): New function to calculate and
6071 track DPI conversion factor.
6072 (dpi_changed_cb): New callback.
6073 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
6075 2004-05-27 David Jee <djee@redhat.com>
6077 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6078 (getGraphics): Return a new GdkGraphics instance.
6079 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
6080 (getGraphics): Call super.getGraphics().
6082 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6084 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6085 (setNativeBounds): Clamp width and height values to >= 0.
6087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6088 (find_fg_color_widget): Handle GtkOptionMenu specially.
6090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6091 (pre_event_handler): Only post configure events to visible
6094 2004-05-26 David Jee <djee@redhat.com>
6096 * java/awt/BorderLayout.java
6097 (layoutContainer): Fix size calculations.
6099 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6102 (window_wm_protocols_filter): Remove function.
6103 (create): Remove filter that removes WM_TAKE_FOCUS client
6106 2004-06-17 Anthony Green <green@redhat.com>
6108 * java/util/zip/ZipFile.java (getInputStream): Return null if
6111 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6112 directory contents to the class path.
6114 2004-06-15 Andrew Haley <aph@redhat.com>
6116 * java/lang/natSystem.cc (getenv0): Don't assume environment
6117 variable is Latin 1 coded.
6119 2004-06-14 Andreas Jaeger <aj@suse.de>
6121 * configure.in: Support --enable-version-specific-runtime-libs.
6122 * configure: Regenerated.
6124 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6126 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6127 to pass ClassLoader argument.
6128 * java/util/GregorianCalendar.java: Likewise.
6129 * java/util/Currency.java: Likewise.
6130 * java/text/BreakIterator.java: Likewise.
6131 * java/text/Collator.java: Likewise.
6132 * java/text/DateFormat.java: Likewise.
6133 * java/text/DateFormatSymbols.java: Likewise.
6134 * java/text/DecimalFormatSymbols.java: Likewise.
6135 * java/text/NumberFormat.java: Likewise.
6136 * java/awt/Window.java: Likewise.
6138 2004-06-14 Andrew Haley <aph@redhat.com>
6140 * java/lang/System.java: (getenv0): New method.
6141 (getenv): Add security check. Do the right thing.
6142 * java/lang/natSystem.cc (getenv0): New method.
6144 2004-06-12 Mark Wielaard <mark@klomp.org>
6146 * javax/swing/RepaintManager.java
6147 (paintDirtyRegions): Use entrySet(), not values().
6149 2004-06-10 Mark Wielaard <mark@klomp.org>
6151 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6154 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
6156 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6157 when we already know the answer.
6158 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6159 (setStartRule,setEndRule): Don't take abs of day number.
6160 (getOffset): Clarify docs. Add argument checks.
6161 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6162 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6165 2004-06-10 Tom Tromey <tromey@redhat.com>
6167 * interpret.cc (run): Handle wide fload.
6169 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
6171 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6173 2004-06-05 Michael Koch <konqueror@gmx.de>
6175 * javax/swing/SwingConstants.java
6176 (NEXT): New constant.
6177 (PREVIOUS): Likewise.
6179 2004-06-05 Michael Koch <konqueror@gmx.de>
6181 * javax/swing/UIManager.java
6182 (LookAndFeel): Made public.
6183 (LookAndFeel.getName): Likewise.
6184 (LookAndFeel.getClassName): Likewise.
6186 2004-06-03 Michael Koch <konqueror@gmx.de>
6188 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6189 (requestFocus): Revert last changes.
6190 (gtkRequestFocus): Removed.
6191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6192 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6194 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6195 Reverted last patch.
6196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6197 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6198 Reverted comment change.
6200 2004-06-02 Olga Rodimina <rodimina@redhat.com>
6202 * javax/swing/JCheckBoxMenuItem.java:
6204 * javax/swing/JMenu.java: Likewise.
6205 * javax/swing/JMenuBar.java: Likewise.
6206 * javax/swing/JMenuItem.java: Likewise.
6207 * javax/swing/JPopupMenu.java: Likewise.
6208 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6209 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6210 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6211 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6212 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6213 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6214 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6216 2004-06-01 Tom Tromey <tromey@redhat.com>
6218 * java/io/ObjectStreamField.java: Cleaned up imports.
6220 2004-06-01 Michael Koch <konqueror@gmx.de>
6222 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6224 2004-06-01 Mark Wielaard <mark@klomp.org>
6226 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6228 2004-06-01 Michael Koch <konqueror@gmx.de>
6230 * java/security/Security.java
6231 (insertProviderAt): Use equals() instead of ==.
6232 (removeProvicer): Likewise.
6233 (getProvider): Likewise.
6234 * java/security/Signature.java
6235 (sign): Don't set state to UNINITIALIZED.
6238 2004-06-01 Mark Wielaard <mark@klomp.org>
6240 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6241 Implement by calling gtkRequestFocus.
6242 (gtkRequestFocus): New native method.
6243 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6244 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6246 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6248 (filter_expose_event_handler):
6250 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6251 (menu_pos): Mark static.
6253 2004-06-01 Michael Koch <konqueror@gmx.de>
6255 * java/text/CollationElementIterator.java,
6256 java/text/CollationKey.java,
6257 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6258 * testsuite/libjava.mauve/xfails: Removed all
6259 java.text.CollationElementIterator tests.
6261 2004-06-01 Michael Koch <konqueror@gmx.de>
6263 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6265 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6266 Java 1.5 keyword usage.
6268 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6270 * javax/swing/plaf/basic/BasicMenuUI.java:
6271 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6272 Call getPath() from super class instead.
6274 2004-05-31 Michael Koch <konqueror@gmx.de>
6276 * java/io/SequenceInputStream.java:
6277 Rename enum to e because enum is a keyword in Java 1.5.
6279 2004-05-31 Michael Koch <konqueror@gmx.de>
6281 * gnu/java/rmi/rmic/CompilerProcess.java:
6282 Fixed javadoc to by XHTML compliant.
6284 2004-05-30 Mark Wielaard <mark@klomp.org>
6286 * java/awt/Toolkit.java (loadSystemColors): Implement.
6288 2004-05-30 Michael Koch <konqueror@gmx.de>
6290 * java/lang/System.java: Reordered imports.
6292 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6294 * java/text/DecimalFormat.java
6295 (parse): Fixed parsing of decimal strings. Number of maximum
6296 digits to be read should now work.
6297 * java/text/SimpleDateFormat.java
6298 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6299 formatter. This fixes DateFormatTest.
6301 2004-05-30 Michael Koch <konqueror@gmx.de>
6303 * java/nio/Buffer.java
6304 (limit): Fixed off by one error.
6305 * java/nio/CharBuffer.java
6306 (wrap): Fixed arguments, added javadocs.
6308 2004-05-30 Michael Koch <konqueror@gmx.de>
6310 * gnu/java/beans/BeanInfoEmbryo.java,
6311 java/awt/im/InputContext.java,
6312 javax/swing/tree/DefaultMutableTreeNode.java:
6313 Rename enum to e because enum is a keyword in Java 1.5.
6315 2004-05-30 Michael Koch <konqueror@gmx.de>
6317 * gnu/java/math/MPN.java,
6318 java/awt/geom/Arc2D.java:
6319 Fixed javadocs all over.
6321 2004-05-30 Michael Koch <konqueror@gmx.de>
6323 * java/awt/DefaultKeyboardFocusManager.java
6324 (dispatchEvent): Call method to get key event dispatchers.
6325 (dispatchKeyEvent): Call method to get key event post processors.
6326 * javax/swing/JComponent.java
6327 (listenerList): Made protected.
6328 * javax/swing/JOptionPane.java
6329 (message): Don't initialize.
6330 (JOptionPane): Set message text.
6331 * javax/swing/JPopupMenu.java
6332 (show): Fixed typo in argument name.
6333 * javax/swing/RepaintManager.java
6334 (paintDirtyRegions): Use public API of java.util.Map.
6335 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6336 (positionForMouseEvent): Removed redundant ';'.
6337 (continueDrag): Use method arguments.
6339 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6341 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6344 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6346 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6348 * gnu/gcj/RawDataManaged.java: New file.
6349 * java/lang/Thread.java (data): Declare as RawDataManaged.
6350 * java/lang/natThread.cc (init_native): Cast natThread data to
6351 RawDataManaged, not jobject.
6352 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6353 * Makefile.in: Rebuilt.
6355 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6357 * java/util/SimpleTimeZone.java: Reverting my last change until I
6358 can fix it properly.
6360 2004-05-27 Michael Koch <konqueror@gmx.de>
6362 * javax/swing/JPopupMenu.java
6363 (isVisible): Do not use visible directly.
6364 (setVisible): Likewise.
6365 * javax/swing/JWindow.java
6366 (JWindow): call accessible constructor.
6367 * javax/swing/RepaintManager.java
6368 (paintDirtyRegions): Use public methods to obtain iterator.
6370 2004-05-25 David Jee <djee@redhat.com>
6372 * java/awt/Container.java
6373 (remove): Set component's parent to null only after we removed the
6374 component from its parent's layout manager.
6376 2004-05-25 David Jee <djee@redhat.com>
6378 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6379 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6381 * gnu/java/awt/peer/gtk/GtkListPeer.java
6382 (getSize): Change native method declaration.
6383 (minimumSize): Pass visible row count into getSize().
6384 (preferredSize): Likewise.
6385 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6386 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6387 natural size. Use visible row count to determine the final height
6390 2004-05-21 Graydon Hoare <graydon@redhat.com>
6392 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6393 (setClip): Minor correction to order of operations.
6395 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6396 * javax/swing/ScrollPaneLayout.java: Likewise.
6397 * javax/swing/JViewPort.java: Likewise.
6398 * javax/swing/ViewportLayout.java: Likewise.
6400 * javax/swing/JComponent.java: Rewrite.
6401 * javax/swing/RepaintManager.java: Likewise.
6403 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6404 * javax/swing/JList.java
6405 (setSelectedIndices):
6406 (getSelectedIndices):
6407 (getSelectedValues): New functions.
6408 (getPreferredScrollableViewportSize): Return preferred size.
6409 (getScrollableUnitIncrement):
6410 (getScrollableBlockIncrement): Initial implementations.
6411 * javax/swing/JRootPane.java: Clean up slightly.
6416 (isValidateRoot): Add overrides from JComponent.
6417 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6418 * javax/swing/UIManager.java (getDimension): Return the dimension.
6420 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6421 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6422 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6423 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6424 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6425 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6426 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6427 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6428 Likewise, and set background.
6429 * javax/swing/plaf/basic/BasicListUI.java:
6430 Likewise, and improve a bit.
6431 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6432 Likewise, and adjust calculations.
6433 * javax/swing/plaf/basic/BasicViewportUI.java:
6434 Likewise, and improve a bit.
6435 * javax/swing/plaf/basic/BasicLookAndFeel.java
6436 (Button.margin): Shrink.
6438 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6439 Hack to set horizontal always, workaround pango.
6441 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6442 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6443 Synchronize more often, check cairo status after ops,
6444 handle changes to cairo pattern API, check for disposal.
6446 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6448 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6449 (BasicMenuItemUI): Create propertyChangeListener.
6450 (getPath):Implemented.
6451 (installListeners): Add propertyChangeListener to menuItem.
6452 (uninstallListeners): Remove propertyChangeListener from menuItem.
6453 (update): Implemented.
6454 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6455 (mouseEntered): Take insets of popup menu into account when
6456 calculating position of popup menu.
6458 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6460 * Makefile.am: Added new file.
6461 * Makefile.in: Regenerate.
6462 * javax/swing/JMenuBar.java:
6463 Started implementation.
6464 * javax/swing/JPopupMenu.java:
6465 (setVisible): Fixed location of lightweight/mediumweight
6467 (show): Fixed location of PopupMenu.
6468 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6469 New file. UI Delegate for JMenuBar.
6470 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6471 (mouseEntered): Corrected position of the submenu.
6473 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6476 to _gtk_accel_group_attach.
6477 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6480 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6481 package access. Don't override setFont.
6482 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6483 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6484 gtkWidgetRequestFocus package access.
6485 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6487 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6488 Give gtkWidgetRequestFocus package access.
6489 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6490 gtkWidgetRequestFocus package access. Don't override setFont.
6491 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6493 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6494 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6496 (gtkSetFont): Likewise.
6497 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6499 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6500 (gtkSetFont): Whitespace fix.
6502 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6503 (gtkWidgetSetUsize): Remove method.
6505 2004-05-18 David Jee <djee@redhat.com>
6507 * java/awt/image/MemoryImageSource.java
6508 (newPixels(int,int,int,int,boolean)): Set only the specified
6509 rectangle of pixels.
6510 (newPixels(byte[],ColorModel,int,int)): Implement.
6511 (newPixels(int[],ColorModel,int,int)): Implement.
6513 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6515 * Makefile.am: Added new file.
6516 * Makefile.in: Regenerate.
6517 * javax/swing/JMenu.java: Started
6519 * javax/swing/JPopupMenu.java:
6520 (insert): If specified index is -1, then
6521 add component at the end.
6522 (isPopupTrigger): Reimplemented.
6523 (JPopupMenu.LightWeightPopup): setBounds
6524 of the lightWeightPopup before adding it
6526 (javax/swing/plaf/basic/BasicIconFactory.java):
6527 (getMenuArrowIcon): Implemented.
6528 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6529 (getPreferredSize): Add size of the arrow icon
6530 if this menu item is instance of JMenu.
6531 (paintMenuItem): Paint arrow icon if this
6532 menu item is a submenu.
6533 * javax/swing/plaf/basic/BasicMenuUI.java:
6534 New File. UI Delegate for JMenu.
6536 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6538 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6539 Post KEY_TYPED events.
6540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6541 (generates_key_typed_event): Remove function.
6543 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6545 * javax/swing/JRootPane.java
6546 (JRootPane.RootLayout): Reimplemented to
6547 set bounds of contentPane and menuBar.
6548 (setJMenuBar): Add menu bar to the layered pane.
6549 (createLayeredPane): Set layout of layeredPane
6551 * javax/swing/JLayeredPane.java:
6552 (addImpl): Calculate index of the component in the
6553 layeredPane according to the specified position within
6556 2004-05-17 David Jee <djee@redhat.com>
6558 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6559 (setPixels): Change color model to the default model after
6561 * java/awt/image/MemoryImageSource.java
6562 (newPixels): Set only the specified rectangle of pixels.
6564 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6566 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6567 -l-java-beans -l-javax-accessibility -l-javax-swing.
6569 * java/awt/AWTEvent.java (toString): Print source's name rather
6570 than the source itself.
6572 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6574 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6577 (gdk_color_to_java_color): New function.
6578 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6580 2004-05-12 David Jee <djee@redhat.com>
6582 * java/awt/image/RGBImageFilter.java:
6583 Initialize origmodel as null.
6584 (makeColor): Fix pixel component order.
6585 (filterRGBPixels): Fix pixel iteration.
6586 (setPixels): Add extra checks for index color model. Convert pixels
6587 to default color model if necessary.
6588 (convertColorModelToDefault): New override method for byte pixels.
6589 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6590 (makeColorbyDefaultCM): New override method for byte pixels.
6591 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6592 (makeColor): Fix pixel component order.
6594 2004-05-11 Kim Ho <kho@redhat.com>
6596 * javax/swing/Box.java:
6597 Comment out more parts of Box.Filler.
6599 2004-05-11 Kim Ho <kho@redhat.com>
6601 * javax/swing/Box.java:
6602 Remove reference to AccessibleAWTComponent so
6605 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6607 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6608 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6609 implementation of list peer to use GtkTreeView instead of
6610 deprecated GtkCList.
6612 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6614 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6615 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6616 (handleEvent): Remove keyChar argument to
6617 gtkWidgetDispatchKeyEvent calls.
6618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6620 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6621 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6625 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6627 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6628 (gtkWidgetRequestFocus): Mark protected.
6629 (GtkComponentPeer): Only set the peer's bounds if its component
6631 * java/awt/Component.java (static): Set the default keyboard
6633 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6634 requestFocusInWindow(temporary)): Don't request focus if the
6635 component is not showing. Get tree lock before traversing
6636 component hierarchy.
6637 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6638 Only set the global focus owner if it is not a Window.
6639 (processKeyEvent): Consume keystrokes associated with the focus
6640 traversal keystroke.
6641 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6642 downFocusCycle): Call requestFocusInWindow instead of
6644 * java/awt/EventDispatchThread.java (run): Move setting of
6645 default keyboard focus manager to Component.java.
6646 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6647 (awt_keycode_to_keysym): New function.
6648 (gtkWidgetDispatchKeyEvent): Finish implementation.
6649 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6650 (pre_event_handler): Add FIXME comment.
6652 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6653 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6654 (gtkWidgetRequestFocus): New method.
6655 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6656 disable Tab and Shift-Tab keystrokes.
6657 (addNotify, appendText, insertText, replaceText): Simplify peer
6659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6660 (connectSignals): Remove connections to "commit" signals.
6661 Remove C++-style comments.
6663 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6664 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6665 (handleEvent): Activate GTK button when the space bar key is
6667 (gtkActivate): New method.
6669 2004-05-06 David Jee <djee@redhat.com>
6671 * java/awt/image/CropImageFilter.java
6672 (setPixels): Implement for byte array pixels.
6673 * java/awt/image/ReplicateScaleFilter.java
6674 (setPixels): Implement for byte array pixels.
6675 (replicatePixels): Overload for byte array pixels.
6677 2004-05-06 Kim Ho <kho@redhat.com>
6679 * javax/swing/Box.java:
6680 (getAccessibleContext): Return an instance of the
6683 2004-05-05 David Jee <djee@redhat.com>
6685 * gnu/java/awt/peer/gtk/GdkGraphics.java
6686 (drawImage): When component is null, use SystemColor.window as
6687 the default bgcolor.
6688 * gnu/java/awt/peer/gtk/GtkImage.java
6689 (setPixels): We can avoid iterating through the pixel rows only
6691 * java/awt/Image.java
6692 (getScaledInstance): Partially implement.
6693 * java/awt/image/CropImageFilter.java
6694 (setProperties): Fix "filter" property.
6695 (setPixels): Implement.
6696 * java/awt/image/ReplicateScaleFilter.java
6697 (setDimensions): Use scaled dimensions.
6698 (setPixels): Implement.
6699 (replicatePixels): New method.
6701 2004-05-05 David Jee <djee@redhat.com>
6703 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6704 (convertPixels): If either pixels or model is null, return null.
6705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6706 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6707 is null, do nothing and return.
6709 2004-05-03 Kim Ho <kho@redhat.com>
6711 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6712 (getGraphics): Like GtkFramePeer, the Graphics
6713 object needs to be translate to account for
6715 (postMouseEvent): New method. Account for
6717 (postExposeEvent): ditto.
6718 * javax/swing/Box.java: Stubbed.
6719 * javax/swing/JDialog.java: Ran through jalopy
6721 (JDialog): Call SwingUtilities' getOwnerFrame
6723 (setLayout): Check isRootPaneCheckingEnabled
6724 * javax/swing/JOptionPane.java: Re-implemented.
6725 * javax/swing/SwingUtilities.java:
6726 (getOwnerFrame): Static method to grab a default
6727 owner frame for Dialogs that don't specify owners.
6728 * javax/swing/event/SwingPropertyChangeSupport.java:
6729 (firePropertyChange): Fix early exit condition.
6730 * javax/swing/plaf/basic/BasicLabelUI.java:
6731 (paint): Avoid painting text if it is null
6733 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6736 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6738 * Makefile.am: Added new file.
6739 * Makefile.in: Regenerate.
6740 * javax/swing/JPopupMenu.java:
6741 Started implementation.
6742 * javax/swing/JWindow.java
6743 (JWindow): call super() if parent for window
6745 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6746 New File. UI Delegate for JPopupMenu.
6748 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6750 * javax/swing/JApplet.java: Indicated that JApplet
6751 implements RootPaneContainer and made method of this
6753 * javax/swing/JFrame.java: Ditto.
6754 * javax/swing/JWindow.java: Ditto.
6756 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6759 (nativeSetBounds): Call gdk_window_move in addition to
6762 * java/applet/Applet.java (preferredSize): Call parent's
6763 preferredSize if the applet stub is null.
6764 (minimumSize): Likewise for parent's minimumSize.
6766 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6768 * javax/swing/JMenuItem.java
6769 (createActionPropertyChangeListener): Implemented.
6770 (processMouseEvent): Ditto.
6771 (fireMenuDragMouseEntered): Ditto.
6772 (fireMenuDragMouseExited): Ditto.
6773 (fireMenuDragMouseDragged): Ditto.
6774 (fireMenuDragMouseReleased): Ditto.
6775 (menuSelectionChanged): Ditto.
6776 (getSubElements): Ditto.
6777 (getComponent): Ditto.
6778 (addMenuDragMouseListener): Ditto.
6779 (removeMenuDragMouseListener):Ditto.
6780 (addMenuKeyListener): Ditto.
6781 (removeMenuKeyListener): Ditto.
6782 * javax/swing/plaf/basic/BasicMenuItemUI.java
6783 (doClick): Imlemented.
6784 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6785 Don't handle mouse events here. Pass them to
6786 MenuSelectionManager.
6788 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6789 Used correct version of jalopy configuration
6790 file to fix style in the files below.
6792 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6794 * javax/swing/JCheckBoxMenuItem.java:
6795 Fixed style and removed unnecessary comments.
6796 * javax/swing/JMenuItem.java: Ditto.
6797 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6798 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6799 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6800 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6802 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6804 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6807 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6809 * java/awt/ContainerOrderFocusTraversalPolicy.java
6810 (getComponentAfter): Start from current component and work up
6811 the component hierarchy until an acceptable component is found.
6812 Synchronize on tree lock.
6813 (getComponentBefore): Likewise.
6815 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6817 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6818 focus-related debugging messages.
6819 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6820 * java/awt/EventDispatchThread.java: Likewise.
6821 * java/awt/KeyboardFocusManager.java: Likewise.
6822 * java/awt/Window.java: Likewise.
6823 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6826 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6827 new C++-style comments to C-style comments.
6828 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6830 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6831 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6832 (handleEvent): Dispatch key press and key release events to
6834 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6835 (gtkWidgetRequestFocus): New method.
6836 (gtkWidgetDispatchKeyEvent): Likewise.
6837 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6838 requestFocusInWindow, requestFocusInWindow(boolean),
6839 getFocusCycleRootAncestor, nextFocus, transferFocus,
6840 transferFocusBackward, transferFocusUpCycle, hasFocus,
6841 isFocusOwner): Implement and document focus-handling methods.
6842 (setFocusTraversalKeys): Inherit focus traversal keys when
6843 keystrokes argument is null. Fix focus-handling documentation
6845 * java/awt/Container.java (setFocusTraversalKeys,
6846 getFocusTraversalKeys, areFocusTraversalKeysSet,
6847 isFocusCycleRoot, setFocusTraversalPolicy,
6848 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6849 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6850 Implement and document focus-handling methods.
6851 (transferFocusBackward): Remove method.
6852 (readObject, writeObject): Implement and document serialization
6854 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6856 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6858 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6860 * java/awt/EventDispatchThread.java (run): Set default keyboard
6861 focus manager. Attempt to dispatch each event to the keyboard
6862 focus manager before normal dispatch.
6863 * java/awt/KeyboardFocusManager.java: Implement and partially
6865 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6866 (show): Focus initial component when window is shown for the
6868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6869 (pre_event_handler): Replace complex key press and key release
6870 logic with simple callbacks into GtkComponentPeer.
6871 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6873 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6875 * javax/swing/MenuSelectionManager.java
6876 (componentForPoint): Added new method.
6877 (defaultManager): New Method. Implemented.
6878 (getSelectedPath): Ditto.
6879 (isComponentPartOfCurrentMenu): Ditto.
6880 (processKeyEvent): Added new method.
6881 (processMouseEvent): New Method. Implemented.
6882 (setSelectedPath): Ditto.
6885 2004-04-19 Kim Ho <kho@redhat.com>
6887 * java/awt/Container.java:
6888 (remove): Set the component's parent to null.
6889 (getComponentAt): Implement.
6890 * javax/swing/JComponent.java:
6891 (JComponent): Initialize defaultLocale
6892 (getDefaultLocale): Implement.
6893 (setDefaultLocale): ditto.
6894 * javax/swing/JSlider.java:
6895 (JSlider): Fix calculation of value.
6896 * javax/swing/JSplitPane.java: Implement.
6897 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6898 Change SplitPane's default divider size.
6899 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6900 (paint): Remove unused code.
6901 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6902 Added comments and ran through jalopy.
6903 (setBasicSplitPaneUI): Get reference to hidden divider
6904 and set up one touch buttons if necessary.
6905 (setBorder): Fire propertyChangeEvent only if
6906 borders are different.
6907 (getPreferredSize): Defer to layout manager.
6908 (propertyChange): Implement.
6909 (oneTouchExpandableChanged): ditto.
6910 (createLeftOneTouchButton): Use BasicArrowButton.
6911 (createRightOneTouchButton): ditto.
6912 (moveDividerTo): New method. Moves the divider
6913 to a set location based on the last divider location.
6914 (BasicSplitPaneDivider::MouseHandler): Implement.
6915 (BasicSplitPaneDivider::OneTouchButton): Removed.
6916 (BasicSplitPaneDivider::DragController): Implement.
6917 (BasicSplitPaneDivider::VerticalDragController):
6919 (BasicSplitPaneDivider::DividerLayout): ditto.
6920 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6921 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6922 (calculateLayoutInfo): Don't show component if it's
6924 (paintTab): Fix title paint logic.
6926 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6929 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6930 (setStartRule,setEndRule): Don't take abs of day number.
6931 (getOffset): Clarify docs. Add argument checks.
6932 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6933 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6935 * testsuite/libjava.mauve/xfails
6936 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6938 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6940 Layout interfaces during preparation, not initialization.
6941 * java/lang/natClass.cc (initializeClass): Move
6942 _Jv_LayoutInterfaceMethods call...
6943 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6945 2004-05-19 Anthony Green <green@localhost.localdomain>
6947 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6949 * Makefile.in: Rebuilt.
6950 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6951 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6952 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6953 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6954 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6955 gnu/javax/rmi/CORBA/DelegateFactory.java,
6956 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6957 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6958 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6959 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6960 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6961 gnu/javax/rmi/PortableServer.java: Remove files.
6963 2004-05-19 Anthony Green <green@redhat.com>
6965 * Makefile.am: Define JAVA_EXT_DIRS.
6966 * Makefile.in: Rebuilt.
6967 * java/lang/natRuntime.cc (insertSystemProperties): Set
6968 java.ext.dirs property.
6970 2004-05-16 Mark Wielaard <mark@klomp.org>
6972 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6974 2004-05-15 Mark Wielaard <mark@klomp.org>
6976 * doc/cni.sgml: Removed, merged into gcj.texi.
6978 2004-05-15 Mark Wielaard <mark@klomp.org>
6980 * Makefile.am (ordinary_java_source_files): Add new javax.print
6982 * Makefile.in: Regenerated.
6984 2004-05-15 Michael Koch <konqueror@gmx.de>
6986 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6987 javax/print/attribute/standard/DateTimeAtCreation.java,
6988 javax/print/attribute/standard/DateTimeAtProcessing.java,
6989 javax/print/attribute/standard/DocumentName.java,
6990 javax/print/attribute/standard/JobHoldUntil.java,
6991 javax/print/attribute/standard/JobImpressionsCompleted.java,
6992 javax/print/attribute/standard/JobMessageFromOperator.java,
6993 javax/print/attribute/standard/JobName.java,
6994 javax/print/attribute/standard/JobOriginatingUserName.java,
6995 javax/print/attribute/standard/JobPriority.java,
6996 javax/print/attribute/standard/JobPrioritySupported.java,
6997 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6998 javax/print/attribute/standard/OutputDeviceAssigned.java,
6999 javax/print/attribute/standard/PrinterInfo.java,
7000 javax/print/attribute/standard/PrinterLocation.java,
7001 javax/print/attribute/standard/PrinterMakeAndModel.java,
7002 javax/print/attribute/standard/PrinterMessageFromOperator.java,
7003 javax/print/attribute/standard/PrinterName.java,
7004 javax/print/attribute/standard/QueuedJobCount.java,
7005 javax/print/attribute/standard/RequestingUserName.java:
7006 Fixed javadocs all over.
7008 2004-05-15 Michael Koch <konqueror@gmx.de>
7010 * javax/print/DocFlavor.java,
7011 javax/print/attribute/standard/ColorSupported.java,
7012 javax/print/attribute/standard/Compression.java,
7013 javax/print/attribute/standard/CopiesSupported.java,
7014 javax/print/attribute/standard/Fidelity.java,
7015 javax/print/attribute/standard/Finishings.java,
7016 javax/print/attribute/standard/JobImpressionsSupported.java,
7017 javax/print/attribute/standard/JobKOctetsSupported.java,
7018 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7019 javax/print/attribute/standard/JobSheets.java,
7020 javax/print/attribute/standard/JobState.java,
7021 javax/print/attribute/standard/JobStateReason.java,
7022 javax/print/attribute/standard/JobStateReasons.java,
7023 javax/print/attribute/standard/Media.java,
7024 javax/print/attribute/standard/MediaSizeName.java,
7025 javax/print/attribute/standard/MultipleDocumentHandling.java,
7026 javax/print/attribute/standard/NumberUpSupported.java,
7027 javax/print/attribute/standard/OrientationRequested.java,
7028 javax/print/attribute/standard/PDLOverrideSupported.java,
7029 javax/print/attribute/standard/PageRanges.java,
7030 javax/print/attribute/standard/PresentationDirection.java,
7031 javax/print/attribute/standard/PrintQuality.java,
7032 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7033 javax/print/attribute/standard/PrinterMoreInfo.java,
7034 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7035 javax/print/attribute/standard/PrinterResolution.java,
7036 javax/print/attribute/standard/PrinterState.java,
7037 javax/print/attribute/standard/PrinterStateReason.java,
7038 javax/print/attribute/standard/PrinterStateReasons.java,
7039 javax/print/attribute/standard/PrinterURI.java,
7040 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7041 javax/print/attribute/standard/Severity.java,
7042 javax/print/attribute/standard/SheetCollate.java,
7043 javax/print/attribute/standard/Sides.java:
7044 Added serialVersionUID and removed final keyword where it doenst
7047 2004-05-15 Michael Koch <konqueror@gmx.de>
7049 * javax/print/PrintServiceLookup.java: New file.
7051 2004-05-15 Michael Koch <konqueror@gmx.de>
7053 * javax/print/DocFlavor.java:
7054 Implemented all flavor classes.
7056 2004-05-15 Michael Koch <konqueror@gmx.de>
7058 * javax/print/attribute/standard/ColorSupported.java,
7059 javax/print/attribute/standard/Compression.java,
7060 javax/print/attribute/standard/CopiesSupported.java,
7061 javax/print/attribute/standard/Fidelity.java,
7062 javax/print/attribute/standard/Finishings.java,
7063 javax/print/attribute/standard/JobImpressionsSupported.java,
7064 javax/print/attribute/standard/JobKOctetsSupported.java,
7065 javax/print/attribute/standard/JobMediaSheetsSupported.java,
7066 javax/print/attribute/standard/JobSheets.java,
7067 javax/print/attribute/standard/JobState.java,
7068 javax/print/attribute/standard/JobStateReason.java,
7069 javax/print/attribute/standard/JobStateReasons.java,
7070 javax/print/attribute/standard/Media.java,
7071 javax/print/attribute/standard/MediaSizeName.java,
7072 javax/print/attribute/standard/MultipleDocumentHandling.java,
7073 javax/print/attribute/standard/NumberUpSupported.java,
7074 javax/print/attribute/standard/OrientationRequested.java,
7075 javax/print/attribute/standard/PDLOverrideSupported.java,
7076 javax/print/attribute/standard/PageRanges.java,
7077 javax/print/attribute/standard/PresentationDirection.java,
7078 javax/print/attribute/standard/PrintQuality.java,
7079 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
7080 javax/print/attribute/standard/PrinterMoreInfo.java,
7081 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
7082 javax/print/attribute/standard/PrinterResolution.java,
7083 javax/print/attribute/standard/PrinterState.java,
7084 javax/print/attribute/standard/PrinterStateReason.java,
7085 javax/print/attribute/standard/PrinterStateReasons.java,
7086 javax/print/attribute/standard/PrinterURI.java,
7087 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7088 javax/print/attribute/standard/Severity.java,
7089 javax/print/attribute/standard/SheetCollate.java,
7090 javax/print/attribute/standard/Sides.java: New files.
7092 2004-05-15 Michael Koch <konqueror@gmx.de>
7094 * javax/print/Doc.java
7095 (getPrintData): Throws IOException.
7096 (getReaderForText): Likewise.
7097 (getStreamForBytes): Likewise.
7098 * javax/print/DocFlavor.java:
7099 Fixed filename in copyright.
7100 (serialVersionUID): New field.
7101 * javax/print/ServiceUIFactory.java:
7102 Made all constants final.
7103 * javax/print/AttributeException.java
7104 javax/print/MultiDoc.java
7105 javax/print/MultiDocPrintJob.java
7106 javax/print/MultiDocPrintService.java
7107 javax/print/StreamPrintService.java
7108 javax/print/URIException.java: New files.
7109 * javax/print/Makefile.am
7110 (EXTRA_DIST): Added all new files.
7112 2004-05-15 Michael Koch <konqueror@gmx.de>
7114 * javax/print/attribute/standard/Copies.java,
7115 javax/print/attribute/standard/DateTimeAtCompleted.java,
7116 javax/print/attribute/standard/DateTimeAtCreation.java,
7117 javax/print/attribute/standard/DateTimeAtProcessing.java,
7118 javax/print/attribute/standard/DocumentName.java,
7119 javax/print/attribute/standard/JobHoldUntil.java,
7120 javax/print/attribute/standard/JobImpressions.java,
7121 javax/print/attribute/standard/JobImpressionsCompleted.java,
7122 javax/print/attribute/standard/JobKOctets.java,
7123 javax/print/attribute/standard/JobKOctetsProcessed.java,
7124 javax/print/attribute/standard/JobMediaSheets.java,
7125 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7126 javax/print/attribute/standard/JobMessageFromOperator.java,
7127 javax/print/attribute/standard/JobName.java,
7128 javax/print/attribute/standard/JobOriginatingUserName.java,
7129 javax/print/attribute/standard/JobPriority.java,
7130 javax/print/attribute/standard/JobPrioritySupported.java,
7131 javax/print/attribute/standard/NumberOfDocuments.java,
7132 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7133 javax/print/attribute/standard/NumberUp.java,
7134 javax/print/attribute/standard/OutputDeviceAssigned.java,
7135 javax/print/attribute/standard/PagesPerMinute.java,
7136 javax/print/attribute/standard/PagesPerMinuteColor.java:
7137 Fixed @return tag all over.
7139 2004-05-15 Michael Koch <konqueror@gmx.de>
7141 * javax/print/attribute/AttributeSetUtilities.java
7142 (verifyCategoryForValue): Fixed typo in javadoc.
7143 * javax/print/attribute/HashAttributeSet.java
7144 (containsKey): Fixed @return tag.
7145 (comtainsValue): Likewise.
7147 * javax/print/attribute/IntegerSyntax.java
7149 * javax/print/attribute/ResolutionSyntax.java
7151 (getCrossFeedResolution): Removed unused code.
7152 (getFeedResolution): Likewise.
7153 * javax/print/attribute/SetOfIntegerSyntax.java
7154 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7155 (equals): Fixed @return tag.
7156 * javax/print/attribute/TextSyntax.java
7157 (TextSyntax): Take locale into account.
7158 (hashCode): Better implementation.
7160 2004-05-15 Michael Koch <konqueror@gmx.de>
7162 * javax/print/CancelablePrintJob.java,
7163 javax/print/Doc.java,
7164 javax/print/DocFlavor.java,
7165 javax/print/DocPrintJob.java,
7166 javax/print/FlavorException.java,
7167 javax/print/PrintException.java,
7168 javax/print/PrintService.java,
7169 javax/print/ServiceUIFactory.java: New files.
7171 2004-05-15 Mark Wielaard <mark@klomp.org>
7173 * gnu/regexp/CharIndexedReader.java: Removed.
7174 * gnu/regexp/REFilterReader.java: Likewise.
7175 * gnu/regexp/RETokenLookAhead.java: Likewise.
7176 * Makefile.am (ordinary_java_source_files): Remove above classes.
7177 * Makefile.in: Regenerated.
7179 2004-05-14 Tom Tromey <tromey@redhat.com>
7181 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7182 not `XGraphicsConfiguration.XOffScreenImage'.
7184 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
7186 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7188 2004-05-14 Steven Augart <augart@watson.ibm.com>
7190 * include/jni.h (_Jv_func): Removed.
7191 (struct JNINativeInterface): Use `void *' for reserved slots.
7192 (struct JNIInvokeInterface): Likewise.
7194 2004-05-11 Michael Koch <konqueror@gmx.de>
7196 * gnu/java/net/natPlainSocketImplPosix.cc
7197 (read): Fixed typo in expression.
7199 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7201 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7202 ld_library_additions. Adjust all calls to libjava_invoke to match
7205 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7206 path to cxxflagslist.
7207 Pass path of libstdc++ to libjava_invoke.
7209 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7210 libjava_invoke arguments.
7212 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7214 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7217 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
7219 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7220 main binary against the JNI shared library.
7222 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7224 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7225 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7226 (SimpleTimeZone): Tweak docs. Add new variation.
7227 (setStartRule,setEndRule): Add new variations. Use
7228 startTimeMode and endTimeMode.
7230 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
7232 * java/util/Calendar.java (getActualMinimum,
7233 getActualMaximum): Remove abstract. Implement.
7235 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7237 Run the jni tests using the interpreter.
7238 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7239 options_cxx to shared lib compile command.
7240 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7241 they are used to link the shared lib, not the main binary.
7242 Use libjava_invoke to run gij.
7244 2004-05-06 Michael Koch <konqueror@gmx.de>
7246 * java/util/logging/Level.java
7247 (parse): Use == instead of String.equals().
7249 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7251 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7252 verify_field_signature and verify_method_signature, not
7253 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7254 (_Jv_ClassReader::handleField): Likewise.
7255 (_Jv_ClassReader::handleMethod): Likewise.
7257 2004-05-06 Michael Koch <konqueror@gmx.de>
7259 * javax/swing/table/TableColumn.java:
7262 2004-05-06 Michael Koch <konqueror@gmx.de>
7264 * javax/imageio/spi/ImageReaderWriterSpi.java
7265 (ImageReaderWriterSpi): Made it public.
7266 * javax/imageio/stream/ImageInputStream.java:
7269 2004-05-06 Michael Koch <konqueror@gmx.de>
7271 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7274 2004-05-06 Michael Koch <konqueror@gmx.de>
7276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7277 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7280 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7282 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7283 their own source file.
7284 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7285 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7286 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7287 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7288 (create): Define variable on top of function.
7289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7290 (menu_pos): Prototyped.
7291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7292 (setTitle): Removed.
7293 * jni/gtk-peer/gthread-jni.c
7294 (gdk_threads_wake): Removed.
7295 * Makefile.am (gtk_c_source_files): Added new files
7296 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7297 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7298 * Makefile.in: Regenerated.
7300 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7302 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7305 2004-05-05 Mark Wielaard <mark@klomp.org>
7307 * javax/swing/AbstractButton.java: Replace special HTML entities with
7309 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7310 * javax/swing/DefaultButtonModel.java: Likewise.
7311 * javax/swing/DefaultListModel.java: Likewise.
7312 * javax/swing/JList.java: Likewise.
7313 * javax/swing/JSlider.java: Likewise.
7314 * javax/swing/ListModel.java: Likewise.
7315 * javax/swing/Popup.java: Likewise.
7316 * javax/swing/SwingUtilities.java: Likewise.
7318 2004-05-05 Michael Koch <konqueror@gmx.de>
7320 * javax/swing/AbstractButton.java,
7321 javax/swing/ActionMap.java,
7322 javax/swing/DefaultButtonModel.java,
7323 javax/swing/DefaultListModel.java,
7324 javax/swing/ImageIcon.java,
7325 javax/swing/JComboBox.java,
7326 javax/swing/JComponent.java,
7327 javax/swing/JFrame.java,
7328 javax/swing/JInternalFrame.java,
7329 javax/swing/JMenuBar.java,
7330 javax/swing/JMenuItem.java,
7331 javax/swing/JOptionPane.java,
7332 javax/swing/JProgressBar.java,
7333 javax/swing/JRootPane.java,
7334 javax/swing/JScrollBar.java,
7335 javax/swing/JScrollPane.java,
7336 javax/swing/JSeparator.java,
7337 javax/swing/JSlider.java,
7338 javax/swing/JTabbedPane.java,
7339 javax/swing/JTable.java,
7340 javax/swing/JTextField.java,
7341 javax/swing/JToolBar.java,
7342 javax/swing/JToolTip.java,
7343 javax/swing/JTree.java,
7344 javax/swing/JViewport.java,
7345 javax/swing/JWindow.java,
7346 javax/swing/KeyStroke.java,
7347 javax/swing/LookAndFeel.java,
7348 javax/swing/SwingUtilities.java,
7349 javax/swing/Timer.java,
7350 javax/swing/ToolTipManager.java,
7351 javax/swing/UIDefaults.java,
7352 javax/swing/border/TitledBorder.java,
7353 javax/swing/filechooser/FileSystemView.java,
7354 javax/swing/plaf/basic/BasicButtonListener.java,
7355 javax/swing/plaf/basic/BasicButtonUI.java,
7356 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7357 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7358 javax/swing/plaf/basic/BasicLabelUI.java,
7359 javax/swing/plaf/basic/BasicMenuItemUI.java,
7360 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7361 javax/swing/plaf/basic/BasicRootPaneUI.java,
7362 javax/swing/plaf/basic/BasicScrollBarUI.java,
7363 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7364 javax/swing/plaf/basic/BasicSliderUI.java,
7365 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7366 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7367 javax/swing/table/JTableHeader.java,
7368 javax/swing/text/AbstractDocument.java,
7369 javax/swing/text/DefaultCaret.java,
7370 javax/swing/text/StyledEditorKit.java,
7371 javax/swing/tree/DefaultTreeCellEditor.java:
7374 2004-05-05 Michael Koch <konqueror@gmx.de>
7376 * java/util/prefs/AbstractPreferences.java
7377 (AbstractPreferences): Added parenthesis for clarity.
7378 Closes classpath bug #7940.
7380 2004-05-05 Tom Tromey <tromey@redhat.com>
7382 * javax/naming/CompoundName.java (endsWith): Look at correct
7383 element of source name.
7385 2004-05-05 Mark Wielaard <mark@klomp.org>
7387 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7388 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7390 2004-05-05 Tom Tromey <tromey@redhat.com>
7392 * java/io/BufferedReader.java (skip): Removed unused
7395 2004-05-05 Michael Koch <konqueror@gmx.de>
7397 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7399 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7401 * java/text/AttributedString.java,
7402 java/text/AttributedStringIterator.java,
7403 java/text/Collator.java,
7404 java/text/DecimalFormatSymbols.java,
7405 java/text/NumberFormat.java,
7406 java/text/RuleBasedCollator.java:
7409 2004-05-05 Tom Tromey <tromey@redhat.com>
7411 * java/text/Format.java: Cleaned up imports.
7412 * java/text/DecimalFormat.java: Cleaned up imports.
7413 * java/security/SecureRandom.java: Cleaned up imports.
7414 (SecureRandom): Removed unused variable.
7415 * java/security/UnresolvedPermission.java: Cleaned up imports.
7416 * java/util/Date.java (parse): Removed unused variable.
7417 * java/util/ResourceBundle.java: Cleaned up imports.
7418 (getBundle): Removed unused variable.
7419 (tryBundle): Likewise.
7420 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7422 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7424 * java/text/SimpleDateFormat.java:
7425 (formatWithAttribute): New method. It implements
7426 the formatting process with attributes.
7427 (format): Use formatWithAttribute.
7428 (formatToCharacterIterator): New method. Use
7429 formatWithAttribute.
7431 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7433 * java/text/MessageFormat.java:
7434 (class Field): New class.
7435 (formatToCharacterIterator): New method.
7436 (format): Use formatInternal now.
7437 (formatInternal): New method. String formatter should
7438 be done here (with attributes). Attributes merging supported.
7439 (parse): More documentation.
7440 (getFormatsByArgumentIndex): New method.
7441 (setFormatByArgumentIndex): New method.
7442 (setFormatsByArgumentIndex): New method.
7444 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7446 * java/text/DecimalFormat.java
7447 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7448 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7449 (parse): Fixed handling of exponentiation notation and grouping.
7451 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7453 * java/text/DecimalFormat.java
7454 (scanFix): Build attribute array. Fixed error reporting.
7455 (applyPatternWithSymbols): Store attributes for the prefix and
7457 (formatInternal): New method. Changed the way the string is
7458 computed. Implemented attributes. Cleant up rounding in
7459 exponential notation.
7460 (format): Use formatInternal.
7461 (formatToCharacterIterator): New method.
7462 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7463 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7464 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7467 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7469 * java/security/interfaces/DSAKeyPairGenerator.java,
7470 java/security/interfaces/DSAPrivateKey.java,
7471 java/security/interfaces/DSAPublicKey.java,
7472 java/security/interfaces/RSAPrivateKey.java,
7473 java/security/interfaces/RSAPublicKey.java:
7476 2004-05-04 Michael Koch <konqueror@gmx.de>
7478 * java/nio/ByteBuffer.java,
7479 java/nio/CharBuffer.java,
7480 java/nio/DoubleBuffer.java,
7481 java/nio/FloatBuffer.java,
7482 java/nio/IntBuffer.java,
7483 java/nio/LongBuffer.java,
7484 java/nio/ShortBuffer.java:
7485 (compareTo): Fixed bogus implementation in all buffer classes.
7487 2004-05-04 Ingo Proetel <proetel@aicas.com>
7489 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7490 32 bit pixels not 8 bit pixels.
7491 (isCompatibleRaster): Added javadoc comment.
7493 2004-05-04 Ingo Proetel <proetel@aicas.com>
7495 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7498 2004-05-04 Ingo Proetel <proetel@aicas.com>
7500 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7501 (getColorModel): Return the actual color model.
7502 (getRaster): Implemented.
7503 (ColorRaster): New inner class.
7504 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7506 * java/awt/Color.java (<init>): Make exception more verbose.
7507 (createContext): Use ColorModel when creating a PaintContext.
7509 2004-05-04 Michael Koch <konqueror@gmx.de>
7511 * gnu/java/text/CharacterBreakIterator.java
7512 (previous): Removed unused variable.
7514 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7516 * gnu/java/text/FormatBuffer.java,
7517 gnu/java/text/AttributedFormatBuffer.java,
7518 gnu/java/text/StringFormatBuffer.java: New classes to implement
7519 attributed iterators in java.text.
7520 * gnu/java/text/FormatCharacterIterator.java: Moved
7521 from java/text as it is an internal class.
7522 * java/text/FormatCharacterIterator.java: Removed.
7523 * java/text/Format.java:
7524 Import gnu.java.text.FormatCharacterIterator.
7525 * Makefile.am (java_source_files): Added new files.
7526 * Makefile.in: Regenerated.
7529 2004-05-04 Mark Wielaard <mark@klomp.org>
7531 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7533 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7535 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7536 * Makefile.in: Rebuilt.
7538 2004-05-03 Mark Wielaard <mark@klomp.org>
7540 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7541 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7543 (set(String, String, int, String, String, String, String, String)):
7544 Assign this.file to path or path + "?" + query.
7545 * java/util/Arrays.java: Call static methods staticly.
7546 * java/util/zip/ZipEntry.java: Likewise.
7547 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7548 dir to this.direction.
7549 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7550 Assign static field only once.
7551 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7553 2004-05-03 Mark Wielaard <mark@klomp.org>
7555 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7556 unused variables hScrollbarHeight and vScrollbarWidth.
7557 (preferredSize): Likewise.
7558 * gnu/java/security/provider/DSAParameters.java (engineToString):
7559 Removed unused call to System.getProperty("line.seperator");
7560 * java/security/Security.java (loadProviders): Return result.
7562 2004-05-03 Tom Tromey <tromey@redhat.com>
7564 * java/net/URLStreamHandler.java (toExternalForm): Removed
7567 * java/math/BigDecimal.java (divide): Removed unused variable.
7568 * java/lang/Throwable.java: Cleaned up imports.
7569 * java/lang/ClassLoader.java: Cleaned up imports.
7570 * java/io/FilePermission.java (implies): Removed unused
7572 * java/awt/TextComponent.java: Removed unused import.
7573 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7574 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7575 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7576 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7578 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7579 * gnu/java/text/CharacterBreakIterator.java: Removed
7581 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7583 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7584 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7586 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7587 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7588 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7589 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7590 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7591 (lookupProviders): Removed unused variable.
7592 (loadNextServiceProvider): Likewise.
7593 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7595 2004-05-03 Michael Koch <konqueror@gmx.de>
7597 Fixes PR libgcj/14695:
7598 * java/net/NetworkInterface.java
7599 (getByName): Return null when no interface was found.
7601 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7602 Tom Tromey <tromey@redhat.com>
7604 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7605 additional option "-Wmissing-prototypes" for compiling C sources.
7606 Print actual filename for pass/fail rather than $name.c.
7607 * testsuite/libjava.jni/PR15133.java: New testcase file.
7608 * testsuite/libjava.jni/PR15133.c: Likewise.
7609 * testsuite/libjava.jni/PR15133.out: Likewise.
7611 2004-04-30 Roger Sayle <roger@eyesopen.com>
7613 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7616 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7618 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7619 limit the maximum heap size to avoid unnecessary thrashing.
7621 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7623 * java/text/CollationElementIterator.java (reset): Reset
7624 lookahead variables.
7626 2004-04-23 Mark Wielaard <mark@klomp.org>
7628 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7630 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7632 * java/sql/DriverManager.java:
7635 2004-04-23 Michael Koch <konqueror@gmx.de>
7638 (hashcode): Don't initialize with default value explicitely.
7639 (getContent): Removed redundant "final" keyword.
7640 (openStream): Likewise.
7641 (getURLStreamHandler): Fixed coding style.
7642 * java/net/URLConnection.java
7643 (defaultAllowUserInteraction): Don't initialize with default value
7645 (connected): Likewise.
7646 (doOutput): Likewise.
7647 (ifModifiedSince): Likewise.
7648 (dateformats_initialized): Likewise.
7649 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7651 2004-04-23 Michael Koch <konqueror@gmx.de>
7653 * gnu/java/nio/channels/FileChannelImpl.java
7654 (SET, CUR): Unused, removed.
7655 (read): Implement here directly.
7656 (implRead): Removed.
7657 (write): Implement here directly.
7658 (implWrite): Removed.
7660 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7662 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7663 javax/rmi/CORBA/Stub.java,
7664 javax/rmi/CORBA/Util.java,
7665 javax/rmi/CORBA/ValueHandler.java,
7666 javax/rmi/CORBA/ValueHandler.java,
7667 javax/rmi/PortableRemoteObject.java:
7670 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7672 * java/util/jar/JarFile.java,
7673 java/util/jar/JarInputStream.java,
7674 java/util/jar/JarOutputStream.java,
7675 java/util/jar/Manifest.java:
7678 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7680 * java/util/ArrayList.java,
7681 java/util/Calendar.java,
7682 java/util/Currency.java,
7683 java/util/HashMap.java,
7684 java/util/HashSet.java,
7685 java/util/Hashtable.java,
7686 java/util/LinkedList.java,
7687 java/util/Properties.java,
7688 java/util/PropertyPermission.java,
7689 java/util/TimeZone.java,
7690 java/util/TreeMap.java,
7691 java/util/TreeSet.java,
7692 java/util/Vector.java,
7693 java/util/WeakHashMap.java:
7696 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7698 * java/util/logging/FileHandler.java,
7699 java/util/logging/Formatter.java,
7700 java/util/logging/Handler.java,
7701 java/util/logging/Logger.java,
7702 java/util/logging/SimpleFormatter.java,
7703 java/util/logging/XMLFormatter.java:
7706 2004-04-22 Mark Wielaard <mark@klomp.org>
7708 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7709 -Wno-long-long flags variable.
7710 (gtk_c_files): Use PEDANTIC_CFLAGS.
7711 * Makefile.in: Regenerated.
7713 2004-04-22 Mark Wielaard <mark@klomp.org>
7715 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7716 Changed C++ comments into C comments.
7717 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7720 2004-04-22 Michael Koch <konqueror@gmx.de>
7722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7723 Merged copyright year with GNU classpath.
7725 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7727 * javax/security/auth/x500/X500Principal.java:
7730 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7732 * javax/swing/JSlider.java:
7733 Fixed HTML tags in comments.
7735 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7737 * javax/accessibility/AccessibleText.java:
7740 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7742 * java/net/URLStreamHandler.java
7743 (parseURL): Convert the file path to using '/' instead of native
7746 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7749 (userInfo): New field.
7750 (URL): Set authority to the right value.
7751 (setURL): Fixed authority and file initialization.
7752 * java/net/URLStreamHandler.java
7753 (parseURL): Take care of the query tag. Build authority.
7754 (toExternalForm): Fixed URL building using authority.
7756 2004-04-22 Michael Koch <konqueror@gmx.de>
7758 * java/net/Socket.java
7759 (impl): Made package-private.
7760 * java/net/ServerSocket.java
7761 (implAccept): Access Socket.impl field directly.
7763 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7765 * java/util/prefs/Preferences.java,
7766 java/util/prefs/InvalidPreferencesFormatException.java,
7767 java/util/prefs/BackingStoreException.java,
7768 java/util/prefs/AbstractPreferences.java:
7771 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7773 * java/util/regex/Matcher.java,
7774 java/util/regex/Pattern.java:
7777 2004-04-22 Michael Koch <konqueror@gmx.de>
7779 * java/nio/charset/IllegalCharsetNameException.java
7780 (charsetName): Made private.
7781 (IllegalCharsetNameException): Added @param tag to javadoc.
7782 (getCharsetName): Added @return tag to javadoc.
7783 * java/nio/charset/MalformedInputException.java
7784 (MalformedInputException): Added @param tag to javadoc.
7785 (getInputLength): Revised method description, added @return tag.
7786 (getMessage): Added @return tag.
7788 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7790 * java/awt/Font.java (deriveFont): Implement missing variants.
7791 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7794 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7796 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7797 Set method->index values for interface methods to their itable index.
7798 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7800 2004-04-21 Michael Koch <konqueror@gmx.de>
7802 * java/nio/DirectByteBufferImpl.java
7803 (shiftDown): Made static, give address as argument and
7804 provide a convenience method that overwrites shiftDown in
7805 ByteBufferImpl and calls the native shiftDown.
7806 * java/nio/MappedByteBufferImpl.java
7807 (): Use optimized method in DirectByteBufferImpl.
7808 * java/nio/natDirectByteBufferImpl.cc
7809 (shiftDown): Changed method signature. Removed usage of array_offset.
7811 2004-04-21 Michael Koch <konqueror@gmx.de>
7813 * gnu/java/net/natPlainSocketImplPosix.cc
7814 (SocketInputStream::read): Make sure returned data is a byte value.
7816 2004-04-21 Michael Koch <konqueror@gmx.de>
7818 * gnu/classpath/ServiceFactory.java,
7819 gnu/classpath/ServiceProviderLoadingAction.java,
7820 javax/imageio/ImageReader.java,
7821 javax/imageio/ImageTranscoder.java,
7822 javax/imageio/ImageWriter.java,
7823 javax/imageio/package.html,
7824 javax/imageio/spi/IIOServiceProvider.java,
7825 javax/imageio/spi/ImageInputStreamSpi.java,
7826 javax/imageio/spi/ImageOutputStreamSpi.java,
7827 javax/imageio/spi/ImageReaderWriterSpi.java,
7828 javax/imageio/spi/ImageTranscoderSpi.java,
7829 javax/imageio/spi/RegisterableService.java,
7830 javax/imageio/spi/ServiceRegistry.java,
7831 javax/imageio/spi/package.html,
7832 javax/imageio/stream/IIOByteBuffer.java,
7833 javax/imageio/stream/ImageInputStream.java,
7834 javax/imageio/stream/ImageOutputStream.java,
7835 javax/imageio/stream/package.html:
7838 (ordinary_java_source_files): Added
7839 gnu/classpath/ServiceFactory.java and
7840 gnu/classpath/ServiceProviderLoadingAction.java.
7841 (javax_source_files): Added
7842 javax/imageio/ImageReader.java,
7843 javax/imageio/ImageTranscoder.java,
7844 javax/imageio/ImageWriter.java,
7845 javax/imageio/spi/IIOServiceProvider.java,
7846 javax/imageio/spi/ImageInputStreamSpi.java,
7847 javax/imageio/spi/ImageOutputStreamSpi.java,
7848 javax/imageio/spi/ImageReaderWriterSpi.java,
7849 javax/imageio/spi/ImageTranscoderSpi.java,
7850 javax/imageio/spi/RegisterableService.java,
7851 javax/imageio/spi/ServiceRegistry.java,
7852 javax/imageio/stream/IIOByteBuffer.java,
7853 javax/imageio/stream/ImageInputStream.java and
7854 javax/imageio/stream/ImageOutputStream.java.
7855 * Makefile.in: Regenerated.
7857 2004-04-21 Michael Koch <konqueror@gmx.de>
7859 * java/util/Properties.java
7860 (load): Fix wrongly merged fix.
7862 2004-04-21 Mark Wielaard <mark@klomp.org>
7864 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7865 malloc and free buf.
7867 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7869 * javax/naming/AuthenticationException.java,
7870 javax/naming/AuthenticationNotSupportedException.java,
7871 javax/naming/CannotProceedException.java,
7872 javax/naming/CommunicationException.java,
7873 javax/naming/CompoundName.java,
7874 javax/naming/ConfigurationException.java,
7875 javax/naming/ContextNotEmptyException.java,
7876 javax/naming/InitialContext.java,
7877 javax/naming/InsufficientResourcesException.java,
7878 javax/naming/InterruptedNamingException.java,
7879 javax/naming/LimitExceededException.java,
7880 javax/naming/LinkException.java,
7881 javax/naming/LinkLoopException.java,
7882 javax/naming/LinkRef.java,
7883 javax/naming/MalformedLinkException.java,
7884 javax/naming/Name.java,
7885 javax/naming/NameAlreadyBoundException.java,
7886 javax/naming/NameNotFoundException.java,
7887 javax/naming/NamingSecurityException.java,
7888 javax/naming/NoInitialContextException.java,
7889 javax/naming/NoPermissionException.java,
7890 javax/naming/NotContextException.java,
7891 javax/naming/PartialResultException.java,
7892 javax/naming/ReferralException.java,
7893 javax/naming/ServiceUnavailableException.java,
7894 javax/naming/SizeLimitExceededException.java,
7895 javax/naming/TimeLimitExceededException.java,
7896 javax/naming/directory/Attribute.java,
7897 javax/naming/directory/Attributes.java,
7898 javax/naming/directory/SearchResult.java,
7899 javax/naming/event/NamingExceptionEvent.java,
7900 javax/naming/spi/ResolveResult.java:
7903 2004-04-21 Mark Wielaard <mark@klomp.org>
7905 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7906 Changed C++ comments into C comments. Removed commented out code.
7907 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7909 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7911 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7913 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7915 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7917 * native/jni/gtk-peer/gthread-jni.c:
7920 2004-04-21 Mark Wielaard <mark@klomp.org>
7922 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7923 static fields defined in interface.
7924 * javax/awt/JDialog.java: Likewise.
7925 (JDialog): Make constructors public.
7926 (getDefaultCloseOperation): Make public.
7927 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7928 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7929 * javax/swing/JViewport.java (JViewport): Make constructor public.
7931 2004-04-21 Michael Koch <konqueror@gmx.de>
7933 * java/util/Map.java
7934 (Entry): Removed redundant "static" modifier.
7935 * java/text/AttributedCharacterIterator.java:
7936 Updated copyright year.
7938 2004-04-20 Michael Koch <konqueror@gmx.de>
7940 * javax/naming/directory/SearchControls.java:
7941 Don't explicitely extend java.lang.Object.
7942 * javax/naming/spi/DirStateFactory.java:
7943 Merged copyright year with GNU classpath.
7945 2004-04-20 Michael Koch <konqueror@gmx.de>
7947 * java/nio/channels/Channels.java:
7948 Merged coding style with GNU classpath.
7950 2004-04-20 Michael Koch <konqueror@gmx.de>
7952 * java/net/ServerSocket.java
7953 Merged coding style from GNU classpath.
7955 2004-04-20 Michael Koch <konqueror@gmx.de>
7957 * java/io/BufferedWriter.java:
7958 Reordered variables to be at top of the class.
7959 (localFlush): Removed redundant final keyword.
7961 2004-04-20 Ingo Proetel <proetel@aicas.com>
7963 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7965 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7967 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7968 for percent and permill check.
7970 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7972 * java/text/FieldPosition.java
7973 (FieldPosition) Constructor now behaves as it should according
7974 to the java documentation.
7976 2004-04-20 Mark Wielaard <mark@klomp.org>
7978 * java/util/Properties.java: Use the word umlaut, not ä in api
7981 2004-04-20 Michael Koch <konqueror@gmx.de>
7983 * java/nio/Buffer.java,
7984 java/nio/channels/AlreadyConnectedException.java,
7985 java/nio/channels/AsynchronousCloseException.java,
7986 java/nio/channels/ByteChannel.java,
7987 java/nio/channels/CancelledKeyException.java,
7988 java/nio/channels/Channel.java,
7989 java/nio/channels/Channels.java,
7990 java/nio/channels/ClosedByInterruptException.java,
7991 java/nio/channels/ClosedChannelException.java,
7992 java/nio/channels/ClosedSelectorException.java,
7993 java/nio/channels/ConnectionPendingException.java,
7994 java/nio/channels/DatagramChannel.java,
7995 java/nio/channels/FileChannel.java,
7996 java/nio/channels/FileLock.java,
7997 java/nio/channels/FileLockInterruptionException.java,
7998 java/nio/channels/GatheringByteChannel.java,
7999 java/nio/channels/IllegalBlockingModeException.java,
8000 java/nio/channels/IllegalSelectorException.java,
8001 java/nio/channels/InterruptibleChannel.java,
8002 java/nio/channels/NoConnectionPendingException.java,
8003 java/nio/channels/NonReadableChannelException.java,
8004 java/nio/channels/NonWritableChannelException.java,
8005 java/nio/channels/NotYetBoundException.java,
8006 java/nio/channels/NotYetConnectedException.java,
8007 java/nio/channels/OverlappingFileLockException.java,
8008 java/nio/channels/Pipe.java,
8009 java/nio/channels/ReadableByteChannel.java,
8010 java/nio/channels/ScatteringByteChannel.java,
8011 java/nio/channels/SelectableChannel.java,
8012 java/nio/channels/SelectionKey.java,
8013 java/nio/channels/Selector.java,
8014 java/nio/channels/ServerSocketChannel.java,
8015 java/nio/channels/SocketChannel.java,
8016 java/nio/channels/UnresolvedAddressException.java,
8017 java/nio/channels/UnsupportedAddressTypeException.java,
8018 java/nio/channels/WritableByteChannel.java,
8019 java/nio/channels/spi/AbstractInterruptibleChannel.java,
8020 java/nio/channels/spi/AbstractSelectableChannel.java,
8021 java/nio/channels/spi/AbstractSelectionKey.java,
8022 java/nio/channels/spi/AbstractSelector.java,
8023 java/nio/channels/spi/SelectorProvider.java,
8024 java/nio/charset/spi/CharsetProvider.java:
8025 Fixed javadocs and jalopied all over java.nio.
8027 2004-04-20 Michael Koch <konqueror@gmx.de>
8029 * java/nio/ByteBufferImpl.java,
8030 java/nio/CharBufferImpl.java,
8031 java/nio/DirectByteBufferImpl.java,
8032 java/nio/DoubleBufferImpl.java,
8033 java/nio/DoubleViewBufferImpl.java,
8034 java/nio/FloatBufferImpl.java,
8035 java/nio/FloatViewBufferImpl.java,
8036 java/nio/IntBufferImpl.java,
8037 java/nio/IntViewBufferImpl.java,
8038 java/nio/LongBufferImpl.java,
8039 java/nio/LongViewBufferImpl.java,
8040 java/nio/MappedByteBufferImpl.java,
8041 java/nio/ShortBufferImpl.java,
8042 java/nio/ShortViewBufferImpl.java:
8043 Made sure all classes are final and removed final keyword from all
8046 2004-04-20 Michael Koch <konqueror@gmx.de>
8048 * java/rmi/MarshalledObject.java,
8049 java/rmi/Naming.java,
8050 java/rmi/RemoteException.java,
8051 java/rmi/activation/ActivationException.java,
8052 java/rmi/server/ServerCloneException.java,
8053 java/security/AccessController.java,
8054 java/security/AlgorithmParameterGenerator.java,
8055 java/security/AlgorithmParameters.java,
8056 java/security/CodeSource.java,
8057 java/security/Identity.java,
8058 java/security/IdentityScope.java,
8059 java/security/KeyPairGenerator.java,
8060 java/security/KeyStore.java,
8061 java/security/Security.java,
8062 java/security/Signature.java,
8063 java/security/SignatureSpi.java,
8064 java/security/SignedObject.java,
8065 java/security/spec/DSAParameterSpec.java,
8066 java/security/spec/DSAPrivateKeySpec.java,
8067 java/security/spec/DSAPublicKeySpec.java,
8068 java/sql/Array.java,
8069 java/sql/DatabaseMetaData.java,
8070 java/sql/ResultSet.java,
8071 java/text/ChoiceFormat.java,
8072 java/text/CollationElementIterator.java,
8073 java/text/CollationKey.java,
8074 java/text/Collator.java,
8075 java/text/DateFormat.java,
8076 java/text/DateFormatSymbols.java,
8077 java/text/DecimalFormatSymbols.java,
8078 java/text/Format.java,
8079 java/text/ParsePosition.java,
8080 java/text/RuleBasedCollator.java,
8081 java/text/SimpleDateFormat.java,
8082 java/text/StringCharacterIterator.java,
8083 java/util/Collections.java,
8084 java/util/PropertyResourceBundle.java,
8085 java/util/ResourceBundle.java,
8086 java/util/StringTokenizer.java,
8087 java/util/jar/Attributes.java,
8088 java/util/logging/ConsoleHandler.java,
8089 java/util/logging/LogManager.java,
8090 java/util/logging/MemoryHandler.java,
8091 java/util/logging/SocketHandler.java,
8092 javax/naming/NamingException.java:
8093 Fixed javadoc, coding style and argument names all over.
8095 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
8097 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8098 constructor. (valid) Added null check.
8100 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8102 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8103 * java/io/FileOutputStream.java
8104 (FileOutputStream) Reorganized constructors. Constructors now
8105 check whether the given path is directory.
8107 2004-04-20 Michael Koch <konqueror@gmx.de>
8109 * java/net/Authenticator.java,
8110 java/net/BindException.java,
8111 java/net/ConnectException.java,
8112 java/net/ContentHandler.java,
8113 java/net/ContentHandlerFactory.java,
8114 java/net/DatagramPacket.java,
8115 java/net/DatagramSocket.java,
8116 java/net/DatagramSocketImpl.java,
8117 java/net/DatagramSocketImplFactory.java,
8118 java/net/FileNameMap.java,
8119 java/net/HttpURLConnection.java,
8120 java/net/Inet4Address.java,
8121 java/net/Inet6Address.java,
8122 java/net/InetAddress.java,
8123 java/net/InetSocketAddress.java,
8124 java/net/JarURLConnection.java,
8125 java/net/MalformedURLException.java,
8126 java/net/MulticastSocket.java,
8127 java/net/NetPermission.java,
8128 java/net/NetworkInterface.java,
8129 java/net/NoRouteToHostException.java,
8130 java/net/PasswordAuthentication.java,
8131 java/net/PortUnreachableException.java,
8132 java/net/ProtocolException.java,
8133 java/net/ServerSocket.java,
8134 java/net/Socket.java,
8135 java/net/SocketAddress.java,
8136 java/net/SocketException.java,
8137 java/net/SocketImpl.java,
8138 java/net/SocketImplFactory.java,
8139 java/net/SocketOptions.java,
8140 java/net/SocketPermission.java,
8141 java/net/SocketTimeoutException.java,
8143 java/net/URISyntaxException.java,
8145 java/net/URLClassLoader.java,
8146 java/net/URLConnection.java,
8147 java/net/URLDecoder.java,
8148 java/net/URLEncoder.java,
8149 java/net/URLStreamHandler.java,
8150 java/net/URLStreamHandlerFactory.java,
8151 java/net/UnknownHostException.java,
8152 java/net/UnknownServiceException.java:
8153 Fixed javadocs, coding style and argument names all over.
8155 2004-04-20 Michael Koch <konqueror@gmx.de>
8157 * java/lang/Byte.java,
8158 java/lang/CharSequence.java,
8159 java/lang/ClassLoader.java,
8160 java/lang/Compiler.java,
8161 java/lang/Double.java,
8162 java/lang/Float.java,
8163 java/lang/Integer.java,
8164 java/lang/Long.java,
8165 java/lang/Math.java,
8166 java/lang/Number.java,
8167 java/lang/Package.java,
8168 java/lang/Runtime.java,
8169 java/lang/RuntimePermission.java,
8170 java/lang/SecurityManager.java,
8171 java/lang/Short.java,
8172 java/lang/StringBuffer.java,
8173 java/lang/System.java,
8174 java/lang/ThreadGroup.java,
8175 java/lang/Throwable.java,
8176 java/lang/reflect/InvocationHandler.java,
8177 java/lang/reflect/Proxy.java:
8178 Fixed javadocs, coding style and argument names all over.
8180 2004-04-20 Michael Koch <konqueror@gmx.de>
8182 * java/io/BufferedWriter.java,
8183 java/io/ByteArrayInputStream.java,
8184 java/io/CharArrayWriter.java,
8185 java/io/DataInput.java,
8186 java/io/DataInputStream.java,
8188 java/io/FilterInputStream.java,
8189 java/io/InputStream.java,
8190 java/io/InputStreamReader.java,
8191 java/io/ObjectInputStream.java,
8192 java/io/ObjectStreamClass.java,
8193 java/io/PipedInputStream.java,
8194 java/io/PipedReader.java,
8195 java/io/PushbackInputStream.java,
8196 java/io/PushbackReader.java,
8197 java/io/RandomAccessFile.java,
8198 java/io/SerializablePermission.java,
8199 java/io/StreamTokenizer.java,
8200 java/io/StringWriter.java,
8201 java/io/WriteAbortedException.java,
8202 java/io/Writer.java:
8203 Fixed javadocs all over, rename arguments to match javadocs,
8206 2004-04-20 Ingo Proetel <proetel@aicas.com>
8208 * java/awt/FontMetrics.java:
8209 (charsWidth): fixed accumulation of total_width
8210 (getWidth): simple default implementation
8211 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8212 in Rectangle constructor.
8213 * java/awt/image/Raster.java (toString): Added method.
8214 * java/awt/image/SampleModel.java (<init>): Added error cause
8215 information to thrown exception.
8216 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8218 (setDataElements): New method.
8219 (setPixels): New method.
8220 (toString): New method.
8222 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8224 * java/awt/image/ComponentColorModel.java
8225 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8226 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8227 Mauve tests on this method. Improved documentation.
8229 2004-04-20 Michael Koch <konqueror@gmx.de>
8231 * javax/swing/JLayeredPane.java,
8232 javax/swing/plaf/BorderUIResource.java,
8233 javax/swing/plaf/ComponentUI.java,
8234 javax/swing/undo/CompoundEdit.java,
8235 javax/swing/undo/StateEdit.java:
8236 Fixed HTML tags in javadocs all over.
8238 2004-04-20 Michael Koch <konqueror@gmx.de>
8240 * javax/print/attribute/EnumSyntax.java
8241 (getOffset): Made protected.
8242 * javax/print/attribute/HashAttributeSet.java
8243 (HashAttributeSet): Likewise.
8244 * javax/print/attribute/ResolutionSyntax.java
8245 (getFeedResolution): Fixed typo in exception name.
8246 (getCrossFeedResolution): Likewise.
8247 * javax/print/attribute/SetOfIntegerSyntax.java
8248 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8249 * javax/print/attribute/TextSyntax.java
8250 (TextSyntax): Handle locale correctly.
8251 (hashCode): Calc better hashcode value.
8252 (equals): Fixed @return tag.
8253 (toString): New method.
8255 2004-04-20 Michael Koch <konqueror@gmx.de>
8257 * gnu/java/nio/FileLockImpl.java
8258 (static): Removed, not needed anymore.
8259 * gnu/java/nio/channels/FileChannelImpl.java
8260 (FileChannelImpl): Made final.
8261 (mode): Made private.
8262 (READ, WRITE, APPEND): Made public.
8263 (EXCL, SYNC, DSYNC): Likewise.
8264 (static): Load native JNI library, when needed.
8265 (length): Unused, removed.
8266 (available): Made public.
8267 (implPosition): Throws IOException.
8269 (implTruncate): Likewise.
8273 2004-04-20 Michael Koch <konqueror@gmx.de>
8275 * java/awt/AWTPermission.java,
8276 java/awt/Component.java,
8277 java/awt/ComponentOrientation.java,,
8278 java/awt/Dialog.java,
8279 java/awt/FontMetrics.java,
8280 java/awt/Graphics.java,
8281 java/awt/datatransfer/DataFlavor.java,
8282 java/beans/Introspector.java,
8283 java/beans/PropertyEditor.java,
8284 java/beans/PropertyEditorManager.java,
8285 java/beans/beancontext/BeanContextServiceProvider.java:
8286 Fixed HTML tags in javadocs all over.
8288 2004-04-20 Mark Wielaard <mark@klomp.org>
8290 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8291 MissingResourceException is thrown.
8292 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8293 null when a MissingResourceException is thrown. Should never happen.
8295 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8297 * java/awt/image/DataBufferShort.java,
8298 java/awt/image/DataBufferFloat.java,
8299 java/awt/image/DataBufferDouble.java,
8300 java/awt/image/PixelInterleavedSampleModel.java: New files.
8301 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8302 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8304 2004-04-20 Michael Koch <konqueror@gmx.de>
8306 * Makefile.am (java_source_files): Added
8307 java/awt/image/DataBufferDouble.java,
8308 java/awt/image/DataBufferFloat.java,
8309 java/awt/image/DataBufferShort.java and
8310 java/awt/image/PixelInterleavedSampleModel.java.
8311 * Makefile.in: Regenerated.
8313 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8315 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8316 undocumented CNI calls.
8317 * include/java-interp.h (_Jv_InterpClass): No longer
8318 extends java.lang.Class.
8319 * java/lang/Class.h (Class): Add new field `aux_info'.
8320 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8321 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8322 Use Class->aux_info instead.
8323 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8324 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8325 Use Class->aux_info instead.
8326 * java/io/natObjectInputStream.cc (allocateObject): Use
8328 * java/lang/natClass.cc (newInstance): Likewise.
8329 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8330 * java/lang/natObject.cc (clone): Likewise.
8331 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8332 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8333 JvAllocObject. Allocate klass->aux_info here for interpreted
8336 2004-04-17 Mark Wielaard <mark@klomp.org>
8338 * javax/swing/JToggleButton.java (ToggleButtonModel):
8339 Make public static inner class.
8340 * javax/swing/JTabbedPane.java (setComponentAt):
8341 Call Page.setComponent().
8342 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8343 (WRAP_TAB_LAYOUT): Make public, value is 0.
8344 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8345 Make private static inner class.
8347 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8349 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8350 arguments to match new signature. Remove FIXME comments.
8352 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8354 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8359 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8361 * Makefile.am: Added new file.
8362 * Makefile.in: Regenerate.
8363 * javax/swing/ImageIcon.java:
8364 (ImageIcon(file)): set description of the icon
8366 * javax/swing/JCheckBoxMenuItem.java:
8367 Mostly Implemented. Work in progress.
8368 * javax/swing/JRadioButtonMenuItem.java:
8369 Reimplement constructors to use JToggleButtonModel.
8370 * javax/swing/plaf/basic/BasicIconFactory.java:
8371 (getCheckBoxMenuItemIcon): return check box
8373 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8374 paint menu item selected only when it is armed and
8377 2004-04-02 David Jee <djee@redhat.com>
8379 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8380 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8381 * java/awt/Component.java
8382 (add): Set the parent of the popup as this component.
8383 * java/awt/PopupMenu.java
8384 (addNotify): Create popup menu when peer is null.
8385 (show): Call addNotify() if peer is null.
8386 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8387 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8388 argument for gtk_menu_popup() as zero. This causes the popup menu to
8389 respond to any mouse button.
8391 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8393 * Makefile.am: Added new file.
8394 * Makefile.in: Regenerate.
8395 * javax/swing/JRadioButtonMenuItem.java:
8397 * javax/swing/plaf/basic/BasicIconFactory.java:
8398 (getRadioButtonMenuItemIcon): Return
8400 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8401 (getPreferredSize): Add size of checkIcon if it
8403 (installDefaults): Don't initialize checkIcon.
8404 It's value will be set in subclasses.
8405 (uninstallDefaults): remove uninstallation of
8407 (paint): Moved code to paintMenuItem().
8408 (paintMenuItem): Implemented.
8409 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8410 UI delegate for JRadioButtonMenuItem.
8412 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8414 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8415 Corrected position of the accelerator.
8417 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8419 * Makefile.am: Added new file.
8420 * Makefile.in: Regenerate.
8421 * javax/swing/JMenuItem.java: Partly
8422 implemented. Work in progress
8423 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8424 Changed default value of acceleratorDelimiter.
8425 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8426 New class. Partly implemented.
8428 2004-03-26 Mark Wielaard <mark@klomp.org>
8430 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8431 (item_activate): Declare label before use.
8432 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8433 (gtkSetFont): Removed unused variable label.
8434 (addExposeFilter): Declare variables before use.
8435 (removeExposeFilter): Likewise.
8436 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8437 (ok_clicked): Declare str_fileName before use.
8439 2004-03-26 David Jee <djee@redhat.com>
8441 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8442 (addSeparator): Remove.
8443 * java/awt/Menu.java
8444 (separator): Remove static final MenuItem field.
8445 (separatorLabel): New static final String field.
8446 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8447 Use separatorLabel to denote that it is a separator.
8448 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8449 of reusing the static separator instance, because a MenuItem instance
8450 can't be added more than once without being cloned.
8451 * java/awt/peer/MenuPeer.java
8452 (addSeparator): Remove from interface.
8454 2004-03-26 David Jee <djee@redhat.com>
8456 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8457 (connectSignals): New native method declaration.
8458 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8459 * java/awt/MenuItem.java
8460 (getActionCommand): Return the label if the action command is not set.
8461 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8462 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8463 gtk_menu_shell_append().
8464 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8465 (item_activate): Fix argument type.
8466 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8468 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8471 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8472 given. Add the menu widget's top-level GtkWindow to the global window
8473 group, so it can grab the pointer.
8474 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8475 gtk_menu_shell_append().
8477 2004-03-23 Graydon Hoare <graydon@redhat.com>
8479 * java/text/AttributedString.java
8480 (addAttribute): Fix off-by-one.
8481 (getIterator): Likewise.
8482 * java/text/AttributedStringIterator.java
8483 (getRunLimit): Correct logic.
8484 (getRunStart): Likewise.
8485 (getAttribute): Fix inequality.
8486 (getAttributes): Likewise.
8487 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8489 2004-03-23 Kim Ho <kho@redhat.com>
8491 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8492 (calculateSizes): Return real width and height.
8494 2004-03-23 Kim Ho <kho@redhat.com>
8496 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8497 (calculateTabRects): Set the selectedRun before
8498 trying to rotate tabs.
8500 2004-03-23 Kim Ho <kho@redhat.com>
8502 * Makefile.am: New file
8503 * Makefile.in: Regenerate
8504 * java/awt/Graphics.java: (drawRect):
8505 Draw to the correct point.
8506 * javax/swing/DefaultSingleSelectionModel.java
8507 (isSelected): Return true if the selected index
8509 * javax/swing/JLabel.java: Do not change mnemonic
8510 index if text is null.
8511 * javax/swing/JProgressBar.java: Use JComponent's
8513 * javax/swing/JScrollBar.java: Ditto.
8514 * javax/swing/JSlider.java: Ditto.
8515 * javax/swing/JTabbedPane.java: Reimplement.
8516 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8517 Add defaults for TabbedPane.
8518 * javax/swing/plaf/basic/BasicArrowButton.java:
8520 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8521 (paintDeterminate): Don't paint String if it's
8523 (paintIndeterminate): ditto.
8524 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8527 2004-03-19 Michael Koch <konqueror@gmx.de>
8529 * java/awt/image/AffineTransformOp.java
8530 (AffineTransformOp): Made public.
8531 * javax/swing/JComponent.java
8532 (listenerList): Made protected.
8533 (accessibleContext): Likewise.
8534 * javax/swing/JList.java
8535 (valueChanged): Dont use internal fields of ListSelectionEvent.
8536 * javax/swing/JViewport.java
8537 (getView): Dont use internal fields of Component.
8538 (addImpl): Likewise.
8539 * javax/swing/Timer.java
8540 (isRunning): Made public.
8543 * javax/swing/UIDefaults.java
8544 (getInt): Made public.
8545 * javax/swing/plaf/basic/BasicListUI.java
8546 (mousePressed): Dont use internal fields of MouseEvent.
8547 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8548 * javax/swing/plaf/basic/BasicScrollBarUI.java
8549 (arrowIcon): Made static.
8550 * javax/swing/plaf/basic/BasicViewportUI.java
8551 (stateChanged): Dont use internal field on ChangeEvent.
8552 * javax/swing/text/JTextComponent.java
8553 (getUI): Call UIManager.getUI().
8554 (updateUI): Use getUI().
8556 2004-03-19 Graydon Hoare <graydon@redhat.com>
8558 * javax/swing/JComponent.java: Turn off double buffer by default.
8559 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8561 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8562 Use cairo to copy areas.
8563 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8564 Initialize and set clip region.
8566 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8568 * java/applet/Applet.java (preferredSize): Override deprecated
8569 variant of getPreferredSize.
8570 (minimumSize): Override deprecated variant of getMinimumSize.
8572 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8574 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8575 (drawImage(img,xform,bgcolor,obs)): New Method.
8576 Helper function that every drawImage method will
8578 (drawRaster): Added new parameter, bgcolor. All
8579 transparent pixels are changed to bgcolor before
8581 (drawRenderedImage): Fixed to use changed drawRaster().
8582 (drawImage(image,xform,obs): Fixed to use new helper function
8583 (drawImage(image,op,x,y)): Ditto.
8584 (drawImage (img,x,y,observer)): Ditto.
8585 ((PainterThread) bgcolor): New Field.
8586 ((PainterThread) (setPixels)): Changed all transparent pixels
8588 (drawImage(img,x,y,width,height,bgcolor,observer)):
8589 Fixed FIXME - all the transparent pixels are
8590 changed to the specified bgcolor.
8591 (drawImage(img, x, y, width, height, observer): Changed to
8593 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8594 Fixed FIXME- changed all transparent pixels to bgcolor.
8595 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8596 Changed to use function above.
8598 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8600 * java/applet/Applet.java (dimensions): New field.
8601 (getDimensions): New method.
8602 (getPreferredSize): Call getDimensions.
8603 (getMinimumSize): Likewise.
8605 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8607 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8608 * jni/classpath/jnilink.c: Likewise.
8610 * java/applet/Applet.java (getPreferredSize): New method.
8611 (getMinimumSize): New method.
8613 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8615 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8616 (_Jv_AllocObjectNoFinalizer): Likewise.
8617 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8618 (_Jv_AllocPtrFreeObject): Likewise.
8619 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8620 directly even in the JVMPI case.
8621 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8622 _Jv_AllocObject calls.
8623 * gcj/javaprims.h: Update prototypes.
8624 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8625 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8626 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8628 2004-04-14 Andrew Haley <aph@redhat.com>
8629 Bryce McKinlay <mckinlay@redhat.com>
8631 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8632 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8633 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8635 * testsuite/libjava.lang/InvokeInterface.java: New file.
8636 * testsuite/libjava.lang/InvokeInterface.out: New file.
8638 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8640 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8642 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8643 StackTraceElement directly.
8644 (newElement): New native helper method to create StackTraceElement
8645 bypassing Java access control.
8646 (createStackTraceElement): Use newElement() instead of directly
8647 calling StackTraceElement's constructor.
8648 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8650 2004-04-01 Michael Koch <konqueror@gmx.de>
8652 * java/lang/SecurityManager.java
8653 (checkAwtEventQueueAccess): Implemented.
8655 2004-04-01 Gary Benson <gbenson@redhat.com>
8657 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8658 (_Jv_SearchMethodInClass): Likewise.
8660 2004-03-26 Peter Moon <peterm@miraculum.com>
8662 * java/text/NumberFormat.java: Fix spelling of setCurrency
8665 2004-03-21 Anthony Green <green@redhat.com>
8667 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8668 recursion when searching for the system ClassLoader.
8670 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8672 * java/net/ServerSocket.java
8673 (accept): Close the socket when error occured.
8675 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8677 * java/net/URI.java (parseURI): Added unquoting.
8678 (unquote): New method.
8679 (quoteAuthority): Implemented.
8680 (quote(String,String)): New method.
8681 (quotePath): Implemented.
8682 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8683 (getSchemeSpecificPart): Removed FIXME comment.
8684 (getRawAuthority): Return new rawAuthority field.
8685 (getAuthority): Removed FIXME comment.
8686 (getRawUserInfo): Return new rawUserInfo field.
8687 (getUserInfo): Removed FIXME comment.
8688 (getRawPath): Return new rawPath field.
8689 (getPath): Removed FIXME comment.
8690 (getRawQuery): Return new rawQuery field.
8691 (getQuery): Removed FIXME comment.
8692 (getRawFragment): Return new rawFragment field.
8693 (getFragment): Removed FIXME comment.
8695 2004-03-20 Michael Koch <konqueror@gmx.de>
8697 * java/net/URLConnection.java: Merged copyright year with classpath.
8699 2004-03-20 Norbert Frese <postfach@nfrese.net>
8701 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8702 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8703 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8705 (getObjectInputStream): Return object reference, throw IOException if null.
8706 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8707 (getObjectOutputStream): Return object reference, throw IOException if null.
8708 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8709 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8710 (UnicastConnectionManager): Throw RemoteException if port is not available.
8711 (getInstance): Throw RemoteException.
8712 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8713 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8714 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8715 Collect Exceptions which are returned by a rmi-call and fix void returns.
8716 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8717 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8718 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8719 (dispatch): Answer ping messages which are sent by other java implementions.
8720 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8721 for every rmi-message and fix void return problems.
8722 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8723 (UnicastServerRef): Throw RemoteException.
8724 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8725 In some situations it is necessary to export a subclass of the class which has the _Stub.
8726 For instance when the class with has the _Stub is abstract.
8727 (findStubSkelClass): New method which looks for the class which has the _Stub.
8728 (getClientHost): Implementated.
8729 * gcc/libjava/java/rmi/server/RemoteServer.java
8730 (getClientHost): Implementated.
8731 * gcc/libjava/Makefile.am (rmi_java_source_files):
8732 Added gnu/java/rmi/server/RMIIncomingThread.java.
8733 * Makefile.in: Regenerated.
8735 2004-03-20 Michael Koch <konqueror@gmx.de>
8737 * java/net/InetAddress.java
8738 (getLocalHostname): Added javadoc.
8740 2004-03-19 Per Bothner <per@bothner.com>
8742 * configure.in: FILE variable overrides FLATFORM when linking
8743 natFileChannelXXX.cc.
8745 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8746 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8748 2004-03-19 Per Bothner <per@bothner.com>
8750 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8751 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8752 * Makefile.am: Update accordingly.
8753 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8754 as aliases for UnicodeLittle and UnicodeBig.
8756 2004-03-20 Mark Wielaard <mark@klomp.org>
8758 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8759 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8760 Don't access ws when it is null.
8761 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8764 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8766 * java/lang/ThreadGroup.java (list): Changed print to println.
8768 2004-03-19 Mark Wielaard <mark@klomp.org>
8770 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8773 2004-02-10 Randolph Chung <tausq@debian.org>
8775 * configure.in: Build java for hppa target.
8776 * configure: Regenerate.
8777 * libjava/configure.host (hppa-*): Add target.
8778 * libjava/sysdeps/pa/lock.h: New file.
8780 2004-03-19 Mark Wielaard <mark@klomp.org>
8782 Reported by Stephen Crawley
8783 * java/io/FilePermission.java (implies): Use String.length() -1 to
8784 access last char of String.
8786 2004-03-19 Michael Koch <konqueror@gmx.de>
8788 * java/awt/image/AffineTransformOp.java
8789 (AffineTransformOp): Made public.
8790 * javax/swing/JComponent.java
8791 (listenerList): Made protected.
8792 (accessibleContext): Likewise.
8793 * javax/swing/JList.java
8794 (valueChanged): Dont use internal fields of ListSelectionEvent.
8795 * javax/swing/JViewport.java
8796 (getView): Dont use internal fields of Component.
8797 (addImpl): Likewise.
8798 * javax/swing/Timer.java
8799 (isRunning): Made public.
8802 * javax/swing/UIDefaults.java
8803 (getInt): Made public.
8804 * javax/swing/plaf/basic/BasicListUI.java
8805 (mousePressed): Dont use internal fields of MouseEvent.
8806 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8807 * javax/swing/plaf/basic/BasicScrollBarUI.java
8808 (arrowIcon): Made static.
8809 * javax/swing/plaf/basic/BasicViewportUI.java
8810 (stateChanged): Dont use internal field on ChangeEvent.
8811 * javax/swing/text/JTextComponent.java
8812 (getUI): Call UIManager.getUI().
8813 (updateUI): Use getUI().
8815 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8817 * verify.cc: Undef PC.
8819 2004-03-18 Michael Koch <konqueror@gmx.de>
8821 * java/nio/channels/spi/AbstractSelectableChannel.java
8822 (keys): Initialize at declaration.
8823 (locate): keys cant be null.
8825 (addSelectionKey): New method.
8826 (removeSelectionKey): New method.
8827 * java/nio/channels/spi/AbstractSelectionKey.java
8828 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8829 * java/nio/channels/spi/AbstractSelector.java
8830 (provider): Javadoc added.
8831 (cancelledKeys): Javadoc added.
8832 (cancelKey): Javadoc added, add key to cancelledKeys.
8833 (deregister): Implemented.
8835 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8837 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8838 MAP_FAILED to void *.
8840 2004-03-12 Graydon Hoare <graydon@redhat.com>
8842 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8843 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8844 * javax/swing/JList.java (ListListener): Revalidate on changes.
8845 * javax/swing/JScrollPane.java: Reimplement.
8846 * javax/swing/JViewport.java: Reimplement.
8847 * javax/swing/ScrollPaneLayout.java: Reimplement.
8848 * javax/swing/ViewportLayout.java: Tidy up.
8849 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8850 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8851 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8852 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8855 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8858 (window_wm_protocols_filter): New function.
8859 (window_focus_in_cb): Remove function.
8860 (window_focus_out_cb): Likewise.
8861 (window_focus_or_active_state_change_cb): New function.
8862 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8863 (connectSignals): Don't attach handlers to focus-in-event or
8864 focus-out-event signals. Handle notify signal.
8866 2004-03-11 David Jee <djee@redhat.com>
8868 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8869 (gtkSetLabel): New native method declaration.
8870 (setLabel): Use gtkSetLabel.
8871 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8872 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8874 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8876 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8877 black when color argument is null.
8879 2004-03-10 Kim Ho <kho@redhat.com>
8881 * java/awt/Container.java: Remove check
8884 2004-03-10 Kim Ho <kho@redhat.com>
8886 * java/awt/Container.java: (visitChild):
8887 Remove candidate clip. Use the component
8889 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8890 (handleEvent): Use the PaintEvent's clip.
8892 2004-03-10 Kim Ho <kho@redhat.com>
8894 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8895 (handleEvent): Don't set the clip for the
8898 2004-03-09 Graydon Hoare <graydon@redhat.com>
8900 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8901 Fix double <-> fixed macros, reset font transform.
8902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8905 2004-03-09Â Kim Ho <kho@redhat.com>
8907 * java/awt/Container.java: (visitChild): Move
8908 the x and y coordinate of the component rectangle
8909 to correct position.
8910 (handleEvent): Forward drag events to the pressed
8912 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8914 (ArrowButtonListener::mousePressed): Stop the
8916 (mouseDragged): Implement.
8917 (TrackListener::mousePressed): Only react if
8918 the press doesn't occur on the thumb, otherwise
8919 just set the offset.
8920 (TrackListener::mouseReleased): Unset the isAdjusting
8922 (createIncreaseIcon): Switch icon.
8923 (createDecreaseIcon): Switch icon.
8924 (calculatePreferredSize): Use width.
8925 (getThumbBounds): Use the top as the lower value.
8926 (layoutVScrollBar): Switch the button locations.
8927 (paintIncreaseHighlight): Paint correct side of thumb.
8928 (paintDecreaseHighlight): ditto.
8929 (valueForYPosition): Use top as the lower value.
8930 * javax/swing/plaf/basic/BasicSliderUI.java:
8932 (mouseDragged): Implement.
8933 (mousePressed): Only react when the thumb isn't
8934 pressed, otherwise just set offset.
8935 (mouseReleased): Handle a release of the thumb.
8936 (scrollDueToClickInTrack): Stop the timer first.
8937 * javax/swing/JProgressBar.java:
8938 (setString): Fix change condition.
8939 * javax/swing/JSeparator.java:
8942 2004-03-08 David Jee <djee@redhat.com>
8944 * java/awt/image/AffineTransformOp.java:
8945 (filter): Use Graphics2D interface instead of directly using the
8948 2004-03-05 David Jee <djee@redhat.com>
8950 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8951 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8952 * java/awt/Container.java
8953 (acquireComponentForMouseEvent): Fixed.
8954 (handleEvent): Fixed.
8955 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8956 (state_to_awt_mods_with_button_states): New method.
8957 (pre_event_handler): Fixed mouse event generation.
8959 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8961 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8962 (GdkGraphics2D (BufferedImage)): Initialize
8963 pixmap associated with specified BufferedImage.
8964 (setPaint): Changed implementation of Texture
8965 Paint to use AffineTransformOp.
8966 * java/awt/image/AffineTransformOp.java
8967 (createCompatibleDestRaster): Throw RasterFormatException
8968 if resulting width or height of raster is 0.
8970 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8972 * java/awt/image/AffineTransformOp.java:
8973 Removed unnecessary field interpolationType.
8974 Formatted some of the lines to be consistent with
8976 (AffineTransformOp): Create new RenderingHints
8977 containing specified interpolation type.
8978 (createCompatibleDestImage): Implemented.
8979 (createCompatibleDestRaster): Implemented.
8980 (filter): Implemented.
8981 (getBounds2D(BufferedImage)): Implemented.
8982 (getBounds2D(Raster)): Implemented.
8983 (getInterpolationType): Get interpolation value from
8986 2004-03-04 David Jee <djee@redhat.com>
8988 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8989 (setFont): Check if child peers are null.
8991 2004-03-04 Graydon Hoare <graydon@redhat.com>
8993 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8995 (libjava_arguments): Add new libraries to argument list.
8997 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8999 * Makefile.am: Added java/awt/image/AffineTransformOp.java
9000 * Makefile.in: Re-generated.
9001 * java/awt/image/AffineTransformOp.java: New Class.
9003 2004-03-01 Olga Rodimina <rodimina@redhat.com>
9005 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9006 (setPaint): Interpret correctly TexturePaint's
9008 (drawImage): Fixed scale factors of the affine
9011 2004-02-27 David Jee <djee@redhat.com>
9013 * gnu/java/awt/peer/gtk/GdkGraphics.java
9014 (GdkGraphics(Component)): Inherit font from component.
9015 (drawString): Use font style.
9016 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
9017 (gtkSetFont): New native method declaration.
9018 (setFont): New method.
9019 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
9020 (gtkSetFont): New native method declaration.
9021 (setFont): Call new native method gtkSetFont.
9022 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
9023 (setFont): For all child components who do not their fonts set,
9024 set their peers' fonts with this container's font.
9025 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
9026 Move all native method declarations to the top for readability.
9027 (gtkSetFont): New native method declaration.
9028 (setFont): New method.
9029 * java/awt/Component.java
9030 (setFont): Invalidate after setting the font.
9031 * java/awt/Container.java
9032 (invalidateTree): New method.
9033 (setFont): Invalidate the container tree after setting the font.
9034 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9035 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
9036 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
9037 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
9038 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9039 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
9040 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
9041 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
9043 2004-02-27 Olga Rodimina <rodimina@redhat.com>
9045 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9046 (updateBufferedImage): New helper function.
9047 Updates BufferedImage in memory if it was changed.
9048 (draw): changed to update BufferedImage in memory after
9049 this drawing operation
9051 (draw3DRect): Ditto.
9052 (fill3DRect): Ditto.
9054 (drawRaster): Ditto.
9055 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
9056 no affine transformation.
9057 (drawGlyphVector): Ditto.
9059 2004-02-26 Olga Rodimina <rodimina@redhat.com>
9061 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9062 (isBufferedImageGraphics): New Helper function.
9063 Returns true if this graphics2d can be used to draw
9064 into buffered image and false otherwise.
9065 (updateImagePixels): New Helper function.
9066 Updates pixels in the BufferedImage.
9067 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9068 (getImagePixels): New function. Returns pixels
9069 of the buffered image associated with
9072 2004-02-26 David Jee <djee@redhat.com>
9074 * java/awt/BorderLayout.java
9075 (layoutContainer): Fix width and height calculations to ensure
9076 that they're non-negative.
9077 * java/awt/Component.java
9078 (setBackground): If c is null, inherit from closest ancestor whose
9079 background color is set.
9081 2004-02-26 Kim Ho <kho@redhat.com>
9083 * Makefile.am: Add new files.
9084 * Makefile.in: Re-generate.
9085 * javax/swing/JProgressBar.java:
9086 (JProgressBar(int, int int)): Throw
9087 IllegalArgumentException if orientation is
9089 (JProgressBar(BoundedRangeModel)): Create
9090 ChangeListener and register it. UpdateUI.
9091 (getChangeListeners): Implement.
9092 (setModel): Reset ChangeListener.
9093 * javax/swing/JScrollBar.java: Implement.
9094 * javax/swing/JSeparator.java: Implement.
9095 * javax/swing/JSlider.java:
9096 (JSlider(int, int, int, int)): Throw
9097 IllegalArgumentException if orientation
9099 (getChangeListeners): Fix method name.
9100 * javax/swing/SwingUtilities.java:
9101 (layoutCompoundLabel): If there is no text,
9102 set the text rectangle dimensions to 0.
9103 * javax/swing/plaf/basic/BasicButtonUI.java:
9104 (paint): If there is no text, don't paint it.
9105 * javax/swing/plaf/basic/BasicScrollBarUI.java:
9107 * javax/swing/plaf/basic/BasicSeparatorUI.java:
9109 * javax/swing/plaf/basic/BasicSliderUI.java:
9110 (propertyChange): If the model changes, change
9111 the listeners accordingly.
9113 2004-02-25 Graydon Hoare <graydon@redhat.com>
9115 * javax/swing/AbstractButton.java: Add "final" qualifiers.
9116 * javax/swing/JList.java: Reimplement.
9117 * javax/swing/DefaultListSelectionModel.java: Reimplement.
9118 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
9119 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
9120 * javax/swing/ListModel.java: Javadoc.
9121 * javax/swing/ListSelectionModel.java: Add missing methods.
9122 * javax/swing/AbstractListModel.java: Javadoc and corrections.
9123 * javax/swing/DefaultListModel.java: Javadoc and corrections.
9124 * javax/swing/ListModel.java: Javadoc and corrections.
9125 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
9127 2004-02-25 David Jee <djee@redhat.com>
9129 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9130 (GtkFontPeer): Change default size to 12.
9131 * gnu/java/awt/peer/gtk/GtkToolkit.java
9132 (getFontPeer): Change default size to 12.
9133 (getClasspathFontPeer): Likewise. Set default name to "Default".
9134 * java/awt/Font.java
9135 (Font(Map)): Call Font(String,Map).
9136 (Font(String,Map)): If attrs is null, initialize it as an empty
9137 HashMap, which will ensure that the Font will get default attributes.
9139 2004-02-25 David Jee <djee@redhat.com>
9141 * gnu/java/awt/peer/gtk/GtkFontPeer.java
9142 (GtkFontPeer(String,int)): Call the new constructor with size 1.
9143 (GtkFontPeer(String,int,int)): New constructor with size attribute.
9144 * gnu/java/awt/peer/gtk/GtkToolkit.java
9145 (getFontPeer(String,int)): Call the new overload method with size 1.
9146 (getFontPeer(String,int,int)): New method. Overloaded with size
9148 (getClasspathFontPeer): Set the size of the font.
9150 2004-02-24 Olga Rodimina <rodimina@redhat.com>
9152 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9153 (bimage): New field.
9154 (GdkGraphics2D): New Constructor. Constructs Graphics
9155 object that can be used to draw into the Buffered Image.
9156 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9157 (GdkGraphicsEnvironment): Fixed to include public
9159 (createGraphics): Implemented.
9160 * gnu/java/awt/peer/gtk/GtkToolkit.java
9161 (getLocalGraphicsEnvironment): Implemented.
9162 * java/awt/GraphicsEnvironment.java:
9163 (getLocalGraphicsEnvironment): Implemented.
9164 * java/awt/image/BufferedImage.java:
9165 (createGraphics): Implemented.
9167 2004-02-24 David Jee <djee@redhat.com>
9169 * java/awt/Component.java
9170 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
9171 * java/awt/Container.java
9172 (addNotifyContainerChildren): Fix event enabling.
9174 2004-02-23 Olga Rodimina <rodimina@redhat.com>
9176 * Makefile.am: Added
9177 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
9178 * Makefile.in: Re-generated.
9179 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
9182 2004-02-19 Kim Ho <kho@redhat.com>
9184 * Makefile.am: Add BasicProgressBarUI
9185 * Makefile.in: Regenerate.
9186 * javax/swing/JProgressBar.java:
9188 * javax/swing/plaf/basic/BasicLookAndFeel.java
9189 Add constants for JProgressBar.
9190 * javax/swing/plaf/basic/BasicProgressBarUI.java
9192 * javax/swing/plaf/basic/BasicSliderUI.java
9194 (calculateGeometry): New method
9195 (paint): Remove unnecessary size calculations.
9197 2004-02-18 Olga Rodimina <rodimina@redhat.com>
9199 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
9200 (drawRaster): Fixed small error that caused
9201 imageToUser transformation to be set incorrectly.
9202 (toString): Implemented.
9204 2004-02-18 David Jee <djee@redhat.com>
9206 * java/awt/CardLayout.java
9207 (addLayoutComponent): Show the first component added as the default.
9208 (removeLayoutComponent): After removing, show the next component.
9209 (gotoComponent): If there is only one component, show it and return.
9211 2004-02-18 Kim Ho <kho@redhat.com>
9213 * javax/swing/JSlider.java: Re-order
9215 * javax/swing/JLabel.java: Re-order
9217 * javax/swing/JComponent.java:
9218 (addPropertyChangeListener):
9220 (removePropertyChangeListener):
9222 (firePropertyChangeEvent):
9225 2004-02-17 David Jee <djee@redhat.com>
9227 * java/awt/Component.java
9228 (show): Dispatch ComponentEvent via system event queue.
9232 (reshape): Likewise.
9233 * java/awt/Window.java
9234 (setBoundsCallback): Likewise.
9236 2004-02-17 David Jee <djee@redhat.com>
9238 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
9239 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
9240 Use gtk_widget_set_size_request() instead of the deprecated
9241 gtk_widget_set_usize().
9243 2004-02-17 Kim Ho <kho@redhat.com>
9245 * javax/swing/JSlider.java: Fix comments and
9246 make property strings constants.
9247 (createStandardLabels): Use the labels
9248 preferred size as bounds.
9249 * javax/swing/plaf/basic/BasicSliderUI.java
9251 (ScrollHandler::actionPerformed): Don't
9252 calculate the timer stop value. Let the
9253 MouseListeners find the stop location.
9254 (getPreferredHorizontalSize): Re-implement.
9255 (getPreferredVerticalSize): ditto.
9256 (getMinimumHorizontalSize): ditto.
9257 (getMinimumVerticalSize): ditto.
9258 (getPreferredSize): ditto.
9259 (getMinimumSize): ditto.
9260 (getMaximumSize): ditto.
9261 (paintTicks): Use doubles to find the
9263 (paintHorizontalLabel):Â Use preferredSize
9264 as initial width and height.
9265 (paintVerticalLabel): ditto.
9267 2004-02-17 Kim Ho <kho@redhat.com>
9269 * javax/swing/JLabel.java: Changed
9270 property strings to constants.
9271 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9273 (setText): Change mnemonic index if
9275 (setDisplayedMnemonicIndex): Fire property
9277 (getDisplayedMnemonicIndex): Remove check
9280 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9282 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9283 (drawImage(img,xform,obs)): Invert xform before
9284 passing the xform to cairo.
9285 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9286 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9288 (drawImage (img,x,y,w,h,obs)): Implemented.
9289 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9290 bgcolor,obs)): Partly implemented.
9291 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9293 * java/awt/image/BufferedImage.java:
9294 (copyData): if dest is null, create raster with same
9295 dimensions as the current image.
9297 2004-02-16 Graydon Hoare <graydon@redhat.com>
9299 * javax/swing/plaf/basic/BasicLabelUI.java
9300 (getPreferredSize): Use layoutCL.
9301 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9302 (getPreferredButtonSize): Start with empty view rect, layout using
9303 component's preferred alignment.
9304 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9307 2004-02-16 David Jee <djee@redhat.com>
9309 * java/awt/Component.java
9310 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9311 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9312 (move): Erase old bounds and repaint new bounds. Dispatch
9313 COMPONENT_MOVED ComponentEvent.
9314 (resize): Erase old bounds and repaint new bounds. Dispatch
9315 COMPONENT_RESIZED ComponentEvent.
9316 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9318 * java/awt/Window.java
9319 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9322 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9324 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9325 (setRenderingHint): Added implementation of
9326 Interpolation rendering hints.
9327 (setRenderingHints): Ditto.
9328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9329 (drawPixels): fixed to allow user to choose type
9330 of filtering that should be used when displaying images.
9331 (cairoSurfaceSetFilter): New method. Sets filter type for
9332 interpolation of pixel values.
9334 2004-02-16 David Jee <djee@redhat.com>
9336 * java/awt/GridBagLayout.java
9337 (calcCellSizes): Rows or columns with zero sizes should still be
9338 considered for extra space distribution.
9340 2004-02-16 Kim Ho <kho@redhat.com>
9342 * javax/swing/JLabel.java: Re-implement.
9343 * javax/swing/plaf/basic/BasicLabelUI.java
9345 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9348 2004-02-16 Kim Ho <kho@redhat.com>
9350 * javax/swing/JSlider.java: Fix indentation and comments.
9351 (setModel): Remove null check to conform with Sun's.
9352 (setOrientation): Throw exception if not
9353 HORIZONTAL or VERTICAL.
9354 (getInverted): Use private variable instead of
9355 ComponentOrientation.
9356 (setInverted): ditto.
9357 * javax/swing/plaf/basic/BasicSliderUI.java:
9358 Fix indentation and comments.
9359 (propertyChange): Remove check for inverted slider, handle
9361 (getMinimumSize): Return preferred size.
9362 (getMaximumSize): ditto.
9363 (calculateFocusRect): Don't relocate rectangle.
9364 (drawInverted): Return XOR of the slider's inversion and
9365 the component's orientation.
9366 (paint): Update leftToRightCache
9368 2004-02-13 David Jee <djee@redhat.com>
9370 * java/awt/GridBagLayout.java
9371 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9372 code to helper methods.
9373 (sortBySpan): New helper method.
9374 (distributeSizeAndWeight): Likewise.
9375 (calcCellWeights): Likewise.
9376 (calcCellSizes): Add comments.
9378 2004-02-13 David Jee <djee@redhat.com>
9380 * java/awt/Component.java
9381 (show): Only do something if component is invisible at the moment.
9382 (hide): Only do something if component is visible at the moment.
9383 (reshape): If lightweight, erase old bounds and repaint new bounds.
9385 2004-02-13 Kim Ho <kho@redhat.com>
9387 * Makefile.am: Updated for new file.
9388 * Makefile.in: Regenerated.
9389 * javax/swing/JSlider.java: Reimplement.
9390 * javax/swing/SwingUtilities.java
9391 (layoutCompoundLabel): Use icon height
9393 (paintComponent): Implement.
9394 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9395 Add JSlider defaults.
9396 * javax/swing/plaf/basic/BasicSliderUI.java:
9397 Implement. New file.
9399 2004-03-17 Michael Koch <konqueror@gmx.de>
9401 * gnu/java/net/PlainDatagramSocketImpl.java
9402 (RECEIVE_LOCK): New member field.
9403 (SEND_LOCK): New member field.
9404 (send0): New method.
9405 (send): Synchronize on SEND_LOCK.
9406 (receive0): New method.
9407 (receive): Synchronize on RECEIVE_LOCK.
9408 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9409 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9410 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9411 (send0): Renamed from send.
9412 (receive0): Renamed from receive.
9413 2004-03-17 Michael Koch <konqueror@gmx.de>
9415 * gnu/java/net/natPlainSocketImplPosix.cc
9416 (write): Just call write(jbyteArray, offset, len).
9417 (read): Just call read(jbyteArray, offset, len).
9419 2004-03-16 Michael Koch <konqueror@gmx.de>
9421 * javax/swing/JTabbedPane.java
9422 (serialVersionUID): New field.
9424 2004-03-16 Norbert Frese <postfach@nfrese.net>
9426 * java/net/InetAddress.java
9427 (getByName): Handle hostname == "" case.
9429 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9431 Reported by: Adam Heath <doogie@debian.org>
9432 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9435 2004-03-15 Michael Koch <konqueror@gmx.de>
9437 * java/util/Locale.java: Reverting my last patch
9438 and add a comment why the original version was okay.
9440 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9442 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9443 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9444 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9445 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9447 2004-03-12 Michael Koch <konqueror@gmx.de>
9449 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9451 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9453 * java/net/URI.java (toURL): Implemented.
9455 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9458 (URI_REGEXP) updated to contain scheme specific part.
9459 (SCHEME_SPEC_PART_GROUP) new constant.
9460 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9461 updated to make room for SCHEME_SPEC_PART_GROUP.
9462 (parseURI) parse scheme specific part.
9463 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9464 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9465 getQuery, getFragment) implemented.
9467 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9469 * libraries/javalib/java/net/URI.java
9470 partially implemented using java.util.regex.
9471 (URI_REGEXP) new constant. Used to parse URIs.
9472 (SCHEME_GROUP) new constant representing index of scheme group
9474 (AUTHORITY_GROUP) new constant representing index of authority
9475 group in parsed URI.
9476 (PATH_GROUP) new constant representing index of path group in
9478 (QUERY_GROUP) new constant representing index of query group in
9480 (FRAGMENT_GROUP) new constant representing index of fragment
9481 group in parsed URI.
9482 (getURIGroup) new static utility method.
9483 (parseURI) implemented.
9484 (quote) stub for new static utility method.
9485 (quoteAuthority) stub for new static utility method.
9486 (quoteHost) stub for new static utility method.
9487 (quotePath) stub for new static utility method.
9488 (quoteUserInfo) stub for new static utility method.
9490 (create) don't throw URISyntaxException. Implemented.
9491 (toString) implemented.
9493 2004-03-12 Michael Koch <konqueror@gmx.de>
9495 * java/net/HttpURLConnection.java
9496 (getResponseCode): Fix another typo in javadoc.
9498 2004-03-11 Michael Koch <konqueror@gmx.de>
9500 * java/util/logging/Level.java
9501 (parse): Use String.equals() instead of ==.
9503 2004-03-11 Michael Koch <konqueror@gmx.de>
9505 * gnu/java/net/protocol/jar/Connection.java
9506 (getContentLength): New method.
9508 2004-03-11 Michael Koch <konqueror@gmx.de>
9510 * gnu/java/net/PlainSocketImpl.java:
9511 Reformated to merge better with classpath's version.
9513 2004-03-11 Michael Koch <konqueror@gmx.de>
9515 * java/util/Locale.java
9516 (getISO3Language): Use String.equals() instead of ==.
9517 (getISO3Country): Likewise.
9519 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9521 * java/text/AttributedString.java
9522 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9523 Use HashMap instead of Hashtable since value can be null, and
9524 you can not store a null value in a Hashtable.
9526 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9528 * java/text/AttributedStringIterator.java
9529 (getAllAttributesKey): Return only keys concerned
9530 by the current iterator.
9531 (getAttributes): Use strict inequality for
9534 2004-03-11 Michael Koch <konqueror@gmx.de>
9536 * java/net/HttpURLConnection.java:
9537 Fixed typo in javadoc.
9539 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9541 * java/io/BufferedInputStream.java (marktarget): New field for max
9543 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9544 (mark): Use new fields.
9546 (read(byte[],int,int)): Likewise.
9550 2004-03-11 Mark Wielaard <mark@klomp.org>
9552 * java/beans/BeanDescriptor.java (BeanDescriptor):
9553 Set the FeatureDescriptor programmatic name.
9555 2004-03-11 Michael Koch <konqueror@gmx.de>
9557 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9558 This file was was just copied form java/io/natFileDescriptorEcos.cc
9559 and never changed to compile correctly.
9561 2004-03-11 Michael Koch <konqueror@gmx.de>
9563 * gnu/java/nio/PipeImpl.java
9564 (SourceChannelImpl): Made final.
9565 (read): Implemented.
9566 (SinkChannelImpl): Made final.
9567 (write): Implemented.
9569 2004-03-11 Michael Koch <konqueror@gmx.de>
9571 * gnu/java/net/PlainDatagramSocketImpl.java:
9572 Reformated to match classpath's version more.
9574 2004-03-11 Michael Koch <konqueror@gmx.de>
9576 * gnu/java/awt/peer/ClasspathFontPeer.java:
9577 Fixed javadoc to be correct xhtml.
9578 * gnu/java/awt/peer/gtk/GtkArgList.java
9579 (add): Use Boolean.valueOf() instead of new Boolean().
9581 2004-03-09 Michael Koch <konqueror@gmx.de>
9583 * java/lang/Thread.java
9584 (runnable): Moved around.
9585 (daemon): Renamed from daemon_flag.
9586 (contextClassLoader): Renamed from context_class_loader.
9587 (Thread): Reordered constructors.
9588 (activeCount): Use group directly.
9589 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9590 (holdsLock): Reworked javadoc.
9591 (setDaemon): Reworked.
9592 * java/lang/natThread.cc
9595 2004-03-08 Anthony Green <green@redhat.com>
9597 * Makefile.am: Build property resource files into libgcj.
9598 * Makefile.in: Rebuilt.
9599 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9600 java/util/regex/PatternSyntaxException.java,
9601 gnu/regexp/CharIndexed.java,
9602 gnu/regexp/CharIndexedCharArray.java,
9603 gnu/regexp/CharIndexedInputStream.java,
9604 gnu/regexp/CharIndexedReader.java,
9605 gnu/regexp/CharIndexedString.java,
9606 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9607 gnu/regexp/REException.java,
9608 gnu/regexp/REFilterInputStream.java,
9609 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9610 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9611 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9612 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9613 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9614 gnu/regexp/RETokenLookAhead.java,
9615 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9616 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9617 gnu/regexp/RETokenStart.java,
9618 gnu/regexp/RETokenWordBoundary.java,
9619 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9621 2004-03-03 Per Bothner <per@bothner.com>
9623 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9624 Optimize when argument is a FileChannelImpl.
9625 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9627 * java/nio/channels/natChannels.cc: New file for new native methods.
9628 * Makefile.am: Update accordingly.
9630 2004-03-02 Jan Hubicka <jh@suse.cz>
9632 * configure.host: Pass -fno-omit-frame-pointer for i386.
9633 * configure.in: Likewise.
9634 * configure: Regenerate.
9636 2004-03-01 Per Bothner <per@bothner.com>
9638 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9640 2004-02-29 Per Bothner <per@bothner.com>
9642 * java/nio/channels/FileChannelImpl.java: Moved to package
9643 gnu/java/nio/channels, since we need to refer to it from java.io.
9644 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9645 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9646 from java/nio/channels. Don't depend on FileDescriptor.
9647 (in, out, err): New static fields.
9649 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9650 from FileDescriptor.
9651 (by): Removed MappedByteBuffer field.
9652 (map): New working implementation.
9653 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9654 some code "ported" from natFileDescriptoPosix.cc.
9655 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9656 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9657 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9658 Remove native methods.
9659 * Makefile.am, configure.in: Updated accordingly.
9661 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9662 (ch): New FileChannelImpl field. Update constructor to match.
9663 (releaseImpl): Remove native method. Instead ...
9664 (release): Call unlock on channel.
9665 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9667 * java/io/natFileDescriptorEcos.cc: Remove file.
9668 * java/io/natFileDescriptorPosix.cc: Remove file.
9669 * java/io/natFileDescriptorWin32.cc: Remove file.
9670 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9671 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9672 (<init>(FileChannelImpl)): New package-private constructor.
9673 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9674 (available, close, read, skip): Implement using FileChannelImpl.
9675 (getFD): Allocate FileDescriptor if needed.
9676 (getChannel): Is now trivial.
9677 * java/io/FileOutputStream.java: Corresponding changes.
9678 * java/io/RandomAccessFile.java: Corresponding changes.
9680 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9681 unmapImpl): New dummy methods, to be overridden by subclass.
9682 (finalize, isLoaded, load, force): New methods.
9683 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9684 Now works, at least for read mapping.
9686 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9687 streams using FileChannelImpl, not FileDescriptor.
9688 * java/lang/natWin32Process.cc (startProcess): Likewise.
9690 2004-02-28 Michael Koch <konqueror@gmx.de>
9692 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9695 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9697 * java/io/ObjectInputStream.java
9698 (readClassDescriptor): Keep elements of the mapping non null.
9699 (checkTypeConsistency): New method.
9700 (readFields): Fixed main loop and base logic. Small reindentation.
9701 * java/io/ObjectStreamField.java
9702 (lookupField): New method to update the field reference.
9703 (checkFieldType): New method.
9704 * java/io/ObjectStreamClass.java
9705 (setClass, setFields): Call lookupField when building the field
9706 database. Check the real field type.
9708 2004-02-28 Michael Koch <konqueror@gmx.de>
9710 * java/nio/ByteOrder.java
9711 (nativeOrder): Use equals() to compare strings.
9713 2004-02-26 Michael Koch <konqueror@gmx.de>
9715 * gnu/java/nio/FileLockImpl.java
9716 (finalize): Made protected.
9717 * java/nio/channels/FileChannel.java
9718 (MapMode.READ_ONLY): Made final.
9719 (MapMode.READ_WRITE): Made final.
9720 (MapMode.PRIVATE): Made final.
9721 * java/nio/channels/SocketChannel.java
9722 (open): Simplified code.
9723 * java/nio/channels/spi/AbstractSelectableChannel.java
9724 (registered): Unused, removed.
9725 (keyFor): Check channel is open, only locate key
9726 and not add a new one.
9727 (register): Don't delete attachments.
9729 2004-02-26 Michael Koch <konqueror@gmx.de>
9731 * gnu/java/awt/ComponentDataBlitOp.java
9732 (INSTANCE): Made final.
9733 * gnu/java/awt/image/ImageDecoder.java:
9735 (cm): Unused, removed.
9737 2004-02-26 Michael Koch <konqueror@gmx.de>
9739 * gnu/java/nio/DatagramChannelImpl.java
9740 (send): Check if target address is resolved.
9742 2004-02-26 Michael Koch <konqueror@gmx.de>
9744 * Makefile.am: Generate and install headers for inner classes in
9745 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9746 * Makefile.in: Regenerated.
9748 2004-02-24 Anthony Green <green@redhat.com>
9750 * java/lang/StringBuffer.java: No need to NULL out remainder of
9751 buffer since ensureCapacity_unsynchronized will have done this for
9754 2004-02-20 Michael Koch <konqueror@gmx.de>
9756 * gnu/java/net/protocol/jar/Handler.java
9757 (): Removed unneeded check for file != null. java.net.URL.getFile()
9758 returns an empty string but never null.
9760 2004-02-20 Michael Koch <konqueror@gmx.de>
9762 * gnu/gcj/convert/Convert.java
9763 (main): Use equals() to compare strings.
9765 2004-02-20 Michael Koch <konqueror@gmx.de>
9767 * javax/swing/AbstractButton.java: Made several constants final.
9768 (getRolloverSelectedIcon): Made public.
9769 (getSelectedIcon): Made public.
9771 2004-02-16 Per Bothner <per@bothner.com>
9773 * java/nio/CharBufferImpl.java: Inline super constructor.
9774 * java/nio/DoubleBufferImpl.java: Likewise.
9775 * java/nio/FloatBufferImpl.java: Likewise.
9776 * java/nio/IntBufferImpl.java: Likewise.
9777 * java/nio/LongBufferImpl.java: Likewise.
9778 * java/nio/ShortBufferImpl.java: Likewise.
9779 * java/nio/CharBuffer.java: Remove unused constructor.
9780 * java/nio/DoubleBuffer.java: Likewise.
9781 * java/nio/FloatBuffer.java: Likewise.
9782 * java/nio/IntBuffer.java: Likewise.
9783 * java/nio/LongBuffer.java: Likewise.
9784 * java/nio/ShortBuffer.java: Likewise.
9785 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9786 Fix buggy call to super constructor.
9787 * java/nio/DoubleViewBufferImpl.java: Likewise.
9788 * java/nio/FloatViewBufferImpl.java: Likewise.
9789 * java/nio/IntViewBufferImpl.java: Likewise.
9790 * java/nio/LongViewBufferImpl.java: Likewise.
9791 * java/nio/ShortViewBufferImpl.java: Likewise.
9793 * java/nio/ByteBuffer.java (endian): Make non-private so other
9794 java.nio classes can inherit it.
9795 (<init>): Don't bother clearing array_offset.
9796 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9797 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9798 Remove redundant test.
9800 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9801 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9802 Use new XxxViewBufferImpl constructors.
9803 * java/nio/MappedByteBufferImpl.java: Likewise.
9804 * java/nio/DirectByteBufferImpl.java: Likewise.
9806 * java/nio/ByteBufferImpl.java: Remove one constructor.
9807 Inline super in remaining constructor.
9808 * java/nio/ByteBuffer.java: Remove unused constructor.
9810 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9812 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9813 * java/nio/DirectByteBufferImpl.java (owner): New field.
9814 (offset): Remove unused field.
9815 (<init>): Modify one and add another constructor. Change callers.
9816 (allocateDirect): Removed - not used.
9817 (getImpl, putImpl): Make static and pass address explicitly,
9818 to make them useful for MappedByteBufferImpl.
9819 (get, put): Check for underflow. Modify for new getImpl.
9820 (getImpl): New native method where target is array.
9821 (get(byte[],int,int)): Use the above.
9822 (adjustAddress): New static native method.
9823 (slice, duplicate, asReadOnly): New implementations.
9824 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9825 adjustAddress): New or updated native methods.
9827 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9829 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9830 overflow of fieldmapping.
9832 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9834 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9836 2004-02-14 Per Bothner <per@bothner.com>
9838 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9839 Set closed before calling implCloseChannel, as in the spec.
9841 2004-02-09 Graydon Hoare <graydon@redhat.com>
9843 * javax/swing/ToggleButtonModel.java: Remove dead class.
9844 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9845 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9846 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9847 * Makefile.am: Update for new and removed files.
9848 * Makefile.in: Regenerate.
9850 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9851 * javax/swing/AbstractButton.java
9852 (AbstractButton): Initialize fields correctly in ctor.
9853 * javax/swing/JCheckbox.java
9854 (JCheckBox): Override painting flags.
9855 * javax/swing/DefaultButtonModel.java: Conform to sun.
9856 * javax/swing/JComponent.java (paint): Fill with background color
9858 (processComponentKeyEvent)
9861 (processMouseMotionEvent): Remove event-consuming empty methods.
9862 (getUIClassID): Return "ComponentUI" not "JComponent"
9863 * javax/swing/JFrame.java: Remove some debugging chatter.
9864 (JFrame): Subscribe to window events.
9865 * javax/swing/JRadioButton.java
9866 (JRadioButton): Override painting flags.
9867 * javax/swing/JRootPane.java
9868 (JRootPane): Set background from UIDefaults.
9869 * javax/swing/JToggleButton.java
9870 (ToggleButtonModel): New inner class.
9871 (JToggleButton): Override layout alighment.
9872 * javax/swing/SwingUtilities.java:
9873 (getLocalBounds): Return width and height, not x and y.
9874 (calculateInnerArea): Use local bounds, not bounds.
9875 (layoutCompoundLabel): Provide overridden form.
9876 (layoutCompoundLabel): Correct bugs.
9877 * javax/swing/UIDefaults.java: Correct comment.
9878 * javax/swing/plaf/basic/BasicButtonUI.java:
9879 Move most logic into defaults, external listener.
9880 (paintIcon): Implement icon painting.
9881 (paint): Fix state painting to conform to changes in model.
9882 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9883 Remove most dead/wrong methods.
9884 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9885 * javax/swing/plaf/basic/BasicIconFactory.java:
9886 (DummyIcon): New class.
9887 (getMenuItemCheckIcon)
9888 (getMenuItemArrowIcon)
9890 (getCheckBoxMenuItemIcon)
9891 (getRadioButtonMenuItemIcon)
9892 (createEmptyFrameIcon): Return DummyIcons, not null.
9893 (getCheckBoxIcon): Implement an icon that looks like sun's.
9894 (getRadioButtonIcon): Implement an icon that looks like sun's.
9895 * javax/swing/plaf/basic/BasicLookAndFeel.java
9896 (initComponentDefaults): Fix impossible values, add some missing.
9897 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9898 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9899 Remove most dead/wrong methods.
9901 (getDefaultIcon): New method.
9902 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9903 Remove most dead/wrong methods.
9904 * javax/swing/plaf/metal/MetalLookAndFeel.java
9905 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9907 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9908 Implement "clearing" as drawing, when on pixmap drawables.
9910 * javax/swing/JButton.java (getUIClassID):
9911 * javax/swing/JCheckBox.java (getUIClassID):
9912 * javax/swing/JEditorPane.java (getUIClassID):
9913 * javax/swing/JLabel.java (getUIClassID):
9914 * javax/swing/JList.java (getUIClassID):
9915 * javax/swing/JOptionPane.java (getUIClassID):
9916 * javax/swing/JPanel.java (getUIClassID):
9917 * javax/swing/JPasswordField.java (uiClassID):
9918 * javax/swing/JRadioButton.java (getUIClassID):
9919 * javax/swing/JRootPane.java (getUIClassID):
9920 * javax/swing/JScrollPane.java (getUIClassID):
9921 * javax/swing/JTabbedPane.java (getUIClassID):
9922 * javax/swing/JToggleButton.java (getUIClassID):
9923 * javax/swing/JTree.java (getUIClassID):
9924 * javax/swing/JViewport.java (getUIClassID):
9925 * javax/swing/text/JTextComponent.java (getUIClassID):
9926 Return "fooUI" not "Jfoo"
9928 2004-02-11 Michael Koch <konqueror@gmx.de>
9930 * java/net/DatagramSocket.java
9931 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9933 (setBroadcast): Likewise.
9934 * java/net/MulticastSocket.java
9935 (setLoopbackMode): Likewise.
9936 * java/net/ServerSocket.java
9937 (setReuseAddress): Likewise.
9938 * java/net/Socket.java
9939 (setTcpNoDelay): Likewise.
9940 (setSoLinger): Likewise.
9941 (setOOBInline): Likewise.
9942 (setKeepAlive): Likewise.
9943 (setReuseAddress): Likewise.
9944 * java/net/URLConnection.java
9945 (setContentHandler): Replace == with equals().
9946 * java/net/URLStreamHandler.java
9947 (hostSEquals): Fix checking host addresses.
9948 (toExternalForm): Dont check protocol for null. We know already its
9951 2004-02-10 David Jee <djee@redhat.com>
9953 * java/awt/BorderLayout.java
9954 (calcCompSize): Invisible components get zero dimensions.
9955 * java/awt/Button.java
9956 (setLabel): Set actionCommand.
9957 * java/awt/Component.java
9958 (show): Invalidate component and parent container.
9961 2004-02-10 David Jee <djee@redhat.com>
9963 * java/awt/GridBagLayout.java
9964 (GridBagLayout): New private field, internalcomptable.
9965 (lookupInternalConstraints): New method.
9966 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9967 (GetLayoutInfo): Reimplement.
9968 (calcCellSizes): Ignore rows/columns with size 0.
9970 2004-02-10 Michael Koch <konqueror@gmx.de>
9972 * gnu/java/awt/EmbeddedWindow.java
9973 (setHandle): Use java.awt.Component.getPeer() instead of
9974 java.awt.Component.peer directly.
9976 2004-02-10 David Jee <djee@redhat.com>
9978 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9979 (gtkSetLabel): New native method definition.
9980 (setLabel): Use gtkSetLabel.
9981 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9982 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9984 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9986 * include/powerpc-signal.h: Revert 2004-01-21 change.
9987 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9988 from syscall for ppc32 versions.
9990 2004-02-08 Per Bothner <per@bothner.com>
9992 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9993 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9994 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9995 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9996 Pass ByteOrder parameter to most methods, since the underlying
9997 ByteBuffer's order isn't always what we should use.
9998 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9999 * java/nio/DirectByteBufferImpl.java: Likewise.
10000 Use ByteBufferHelper methods.
10001 * java/nio/MappedByteBufferImpl.java: Likewise.
10002 (compact): Use shiftDown.
10003 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
10004 (get, put): Use ByteBufferHelper.
10005 (compact): Use new shiftDown method.
10006 (duplicate(boolean)): New helper method.
10007 (duplicate, asReadOnlyBuffer): Use it.
10008 (order): Return endian field.
10009 * java/nio/DoubleViewBufferImpl.java: Likewise.
10010 * java/nio/FloatViewBufferImpl.java: Likewise.
10011 * java/nio/IntViewBufferImpl.java: Likewise.
10012 * java/nio/LongViewBufferImpl.java: Likewise.
10013 * java/nio/ShortViewBufferImpl.java: Likewise.
10014 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
10015 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
10016 (compact): Re-implement using shiftDown.
10018 2004-02-08 Andreas Jaeger <aj@suse.de>
10020 * include/x86_64-signal.h: Fix typo.
10022 2004-02-08 Diego Novillo <dnovillo@redhat.com>
10024 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
10025 qualifier to _regs.
10026 (HANDLE_DIVIDE_OVERFLOW): Likewise.
10028 2004-02-06 Michael Koch <konqueror@gmx.de>
10030 * java/io/ObjectInputStream.java
10031 (currentClassLoader): Reverted to old version of this method.
10033 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
10035 * java/io/ObjectInputStream.java: Made all calls
10036 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
10037 use cached info from ObjectStreamClass. (readClassDescriptor):
10038 Cache more information in ObjectStreamClass. (processResolution,
10039 readFields): Use cached info from ObjectStreamClass.
10040 (newObject): Throw exception instead of returning null for failure.
10041 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
10042 setCharField, setDoubleField, setFloatField, setIntField,
10043 setLongField, setShortField, setObjectField, readObjectParams):
10044 Removed. (dumpElement, dumpElementln): Removed dump flag condition
10046 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
10047 (setClass): Added call to cacheMethods() (findMethod): New method.
10048 (cacheMethods): New method. (ObjectStreamClass): Added call to
10049 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
10050 AccessController.doPrivileged to invoke setAccessible.
10051 (readObjectMethod, readResolveMethod, realClassIsSerializable,
10052 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
10054 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
10055 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
10056 isPrimitive): Made safe for cases where type == null.
10057 (setBooleanField, setByteField, setCharField, setShortField,
10058 setIntField, setLongField, setFloatField, setDoubleField,
10059 setObjectField): New methods.
10061 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
10063 * java/awt/Component.java (getFont): Return a default font
10066 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
10067 (Scrollbar (int, int, int, int, int)): Make default page
10069 (setValues): Only call peer.setValues if one of the values has
10071 (generateName): New method.
10072 (getUniqueLong): New method.
10073 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
10074 (range_scrollbar): Remove structure.
10075 (post_adjustment_event): Remove function.
10076 (post_change_event): Accept jobject argument.
10077 (create): Cast jints to gdoubles. Round scrollbar values to the
10078 nearest integer. Clamp min, max and value settings.
10079 (connectJObject): Connect hook to widget->window.
10080 (connectSignals): Remove range_scrollbar structure variables.
10081 Remove "move-slider" connection. Pass global peer reference to
10082 "value-changed" callback.
10083 (setLineIncrement): Cast jint value to gdouble.
10084 (setPageIncrement): Likewise.
10085 (setValues): Likewise. Clamp min, max and value settings.
10087 2004-02-05 Michael Koch <konqueror@gmx.de>
10089 * javax/swing/AbstractCellEditor.java
10090 (getCellEditorValue): Removed.
10091 * javax/swing/Box.java: Reformated.
10092 (serialVersionUID): New field.
10093 * javax/swing/ButtonGroup.java:
10094 Removed some weird whitespace.
10095 * javax/swing/CellEditor.java: Reformated.
10096 * javax/swing/CellRendererPane.java
10097 (serialVersionUID): New field.
10098 (AccessibleCellRendererPaneserialVersionUID): New field.
10099 * javax/swing/DefaultListModel.java
10100 (serialVersionUID): New field.
10101 * javax/swing/JEditorPane.java
10102 (serialVersionUID): New field.
10103 (setPage): Throws IOException.
10104 (addHyperlinkListener): Implemented.
10105 (removeHyperlinkListener): Implemented.
10106 (getHyperlinkListener): New method.
10107 * javax/swing/JFileChooser.java
10108 (serialVersionUID): New field.
10109 (AccessibleJFileChooser.serialVersionUID): New field.
10110 (addActionListener): Implemented.
10111 (removeActionListener): Implemented.
10112 (getActionListeners): New method.
10113 * javax/swing/JFormattedTextField.java
10114 (serialVersionUID): New field.
10115 (AbstractFormatter.serialVersionUID): New field.
10116 (clone): Throws CloneNotSupportedException
10117 (setEditValid): Add missing argument.
10118 (stringToValue): Throws ParseExcpetion.
10119 (valueToString): Throws ParseException.
10120 (commitEdit): Throws ParseException.
10121 * javax/swing/JLabel.java
10122 (serialVersionUID): New field.
10123 * javax/swing/JList.java
10124 (serialVersionUID): New field.
10125 (addListSelectionListener): Reformated.
10126 (removeListSelectionListener): Reformated.
10127 (getListSelectionListeners): New method.
10128 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10130 (serialVersionUID): New field.
10131 * javax/swing/table/AbstractTableModel.java
10132 (getValueAt): Removed.
10133 (getColumnCount): Removed.
10134 (getRowCount): Removed.
10136 2004-02-05 Michael Koch <konqueror@gmx.de>
10138 * java/awt/datatransfer/DataFlavor.java
10139 (imageFlavor): Javadoc added.
10140 (javaJVMLocalObjectType): Fixed.
10142 2004-02-05 Michael Koch <konqueror@gmx.de>
10144 * java/lang/Thread.java
10145 (Thread): Reordered.
10146 (setContextClassLoader): Fixed javadoc comment.
10147 (setPriority): Reordered.
10148 (yield): Reordered.
10149 (initialize_native): Reordered.
10150 (gen_name): Reordered.
10152 2004-02-05 Michael Koch <konqueror@gmx.de>
10154 * java/lang/Thread.java: Reordered fields, reformated much code,
10155 no functional changes, some variables renamed, javadoc comments
10158 2004-02-05 Michael Koch <konqueror@gmx.de>
10160 * java/util/zip/Deflater.java,
10161 java/util/zip/DeflaterOutputStream.java,
10162 java/util/zip/GZIPInputStream.java:
10163 Reformated and javadoc comments merged from classpath.
10165 2004-02-05 Michael Koch <konqueror@gmx.de>
10167 * gnu/java/nio/NIOServerSocket.java
10168 (impl): Unused, removed.
10169 * gnu/java/nio/SocketChannelImpl.java
10170 (finnishConnect): Don't throw NoConnectionPendingException if not
10171 connected or no connection pending.
10173 2004-02-02 Graydon Hoare <graydon@redhat.com>
10175 * javax/swing/SwingUtilities.java: Many new functions.
10176 * java/awt/Container.java (LightweightDispatcher): Reimplement.
10177 * javax/swing/basic/BasicGraphicsUtils.java
10178 (getPreferredButtonSize): Start layout from top-left corner.
10180 2004-02-04 Olga Rodimina <rodimina@redhat.com>
10182 * java/awt/geom/AffineTransform.java:
10183 Corrected comments on the field definitions for
10185 (shear): Fixed few errors that caused shear
10186 transformation to be performed incorrectly.
10187 (createInverse): Fixed to return correct
10188 inverse of the given matrix.
10190 2004-02-03 Tom Tromey <tromey@redhat.com>
10192 * java/lang/natPosixProcess.cc (startProcess): Handle case where
10193 PATH or LD_LIBRARY_PATH is not set in parent environment.
10195 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
10197 * gnu/java/awt/peer/gtk/GtkListPeer.java,
10198 java/awt/BorderLayout.java, java/awt/CardLayout.java,
10199 java/awt/CheckboxGroup.java, java/awt/Choice.java,
10200 java/awt/Component.java, java/awt/Container.java,
10201 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
10202 java/awt/LayoutManager2.java, java/awt/List.java,
10203 java/awt/Menu.java, java/awt/MenuBar.java,
10204 java/awt/MenuItem.java, java/awt/Polygon.java,
10205 java/awt/Rectangle.java, java/awt/ScrollPane.java,
10206 java/awt/Scrollbar.java, java/awt/TextArea.java,
10207 java/awt/TextField.java,
10208 java/awt/image/renderable/RenderContext.java,
10209 javax/swing/JApplet.java: Fix handling of alias methods, where a
10210 method has been deprecated in favour of a new one with the same
10211 funtion but a different name. Put the method implementation in
10212 the deprecated method and have the new method call the
10213 deprecated one. Make all other code call the new method.
10215 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
10217 * gnu/java/nio/DatagramChannelImpl.java
10218 (inChannelOperation): New field.
10219 (isInChannelOperation): New accessor.
10220 (setInChannelOperation): New modifier.
10221 (receive): Use capacity() - position() of destination
10222 buffer instead of remaining(). Set and reset our "in
10223 channel operation indicator" before and after delegating
10224 the receive to our datagram socket. Removed testing code.
10225 Update destination buffer's current position if it is
10226 backed by a byte array (hasArray() is true).
10227 (send): Set and reset our "in channel operation indicator"
10228 before and after delegating the send to our datagram socket.
10229 Removed testing code. Update source buffer's current position
10230 if it is backed by a byte array (hasArray() is true).
10231 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
10232 Use capacity() - position() of destination buffer instead
10234 * java/net/DatagramSocket.java (receive): Don't throw an
10235 IllegalBlockingModeException if we have a non-blocking
10236 channel which initiated this operation.
10239 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
10241 * configure.in: Add pkgconfig check for glib and gthread.
10242 * configure: Regenerate.
10244 2004-02-01 Michael Koch <konqueror@gmx.de>
10246 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
10248 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
10249 * verify.cc (debug_print): Mark 'fmt' unused.
10251 2004-01-30 Michael Koch <konqueror@gmx.de>
10253 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
10254 * configure: Regenerated.
10255 * glib-2.0.m4: Removed.
10256 * gtk-2.0.m4: Removed.
10257 * libart.m4: Removed.
10258 * pkg.m4: New file.
10260 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
10262 * gnu/java/net/PlainSocketImpl.java
10263 (inChannelOperation): New field.
10264 (isInChannelOperation): New accessor.
10265 (setInChannelOperation): New modifier.
10266 * gnu/java/nio/ServerSocketChannelImpl.java
10267 (accept): Set and reset our server socket's PlainSocketImpl's
10268 "in channel operation" indicator before and after delegating
10269 the accept to our server socket.
10270 * gnu/java/nio/SocketChannelImpl.java
10271 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10272 operation" indicator before and after delegating the operation to
10276 * java/net/ServerSocket.java (implAccept): Don't throw an
10277 IllegalBlockingModeException if we have a non-blocking
10278 channel which initiated this accept operation.
10279 * java/net/Socket.java (connect): Don't throw an
10280 IllegalBlockingModeException if we have a non-blocking
10281 channel which initiated this connect operation.
10282 * java/nio/channels/spi/AbstractSelectableChannel.java
10283 (configureBlocking): Only call implConfigureBlocking() if
10284 the desired blocking mode is different from our current one.
10286 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10288 * java/io/BufferedReader.java (sbuf): New field.
10289 (readLine): Use String.valueOf instead of new String() as per
10290 Per Bothner's suggestion. Use instance sbuf field instead of a
10291 local StringBuffer instance.
10292 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10293 caller's buffer to refill().
10294 (read(void)): Pass our internal work buffer to refill if our
10295 input queue is empty.
10296 (refill): Changed return type to int. Use the specified buffer
10297 instead of our work buffer as per Bryce McKinlay's suggestion.
10298 Return the number of characters read or -1 for EOF.
10300 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10302 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10304 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10306 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10307 * Makefile.in: Re-generated.
10308 * gnu/awt/xlib/XFontPeer.java: New file.
10309 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10310 (setClip): Commented out debug printout.
10311 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10312 (getFontPeer): Return XFontPeer.
10313 (getLocalGraphicsEnvironment): New method.
10314 (getClasspathFontPeer): New method.
10315 (createFont): New method.
10317 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10319 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10322 2004-01-29 Kim Ho <kho@redhat.com>
10324 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10325 (gtkLayoutSetVisible): New method
10326 (setMenuBar): Hide layout before setting MenuBar
10327 and reshow it after.
10328 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10329 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10331 2004-01-28 Michael Koch <konqueror@gmx.de>
10333 * gnu/java/lang/ClassHelper.java
10334 (getPackagePortion): Removed.
10336 2004-01-28 Michael Koch <konqueror@gmx.de>
10338 * javax/swing/JComponent.java
10339 (listenerList): Initalize globally.
10340 (ancestor_list): Removed.
10341 (veto_list): Removed.
10342 (change_list): Removed.
10343 (get_veto_list): Removed.
10344 (get_change_list): Removed.
10345 (get_ancestor_list): Removed.
10346 (removeAncestorListener): Reimplemented.
10347 (removePropertyChangeListener): Likewise.
10348 (removeVetoableChangeListener): Likewise.
10349 (addAncestorListener): Likewise.
10350 (addPropertyChangeListener): Likewise.
10351 (addVetoableChangeListener): Likewise.
10352 (getListeners): New method.
10353 (getAncestorListeners): Likewise.
10354 (getVetoableChangeListeners): Likewise.
10355 (fireVetoableChange): Throws PropertyVetoException.
10356 * javax/swing/JEditorPane.java
10357 (JEditorPane): Throws IOException.
10359 2004-01-28 David Jee <djee@redhat.com>
10361 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10362 (create): Set the default foreground color to
10363 java.awt.SystemColor.windowText.
10365 2004-01-27 Michael Koch <konqueror@gmx.de>
10367 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10368 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10369 Reindented to merge with classpath.
10371 2004-01-27 David Jee <djee@redhat.com>
10373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10374 (addExposeFilter): Handle GtkFramePeer separately.
10375 (removeExposeFilter): Likewise.
10377 2004-01-27 Michael Koch <konqueror@gmx.de>
10379 * gnu/java/net/protocol/http/Connection.java
10380 (getOutputStream): Fixed typo.
10382 2004-01-27 Michael Koch <konqueror@gmx.de>
10384 * java/lang/Class.java
10385 (getConstructor): Removed SecurityException from throws clause.
10386 (_getConstructors): Likewise.
10387 (getConstructors): Likewise.
10388 (getDeclaredConstructor): Likewise.
10389 (getDeclaredClasses): Likewise.
10390 (getDeclaredConstructors): Likewise.
10391 (getDeclaredField): Likewise.
10392 (getDeclaredMethod): Likewise.
10393 (getDeclaredMethods): Likewise.
10394 (getField): Likewise.
10395 (getMethod): Likewise.
10396 (getMethods): Likewise.
10398 2004-01-27 Kim Ho <kho@redhat.com>
10400 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10401 (removeMenuBarPeer): Remove MenuBarPeer argument.
10402 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10403 (dispose): Call native method.
10404 * java/awt/Frame.java (setMenuBar): Create and remove
10405 MenuBar peers only if the Frame has a peer.
10406 (addNotify): Create the MenuBar peer if one exists.
10407 (removeNotify): Remove MenuBar peer if one exists.
10408 * java/awt/Menu.java: Fix imports.
10409 (addNotify): Don't use full class name.
10410 (removeNotify): Call removeNotify on all children.
10411 * java/awt/MenuBar.java (removeNotify): Call
10412 removeNotify on all children.
10413 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10414 (removeMenuBarPeer): Remove MenuBarPeer argument.
10415 Iterate through children to find the Frame's MenuBar.
10416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10418 (dispose): Remove references to the MenuComponent.
10420 2004-01-27 Michael Koch <konqueror@gmx.de>
10422 * javax/swing/AbstractCellEditor.java: Reformated.
10423 * javax/swing/DefaultListSelectionModel.java
10424 (listenerList): Made protected.
10425 (addListSelectionListener): Javadoc added.
10426 (removeListSelectionListener): Likewise.
10427 (getListeners): Likewise.
10428 (getListSelectionListeners): Likewise.
10429 * javax/swing/JComboBox.java: Merged copyright year.
10430 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10432 2004-01-26 Andrew Haley <aph@redhat.com>
10434 * javax/swing/table/JTableHeader.java: Extend JComponent
10436 2004-01-26 Kim Ho <kho@redhat.com>
10438 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10441 2004-01-26 Kim Ho <kho@redhat.com>
10443 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10445 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10446 height and let the Layout Managers readjust anything that
10448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10449 (moveLayout): New method. Shift everything in the Gtk
10450 layout in the Y direction by an offset.
10452 2004-01-26 David Jee <djee@redhat.com>
10454 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10455 (handleEvent): Implemented. Handles PaintEvents.
10456 (paint): Implemented. Use GTK native methods to queue updates
10457 for this heavyweight peer.
10458 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10459 (handleEvent): Removed.
10460 * java/awt/Component.java
10461 (paint): Implemented. Explictly paint the heavyweight peer.
10462 (update): Clear the background for heavyweight components.
10463 (paintAll): No need to call peer.paint() anymore.
10464 (processEvent): Don't process PaintEvents here. It's now done in
10465 the peer's handleEvent().
10466 (processPaintEvent): Removed.
10467 * java/awt/Container.java
10468 (paint): No need to call super.paint(). Visit heavyweight
10470 (update): Don't clear the background here. It's done in
10471 Component.update().
10472 (visitChildren): Added check to not recurse into Containers.
10473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10474 (filter_expose_event_handler): New method. Filter unwanted
10475 expose events while painting heavyweight peers.
10476 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10477 New method. Connect filter and block pre_event_handler.
10478 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10479 New method. Disconnect filter and unblock pre_event_handler.
10480 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10481 New method. Invalidate and update given area.
10482 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10483 (pre_event_handler): Add checks for unwanted expose events.
10485 2004-01-26 David Jee <djee@redhat.com>
10487 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10488 (find_bg_color_widget): For GtkButton, return its child.
10490 2004-01-26 Kim Ho <kho@redhat.com>
10492 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10494 (setMenuBar): Grab MenuBar height and change insets.
10495 (setBounds): Account for MenuBar height.
10496 (postInsetsChangedEvent): Ditto.
10497 (postSizeAllocateEvent): Remove.
10498 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10499 (menubar_resize_cb): Remove
10500 (setMenuBarPeer): Remove callback.
10501 (getMenuBarHeight): Use size requisition instead of
10504 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10506 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10507 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10509 (setColumns): Remove FIXME -- peer will retrieve number of
10510 columns by calling getColumns.
10511 (setRows): Likewise for number of rows.
10512 (next_text_number): New field.
10513 (paramString): Fix param string.
10514 (generateName): New method.
10515 (getUniqueLong): New method.
10517 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10519 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10520 image observer of image loading status.
10521 (getImage (String)): Start image production.
10522 (getImage (URL)): Likewise.
10524 2004-01-25 Michael Koch <konqueror@gmx.de>
10526 * java/lang/Class.java: Imports reworked, reformated.
10527 (Class): Javadoc added.
10528 (forName): Likewise.
10529 (getClasses): Likewise.
10530 (getClassLoader): Likewise.
10531 (getComponentType): Likewise.
10532 (getConstructor): Likewise.
10533 (getConstructors): Likewise.
10534 (getDeclaredConstructor): Likewise.
10535 (getDeclaredClasses): Likewise.
10536 (getDeclaredConstructors): Likewise.
10537 (getDeclaredField): Likewise.
10538 (getDeclaredMethod): Likewise.
10539 (getDeclaredMethods): Likewise.
10540 (getDeclaringClass): Likewise.
10541 (getField): Likewise.
10542 (getInterfaces): Likewise.
10543 (getMethod): Likewise.
10544 (getMethods): Likewise.
10545 (getModifiers): Likewise.
10546 (getName): Likewise.
10547 (getResource): Likewise.
10548 (getResourceAsStream): Likewise.
10549 (getSigners): Likewise.
10550 (setSigners): Likewise.
10551 (getSuperclass): Likewise.
10552 (isArray): Likewise.
10553 (isAssignableFrom): Likewise.
10554 (isInstance): Likewise.
10555 (isInterface): Likewise.
10556 (isPrimitive): Likewise.
10557 (newInstance): Likewise.
10558 (getProtectionDomain): Likewise.
10559 (toString): Likewise.
10561 (initializeClass): Likewise.
10562 (finalize): Likewise.
10564 2004-01-24 Michael Koch <konqueror@gmx.de>
10566 * gnu/java/net/protocol/jar/Connection.java
10567 (hdrHash): Removed.
10569 (gotHeaders): Removed.
10570 (getHeaderField): Removed.
10571 (getHeaderFields): Removed.
10572 (getHeaderFieldKey): Removed.
10574 (getField): Removed.
10575 (getHeaders): Removed.
10577 2004-01-24 Michael Koch <konqueror@gmx.de>
10579 * Makefile.am: Added library version to gtk peer lib.
10580 * Makefile.in: Regenerated.
10582 2004-01-24 Michael Koch <konqueror@gmx.de>
10584 * java/util/zip/InflaterInputStream.java: Merged class documentation
10587 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10589 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10590 header. For __powerpc64__ provide the default-signal.h definitions
10592 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10593 instead of the dummy definitions.
10594 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10595 (powerpc64*-*): Remove with_libffi_default.
10596 Only add -mminimal-toc for 64-bit compilations.
10597 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10598 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10599 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10600 * configure: Rebuilt.
10602 2004-01-23 Michael Koch <konqueror@gmx.de>
10604 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10606 2004-01-23 Michael Koch <konqueror@gmx.de>
10608 * java/lang/VMClassLoader.java: Reworked imports.
10610 2004-01-23 Michael Koch <konqueror@gmx.de>
10612 * javax/swing/AbstractAction.java: Reformated.
10614 2004-01-23 Michael Koch <konqueror@gmx.de>
10616 * java/text/CollationElementIterator.java:
10617 (setText): New method.
10619 2004-01-23 Michael Koch <konqueror@gmx.de>
10621 * gnu/java/nio/FileLockImpl.java:
10622 Fixed filename in copyright.
10623 (released): Removed.
10624 (finalize): New method.
10625 * gnu/java/nio/natFileLockImpl.cc
10626 (releaseImpl): Implemented.
10627 * java/nio/channels/FileChannelImpl.java:
10629 (lock): Implemented.
10630 (lockImpl): New method.
10631 (tryLock): Implemented.
10632 (tryLockImpl): New method.
10633 * java/nio/channels/natFileChannelImpl.cc
10634 (lockImpl): New method.
10635 (tryLockImpl): New method.
10637 2004-01-23 Michael Koch <konqueror@gmx.de>
10639 * java/io/FileDescriptor.java
10640 (lock): New method.
10641 (tryLock): New method.
10642 (unlock): New method.
10643 * java/io/natFileDescriptorEcos.cc
10644 (lock): New method.
10645 (tryLock): New method.
10646 (unlock): New method.
10647 * java/io/natFileDescriptorPosix.cc
10648 (lock): New method.
10649 (tryLock): New method.
10650 (unlock): New method.
10651 * java/io/natFileDescriptorWin32.cc
10652 (lock): New method.
10653 (tryLock): New method.
10654 (unlock): New method.
10656 2004-01-23 Michael Koch <konqueror@gmx.de>
10658 * java/io/FileDescriptor.java
10659 (sync): Moved around, added javadoc.
10664 (setLength): Likewise.
10666 (getLength): Likewise.
10667 (getFilePointer): Likewise.
10669 (available): Likewise.
10670 (finalize): Likewise.
10672 2004-01-23 Michael Koch <konqueror@gmx.de>
10674 * javax/swing/AbstractAction.java: Reformated.
10675 (getPropertyChangeListeners): New method.
10676 * javax/swing/AbstractCellEditor.java: Reformated.
10677 (getCellEditorListeners): New method.
10678 * javax/swing/DefaultListSelectionModel.java
10679 (listenerList): New field.
10680 (listeners): Removed.
10681 (get_listeners): Removed.
10682 (addListSelectionListener): Rewritten.
10683 (removeListSelectionListener): Rewritten.
10684 (getListSelectionListeners): New method.
10685 (getListeners): New method.
10686 * javax/swing/JComboBox.java: Imports reworked.
10687 (addActionListener): Implemented.
10688 (removeActionListener): Implemented.
10689 (addItemListener): Implemented.
10690 (removeItemListener): Implemented.
10691 (addPopupMenuListener): Implemented.
10692 (removePopupMenuListener): Implemented.
10693 (getActionListeners): New method.
10694 (getItemListeners): New method.
10695 (getPopupMenuListeners): New method.
10697 2004-01-23 Michael Koch <konqueror@gmx.de>
10699 * gnu/java/net/protocol/http/Connection.java
10700 (connect): Don't initialize bufferedOutputStream if not needed.
10701 (sendRequest): Set property for content length if content is present.
10702 Write content only if present.
10703 (getOutputStream): Check if already connected, dont connect,
10704 initalize bufferedOutputStream if needed.
10706 2004-01-23 Michael Koch <konqueror@gmx.de>
10708 * java/io/FileDescriptor.java
10709 (in, out, err): Added javadoc.
10710 (static): Merged loading code.
10711 (fd, position): Moved around.
10713 2004-01-23 Michael Koch <konqueror@gmx.de>
10715 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10718 2004-01-23 Michael Koch <konqueror@gmx.de>
10720 * java/lang/Class.java,
10721 java/lang/Object.java,
10722 java/lang/Thread.java: Merged copyright with classpath.
10724 2004-01-23 Michael Koch <konqueror@gmx.de>
10726 * java/io/FileDescriptor.java: Merged copyright with classpath to
10727 start merging this class.
10729 2004-01-22 Tom Tromey <tromey@redhat.com>
10732 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10733 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10734 * testsuite/libjava.lang/pr13107_3.java: New file.
10735 * testsuite/libjava.lang/pr13107_3.out: New file.
10736 * testsuite/libjava.lang/pr13107_2.java: New file.
10737 * testsuite/libjava.lang/pr13107_2.out: New file.
10738 * testsuite/libjava.lang/pr13107.java: New file.
10739 * testsuite/libjava.lang/pr13107.out: New file.
10740 * verify.cc (jsr_ptrs): Removed.
10741 (entry_points): Likewise.
10742 (struct subr_info): Likewise.
10743 (struct subr_entry_info): Likewise.
10744 (type_val::unused_by_subroutine_type): Likewise.
10745 (type::merge): Don't handle unused_by_subroutine_type.
10746 (type::print): Likewise.
10747 (state::flags): Removed.
10748 (state::subroutine): Likewise.
10749 (state::seen_subrs): Likewise.
10750 (state::NO_STACK): Likewise.
10751 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10752 (state): Updated all methods.
10753 (state::clean_subrs): Removed.
10754 (state::state): Removed `ret_semantics' flag.
10755 (state::copy): Likewise.
10756 (state::add_subr): Removed.
10757 (state::enter_subroutine): Likewise.
10758 (type::set_return_address): New method.
10759 (handle_jsr_insn): Set return address on the type. Always
10760 invalidate PC after call.
10761 (check_nonrecursive_call): Removed.
10762 (~_Jv_BytecodeVerifier): Updated.
10763 (branch_prepass): Removed special handling of jsr.
10764 (note_branch_target): Likewise.
10765 (get_subroutine): Removed.
10766 (state::merge): Don't merge subroutines and don't handle
10767 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10768 (state::note_variable): Removed.
10769 (state::is_unmerged_ret_state): Likewise.
10770 (state::print): Updated.
10771 (set_variable): Likewise.
10772 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10773 and jsr_semantics arguments. Updated for new reverification
10775 (pop_jump): Rewrote.
10776 (construct_primitive_array_type): Updated.
10777 (state::next): Removed.
10778 (INVALID_STATE): New define.
10779 (state::INVALID): Removed.
10780 (state::NO_NEXT): New value.
10781 (state::pc, state::next): New fields.
10782 (state::get_pc): New method.
10783 (next_verify_pc): Removed.
10784 (next_verify_state): New field.
10785 (verify_instructions_0): Always check for falling off end.
10786 (linked): New type.
10787 (linked_utf8): Removed.
10788 (states): Changed type.
10789 (type::state_mergeable_p): New method.
10790 (state::state_mergeable_p): Likewise.
10791 (handle_ret_insn): Removed most code.
10792 (state::reverify): New method.
10793 (add_new_state): Likewise.
10794 (state::set_pc): Likewise.
10796 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10799 * testsuite/libjava.compile/PR13733.java: New file.
10800 * testsuite/libjava.compile/PR13733.xfail: New file.
10802 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10803 Michael Koch <konqueror@gmx.de>
10805 * javax/swing/table/DefaultTableCellRenderer.java
10806 (DefaultTableCellRenderer): Added javadoc for the class and for
10807 the constructor, Border instance, create an EmptyBorder.
10808 (UIResource): Removed the comment at the end of the class
10809 (setForeground): New method.
10810 (setBackground): New method.
10811 (updateUI): New method.
10812 (getTableCellRendererComponent): Rewritten with the help of
10813 dvholten and Stephane Meslin-Weber.
10814 (validate): New method.
10815 (repaint): New method.
10816 (firePropertyChange): New method.
10817 (setValue): New method.
10819 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10822 (connectJObject): Replace printf calls with g_assert statements.
10823 Move property-notify-event signal connection to ...
10824 (connectSignals): Connect property-notify-event signal. Iterate
10825 through the vbox's children to find layout.
10827 2004-01-22 Graydon Hoare <graydon@redhat.com>
10829 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10830 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10831 Predicate static initialization on GtkToolkit.useGraphics2D().
10832 * java/awt/Component.java (processPaintEvent): Consume event.
10833 * javax/swing/AbstractButton.java: Reimplement, document.
10834 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10835 * javax/swing/JComponent.java (paint): Use double buffer.
10836 (listenerList): Enable member.
10837 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10838 * javax/swing/JToggleButton.java
10839 (JToggleButton): Modify model constructor.
10840 * javax/swing/SwingUtilities.java
10841 (layoutCompoundLabel): Adjust arithmetic.
10842 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10843 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10844 (getPreferredButtonSize): Include margins in calculation.
10845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10846 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10847 Receive up events from subordinate layout component.
10849 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10851 * java/awt/Component.java (show): Set visible to true before
10854 2004-01-21 Kim Ho <kho@redhat.com>
10856 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10858 (removeMenuBarPeer): Make package private.
10859 (setMenuBarPeer): Make package private.
10860 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10861 (menubar_resize_cb): Mark attributes unused.
10862 (getMenuBarHeight): ditto.
10864 2004-01-21 David Jee <djee@redhat.com>
10866 * java/awt/Container.java
10867 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10868 dispatching MOUSE_ENTERED event twice. Translate the point for
10869 the mouse event target before dispatching the event.
10871 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10873 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10874 lib_org_w3c_dom_la_LDFLAGS): New.
10875 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10876 * Makefile.in: Rebuilt.
10878 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10880 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10881 Calculate proper offsets for heavyweight components packed in
10882 lightweight containers.
10884 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10885 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10886 (native create): Add width parameter.
10887 (create): Calculate text entry width based on current font's
10888 metrics and number of columns. Set TextField's font if not
10889 already set. Call native create.
10890 (gtkEntryGetBorderWidth): New native method.
10891 (gtkEntryGetSize): Remove method.
10892 (getMinimumSize): Call minimumSize.
10893 (getPreferredSize): Call preferredSize.
10894 (minimumSize): Calculate minimum size based on backing
10895 GtkEntry's borders, font metrics and number of columns.
10896 (preferredSize): Likewise for preferred size.
10897 (get_border_width): New static function.
10899 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10900 Override GtkWindowPeer's setResizable method to account for menu
10901 bar height when setting the frame's size.
10903 2004-01-19 Matthias Klose <doko@debian.org>
10905 * libtool-version: Increased `current' to 6.
10907 2004-01-19 Kim Ho <kho@redhat.com>
10909 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10910 (connectJObject): Iterate through the vbox's children to find layout.
10912 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10914 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10915 isDispatchThread method to replace wrong test condition.
10917 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10919 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10920 events to the queue out of order by acquiring locks in the proper
10921 order and not by releasing one before acquiring the other.
10923 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10925 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10926 visible so that dialog can be reused.
10928 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10930 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10931 events may be handled by any queue in the stack.
10933 2004-01-19 Kim Ho <kho@redhat.com>
10935 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10936 MenuBarPeer parameter.
10937 (removeMenuBarPeer): New native method.
10938 (setMenuBar): Call remove if menu bar is null. Adjust insets
10940 (postSizeAllocateEvent): New method. Called when menu bar size is
10941 allocated. Adjust insets and redo layout.
10942 (GtkFramePeer): Set menu bar during frame creation.
10943 (postConfigureEvent): Adjust position and size to accomodate
10945 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10946 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10947 (addNotify): Create the peer if it doesn't exist and call addNotify
10948 for the menu's items.
10949 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10950 * java/awt/MenuItem.java (addNotify): Create the peer if it
10952 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10953 (removeMenuBarPeer): New method. Remove menu bar on the current
10955 (setMenuBarPeer): Add the menu bar to the current frame and the
10956 callback for size-allocate events on the menu bar.
10957 (getMenuBarHeight): Add menu bar parameter.
10958 (menubar_resize_cb): New callback method for postSizeAllocate events.
10960 Also: Fix indentation on last ChangeLog entry.
10962 2004-01-16 Kim Ho <kho@redhat.com>
10964 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10965 (gtkWidgetGetDimensions): Remove.
10966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10967 (gtkWidgetGetDimensions): Remove.
10969 2004-01-16 Tom Tromey <tromey@redhat.com>
10971 * java/awt/Container.java: Typo and indentation fixes.
10973 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10974 * java/lang/natVMClassLoader.cc: ...here. New file.
10975 * Makefile.in: Rebuilt.
10976 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10978 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10981 Discard GDK_ENTER_NOTIFY related to ungrabs.
10983 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10985 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10986 is called for an intermediate queue.
10988 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10991 (window_property_changed_cb): Set id_set.
10993 2004-01-16 Kim Ho <kho@redhat.com>
10995 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10996 it is a FileDialog and has dimensions of 0 by 0, then the initial
10997 size is set to size request plus insets.
10998 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10999 (gtkWidgetGetDimensions): Override method.
11000 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11001 (gtkWidgetGetDimensions): Override method. Returns size request plus
11004 2004-01-16 Andrew Haley <aph@redhat.com>
11006 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
11007 * sysdep/i386/locks.h: Likewise.
11009 2004-01-16 Fernando Nasser <fnasser@redhat.com>
11011 * java/awt/EventDispatchThread.java (run): Stop running when
11013 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
11014 Reset the queue after transferring its contents.
11015 (push): Start a new dispatch thread if none is running.
11017 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
11019 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11020 (doPolygon): set fill rule of polygon to
11021 WIND_EVEN_ODD by default.
11023 2004-01-15 Olga Rodimina <rodimina@redhat.com>
11025 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
11026 Implemented rendering hints related methods.
11027 (getDefaultHints): New helper method. Returns
11028 default rendering hints.
11029 (walkPath): changed to normalize path if
11030 the KEY_STROKE_CONTROL key is in "normalize" mode.
11031 (draw3DRect): changed coordinates of rectangle by +0.5
11032 if in "normalize" mode.
11034 2004-01-15 Tom Tromey <tromey@redhat.com>
11036 * Makefile.in: Rebuilt.
11037 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
11038 (%.lo: %.java) Filter out StackTrace.lo.
11040 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
11042 * configure.in: Add in AC_PREREQ(2.13)
11043 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
11046 2004-01-14 Nathan Bryant <nbryant@optonline.net>
11047 Tom Tromey <tromey@redhat.com>
11050 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
11051 array to superclass.
11052 (init): Changed interface; add URLs here.
11053 (initialize): New static method.
11054 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
11055 (_Jv_RunMain): ... not here.
11057 2004-01-14 Michael Koch <konqueror@gmx.de>
11059 * java/text/MessageFormat.java:
11060 Added descriptions to exceptions.
11061 This fixes PR libgcj/2429.
11063 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11065 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
11066 (push): Make sure push is performed at the top of the thread stack.
11068 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11070 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
11071 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
11072 (native create): Add width and height parameters. Set text
11073 view's size request according to new parameters.
11074 (create): Calculate text view size based on current font's
11075 metrics and number of rows and columns. Set TextArea's font if
11076 not already set. Call native create.
11077 (getMinimumSize): Call minimumSize.
11078 (getPreferredSize): Call preferredSize.
11079 (getHScrollbarHeight): New method.
11080 (getVScrollbarWidth): New method.
11081 (minimumSize): Calculate minimum size based on scrollbar
11082 visibility, scrollbar sizes, font metrics and number of rows and
11084 (preferredSize): Likewise for preferred size.
11085 (gtkTextGetSize): Remove method.
11087 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
11089 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11090 (initializeInsets): Remove method.
11091 (GtkComponentPeer): Initialize insets field. Remove call to
11093 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
11095 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
11097 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11098 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
11099 (latestInsets): Remove field.
11100 (native create): Add insets parameter. Call
11101 window_get_frame_extents. Set the window's default size and
11102 size request based on its frame extents.
11103 (create): Initialize insets.
11104 (postInsetsChangedEvent): New method.
11105 (postConfigureEvent): Remove parameters top, left, bottom,
11106 right. Remove insets-related logic.
11107 (connectJObject): Handle property-notify-event.
11108 (window_get_frame_extents, request_frame_extents,
11109 property_notify_predicate, window_property_changed_cb): New
11111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11112 (pre_event_handler): Remove insets-related logic for configure
11114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
11115 Update postConfigureEvent signature.
11117 2004-01-13 Fernando Nasser <fnasser@redhat.com>
11119 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
11120 to handle Window "Closing" events.
11122 2004-01-13 David Jee <djee@redhat.com>
11124 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
11125 (setBackground): New method. Children with no explicitly-set
11126 background will be repainted with the parent container's new
11129 2004-01-13 David Jee <djee@redhat.com>
11131 * Makefile.am: Add BitwiseXORComposite.java.
11132 * Makefile.in: Regenerated.
11133 * gcj/Makefile.in: Regenerated.
11134 * include/Makefile.in: Regenerated.
11135 * testsuite/Makefile.in: Regenerated.
11137 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11139 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
11140 not show modal dialogs twice and so that it allows showing a modal
11141 dialog from another modal dialog.
11143 2004-01-12 Fernando Nasser <fnasser@redhat.com>
11145 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
11146 and run secondary dispatch thread to process event queue while this
11149 2004-01-12 Graydon Hoare <graydon@redhat.com>
11151 * gnu/java/awt/gtk/GdkGraphics2D.java
11152 (static): Check GtkToolkit before initializing static state.
11153 (Graphics2D): Don't construct transform with 0.5 unit offset.
11155 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
11157 * gnu/java/awt/BitwiseXORComposite.java: Add.
11158 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11159 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
11160 (BitwiseXORComposite): Remove inner class.
11162 2004-01-11 Michael Koch <konqueror@gmx.de>
11164 * gnu/java/lang/reflect/TypeSignature.java
11165 (getEncodingOfClass): Documentation fixed.
11166 (getClassForEncoding): Give class loader to Class.forName().
11167 Documentation fixed.
11169 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
11171 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
11173 2004-01-11 Michael Koch <konqueror@gmx.de>
11175 * javax/swing/undo/StateEditable.java
11176 (RCSID): Removed redundant modifiers.
11178 2004-01-10 Michael Koch <konqueror@gmx.de>
11180 * javax/print/attribute/EnumSyntax.java
11181 (getStringTable): Made protected.
11182 (getEnumValueTable): Likewise.
11183 * javax/print/attribute/standard/JobKOctetsProcessed.java
11184 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
11185 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
11186 (JobMediaSheetsCompleted): Made class final.
11187 * javax/print/attribute/standard/OutputDeviceAssigned.java
11188 (getName): Fixed typo.
11189 * javax/print/attribute/standard/RequestingUserName.java
11190 (serialVersionUID): Fixed value.
11192 2004-01-10 Michael Koch <konqueror@gmx.de>
11194 * javax/swing/plaf/basic/BasicButtonUI.java,
11195 javax/swing/plaf/basic/BasicCheckBoxUI.java,
11196 javax/swing/plaf/basic/BasicListUI.java,
11197 javax/swing/plaf/basic/BasicOptionPaneUI.java,
11198 javax/swing/plaf/basic/BasicPanelUI.java,
11199 javax/swing/plaf/basic/BasicRadioButtonUI.java,
11200 javax/swing/plaf/basic/BasicScrollPaneUI.java,
11201 javax/swing/plaf/basic/BasicToggleButtonUI.java,
11202 javax/swing/plaf/basic/BasicViewportUI.java:
11203 Fixed import statements.
11205 2004-01-10 Michael Koch <konqueror@gmx.de>
11207 * gnu/java/awt/image/ImageDecoder.java
11208 (produce): Made public.
11209 * gnu/java/awt/peer/GLightweightPeer.java,
11210 gnu/java/awt/peer/gtk/GtkToolkit.java:
11213 2004-01-10 Michael Koch <konqueror@gmx.de>
11215 * javax/swing/JRadioButtonMenuItem.java,
11216 javax/swing/JSeparator.java,
11217 javax/swing/JSplitPane.java,
11218 javax/swing/JTextPane.java,
11219 javax/swing/JToolBar.java,
11220 javax/swing/ListCellRenderer.java,
11221 javax/swing/ListModel.java,
11222 javax/swing/MenuElement.java,
11223 javax/swing/OverlayLayout.java,
11224 javax/swing/ProgressMonitor.java,
11225 javax/swing/ProgressMonitorInputStream.java,
11226 javax/swing/Renderer.java,
11227 javax/swing/RootPaneContainer.java,
11228 javax/swing/Scrollable.java,
11229 javax/swing/SingleSelectionModel.java,
11230 javax/swing/ToolTipManager.java,
11231 javax/swing/ViewportLayout.java,
11232 javax/swing/event/DocumentEvent.java,
11233 javax/swing/event/SwingPropertyChangeSupport.java,
11234 javax/swing/event/TreeSelectionEvent.java,
11235 javax/swing/event/UndoableEditEvent.java,
11236 javax/swing/text/AbstractDocument.java,
11237 javax/swing/text/AttributeSet.java,
11238 javax/swing/text/Caret.java,
11239 javax/swing/text/ComponentView.java,
11240 javax/swing/text/DefaultCaret.java,
11241 javax/swing/text/DefaultEditorKit.java,
11242 javax/swing/text/Document.java,
11243 javax/swing/text/EditorKit.java,
11244 javax/swing/text/GapContent.java,
11245 javax/swing/text/Keymap.java,
11246 javax/swing/text/MutableAttributeSet.java,
11247 javax/swing/text/PlainEditorKit.java,
11248 javax/swing/text/Segment.java,
11249 javax/swing/text/Style.java,
11250 javax/swing/text/StyledDocument.java,
11251 javax/swing/text/StyledEditorKit.java,
11252 javax/swing/text/TextAction.java,
11253 javax/swing/text/View.java: Fixed import statements.
11255 2004-01-08 Graydon Hoare <graydon@redhat.com>
11257 * javax/swing/JLayeredPane.java: Rewrite to accomodate
11258 djee@redhat.com's recent inverse ordering of Container elements.
11260 2004-01-09 Michael Koch <konqueror@gmx.de>
11262 * gnu/java/lang/ArrayHelper.java
11263 (equalsArray): Removed.
11265 2004-01-09 Andrew Haley <aph@redhat.com>
11267 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11268 a Utf8Const field before looking at its class.
11270 2004-01-09 Michael Koch <konqueror@gmx.de>
11272 * javax/print/attribute/standard/DocumentName.java,
11273 javax/print/attribute/standard/JobHoldUntil.java,
11274 javax/print/attribute/standard/JobMessageFromOperator.java,
11275 javax/print/attribute/standard/JobName.java,
11276 javax/print/attribute/standard/JobOriginatingUserName.java,
11277 javax/print/attribute/standard/OutputDeviceAssigned.java,
11278 javax/print/attribute/standard/PrinterInfo.java,
11279 javax/print/attribute/standard/PrinterLocation.java,
11280 javax/print/attribute/standard/PrinterMakeAndModel.java,
11281 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11282 javax/print/attribute/standard/PrinterName.java,
11283 javax/print/attribute/standard/RequestingUserName.java: New files.
11284 * Makefile.am (javax_source_files): Added new files.
11285 * Makefile.in: Regenerated.
11287 2004-01-09 Michael Koch <konqueror@gmx.de>
11289 * javax/swing/AbstractAction.java,
11290 javax/swing/AbstractSet.java,
11291 javax/swing/Action.java,
11292 javax/swing/ActionMap.java,
11293 javax/swing/BoundedRangeModel.java,
11294 javax/swing/ButtonModel.java,
11295 javax/swing/CellEditor.java,
11296 javax/swing/CellRendererPane.java,
11297 javax/swing/ComboBoxEditor.java,
11298 javax/swing/DebugGraphics.java,
11299 javax/swing/DefaultCellEditor.java,
11300 javax/swing/DefaultCellRenderer.java,
11301 javax/swing/DefaultComboBoxModel.java,
11302 javax/swing/DefaultDesktopManager.java,
11303 javax/swing/DefaultFocusManager.java,
11304 javax/swing/DefaultListCellRenderer.java,
11305 javax/swing/Icon.java,
11306 javax/swing/JButton.java,
11307 javax/swing/JCheckBoxMenuItem.java,
11308 javax/swing/JDesktopPane.java,
11309 javax/swing/JEditorPane.java,
11310 javax/swing/JMenu.java,
11311 javax/swing/JPanel.java,
11312 javax/swing/JPasswordField.java,
11313 javax/swing/JPopupMenu.java,
11314 javax/swing/JProgressBar.java: Reworked imports.
11316 2004-01-09 Michael Koch <konqueror@gmx.de>
11318 * java/awt/geom/PathIterator.java
11319 (WIND_EVEN_ODD): Removed redundant modifiers.
11320 (WIND_NON_ZERO): Likewise.
11321 (SEG_MOVETO): Likewise.
11322 (SEG_LINETO): Likewise.
11323 (SEG_QUADTO): Likewise.
11324 (SEG_CUBICTO): Likewise.
11325 (SEG_CLOSE): Likewise.
11326 * java/awt/image/SinglePixelPackedSampleModel.java:
11327 Removed redundant semicolon.
11328 * java/io/ObjectInputStream.java
11329 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11330 * java/util/logging/Filter.java
11331 (isLoggable): Removed redundant modifier.
11332 * java/util/logging/LogManager.java:
11333 Removed redundant semicolon.
11334 * java/util/logging/XMLFormatter.java
11335 (format): Removed unused variable "key".
11337 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11339 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11340 New name for the former setFile native method.
11341 (setFile): New method.
11342 (setDirectory): Implemented.
11343 (connectSignals): New native method.
11344 (setFilenameFilter): Improve comment.
11345 (getGraphics): Comment.
11346 (gtkHideFileDialog): New method.
11347 (gtkDisposeFileDialog): New method.
11348 (gtkSetFilename): New method.
11349 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11350 for FileDialog for now.
11351 (hide): New method.
11352 (dispose): New method.
11353 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11354 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11355 deprecated creation functions. Make dialog modal. Add it to the
11357 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11359 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11361 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11363 (window_closed): New function.
11364 (ok_clicked): New function.
11365 (cancel_clicked): New function.
11367 2004-01-08 Michael Koch <konqueror@gmx.de>
11369 * javax/swing/JLayeredPane.java: Revert changes to standard
11370 boilerplate, reworked imports.
11372 2004-01-07 Tom Tromey <tromey@redhat.com>
11375 * verify.cc (state::merge): Copy changed locals out of subroutine
11377 (state::FLAG_CHANGED): New const.
11378 (state::FLAG_UNUSED): Likewise.
11379 (state::local_changed): Removed. Updated all users.
11380 (state::flags): New field.
11381 (state::merge): Added jsr_semantics argument, more logic.
11382 (push_jump_merge): Added jsr_semantics argument.
11383 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11384 merging through the jsr instruction.
11386 2004-01-07 Tom Tromey <tromey@redhat.com>
11388 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11391 2004-01-07 Graydon Hoare <graydon@redhat.com>
11393 * java/awt/Container.java (LightweightDispatcher): Implement.
11394 (visitChild): Reuse graphics object.
11395 (dispatchEventImpl): Optionally dispatch to lightweight.
11396 (addNotifyContainerChildren): Build LightweightDispatcher.
11398 2004-01-07 David Jee <djee@redhat.com>
11400 * java/awt/Container.java
11401 (update): Clear only the clipped region, instead of clearing the
11403 (visitChildren): Visit children in descending order.
11405 2004-01-07 Michael Koch <konqueror@gmx.de>
11407 * java/lang/reflect/Array.java: Merged documentation with classpath.
11409 2004-01-07 Michael Koch <konqueror@gmx.de>
11411 * java/text/CollationElementIterator.java
11412 (textIndex): Renamed from index.
11413 * java/text/CollationKey.java
11414 (collator): New member.
11415 (CollationKey): New argument for parent collator.
11416 (equals): Check for same collator, source string and key array.
11417 * java/text/RuleBasedCollator.java:
11419 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11421 (getCollationElementIterator): Rewritten.
11422 (getCollationKey): Added new argument to CollationKey constructor.
11424 2004-01-07 Michael Koch <konqueror@gmx.de>
11426 * gnu/java/nio/DatagramChannelImpl.java
11427 (blocking): Removed.
11428 (DatagramChannelImpl): Call configureBlocking().
11429 (implConfigureBlocking): Dont initialize blocking.
11430 * gnu/java/nio/ServerSocketChannelImpl.java
11431 (blocking): Removed.
11432 (ServerSocketChannelImpl): Call configureBlocking().
11433 (implConfigureBlocking): Dont initialize blocking.
11434 * gnu/java/nio/SocketChannelImpl.java
11435 (blocking): Removed.
11436 (SocketChannelImpl): Call configureBlocking().
11437 (implConfigureBlocking): Dont initialize blocking.
11438 (connect): Use isBlocking().
11439 * java/nio/channels/spi/AbstractSelectableChannel.java
11440 (configureBlocking): Use blockingLock() instead of LOCK.
11441 Set blocking after successfully called implConfigureBlocking().
11442 (register): Use blockingLock() instead of LOCK.
11444 2004-01-07 Michael Koch <konqueror@gmx.de>
11446 * java/net/ServerSocket.java (isBound): Fixed documentation.
11448 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11450 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11451 (changeEvent): Create event object on demand.
11452 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11453 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11454 fireStateChanged): Re-written.
11455 * javax/swing/event/EventListenerList.java: Reformatted, document
11457 (toString): Implemented.
11458 (getListeners): Re-written.
11459 (remove): Re-written.
11461 (NO_LISTENERS): New singleton field.
11462 (listenerList): Declare as transient; document.
11463 (serialVersionUID): Document.
11464 (getListenerCount(Class)): More efficient implementation,
11465 also accepts null argument. Improve Javadoc.
11466 (getListenerCount()): Remove unnecessary cast; docfix.
11467 * javax/swing/undo/UndoableEditSupport.java:
11468 Re-format, document.
11469 (UndoableEditSupport): Set realSource field. Improve documentation.
11470 (_postEdit): Iterate over cloned listener vector.
11471 (toString): Don't emit realSource.
11472 (beginUpdate, endUpdate): Support nested updates.
11473 (postEdit): Use compound edit if present.
11475 2004-01-06 Graydon Hoare <graydon@redhat.com>
11477 * java/awt/Container.java (swapComponents): Add forgotten
11478 function, required for JLayeredPane change.
11480 2004-01-06 Michael Koch <konqueror@gmx.de>
11482 * java/text/CollationElementIterator.java: Reformated.
11483 (CollationElementIterator): Changed order of arguments.
11484 * java/text/RuleBasedCollator.java
11485 (RuleBasedCollator): Merged class documentation.
11486 (CollationElement): Added documentation.
11487 (compare): Reformated, renamed arguments.
11488 (equals): Likewise.
11489 (getCollationElementIterator): Likewise.
11490 (getCollationKey): Likewise.
11492 2004-01-06 Graydon Hoare <graydon@redhat.com>
11494 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11496 2004-01-06 Michael Koch <konqueror@gmx.de>
11498 * gnu/java/net/protocol/file/Connection.java:
11499 Reformated copyright.
11500 (hdrHash): Removed.
11502 (gotHeaders): Removed.
11503 (getHeaderField): Removed.
11504 (getHeaderField): Removed.
11505 (getHeaderFieldKey): Removed.
11507 (getField): Removed.
11508 (getHeaders): Removed.
11510 2004-01-06 Michael Koch <konqueror@gmx.de>
11512 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11513 javax/print/attribute/standard/DateTimeAtCreation.java,
11514 javax/print/attribute/standard/DateTimeAtProcessing.java,
11515 javax/print/attribute/standard/JobImpressionsCompleted.java,
11516 javax/print/attribute/standard/JobKOctets.java,
11517 javax/print/attribute/standard/JobKOctetsProcessed.java,
11518 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11519 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11520 * Makefile.am (javax_source_files): Added new files.
11521 * Makefile.in: Regenerated.
11523 2004-01-06 Michael Koch <konqueror@gmx.de>
11525 * java/net/URLConnection.java
11526 (contentHandler): Removed.
11528 (getHeaderFields): Return an empty map instead of null.
11529 (getContent): Connect if needed, renamed "cType" to "type" and
11530 "contentHandler" to "ch" and made it a local variable.
11531 (getPermission): Don't use package in class name.
11532 (setDefaultRequestProperty): Fixed typo in documentation.
11533 (initializeDateFormats): Made locale a local variable.
11535 2004-01-06 Michael Koch <konqueror@gmx.de>
11537 * java/lang/Package.java
11538 (getPackage): Get the current class loader directly.
11539 * java/lang/SecurityManager.java
11540 (currentLoadedClass): Dont iterate over class contexts.
11541 (classLoaderDepth): Don't check class loaders if everything is allowed.
11543 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11546 (pre_event_handler): Set all insets to 0 when a Configure event
11547 is received for a GtkPlug.
11548 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11549 Make handle long, not int.
11550 (EmbeddedWindow()): New constructor.
11551 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11553 (setHandle): New method.
11554 (getHandle): Return long, not int.
11555 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11557 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11558 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11559 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11560 argument to GdkNativeWindow.
11561 (construct): New method.
11562 (embed): New method.
11564 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11565 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11566 (create(int, int)): New method.
11567 (create): Call new create method.
11568 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11570 (childResized): Remove native implementation. Implement in
11572 (getHScrollbarHeight, getVScrollbarWidth): Call
11573 gtk_widget_size_request to get scrollbar dimensions.
11574 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11575 call getVScrollbarWidth and getHScrollbarHeight when vertical
11576 and horizontal scrollbars respectively are needed.
11577 (doLayout): Enlarge child if it is smaller than the viewport.
11579 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11581 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11582 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11583 argument as per spec.
11585 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11587 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11589 (remove): Ditto. Also, Check for valid argument.
11590 (removeAll): Use peer interface method.
11591 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11592 native add function.
11593 (nativeRemove): New name for native remove function.
11594 (getHistory): New native function.
11595 (constructor): Generate ItemEvent.
11596 (add): Ditto, if selection is changed.
11597 (remove): Ditto, ditto.
11598 (removeAll): Add implementation.
11599 (handleEvent): Remove. Dead code.
11600 (choicePostItemEvent): Add comment.
11601 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11602 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11603 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11604 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11605 comments and fix condition to change selection.
11606 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11607 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11608 remove all capability.
11609 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11610 (item_activate): Add cast to remove compiler warning.
11612 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11614 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11615 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11616 (getPreferredSize): Call preferredSize.
11617 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11618 (getMinimumSize): Call minimumSize.
11619 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11620 (gtkWidgetGetDimensions): Return the peer widget's current size
11622 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11623 natural size request.
11625 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11627 Thanks to Brian Gough <bjg@network-theory.com>
11628 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11629 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11631 2004-01-04 Matthias Klose <doko@debian.org>
11633 * aclocal.m4: Rebuilt using "aclocal -I .".
11634 * configure: Rebuilt.
11636 2004-01-03 Per Bothner <per@bothner.com>
11638 * java/util/Date.java (parse): Fix a number of problems.
11639 (skipParens): Remove no-longer-needed method.