OSDN Git Service

gcc/testsuite:
[pf3gnuchains/gcc-fork.git] / libjava / ChangeLog
1 2004-10-25  Eric Botcazou  <ebotcazou@libertysurf.fr>
2
3         PR other/18138
4         * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
5
6 2004-10-23  Michael Koch  <konqueror@gmx.de>
7
8         * javax/print/DocFlavor.java,
9         javax/print/attribute/standard/JobStateReason.java,
10         javax/print/attribute/standard/MultipleDocumentHandling.java:
11         Added missing constants.
12
13 2004-10-22  Tom Tromey  <tromey@redhat.com>
14
15         * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
16         typo.
17
18 2004-10-22  Michael Koch  <konqueror@gmx.de>
19
20         PR libjava/14009
21         * gnu/java/net/protocol/http/Connection.java
22         (sendRequest): Handle case when url.getFile() returns an empty string.
23
24 2004-10-22  Michael Koch  <konqueror@gmx.de>
25
26         * java/lang/Math.java,
27         java/lang/StackTraceElement.java,
28         java/nio/Buffer.java,
29         java/nio/ByteBuffer.java,
30         java/nio/CharBuffer.java,
31         java/nio/DoubleBuffer.java,
32         java/nio/FloatBuffer.java,
33         java/nio/IntBuffer.java,
34         java/nio/LongBuffer.java,
35         java/nio/ShortBuffer.java,
36         java/nio/charset/Charset.java,
37         java/rmi/server/RMIClassLoader.java,
38         java/rmi/server/RMISocketFactory.java,
39         java/security/Policy.java,
40         java/text/ChoiceFormat.java,
41         java/text/CollationElementIterator.java,
42         java/text/DateFormat.java,
43         java/text/DecimalFormat.java,
44         java/text/DecimalFormatSymbols.java,
45         java/text/MessageFormat.java,
46         java/text/NumberFormat.java,
47         java/text/RuleBasedCollator.java,
48         java/text/SimpleDateFormat.java,
49         java/util/BitSet.java,
50         java/util/Calendar.java,
51         java/util/Collections.java,
52         java/util/IdentityHashMap.java,
53         java/util/Locale.java,
54         java/util/TreeMap.java,
55         java/util/logging/LogRecord.java,
56         java/util/logging/XMLFormatter.java,
57         java/util/prefs/AbstractPreferences.java,
58         java/util/prefs/Preferences.java,
59         javax/crypto/interfaces/DHPrivateKey.java,
60         javax/crypto/interfaces/DHPublicKey.java,
61         javax/crypto/interfaces/PBEKey.java,
62         javax/net/ssl/HandshakeCompletedEvent.java,
63         javax/security/auth/Subject.java:
64         Removed redundant and reordered modifiers.
65
66 2004-10-22  Ulrich Weigand  <uweigand@de.ibm.com>
67
68         * gnu/java/net/natPlainSocketImplPosix.cc
69         (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
70         with 'int *' argument instead of 'long *'.
71
72 2004-10-21  Michael Koch  <konqueror@gmx.de>
73
74         * java/net/NetworkInterface.java,
75         java/text/Format.java,
76         javax/security/auth/x500/X500Principal.java,
77         javax/security/auth/x500/X500PrivateCredential.java,
78         javax/security/cert/X509CertBridge.java,
79         javax/security/sasl/Sasl.java,
80         javax/sql/XAConnection.java:
81         Import cleanup.
82
83 2004-10-21  Michael Koch  <konqueror@gmx.de>
84
85         * javax/net/ssl/HandshakeCompletedEvent.java,
86         javax/net/ssl/KeyManagerFactory.java,
87         javax/net/ssl/SSLContext.java,
88         javax/net/ssl/SSLServerSocketFactory.java,
89         javax/net/ssl/SSLSession.java,
90         javax/net/ssl/SSLSocketFactory.java,
91         javax/net/ssl/TrustManagerFactory.java:
92         Import cleanup.
93
94 2004-10-21  Michael Koch  <konqueror@gmx.de>
95
96         * javax/naming/directory/BasicAttribute.java,
97         javax/naming/directory/BasicAttributes.java,
98         javax/naming/directory/InitialDirContext.java,
99         javax/naming/event/NamingEvent.java,
100         javax/naming/ldap/ControlFactory.java,
101         javax/naming/ldap/ExtendedRequest.java,
102         javax/naming/ldap/InitialLdapContext.java,
103         javax/naming/ldap/LdapReferralException.java,
104         javax/naming/spi/DirObjectFactory.java,
105         javax/naming/spi/DirStateFactory.java,
106         javax/naming/spi/DirectoryManager.java,
107         javax/naming/spi/InitialContextFactory.java,
108         javax/naming/spi/InitialContextFactoryBuilder.java,
109         javax/naming/spi/NamingManager.java,
110         javax/naming/spi/ObjectFactory.java,
111         javax/naming/spi/ObjectFactoryBuilder.java,
112         javax/naming/spi/StateFactory.java:
113         Import cleanup.
114
115 2004-10-21  Michael Koch  <konqueror@gmx.de>
116
117         * javax/crypto/Cipher.java,
118         javax/crypto/EncryptedPrivateKeyInfo.java,
119         javax/crypto/ExemptionMechanism.java,
120         javax/crypto/KeyAgreement.java,
121         javax/crypto/KeyGenerator.java,
122         javax/crypto/Mac.java,
123         javax/crypto/SecretKeyFactory.java,
124         javax/crypto/SecretKeyFactorySpi.java,
125         javax/crypto/spec/SecretKeySpec.java:
126         Import cleanup.
127
128 2004-10-21  Michael Koch  <konqueror@gmx.de>
129
130         * java/security/AlgorithmParameterGenerator.java,
131         java/security/AlgorithmParameters.java,
132         java/security/AlgorithmParametersSpi.java,
133         java/security/AllPermission.java,
134         java/security/BasicPermission.java,
135         java/security/Certificate.java,
136         java/security/CodeSource.java,
137         java/security/DigestInputStream.java,
138         java/security/DigestOutputStream.java,
139         java/security/GuardedObject.java,
140         java/security/KeyFactory.java,
141         java/security/KeyFactorySpi.java,
142         java/security/KeyPairGenerator.java,
143         java/security/KeyStore.java,
144         java/security/KeyStoreSpi.java,
145         java/security/Permissions.java,
146         java/security/Security.java,
147         java/security/Signature.java,
148         java/security/UnresolvedPermission.java,
149         java/security/cert/CertPathBuilder.java,
150         java/security/cert/CertPathValidator.java,
151         java/security/cert/CertStore.java,
152         java/security/cert/Certificate.java,
153         java/security/cert/CertificateFactory.java,
154         java/security/cert/PolicyQualifierInfo.java,
155         java/security/cert/TrustAnchor.java,
156         java/security/cert/X509CRL.java,
157         java/security/cert/X509CRLSelector.java,
158         java/security/cert/X509CertSelector.java:
159         Import cleanup.
160
161 2004-10-21  Michael Koch  <konqueror@gmx.de>
162
163         * java/rmi/MarshalledObject.java,
164         java/rmi/Naming.java,
165         java/rmi/activation/Activatable.java,
166         java/rmi/activation/ActivationGroup.java,
167         java/rmi/activation/ActivationGroupDesc.java,
168         java/rmi/activation/ActivationInstantiator.java,
169         java/rmi/activation/ActivationMonitor.java,
170         java/rmi/activation/ActivationSystem.java,
171         java/rmi/activation/Activator.java,
172         java/rmi/registry/LocateRegistry.java,
173         java/rmi/registry/Registry.java,
174         java/rmi/server/LogStream.java,
175         java/rmi/server/ObjID.java,
176         java/rmi/server/RMIClientSocketFactory.java,
177         java/rmi/server/RMIServerSocketFactory.java,
178         java/rmi/server/RMISocketFactory.java,
179         java/rmi/server/RemoteCall.java,
180         java/rmi/server/RemoteServer.java,
181         java/rmi/server/ServerRef.java,
182         java/rmi/server/UID.java,
183         java/rmi/server/UnicastRemoteObject.java:
184         Import cleanup.
185
186 2004-10-21  Tom Tromey  <tromey@redhat.com>
187
188         * java/util/zip/InflaterInputStream.java (fill): Don't throw an
189         exception if we hit EOF of `in'.
190         (read): Handle case where inflating returns -1.
191
192 2004-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
193
194         * gnu/java/nio/channels/natFileChannelPosix.cc
195         (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
196         argument instead of 'long *'.
197
198 2004-10-21  Tom Tromey  <tromey@redhat.com>
199
200         * java/util/ResourceBundle.java (tryBundle): Also ignore
201         ClassCastException.
202
203 2004-10-21  Kaz Kojima  <kkojima@gcc.gnu.org>
204
205         * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
206         for all sh*-*-linux* targets.
207         * configure: Regenerate.
208         * include/sh-signal.h: New file.
209
210 2004-10-21  Kazuhiro Inaoka  <inaoka.kazuhiro@renesas.com>
211
212         * java/lang/ieeefp.h: Add m32r support.
213
214 2004-10-20  Andreas Schwab  <schwab@suse.de>
215
216         * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
217         to uaddr, not int.
218         * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
219         Likewise.
220
221 2004-10-20  Michael Koch  <konqueror@gmx.de>
222
223         * javax/print/attribute/standard/ColorSupported.java,
224         javax/print/attribute/standard/Compression.java,
225         javax/print/attribute/standard/Copies.java,
226         javax/print/attribute/standard/CopiesSupported.java,
227         javax/print/attribute/standard/DateTimeAtCompleted.java,
228         javax/print/attribute/standard/DateTimeAtCreation.java,
229         javax/print/attribute/standard/DateTimeAtProcessing.java,
230         javax/print/attribute/standard/DocumentName.java,
231         javax/print/attribute/standard/Fidelity.java,
232         javax/print/attribute/standard/Finishings.java,
233         javax/print/attribute/standard/JobHoldUntil.java,
234         javax/print/attribute/standard/JobImpressions.java,
235         javax/print/attribute/standard/JobImpressionsCompleted.java,
236         javax/print/attribute/standard/JobImpressionsSupported.java,
237         javax/print/attribute/standard/JobKOctets.java,
238         javax/print/attribute/standard/JobKOctetsProcessed.java,
239         javax/print/attribute/standard/JobKOctetsSupported.java,
240         javax/print/attribute/standard/JobMediaSheets.java,
241         javax/print/attribute/standard/JobMediaSheetsCompleted.java,
242         javax/print/attribute/standard/JobMediaSheetsSupported.java,
243         javax/print/attribute/standard/JobMessageFromOperator.java,
244         javax/print/attribute/standard/JobName.java,
245         javax/print/attribute/standard/JobOriginatingUserName.java,
246         javax/print/attribute/standard/JobPriority.java,
247         javax/print/attribute/standard/JobPrioritySupported.java,
248         javax/print/attribute/standard/JobSheets.java,
249         javax/print/attribute/standard/JobState.java,
250         javax/print/attribute/standard/JobStateReason.java,
251         javax/print/attribute/standard/JobStateReasons.java,
252         javax/print/attribute/standard/Media.java,
253         javax/print/attribute/standard/MultipleDocumentHandling.java,
254         javax/print/attribute/standard/NumberOfDocuments.java,
255         javax/print/attribute/standard/NumberOfInterveningJobs.java,
256         javax/print/attribute/standard/NumberUp.java,
257         javax/print/attribute/standard/NumberUpSupported.java,
258         javax/print/attribute/standard/OrientationRequested.java,
259         javax/print/attribute/standard/OutputDeviceAssigned.java,
260         javax/print/attribute/standard/PDLOverrideSupported.java,
261         javax/print/attribute/standard/PageRanges.java,
262         javax/print/attribute/standard/PagesPerMinute.java,
263         javax/print/attribute/standard/PagesPerMinuteColor.java,
264         javax/print/attribute/standard/PrintQuality.java,
265         javax/print/attribute/standard/PrinterInfo.java,
266         javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
267         javax/print/attribute/standard/PrinterLocation.java,
268         javax/print/attribute/standard/PrinterMakeAndModel.java,
269         javax/print/attribute/standard/PrinterMessageFromOperator.java,
270         javax/print/attribute/standard/PrinterMoreInfo.java,
271         javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
272         javax/print/attribute/standard/PrinterName.java,
273         javax/print/attribute/standard/PrinterStateReason.java,
274         javax/print/attribute/standard/PrinterStateReasons.java,
275         javax/print/attribute/standard/PrinterURI.java,
276         javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
277         javax/print/attribute/standard/RequestingUserName.java:
278         Reorganized imports and removed redundant final modifiers.
279
280 2004-10-20  Michael Koch  <konqueror@gmx.de>
281
282         * javax/security/sasl/SaslClient.java,
283         javax/security/sasl/SaslClientFactory.java,
284         javax/security/sasl/SaslException.java,
285         javax/security/sasl/SaslServer.java,
286         javax/security/sasl/SaslServerFactory.java:
287         Remvoed CVS tags.
288
289 2004-10-20  Michael Koch  <konqueror@gmx.de>
290
291         * javax/security/auth/login/NullConfiguration.java,
292         javax/security/auth/x500/X500Principal.java,
293         javax/security/cert/X509Certificate.java,
294         javax/security/sasl/AuthenticationException.java,
295         javax/security/sasl/AuthorizeCallback.java,
296         javax/security/sasl/RealmCallback.java,
297         javax/security/sasl/RealmChoiceCallback.java,
298         javax/security/sasl/Sasl.java,
299         javax/security/sasl/SaslClient.java,
300         javax/security/sasl/SaslClientFactory.java,
301         javax/security/sasl/SaslException.java,
302         javax/security/sasl/SaslServer.java,
303         javax/security/sasl/SaslServerFactory.java:
304         Cleaned up import statements and copyright notices.
305
306 2004-10-20  Michael Koch  <konqueror@gmx.de>
307
308         * gnu/java/rmi/rmic/RMIC.java: Reformatted.
309
310 2004-10-20  Michael Koch  <konqueror@gmx.de>
311
312         * java/sql/Timestamp.java,
313         java/text/AttributedCharacterIterator.java,
314         java/text/AttributedString.java,
315         java/util/zip/CheckedOutputStream.java,
316         java/util/zip/DeflaterOutputStream.java,
317         java/util/zip/ZipFile.java,
318         javax/crypto/Cipher.java,
319         javax/crypto/ExemptionMechanismException.java,
320         javax/crypto/SecretKey.java,
321         javax/crypto/SecretKeyFactory.java,
322         javax/naming/directory/ModificationItem.java,
323         javax/naming/directory/SearchControls.java,
324         javax/naming/event/NamingListener.java,
325         javax/naming/ldap/Control.java,
326         javax/naming/ldap/ExtendedResponse.java,
327         javax/net/ssl/SSLSocketFactory.java:
328         Reorganized imports and fixed copyright headers.
329
330 2004-10-20  Michael Koch  <konqueror@gmx.de>
331
332         * java/util/logging/ConsoleHandler.java,
333         java/util/logging/ErrorManager.java,
334         java/util/logging/FileHandler.java,
335         java/util/logging/Filter.java,
336         java/util/logging/Formatter.java,
337         java/util/logging/Handler.java,
338         java/util/logging/Level.java,
339         java/util/logging/LogManager.java,
340         java/util/logging/LogRecord.java,
341         java/util/logging/Logger.java,
342         java/util/logging/LoggingPermission.java,
343         java/util/logging/MemoryHandler.java,
344         java/util/logging/SimpleFormatter.java,
345         java/util/logging/SocketHandler.java,
346         java/util/logging/StreamHandler.java,
347         java/util/logging/XMLFormatter.java:
348         Standardized copyrigth header.
349
350 2004-10-20  Michael Koch  <konqueror@gmx.de>
351
352         * java/security/AlgorithmParameterGenerator.java,
353         java/security/AlgorithmParameters.java,
354         java/security/DigestInputStream.java,
355         java/security/Identity.java,
356         java/security/KeyFactory.java,
357         java/security/KeyPairGenerator.java,
358         java/security/KeyStore.java,
359         java/security/MessageDigest.java,
360         java/security/MessageDigestSpi.java,
361         java/security/Policy.java,
362         java/security/SecureRandom.java,
363         java/security/Security.java,
364         java/security/Signature.java,
365         java/security/SignatureSpi.java,
366         java/security/cert/CertPathBuilder.java,
367         java/security/cert/CertPathValidator.java,
368         java/security/cert/CertStore.java,
369         java/security/cert/Certificate.java,
370         java/security/cert/CertificateFactory.java,
371         java/security/cert/PolicyQualifierInfo.java,
372         java/security/cert/TrustAnchor.java,
373         java/security/cert/X509CRL.java,
374         java/security/cert/X509CRLEntry.java,
375         java/security/cert/X509Certificate.java,
376         java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
377         Import statements reorganized, some little formatting issues,
378         used java-style array declarations, added comments in empty catch
379         blocks.
380
381 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
382
383         * java/security/Security.java
384         (static): Use AccessController.doPrivileged to get system property.
385
386 2004-10-18  Sven de Marothy  <sven@physto.se>
387
388         * java/nio/ByteBufferHelper.java
389         (putDouble): Use Double.toRawLongBits instead.
390
391 2004-10-18  Mark Wielaard  <mark@klomp.org>
392         Andrew Haley  <aph@redhat.com>
393
394         * testsuite/libjava.lang/ExtraClassLoader.java: New.
395
396 2004-10-18  Andrew Haley  <aph@redhat.com>
397
398         PR java/18036:
399         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
400         and correct logic used to find interpreter.
401         
402 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
403
404         * java/util/logging/LogManager.java
405         (findAncestor): Fixed IndexOutOfBoundsException.
406
407 2004-10-18  Michael Koch  <konqueror@gmx.de>
408
409         * java/io/BufferedInputStream.java: Fixed @author tag.
410         (read): Simplified expression.
411         (read): Merged javadoc a bit more.
412         (read): Renamed 'remain' to 'totalBytesRead'.
413         * java/io/DataInputStream.java,
414         java/io/DataOutputStream.java,
415         java/io/ObjectInputStream.java,
416         java/io/ObjectOutputStream.java:
417         Reworked modifier order.
418
419 2004-10-18  Michael Koch  <konqueror@gmx.de>
420
421         * java/net/Inet4Address.java: Merged file header and javadocs.
422         * java/net/Inet6Address.java: Likewise.
423         * java/net/InetAddress.java
424         (getCanonicalHostName): Create Inet4Address object instead of
425         InetAddress and add comment regarding IPv6.
426         (toString): Simplified.
427
428 2004-10-18  Michael Koch  <konqueror@gmx.de>
429
430         * gnu/java/net/protocol/http/Connection.java,
431         java/nio/MappedByteBufferImpl.java,
432         java/text/RuleBasedCollator.java,
433         java/util/ResourceBundle.java:
434         Reworked import statements.
435
436 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
437
438         * java/security/IdentityScope.java
439         (systemScope): Removed useless initializer.
440         * java/security/Policy.java
441         (currentPolicy): Likewise.
442
443 2004-10-18  Michael Koch  <konqueror@gmx.de>
444
445         * java/lang/System.java: Revert accidential change.
446
447 2004-10-18  Michael Koch  <konqueror@gmx.de>
448
449         * java/lang/Math.java,
450         java/lang/Package.java,
451         java/lang/Runtime.java,
452         java/lang/StrictMath.java,
453         java/lang/System.java,
454         java/lang/Thread.java,
455         java/lang/ThreadLocal.java,
456         java/lang/Void.java:
457         Reworked import statements, HTML in javadocs and modifier orders.
458
459 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
460
461         * java/util/Timer.java
462         (nr): Removed useless initializer.
463         * java/util/logging/LogRecord.java
464         (lastSeqNum): Likewise.
465         * javax/naming/spi/NamingManager.java
466         (icfb, ofb): Likewise.
467
468 2004-10-18  Michael Koch  <konqueror@gmx.de>
469
470         * gnu/java/net/PlainDatagramSocketImpl.java:
471         Reworked import statements.
472         * gnu/java/security/provider/DSAParameters.java:
473         Fixed copyrigth years.
474         * java/net/JarURLConnection.java:
475         Fixed HTML in @author tags.
476         
477
478 2004-10-18  Michael Koch  <konqueror@gmx.de>
479
480         * java/rmi/activation/ActivationSystem.java
481         (SYSTEM_PORT): Initialize with correct port number.
482
483 2004-10-18  Michael Koch  <konqueror@gmx.de>
484
485         * java/lang/reflect/Proxy.java: Improved javadocs.
486
487 2004-10-18  Michael Koch  <konqueror@gmx.de>
488
489         * java/lang/reflect/AccessibleObject.java
490         (checkPermission): Removed redundant final modifier.
491         (secureSetAccessible): Likewise.
492         * java/lang/reflect/Proxy.java:
493         Reworked import statements.
494         (generate): Removed redundant final modifier.
495         * java/lang/reflect/ReflectPermission.java:
496         Reorder package declaration and import statement.
497
498 2004-10-18  Jeroen Frijters  <jeroen@frijters.net>
499
500         * java/lang/reflect/Proxy.java
501         (count): Removed useless initializer.
502
503 2004-10-17  Michael Koch  <konqueror@gmx.de>
504
505         * java/net/BindException.java,
506         java/net/ConnectException.java,
507         java/net/ContentHandler.java,
508         java/net/ContentHandlerFactory.java,
509         java/net/DatagramPacket.java,
510         java/net/DatagramSocket.java,
511         java/net/DatagramSocketImpl.java,
512         java/net/DatagramSocketImplFactory.java,
513         java/net/FileNameMap.java,
514         java/net/HttpURLConnection.java,
515         java/net/MalformedURLException.java,
516         java/net/MulticastSocket.java,
517         java/net/NetworkInterface.java,
518         java/net/NoRouteToHostException.java,
519         java/net/PasswordAuthentication.java,
520         java/net/PortUnreachableException.java,
521         java/net/ProtocolException.java,
522         java/net/ServerSocket.java,
523         java/net/Socket.java,
524         java/net/SocketException.java,
525         java/net/SocketImpl.java,
526         java/net/SocketImplFactory.java,
527         java/net/SocketOptions.java,
528         java/net/SocketPermission.java,
529         java/net/SocketTimeoutException.java,
530         java/net/URI.java,
531         java/net/URISyntaxException.java,
532         java/net/URL.java,
533         java/net/URLDecoder.java,
534         java/net/URLEncoder.java,
535         java/net/URLStreamHandler.java,
536         java/net/URLStreamHandlerFactory.java,
537         java/net/UnknownHostException.java,
538         java/net/UnknownServiceException.java:
539         Big import statement and @author tag cleanup.
540
541 2004-10-17  Michael Koch  <konqueror@gmx.de>
542
543         * gnu/java/security/OID.java,
544         gnu/java/security/provider/DSAParameters.java,
545         gnu/java/security/provider/DSASignature.java,
546         gnu/java/security/x509/X500DistinguishedName.java,
547         gnu/java/security/x509/X509CRL.java:
548         Import statements cleaned up.
549
550 2004-10-16  Michael Koch  <konqueror@gmx.de>
551
552         * gnu/java/nio/NIODatagramSocket.java,
553         gnu/java/nio/ServerSocketChannelImpl.java:
554         Reorganized import statements.
555
556 2004-10-16  Michael Koch  <konqueror@gmx.de>
557
558         * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
559         gnu/java/rmi/rmic/RMIC.java,
560         gnu/java/rmi/server/RMIHashes.java,
561         gnu/java/rmi/server/RMIObjectInputStream.java,
562         gnu/java/rmi/server/RMIObjectOutputStream.java,
563         gnu/java/rmi/server/UnicastConnection.java,
564         gnu/java/rmi/server/UnicastConnectionManager.java,
565         gnu/java/rmi/server/UnicastRemoteCall.java,
566         gnu/java/rmi/server/UnicastServer.java,
567         gnu/java/rmi/server/UnicastServerRef.java,
568         java/rmi/MarshalledObject.java,
569         java/rmi/Naming.java,
570         java/rmi/RMISecurityManager.java,
571         java/rmi/Remote.java,
572         java/rmi/activation/Activatable.java,
573         java/rmi/activation/ActivationDesc.java,
574         java/rmi/activation/ActivationGroup.java,
575         java/rmi/activation/ActivationGroupDesc.java,
576         java/rmi/activation/ActivationGroupID.java,
577         java/rmi/activation/ActivationID.java,
578         java/rmi/activation/ActivationInstantiator.java,
579         java/rmi/activation/ActivationMonitor.java,
580         java/rmi/activation/ActivationSystem.java,
581         java/rmi/activation/Activator.java,
582         java/rmi/dgc/DGC.java,
583         java/rmi/dgc/Lease.java,
584         java/rmi/dgc/VMID.java,
585         java/rmi/registry/LocateRegistry.java,
586         java/rmi/registry/Registry.java,
587         java/rmi/registry/RegistryHandler.java,
588         java/rmi/server/LoaderHandler.java,
589         java/rmi/server/LogStream.java,
590         java/rmi/server/ObjID.java,
591         java/rmi/server/Operation.java,
592         java/rmi/server/RMIClassLoader.java,
593         java/rmi/server/RMIClassLoaderSpi.java,
594         java/rmi/server/RMIClientSocketFactory.java,
595         java/rmi/server/RMIFailureHandler.java,
596         java/rmi/server/RMIServerSocketFactory.java,
597         java/rmi/server/RMISocketFactory.java,
598         java/rmi/server/RemoteCall.java,
599         java/rmi/server/RemoteObject.java,
600         java/rmi/server/RemoteRef.java,
601         java/rmi/server/RemoteServer.java,
602         java/rmi/server/RemoteStub.java,
603         java/rmi/server/ServerRef.java,
604         java/rmi/server/Skeleton.java,
605         java/rmi/server/SkeletonMismatchException.java,
606         java/rmi/server/UID.java,
607         java/rmi/server/UnicastRemoteObject.java,
608         java/rmi/server/Unreferenced.java:
609         File headers and import statements cleaned up.
610
611 2004-10-16  Michael Koch  <konqueror@gmx.de>
612
613         * libjava/gnu/java/nio/charset/UTF_16.java,
614         libjava/gnu/java/nio/charset/UTF_16BE.java,
615         libjava/gnu/java/nio/charset/UTF_16LE.java,
616         libjava/java/nio/ByteOrder.java,
617         libjava/java/nio/MappedByteBuffer.java,
618         libjava/java/nio/channels/Channels.java,
619         libjava/java/nio/channels/spi/SelectorProvider.java,
620         libjava/java/nio/charset/Charset.java:
621         Cleanup.
622
623 2004-10-16  Michael Koch  <konqueror@gmx.de>
624
625         * gnu/java/nio/charset/UTF_16Encoder.java
626         (UTF_16Encoder): Fixed maxBytesPerChar handling.
627
628 2004-10-16  Michael Koch  <konqueror@gmx.de>
629
630         * java/math/BigDecimal.java, java/math/BigInteger.java:
631         Reorganized import statements, removed redundant and
632         reorganized modifiers.
633
634 2004-10-16  Michael Koch  <konqueror@gmx.de>
635
636         * gnu/java/beans/ExplicitBeanInfo.java:
637         Explicitely import java.awt.Image.
638         (getIcon): Fixed off-by-one error.
639
640 2004-10-15  Andrew Haley  <aph@redhat.com>
641
642         * Makefile.am (nat_files, xlib_nat_files): New.
643         * Makefile.in: Regenerate.
644
645 2004-10-14  Ulrich Weigand  <uweigand@de.ibm.com>
646
647         * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
648         ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
649
650 2004-10-13  Andrew Haley  <aph@redhat.com>
651
652         * interpret.cc (_Jv_InterpMethod::run): Initialize
653         _Jv_StartOfInterpreter.
654         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
655         (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
656         * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
657         _Unwind_FindEnclosingFunction to discover whether PC is within the
658         interpreter.
659
660 2004-10-12  Rutger Ovidius  <ovidr@users.sourceforge.net>
661
662         PR libgcj/17903:
663         * testsuite/libjava.lang/md5test.java: New file.
664         * testsuite/libjava.lang/md5test.out: Likewise.
665         * testsuite/libjava.lang/shatest.java: Likewise.
666         * testsuite/libjava.lang/shatest.out: Likewise.
667
668 2004-10-11  Richard Henderson  <rth@redhat.com>
669
670         * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
671         (_Jv_ThreadSelf): Use __builtin_thread_pointer.
672
673 2004-10-08  Bryce McKinlay  <mckinlay@redhat.com>
674
675         * java/util/Calendar.java (set): Invalidate DST_OFFSET
676         field as a DST boundary may have been crossed.
677         * java/util/GregorianCalendar.java (add): Throw 
678         IllegalArgumentException on attempt to add to DST_OFFSET or 
679         ZONE_OFFSET fields. Update javadoc.
680
681 2004-10-09  Michael Koch  <konqueror@gmx.de>
682
683         * java/io/CharArrayWriter.java
684         (resize): Removed redundant 'final' modifier.
685         * java/io/DataInputStream.java
686         (readFully): Throw IndexOutOfBoundsException of len < 0.
687         * java/io/FileDescriptor.java,
688         java/io/FileInputStream.java,
689         java/io/FileOutputStream.java,
690         java/io/ObjectOutputStream.java,
691         java/io/ObjectStreamClass.java,
692         java/io/PipedInputStream.java,
693         java/io/RandomAccessFile.java:
694         Reorganized import statements.
695
696 2004-10-09  Michael Koch  <konqueror@gmx.de>
697
698         * gnu/java/rmi/rmic/RMIC.java,
699         gnu/java/rmi/server/RMIHashes.java,
700         gnu/java/rmi/server/RMIObjectInputStream.java,
701         gnu/java/rmi/server/UnicastConnection.java,
702         gnu/java/rmi/server/UnicastConnectionManager.java,
703         gnu/java/rmi/server/UnicastRemoteCall.java,
704         gnu/java/rmi/server/UnicastServerRef.java:
705         Reworked import statements and fixed file headers.
706
707 2004-10-04  Loren J. Rittle  <ljrittle@acm.org>
708
709         * configure.ac (*-*-freebsd[[1234]]*): Refine error message
710         emission rule.
711         * configure: Rebuilt.
712
713 2004-09-30  Tom Tromey  <tromey@redhat.com>
714
715         * java/text/MessageFormat.java (Field): Constructor now
716         protected.
717
718 2004-09-30  Tom Tromey  <tromey@redhat.com>
719
720         * javax/crypto/MacSpi.java: Fixed typo.
721
722 2004-09-30  Michael Koch  <konqueror@gmx.de>
723
724         * java/net/InetAddress.java: Reformatted.
725         (loopback): Initialize with Inet4Address object.
726         (static): Initialize ANY_IF with Inet4Address object.
727         (InetAddress): Removed unused package-private constructor.
728
729 2004-09-30  Michael Koch  <konqueror@gmx.de>
730
731         * java/beans/Beans.java,
732         java/beans/EventHandler.java,
733         java/beans/EventSetDescriptor.java,
734         java/beans/Introspector.java,
735         java/beans/PropertyEditorManager.java,
736         java/beans/beancontext/BeanContext.java,
737         java/beans/beancontext/BeanContextChild.java,
738         java/beans/beancontext/BeanContextChildSupport.java,
739         java/beans/beancontext/BeanContextMembershipEvent.java:
740         Reordered import statements and removed redundant modifiers.
741
742 2004-09-29  Tom Tromey  <tromey@redhat.com>
743
744         PR libgcj/17715:
745         * Makefile.in: Rebuilt.
746         * Makefile.am (libgcj-@gcc_version@.jar): Include properties
747         files.
748         (all_property_files): New macro.
749
750         * Makefile.in: Rebuilt.
751         * Makefile.am (ordinary_java_source_files): Re-sorted.
752         (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
753
754 2004-09-28  Tom Tromey  <tromey@redhat.com>
755
756         * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
757
758         PR libgcj/17222:
759         * Makefile.am (libgcj.la): Restored.
760         * Makefile.in: Rebuilt.
761
762 2004-09-28  Michael Koch  <konqueror@gmx.de>
763
764         * java/net/URLConnection.java: Reformatted.
765         * java/net/URLClassLoader.java: Reformatted.
766         (getContent): Reordered return of content.
767         (getContentHandler): Don't check for null explicitely.
768
769 2004-09-27  Michael Koch  <konqueror@gmx.de>
770
771         * java/io/BufferedInputStream.java
772         (BufferedInputStream): Added Jeroen Frijters to authors.
773         (count): Don't explicitely initialize with default value.
774         (pos): Likewise.
775         (marklimit): Likewise.
776         (read): Changed boolean expression to match GNU classpath' version.
777         (reset): Add proper message to exception.
778         (skip): Check for closed stream.
779         (refill): Likewise.
780
781 2004-09-26  Per Bothner  <per@bothner.com>
782
783         * prims.cc (unblock_signal): Annotate signum with __unused__ to
784         avoid warnings in the non-POSIX_VERSION case.
785         Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
786         so place it inside an #if block.
787         * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
788         * include/i386-signal.h (SIGNAL_HANDLER):  Likewise
789         * include/mips-signal.h (SIGNAL_HANDLER):  Likewise
790         * include/sparc-signal.h (SIGNAL_HANDLER):  Likewise
791
792 2004-09-26  Per Bothner  <per@bothner.com>
793
794         * prims.cc (process_gcj_properties):  Optimization.
795
796 2004-09-26  Per Bothner  <per@bothner.com>
797
798         * java/util/Collections.java (sort):  Copy from array in forwards
799         order, rather than reverse order which may be much less efficient.
800
801 2004-09-26  Mark Wielaard  <mark@klomp.org>
802
803         * java/lang/System.java (properties): Make package private.
804         * java/lang/Throwable.java (StaticData.nl): Initialize through
805         directly accessing System.properties.getProperty().
806
807         * java/lang/Throwable.java (nl): Remove static field.
808         (StaticData): New private static inner class.
809         (stackTraceStringBuffer): Use StaticData.nl.
810
811 2004-09-26  Casey Marshall <csm@gnu.org>
812
813         * java/security/ProtectionDomain.java
814         (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
815         `true'.
816
817         * java/security/SecureClassLoader.java
818         (defineClass): make protection domain dynamically bound.
819         (getPermissions): call `getCurrentPolicy' to avoid permission
820         check.
821
822 2004-09-25  Mark Wielaard  <mark@klomp.org>
823
824         * Makefile.am (core_java_source_files): Add VMTimeZone.java.
825         (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
826         * Makefile.in: Regenerated.
827
828         * gcj/javaprims.h: Regenerated.
829
830         * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
831         (getDefaultTimeZone): Make package private. Check that GMToffset
832         contains at least one digit.
833         (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
834         VMTimeZone.
835         * util/VMTimeZone.java: New file with above methods.
836
837         * java/util/natTimeZone.cc: Removed (renamed).
838         * java/util/natVMTimeZone.cc: Added (renamed).
839
840 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
841
842         * java/util/TimeZone.java
843         (getDefaultTimeZone): Fixed test to distinguish between hours and
844         minutes in specified timezone.
845
846 2004-09-25  Jeroen Frijters  <jeroen@frijters.net>
847
848         * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
849         handling of default package. (generate): Removed confused comments
850         and code about making Method and Field accessible.
851
852 2004-09-25  Tom Tromey  <tromey@redhat.com>
853
854         PR java/17500:
855         * testsuite/libjava.compile/pr17500.java: New file.
856
857 2004-09-25  Shashank Bapat  <shashankbapat@yahoo.com>
858             Mark Wielaard  <mark@klomp.org>
859
860         * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
861         * gnu/regexp/RETokenLookAhead.java: New file.
862
863         * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
864         * Makefile.in: Regenerated.
865
866 2004-09-25  Michael Koch  <konqueror@gmx.de>
867
868         * java/io/ObjectStreamField.java:
869         Removed unused import statement.
870
871 2004-09-24  Tom Tromey  <tromey@redhat.com>
872
873         PR java/15656:
874         * testsuite/libjava.compile/pr15656.xfail: New file.
875         * testsuite/libjava.compile/pr15656.java: new file.
876
877         PR java/16789:
878         * testsuite/libjava.lang/pr16789.out: New file.
879         * testsuite/libjava.lang/pr16789.java: New file.
880
881 2004-09-24  Andrew Haley  <aph@redhat.com>
882
883         PR java/16927
884         * testsuite/libjava.compile/AssertBug.java: New file.
885
886 2004-09-24  Casey Marshall <csm@gnu.org>
887
888         * java/util/PropertyPermissionCollection.java
889         (implies): avoid infinite loop.
890
891 2004-09-24  Andrew John Hughes  <gnu_andrew@member.fsf.org>
892
893         * javax/security/auth/PrivateCredentialPermission.java
894         (PrivateCredentialPermission): added serialization UID
895
896
897 2004-09-24  Ilya Perminov  <iperminov@logicalsoft.com>
898
899         * gnu/java/rmi/server/UnicastServer.java
900         (incomingMessageCall): Added code to handle Errors.
901         * gnu/java/rmi/server/UnicastServerRef.java
902         (incomingMessageCall): Added code to handle Errors.
903
904
905 2004-09-24  Tom Tromey  <tromey@redhat.com>
906
907         * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
908         (definedPackages): Likewise.
909
910 2004-09-24  Michael Koch  <konqueror@gmx.de>
911
912         * java/io/ObjectInputStream.java:
913         Re-ordered imports.
914
915 2004-09-24  Casey Marshall <csm@gnu.org>
916
917         * java/io/ObjectInputStream.java (callReadMethod): re-throw
918         `ClassNotFoundException'.
919
920 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
921
922         * java/io/ObjectInputStream.java (readObject): Delegate instantation
923         of Externalizable classes to ObjectStreamClass.
924         * java/io/ObjectStreamClass.java (newInstance): New method to
925         instantiate Externalizable (while ignoring the accessibility of
926         the constructor). (constructor): New field to cache the constructor.
927
928 2004-09-24  Mark Wielaard  <mark@klomp.org>
929
930         * java/net/URL.java (systemClassLoader): New static field.
931         (getURLStreamHandler): Always use system/application classloader
932         for finding URLStreamhandler. Remove unecessary instanceof checks.
933
934 2004-09-24  Guilhem Lavaux <guilhem@kaffe.org>
935
936         * java/net/URL.java
937         (set): This method now matches the behaviour of the JDK.
938         (DEFAULT_SEARCH_PATH): Added "gnu.inet".
939
940 2004-09-24  Guilhem Lavaux  <guilhem@kaffe.org>
941
942         * java/net/URL.java (URL): Delete whitespaces in the protocol string.
943
944 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
945
946         * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
947         Don't set authority if host isn't specified.
948
949 2004-09-24  Michael Koch  <konqueror@gmx.de>
950
951         * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
952         * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
953         * gnu/java/nio/VMPipe.java,
954         gnu/java/nio/VMSelector.java:
955         New files.
956         * gnu/java/nio/natPipeImplEcos.cc,
957         gnu/java/nio/natPipeImplPosix.cc,
958         gnu/java/nio/natPipeImplWin32.cc:
959         Ported to VMPipe.
960         * gnu/java/nio/natSelectorImplEcos.cc,
961         gnu/java/nio/natSelectorImplPosix.cc,
962         gnu/java/nio/natSelectorImplWin32.cc:
963         Ported to VMSelector.
964         * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
965         gnu/java/nio/VMSelector.java.
966         * Makefile.in: Regenerated.
967
968 2004-09-24  Jeroen Frijters  <jeroen@frijters.net>
969
970         * java/lang/StackTraceElement.java
971         (className): Renamed field to declaringClass to be compatible
972         with Sun serialization format.
973
974 2004-09-23  Michael Koch  <konqueror@gmx.de>
975
976         * java/applet/AppletContext.java,
977         java/applet/Applet.java,
978         java/applet/AppletStub.java,
979         java/applet/AudioClip.java:
980         Jalopied and checkstyle clean.
981
982 2004-09-23  Mark Wielaard  <mark@klomp.org>
983
984         * java/util/Collections.java
985         (binarySearch(List, Object, Comparator)): Explicitly
986         reverse direction in list iterator.
987         (rotate): Just return when list is empty.
988
989 2004-09-23  Tom Tromey  <tromey@redhat.com>
990
991         PR java/17329:
992         * testsuite/libjava.compile/pr17329.java: New file.
993
994         PR java/17380:
995         * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
996         9.2-implicit-7.
997
998 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
999
1000         * Makefile.am: Run aclocal with -I ../config
1001         * acinclude.m4: Delete macros picked up from ../config and tidy.
1002         (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
1003         * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
1004         * include/Makefile.in, testsuite/Makefile.in: Regenerate.
1005
1006 2004-09-22  Kelley Cook  <kcook@gcc.gnu.org>
1007
1008         * aclocal.m4: Regenerate with aclocal 1.9.2.
1009         * configure: Regenerate.
1010         * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
1011         * include/Makefile.in, testsuite/Makefile.in: Likewise.
1012
1013 2004-09-22  David Daney  <ddaney@avtrex.com>
1014
1015         PR libgcj/17623
1016         * java/net/URL.java (URL): Copy userInfo from context.
1017         (getUserInfo): Return cached userInfo if present.
1018
1019 2004-09-22  Tom Tromey  <tromey@redhat.com>
1020
1021         PR libgcj/6182:
1022         * mauve-libgcj: Enable java.lang.Character tests.
1023
1024 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1025
1026         * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
1027         dependencies.
1028         (lib_org_ietf_jgss_la_LIBADD): Likewise.
1029         * Makefile.in: Regenerated.
1030
1031 2004-09-22  Andreas Tobler  <a.tobler@schweiz.ch>
1032
1033         * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
1034         * configure: Regenerate.
1035         * include/config.h.in: Likewise.
1036         * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
1037         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
1038         macro to gtkpeer.h.
1039         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1040         (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
1041         pixels from  0xBBGGRRAA to 0xAARRGGBB only on Little Endian
1042         architectures.
1043         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
1044         Likewise.
1045
1046 2004-09-22  Tom Tromey  <tromey@redhat.com>
1047
1048         PR libgcj/14446:
1049         * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
1050         when comparing CRCs.
1051         * java/util/zip/InflaterInputStream.java (onebytebuffer): New
1052         field.
1053         (read()): New overload.
1054
1055 2004-09-21  Tom Tromey  <tromey@redhat.com>
1056
1057         * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
1058         Indentation fix.
1059
1060 2004-09-21  Michael Koch  <konqueror@gmx.de>
1061
1062         * java/net/Socket.java
1063         (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
1064
1065 2004-09-21  Casey Marshall  <csm@gnu.org>
1066
1067         * javax/crypto/MacSpi.java (clone): Provide meaningful
1068         implementation.
1069
1070 2004-09-21  Tom Tromey  <tromey@redhat.com>
1071
1072         PR libgcj/16869:
1073         * Makefile.in: Rebuilt.
1074         * Makefile.am (MOSTLYCLEANFILES): Removed.
1075         (mostlyclean-local): Remove header files.
1076
1077 2004-09-21  Casey Marshall  <csm@gnu.org>
1078
1079         * java/security/cert/X509CRLSelector.java:
1080         (match): remove unreachable try-catch clauses.
1081         Reported by: Dalibor Topic <robilad@kaffe.org>
1082
1083 2004-09-21  Mark Wielaard  <mark@klomp.org>
1084
1085         * java/util/TreeMap.java (root): Don't initialize.
1086         (TreeMap(Comparator)): Call fabricateTree(0).
1087         (fabricateTree): Initialize root and size when count is 0.
1088
1089 2004-09-21  Sven de Marothy <sven@physto.se>
1090
1091         * java/nio/ByteBuffer.java (hashCode): Implemented.
1092         * java/nio/CharBuffer.java: Likewise.
1093         * java/nio/DoubleBuffer.java: Likewise.
1094         * java/nio/FloatBuffer.java: Likewise.
1095         * java/nio/LongBuffer.java: Likewise.
1096         * java/nio/IntBuffer.java: Likewise.
1097         * java/nio/ShortBuffer.java: Likewise.
1098
1099 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1100
1101         * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
1102
1103 2004-09-21  Michael Koch  <konqueror@gmx.de>
1104
1105         * javax/net/ssl/SSLServerSocket.java:
1106         Removed comment about "Do not edit this file, it's generated.".
1107
1108 2004-09-21  Andreas Tobler  <a.tobler@schweiz.ch>
1109
1110         Import the big Crypto/Jessie/Security merge from Classpath.
1111
1112         * Makefile.am: Add imported files.
1113         * Makefile.in: Regenerate.
1114
1115         2004-08-14  Casey Marshall <csm@gnu.org>
1116
1117         The Big Crypto Merge of 2004.
1118
1119         * javax/security/auth/x500/X500Principal.java: Replaced with GNU
1120         Crypto's version.
1121
1122         Files imported from GNU Crypto.
1123         * javax/crypto/BadPaddingException.java
1124         * javax/crypto/Cipher.java
1125         * javax/crypto/CipherInputStream.java
1126         * javax/crypto/CipherOutputStream.java
1127         * javax/crypto/CipherSpi.java
1128         * javax/crypto/EncryptedPrivateKeyInfo.java
1129         * javax/crypto/ExemptionMechanism.java
1130         * javax/crypto/ExemptionMechanismException.java
1131         * javax/crypto/ExemptionMechanismSpi.java
1132         * javax/crypto/IllegalBlockSizeException.java
1133         * javax/crypto/KeyAgreement.java
1134         * javax/crypto/KeyAgreementSpi.java
1135         * javax/crypto/KeyGenerator.java
1136         * javax/crypto/KeyGeneratorSpi.java
1137         * javax/crypto/Mac.java
1138         * javax/crypto/MacSpi.java
1139         * javax/crypto/Makefile.am
1140         * javax/crypto/NoSuchPaddingException.java
1141         * javax/crypto/NullCipher.java
1142         * javax/crypto/NullCipherImpl.java
1143         * javax/crypto/SealedObject.java
1144         * javax/crypto/SecretKey.java
1145         * javax/crypto/SecretKeyFactory.java
1146         * javax/crypto/SecretKeyFactorySpi.java
1147         * javax/crypto/ShortBufferException.java
1148         * javax/crypto/interfaces/DHKey.java
1149         * javax/crypto/interfaces/DHPrivateKey.java
1150         * javax/crypto/interfaces/DHPublicKey.java
1151         * javax/crypto/interfaces/PBEKey.java
1152         * javax/crypto/spec/DESKeySpec.java
1153         * javax/crypto/spec/DESedeKeySpec.java
1154         * javax/crypto/spec/DHGenParameterSpec.java
1155         * javax/crypto/spec/DHParameterSpec.java
1156         * javax/crypto/spec/DHPrivateKeySpec.java
1157         * javax/crypto/spec/DHPublicKeySpec.java
1158         * javax/crypto/spec/IvParameterSpec.java
1159         * javax/crypto/spec/PBEKeySpec.java
1160         * javax/crypto/spec/PBEParameterSpec.java
1161         * javax/crypto/spec/RC2ParameterSpec.java
1162         * javax/crypto/spec/RC5ParameterSpec.java
1163         * javax/crypto/spec/SecretKeySpec.java
1164         * javax/security/auth/AuthPermission.java
1165         * javax/security/auth/DestroyFailedException.java
1166         * javax/security/auth/Destroyable.java
1167         * javax/security/auth/Policy.java
1168         * javax/security/auth/PrivateCredentialPermission.java
1169         * javax/security/auth/RefreshFailedException.java
1170         * javax/security/auth/Refreshable.java
1171         * javax/security/auth/Subject.java
1172         * javax/security/auth/SubjectDomainCombiner.java
1173         * javax/security/auth/callback/Callback.java
1174         * javax/security/auth/callback/CallbackHandler.java
1175         * javax/security/auth/callback/ChoiceCallback.java
1176         * javax/security/auth/callback/ConfirmationCallback.java
1177         * javax/security/auth/callback/LanguageCallback.java
1178         * javax/security/auth/callback/NameCallback.java
1179         * javax/security/auth/callback/PasswordCallback.java
1180         * javax/security/auth/callback/TextInputCallback.java
1181         * javax/security/auth/callback/TextOutputCallback.java
1182         * javax/security/auth/callback/UnsupportedCallbackException.java
1183         * javax/security/auth/login/AccountExpiredException.java
1184         * javax/security/auth/login/AppConfigurationEntry.java
1185         * javax/security/auth/login/Configuration.java
1186         * javax/security/auth/login/CredentialExpiredException.java
1187         * javax/security/auth/login/FailedLoginException.java
1188         * javax/security/auth/login/LoginContext.java
1189         * javax/security/auth/login/LoginException.java
1190         * javax/security/auth/login/NullConfiguration.java
1191         * javax/security/auth/x500/X500PrivateCredential.java
1192         * javax/security/sasl/AuthenticationException.java
1193         * javax/security/sasl/AuthorizeCallback.java
1194         * javax/security/sasl/RealmCallback.java
1195         * javax/security/sasl/RealmChoiceCallback.java
1196         * javax/security/sasl/Sasl.java
1197         * javax/security/sasl/SaslClient.java
1198         * javax/security/sasl/SaslClientFactory.java
1199         * javax/security/sasl/SaslException.java
1200         * javax/security/sasl/SaslServer.java
1201         * javax/security/sasl/SaslServerFactory.java
1202         * org/ietf/jgss/ChannelBinding.java
1203         * org/ietf/jgss/GSSContext.java
1204         * org/ietf/jgss/GSSCredential.java
1205         * org/ietf/jgss/GSSException.java
1206         * org/ietf/jgss/GSSManager.java
1207         * org/ietf/jgss/GSSName.java
1208         * org/ietf/jgss/MessageProp.java
1209         * org/ietf/jgss/Oid.java
1210         * org/ietf/jgss/MessagesBundle.properties
1211
1212         Files imported from Jessie <http://www.nongnu.org/jessie/>
1213         * javax/net/ServerSocketFactory.java
1214         * javax/net/SocketFactory.java
1215         * javax/net/VanillaServerSocketFactory.java
1216         * javax/net/VanillaSocketFactory.java
1217         * javax/net/ssl/HandshakeCompletedEvent.java
1218         * javax/net/ssl/HandshakeCompletedListener.java
1219         * javax/net/ssl/HostnameVerifier.java
1220         * javax/net/ssl/HttpsURLConnection.java
1221         * javax/net/ssl/KeyManager.java
1222         * javax/net/ssl/KeyManagerFactory.java
1223         * javax/net/ssl/KeyManagerFactorySpi.java
1224         * javax/net/ssl/ManagerFactoryParameters.java
1225         * javax/net/ssl/SSLContext.java
1226         * javax/net/ssl/SSLContextSpi.java
1227         * javax/net/ssl/SSLException.java
1228         * javax/net/ssl/SSLHandshakeException.java
1229         * javax/net/ssl/SSLKeyException.java
1230         * javax/net/ssl/SSLPeerUnverifiedException.java
1231         * javax/net/ssl/SSLPermission.java
1232         * javax/net/ssl/SSLProtocolException.java
1233         * javax/net/ssl/SSLServerSocket.java
1234         * javax/net/ssl/SSLServerSocketFactory.java
1235         * javax/net/ssl/SSLSession.java
1236         * javax/net/ssl/SSLSessionBindingEvent.java
1237         * javax/net/ssl/SSLSessionBindingListener.java
1238         * javax/net/ssl/SSLSessionContext.java
1239         * javax/net/ssl/SSLSocket.java
1240         * javax/net/ssl/SSLSocketFactory.java
1241         * javax/net/ssl/TrivialHostnameVerifier.java
1242         * javax/net/ssl/TrustManager.java
1243         * javax/net/ssl/TrustManagerFactory.java
1244         * javax/net/ssl/TrustManagerFactorySpi.java
1245         * javax/net/ssl/X509KeyManager.java
1246         * javax/net/ssl/X509TrustManager.java
1247         * javax/security/cert/Certificate.java
1248         * javax/security/cert/CertificateEncodingException.java
1249         * javax/security/cert/CertificateException.java
1250         * javax/security/cert/CertificateExpiredException.java
1251         * javax/security/cert/CertificateNotYetValidException.java
1252         * javax/security/cert/CertificateParsingException.java
1253         * javax/security/cert/X509CertBridge.java
1254         * javax/security/cert/X509Certificate.java
1255
1256         2004-08-20  Casey Marshall  <csm@gnu.org>
1257
1258         * java/security/cert/X509CRLSelector.java: New file.
1259         * java/security/cert/X509CertSelector.java: New file.
1260
1261 2004-09-15  Michael Koch  <konqueror@gmx.de>
1262
1263         * gnu/java/net/protocol/file/Handler.java
1264         (openConnection): Don't throw exception if host part for file: URI is
1265         present. setURL() keeps file: protocol if ftp: protocol is not
1266         available.
1267
1268 2004-09-14  Richard Henderson  <rth@redhat.com>
1269
1270         * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1271         value of sigsuspend.
1272
1273 2004-09-12  Tom Tromey  <tromey@redhat.com>
1274
1275         * javax/naming/CompoundName.java (CompoundName): Don't check for
1276         separator in "flat" case.
1277
1278 2004-09-12  Michael Koch  <konqueror@gmx.de>
1279
1280         * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1281         AM_CONFIG_HEADER by AC_CONFIG_FILES.
1282         * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1283         Regenerate.
1284
1285 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1286
1287         PR libgcj/14751
1288         * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1289         handle in newly-allocated _Jv_Thread_t.
1290         (_Jv_ThreadDestroyData): Close thread handle.
1291         (_Jv_ThreadStart): Remove obsolete comment.
1292         Store handle of newly-created thread in _Jv_Thread_t.
1293         * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1294         before including <windows.h>
1295         #define _Jv_HaveCondDestroy
1296
1297 2004-09-11  Mohan Embar  <gnustuff@thisiscool.com>
1298
1299         * java/lang/natThread.cc (finalize_native): Destroy
1300         join conditional variable and mutex if these destroy
1301         operations are supported.
1302
1303 2004-09-10  Dalibor Topic <robilad@kaffe.org>
1304
1305         * gnu/java/net/protocol/file/Connection.java (permission): New field.
1306         (DEFAULT_PERMISSION): New constant.
1307         (Connection): Create a FilePermission with permission to read file.
1308
1309 2004-09-10  Michael Koch  <konqueror@gmx.de>
1310
1311         * gnu/java/net/protocol/file/Connection.java
1312         (getLastModified): Moved around.
1313         (getPermission): Return stored permission.
1314
1315 2004-09-10  Michael Koch  <konqueror@gmx.de>
1316
1317         * Makefile.in: Regenerate.
1318
1319 2004-09-10  Michael Koch  <konqueror@gmx.de>
1320
1321         * Makefile.am: Reverted accidently commited stuff.
1322         * configure: Regenerated.
1323
1324 2004-09-10  Michael Koch  <konqueror@gmx.de>
1325
1326         * gnu/java/net/protocol/file/Connection.java
1327         (lineSeparator): Made non-final.
1328         (static): Removed.
1329         (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1330         instead of StringBufferInputStream.
1331
1332 2004-09-10  Michael Koch  <konqueror@gmx.de>
1333
1334         * gnu/java/net/protocol/file/Connection.java
1335         (connect): Handle file is a directory case.
1336
1337 2004-09-10  Michael Koch  <konqueror@gmx.de>
1338
1339         * Makefile.am
1340         (xlib_includes): Removed.
1341         (AM_CPPFLAGS): Renamed from INCLUDES.
1342         (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1343         * Makefile.in: Regenerate.
1344
1345 2004-09-09  Michael Koch  <konqueror@gmx.de>
1346
1347         * java/security/ProtectionDomain.java,
1348         * java/util/PropertyPermissionCollection.java:
1349         Fixed javadocs all over.
1350
1351 2004-09-09  Sven de Marothy  <sven@physto.se>
1352
1353         Patch from David Gilbert <david.gilbert@object-refinery.com>
1354         * java/lang/Comparable.java: Fixed documentation errors.
1355         * java/util/Arrays.java: Likewise.
1356
1357 2004-09-09  Andrew John Hughes  <gnu_andrew@member.fsf.org>
1358
1359         * java/net/Inet4Address.java
1360         (Inet4Address): Added comment to serialization UID.
1361         * java/text/Format.java
1362         (Format): Added comment to serialization UID.
1363
1364 2004-09-09  Michael Koch  <konqueror@gmx.de>
1365
1366         * java/lang/System.java
1367         (err): Fixed javadoci to point to setErr() and not setOut().
1368
1369 2004-09-09  Jeroen Frijters  <jeroen@frijters.net>
1370
1371         (normalizePath): Added special case for windows systems.
1372
1373 2004-09-09  Michael Koch  <konqueror@gmx.de>
1374
1375         * java/io/File.java
1376         (dupSeparator): Made private.
1377         (File(URI)): New constructor.
1378         (getParentFile): Fixed javadoc.
1379         (createTempFile): Reformated.
1380         (setReadOnly): Added comment.
1381         (deleteOnExit): Merged javadoc with classpath version.
1382
1383 2004-09-09  Michael Koch  <konqueror@gmx.de>
1384
1385         * Makefile.am: Don't try to include deps.mk.
1386         * Makefile.in: Regenerated.
1387
1388 2004-09-08  Bryce McKinlay  <mckinlay@redhat.com>
1389
1390         * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1391         .d files.
1392         * configure: Rebuilt.
1393
1394 2004-09-04  Mohan Embar  <gnustuff@thisiscool.com>
1395
1396         * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1397         Changed pfn from static local to local.
1398
1399 2004-09-03  Bryce McKinlay  <mckinlay@redhat.com>
1400             H.J. Lu  <hongjiu.lu@intel.com>
1401
1402         PR libgcj/17290
1403         * Makefile.am (GCJCOMPILE): Remove definition.
1404         (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1405         Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1406         * Makefile.in: Rebuilt.
1407
1408 2004-09-03  Kelley Cook  <kcook@gcc.gnu.org>
1409
1410         * configure.ac (enable-gc-debug): Update help for new syntax.
1411         * configure: Regenerate.
1412
1413 2004-09-03  David Daney  <ddaney@avtrex.com>
1414
1415         * include/mips-signal.h: Update copyright.
1416
1417 2004-09-03  David Daney  <ddaney@avtrex.com>
1418
1419         * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1420         * include/mips-signal.h: Added HANDLE_FPE support.
1421         
1422 2004-08-31  Michael Koch  <konqueror@gmx.de>
1423
1424         * javax/swing/plaf/basic/BasicTextAreaUI.java
1425         (create): New method.
1426         * javax/swing/text/DefaultHighlighter.java
1427         (DefaultHighlightPainter.debugRect): Removed.
1428         * javax/swing/text/StyleContext.java
1429         (DEFAULT_STYLE): New field.
1430
1431 2004-08-31  Michael Koch  <konqueror@gmx.de>
1432
1433         * javax/swing/plaf/basic/BasicLookAndFeel.java
1434         (initComponentDefaults): Add keybindings for selection.backward and
1435         selection-forward for text components.
1436         * javax/swing/plaf/basic/BasicTextUI.java
1437         (paintSafely): Paint highlight only when something is actually
1438         selected.
1439         * javax/swing/text/DefaultCaret.java
1440         (handleHighlight): New method.
1441         (setSelectionVisible): Don't do anything when nothing changes.
1442         Handle highlight.
1443         (moveDot): Reimplemented. Handle highlight.
1444         (setDot): Set mark too. Handle highlight.
1445         (getSelectionPainter): New method.
1446         * javax/swing/text/DefaultEditorKit.java
1447         (defaultActions): Added new actions for text selection.
1448         * javax/swing/text/DefaultHighlighter.java
1449         (DefaultHighlightPainter): New inner class.
1450         (DefaultPainter): New field.
1451         (paint): Implemented.
1452         * javax/swing/text/PlainView.java
1453         (paint): Don't draw background here again.
1454         * javax/swing/text/Utilities.java
1455         (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1456         (drawTabbedText): Likewise.
1457
1458 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1459
1460         * javax/swing/JComponent.java
1461         (resetKeyboardActions): Add null checks.
1462
1463 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1464
1465         * javax/swing/DefaultButtonModel.java:
1466         Skip group notification when no group is set.
1467
1468 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1469
1470         * javax/swing/JColorChooser.java: 
1471         Make a couple inner classes static, for jikes.
1472
1473 2004-08-31  Michael Koch  <konqueror@gmx.de>
1474
1475         * javax/swing/plaf/basic/BasicTextUI.java
1476         (RottView.modelToView): New method.
1477         (UpdateHandler): Renamed from EventHandler.
1478         (updateHandler): Renamed from eventHandler.
1479         (modelToView): Implemented.
1480         * javax/swing/text/AbstractDocument.java
1481         (BranchElement.getElement): Return null for non-existing indeces.
1482         (BranchElement.getElementIndex): Return 0 in some corner cases.
1483         * javax/swing/text/FieldView.java
1484         (modelToView): New method.
1485         * javax/swing/text/PlainView.java
1486         (modelToView): Made public.
1487
1488 2004-08-31  Kim Ho  <kho@redhat.com>
1489
1490         * Makefile.am: New files.
1491         * Makefile.in: Regenerate.
1492         * gcj/Makefile.in: Regenerate.
1493         * include/Makefile.in: Regenerate.
1494         * java/awt/Color.java: Fix documentation.
1495         (RGBtoHSB): Use floats for conversions.
1496         * javax/swing/ButtonGroup.java: Run Jalopy.
1497         (setSelected): Reimplement.
1498         * javax/swing/DefaultButtonModel.java: Run Jalopy.
1499         (changeState): Let ButtonGroup know that the button 
1500         is changing state.
1501         * javax/swing/JColorChooser.java: Implement.
1502         * javax/swing/JLabel.java: Run Jalopy.
1503         * javax/swing/JSpinner.java: Run Jalopy.
1504         (setValue): New method.
1505         * javax/swing/JTabbedPane.java: Run Jalopy.
1506         (removeTabAt): Call correct remove method.
1507         * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1508         (getPreviousValue): Compare minimum value.
1509         * javax/swing/Timer.java: Run Jalopy.
1510         (run): Comment out println.
1511         * javax/swing/ToolTipManager.java:
1512         (mouseMoved): Get new tooltip text for location.
1513         * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1514         Jalopy and Javadoc.
1515         * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1516         Implement.
1517         * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1518         Run Jalopy.
1519         (setSelectedColor): Fire ChangeEvent.
1520         * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1521         New file. Implement.
1522         * javax/swing/colorchooser/DefaultPreviewPanel.java:
1523         Ditto.
1524         * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1525         Ditto.
1526         * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1527         Ditto.
1528         * javax/swing/plaf/basic/BasicArrowButton.java:
1529         (getArrow): Fix size of upward pointing button.
1530         * javax/swing/plaf/basic/BasicColorChooserUI.java:
1531         Implement.
1532         * javax/swing/plaf/basic/BasicSliderUI.java:
1533         (getWidthOfWidestLabel): Use preferred dimensions.
1534         (getHeightOfTallestLabel): Ditto.
1535         * javax/swing/plaf/basic/BasicSpinnerUI.java:
1536         Run Jalopy.
1537         (mousePressed): Disable changes to spinner if it is not enabled.
1538         * testsuite/Makefile.in: Regenerate.
1539
1540
1541 2004-08-31  Michael Koch  <konqueror@gmx.de>
1542
1543         * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1544         javax/swing/plaf/basic/BasicTableUI.java:
1545         Added copyright notice.
1546
1547 2004-08-31  Olga Rodimina  <rodimina@redhat.com>
1548
1549         * Makefile.am: Added new files.
1550         * Makefile.in: Regenerate.
1551         * javax/swing/ComboBoxEditor.java: Added javadocs.
1552         * javax/swing/ComboBoxModel.java: Likewise.
1553         * javax/swing/DefaultComboBoxModel.java: Implemented.
1554         * javax/swing/DefaultListCellRenderer.java: Added javadocs
1555         and ran through jalopy to fix formatting style.
1556         (getListCellRendererComponent): Use appropriate border
1557         if renderer has focus and use noFocusBorder when it doesn't.
1558         * javax/swing/JComboBox.java: Implemented.
1559         * javax/swing/JList.java:
1560         (locationToIndex): New Method. Implemented.
1561         (indexToLocation): New Method.
1562         * javax/swing/JPopupMenu.java: 
1563         (visible): New field.
1564         (isVisible): Changed to use new field above.
1565         (setVisible): Likewise.
1566         * javax/swing/MutableComboBoxModel.java: Added javadocs.
1567         * javax/swing/plaf/basic/BasicArrowButton.java: 
1568         (shadow): Changed default color to Color.gray.
1569         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1570         UI delegate for JComboBox.
1571         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1572         Popup menu containing list of JComboBox's items.
1573         * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1574         * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1575         * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1576         * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1577         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1578         (popupMenuWillBecomeVisible): Set selected path to the first
1579         element only if it is of type MenuElement. Also fix formatting
1580         style.
1581         * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1582         methods signatures.
1583         
1584 2004-08-31  Michael Koch  <konqueror@gmx.de>
1585
1586         * javax/swing/text/AbstractDocument.java
1587         (createBranchElement): Use new constructor of BranchElement.
1588         (createLeafElement): Renamed arguments.
1589         (getRootElements): Implemented.
1590         (BranchElement.start): Removed.
1591         (BranchElement.end): Likewise.
1592         (BranchElement.BranchElement): Fixed arguments.
1593         (BranchElement.getEndOffset): Reimplemented.
1594         (BranchElement.getStartOffset): Likewis.
1595         * javax/swing/text/DefaultCaret.java
1596         (paint): Draw simple vertical line as caret instead of a rectangle.
1597         * javax/swing/text/JTextComponent.java
1598         (setText): Use doc directly.
1599         * javax/swing/text/PlainView.java
1600         (nextTabStop): Implemented.
1601         * javax/swing/text/Utilities.java
1602         (drawTabbedText): nextTabStop() returns an absolute x position.
1603         (getTabbedTextWidth): Likewise.
1604
1605 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1606
1607         * java/awt/Component.java 
1608         (isFocusTraversable): Predicate on isLightweight()
1609         (setFocusable): Set isFocusTraversableOverridden.
1610         (requestFocus): Predicate peer dispatch on !isLightweight()
1611         (requestFocusInWindow): Likewise.
1612         (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1613         * java/awt/Container.java
1614         (dispatchEventImpl): Predicate on event mask.
1615         (LightweightDispatcher): Remove focus machinery.
1616         * java/awt/DefaultFocusTraversalPolicy.java
1617         (accept): Expand predicate to include isFocusable(). 
1618         * java/awt/DefaultKeyboardFocusManager.java:
1619         Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1620         * java/awt/KeyboardFocusManager.java
1621         (redispatchEvent): Synchronize on event to prevent feedback.
1622         * javax/swing/AbstractButton.java
1623         (ButtonFocusListener): Remove class.
1624         (init): Set focusPainted, focusable.
1625         * javax/swing/ActionMap.java (get): Check parent for null. 
1626         * javax/swing/InputMap.java (get): Likewise. 
1627         * javax/swing/JComponent.java
1628         (inputMap_whenFocused): New InputMap.
1629         (inputMap_whenAncestorOfFocused): Likewise.
1630         (inputMap_whenInFocusedWindow): Likewise.
1631         (getActionForKeyStroke): Rewrite.
1632         (getConditionForKeystroke): Likewise.
1633         (ActionListenerProxy): New private class.
1634         (setInputMap): Implement.
1635         (getInputMap): Likewise.
1636         (setActionMap): Likewise.
1637         (getActionMap): Likewise.
1638         (processComponentKeyEvent): New empty method.
1639         (processKeyEvent): Implement.
1640         (processKeyBinding): Likewise.
1641         (resetKeyboardActions): Rewrite.
1642         * javax/swing/KeyStroke.java: Rewrite.
1643         * javax/swing/SwingUtilities.java
1644         (notifyAction): Implement.
1645         (replaceUIActionMap): Likewise.
1646         (replaceUIInputMap): Likewise.
1647         * javax/swing/plaf/basic/BasicButtonListener.java
1648         (focusGained): Implement.
1649         (focusLost): Repaint if focusPainted().
1650         (installKeyboardActions): Install pressed / released actions.
1651         (uninstallKeyboardActions): Implement.
1652         * javax/swing/plaf/basic/BasicButtonUI.java
1653         (focusColor): New field.
1654         (installDefaults): Load focus color, install input map.
1655         (installKeyboardActions): Implement.
1656         (uninstallKeyboardActions): Likewise.
1657         (paintFocus): Rewrite.
1658         * javax/swing/plaf/basic/BasicLookAndFeel.java
1659         (Button.focus): New default, midPurple. 
1660         * javax/swing/plaf/basic/BasicTextUI.java
1661         (kit): Make static.
1662         (installUI): Get doc from kit, load defaults.
1663         (getKeymapName): Implement.
1664         (createKeymap): Likewise.
1665         (installKeyboardActions): Likewise.
1666         (getInputMap): Likewise.
1667         (getActionMap): Likewise.
1668         (createActionMap): Likewise.
1669         * javax/swing/text/AbstractDocument.java
1670         (getStartPosition): Implement.
1671         (getEndPosition): Likewise.
1672         * javax/swing/text/DefaultEditorKit.java
1673         (CopyAction): New class.
1674         (CutAction): Likewise.
1675         (DefaultKeyTypedAction): Likewise.
1676         (InsertBreakAction): Likewise.
1677         (InsertContentAction): Likewise.
1678         (InsertTabAction): Likewise.
1679         (PasteAction): Likewise.
1680         (defaultActions): New static table.
1681         (createCaret): Implement.
1682         (getActions): Likewise.
1683         * javax/swing/text/JTextComponent.java
1684         (KeymapWrapper): New private class.
1685         (KeymapActionMap): Likewise.
1686         (DefaultKeymap): New class.
1687         (keymaps): New static table.
1688         (keymap): New field.
1689         (getKeymap): Implement.
1690         (removeKeymap): Likewise.
1691         (addKeymap): Likewise.
1692         (setKeymap): Likewise.
1693         (loadKeymap): Likewise.
1694         (getActions): Likewise.
1695         (margin): New field.
1696         (JTextComponent): Build and install default keymap.
1697         * javax/swing/text/TextAction.java
1698         (textAction): Call super properly.
1699         (getTextComponent): Implement.
1700         * javax/swing/text/Utilities.java
1701         (drawTabbedText): Adjust position by ascent.
1702
1703 2004-08-31  David Jee  <djee@redhat.com>
1704
1705         PR AWT/17156
1706
1707         * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1708         (setEnabled): Make it a native method.
1709         * java/awt/DefaultKeyboardFocusManager.java
1710         (postProcessKeyEvent): Only post event if the menu item
1711         is active.
1712         * java/awt/MenuItem.java:
1713         Private field 'enabled' should be true by default.
1714         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1715         (setEnabled): New function.
1716
1717 2004-08-31  David Jee  <djee@redhat.com>
1718
1719         PR AWT/17059
1720
1721         * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1722         (nativeSetHelpMenu): New native method declaration.
1723         (addHelpMenu): Call nativeSetHelpMenu().
1724         (addMenu): Remove.
1725         * java/awt/MenuBar.java
1726         (setHelpMenu): Call addNotify() on the new help menu.
1727         (add): Call addNotify() on the new menu.
1728         (addNotify): Set the help menu if one exists.
1729         * java/awt/peer/MenuBarPeer.java
1730         (addMenu): Remove.
1731         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1732         (nativeSetHelpMenu): New method.
1733
1734 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1735
1736         * Makefile.am: Add new files.
1737         * Makefile.in: Regenerate.
1738         * javax/swing/Box.java: Fix setting of layout in ctor.
1739         * javax/swing/JScrollPane.java: Scroll headers as well.
1740         * javax/swing/JTable.java: Reimplement.
1741         * javax/swing/JViewPort.java: Only add non-null children.
1742         * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1743         * javax/swing/Timer.java: Fix stopping null waker.
1744         * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1745         * javax/swing/plaf/basic/BasicTableUI.java: New file.
1746         * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1747         * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1748         * javax/swing/table/DefaultTableModel.java: Clean up.
1749         * javax/swing/table/JTableHeader.java: Implement.
1750
1751 2004-08-31  Mark Wielaard  <mark@klomp.org>
1752
1753         * javax/swing/JSpinner.java (getChangeListeners): Remove double
1754         semi-colon.
1755
1756 2004-08-31  Mark Wielaard  <mark@klomp.org>
1757
1758         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1759         Declare variables at top of functions/block.
1760         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1761
1762 2004-08-31  Mark Wielaard  <mark@klomp.org>
1763
1764         * java/lang/Rectangle.java (intersects): Check r.width and r.height
1765         first.
1766
1767 2004-08-31  Michael Koch  <konqueror@gmx.de>
1768
1769         * javax/swing/text/PlainView.java
1770         (selectedColor): New field.
1771         (unselectedColor): Likewise.
1772         (font): Likewise.
1773         (updateMetrics): New method.
1774         (lineToRect): Likewise.
1775         (modelToView): Likewise.
1776         (drawSelectedText): Use color from JTextComponent ad draw with
1777         Utilities class.
1778         (drawUnselectedText): Likewise.
1779         (paint): Initialize helper fields.
1780         * javax/swing/text/View.java
1781         (getChildAllocation): New method.
1782         (getViewIndex): Likewise.
1783         (getToolTipText): Likewise.
1784
1785 2004-08-31  Michael Koch  <konqueror@gmx.de>
1786
1787         * javax/swing/text/Utilities.java
1788         (drawTabbedText): Reimplemented.
1789         (getTabbedTextWidth): Likewise.
1790
1791 2004-08-31  Michael Koch  <konqueror@gmx.de>
1792
1793         * javax/swing/plaf/basic/BasicTextUI.java
1794         (installDefaults): Install caret and highlighter.
1795         (modelToView): Use Bias.Forward when calling sibling.
1796         * javax/swing/text/AbstractDocument.java
1797         (ElementEdit): Implements DocumentEvent.ElementChange.
1798         (ElementEdit.ElementEdit): New method.
1799         (ElementEdit.getChildrenAdded): Likewise.
1800         (ElementEdit.getChildrenRemoved): Likewise.
1801         (ElementEdit.getElement): Likewise.
1802         (ElementEdit.getIndex): Likewise.
1803         * javax/swing/text/DefaultCaret.java
1804         (color): Removed.
1805         (textComponent): Renamed from parent, made private.
1806         (selectionVisible): Renamed from vis_sel, made private.
1807         (blinkRate): Renamed from blink, made private.
1808         (magicCaretPosition): Renamed from magic, made private.
1809         (visible): Renamed from vis, made private.
1810         (dot): Made private.
1811         (mark): Likewise.
1812         (deinstall): Remove as MouseMotionListener.
1813         (install): Initialize textComponent first. Add as MouseMotionListener.
1814         (paint): Reimplemented.
1815         * javax/swing/text/JTextComponent.java
1816         (setCaret): Deinstall old caret, install new one and fire property
1817         change after setting property.
1818         (setHighlighter): Deinstall old highlighter, install new one and fire
1819         property change after setting property.
1820         (setCaretColor): Fire property change after setting property.
1821         (setDisabledTextColor): Likewise.
1822         (setSelectedTextColor): Likewise.
1823         (setSelectionColor): Likewise.
1824         (modelToView): New method.
1825
1826 2004-08-31  Michael Koch  <konqueror@gmx.de>
1827
1828         * javax/swing/text/AbstractDocument.java
1829         (getText): Simplified.
1830         * javax/swing/text/Segment.java
1831         (current): New field.
1832         (current): Reimplemented.
1833         (first): Likewise.
1834         (getIndex): Likewise.
1835         (last): Likewise.
1836         (next): Likewise.
1837         (previous): Likewise.
1838         (setIndex): Likewise.
1839
1840 2004-08-31  Michael Koch  <konqueror@gmx.de>
1841
1842         * javax/swing/plaf/basic/BasicButtonUI.java
1843         (defaultTextIconGap): Made protected.
1844         (defaultTextShiftOffset): Likewise.
1845         (textShiftOffset): New field.
1846         (clearTextShiftOffset): New method.
1847         (getTextShiftOffset): Likewise.
1848         (setTextShiftOffset): Likewise.
1849
1850 2004-08-31  Michael Koch  <konqueror@gmx.de>
1851
1852         * javax/swing/plaf/basic/BasicTextUI.java
1853         (installUI): Add eventHandler as property listener.
1854         (uninstallUI): remove eventHandler as propert listener.
1855         (installDefaults): Added comment.
1856         (installListeners): Likewise.
1857         (installKeyboardActions): Likewise.
1858         (uninstallDefaults): Likewise.
1859         (uninstallListeners): Likewise.
1860         (uninstallKeyboardActions): Likewise.
1861
1862 2004-08-31  Michael Koch  <konqueror@gmx.de>
1863
1864         * javax/swing/text/AbstractDocument.java:
1865         Fixed some typos in comments.
1866         (insertString): Reimplemented.
1867         (remove): Likewise.
1868         (replace): New method.
1869         (children): Dont use fully qualified class name.
1870         (DefaultDocumentEvent.offset): Renamed from off.
1871         (DefaultDocumentEvent.length): Renamed from len.
1872         (DefaultDocumentEvent.type): New field.
1873         (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1874         (DefaultDocumentEvent.getType): Implemented.
1875
1876 2004-08-31  Michael Koch  <konqueror@gmx.de>
1877
1878         * javax/swing/plaf/basic/BasicTextUI.java
1879         (RootView.textComponent): Removed.
1880         (RootView.RootView): Don't initialize textComponent.
1881         (RootView.getViewFactory): New method.
1882         (EventHandler): New inner class.
1883         (rootView): Initialize at instance creation.
1884         (eventHandler): New field.
1885         (installUI): Don't create view hierarchy directly,
1886         call modelChanged() instead.
1887         (modelChanged): New method.
1888         * javax/swing/text/JTextComponent.java
1889         (setDocument): Fire property change event.
1890
1891 2004-08-31  Michael Koch  <konqueror@gmx.de>
1892
1893         * javax/swing/plaf/basic/BasicTextUI.java
1894         (RootView.paint): Removed debug output.
1895         (paintSafely): Draw highlighter before text.
1896         (paintBackground): Use background color of text component.
1897         * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1898         Reformatted.
1899
1900 2004-08-31  Michael Koch  <konqueror@gmx.de>
1901
1902         * javax/swing/plaf/basic/BasicToolBarUI.java
1903         (BasicToolBarUI): Fixed arguments for constructor.
1904         (createUI): Fixed creation of object.
1905
1906 2004-08-31  Michael Koch  <konqueror@gmx.de>
1907
1908         * javax/swing/DefaultListSelectionModel.java
1909         (fireValueChanged): Renamed from fireSelectionValueChanged,
1910         made protected.
1911
1912 2004-08-31  Michael Koch  <konqueror@gmx.de>
1913
1914         * javax/swing/text/TabSet.java
1915         (TabSet): Implements java.io.Serializable.
1916         * javax/swing/text/TabStop.java
1917         (TabStop): Implements java.io.Serializable.
1918         (TabStop): Made public.
1919
1920 2004-08-31  Michael Koch  <konqueror@gmx.de>
1921
1922         * javax/swing/JComponent.java
1923         (setUI): Fire PropertyChange.
1924         * javax/swing/JLabel.java
1925         (text): Renamed from labelText.
1926         (horizontalAlignment): New default vlaue.
1927         (icon): Renamed from activeIcon.
1928         (displayedMnemonic): Renamed from mnemonicKey, added default value.
1929         (displayedMnemonicIndex): Renamed from underlineChar.
1930         (setDisplayedMnemonic): Reimplemented.
1931         * javax/swing/JRadioButton.java
1932         (JRadioButton): New constructors.
1933         * javax/swing/JTextField.java
1934         (JTextField): Throw exception if colums < 0, initialitialz
1935         this.columns directly and initialize document with text conditionally.
1936
1937 2004-08-31  Michael Koch  <konqueror@gmx.de>
1938
1939         * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1940         javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1941         javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1942         * javax/swing/text/FieldView.java
1943         (paint): Just call super method for now.
1944         * Makefile.am: Added new files.
1945         * Makefile.in: Regenerated.
1946
1947 2004-08-31  Ka-Hing Cheung  <kahing@javabsp.org>
1948
1949         * javax/swing/AbstractSpinnerModel.java,
1950         javax/swing/JSpinner.java,
1951         javax/swing/SpinnerNumberModel.java,
1952         javax/swing/plaf/basic/BasicSpinnerUI.java:
1953         New files.
1954         * javax/swing/plaf/basic/BasicLookAndFeel.java
1955         (initClassDefaults): Added defaults for BasicSpinnerUI.
1956
1957 2004-08-31  Michael Koch  <konqueror@gmx.de>
1958
1959         * Makefile.am: Added new files.
1960         * Makefile.in: Regenerated.
1961
1962 2004-08-31  Michael Koch  <konqueror@gmx.de>
1963
1964         * javax/swing/TransferHandler.java,
1965         javax/swing/plaf/basic/ComboPopup.java: New files
1966         * Makefile.am: Added javax/swing/TransferHandler.java and
1967         javax/swing/plaf/basic/ComboPopup.java
1968         * Makefile.in: Regenerated.
1969
1970 2004-08-31  Roman Kennke  <roman@ontographics.com>
1971
1972         * javax/swing/text/Utilities.java: New file.
1973
1974 2004-08-31  Michael Koch  <konqueror@gmx.de>
1975
1976         * Makefile.am: Added javax/swing/text/Utilities.java.
1977         * Makefile.in: Regenerated.
1978
1979 2004-08-31  Graydon Hoare  <graydon@redhat.com>
1980
1981         * javax/swing/text/SimpleAttributeSet.java: New file.
1982         * javax/swing/text/StyleConstants.java: New file.
1983         * javax/swing/text/StyleContext.java: New file.
1984         * javax/swing/text/TabSet.java: New file.
1985         * javax/swing/text/TabStop.java: New file.
1986         * javax/swing/text/AbstactDocument.java:
1987         (AbstractElement): Implement attribute support.
1988         * javax/swing/text/AttributeSet.java
1989         (NameAttribute): New static field.
1990         (ResolveAttribute): New static field.
1991         * Makefile.am: Update for new files.
1992         * Makefile.in: Regenerate.
1993
1994 2004-08-31  Craig Black  <craig.black@aonix.com>
1995
1996         * gnu/java/awt/peer/gtk/GdkGraphics.java 
1997         (drawImage): Add support for scaling pixmaps.
1998         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1999         (copyAndScalePixmap): New native method.
2000  
2001 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2002
2003         PR AWT/16121
2004         * jni/gtk-peer/gthread-jni.c: Include stdio.h.  Eliminate
2005         type-punning compiler warnings using unions.
2006         (throw): Replace bzero with memset.
2007
2008 2004-08-31  Andreas Tobler  <a.tobler@schweiz.ch>
2009             Thomas Fitzsimmons  <fitzsim@redhat.com>
2010
2011         * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
2012         NSA_PB macros to gtkpeer.h.  Include gtkpeer.h.
2013         * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
2014         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2015         (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
2016
2017 2004-08-31  Mark Wielaard  <mark@klomp.org>
2018
2019         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
2020         #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
2021         and stdlib.h, not gtkpeer.h.
2022         (*vm): New static variable.
2023         (areaPreparedID): Make static.
2024         (areaUpdatedID): Likewise.
2025         (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
2026         (area_prepared): Likewise.
2027         (area_updated): Likewise.
2028         (closed): Likewise.
2029         (initStaticState): Initialize *vm javaVM.
2030         (pumpBytes): Use given env, not global gdk_env.
2031
2032 2004-08-31  Mark Wielaard  <mark@klomp.org>
2033
2034         * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
2035         comments.
2036
2037 2004-08-31  Sven de Marothy  <sven@physto.se>
2038
2039         * java/awt/geom/CubicCurve2D.java: Reindent.
2040         (contains): Implemented.
2041         (intersects): Implemented.
2042         * java/awt/geom/QuadCurve2D.java: Likewise.
2043         * java/awt/geom/GeneralPath.java: Reindent and document.
2044         Fully (re)implemented using separate xpoints and ypoints
2045         float[] coords.
2046         * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
2047
2048 2004-08-31  Michael Koch  <konqueror@gmx.de>
2049
2050         * javax/swing/JMenuItem.java
2051         (getMenuDragMouseListeners): New method.
2052         (getMenuKeyListeners): Likewise.
2053
2054 2004-08-31  Michael Koch  <konqueror@gmx.de>
2055
2056         * javax/swing/AbstractButton.java
2057         (model): Made protected.
2058         (actionListener): Likewise.
2059         (changeListener): Likewise.
2060         (itemListener): Likewise.
2061         (multiClickThreshhold): New field.
2062         (getActionListeners): New method.
2063         (getChangeListeners): Likewise.
2064         (getItemListeners): Likewise.
2065         (fireItemStateChanged): Simplified implementation.
2066         (fireActionPerformed): Likewise.
2067         (fireStateChanged): Likewise.
2068         (getMultiClickThreshhold): New method.
2069         (setMultiClickThreshhold): Likewise.
2070
2071 2004-08-31  Tom Tromey  <tromey@redhat.com>
2072
2073         * java/awt/image/Kernel.java (clone): Use super.clone().
2074
2075 2004-08-31  David Jee  <djee@redhat.com>
2076
2077         PR AWT/16682
2078         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2079         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2080         (nativeSetIconImageFromData): New native method declaration.
2081         (setIconImage): Handle images not produced from GdkPixbufDecoder.
2082         * gnu/java/awt/peer/gtk/GtkImage.java
2083         (getPixelCache): New method.
2084         (getColorModel): New method.
2085         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2086         (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
2087         (free_pixbuf_data): New helper function.
2088         (nativeSetIconImageFromData): New function.
2089
2090 2004-08-31  Graydon Hoare  <graydon@redhat.com>
2091
2092         PR SWING/16576
2093         * javax/swing/JLayeredPane.java 
2094         (setLayer): Permit changing layer after addition.
2095         (setPosition): Permit over-length positions.
2096         (layerToRange): Compare intValue()s.
2097         * javax/swing/Box.java (createHorizontalBox): Implement.
2098         (createRigidArea): Likewise.
2099         (createVerticalBox): Likewise.
2100
2101 2004-08-31  Kim Ho  <kho@redhat.com>
2102
2103         * java/awt/Component.java:
2104         (processMouseEvent): Consume event after
2105         listeners process it.
2106         (processMouseMotionEvent): ditto.
2107         (processMouseWheelEvent): ditto.
2108         * java/awt/Container.java:
2109         (acquireComponentForMouseEvent):
2110         Do not dispatch to events that have been
2111         removed from the Container.
2112         (handleEvent): Consume the MouseEvents.
2113         * javax/swing/RepaintManager.java:
2114         (paintDirtyRegions): Do not add to list of 
2115         damaged areas if the component has no root.
2116
2117 2004-08-31  Michael Koch  <konqueror@gmx.de>
2118
2119         * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
2120
2121 2004-08-31  Mark Wielaard  <mark@klomp.org>
2122
2123         * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
2124         null when a MissingResourceException is thrown. Should never happen.
2125
2126 2004-08-31  Mark Wielaard  <mark@klomp.org>
2127
2128         * java/awt/EventQueue.java (postEvent): Throw NullPointerException
2129         when argument is null.
2130
2131 2004-08-31  Mark Wielaard  <mark@klomp.org>
2132
2133         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2134         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
2135         Define hid at start of function.
2136         (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
2137         Likewise.
2138
2139 2004-08-31  Mark Wielaard  <mark@klomp.org>
2140
2141         * gnu/java/awt/EmbeddedWindow.java: Reindent.
2142         * javax/swing/JButton.java: Reindent.
2143         * javax/swing/JCheckBox.java: Reindent.
2144
2145 2004-08-31  Mark Wielaard  <mark@klomp.org>
2146
2147         * Makefile.am (gtk_c_source_files): Added
2148         jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
2149         (gtk_awt_peer_sources): Added
2150         gnu/java/awt/peer/gtk/GThreadMutex.java and
2151         gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
2152         * Makefile.in: Regenerated.
2153
2154 2004-08-31  Archie Cobbs  <archie@dellroad.org>
2155
2156         * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
2157
2158 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2159
2160         * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types): 
2161         Added jfieldID, jmethodID.
2162
2163 2004-08-31  Mark Wielaard  <mark@klomp.org>
2164
2165         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2166         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
2167         gdk_env before calling any gdk or gtk function.
2168
2169         * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
2170         (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
2171         (run): Set gtkInitCalled.
2172
2173 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2174
2175         * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of 
2176         the gnu.classpath.awt.gtk.portable.native.sync system property to C.
2177
2178         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2179         (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
2180         portableNativeSync.  Delegate PORTABLE_NATIVE_SYNC work to
2181         init_glib_threads. 
2182         (init_glib_threads): New function.
2183
2184 2004-08-31  Mark Wielaard  <mark@klomp.org>
2185
2186         * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
2187         PRIORITY when not already defined in header file.
2188
2189 2004-08-31  Mark Wielaard  <mark@klomp.org>
2190
2191         * jni/gtk-peer/gthread-jni.c (setup_cache): Call
2192         ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
2193
2194 2004-08-31  Steven Augart  <augart@watson.ibm.com>
2195
2196         * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
2197         Implemented missing functions for GTK2.
2198         Added error handling.
2199         Renamed static functions out of the g_ namespace.
2200         Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN, 
2201         EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2202         Rewrote global-reference code.
2203         Eliminated cascading errors.
2204         (mutex_trylock_jni_impl) Fully implemented.
2205         (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2206         resolution.
2207         (setup_cache) New function.
2208         (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2209         bug where they were not unlocking the GMutex associated with the
2210         condition variable during the wait on that condition variable.
2211
2212         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2213         native/jni/gtk-peer/gthread-jni.c,
2214         native/jni/gtk-peer/gthread-jni.h
2215         (g_thread_jni_functions): Renamed to ...
2216         (portable_native_sync_jni_functions): this name.
2217         (gdk_vm): Renamed to...
2218         (the_vm): this name.
2219
2220         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2221         (gdk_vm): Removed duplicate definition.
2222         (gtkInit): Removed stray message to stdout.
2223         (gtkInit): Use g_malloc and g_free instead of malloc and free.
2224         (gtkInit): Fix a const assignment bug.
2225         (gtkInit): Simplified code.
2226
2227         * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2228         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2229         native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2230         gnu/java/awt/peer/gtk/GThreadMutex.java:
2231         New files.
2232
2233 2004-08-31  Mark Wielaard  <mark@klomp.org>
2234
2235         * javax/swing/Box.java: Put FIXME comment above class declaration.
2236         * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2237         * javax/swing/JCheckBox.java: Likewise.
2238         * javax/swing/JDialog.java: Likewise.
2239         * javax/swing/JRadioButton.java: Likewise.
2240         * javax/swing/JToggleButton.java: Likewise.
2241         * javax/swing/UIManager.java: Likewise.
2242         * javax/swing/border/TitledBorder.java: Likewise.
2243         * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2244         * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2245         * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2246         * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2247         * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2248         * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2249         * javax/swing/text/JTextComponent.java: Likewise.
2250
2251 2004-08-31  David Jee  <djee@redhat.com>
2252
2253         PR AWT/16682
2254         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2255         (setIconImage): Add a FIXME for unhandled cases.
2256
2257 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2258
2259         PR AWT/16040
2260         * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2261         getModifiers.  Replace old button masks with new ones.
2262         * gnu/awt/xlib/XEventLoop.java: Likewise.
2263         * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2264         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2265         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2266         * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2267         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2268         * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2269         * java/awt/Component.java: Replace old modifier masks with new
2270         ones.
2271         * java/awt/Container.java: Call getModifiersEx, not
2272         getModifiers.
2273         * java/awt/DefaultKeyboardFocusManager.java: Likewise.  Remove
2274         old modifier masks.
2275         * javax/swing/JMenuItem.java: Replace old button masks with new
2276         ones.
2277         * javax/swing/KeyStroke.java: Call getModifiersEx, not
2278         getModifiers.
2279         * javax/swing/SwingUtilities.java: Likewise.
2280         * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2281         * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2282         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2283         mask macros with new ones.
2284         * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2285         macros with new ones representing new masks.
2286
2287 2004-08-31  Craig Black  <craig.black@aonix.com>
2288
2289         * gnu/java/awt/peer/gtk/GdkGraphics.java
2290         (drawRoundRect): Implemented.
2291         (fillRoundRect): Implemented.
2292         * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2293         (drawRoundRect): Reimplemented to match GdkGraphics.
2294         (fillRoundRect): Reimplemented to match GdkGraphics.
2295
2296 2004-08-31  Mark Wielaard  <mark@klomp.org>
2297
2298         * Makefile.in: Regenerated.
2299
2300 2004-08-31  Michael Koch  <konqueror@gmx.de>
2301
2302         * gnu/java/awt/EmbeddedWindow.java
2303         (addNotify): Use AccessController to allow execution of privileged
2304         code.
2305
2306 2004-08-31  Michael Koch  <konqueror@gmx.de>
2307
2308         * gnu/java/awt/EmbeddedWindow.java
2309         (static): Removed.
2310         (addNotify): Set peer via reflection.
2311         (setWindowPeer): Removed.
2312         * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2313         * Makefile.am (nat_source_files):
2314         Removed gnu/java/awt/natEmbeddedWindow.cc.
2315
2316 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2317
2318         * Makefile.am: Add  gnu/java/security/action/GetPropertyAction.java
2319         and gnu/java/security/action/SetAccessibleAction.java.
2320
2321 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2322
2323         * gnu/java/security/action/GetPropertyAction.java (setParameters):
2324         Renamed from 'setName'. New 2-argument form with default value.
2325         (run): Pass default 'value' parameter to System.getProperty().
2326         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2327         typos.
2328
2329 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2330
2331         * gnu/java/security/action/GetPropertyAction.java: New class.
2332         * gnu/java/security/action/SetAccessibleAction.java: New class.
2333
2334 2004-08-31  David Jee  <djee@redhat.com>
2335
2336         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2337         (setIconImage): Check if image is null.
2338
2339 2004-08-31  David Jee  <djee@redhat.com>
2340
2341         * gnu/java/awt/peer/gtk/GtkFramePeer.java
2342         (create): Set the icon image.
2343         (nativeSetIconImage): New native method declaration.
2344         (setIconImage): Implement.
2345         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2346         (nativeSetIconImage): New function.
2347
2348 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2349
2350         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2351         (filenameFilterCallback): Declare local variable accepted before use.
2352
2353 2004-08-31  Dalibor Topic <robilad@kaffe.org>
2354
2355         * gnu/java/awt/ComponentDataBlitOp.java:
2356         Cleaned up imports.
2357
2358 2004-08-31  Tom Tromey  <tromey@redhat.com>
2359
2360         * gnu/java/awt/peer/GLightweightPeer.java,
2361         gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2362         gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2363         javax/swing/JScrollPane.java: Removed
2364         redundant imports.
2365
2366 2004-08-31  David Jee  <djee@redhat.com>
2367
2368         * java/awt/DefaultKeyboardFocusManager.java
2369         (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2370         event.  Fix shift modifier checking.
2371         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2372         (accel_attach): Remove.
2373         (setupAccelGroup): Remove calls to accel_attach.
2374
2375 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2376
2377         * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2378         * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2379
2380         * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2381         GtkArgList.java.
2382         (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2383         * Makefile.in: Regenerate.
2384         * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2385         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2386         (create(String)): New method.
2387         (create): Call new create method.
2388         (getArgs): Remove method.
2389         * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2390         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c 
2391         (nativeCreate): Rename to create.
2392         (gtkSetLabel): Rename to gtkButtonSetLabel.
2393         (gtkToggleButtonSetActive): New method.
2394         (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2395         (setState): Replace set call with gtkToggleButtonSetActive.
2396         (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2397         (getArgs): Remove method.
2398         * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2399         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2400         (gtkWidgetSetSensitive): New method.
2401         (gtkWidgetSetParent): Likewise.
2402         (GtkComponentPeer): Call setParent, setComponentBounds and
2403         setVisibleAndEnabled.
2404         (setParent): New method.
2405         (setComponentBounds): New method.
2406         (setVisibleAndEnabled): New method.
2407         (setEnabled): Call gtkWidgetSetSensitive.
2408         (getArgs): Remove method.
2409         Remove all set methods.
2410         * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2411         gtkWindowSetModal, setTitle and setResizable.
2412         (getArgs): Remove method.
2413         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2414         (setComponentBounds): New method.
2415         * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2416         Replace set call with gtkWindowSetResizable.
2417         (getArgs): Remove method.
2418         (create): Call setTitle and setResizable.
2419         * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2420         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2421         (gtkWindowSetTitle): New method.
2422         (gtkWindowSetResizable): New method.
2423         (gtkWindowSetModal): New method.
2424         (setParent): New method.
2425         (setVisibleAndEnabled): New method.
2426         (getArgs): Remove method.
2427         (setTitle): Call gtkWindowSetTitle.
2428         (setResizable): Call gtkWindowSetResizable.
2429         * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2430         and off locking instrumentation.
2431
2432 2004-08-31  Kim Ho  <kho@redhat.com>
2433
2434         * Makefile.am: Add new file.
2435         * Makefile.in: Regenerate.
2436         * gcj/Makefile.in: Regenerate
2437         * include/Makefile.in:
2438         * java/awt/Container.java:
2439         (acquireComponentForMouseEvent): Respect 
2440         the event mask when looking for candidate.
2441         * javax/swing/JComponent.java:
2442         Remove toolTip field.
2443         (createToolTip): Create a tooltip on demand.
2444         (setToolTipText): Register with the ToolTipManager.
2445         (getToolTipText(MouseEvent)): Return getToolTipText().
2446         * javax/swing/JToolTip.java: Implement.
2447         * javax/swing/Timer.java: Jalopy.
2448         (restart): Call stop, then start.
2449         (stop): Interrupt the timer rather than wait for
2450         the timer to come to a stop naturally.
2451         * javax/swing/ToolTipManager.java: Implement.
2452         * javax/swing/plaf/basic/BasicLookAndFeel.java:
2453         Change ToolTip.background color.
2454         * javax/swing/plaf/basic/BasicToolTipUI.java:
2455         Implement.
2456         * testsuite/Makefile.in: Regenerate
2457
2458 2004-08-31  Jerry Quinn  <jlquinn@optonline.net>
2459
2460         * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2461         constructor param comments.
2462
2463 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2464
2465         * java/awt/Component.java: Document AWT 1.0 event handler
2466         methods.
2467
2468 2004-08-31  Roman Kennke  <roman@ontographics.com>
2469
2470         * javax/swing/Box.java:
2471         (createGlue): Implemented
2472         (createHorizontalGlue): Implemented
2473         (createHorizontalStrut): Implemented
2474         (createVerticalGlue): Implemented
2475         (createVerticalStrut): Implemented
2476
2477 2004-08-31  David Jee  <djee@redhat.com>
2478
2479         * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2480         (GtkChoicePeer): Do not automatically select first item.
2481         (getHistory): Remove.
2482         (nativeGetSelected): New method.
2483         (nativeRemoveAll): New method.
2484         (add): Use nativeGetSelected() instead of getHistory().
2485         (remove): Likewise.
2486         (removeAll): Call nativeRemoveAll().
2487         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2488         (create): Migrate to GtkComboBox.
2489         (append): Likewise.
2490         (nativeAdd): Likewise.
2491         (nativeRemove): Likewise.
2492         (select): Likewise.
2493         (nativeRemoveAll): New method.
2494         (nativeGetSelected): New method.
2495         (selection_changed): New method.
2496         (getHistory): Remove.
2497         (item_activate): Remove.
2498         (item_removed): Remove.
2499         (connect_choice_item_selectable_hook): Remove.
2500
2501 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2502
2503         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2504         variable in setEditable call.
2505
2506         * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2507         jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2508         (gtkWidgetSetBackground): New method.
2509         (gtkWidgetSetForeground): Likewise.
2510         (create): Set peer's editable state based on awtComponent's.
2511
2512         * java/awt/Button.java (Button()): Use empty string rather than
2513         null in no-label constructor.
2514
2515 2004-08-31  Roman Kennke  <roman@ontographics.com>
2516
2517         * javax/swing/BoxLayout.java: Reimplement.
2518
2519 2004-08-31  Thomas Fitzsimmons  <fitzsim@redhat.com>
2520
2521         * gnu/java/awt/peer/gtk/GdkGraphics.java,
2522         gnu_java_awt_peer_gtk_GdkGraphics.c
2523         (initState(GtkComponentPeer)): Don't return array of colour
2524         values.
2525         (GdkGraphics(int,int)): Set default font to size 12.
2526         (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2527         component's foreground colour.
2528         * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2529         gnu_java_awt_peer_gtk_GdkGraphics2D.c
2530         (initState(GtkComponentPeer)): Don't return array of colour
2531         values.
2532         (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2533         colours to component's colours.
2534         (current_colors_of_widget): Remove function.
2535         * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2536         Return a new graphics object.
2537         * java/awt/Font.java (toString): Fix format.
2538         * java/awt/Graphics.java (toString): Likewise.
2539
2540 2004-08-31  Craig Black  <craig.black@aonix.com>
2541
2542         * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2543         (addTearOff): New function.
2544         * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2545         New native method.
2546         (init): Call addTearOff() when menu.isTearOff().
2547
2548 2004-08-31  Bryce McKinlay  <mckinlay@redhat.com>
2549
2550         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2551         Default implementation.
2552         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2553         Implement using GdkPixbufDecoder.
2554
2555 2004-08-31  David Jee  <djee@redhat.com>
2556
2557         * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2558         (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2559         setting the size of GtkFileDialogPeers.
2560         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2561         (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2562         use their default sizes rather than their natural requisitions.
2563
2564 2004-08-31  Michael Koch  <konqueror@gmx.de>
2565
2566         * javax/swing/JFormattedTextField.java
2567         (JFormattedTextField): Implemented.
2568         * javax/swing/text/DefaultEditorKit.java
2569         (BeepAction): New inner class.
2570         * javax/swing/text/Segment.java
2571         (partialReturn): New field.
2572         (setPartialReturn): New method.
2573         (isPartialReturn): Likewise.
2574         * javax/swing/text/View.java
2575         (createFragment): Fixed typo.
2576         (getStartOffset): New method.
2577         (getEndOffset): Likewise.
2578
2579 2004-08-31  Michael Koch  <konqueror@gmx.de>
2580
2581         * javax/swing/table/DefaultTableColumnModel.java
2582         (serialVersionUID): Made private.
2583         (listenerList): Initialize.
2584         (changeEvent): Initialize.
2585         * javax/swing/table/JTableHeader.java
2586         (JTableHeader): New constructors.
2587         (createDefaultColumnModel): New method.
2588         * javax/swing/table/TableColumn.java
2589         (setHeaderRenderer): Simplified code.
2590         (setCellRenderer): Likewise.
2591         (setWidth): Likewise.
2592
2593 2004-08-31  Tom Tromey  <tromey@redhat.com>
2594
2595         * java/text/AttributedString.java (AttributedString): Use
2596         ArrayList to build array of attribute ranges.  Don't use
2597         `attribs' before it is set.
2598
2599 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2600
2601         * HACKING: Remove reference to special automake. No longer needed.
2602
2603 2004-08-30  Tom Tromey  <tromey@redhat.com>
2604
2605         * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2606         return result from `add'.
2607
2608 2004-08-30  Tom Tromey  <tromey@redhat.com>
2609
2610         * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2611
2612 2004-08-30  Andreas Tobler  <a.tobler@schweiz.ch>
2613
2614         * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2615
2616 2004-08-30  Jeroen Frijters  <jeroen@frijters.net>
2617
2618         * java/io/File.java File(String,String): Fixed handling of empty
2619         path.
2620
2621 2004-08-30  Casey Marshall  <csm@gnu.org>
2622
2623         Author e-mail updated for all files.
2624         * gnu/java/security/OID.java (equals): Test if the aurgment is an
2625         instance of OID.
2626         (compareTo): Use `equals'.
2627         * gnu/java/security/der/BitString.java (equals): Test if the
2628         argument is an instance of BitString.
2629         * gnu/java/security/der/DERReader.java: Removed NIO imports.  Made
2630         class final. Made fields private.
2631         (<init>): New constructor.
2632         (skip): New method.
2633         (makeString): Made static; don't use NIO.
2634         (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2635         * gnu/java/security/der/DERWriter.java: Fixed imports.
2636         (writeString): Don't use NIO.
2637         (toIso88591, toUtf16Be, toUtf8): New methods.
2638         * gnu/java/security/der/DERValue.java: Formatting changes only.
2639         * gnu/java/security/der/DER.java: Likewise.
2640
2641 2004-08-30  Tom Tromey  <tromey@redhat.com>
2642
2643         * java/nio/CharBuffer.java (put): Fix typo.
2644         * java/nio/DoubleBuffer.java (put): Fix typo.
2645         * java/nio/FloatBuffer.java (put): Fix typo.
2646         * java/nio/IntBuffer.java (put): Fix typo.
2647         * java/nio/LongBuffer.java (put): Fix typo.
2648         * java/nio/ShortBuffer.java (put): Fix typo.
2649
2650 2004-08-30  Florian Weimer  <fw@deneb.enyo.de>
2651
2652         * java/nio/ByteBuffer.java (put): Fix typo.
2653
2654 2004-08-30  Casey Marshall  <csm@gnu.org>
2655
2656         * java/security/DummyKeyPairGenerator.java (clone): Removed
2657         useless instanceof check.
2658         * java/security/DummyMessageDigest.java (clone): Likewise.
2659         * java/security/DummySignature.java (clone): Likewise.
2660         * java/security/MessageDigest.java (clone): Remove useless
2661         instanceof check.
2662         * java/security/MessageDigestSpi.java (clone): Likewise.
2663         * java/security/Signature.java (clone): Provide meaningful
2664         implementation.
2665         * java/security/SignatureSpi.java (clone): Likewise.
2666
2667 2004-08-29  Mark Wielaard  <mark@klomp.org>
2668
2669         * java/util/Arrays.java
2670         (sort(byte[], int, int)): Check fromIndex < 0.
2671         (sort(char[], int, int)): Likewise.
2672         (sort(short[], int, int)): Likewise.
2673         (sort(int[], int, int)): Likewise.
2674         (sort(long[], int, int)): Likewise.
2675         (sort(float[], int, int)): Likewise.
2676         (sort(double[], int, int)): Likewise.
2677         (sort(Object[], int, int, Comparator)): Likewise.
2678         (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2679         (qsort(char[], int, int)): Likewise.
2680         (qsort(short[], int, int)): Likewise.
2681         (qsort(int[], int, int)): Likewise.
2682         (qsort(long[], int, int)): Likewise.
2683         (qsort(float[], int, int)): Likewise.
2684         (qsort(double[], int, int)): Likewise.
2685
2686 2004-08-29  Andrew John Hughes  <gnu_andrew@member.fsf.org>
2687
2688         * java/util/AbstractCollection.java, java/util/AbstractList.java,
2689         java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2690         java/util/ArrayList.java, java/util/Arrays.java,
2691         java/util/BitSet.java, java/util/Calendar.java,
2692         java/util/Collection.java, java/util/ListIterator.java,
2693         java/util/Map.java, java/util/SortedSet.java:
2694         Added additional exceptions to documentation, along
2695         with some additions and corrections.
2696
2697 2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
2698
2699         * configure.ac: Handle --enable-gc-debug.
2700         * configure: Regenerate.
2701         * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2702         * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2703         Rearrange include file order.
2704         (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2705         (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2706         (disable_gc_mutex): Delete along with all references.
2707         (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2708         adjust for debug header size.
2709         (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2710         debug case.
2711         (_Jv_AllocArray): Declare min_heap_addr only if needed.
2712         (gcj_describe_type_fn): New.
2713         (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2714         Register gcj_describe_type_fn.
2715         * include/boehm-gc.h:
2716         (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2717         Don't define, but declare, for debug case.
2718         * java/lang/natObject.cc:
2719         (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2720
2721 2004-08-26  Mark Wielaard  <mark@klomp.org>
2722
2723         Fixes PR libgcj/17002:
2724         * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2725         a TimeZoneId string and then try to convert that to a TimeZone with
2726         getDefaultSystemTimeZone(String).
2727         (timezones0): Changed type from Hashtable to HashMap.
2728         (timezones): Create HashMap, not Hashtable.
2729         (getDefaultTimeZone): New method, rewritten from CNI version.
2730         (readTimeZoneFile): New method.
2731         (readtzFile): Likewise.
2732         (skipFully): Likewise.
2733         * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2734         getDefaultTimeZoneId and rewritten.
2735         (getDefaultTimeZoneId): Rewritten in java.
2736         
2737 2004-08-25  David Daney  <daney@avtrex.com>
2738
2739         * Makefile.am (AM_GCJFLAGS):  Add LIBGCJ_JAVAFLAGS.
2740         * Makefile.in: Regenerated.
2741
2742 2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
2743
2744         * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2745         only if jvmpi is enabled.
2746         (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2747         (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2748         (_Jv_AllocString): Likewise.
2749         (_Jv_AllocPtrFreeObject): Likewise.     
2750
2751 2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
2752
2753         * defineclass.cc: Include <stdio.h>.
2754         * java/lang/natClassLoader.cc: Include <stdio.h>.
2755
2756 2004-08-21  Andreas Tobler  <a.tobler@schweiz.ch>
2757             Michael Koch  <konqueror@gmx.de>
2758
2759         * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2760         * Makefile.in: Regenerated.
2761
2762 2004-08-20  Michael Koch  <konqueror@gmx.de>
2763
2764         * configure.ac: Replaced all AC_TRY_COMPILE macros with
2765         AC_COMPILE_IFELSE macros.
2766
2767 2004-08-20  Michael Koch  <konqueror@gmx.de>
2768
2769         * configure.in: Renamed to configure.ac.
2770         * configure.ac: New file.
2771         * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2772         include/config.h.in, testsuite/Makefile.in: Regenerated.
2773
2774 2004-08-20  Michael Koch  <konqueror@gmx.de>
2775
2776         * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2777         * aclocal.m4, configure: Regenerated.
2778
2779 2004-08-19  Thomas Fitzsimmons  <fitzsim@redhat.com>
2780             Michael Koch  <konqueror@gmx.de>
2781
2782         * configure.in, Makefile.am: Ported to automake 1.9.
2783         * Makefile.in, aclocal.m4, configure, gcj/Makefile.in, 
2784         include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2785         Regenerated.
2786
2787 2004-08-19  Tom Tromey  <tromey@redhat.com>
2788
2789         * java/net/DatagramSocket.java: Fixed typo.
2790
2791 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2792
2793         PR libgcj/17081
2794         * java/net/URI.java (string): New field. Make all other fields
2795         transient.
2796         (readObject): Implemented.
2797         (writeObject): Implemented.
2798         (URI): Set 'string'.
2799
2800 2004-08-18  Bryce McKinlay  <mckinlay@redhat.com>
2801
2802         PR libgcj/17079
2803         * java/util/logging/Handler.java (isLoggable): Accept record if its
2804         log level equals the threshold level. From Robin Green.
2805
2806 2004-08-18  David Daney  <ddaney@avtrex.com>
2807
2808         * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend 
2809         instead of sigwait.
2810
2811 2004-08-17  Michael Koch  <konqueror@gmx.de>
2812
2813         * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2814         * Makefile.in: Regenerated.
2815
2816 2004-08-16  Tom Tromey  <tromey@redhat.com>
2817
2818         PR java/8473:
2819         * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2820
2821 2004-08-16  Michael Koch  <konqueror@gmx.de>
2822
2823         * Makefile.am
2824         (math_c_files): Renamed from c_files.
2825         (math_c_source_files): Renamed from c_source_files.
2826         * Makefile.in,
2827         gcj/Makefile.in,
2828         include/Makefile.in,
2829         testsuite/Makefile.in: Regenerated.
2830
2831 2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
2832
2833         * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2834         to avoid autoconf warning.
2835         * configure: Rebuilt.
2836
2837 2004-08-14  Andreas Tobler  <a.tobler@schweiz.ch>
2838
2839         * java/net/natInetAddressPosix.cc (lookup): Reflect rename of 
2840         localhostAddress to loopbackAddress.
2841         * java/net/natInetAddressWin32.cc (lookup): Likewise.
2842
2843 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2844
2845         * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I 
2846         boehm-gc's include dirs.
2847         * configure: Rebuilt.
2848         * include/boehm-gc.h: Include gc_config.h.
2849
2850 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2851
2852         * java/net/InetAddress.java (loopbackAddress): Renamed from 
2853         localhostAddress.
2854         (getByName): Return loopback address for null hostname, without
2855         security check. Use lookup(), not getAllByName.
2856         (getAllByName): Return loopback address for null hostname, without
2857         security check.
2858         * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2859         check here.
2860
2861 2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
2862
2863         PR libgcj/17020
2864         Reported by Robin Green.
2865         * defineclass.cc (handleField): Don't throw exception on unrecognised
2866         modifier. Add FIXME comments for spec compliance.
2867         (handleMethod): Likewise.
2868
2869 2004-08-10  Hans Boehm <Hans.Boehm@hp.com>
2870
2871         PR libgcj/16662
2872         * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2873         (Almost everywhere): add LOG calls, fix, add comments.
2874         (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2875         Add explicit check for LOCKED bit in slow case (PR 16662).
2876         (_Jv_MonitorExit): Add casts in debug-only code.
2877         Always release LOCKED bit before throwing exception.
2878         (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2879         isn't.  Handle easy cases without lock acquisition.
2880         (Object::wait): Use NotifyAll for lock inflation.
2881
2882 2004-08-12  David Daney  <ddaney@avtrex.com>
2883
2884         * testsuite/libjava.lang/Process_1.java: New test.
2885         * testsuite/libjava.lang/Process_2.java: New test.
2886         * testsuite/libjava.lang/Process_3.java: New test.
2887         * testsuite/libjava.lang/Process_4.java: New test.
2888         * testsuite/libjava.lang/Process_5.java: New test.
2889         * testsuite/libjava.lang/Process_6.java: New test.
2890         * testsuite/libjava.lang/Process_1.out: Expected result.
2891         * testsuite/libjava.lang/Process_2.out: Expected result.
2892         * testsuite/libjava.lang/Process_3.out: Expected result.
2893         * testsuite/libjava.lang/Process_4.out: Expected result.
2894         * testsuite/libjava.lang/Process_5.out: Expected result.
2895         * testsuite/libjava.lang/Process_6.out: Expected result.
2896
2897 2004-08-12  David Daney  <ddaney@avtrex.com>
2898
2899         PR libgcj/11801
2900         * java/lang/PosixProcess.java: Rewrote.
2901         * java/lang/natPosixProcess.cc: Rewrote.
2902         * java/lang/Runtime.java (execInternal): Declare throws IOException.
2903         * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2904         * posix-threads.cc (block_sigchld) New function.
2905         (_Jv_ThreadRegister) Use it.
2906         (_Jv_ThreadStart) Use it.
2907         * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2908         * Makefile.am: ... to specify extra native headers.
2909         * configure: Regenerated.
2910         * include/config.h: Regenerated.
2911         * Makefile.in: Regenerated.
2912         * gcj/Makefile.in: Regenerated.
2913         * include/Makefile.in: Regenerated.
2914         * testsuite/Makefile.in: Regenerated.
2915
2916 2004-08-12  Diego Novillo  <dnovillo@redhat.com>
2917
2918         PR tree-optimization/16867
2919         * testsuite/libjava.lang/PR16867.java: New test.
2920
2921 2004-08-09  Per Bothner  <per@bothner.com>
2922
2923         * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2924         with private fields and access methods.
2925         (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2926         * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2927         * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2928         ( _Jv_makeUtf8Const): Rewrite using new constructors.
2929         (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2930         * defineclass.cc: Use new _Utf8Const access/convenience methods.
2931         * jni.cc: Likewise.
2932         * resolve.cc: Likewise.
2933         * gcj/field.h: Likewise.
2934         * include/jvm.h: Likewise.
2935         * java/lang/Class.h: Likewise.
2936         * java/lang/natClass.cc: Likwise.
2937         * java/lang/natClassLoader.cc: Likewise
2938         * java/lang/reflect/natMethod.cc: Likewise
2939         * verify.cc: Likewise.
2940         (_Jv_BytecodeVerifier::make_utf8_const):  Optimize.
2941         (~_Jv_BytecodeVerifier):  Don't need second _Jv_Free call.
2942
2943 2004-08-10  Andrew Haley  <aph@redhat.com>
2944
2945         * testsuite/libjava.lang/err14.java: New file.
2946         * testsuite/libjava.lang/err14.out: New file.
2947
2948 2004-08-05  Andreas Tobler  <a.tobler@schweiz.ch>
2949
2950         * Makefile.am: Fix missing rename from x_nat_headers to 
2951         xlib_nat_headers.
2952         * Makefile.in: Regenerated.
2953
2954 2004-08-04  Andrew Haley  <aph@redhat.com>
2955
2956         * java/security/BasicPermission.java: Don't check wildcards.
2957
2958 2004-08-04  Thomas Fitzsimmons <fitzsim@redhat.com>
2959             Michael Koch  <konqueror@gmx.de>
2960
2961         * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2962         * configure.in: Replaced all usages of AC_LINK_FILES by
2963         AC_CONFIG_LINKS.
2964         * aclocal.m4,
2965         configure: Regenerated.
2966
2967 2004-08-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
2968             Michael Koch  <konqueror@gmx.de>
2969
2970         * acconfig.h: Removed.
2971         * Makefile.am: Rename variables for xlib peer to include xlib and
2972         gtk_c_headers to gtk_jni_headers.
2973         * Makefile.in: Regenerated.
2974
2975 2004-08-04  Andrew Haley  <aph@redhat.com>
2976
2977         * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2978         debugging.
2979
2980 2004-08-03  Nathanael Nerode  <neroden@gcc.gnu.org>
2981
2982         * configure.in: Eliminate uses of changequote (mostly by quoting []).
2983         Replace most top level 'dnl' comments with '#' comments, conforming
2984         to new autoconf style.  Use AS_HELP_STRING throughout; improve a few
2985         help strings.
2986         * configure: Rebuilt.
2987
2988 2004-07-17  Nathanael Nerode  <neroden@gcc.gnu.org>
2989
2990         * acinclude.m4: Include no-executables.m4.
2991         * aclocal.m4: Rebuild.
2992         * configure.in: Convert to the autoconf 2.59 version of
2993         of the no-executables hack, and also of the nonstandard CXX
2994         hack and the multilibbed CC and CXX hack.  Change prerequisite
2995         to autoconf 2.59.
2996         * configure: Rebuild with autoconf 2.59.  (Woo-hoo!)
2997         * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2998         testsuite/Makefile.in: Regenerate.
2999
3000 2004-08-03  Tom Tromey  <tromey@redhat.com>
3001
3002         * jni.cc: Reindented.
3003
3004 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3005
3006         * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
3007
3008 2004-08-02  Bryce McKinlay  <mckinlay@redhat.com>
3009
3010         * testsuite/libjava.compile/PR16701.java: New test.
3011
3012 2004-08-01  Andrew John Hughes  <gnu_andrew@member.fsf.org>
3013
3014         * java/util/Collection.java, java/util/List.java,
3015         java/util/Map.java, java/util/Set.java,
3016         java/util/SortedMap.java, java/util/SortedSet.java:
3017         Added additional exceptions to documentation.
3018
3019 2004-08-01  Danny Smith  <dannysmith@users.sourceforge.net>
3020
3021         PR libgcj/16814
3022         * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
3023         * configure. Regenerate.
3024         * include/win32.h: Explicitly include winsock2.h
3025         * win32.cc (_Jv_platform_initialize): Require version 2.2 of
3026         Winsock api.
3027
3028 2004-07-30  Michael Koch  <konqueror@gmx.de>
3029
3030         * java/util/zip/GZIPInputStream.java
3031         (GZIPInputStream): Increase buffer size to 4k.
3032         * java/util/zip/GZIPOutputStream.java
3033         (GZIPOutputStream): Likewise.
3034         * java/util/zip/Inflater.java
3035         (setInput): Merged formating with GNU classpath.
3036         * java/util/zip/InflaterInputStream.java
3037         (InflaterInputStream): Increase buffer size to 4k.
3038         (fill): Throw exception if stream ends early.
3039         (read): Merged endless-loop with GNU classpath.
3040         (skip): Increase buffer size to 2k.
3041
3042 2004-07-30  Michael Koch  <konqueror@gmx.de>
3043
3044         * gnu/java/awt/EmbeddedWindow.java
3045         (addNotify): Use AccessController to allow execution of privileged
3046         code.
3047
3048 2004-07-29  Michael Koch  <konqueror@gmx.de>
3049
3050         * gnu/java/lang/MainThread.java:
3051         Explicitely import used classes.
3052         (args): Make it type String[].
3053
3054 2004-07-29 Dalibor Topic <robilad@kaffe.org>
3055
3056         * gnu/java/awt/ComponentDataBlitOp.java,
3057         gnu/java/beans/ExplicitBeanInfo.java,
3058         gnu/java/beans/IntrospectionIncubator.java,
3059         gnu/java/beans/editors/ColorEditor.java,
3060         gnu/java/beans/editors/FontEditor.java,
3061         gnu/java/beans/editors/NativeBooleanEditor.java,
3062         gnu/java/beans/editors/NativeByteEditor.java,
3063         gnu/java/beans/editors/NativeDoubleEditor.java,
3064         gnu/java/beans/editors/NativeFloatEditor.java,
3065         gnu/java/beans/editors/NativeIntEditor.java,
3066         gnu/java/beans/editors/NativeLongEditor.java,
3067         gnu/java/beans/editors/NativeShortEditor.java,
3068         gnu/java/beans/editors/StringEditor.java,
3069         gnu/java/io/ClassLoaderObjectInputStream.java,
3070         gnu/java/io/decode/Decoder.java,
3071         gnu/java/io/encode/Encoder.java,
3072         gnu/java/lang/ClassHelper.java,
3073         gnu/java/locale/Calendar.java,
3074         gnu/java/locale/Calendar_de.java,
3075         gnu/java/locale/Calendar_en.java,
3076         gnu/java/locale/Calendar_nl.java,
3077         gnu/java/locale/LocaleInformation_de.java,
3078         gnu/java/locale/LocaleInformation_en.java,
3079         gnu/java/locale/LocaleInformation_nl.java:
3080         Cleaned up imports.
3081
3082 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3083
3084         * README: Remove obsolete info. Update bug URL.
3085         * THANKS: Updated.
3086         * NEWS: Updated with news up to GCC 3.4 release.
3087
3088 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3089
3090         * gnu/java/security/action/GetPropertyAction.java (setParameters):
3091         Renamed from 'setName'. New 2-argument form with default value.
3092         (run): Pass default 'value' parameter to System.getProperty().
3093         * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
3094         typos.
3095         * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
3096         not 'setName'.
3097
3098 2004-07-28  Bryce McKinlay  <mckinlay@redhat.com>
3099
3100         * configure.in: Check for minimum GTK version 2.4 requirement.
3101         * configure: Rebuilt.
3102
3103 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3104
3105         * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
3106         * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
3107         Reduce sleep time.
3108         * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
3109         compiler bug.
3110         * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email 
3111         address. Reduce sleep times. Synchronize with target threads before
3112         attempting to interrupt them. Don't try to calibrate yeild count,
3113         instead, always loop for a fixed time.
3114         * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
3115         * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
3116         * testsuite/libjava.lang/Thread_Wait.java: Likewise.
3117         * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
3118         * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
3119         * testsuite/libjava.lang/pr179.java: Likewise.
3120         * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
3121         time. Remove upper bounds check on sleep time. 
3122
3123 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3124
3125         * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
3126         * testsuite/libjava.lang/Thread_HoldsLock.out: New.     
3127
3128 2004-07-27  Bryce McKinlay  <mckinlay@redhat.com>
3129
3130         * java/io/File.java (toURI): Throw RuntimeException, not 
3131         InternalError.
3132         * java/lang/Runtime.java (exit): Qualify static sleep() call with
3133         class name, not instance.
3134
3135 2004-07-24  Bryce McKinlay  <mckinlay@redhat.com>
3136
3137         * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
3138         and gnu/java/security/action/SetAccessibleAction.java.
3139         * Makefile.in: Rebuilt.
3140
3141 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3142
3143         * prims.cc (_Jv_InitPrimClass): Don't create an array class.
3144         (_Jv_CreateJavaVM): Don't pass array vtable parameter to
3145         _Jv_InitPrimClass.
3146         (DECLARE_PRIM_TYPE): Don't declare array vtables.
3147         * include/jvm.h (struct _Jv_ArrayVTable): Removed.
3148         * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
3149
3150 2004-07-23  Thomas Fitzsimmons  <fitzsim@redhat.com>
3151
3152         * Makefile.am: Replace jar, rmic and rmiregistry references with
3153         gjar, grmic and grmiregistry.
3154         * configure.in: Likewise.
3155         * Makefile.in: Regenerate.
3156         * configure: Likewise.
3157         * gcj/Makefile.in: Likewise.
3158         * include/Makefile.in: Likewise.
3159         * testsuite/Makefile.in: Likewise.
3160
3161 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3162
3163         * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
3164         for privileged getProperty calls.
3165         * java/io/ObjectOutputStream.java (getField): No longer static. Use
3166         SetAccessibleAction instead of anonymous class for doPrivileged call.
3167         (getMethod): Likewise.
3168         (setAccessible): New field. PrivilegedAction object to use when
3169         calling setAccessible.
3170         * java/io/ObjectStreamClass.java (calculateOffsets): Use
3171         SetAccessibleAction instead of anonymous class for diPrivileged call.
3172         (setFields): Likewise.
3173         (getClassUID): Likewise.
3174         (findMethod): Likewise.
3175         * gnu/java/security/action/GetPropertyAction.java: New class.
3176         * gnu/java/security/action/SetAccessibleAction.java: New class. 
3177
3178 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3179
3180         * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
3181         for final fields.
3182         * testsuite/libjava.lang/Serialization.java: New test.
3183         * testsuite/libjava.lang/Serialization.out: New.
3184
3185 2004-07-23  Bryce McKinlay  <mckinlay@redhat.com>
3186
3187         * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
3188         missed in last commit.
3189
3190 2004-07-23  Mark Wielaard  <mark@klomp.org>
3191
3192         * java/lang/System.java (static): Set http.agent system property when
3193         not yet set.
3194         * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
3195         from system property inside AccessController.doPrivileged() call.
3196         (proxyPort): Made package private.
3197         (proxyInUse): Likewise.
3198         (proxyHost): Likewise.
3199         (userAgent): Likewise.
3200
3201 2004-07-23  Mark Wielaard  <mark@klomp.org>
3202
3203         * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3204         implementation.
3205
3206 2004-07-22  Bryce McKinlay  <mckinlay@redhat.com>
3207
3208         * Makefile.am (ordinary_java_source_files): Add
3209         DefaultContentHandlerFactory.java.
3210         * Makefile.in: Rebuilt.
3211         * java/net/URLConnection.java (defaultFactory): New field.
3212         (getContent): 
3213         (getContentHandler): Renamed from 'setContentHandler'. Try 
3214         defaultFactory after user-set factory, if any. Search for content 
3215         handler implementations in gnu.java.net.content, not gnu.gcj.content.
3216         * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3217         Implemented.
3218         (getLastModified): Implemented.
3219         (getPermission): Create file permission here, instead of in
3220         constructor.
3221         * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3222         Implemented.
3223         * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3224         Implemented.
3225         (getLastModified): Implemented.
3226         * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3227         Default implementation.
3228         * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3229         Implement using GdkPixbufDecoder.
3230         
3231 2004-07-21  Michael Koch  <konqueror@gmx.de>
3232
3233         * javax/swing/JTextArea.java
3234         (setLineWrap): Fire property change event after new value is set.
3235         (setTabSize): Likewise.
3236
3237 2004-07-21  Michael Koch  <konqueror@gmx.de>
3238
3239         * javax/swing/JTable.java
3240         (autoCreateColumnsFromModel): New field.
3241         (autoResizeMode): Likewise.
3242         (cellEditor): Likewise.
3243         (cellSelectionEnabled): Likewise.
3244         (columnModel): Likewise.
3245         (dataModel): Likewise.
3246         (defaultEditorsByColumnClass): Likewise.
3247         (defaultRenderersByColumnClass): Likewise.
3248         (editingColumn): Likewise.
3249         (editingRow): Likewise.
3250         (gridColor): Likewise.
3251         (preferredViewportSize): Likewise.
3252         (rowHeight): Likewise.
3253         (rowMargin): Likewise.
3254         (rowSelectionAllowed): Likewise.
3255         (selectionBackground): Likewise.
3256         (selectionForeground): Likewise.
3257         (selectionModel): Likewise.
3258         (showHorizontalLines): Likewise.
3259         (showVerticalLines): Likewise.
3260         (tableHeader): Likewise.
3261         (JTable): Implemented.
3262         (getColumnModel): Likewise.
3263         (getSelectedRow): Likewise.
3264         (getSelectionModel): Likewise.
3265         (setModel): Likewise.
3266         (setSelectionModel): Likewise.
3267         (createScrollPaneForTable): New method.
3268         (createDefaultDataModel): Likewise.
3269         (createDefaultListSelectionModel): Likewise.
3270         (getModel): Likewise.
3271         (getTableHeader): Likewise.
3272         (setTableHeader): Likewise.
3273         (getColumnSelectionAllowed): Likewise.
3274         (setColumnSelectionAllowed): Likewise.
3275         (getRowSelectionAllowed): Likewise.
3276         (setRowSelectionAllowed): Likewise.
3277         (getAutoResizeMode): Likewise.
3278         (setAutoResizeMode): Likewise.
3279         (getColumnCount): Likewise.
3280         (getRowCount): Likewise.
3281         (getCellRenderer): Likewise.
3282         * javax/swing/JTree.java
3283         (cellRenderer): New field.
3284         (editable): Likewise.
3285         (rootVisible): Likewise.
3286         (showsRootHandles): Likewise.
3287         (getModel): New method.
3288         (setModel): Likewise.
3289         (isEditable): Likewise.
3290         (setEditable): Likewise.
3291         (isRootVisbile): Likewise.
3292         (setRootVisible): Likewise.
3293         (getShowsRootHandles): Likewise.
3294         (setShowRootHandles): Likewise.
3295         (getCellRenderer): Likewise.
3296         (setCellRenderer): Likewise.
3297
3298 2004-07-21  Michael Koch  <konqueror@gmx.de>
3299
3300         * javax/swing/JFormattedTextField.java
3301         (setDocument): Implemented.
3302         * javax/swing/JRootPane.java:
3303         Fixed javadocs.
3304         * javax/swing/JTable.java
3305         (getDefaultRenderer): New method.
3306         * javax/swing/JTextField.java
3307         (setFont): Likewise.
3308         (getPreferredSize): Likewise.
3309         * javax/swing/JToggleButton.java
3310         (getAccessibleContext): Fix javadoc.
3311         * javax/swing/JTree.java:
3312         Add some javadocs.
3313         * javax/swing/JViewport.java:
3314         Likewise.
3315
3316 2004-07-21  David Jee  <djee@redhat.com>
3317
3318         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3319         Collect all native method declaration at the top.
3320         (create): Set the filename filter if necessary.
3321         (setDirectory): Call nativeSetDirectory().
3322         (setFilenameFilter): Implement.
3323         (filenameFilterCallback): New method.
3324         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3325         (create): Configure dialog to show hidden files.
3326         (filenameFilterCallback): New function. 
3327         (nativeSetFilenameFilter): New function.
3328         (nativeSetDirectory): New function.
3329
3330 2004-07-21  Kim Ho  <kho@redhat.com>
3331
3332         * javax/swing/plaf/basic/BasicSliderUI.java:
3333         Ran Jalopy.
3334         (paintTrack): Fill the track before painting
3335         the borders.
3336
3337 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3338
3339         patch from Roman Kennke <roman@ontographics.com>
3340         * javax/swing/Spring.java: New file.
3341         * javax/swing/SpringLayout.java: New file.
3342         * Makefile.am: Add new files.
3343         * Makefile.in: Regenerate.
3344
3345 2004-07-21  Graydon Hoare  <graydon@redhat.com>
3346
3347         * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3348         * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3349         * javax/swing/ScrollPaneLayout.java: Likewise.
3350
3351 2004-07-21  Kim Ho  <kho@redhat.com>
3352
3353         * javax/swing/DefaultDesktopManager.java:
3354         (findMinimum): Removed.
3355         (resizeFrame): Trust the UI to pass valid 
3356         bounds.
3357         * javax/swing/JOptionPane.java:
3358         Implemented showInternalXXXDialog methods.
3359         (startModal): New method.
3360         * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3361         (BorderListener::mouseDragged): Verify that the new 
3362         bounds are valid before passing them to the DesktopManager.
3363         (preferredLayoutSize): Delegate
3364         to getSize.
3365         (minimumLayoutSize): Ditto.
3366         (getSize): New method.
3367         (GlassPaneDispatcher): Reimplemented by copying 
3368         a stripped down LightweightDispatcher from Container.
3369         (getMinimumSize): Call minimumLayoutSize.
3370         * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3371         Ran Jalopy.
3372         (mousePressed): Add ability to properly close 
3373         JInternalFrames.
3374         * javax/swing/plaf/basic/BasicToolBarUI.java:
3375         (DragWindow): Set owner for DragWindow.
3376
3377 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3378
3379         * java/awt/image/ShortLookupTable.java: New file.
3380         * java/awt/image/ByteLookupTable.java: New file.
3381         * Makefile.am: Added new files.
3382         * Makefile.in: Regenerated.
3383
3384 2004-07-21  David Jee  <djee@redhat.com>
3385
3386         * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3387         (create(GtkContainerPeer)): New native method.
3388         (create()): Call native create(), passing in the parent frame
3389         as the paramter. Natively set the current file and directory.
3390         (setFile): Construct an absolute filename before passing it to
3391         the native peer.
3392         (nativeGetDirectory): New method.
3393         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3394         (window_closed): Removed.
3395         (ok_clicked): Likewise.
3396         (cancel_clicked): Likewise.
3397         (handle_response): New method.
3398         (create): Use GtkFileChooserDialog.
3399         (connectSignals): Connect to handle_response.
3400         (nativeGetDirectory): New method.
3401         (nativeSetFile): Use GtkFileChooserDialog.
3402
3403 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3404
3405         * java/awt/image/LookupTable.java: New file.
3406         * Makefile.am: Added new file.
3407         * Makefile.in: Regenerated.
3408
3409 2004-07-21  Jerry Quinn  <jlquinn@optonline.net>
3410
3411         * java/awt/image/Kernel.java: New file.
3412         * Makefile.am: Added new file.
3413         * Makefile.in: Regenerated.
3414
3415 2004-07-21  Olga Rodimina  <rodimina@redhat.com>
3416
3417         * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3418         * javax/swing/JMenu.java: Likewise.
3419         * javax/swing/JMenuBar.java: Likewise.
3420         (MARGIN_CHANGED_PROPERTY): New property.
3421         (setMargin): Implemented.
3422         * javax/swing/JMenuItem.java: Fixed javadocs.
3423         * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3424         (LABEL_CHANGED_PROPERTY): New property.
3425         (add): changed to use createActionComponent.
3426         (createActionComponent): Implemented.   
3427         (setLabel): Fire PropertyChangeEvent if label property
3428         changes.
3429         * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3430         * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3431         (ContainerHandler): Repaint if margin property has changed.
3432         * javax/swing/plaf/basic/BasicMenuItemUI.java:
3433         (installUI): Call installComponents().
3434         (uninstallUI): Call uinstallComponents().
3435         * javax/swing/plaf/basic/BasicMenuUI.java:
3436         Fixed javadocs.
3437         * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3438         Likewise.
3439
3440 2004-07-21  Kim Ho  <kho@redhat.com>
3441
3442         * javax/swing/plaf/basic/BasicToolBarUI.java:
3443         (DragWindow): Use the right constructor.
3444
3445 2004-07-21  Kim Ho  <kho@redhat.com>
3446
3447         * javax/swing/JToolBar.java:
3448         (layoutContainer): Use getComponents.
3449         * javax/swing/plaf/basic/BasicToolBarUI.java:
3450         (DragWindow): Don't use SwingUtilities' 
3451         getOwnerFrame
3452         (ToolBarDialog): ditto.
3453
3454 2004-07-21  Kim Ho  <kho@redhat.com>
3455
3456         * javax/swing/JRootPane.java:
3457         Ran jalopy.
3458         (layoutContainer): Set the glasspane's size to 
3459         be the same as the content pane.
3460         (createGlassPane): Set opaque property to false.
3461
3462 2004-07-21  Thomas Fitzsimmons  <fitzsim@redhat.com>
3463
3464         * java/awt/Component.java (requestFocus()): Don't handle Panels
3465         specially.
3466         (requestFocus(boolean)): Likewise.
3467         (requestFocusInWindow(boolean)): Likewise.
3468         * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3469         Set GTK_CAN_FOCUS flag.
3470
3471 2004-07-21  Kim Ho  <kho@redhat.com>
3472
3473         * Makefile.am: Added new file.
3474         * Makefile.in: Regenerated.
3475         * gcj/Makefile.in: Regenerated.