]> gcc.gnu.org Git - gcc.git/blame - libjava/ChangeLog
dbxout.c (DBX_FINISH_SYMBOL): Add asm_out_file argument.
[gcc.git] / libjava / ChangeLog
CommitLineData
be3d702c
KK
12004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
2
3 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
4 for all sh*-*-linux* targets.
5 * configure: Regenerate.
6 * include/sh-signal.h: New file.
7
2989a2f5
KI
82004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
9
10 * java/lang/ieeefp.h: Add m32r support.
11
b3a45023
AS
122004-10-20 Andreas Schwab <schwab@suse.de>
13
14 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
15 to uaddr, not int.
16 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
17 Likewise.
18
a904937b
MK
192004-10-20 Michael Koch <konqueror@gmx.de>
20
21 * javax/print/attribute/standard/ColorSupported.java,
22 javax/print/attribute/standard/Compression.java,
23 javax/print/attribute/standard/Copies.java,
24 javax/print/attribute/standard/CopiesSupported.java,
25 javax/print/attribute/standard/DateTimeAtCompleted.java,
26 javax/print/attribute/standard/DateTimeAtCreation.java,
27 javax/print/attribute/standard/DateTimeAtProcessing.java,
28 javax/print/attribute/standard/DocumentName.java,
29 javax/print/attribute/standard/Fidelity.java,
30 javax/print/attribute/standard/Finishings.java,
31 javax/print/attribute/standard/JobHoldUntil.java,
32 javax/print/attribute/standard/JobImpressions.java,
33 javax/print/attribute/standard/JobImpressionsCompleted.java,
34 javax/print/attribute/standard/JobImpressionsSupported.java,
35 javax/print/attribute/standard/JobKOctets.java,
36 javax/print/attribute/standard/JobKOctetsProcessed.java,
37 javax/print/attribute/standard/JobKOctetsSupported.java,
38 javax/print/attribute/standard/JobMediaSheets.java,
39 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
40 javax/print/attribute/standard/JobMediaSheetsSupported.java,
41 javax/print/attribute/standard/JobMessageFromOperator.java,
42 javax/print/attribute/standard/JobName.java,
43 javax/print/attribute/standard/JobOriginatingUserName.java,
44 javax/print/attribute/standard/JobPriority.java,
45 javax/print/attribute/standard/JobPrioritySupported.java,
46 javax/print/attribute/standard/JobSheets.java,
47 javax/print/attribute/standard/JobState.java,
48 javax/print/attribute/standard/JobStateReason.java,
49 javax/print/attribute/standard/JobStateReasons.java,
50 javax/print/attribute/standard/Media.java,
51 javax/print/attribute/standard/MultipleDocumentHandling.java,
52 javax/print/attribute/standard/NumberOfDocuments.java,
53 javax/print/attribute/standard/NumberOfInterveningJobs.java,
54 javax/print/attribute/standard/NumberUp.java,
55 javax/print/attribute/standard/NumberUpSupported.java,
56 javax/print/attribute/standard/OrientationRequested.java,
57 javax/print/attribute/standard/OutputDeviceAssigned.java,
58 javax/print/attribute/standard/PDLOverrideSupported.java,
59 javax/print/attribute/standard/PageRanges.java,
60 javax/print/attribute/standard/PagesPerMinute.java,
61 javax/print/attribute/standard/PagesPerMinuteColor.java,
62 javax/print/attribute/standard/PrintQuality.java,
63 javax/print/attribute/standard/PrinterInfo.java,
64 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
65 javax/print/attribute/standard/PrinterLocation.java,
66 javax/print/attribute/standard/PrinterMakeAndModel.java,
67 javax/print/attribute/standard/PrinterMessageFromOperator.java,
68 javax/print/attribute/standard/PrinterMoreInfo.java,
69 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
70 javax/print/attribute/standard/PrinterName.java,
71 javax/print/attribute/standard/PrinterStateReason.java,
72 javax/print/attribute/standard/PrinterStateReasons.java,
73 javax/print/attribute/standard/PrinterURI.java,
74 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
75 javax/print/attribute/standard/RequestingUserName.java:
76 Reorganized imports and removed redundant final modifiers.
77
ccc89383
MK
782004-10-20 Michael Koch <konqueror@gmx.de>
79
80 * javax/security/sasl/SaslClient.java,
81 javax/security/sasl/SaslClientFactory.java,
82 javax/security/sasl/SaslException.java,
83 javax/security/sasl/SaslServer.java,
84 javax/security/sasl/SaslServerFactory.java:
85 Remvoed CVS tags.
86
b99bf96a
MK
872004-10-20 Michael Koch <konqueror@gmx.de>
88
89 * javax/security/auth/login/NullConfiguration.java,
90 javax/security/auth/x500/X500Principal.java,
91 javax/security/cert/X509Certificate.java,
92 javax/security/sasl/AuthenticationException.java,
93 javax/security/sasl/AuthorizeCallback.java,
94 javax/security/sasl/RealmCallback.java,
95 javax/security/sasl/RealmChoiceCallback.java,
96 javax/security/sasl/Sasl.java,
97 javax/security/sasl/SaslClient.java,
98 javax/security/sasl/SaslClientFactory.java,
99 javax/security/sasl/SaslException.java,
100 javax/security/sasl/SaslServer.java,
101 javax/security/sasl/SaslServerFactory.java:
102 Cleaned up import statements and copyright notices.
103
659d8f1a
MK
1042004-10-20 Michael Koch <konqueror@gmx.de>
105
106 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
107
724c2517
MK
1082004-10-20 Michael Koch <konqueror@gmx.de>
109
110 * java/sql/Timestamp.java,
111 java/text/AttributedCharacterIterator.java,
112 java/text/AttributedString.java,
113 java/util/zip/CheckedOutputStream.java,
114 java/util/zip/DeflaterOutputStream.java,
115 java/util/zip/ZipFile.java,
116 javax/crypto/Cipher.java,
117 javax/crypto/ExemptionMechanismException.java,
118 javax/crypto/SecretKey.java,
119 javax/crypto/SecretKeyFactory.java,
120 javax/naming/directory/ModificationItem.java,
121 javax/naming/directory/SearchControls.java,
122 javax/naming/event/NamingListener.java,
123 javax/naming/ldap/Control.java,
124 javax/naming/ldap/ExtendedResponse.java,
125 javax/net/ssl/SSLSocketFactory.java:
126 Reorganized imports and fixed copyright headers.
127
fd460b77
MK
1282004-10-20 Michael Koch <konqueror@gmx.de>
129
130 * java/util/logging/ConsoleHandler.java,
131 java/util/logging/ErrorManager.java,
132 java/util/logging/FileHandler.java,
133 java/util/logging/Filter.java,
134 java/util/logging/Formatter.java,
135 java/util/logging/Handler.java,
136 java/util/logging/Level.java,
137 java/util/logging/LogManager.java,
138 java/util/logging/LogRecord.java,
139 java/util/logging/Logger.java,
140 java/util/logging/LoggingPermission.java,
141 java/util/logging/MemoryHandler.java,
142 java/util/logging/SimpleFormatter.java,
143 java/util/logging/SocketHandler.java,
144 java/util/logging/StreamHandler.java,
145 java/util/logging/XMLFormatter.java:
146 Standardized copyrigth header.
147
242b11bd
MK
1482004-10-20 Michael Koch <konqueror@gmx.de>
149
150 * java/security/AlgorithmParameterGenerator.java,
151 java/security/AlgorithmParameters.java,
152 java/security/DigestInputStream.java,
153 java/security/Identity.java,
154 java/security/KeyFactory.java,
155 java/security/KeyPairGenerator.java,
156 java/security/KeyStore.java,
157 java/security/MessageDigest.java,
158 java/security/MessageDigestSpi.java,
159 java/security/Policy.java,
160 java/security/SecureRandom.java,
161 java/security/Security.java,
162 java/security/Signature.java,
163 java/security/SignatureSpi.java,
164 java/security/cert/CertPathBuilder.java,
165 java/security/cert/CertPathValidator.java,
166 java/security/cert/CertStore.java,
167 java/security/cert/Certificate.java,
168 java/security/cert/CertificateFactory.java,
169 java/security/cert/PolicyQualifierInfo.java,
170 java/security/cert/TrustAnchor.java,
171 java/security/cert/X509CRL.java,
172 java/security/cert/X509CRLEntry.java,
173 java/security/cert/X509Certificate.java,
174 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
175 Import statements reorganized, some little formatting issues,
176 used java-style array declarations, added comments in empty catch
177 blocks.
178
2ddfd025
JF
1792004-10-18 Jeroen Frijters <jeroen@frijters.net>
180
181 * java/security/Security.java
182 (static): Use AccessController.doPrivileged to get system property.
183
691e8c0f
SM
1842004-10-18 Sven de Marothy <sven@physto.se>
185
186 * java/nio/ByteBufferHelper.java
187 (putDouble): Use Double.toRawLongBits instead.
188
bc2fed82
MW
1892004-10-18 Mark Wielaard <mark@klomp.org>
190 Andrew Haley <aph@redhat.com>
191
192 * testsuite/libjava.lang/ExtraClassLoader.java: New.
193
963ebe78
AH
1942004-10-18 Andrew Haley <aph@redhat.com>
195
196 PR java/18036:
197 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
198 and correct logic used to find interpreter.
199
e5871096
JF
2002004-10-18 Jeroen Frijters <jeroen@frijters.net>
201
202 * java/util/logging/LogManager.java
203 (findAncestor): Fixed IndexOutOfBoundsException.
204
0736f19f
MK
2052004-10-18 Michael Koch <konqueror@gmx.de>
206
207 * java/io/BufferedInputStream.java: Fixed @author tag.
208 (read): Simplified expression.
209 (read): Merged javadoc a bit more.
210 (read): Renamed 'remain' to 'totalBytesRead'.
211 * java/io/DataInputStream.java,
212 java/io/DataOutputStream.java,
213 java/io/ObjectInputStream.java,
214 java/io/ObjectOutputStream.java:
215 Reworked modifier order.
216
df397ce2
MK
2172004-10-18 Michael Koch <konqueror@gmx.de>
218
219 * java/net/Inet4Address.java: Merged file header and javadocs.
220 * java/net/Inet6Address.java: Likewise.
221 * java/net/InetAddress.java
222 (getCanonicalHostName): Create Inet4Address object instead of
223 InetAddress and add comment regarding IPv6.
224 (toString): Simplified.
225
2c661756
MK
2262004-10-18 Michael Koch <konqueror@gmx.de>
227
228 * gnu/java/net/protocol/http/Connection.java,
229 java/nio/MappedByteBufferImpl.java,
230 java/text/RuleBasedCollator.java,
231 java/util/ResourceBundle.java:
232 Reworked import statements.
233
2342004-10-18 Jeroen Frijters <jeroen@frijters.net>
235
236 * java/security/IdentityScope.java
237 (systemScope): Removed useless initializer.
238 * java/security/Policy.java
239 (currentPolicy): Likewise.
240
33308026
MK
2412004-10-18 Michael Koch <konqueror@gmx.de>
242
243 * java/lang/System.java: Revert accidential change.
244
2047d8e4
MK
2452004-10-18 Michael Koch <konqueror@gmx.de>
246
247 * java/lang/Math.java,
248 java/lang/Package.java,
249 java/lang/Runtime.java,
250 java/lang/StrictMath.java,
251 java/lang/System.java,
252 java/lang/Thread.java,
253 java/lang/ThreadLocal.java,
254 java/lang/Void.java:
255 Reworked import statements, HTML in javadocs and modifier orders.
256
36071b5c
JF
2572004-10-18 Jeroen Frijters <jeroen@frijters.net>
258
259 * java/util/Timer.java
260 (nr): Removed useless initializer.
261 * java/util/logging/LogRecord.java
262 (lastSeqNum): Likewise.
263 * javax/naming/spi/NamingManager.java
264 (icfb, ofb): Likewise.
265
73aab3de
MK
2662004-10-18 Michael Koch <konqueror@gmx.de>
267
268 * gnu/java/net/PlainDatagramSocketImpl.java:
269 Reworked import statements.
270 * gnu/java/security/provider/DSAParameters.java:
271 Fixed copyrigth years.
272 * java/net/JarURLConnection.java:
273 Fixed HTML in @author tags.
274
275
4e2721c3
MK
2762004-10-18 Michael Koch <konqueror@gmx.de>
277
278 * java/rmi/activation/ActivationSystem.java
279 (SYSTEM_PORT): Initialize with correct port number.
280
7b040d4c
MK
2812004-10-18 Michael Koch <konqueror@gmx.de>
282
283 * java/lang/reflect/Proxy.java: Improved javadocs.
284
2852004-10-18 Michael Koch <konqueror@gmx.de>
286
287 * java/lang/reflect/AccessibleObject.java
288 (checkPermission): Removed redundant final modifier.
289 (secureSetAccessible): Likewise.
290 * java/lang/reflect/Proxy.java:
291 Reworked import statements.
292 (generate): Removed redundant final modifier.
293 * java/lang/reflect/ReflectPermission.java:
294 Reorder package declaration and import statement.
295
2962004-10-18 Jeroen Frijters <jeroen@frijters.net>
297
298 * java/lang/reflect/Proxy.java
299 (count): Removed useless initializer.
300
05dfb0b0
MK
3012004-10-17 Michael Koch <konqueror@gmx.de>
302
303 * java/net/BindException.java,
304 java/net/ConnectException.java,
305 java/net/ContentHandler.java,
306 java/net/ContentHandlerFactory.java,
307 java/net/DatagramPacket.java,
308 java/net/DatagramSocket.java,
309 java/net/DatagramSocketImpl.java,
310 java/net/DatagramSocketImplFactory.java,
311 java/net/FileNameMap.java,
312 java/net/HttpURLConnection.java,
313 java/net/MalformedURLException.java,
314 java/net/MulticastSocket.java,
315 java/net/NetworkInterface.java,
316 java/net/NoRouteToHostException.java,
317 java/net/PasswordAuthentication.java,
318 java/net/PortUnreachableException.java,
319 java/net/ProtocolException.java,
320 java/net/ServerSocket.java,
321 java/net/Socket.java,
322 java/net/SocketException.java,
323 java/net/SocketImpl.java,
324 java/net/SocketImplFactory.java,
325 java/net/SocketOptions.java,
326 java/net/SocketPermission.java,
327 java/net/SocketTimeoutException.java,
328 java/net/URI.java,
329 java/net/URISyntaxException.java,
330 java/net/URL.java,
331 java/net/URLDecoder.java,
332 java/net/URLEncoder.java,
333 java/net/URLStreamHandler.java,
334 java/net/URLStreamHandlerFactory.java,
335 java/net/UnknownHostException.java,
336 java/net/UnknownServiceException.java:
337 Big import statement and @author tag cleanup.
338
3238d4f9
MK
3392004-10-17 Michael Koch <konqueror@gmx.de>
340
341 * gnu/java/security/OID.java,
342 gnu/java/security/provider/DSAParameters.java,
343 gnu/java/security/provider/DSASignature.java,
344 gnu/java/security/x509/X500DistinguishedName.java,
345 gnu/java/security/x509/X509CRL.java:
346 Import statements cleaned up.
347
410c47a4
MK
3482004-10-16 Michael Koch <konqueror@gmx.de>
349
350 * gnu/java/nio/NIODatagramSocket.java,
351 gnu/java/nio/ServerSocketChannelImpl.java:
352 Reorganized import statements.
353
86b28213
MK
3542004-10-16 Michael Koch <konqueror@gmx.de>
355
356 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
357 gnu/java/rmi/rmic/RMIC.java,
358 gnu/java/rmi/server/RMIHashes.java,
359 gnu/java/rmi/server/RMIObjectInputStream.java,
360 gnu/java/rmi/server/RMIObjectOutputStream.java,
361 gnu/java/rmi/server/UnicastConnection.java,
362 gnu/java/rmi/server/UnicastConnectionManager.java,
363 gnu/java/rmi/server/UnicastRemoteCall.java,
364 gnu/java/rmi/server/UnicastServer.java,
365 gnu/java/rmi/server/UnicastServerRef.java,
366 java/rmi/MarshalledObject.java,
367 java/rmi/Naming.java,
368 java/rmi/RMISecurityManager.java,
369 java/rmi/Remote.java,
370 java/rmi/activation/Activatable.java,
371 java/rmi/activation/ActivationDesc.java,
372 java/rmi/activation/ActivationGroup.java,
373 java/rmi/activation/ActivationGroupDesc.java,
374 java/rmi/activation/ActivationGroupID.java,
375 java/rmi/activation/ActivationID.java,
376 java/rmi/activation/ActivationInstantiator.java,
377 java/rmi/activation/ActivationMonitor.java,
378 java/rmi/activation/ActivationSystem.java,
379 java/rmi/activation/Activator.java,
380 java/rmi/dgc/DGC.java,
381 java/rmi/dgc/Lease.java,
382 java/rmi/dgc/VMID.java,
383 java/rmi/registry/LocateRegistry.java,
384 java/rmi/registry/Registry.java,
385 java/rmi/registry/RegistryHandler.java,
386 java/rmi/server/LoaderHandler.java,
387 java/rmi/server/LogStream.java,
388 java/rmi/server/ObjID.java,
389 java/rmi/server/Operation.java,
390 java/rmi/server/RMIClassLoader.java,
391 java/rmi/server/RMIClassLoaderSpi.java,
392 java/rmi/server/RMIClientSocketFactory.java,
393 java/rmi/server/RMIFailureHandler.java,
394 java/rmi/server/RMIServerSocketFactory.java,
395 java/rmi/server/RMISocketFactory.java,
396 java/rmi/server/RemoteCall.java,
397 java/rmi/server/RemoteObject.java,
398 java/rmi/server/RemoteRef.java,
399 java/rmi/server/RemoteServer.java,
400 java/rmi/server/RemoteStub.java,
401 java/rmi/server/ServerRef.java,
402 java/rmi/server/Skeleton.java,
403 java/rmi/server/SkeletonMismatchException.java,
404 java/rmi/server/UID.java,
405 java/rmi/server/UnicastRemoteObject.java,
406 java/rmi/server/Unreferenced.java:
407 File headers and import statements cleaned up.
408
d8d3480a
MK
4092004-10-16 Michael Koch <konqueror@gmx.de>
410
411 * libjava/gnu/java/nio/charset/UTF_16.java,
412 libjava/gnu/java/nio/charset/UTF_16BE.java,
413 libjava/gnu/java/nio/charset/UTF_16LE.java,
414 libjava/java/nio/ByteOrder.java,
415 libjava/java/nio/MappedByteBuffer.java,
416 libjava/java/nio/channels/Channels.java,
417 libjava/java/nio/channels/spi/SelectorProvider.java,
418 libjava/java/nio/charset/Charset.java:
419 Cleanup.
420
752ef873
MK
4212004-10-16 Michael Koch <konqueror@gmx.de>
422
423 * gnu/java/nio/charset/UTF_16Encoder.java
424 (UTF_16Encoder): Fixed maxBytesPerChar handling.
425
7af8968e
MK
4262004-10-16 Michael Koch <konqueror@gmx.de>
427
428 * java/math/BigDecimal.java, java/math/BigInteger.java:
429 Reorganized import statements, removed redundant and
430 reorganized modifiers.
431
f3bf8475
MK
4322004-10-16 Michael Koch <konqueror@gmx.de>
433
434 * gnu/java/beans/ExplicitBeanInfo.java:
435 Explicitely import java.awt.Image.
436 (getIcon): Fixed off-by-one error.
437
b08fd659
AH
4382004-10-15 Andrew Haley <aph@redhat.com>
439
440 * Makefile.am (nat_files, xlib_nat_files): New.
441 * Makefile.in: Regenerate.
442
ed674251
UW
4432004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
444
445 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
446 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
447
180a373d
AH
4482004-10-13 Andrew Haley <aph@redhat.com>
449
450 * interpret.cc (_Jv_InterpMethod::run): Initialize
451 _Jv_StartOfInterpreter.
452 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
453 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
454 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
455 _Unwind_FindEnclosingFunction to discover whether PC is within the
456 interpreter.
457
2abb138b
RO
4582004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
459
460 PR libgcj/17903:
461 * testsuite/libjava.lang/md5test.java: New file.
462 * testsuite/libjava.lang/md5test.out: Likewise.
463 * testsuite/libjava.lang/shatest.java: Likewise.
464 * testsuite/libjava.lang/shatest.out: Likewise.
465
169bb110
RH
4662004-10-11 Richard Henderson <rth@redhat.com>
467
468 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
469 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
470
0ba09d8f
BM
4712004-10-08 Bryce McKinlay <mckinlay@redhat.com>
472
473 * java/util/Calendar.java (set): Invalidate DST_OFFSET
474 field as a DST boundary may have been crossed.
475 * java/util/GregorianCalendar.java (add): Throw
476 IllegalArgumentException on attempt to add to DST_OFFSET or
477 ZONE_OFFSET fields. Update javadoc.
478
0d2e6ffe
MK
4792004-10-09 Michael Koch <konqueror@gmx.de>
480
481 * java/io/CharArrayWriter.java
482 (resize): Removed redundant 'final' modifier.
483 * java/io/DataInputStream.java
484 (readFully): Throw IndexOutOfBoundsException of len < 0.
485 * java/io/FileDescriptor.java,
486 java/io/FileInputStream.java,
487 java/io/FileOutputStream.java,
488 java/io/ObjectOutputStream.java,
489 java/io/ObjectStreamClass.java,
490 java/io/PipedInputStream.java,
491 java/io/RandomAccessFile.java:
492 Reorganized import statements.
493
f507003a
MK
4942004-10-09 Michael Koch <konqueror@gmx.de>
495
496 * gnu/java/rmi/rmic/RMIC.java,
497 gnu/java/rmi/server/RMIHashes.java,
498 gnu/java/rmi/server/RMIObjectInputStream.java,
499 gnu/java/rmi/server/UnicastConnection.java,
500 gnu/java/rmi/server/UnicastConnectionManager.java,
501 gnu/java/rmi/server/UnicastRemoteCall.java,
502 gnu/java/rmi/server/UnicastServerRef.java:
503 Reworked import statements and fixed file headers.
504
56d6e6b1
LR
5052004-10-04 Loren J. Rittle <ljrittle@acm.org>
506
507 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
508 emission rule.
509 * configure: Rebuilt.
510
02164889
TT
5112004-09-30 Tom Tromey <tromey@redhat.com>
512
acfeef9c 513 * java/text/MessageFormat.java (Field): Constructor now
02164889
TT
514 protected.
515
26f7abae
TT
5162004-09-30 Tom Tromey <tromey@redhat.com>
517
518 * javax/crypto/MacSpi.java: Fixed typo.
519
0aa36026
MK
5202004-09-30 Michael Koch <konqueror@gmx.de>
521
522 * java/net/InetAddress.java: Reformatted.
523 (loopback): Initialize with Inet4Address object.
524 (static): Initialize ANY_IF with Inet4Address object.
525 (InetAddress): Removed unused package-private constructor.
526
57da15a4
MK
5272004-09-30 Michael Koch <konqueror@gmx.de>
528
529 * java/beans/Beans.java,
530 java/beans/EventHandler.java,
531 java/beans/EventSetDescriptor.java,
532 java/beans/Introspector.java,
533 java/beans/PropertyEditorManager.java,
534 java/beans/beancontext/BeanContext.java,
535 java/beans/beancontext/BeanContextChild.java,
536 java/beans/beancontext/BeanContextChildSupport.java,
537 java/beans/beancontext/BeanContextMembershipEvent.java:
538 Reordered import statements and removed redundant modifiers.
539
c8dc36d6
TT
5402004-09-29 Tom Tromey <tromey@redhat.com>
541
26aed923
TT
542 PR libgcj/17715:
543 * Makefile.in: Rebuilt.
544 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
545 files.
546 (all_property_files): New macro.
547
c8dc36d6
TT
548 * Makefile.in: Rebuilt.
549 * Makefile.am (ordinary_java_source_files): Re-sorted.
550 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
551
bd1c8428
TT
5522004-09-28 Tom Tromey <tromey@redhat.com>
553
252d7884
TT
554 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
555
bd1c8428
TT
556 PR libgcj/17222:
557 * Makefile.am (libgcj.la): Restored.
558 * Makefile.in: Rebuilt.
559
95b88040
MK
5602004-09-28 Michael Koch <konqueror@gmx.de>
561
562 * java/net/URLConnection.java: Reformatted.
563 * java/net/URLClassLoader.java: Reformatted.
564 (getContent): Reordered return of content.
565 (getContentHandler): Don't check for null explicitely.
566
2c11433f
MK
5672004-09-27 Michael Koch <konqueror@gmx.de>
568
569 * java/io/BufferedInputStream.java
570 (BufferedInputStream): Added Jeroen Frijters to authors.
571 (count): Don't explicitely initialize with default value.
572 (pos): Likewise.
573 (marklimit): Likewise.
574 (read): Changed boolean expression to match GNU classpath' version.
575 (reset): Add proper message to exception.
576 (skip): Check for closed stream.
577 (refill): Likewise.
578
c5fe8107
PB
5792004-09-26 Per Bothner <per@bothner.com>
580
581 * prims.cc (unblock_signal): Annotate signum with __unused__ to
582 avoid warnings in the non-POSIX_VERSION case.
583 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
584 so place it inside an #if block.
585 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
586 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
587 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
588 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
589
08bc8777
PB
5902004-09-26 Per Bothner <per@bothner.com>
591
592 * prims.cc (process_gcj_properties): Optimization.
593
a22478ce
PB
5942004-09-26 Per Bothner <per@bothner.com>
595
596 * java/util/Collections.java (sort): Copy from array in forwards
597 order, rather than reverse order which may be much less efficient.
598
3bd2680e
MW
5992004-09-26 Mark Wielaard <mark@klomp.org>
600
601 * java/lang/System.java (properties): Make package private.
602 * java/lang/Throwable.java (StaticData.nl): Initialize through
603 directly accessing System.properties.getProperty().
604
605 * java/lang/Throwable.java (nl): Remove static field.
606 (StaticData): New private static inner class.
607 (stackTraceStringBuffer): Use StaticData.nl.
608
59c86e4b
CM
6092004-09-26 Casey Marshall <csm@gnu.org>
610
611 * java/security/ProtectionDomain.java
612 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
613 `true'.
614
615 * java/security/SecureClassLoader.java
616 (defineClass): make protection domain dynamically bound.
617 (getPermissions): call `getCurrentPolicy' to avoid permission
618 check.
619
ffe2e220
MW
6202004-09-25 Mark Wielaard <mark@klomp.org>
621
622 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
623 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
624 * Makefile.in: Regenerated.
625
626 * gcj/javaprims.h: Regenerated.
627
628 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
629 (getDefaultTimeZone): Make package private. Check that GMToffset
630 contains at least one digit.
631 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
632 VMTimeZone.
633 * util/VMTimeZone.java: New file with above methods.
634
635 * java/util/natTimeZone.cc: Removed (renamed).
636 * java/util/natVMTimeZone.cc: Added (renamed).
637
6382004-09-25 Jeroen Frijters <jeroen@frijters.net>
639
640 * java/util/TimeZone.java
641 (getDefaultTimeZone): Fixed test to distinguish between hours and
642 minutes in specified timezone.
643
9b2b6c0f
JF
6442004-09-25 Jeroen Frijters <jeroen@frijters.net>
645
646 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
647 handling of default package. (generate): Removed confused comments
648 and code about making Method and Field accessible.
649
4b2582f0
TT
6502004-09-25 Tom Tromey <tromey@redhat.com>
651
652 PR java/17500:
653 * testsuite/libjava.compile/pr17500.java: New file.
654
27a92d68
SB
6552004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
656 Mark Wielaard <mark@klomp.org>
657
658 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
659 * gnu/regexp/RETokenLookAhead.java: New file.
660
661 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
662 * Makefile.in: Regenerated.
663
20319d32
MK
6642004-09-25 Michael Koch <konqueror@gmx.de>
665
666 * java/io/ObjectStreamField.java:
667 Removed unused import statement.
668
0a08595a
TT
6692004-09-24 Tom Tromey <tromey@redhat.com>
670
013303df
TT
671 PR java/15656:
672 * testsuite/libjava.compile/pr15656.xfail: New file.
673 * testsuite/libjava.compile/pr15656.java: new file.
674
0a08595a
TT
675 PR java/16789:
676 * testsuite/libjava.lang/pr16789.out: New file.
677 * testsuite/libjava.lang/pr16789.java: New file.
678
0a41faf0
AH
6792004-09-24 Andrew Haley <aph@redhat.com>
680
681 PR java/16927
682 * testsuite/libjava.compile/AssertBug.java: New file.
683
c80a4b7e
CM
6842004-09-24 Casey Marshall <csm@gnu.org>
685
686 * java/util/PropertyPermissionCollection.java
687 (implies): avoid infinite loop.
688
7e53ab66
AJH
6892004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
690
691 * javax/security/auth/PrivateCredentialPermission.java
692 (PrivateCredentialPermission): added serialization UID
693
694
c7c671b9
IP
6952004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
696
697 * gnu/java/rmi/server/UnicastServer.java
698 (incomingMessageCall): Added code to handle Errors.
699 * gnu/java/rmi/server/UnicastServerRef.java
700 (incomingMessageCall): Added code to handle Errors.
701
702
66719604
TT
7032004-09-24 Tom Tromey <tromey@redhat.com>
704
705 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
706 (definedPackages): Likewise.
707
28c23a8c
MK
7082004-09-24 Michael Koch <konqueror@gmx.de>
709
710 * java/io/ObjectInputStream.java:
711 Re-ordered imports.
712
629a2d2b
CM
7132004-09-24 Casey Marshall <csm@gnu.org>
714
715 * java/io/ObjectInputStream.java (callReadMethod): re-throw
716 `ClassNotFoundException'.
717
73eb1309
JF
7182004-09-24 Jeroen Frijters <jeroen@frijters.net>
719
720 * java/io/ObjectInputStream.java (readObject): Delegate instantation
721 of Externalizable classes to ObjectStreamClass.
722 * java/io/ObjectStreamClass.java (newInstance): New method to
723 instantiate Externalizable (while ignoring the accessibility of
724 the constructor). (constructor): New field to cache the constructor.
725
8ac4bd37
MW
7262004-09-24 Mark Wielaard <mark@klomp.org>
727
728 * java/net/URL.java (systemClassLoader): New static field.
729 (getURLStreamHandler): Always use system/application classloader
730 for finding URLStreamhandler. Remove unecessary instanceof checks.
731
56a4b3e2
GL
7322004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
733
734 * java/net/URL.java
735 (set): This method now matches the behaviour of the JDK.
736 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
737
5bb3fc27
MK
7382004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
739
740 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
741
7422004-09-24 Jeroen Frijters <jeroen@frijters.net>
743
744 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
745 Don't set authority if host isn't specified.
746
9e54846f
MK
7472004-09-24 Michael Koch <konqueror@gmx.de>
748
749 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
750 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
751 * gnu/java/nio/VMPipe.java,
752 gnu/java/nio/VMSelector.java:
753 New files.
754 * gnu/java/nio/natPipeImplEcos.cc,
755 gnu/java/nio/natPipeImplPosix.cc,
756 gnu/java/nio/natPipeImplWin32.cc:
757 Ported to VMPipe.
758 * gnu/java/nio/natSelectorImplEcos.cc,
759 gnu/java/nio/natSelectorImplPosix.cc,
760 gnu/java/nio/natSelectorImplWin32.cc:
761 Ported to VMSelector.
762 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
763 gnu/java/nio/VMSelector.java.
764 * Makefile.in: Regenerated.
765
e6ab8dc2
JF
7662004-09-24 Jeroen Frijters <jeroen@frijters.net>
767
768 * java/lang/StackTraceElement.java
769 (className): Renamed field to declaringClass to be compatible
770 with Sun serialization format.
771
09bddb92
MK
7722004-09-23 Michael Koch <konqueror@gmx.de>
773
774 * java/applet/AppletContext.java,
775 java/applet/Applet.java,
776 java/applet/AppletStub.java,
777 java/applet/AudioClip.java:
778 Jalopied and checkstyle clean.
779
093942ac
MW
7802004-09-23 Mark Wielaard <mark@klomp.org>
781
782 * java/util/Collections.java
783 (binarySearch(List, Object, Comparator)): Explicitly
784 reverse direction in list iterator.
785 (rotate): Just return when list is empty.
786
53d26678
TT
7872004-09-23 Tom Tromey <tromey@redhat.com>
788
51c9fed9
TT
789 PR java/17329:
790 * testsuite/libjava.compile/pr17329.java: New file.
791
53d26678
TT
792 PR java/17380:
793 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
794 9.2-implicit-7.
795
5b7a26f6
KC
7962004-09-22 Kelley Cook <kcook@gcc.gnu.org>
797
798 * Makefile.am: Run aclocal with -I ../config
799 * acinclude.m4: Delete macros picked up from ../config and tidy.
800 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
801 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
802 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
803
54805b23
KC
8042004-09-22 Kelley Cook <kcook@gcc.gnu.org>
805
806 * aclocal.m4: Regenerate with aclocal 1.9.2.
807 * configure: Regenerate.
808 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
809 * include/Makefile.in, testsuite/Makefile.in: Likewise.
810
d0259e11
DD
8112004-09-22 David Daney <ddaney@avtrex.com>
812
813 PR libgcj/17623
814 * java/net/URL.java (URL): Copy userInfo from context.
815 (getUserInfo): Return cached userInfo if present.
816
aa8cb1ad
TT
8172004-09-22 Tom Tromey <tromey@redhat.com>
818
819 PR libgcj/6182:
820 * mauve-libgcj: Enable java.lang.Character tests.
821
733a7ed9
AT
8222004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
823
824 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
825 dependencies.
826 (lib_org_ietf_jgss_la_LIBADD): Likewise.
827 * Makefile.in: Regenerated.
828
44bffd9f
AT
8292004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
830
831 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
832 * configure: Regenerate.
833 * include/config.h.in: Likewise.
834 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
836 macro to gtkpeer.h.
837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
838 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
839 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
840 architectures.
841 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
842 Likewise.
843
ecd16bf6
TT
8442004-09-22 Tom Tromey <tromey@redhat.com>
845
846 PR libgcj/14446:
847 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
848 when comparing CRCs.
849 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
850 field.
851 (read()): New overload.
852
3a3d0225
TT
8532004-09-21 Tom Tromey <tromey@redhat.com>
854
855 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
856 Indentation fix.
857
93880692
MK
8582004-09-21 Michael Koch <konqueror@gmx.de>
859
860 * java/net/Socket.java
861 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
862
448a698b
CM
8632004-09-21 Casey Marshall <csm@gnu.org>
864
865 * javax/crypto/MacSpi.java (clone): Provide meaningful
866 implementation.
867
34f87940
TT
8682004-09-21 Tom Tromey <tromey@redhat.com>
869
870 PR libgcj/16869:
871 * Makefile.in: Rebuilt.
872 * Makefile.am (MOSTLYCLEANFILES): Removed.
873 (mostlyclean-local): Remove header files.
874
f1b18462
AT
8752004-09-21 Casey Marshall <csm@gnu.org>
876
877 * java/security/cert/X509CRLSelector.java:
878 (match): remove unreachable try-catch clauses.
879 Reported by: Dalibor Topic <robilad@kaffe.org>
880
8812004-09-21 Mark Wielaard <mark@klomp.org>
882
883 * java/util/TreeMap.java (root): Don't initialize.
884 (TreeMap(Comparator)): Call fabricateTree(0).
885 (fabricateTree): Initialize root and size when count is 0.
886
9413382e
SM
8872004-09-21 Sven de Marothy <sven@physto.se>
888
889 * java/nio/ByteBuffer.java (hashCode): Implemented.
890 * java/nio/CharBuffer.java: Likewise.
891 * java/nio/DoubleBuffer.java: Likewise.
892 * java/nio/FloatBuffer.java: Likewise.
893 * java/nio/LongBuffer.java: Likewise.
894 * java/nio/IntBuffer.java: Likewise.
895 * java/nio/ShortBuffer.java: Likewise.
896
936f1f06
AT
8972004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
898
899 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
900
9012004-09-21 Michael Koch <konqueror@gmx.de>
902
903 * javax/net/ssl/SSLServerSocket.java:
904 Removed comment about "Do not edit this file, it's generated.".
905
6f5ce93b
AT
9062004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
907
908 Import the big Crypto/Jessie/Security merge from Classpath.
909
910 * Makefile.am: Add imported files.
911 * Makefile.in: Regenerate.
912
913 2004-08-14 Casey Marshall <csm@gnu.org>
914
915 The Big Crypto Merge of 2004.
916
917 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
918 Crypto's version.
919
920 Files imported from GNU Crypto.
921 * javax/crypto/BadPaddingException.java
922 * javax/crypto/Cipher.java
923 * javax/crypto/CipherInputStream.java
924 * javax/crypto/CipherOutputStream.java
925 * javax/crypto/CipherSpi.java
926 * javax/crypto/EncryptedPrivateKeyInfo.java
927 * javax/crypto/ExemptionMechanism.java
928 * javax/crypto/ExemptionMechanismException.java
929 * javax/crypto/ExemptionMechanismSpi.java
930 * javax/crypto/IllegalBlockSizeException.java
931 * javax/crypto/KeyAgreement.java
932 * javax/crypto/KeyAgreementSpi.java
933 * javax/crypto/KeyGenerator.java
934 * javax/crypto/KeyGeneratorSpi.java
935 * javax/crypto/Mac.java
936 * javax/crypto/MacSpi.java
937 * javax/crypto/Makefile.am
938 * javax/crypto/NoSuchPaddingException.java
939 * javax/crypto/NullCipher.java
940 * javax/crypto/NullCipherImpl.java
941 * javax/crypto/SealedObject.java
942 * javax/crypto/SecretKey.java
943 * javax/crypto/SecretKeyFactory.java
944 * javax/crypto/SecretKeyFactorySpi.java
945 * javax/crypto/ShortBufferException.java
946 * javax/crypto/interfaces/DHKey.java
947 * javax/crypto/interfaces/DHPrivateKey.java
948 * javax/crypto/interfaces/DHPublicKey.java
949 * javax/crypto/interfaces/PBEKey.java
950 * javax/crypto/spec/DESKeySpec.java
951 * javax/crypto/spec/DESedeKeySpec.java
952 * javax/crypto/spec/DHGenParameterSpec.java
953 * javax/crypto/spec/DHParameterSpec.java
954 * javax/crypto/spec/DHPrivateKeySpec.java
955 * javax/crypto/spec/DHPublicKeySpec.java
956 * javax/crypto/spec/IvParameterSpec.java
957 * javax/crypto/spec/PBEKeySpec.java
958 * javax/crypto/spec/PBEParameterSpec.java
959 * javax/crypto/spec/RC2ParameterSpec.java
960 * javax/crypto/spec/RC5ParameterSpec.java
961 * javax/crypto/spec/SecretKeySpec.java
962 * javax/security/auth/AuthPermission.java
963 * javax/security/auth/DestroyFailedException.java
964 * javax/security/auth/Destroyable.java
965 * javax/security/auth/Policy.java
966 * javax/security/auth/PrivateCredentialPermission.java
967 * javax/security/auth/RefreshFailedException.java
968 * javax/security/auth/Refreshable.java
969 * javax/security/auth/Subject.java
970 * javax/security/auth/SubjectDomainCombiner.java
971 * javax/security/auth/callback/Callback.java
972 * javax/security/auth/callback/CallbackHandler.java
973 * javax/security/auth/callback/ChoiceCallback.java
974 * javax/security/auth/callback/ConfirmationCallback.java
975 * javax/security/auth/callback/LanguageCallback.java
976 * javax/security/auth/callback/NameCallback.java
977 * javax/security/auth/callback/PasswordCallback.java
978 * javax/security/auth/callback/TextInputCallback.java
979 * javax/security/auth/callback/TextOutputCallback.java
980 * javax/security/auth/callback/UnsupportedCallbackException.java
981 * javax/security/auth/login/AccountExpiredException.java
982 * javax/security/auth/login/AppConfigurationEntry.java
983 * javax/security/auth/login/Configuration.java
984 * javax/security/auth/login/CredentialExpiredException.java
985 * javax/security/auth/login/FailedLoginException.java
986 * javax/security/auth/login/LoginContext.java
987 * javax/security/auth/login/LoginException.java
988 * javax/security/auth/login/NullConfiguration.java
989 * javax/security/auth/x500/X500PrivateCredential.java
990 * javax/security/sasl/AuthenticationException.java
991 * javax/security/sasl/AuthorizeCallback.java
992 * javax/security/sasl/RealmCallback.java
993 * javax/security/sasl/RealmChoiceCallback.java
994 * javax/security/sasl/Sasl.java
995 * javax/security/sasl/SaslClient.java
996 * javax/security/sasl/SaslClientFactory.java
997 * javax/security/sasl/SaslException.java
998 * javax/security/sasl/SaslServer.java
999 * javax/security/sasl/SaslServerFactory.java
1000 * org/ietf/jgss/ChannelBinding.java
1001 * org/ietf/jgss/GSSContext.java
1002 * org/ietf/jgss/GSSCredential.java
1003 * org/ietf/jgss/GSSException.java
1004 * org/ietf/jgss/GSSManager.java
1005 * org/ietf/jgss/GSSName.java
1006 * org/ietf/jgss/MessageProp.java
1007 * org/ietf/jgss/Oid.java
1008 * org/ietf/jgss/MessagesBundle.properties
1009
1010 Files imported from Jessie <http://www.nongnu.org/jessie/>
1011 * javax/net/ServerSocketFactory.java
1012 * javax/net/SocketFactory.java
1013 * javax/net/VanillaServerSocketFactory.java
1014 * javax/net/VanillaSocketFactory.java
1015 * javax/net/ssl/HandshakeCompletedEvent.java
1016 * javax/net/ssl/HandshakeCompletedListener.java
1017 * javax/net/ssl/HostnameVerifier.java
1018 * javax/net/ssl/HttpsURLConnection.java
1019 * javax/net/ssl/KeyManager.java
1020 * javax/net/ssl/KeyManagerFactory.java
1021 * javax/net/ssl/KeyManagerFactorySpi.java
1022 * javax/net/ssl/ManagerFactoryParameters.java
1023 * javax/net/ssl/SSLContext.java
1024 * javax/net/ssl/SSLContextSpi.java
1025 * javax/net/ssl/SSLException.java
1026 * javax/net/ssl/SSLHandshakeException.java
1027 * javax/net/ssl/SSLKeyException.java
1028 * javax/net/ssl/SSLPeerUnverifiedException.java
1029 * javax/net/ssl/SSLPermission.java
1030 * javax/net/ssl/SSLProtocolException.java
1031 * javax/net/ssl/SSLServerSocket.java
1032 * javax/net/ssl/SSLServerSocketFactory.java
1033 * javax/net/ssl/SSLSession.java
1034 * javax/net/ssl/SSLSessionBindingEvent.java
1035 * javax/net/ssl/SSLSessionBindingListener.java
1036 * javax/net/ssl/SSLSessionContext.java
1037 * javax/net/ssl/SSLSocket.java
1038 * javax/net/ssl/SSLSocketFactory.java
1039 * javax/net/ssl/TrivialHostnameVerifier.java
1040 * javax/net/ssl/TrustManager.java
1041 * javax/net/ssl/TrustManagerFactory.java
1042 * javax/net/ssl/TrustManagerFactorySpi.java
1043 * javax/net/ssl/X509KeyManager.java
1044 * javax/net/ssl/X509TrustManager.java
1045 * javax/security/cert/Certificate.java
1046 * javax/security/cert/CertificateEncodingException.java
1047 * javax/security/cert/CertificateException.java
1048 * javax/security/cert/CertificateExpiredException.java
1049 * javax/security/cert/CertificateNotYetValidException.java
1050 * javax/security/cert/CertificateParsingException.java
1051 * javax/security/cert/X509CertBridge.java
1052 * javax/security/cert/X509Certificate.java
1053
1054 2004-08-20 Casey Marshall <csm@gnu.org>
1055
1056 * java/security/cert/X509CRLSelector.java: New file.
1057 * java/security/cert/X509CertSelector.java: New file.
1058
c36992ff
MK
10592004-09-15 Michael Koch <konqueror@gmx.de>
1060
1061 * gnu/java/net/protocol/file/Handler.java
1062 (openConnection): Don't throw exception if host part for file: URI is
1063 present. setURL() keeps file: protocol if ftp: protocol is not
1064 available.
1065
72826319
RH
10662004-09-14 Richard Henderson <rth@redhat.com>
1067
1068 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
1069 value of sigsuspend.
1070
3abcc195
TT
10712004-09-12 Tom Tromey <tromey@redhat.com>
1072
1073 * javax/naming/CompoundName.java (CompoundName): Don't check for
1074 separator in "flat" case.
1075
bdd1aed4
MK
10762004-09-12 Michael Koch <konqueror@gmx.de>
1077
1078 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
1079 AM_CONFIG_HEADER by AC_CONFIG_FILES.
1080 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
1081 Regenerate.
1082
a0be84dd
ME
10832004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1084
1085 PR libgcj/14751
1086 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
1087 handle in newly-allocated _Jv_Thread_t.
1088 (_Jv_ThreadDestroyData): Close thread handle.
1089 (_Jv_ThreadStart): Remove obsolete comment.
1090 Store handle of newly-created thread in _Jv_Thread_t.
1091 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
1092 before including <windows.h>
1093 #define _Jv_HaveCondDestroy
1094
bdbf6060
ME
10952004-09-11 Mohan Embar <gnustuff@thisiscool.com>
1096
1097 * java/lang/natThread.cc (finalize_native): Destroy
1098 join conditional variable and mutex if these destroy
1099 operations are supported.
1100
cad79bac
MK
11012004-09-10 Dalibor Topic <robilad@kaffe.org>
1102
1103 * gnu/java/net/protocol/file/Connection.java (permission): New field.
1104 (DEFAULT_PERMISSION): New constant.
1105 (Connection): Create a FilePermission with permission to read file.
1106
11072004-09-10 Michael Koch <konqueror@gmx.de>
1108
1109 * gnu/java/net/protocol/file/Connection.java
1110 (getLastModified): Moved around.
1111 (getPermission): Return stored permission.
1112
8166c201
MK
11132004-09-10 Michael Koch <konqueror@gmx.de>
1114
1115 * Makefile.in: Regenerate.
1116
3cf735f6
MK
11172004-09-10 Michael Koch <konqueror@gmx.de>
1118
1119 * Makefile.am: Reverted accidently commited stuff.
1120 * configure: Regenerated.
1121
5123971a
MK
11222004-09-10 Michael Koch <konqueror@gmx.de>
1123
1124 * gnu/java/net/protocol/file/Connection.java
1125 (lineSeparator): Made non-final.
1126 (static): Removed.
1127 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
1128 instead of StringBufferInputStream.
1129
11302004-09-10 Michael Koch <konqueror@gmx.de>
1131
1132 * gnu/java/net/protocol/file/Connection.java
1133 (connect): Handle file is a directory case.
1134
456d47b3
MK
11352004-09-10 Michael Koch <konqueror@gmx.de>
1136
1137 * Makefile.am
1138 (xlib_includes): Removed.
1139 (AM_CPPFLAGS): Renamed from INCLUDES.
1140 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
1141 * Makefile.in: Regenerate.
1142
4166b036
AT
11432004-09-09 Michael Koch <konqueror@gmx.de>
1144
1145 * java/security/ProtectionDomain.java,
1146 * java/util/PropertyPermissionCollection.java:
1147 Fixed javadocs all over.
1148
11492004-09-09 Sven de Marothy <sven@physto.se>
1150
1151 Patch from David Gilbert <david.gilbert@object-refinery.com>
1152 * java/lang/Comparable.java: Fixed documentation errors.
1153 * java/util/Arrays.java: Likewise.
1154
11552004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
1156
1157 * java/net/Inet4Address.java
1158 (Inet4Address): Added comment to serialization UID.
1159 * java/text/Format.java
1160 (Format): Added comment to serialization UID.
1161
c6614d3e
MK
11622004-09-09 Michael Koch <konqueror@gmx.de>
1163
1164 * java/lang/System.java
1165 (err): Fixed javadoci to point to setErr() and not setOut().
1166
6273ba37
MK
11672004-09-09 Jeroen Frijters <jeroen@frijters.net>
1168
1169 (normalizePath): Added special case for windows systems.
1170
11712004-09-09 Michael Koch <konqueror@gmx.de>
1172
1173 * java/io/File.java
1174 (dupSeparator): Made private.
1175 (File(URI)): New constructor.
1176 (getParentFile): Fixed javadoc.
1177 (createTempFile): Reformated.
1178 (setReadOnly): Added comment.
1179 (deleteOnExit): Merged javadoc with classpath version.
1180
93177580
MK
11812004-09-09 Michael Koch <konqueror@gmx.de>
1182
1183 * Makefile.am: Don't try to include deps.mk.
1184 * Makefile.in: Regenerated.
1185
2e8401ae
BM
11862004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1187
1188 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1189 .d files.
1190 * configure: Rebuilt.
1191
56fa138b
ME
11922004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1193
1194 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1195 Changed pfn from static local to local.
1196
351cfd8b
BM
11972004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1198 H.J. Lu <hongjiu.lu@intel.com>
1199
1200 PR libgcj/17290
1201 * Makefile.am (GCJCOMPILE): Remove definition.
1202 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1203 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1204 * Makefile.in: Rebuilt.
1205
48d0dd75
KC
12062004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1207
1208 * configure.ac (enable-gc-debug): Update help for new syntax.
1209 * configure: Regenerate.
1210
321c496b
DD
12112004-09-03 David Daney <ddaney@avtrex.com>
1212
1213 * include/mips-signal.h: Update copyright.
1214
04efec81
DD
12152004-09-03 David Daney <ddaney@avtrex.com>
1216
1217 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1218 * include/mips-signal.h: Added HANDLE_FPE support.
1219
57579172
GH
12202004-08-31 Michael Koch <konqueror@gmx.de>
1221
1222 * javax/swing/plaf/basic/BasicTextAreaUI.java
1223 (create): New method.
1224 * javax/swing/text/DefaultHighlighter.java
1225 (DefaultHighlightPainter.debugRect): Removed.
1226 * javax/swing/text/StyleContext.java
1227 (DEFAULT_STYLE): New field.
1228
12292004-08-31 Michael Koch <konqueror@gmx.de>
1230
1231 * javax/swing/plaf/basic/BasicLookAndFeel.java
1232 (initComponentDefaults): Add keybindings for selection.backward and
1233 selection-forward for text components.
1234 * javax/swing/plaf/basic/BasicTextUI.java
1235 (paintSafely): Paint highlight only when something is actually
1236 selected.
1237 * javax/swing/text/DefaultCaret.java
1238 (handleHighlight): New method.
1239 (setSelectionVisible): Don't do anything when nothing changes.
1240 Handle highlight.
1241 (moveDot): Reimplemented. Handle highlight.
1242 (setDot): Set mark too. Handle highlight.
1243 (getSelectionPainter): New method.
1244 * javax/swing/text/DefaultEditorKit.java
1245 (defaultActions): Added new actions for text selection.
1246 * javax/swing/text/DefaultHighlighter.java
1247 (DefaultHighlightPainter): New inner class.
1248 (DefaultPainter): New field.
1249 (paint): Implemented.
1250 * javax/swing/text/PlainView.java
1251 (paint): Don't draw background here again.
1252 * javax/swing/text/Utilities.java
1253 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1254 (drawTabbedText): Likewise.
1255
12562004-08-31 Graydon Hoare <graydon@redhat.com>
1257
1258 * javax/swing/JComponent.java
1259 (resetKeyboardActions): Add null checks.
1260
12612004-08-31 Graydon Hoare <graydon@redhat.com>
1262
1263 * javax/swing/DefaultButtonModel.java:
1264 Skip group notification when no group is set.
1265
12662004-08-31 Graydon Hoare <graydon@redhat.com>
1267
1268 * javax/swing/JColorChooser.java:
1269 Make a couple inner classes static, for jikes.
1270
12712004-08-31 Michael Koch <konqueror@gmx.de>
1272
1273 * javax/swing/plaf/basic/BasicTextUI.java
1274 (RottView.modelToView): New method.
1275 (UpdateHandler): Renamed from EventHandler.
1276 (updateHandler): Renamed from eventHandler.
1277 (modelToView): Implemented.
1278 * javax/swing/text/AbstractDocument.java
1279 (BranchElement.getElement): Return null for non-existing indeces.
1280 (BranchElement.getElementIndex): Return 0 in some corner cases.
1281 * javax/swing/text/FieldView.java
1282 (modelToView): New method.
1283 * javax/swing/text/PlainView.java
1284 (modelToView): Made public.
1285
12862004-08-31 Kim Ho <kho@redhat.com>
1287
1288 * Makefile.am: New files.
1289 * Makefile.in: Regenerate.
1290 * gcj/Makefile.in: Regenerate.
1291 * include/Makefile.in: Regenerate.
1292 * java/awt/Color.java: Fix documentation.
1293 (RGBtoHSB): Use floats for conversions.
1294 * javax/swing/ButtonGroup.java: Run Jalopy.
1295 (setSelected): Reimplement.
1296 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1297 (changeState): Let ButtonGroup know that the button
1298 is changing state.
1299 * javax/swing/JColorChooser.java: Implement.
1300 * javax/swing/JLabel.java: Run Jalopy.
1301 * javax/swing/JSpinner.java: Run Jalopy.
1302 (setValue): New method.
1303 * javax/swing/JTabbedPane.java: Run Jalopy.
1304 (removeTabAt): Call correct remove method.
1305 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1306 (getPreviousValue): Compare minimum value.
1307 * javax/swing/Timer.java: Run Jalopy.
1308 (run): Comment out println.
1309 * javax/swing/ToolTipManager.java:
1310 (mouseMoved): Get new tooltip text for location.
1311 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1312 Jalopy and Javadoc.
1313 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1314 Implement.
1315 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1316 Run Jalopy.
1317 (setSelectedColor): Fire ChangeEvent.
1318 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1319 New file. Implement.
1320 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1321 Ditto.
1322 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1323 Ditto.
1324 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1325 Ditto.
1326 * javax/swing/plaf/basic/BasicArrowButton.java:
1327 (getArrow): Fix size of upward pointing button.
1328 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1329 Implement.
1330 * javax/swing/plaf/basic/BasicSliderUI.java:
1331 (getWidthOfWidestLabel): Use preferred dimensions.
1332 (getHeightOfTallestLabel): Ditto.
1333 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1334 Run Jalopy.
1335 (mousePressed): Disable changes to spinner if it is not enabled.
1336 * testsuite/Makefile.in: Regenerate.
1337
1338
13392004-08-31 Michael Koch <konqueror@gmx.de>
1340
1341 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1342 javax/swing/plaf/basic/BasicTableUI.java:
1343 Added copyright notice.
1344
13452004-08-31 Olga Rodimina <rodimina@redhat.com>
1346
1347 * Makefile.am: Added new files.
1348 * Makefile.in: Regenerate.
1349 * javax/swing/ComboBoxEditor.java: Added javadocs.
1350 * javax/swing/ComboBoxModel.java: Likewise.
1351 * javax/swing/DefaultComboBoxModel.java: Implemented.
1352 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1353 and ran through jalopy to fix formatting style.
1354 (getListCellRendererComponent): Use appropriate border
1355 if renderer has focus and use noFocusBorder when it doesn't.
1356 * javax/swing/JComboBox.java: Implemented.
1357 * javax/swing/JList.java:
1358 (locationToIndex): New Method. Implemented.
1359 (indexToLocation): New Method.
1360 * javax/swing/JPopupMenu.java:
1361 (visible): New field.
1362 (isVisible): Changed to use new field above.
1363 (setVisible): Likewise.
1364 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1365 * javax/swing/plaf/basic/BasicArrowButton.java:
1366 (shadow): Changed default color to Color.gray.
1367 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1368 UI delegate for JComboBox.
1369 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1370 Popup menu containing list of JComboBox's items.
1371 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1372 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1373 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1374 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1375 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1376 (popupMenuWillBecomeVisible): Set selected path to the first
1377 element only if it is of type MenuElement. Also fix formatting
1378 style.
1379 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1380 methods signatures.
1381
13822004-08-31 Michael Koch <konqueror@gmx.de>
1383
1384 * javax/swing/text/AbstractDocument.java
1385 (createBranchElement): Use new constructor of BranchElement.
1386 (createLeafElement): Renamed arguments.
1387 (getRootElements): Implemented.
1388 (BranchElement.start): Removed.
1389 (BranchElement.end): Likewise.
1390 (BranchElement.BranchElement): Fixed arguments.
1391 (BranchElement.getEndOffset): Reimplemented.
1392 (BranchElement.getStartOffset): Likewis.
1393 * javax/swing/text/DefaultCaret.java
1394 (paint): Draw simple vertical line as caret instead of a rectangle.
1395 * javax/swing/text/JTextComponent.java
1396 (setText): Use doc directly.
1397 * javax/swing/text/PlainView.java
1398 (nextTabStop): Implemented.
1399 * javax/swing/text/Utilities.java
1400 (drawTabbedText): nextTabStop() returns an absolute x position.
1401 (getTabbedTextWidth): Likewise.
1402
14032004-08-31 Graydon Hoare <graydon@redhat.com>
1404
1405 * java/awt/Component.java
1406 (isFocusTraversable): Predicate on isLightweight()
1407 (setFocusable): Set isFocusTraversableOverridden.
1408 (requestFocus): Predicate peer dispatch on !isLightweight()
1409 (requestFocusInWindow): Likewise.
1410 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1411 * java/awt/Container.java
1412 (dispatchEventImpl): Predicate on event mask.
1413 (LightweightDispatcher): Remove focus machinery.
1414 * java/awt/DefaultFocusTraversalPolicy.java
1415 (accept): Expand predicate to include isFocusable().
1416 * java/awt/DefaultKeyboardFocusManager.java:
1417 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1418 * java/awt/KeyboardFocusManager.java
1419 (redispatchEvent): Synchronize on event to prevent feedback.
1420 * javax/swing/AbstractButton.java
1421 (ButtonFocusListener): Remove class.
1422 (init): Set focusPainted, focusable.
1423 * javax/swing/ActionMap.java (get): Check parent for null.
1424 * javax/swing/InputMap.java (get): Likewise.
1425 * javax/swing/JComponent.java
1426 (inputMap_whenFocused): New InputMap.
1427 (inputMap_whenAncestorOfFocused): Likewise.
1428 (inputMap_whenInFocusedWindow): Likewise.
1429 (getActionForKeyStroke): Rewrite.
1430 (getConditionForKeystroke): Likewise.
1431 (ActionListenerProxy): New private class.
1432 (setInputMap): Implement.
1433 (getInputMap): Likewise.
1434 (setActionMap): Likewise.
1435 (getActionMap): Likewise.
1436 (processComponentKeyEvent): New empty method.
1437 (processKeyEvent): Implement.
1438 (processKeyBinding): Likewise.
1439 (resetKeyboardActions): Rewrite.
1440 * javax/swing/KeyStroke.java: Rewrite.
1441 * javax/swing/SwingUtilities.java
1442 (notifyAction): Implement.
1443 (replaceUIActionMap): Likewise.
1444 (replaceUIInputMap): Likewise.
1445 * javax/swing/plaf/basic/BasicButtonListener.java
1446 (focusGained): Implement.
1447 (focusLost): Repaint if focusPainted().
1448 (installKeyboardActions): Install pressed / released actions.
1449 (uninstallKeyboardActions): Implement.
1450 * javax/swing/plaf/basic/BasicButtonUI.java
1451 (focusColor): New field.
1452 (installDefaults): Load focus color, install input map.
1453 (installKeyboardActions): Implement.
1454 (uninstallKeyboardActions): Likewise.
1455 (paintFocus): Rewrite.
1456 * javax/swing/plaf/basic/BasicLookAndFeel.java
1457 (Button.focus): New default, midPurple.
1458 * javax/swing/plaf/basic/BasicTextUI.java
1459 (kit): Make static.
1460 (installUI): Get doc from kit, load defaults.
1461 (getKeymapName): Implement.
1462 (createKeymap): Likewise.
1463 (installKeyboardActions): Likewise.
1464 (getInputMap): Likewise.
1465 (getActionMap): Likewise.
1466 (createActionMap): Likewise.
1467 * javax/swing/text/AbstractDocument.java
1468 (getStartPosition): Implement.
1469 (getEndPosition): Likewise.
1470 * javax/swing/text/DefaultEditorKit.java
1471 (CopyAction): New class.
1472 (CutAction): Likewise.
1473 (DefaultKeyTypedAction): Likewise.
1474 (InsertBreakAction): Likewise.
1475 (InsertContentAction): Likewise.
1476 (InsertTabAction): Likewise.
1477 (PasteAction): Likewise.
1478 (defaultActions): New static table.
1479 (createCaret): Implement.
1480 (getActions): Likewise.
1481 * javax/swing/text/JTextComponent.java
1482 (KeymapWrapper): New private class.
1483 (KeymapActionMap): Likewise.
1484 (DefaultKeymap): New class.
1485 (keymaps): New static table.
1486 (keymap): New field.
1487 (getKeymap): Implement.
1488 (removeKeymap): Likewise.
1489 (addKeymap): Likewise.
1490 (setKeymap): Likewise.
1491 (loadKeymap): Likewise.
1492 (getActions): Likewise.
1493 (margin): New field.
1494 (JTextComponent): Build and install default keymap.
1495 * javax/swing/text/TextAction.java
1496 (textAction): Call super properly.
1497 (getTextComponent): Implement.
1498 * javax/swing/text/Utilities.java
1499 (drawTabbedText): Adjust position by ascent.
1500
15012004-08-31 David Jee <djee@redhat.com>
1502
1503 PR AWT/17156
1504
1505 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1506 (setEnabled): Make it a native method.
1507 * java/awt/DefaultKeyboardFocusManager.java
1508 (postProcessKeyEvent): Only post event if the menu item
1509 is active.
1510 * java/awt/MenuItem.java:
1511 Private field 'enabled' should be true by default.
1512 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1513 (setEnabled): New function.
1514
15152004-08-31 David Jee <djee@redhat.com>
1516
1517 PR AWT/17059
1518
1519 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1520 (nativeSetHelpMenu): New native method declaration.
1521 (addHelpMenu): Call nativeSetHelpMenu().
1522 (addMenu): Remove.
1523 * java/awt/MenuBar.java
1524 (setHelpMenu): Call addNotify() on the new help menu.
1525 (add): Call addNotify() on the new menu.
1526 (addNotify): Set the help menu if one exists.
1527 * java/awt/peer/MenuBarPeer.java
1528 (addMenu): Remove.
1529 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1530 (nativeSetHelpMenu): New method.
1531
15322004-08-31 Graydon Hoare <graydon@redhat.com>
1533
1534 * Makefile.am: Add new files.
1535 * Makefile.in: Regenerate.
1536 * javax/swing/Box.java: Fix setting of layout in ctor.
1537 * javax/swing/JScrollPane.java: Scroll headers as well.
1538 * javax/swing/JTable.java: Reimplement.
1539 * javax/swing/JViewPort.java: Only add non-null children.
1540 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1541 * javax/swing/Timer.java: Fix stopping null waker.
1542 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1543 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1544 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1545 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1546 * javax/swing/table/DefaultTableModel.java: Clean up.
1547 * javax/swing/table/JTableHeader.java: Implement.
1548
15492004-08-31 Mark Wielaard <mark@klomp.org>
1550
1551 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1552 semi-colon.
1553
15542004-08-31 Mark Wielaard <mark@klomp.org>
1555
1556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1557 Declare variables at top of functions/block.
1558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1559
15602004-08-31 Mark Wielaard <mark@klomp.org>
1561
1562 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1563 first.
1564
15652004-08-31 Michael Koch <konqueror@gmx.de>
1566
1567 * javax/swing/text/PlainView.java
1568 (selectedColor): New field.
1569 (unselectedColor): Likewise.
1570 (font): Likewise.
1571 (updateMetrics): New method.
1572 (lineToRect): Likewise.
1573 (modelToView): Likewise.
1574 (drawSelectedText): Use color from JTextComponent ad draw with
1575 Utilities class.
1576 (drawUnselectedText): Likewise.
1577 (paint): Initialize helper fields.
1578 * javax/swing/text/View.java
1579 (getChildAllocation): New method.
1580 (getViewIndex): Likewise.
1581 (getToolTipText): Likewise.
1582
15832004-08-31 Michael Koch <konqueror@gmx.de>
1584
1585 * javax/swing/text/Utilities.java
1586 (drawTabbedText): Reimplemented.
1587 (getTabbedTextWidth): Likewise.
1588
15892004-08-31 Michael Koch <konqueror@gmx.de>
1590
1591 * javax/swing/plaf/basic/BasicTextUI.java
1592 (installDefaults): Install caret and highlighter.
1593 (modelToView): Use Bias.Forward when calling sibling.
1594 * javax/swing/text/AbstractDocument.java
1595 (ElementEdit): Implements DocumentEvent.ElementChange.
1596 (ElementEdit.ElementEdit): New method.
1597 (ElementEdit.getChildrenAdded): Likewise.
1598 (ElementEdit.getChildrenRemoved): Likewise.
1599 (ElementEdit.getElement): Likewise.
1600 (ElementEdit.getIndex): Likewise.
1601 * javax/swing/text/DefaultCaret.java
1602 (color): Removed.
1603 (textComponent): Renamed from parent, made private.
1604 (selectionVisible): Renamed from vis_sel, made private.
1605 (blinkRate): Renamed from blink, made private.
1606 (magicCaretPosition): Renamed from magic, made private.
1607 (visible): Renamed from vis, made private.
1608 (dot): Made private.
1609 (mark): Likewise.
1610 (deinstall): Remove as MouseMotionListener.
1611 (install): Initialize textComponent first. Add as MouseMotionListener.
1612 (paint): Reimplemented.
1613 * javax/swing/text/JTextComponent.java
1614 (setCaret): Deinstall old caret, install new one and fire property
1615 change after setting property.
1616 (setHighlighter): Deinstall old highlighter, install new one and fire
1617 property change after setting property.
1618 (setCaretColor): Fire property change after setting property.
1619 (setDisabledTextColor): Likewise.
1620 (setSelectedTextColor): Likewise.
1621 (setSelectionColor): Likewise.
1622 (modelToView): New method.
1623
16242004-08-31 Michael Koch <konqueror@gmx.de>
1625
1626 * javax/swing/text/AbstractDocument.java
1627 (getText): Simplified.
1628 * javax/swing/text/Segment.java
1629 (current): New field.
1630 (current): Reimplemented.
1631 (first): Likewise.
1632 (getIndex): Likewise.
1633 (last): Likewise.
1634 (next): Likewise.
1635 (previous): Likewise.
1636 (setIndex): Likewise.
1637
16382004-08-31 Michael Koch <konqueror@gmx.de>
1639
1640 * javax/swing/plaf/basic/BasicButtonUI.java
1641 (defaultTextIconGap): Made protected.
1642 (defaultTextShiftOffset): Likewise.
1643 (textShiftOffset): New field.
1644 (clearTextShiftOffset): New method.
1645 (getTextShiftOffset): Likewise.
1646 (setTextShiftOffset): Likewise.
1647
16482004-08-31 Michael Koch <konqueror@gmx.de>
1649
1650 * javax/swing/plaf/basic/BasicTextUI.java
1651 (installUI): Add eventHandler as property listener.
1652 (uninstallUI): remove eventHandler as propert listener.
1653 (installDefaults): Added comment.
1654 (installListeners): Likewise.
1655 (installKeyboardActions): Likewise.
1656 (uninstallDefaults): Likewise.
1657 (uninstallListeners): Likewise.
1658 (uninstallKeyboardActions): Likewise.
1659
16602004-08-31 Michael Koch <konqueror@gmx.de>
1661
1662 * javax/swing/text/AbstractDocument.java:
1663 Fixed some typos in comments.
1664 (insertString): Reimplemented.
1665 (remove): Likewise.
1666 (replace): New method.
1667 (children): Dont use fully qualified class name.
1668 (DefaultDocumentEvent.offset): Renamed from off.
1669 (DefaultDocumentEvent.length): Renamed from len.
1670 (DefaultDocumentEvent.type): New field.
1671 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1672 (DefaultDocumentEvent.getType): Implemented.
1673
16742004-08-31 Michael Koch <konqueror@gmx.de>
1675
1676 * javax/swing/plaf/basic/BasicTextUI.java
1677 (RootView.textComponent): Removed.
1678 (RootView.RootView): Don't initialize textComponent.
1679 (RootView.getViewFactory): New method.
1680 (EventHandler): New inner class.
1681 (rootView): Initialize at instance creation.
1682 (eventHandler): New field.
1683 (installUI): Don't create view hierarchy directly,
1684 call modelChanged() instead.
1685 (modelChanged): New method.
1686 * javax/swing/text/JTextComponent.java
1687 (setDocument): Fire property change event.
1688
16892004-08-31 Michael Koch <konqueror@gmx.de>
1690
1691 * javax/swing/plaf/basic/BasicTextUI.java
1692 (RootView.paint): Removed debug output.
1693 (paintSafely): Draw highlighter before text.
1694 (paintBackground): Use background color of text component.
1695 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1696 Reformatted.
1697
16982004-08-31 Michael Koch <konqueror@gmx.de>
1699
1700 * javax/swing/plaf/basic/BasicToolBarUI.java
1701 (BasicToolBarUI): Fixed arguments for constructor.
1702 (createUI): Fixed creation of object.
1703
17042004-08-31 Michael Koch <konqueror@gmx.de>
1705
1706 * javax/swing/DefaultListSelectionModel.java
1707 (fireValueChanged): Renamed from fireSelectionValueChanged,
1708 made protected.
1709
17102004-08-31 Michael Koch <konqueror@gmx.de>
1711
1712 * javax/swing/text/TabSet.java
1713 (TabSet): Implements java.io.Serializable.
1714 * javax/swing/text/TabStop.java
1715 (TabStop): Implements java.io.Serializable.
1716 (TabStop): Made public.
1717
17182004-08-31 Michael Koch <konqueror@gmx.de>
1719
1720 * javax/swing/JComponent.java
1721 (setUI): Fire PropertyChange.
1722 * javax/swing/JLabel.java
1723 (text): Renamed from labelText.
1724 (horizontalAlignment): New default vlaue.
1725 (icon): Renamed from activeIcon.
1726 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1727 (displayedMnemonicIndex): Renamed from underlineChar.
1728 (setDisplayedMnemonic): Reimplemented.
1729 * javax/swing/JRadioButton.java
1730 (JRadioButton): New constructors.
1731 * javax/swing/JTextField.java
1732 (JTextField): Throw exception if colums < 0, initialitialz
1733 this.columns directly and initialize document with text conditionally.
1734
17352004-08-31 Michael Koch <konqueror@gmx.de>
1736
1737 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1738 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1739 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1740 * javax/swing/text/FieldView.java
1741 (paint): Just call super method for now.
1742 * Makefile.am: Added new files.
1743 * Makefile.in: Regenerated.
1744
17452004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1746
1747 * javax/swing/AbstractSpinnerModel.java,
1748 javax/swing/JSpinner.java,
1749 javax/swing/SpinnerNumberModel.java,
1750 javax/swing/plaf/basic/BasicSpinnerUI.java:
1751 New files.
1752 * javax/swing/plaf/basic/BasicLookAndFeel.java
1753 (initClassDefaults): Added defaults for BasicSpinnerUI.
1754
17552004-08-31 Michael Koch <konqueror@gmx.de>
1756
1757 * Makefile.am: Added new files.
1758 * Makefile.in: Regenerated.
1759
17602004-08-31 Michael Koch <konqueror@gmx.de>
1761
1762 * javax/swing/TransferHandler.java,
1763 javax/swing/plaf/basic/ComboPopup.java: New files
1764 * Makefile.am: Added javax/swing/TransferHandler.java and
1765 javax/swing/plaf/basic/ComboPopup.java
1766 * Makefile.in: Regenerated.
1767
17682004-08-31 Roman Kennke <roman@ontographics.com>
1769
1770 * javax/swing/text/Utilities.java: New file.
1771
17722004-08-31 Michael Koch <konqueror@gmx.de>
1773
1774 * Makefile.am: Added javax/swing/text/Utilities.java.
1775 * Makefile.in: Regenerated.
1776
17772004-08-31 Graydon Hoare <graydon@redhat.com>
1778
1779 * javax/swing/text/SimpleAttributeSet.java: New file.
1780 * javax/swing/text/StyleConstants.java: New file.
1781 * javax/swing/text/StyleContext.java: New file.
1782 * javax/swing/text/TabSet.java: New file.
1783 * javax/swing/text/TabStop.java: New file.
1784 * javax/swing/text/AbstactDocument.java:
1785 (AbstractElement): Implement attribute support.
1786 * javax/swing/text/AttributeSet.java
1787 (NameAttribute): New static field.
1788 (ResolveAttribute): New static field.
1789 * Makefile.am: Update for new files.
1790 * Makefile.in: Regenerate.
1791
17922004-08-31 Craig Black <craig.black@aonix.com>
1793
1794 * gnu/java/awt/peer/gtk/GdkGraphics.java
1795 (drawImage): Add support for scaling pixmaps.
1796 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1797 (copyAndScalePixmap): New native method.
1798
17992004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1800
1801 PR AWT/16121
1802 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1803 type-punning compiler warnings using unions.
1804 (throw): Replace bzero with memset.
1805
18062004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1807 Thomas Fitzsimmons <fitzsim@redhat.com>
1808
1809 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1810 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1811 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1813 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1814
18152004-08-31 Mark Wielaard <mark@klomp.org>
1816
1817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1818 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1819 and stdlib.h, not gtkpeer.h.
1820 (*vm): New static variable.
1821 (areaPreparedID): Make static.
1822 (areaUpdatedID): Likewise.
1823 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1824 (area_prepared): Likewise.
1825 (area_updated): Likewise.
1826 (closed): Likewise.
1827 (initStaticState): Initialize *vm javaVM.
1828 (pumpBytes): Use given env, not global gdk_env.
1829
18302004-08-31 Mark Wielaard <mark@klomp.org>
1831
1832 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1833 comments.
1834
18352004-08-31 Sven de Marothy <sven@physto.se>
1836
1837 * java/awt/geom/CubicCurve2D.java: Reindent.
1838 (contains): Implemented.
1839 (intersects): Implemented.
1840 * java/awt/geom/QuadCurve2D.java: Likewise.
1841 * java/awt/geom/GeneralPath.java: Reindent and document.
1842 Fully (re)implemented using separate xpoints and ypoints
1843 float[] coords.
1844 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1845
18462004-08-31 Michael Koch <konqueror@gmx.de>
1847
1848 * javax/swing/JMenuItem.java
1849 (getMenuDragMouseListeners): New method.
1850 (getMenuKeyListeners): Likewise.
1851
18522004-08-31 Michael Koch <konqueror@gmx.de>
1853
1854 * javax/swing/AbstractButton.java
1855 (model): Made protected.
1856 (actionListener): Likewise.
1857 (changeListener): Likewise.
1858 (itemListener): Likewise.
1859 (multiClickThreshhold): New field.
1860 (getActionListeners): New method.
1861 (getChangeListeners): Likewise.
1862 (getItemListeners): Likewise.
1863 (fireItemStateChanged): Simplified implementation.
1864 (fireActionPerformed): Likewise.
1865 (fireStateChanged): Likewise.
1866 (getMultiClickThreshhold): New method.
1867 (setMultiClickThreshhold): Likewise.
1868
18692004-08-31 Tom Tromey <tromey@redhat.com>
1870
1871 * java/awt/image/Kernel.java (clone): Use super.clone().
1872
18732004-08-31 David Jee <djee@redhat.com>
1874
1875 PR AWT/16682
1876 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1877 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1878 (nativeSetIconImageFromData): New native method declaration.
1879 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1880 * gnu/java/awt/peer/gtk/GtkImage.java
1881 (getPixelCache): New method.
1882 (getColorModel): New method.
1883 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1884 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1885 (free_pixbuf_data): New helper function.
1886 (nativeSetIconImageFromData): New function.
1887
18882004-08-31 Graydon Hoare <graydon@redhat.com>
1889
1890 PR SWING/16576
1891 * javax/swing/JLayeredPane.java
1892 (setLayer): Permit changing layer after addition.
1893 (setPosition): Permit over-length positions.
1894 (layerToRange): Compare intValue()s.
1895 * javax/swing/Box.java (createHorizontalBox): Implement.
1896 (createRigidArea): Likewise.
1897 (createVerticalBox): Likewise.
1898
18992004-08-31 Kim Ho <kho@redhat.com>
1900
1901 * java/awt/Component.java:
1902 (processMouseEvent): Consume event after
1903 listeners process it.
1904 (processMouseMotionEvent): ditto.
1905 (processMouseWheelEvent): ditto.
1906 * java/awt/Container.java:
1907 (acquireComponentForMouseEvent):
1908 Do not dispatch to events that have been
1909 removed from the Container.
1910 (handleEvent): Consume the MouseEvents.
1911 * javax/swing/RepaintManager.java:
1912 (paintDirtyRegions): Do not add to list of
1913 damaged areas if the component has no root.
1914
19152004-08-31 Michael Koch <konqueror@gmx.de>
1916
1917 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1918
19192004-08-31 Mark Wielaard <mark@klomp.org>
1920
1921 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1922 null when a MissingResourceException is thrown. Should never happen.
1923
19242004-08-31 Mark Wielaard <mark@klomp.org>
1925
1926 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1927 when argument is null.
1928
19292004-08-31 Mark Wielaard <mark@klomp.org>
1930
1931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1932 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1933 Define hid at start of function.
1934 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1935 Likewise.
1936
19372004-08-31 Mark Wielaard <mark@klomp.org>
1938
1939 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1940 * javax/swing/JButton.java: Reindent.
1941 * javax/swing/JCheckBox.java: Reindent.
1942
19432004-08-31 Mark Wielaard <mark@klomp.org>
1944
1945 * Makefile.am (gtk_c_source_files): Added
1946 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1947 (gtk_awt_peer_sources): Added
1948 gnu/java/awt/peer/gtk/GThreadMutex.java and
1949 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1950 * Makefile.in: Regenerated.
1951
19522004-08-31 Archie Cobbs <archie@dellroad.org>
1953
1954 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1955
19562004-08-31 Steven Augart <augart@watson.ibm.com>
1957
1958 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1959 Added jfieldID, jmethodID.
1960
19612004-08-31 Mark Wielaard <mark@klomp.org>
1962
1963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1964 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1965 gdk_env before calling any gdk or gtk function.
1966
1967 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1968 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1969 (run): Set gtkInitCalled.
1970
19712004-08-31 Steven Augart <augart@watson.ibm.com>
1972
1973 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1974 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1975
1976 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1977 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1978 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1979 init_glib_threads.
1980 (init_glib_threads): New function.
1981
19822004-08-31 Mark Wielaard <mark@klomp.org>
1983
1984 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1985 PRIORITY when not already defined in header file.
1986
19872004-08-31 Mark Wielaard <mark@klomp.org>
1988
1989 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1990 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1991
19922004-08-31 Steven Augart <augart@watson.ibm.com>
1993
1994 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1995 Implemented missing functions for GTK2.
1996 Added error handling.
1997 Renamed static functions out of the g_ namespace.
1998 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1999 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
2000 Rewrote global-reference code.
2001 Eliminated cascading errors.
2002 (mutex_trylock_jni_impl) Fully implemented.
2003 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
2004 resolution.
2005 (setup_cache) New function.
2006 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
2007 bug where they were not unlocking the GMutex associated with the
2008 condition variable during the wait on that condition variable.
2009
2010 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2011 native/jni/gtk-peer/gthread-jni.c,
2012 native/jni/gtk-peer/gthread-jni.h
2013 (g_thread_jni_functions): Renamed to ...
2014 (portable_native_sync_jni_functions): this name.
2015 (gdk_vm): Renamed to...
2016 (the_vm): this name.
2017
2018 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
2019 (gdk_vm): Removed duplicate definition.
2020 (gtkInit): Removed stray message to stdout.
2021 (gtkInit): Use g_malloc and g_free instead of malloc and free.
2022 (gtkInit): Fix a const assignment bug.
2023 (gtkInit): Simplified code.
2024
2025 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
2026 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
2027 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
2028 gnu/java/awt/peer/gtk/GThreadMutex.java:
2029 New files.
2030
20312004-08-31 Mark Wielaard <mark@klomp.org>
2032
2033 * javax/swing/Box.java: Put FIXME comment above class declaration.
2034 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
2035 * javax/swing/JCheckBox.java: Likewise.
2036 * javax/swing/JDialog.java: Likewise.
2037 * javax/swing/JRadioButton.java: Likewise.
2038 * javax/swing/JToggleButton.java: Likewise.
2039 * javax/swing/UIManager.java: Likewise.
2040 * javax/swing/border/TitledBorder.java: Likewise.
2041 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
2042 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
2043 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
2044 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
2045 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
2046 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
2047 * javax/swing/text/JTextComponent.java: Likewise.
2048
20492004-08-31 David Jee <djee@redhat.com>
2050
2051 PR AWT/16682
2052 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2053 (setIconImage): Add a FIXME for unhandled cases.
2054
20552004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2056
2057 PR AWT/16040
2058 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
2059 getModifiers. Replace old button masks with new ones.
2060 * gnu/awt/xlib/XEventLoop.java: Likewise.
2061 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
2062 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2063 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
2064 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
2065 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
2066 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
2067 * java/awt/Component.java: Replace old modifier masks with new
2068 ones.
2069 * java/awt/Container.java: Call getModifiersEx, not
2070 getModifiers.
2071 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
2072 old modifier masks.
2073 * javax/swing/JMenuItem.java: Replace old button masks with new
2074 ones.
2075 * javax/swing/KeyStroke.java: Call getModifiersEx, not
2076 getModifiers.
2077 * javax/swing/SwingUtilities.java: Likewise.
2078 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
2079 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
2080 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
2081 mask macros with new ones.
2082 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
2083 macros with new ones representing new masks.
2084
20852004-08-31 Craig Black <craig.black@aonix.com>
2086
2087 * gnu/java/awt/peer/gtk/GdkGraphics.java
2088 (drawRoundRect): Implemented.
2089 (fillRoundRect): Implemented.
2090 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2091 (drawRoundRect): Reimplemented to match GdkGraphics.
2092 (fillRoundRect): Reimplemented to match GdkGraphics.
2093
20942004-08-31 Mark Wielaard <mark@klomp.org>
2095
2096 * Makefile.in: Regenerated.
2097
20982004-08-31 Michael Koch <konqueror@gmx.de>
2099
2100 * gnu/java/awt/EmbeddedWindow.java
2101 (addNotify): Use AccessController to allow execution of privileged
2102 code.
2103
21042004-08-31 Michael Koch <konqueror@gmx.de>
2105
2106 * gnu/java/awt/EmbeddedWindow.java
2107 (static): Removed.
2108 (addNotify): Set peer via reflection.
2109 (setWindowPeer): Removed.
2110 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
2111 * Makefile.am (nat_source_files):
2112 Removed gnu/java/awt/natEmbeddedWindow.cc.
2113
21142004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2115
2116 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2117 and gnu/java/security/action/SetAccessibleAction.java.
2118
21192004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2120
2121 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2122 Renamed from 'setName'. New 2-argument form with default value.
2123 (run): Pass default 'value' parameter to System.getProperty().
2124 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2125 typos.
2126
21272004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2128
2129 * gnu/java/security/action/GetPropertyAction.java: New class.
2130 * gnu/java/security/action/SetAccessibleAction.java: New class.
2131
21322004-08-31 David Jee <djee@redhat.com>
2133
2134 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2135 (setIconImage): Check if image is null.
2136
21372004-08-31 David Jee <djee@redhat.com>
2138
2139 * gnu/java/awt/peer/gtk/GtkFramePeer.java
2140 (create): Set the icon image.
2141 (nativeSetIconImage): New native method declaration.
2142 (setIconImage): Implement.
2143 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2144 (nativeSetIconImage): New function.
2145
21462004-08-31 Dalibor Topic <robilad@kaffe.org>
2147
2148 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2149 (filenameFilterCallback): Declare local variable accepted before use.
2150
21512004-08-31 Dalibor Topic <robilad@kaffe.org>
2152
2153 * gnu/java/awt/ComponentDataBlitOp.java:
2154 Cleaned up imports.
2155
21562004-08-31 Tom Tromey <tromey@redhat.com>
2157
2158 * gnu/java/awt/peer/GLightweightPeer.java,
2159 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2160 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2161 javax/swing/JScrollPane.java: Removed
2162 redundant imports.
2163
21642004-08-31 David Jee <djee@redhat.com>
2165
2166 * java/awt/DefaultKeyboardFocusManager.java
2167 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
2168 event. Fix shift modifier checking.
2169 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2170 (accel_attach): Remove.
2171 (setupAccelGroup): Remove calls to accel_attach.
2172
21732004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2174
2175 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
2176 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2177
2178 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2179 GtkArgList.java.
2180 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2181 * Makefile.in: Regenerate.
2182 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2183 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2184 (create(String)): New method.
2185 (create): Call new create method.
2186 (getArgs): Remove method.
2187 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2188 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2189 (nativeCreate): Rename to create.
2190 (gtkSetLabel): Rename to gtkButtonSetLabel.
2191 (gtkToggleButtonSetActive): New method.
2192 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2193 (setState): Replace set call with gtkToggleButtonSetActive.
2194 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2195 (getArgs): Remove method.
2196 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2197 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2198 (gtkWidgetSetSensitive): New method.
2199 (gtkWidgetSetParent): Likewise.
2200 (GtkComponentPeer): Call setParent, setComponentBounds and
2201 setVisibleAndEnabled.
2202 (setParent): New method.
2203 (setComponentBounds): New method.
2204 (setVisibleAndEnabled): New method.
2205 (setEnabled): Call gtkWidgetSetSensitive.
2206 (getArgs): Remove method.
2207 Remove all set methods.
2208 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2209 gtkWindowSetModal, setTitle and setResizable.
2210 (getArgs): Remove method.
2211 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2212 (setComponentBounds): New method.
2213 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2214 Replace set call with gtkWindowSetResizable.
2215 (getArgs): Remove method.
2216 (create): Call setTitle and setResizable.
2217 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2218 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2219 (gtkWindowSetTitle): New method.
2220 (gtkWindowSetResizable): New method.
2221 (gtkWindowSetModal): New method.
2222 (setParent): New method.
2223 (setVisibleAndEnabled): New method.
2224 (getArgs): Remove method.
2225 (setTitle): Call gtkWindowSetTitle.
2226 (setResizable): Call gtkWindowSetResizable.
2227 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2228 and off locking instrumentation.
2229
22302004-08-31 Kim Ho <kho@redhat.com>
2231
2232 * Makefile.am: Add new file.
2233 * Makefile.in: Regenerate.
2234 * gcj/Makefile.in: Regenerate
2235 * include/Makefile.in:
2236 * java/awt/Container.java:
2237 (acquireComponentForMouseEvent): Respect
2238 the event mask when looking for candidate.
2239 * javax/swing/JComponent.java:
2240 Remove toolTip field.
2241 (createToolTip): Create a tooltip on demand.
2242 (setToolTipText): Register with the ToolTipManager.
2243 (getToolTipText(MouseEvent)): Return getToolTipText().
2244 * javax/swing/JToolTip.java: Implement.
2245 * javax/swing/Timer.java: Jalopy.
2246 (restart): Call stop, then start.
2247 (stop): Interrupt the timer rather than wait for
2248 the timer to come to a stop naturally.
2249 * javax/swing/ToolTipManager.java: Implement.
2250 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2251 Change ToolTip.background color.
2252 * javax/swing/plaf/basic/BasicToolTipUI.java:
2253 Implement.
2254 * testsuite/Makefile.in: Regenerate
2255
22562004-08-31 Jerry Quinn <jlquinn@optonline.net>
2257
2258 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2259 constructor param comments.
2260
22612004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2262
2263 * java/awt/Component.java: Document AWT 1.0 event handler
2264 methods.
2265
22662004-08-31 Roman Kennke <roman@ontographics.com>
2267
2268 * javax/swing/Box.java:
2269 (createGlue): Implemented
2270 (createHorizontalGlue): Implemented
2271 (createHorizontalStrut): Implemented
2272 (createVerticalGlue): Implemented
2273 (createVerticalStrut): Implemented
2274
22752004-08-31 David Jee <djee@redhat.com>
2276
2277 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2278 (GtkChoicePeer): Do not automatically select first item.
2279 (getHistory): Remove.
2280 (nativeGetSelected): New method.
2281 (nativeRemoveAll): New method.
2282 (add): Use nativeGetSelected() instead of getHistory().
2283 (remove): Likewise.
2284 (removeAll): Call nativeRemoveAll().
2285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2286 (create): Migrate to GtkComboBox.
2287 (append): Likewise.
2288 (nativeAdd): Likewise.
2289 (nativeRemove): Likewise.
2290 (select): Likewise.
2291 (nativeRemoveAll): New method.
2292 (nativeGetSelected): New method.
2293 (selection_changed): New method.
2294 (getHistory): Remove.
2295 (item_activate): Remove.
2296 (item_removed): Remove.
2297 (connect_choice_item_selectable_hook): Remove.
2298
22992004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2300
2301 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2302 variable in setEditable call.
2303
2304 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2305 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2306 (gtkWidgetSetBackground): New method.
2307 (gtkWidgetSetForeground): Likewise.
2308 (create): Set peer's editable state based on awtComponent's.
2309
2310 * java/awt/Button.java (Button()): Use empty string rather than
2311 null in no-label constructor.
2312
23132004-08-31 Roman Kennke <roman@ontographics.com>
2314
2315 * javax/swing/BoxLayout.java: Reimplement.
2316
23172004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2318
2319 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2320 gnu_java_awt_peer_gtk_GdkGraphics.c
2321 (initState(GtkComponentPeer)): Don't return array of colour
2322 values.
2323 (GdkGraphics(int,int)): Set default font to size 12.
2324 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2325 component's foreground colour.
2326 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2327 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2328 (initState(GtkComponentPeer)): Don't return array of colour
2329 values.
2330 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2331 colours to component's colours.
2332 (current_colors_of_widget): Remove function.
2333 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2334 Return a new graphics object.
2335 * java/awt/Font.java (toString): Fix format.
2336 * java/awt/Graphics.java (toString): Likewise.
2337
23382004-08-31 Craig Black <craig.black@aonix.com>
2339
2340 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2341 (addTearOff): New function.
2342 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2343 New native method.
2344 (init): Call addTearOff() when menu.isTearOff().
2345
23462004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2347
2348 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2349 Default implementation.
2350 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2351 Implement using GdkPixbufDecoder.
2352
23532004-08-31 David Jee <djee@redhat.com>
2354
2355 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2356 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2357 setting the size of GtkFileDialogPeers.
2358 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2359 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2360 use their default sizes rather than their natural requisitions.
2361
23622004-08-31 Michael Koch <konqueror@gmx.de>
2363
2364 * javax/swing/JFormattedTextField.java
2365 (JFormattedTextField): Implemented.
2366 * javax/swing/text/DefaultEditorKit.java
2367 (BeepAction): New inner class.
2368 * javax/swing/text/Segment.java
2369 (partialReturn): New field.
2370 (setPartialReturn): New method.
2371 (isPartialReturn): Likewise.
2372 * javax/swing/text/View.java
2373 (createFragment): Fixed typo.
2374 (getStartOffset): New method.
2375 (getEndOffset): Likewise.
2376
23772004-08-31 Michael Koch <konqueror@gmx.de>
2378
2379 * javax/swing/table/DefaultTableColumnModel.java
2380 (serialVersionUID): Made private.
2381 (listenerList): Initialize.
2382 (changeEvent): Initialize.
2383 * javax/swing/table/JTableHeader.java
2384 (JTableHeader): New constructors.
2385 (createDefaultColumnModel): New method.
2386 * javax/swing/table/TableColumn.java
2387 (setHeaderRenderer): Simplified code.
2388 (setCellRenderer): Likewise.
2389 (setWidth): Likewise.
2390
e2ab6d12
TT
23912004-08-31 Tom Tromey <tromey@redhat.com>
2392
2393 * java/text/AttributedString.java (AttributedString): Use
2394 ArrayList to build array of attribute ranges. Don't use
2395 `attribs' before it is set.
2396
1c340cb6
AT
23972004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2398
2399 * HACKING: Remove reference to special automake. No longer needed.
2400
b6e9851a
TT
24012004-08-30 Tom Tromey <tromey@redhat.com>
2402
2403 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2404 return result from `add'.
2405
05502144
TT
24062004-08-30 Tom Tromey <tromey@redhat.com>
2407
2408 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2409
e7023b0f
AT
24102004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2411
2412 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2413
2c64dead
JF
24142004-08-30 Jeroen Frijters <jeroen@frijters.net>
2415
2416 * java/io/File.java File(String,String): Fixed handling of empty
2417 path.
2418
bd8a2e96
CM
24192004-08-30 Casey Marshall <csm@gnu.org>
2420
2421 Author e-mail updated for all files.
2422 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2423 instance of OID.
2424 (compareTo): Use `equals'.
2425 * gnu/java/security/der/BitString.java (equals): Test if the
2426 argument is an instance of BitString.
2427 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2428 class final. Made fields private.
2429 (<init>): New constructor.
2430 (skip): New method.
2431 (makeString): Made static; don't use NIO.
2432 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2433 * gnu/java/security/der/DERWriter.java: Fixed imports.
2434 (writeString): Don't use NIO.
2435 (toIso88591, toUtf16Be, toUtf8): New methods.
2436 * gnu/java/security/der/DERValue.java: Formatting changes only.
2437 * gnu/java/security/der/DER.java: Likewise.
2438
68760aee
AT
24392004-08-30 Tom Tromey <tromey@redhat.com>
2440
2441 * java/nio/CharBuffer.java (put): Fix typo.
2442 * java/nio/DoubleBuffer.java (put): Fix typo.
2443 * java/nio/FloatBuffer.java (put): Fix typo.
2444 * java/nio/IntBuffer.java (put): Fix typo.
2445 * java/nio/LongBuffer.java (put): Fix typo.
2446 * java/nio/ShortBuffer.java (put): Fix typo.
2447
24482004-08-30 Florian Weimer <fw@deneb.enyo.de>
2449
2450 * java/nio/ByteBuffer.java (put): Fix typo.
2451
28839b70
CM
24522004-08-30 Casey Marshall <csm@gnu.org>
2453
2454 * java/security/DummyKeyPairGenerator.java (clone): Removed
2455 useless instanceof check.
2456 * java/security/DummyMessageDigest.java (clone): Likewise.
2457 * java/security/DummySignature.java (clone): Likewise.
2458 * java/security/MessageDigest.java (clone): Remove useless
2459 instanceof check.
2460 * java/security/MessageDigestSpi.java (clone): Likewise.
2461 * java/security/Signature.java (clone): Provide meaningful
2462 implementation.
2463 * java/security/SignatureSpi.java (clone): Likewise.
2464
6cd655a3
MW
24652004-08-29 Mark Wielaard <mark@klomp.org>
2466
2467 * java/util/Arrays.java
2468 (sort(byte[], int, int)): Check fromIndex < 0.
2469 (sort(char[], int, int)): Likewise.
2470 (sort(short[], int, int)): Likewise.
2471 (sort(int[], int, int)): Likewise.
2472 (sort(long[], int, int)): Likewise.
2473 (sort(float[], int, int)): Likewise.
2474 (sort(double[], int, int)): Likewise.
2475 (sort(Object[], int, int, Comparator)): Likewise.
2476 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2477 (qsort(char[], int, int)): Likewise.
2478 (qsort(short[], int, int)): Likewise.
2479 (qsort(int[], int, int)): Likewise.
2480 (qsort(long[], int, int)): Likewise.
2481 (qsort(float[], int, int)): Likewise.
2482 (qsort(double[], int, int)): Likewise.
2483
477a21f7
AJH
24842004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2485
2486 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2487 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2488 java/util/ArrayList.java, java/util/Arrays.java,
2489 java/util/BitSet.java, java/util/Calendar.java,
2490 java/util/Collection.java, java/util/ListIterator.java,
2491 java/util/Map.java, java/util/SortedSet.java:
2492 Added additional exceptions to documentation, along
2493 with some additions and corrections.
2494
ed347998
HB
24952004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2496
2497 * configure.ac: Handle --enable-gc-debug.
2498 * configure: Regenerate.
2499 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2500 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2501 Rearrange include file order.
2502 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2503 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2504 (disable_gc_mutex): Delete along with all references.
2505 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2506 adjust for debug header size.
2507 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2508 debug case.
2509 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2510 (gcj_describe_type_fn): New.
2511 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2512 Register gcj_describe_type_fn.
2513 * include/boehm-gc.h:
2514 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2515 Don't define, but declare, for debug case.
2516 * java/lang/natObject.cc:
2517 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2518
42348101
MW
25192004-08-26 Mark Wielaard <mark@klomp.org>
2520
2521 Fixes PR libgcj/17002:
2522 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2523 a TimeZoneId string and then try to convert that to a TimeZone with
2524 getDefaultSystemTimeZone(String).
2525 (timezones0): Changed type from Hashtable to HashMap.
2526 (timezones): Create HashMap, not Hashtable.
2527 (getDefaultTimeZone): New method, rewritten from CNI version.
2528 (readTimeZoneFile): New method.
2529 (readtzFile): Likewise.
2530 (skipFully): Likewise.
2531 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2532 getDefaultTimeZoneId and rewritten.
2533 (getDefaultTimeZoneId): Rewritten in java.
2534
ed89de94
DD
25352004-08-25 David Daney <daney@avtrex.com>
2536
2537 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2538 * Makefile.in: Regenerated.
2539
8ba14152
BM
25402004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2541
2542 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2543 only if jvmpi is enabled.
2544 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2545 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2546 (_Jv_AllocString): Likewise.
2547 (_Jv_AllocPtrFreeObject): Likewise.
2548
0039c16d 25492004-08-23 Hans Boehm <Hans.Boehm@hp.com>
8ba14152 2550
0039c16d
HB
2551 * defineclass.cc: Include <stdio.h>.
2552 * java/lang/natClassLoader.cc: Include <stdio.h>.
2553
be2043db
AT
25542004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2555 Michael Koch <konqueror@gmx.de>
2556
2557 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2558 * Makefile.in: Regenerated.
2559
b7d9c3ae
MK
25602004-08-20 Michael Koch <konqueror@gmx.de>
2561
2562 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2563 AC_COMPILE_IFELSE macros.
2564
80d8905c
MK
25652004-08-20 Michael Koch <konqueror@gmx.de>
2566
2567 * configure.in: Renamed to configure.ac.
2568 * configure.ac: New file.
2569 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2570 include/config.h.in, testsuite/Makefile.in: Regenerated.
2571
cad90591
MK
25722004-08-20 Michael Koch <konqueror@gmx.de>
2573
2574 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2575 * aclocal.m4, configure: Regenerated.
2576
e3f92d3b
MK
25772004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2578 Michael Koch <konqueror@gmx.de>
2579
438c7f23
BM
2580 * configure.in, Makefile.am: Ported to automake 1.9.
2581 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2582 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
e3f92d3b
MK
2583 Regenerated.
2584
476a918f
TT
25852004-08-19 Tom Tromey <tromey@redhat.com>
2586
2587 * java/net/DatagramSocket.java: Fixed typo.
2588
bb0452b1
BM
25892004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2590
2591 PR libgcj/17081
2592 * java/net/URI.java (string): New field. Make all other fields
2593 transient.
2594 (readObject): Implemented.
2595 (writeObject): Implemented.
2596 (URI): Set 'string'.
2597
b4b3435e
BM
25982004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2599
2600 PR libgcj/17079
2601 * java/util/logging/Handler.java (isLoggable): Accept record if its
2602 log level equals the threshold level. From Robin Green.
2603
720086cd
DD
26042004-08-18 David Daney <ddaney@avtrex.com>
2605
2606 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2607 instead of sigwait.
2608
baeff970
MK
26092004-08-17 Michael Koch <konqueror@gmx.de>
2610
2611 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2612 * Makefile.in: Regenerated.
2613
0e5b1376
TT
26142004-08-16 Tom Tromey <tromey@redhat.com>
2615
2616 PR java/8473:
2617 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2618
be170ef2
MK
26192004-08-16 Michael Koch <konqueror@gmx.de>
2620
2621 * Makefile.am
2622 (math_c_files): Renamed from c_files.
2623 (math_c_source_files): Renamed from c_source_files.
2624 * Makefile.in,
2625 gcj/Makefile.in,
2626 include/Makefile.in,
2627 testsuite/Makefile.in: Regenerated.
2628
7614fd28
BM
26292004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2630
2631 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2632 to avoid autoconf warning.
2633 * configure: Rebuilt.
2634
1c5192e4
AT
26352004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2636
2637 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2638 localhostAddress to loopbackAddress.
2639 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2640
4109fe85
BM
26412004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2642
2643 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2644 boehm-gc's include dirs.
2645 * configure: Rebuilt.
2646 * include/boehm-gc.h: Include gc_config.h.
2647
d7945faf
BM
26482004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2649
2650 * java/net/InetAddress.java (loopbackAddress): Renamed from
2651 localhostAddress.
2652 (getByName): Return loopback address for null hostname, without
2653 security check. Use lookup(), not getAllByName.
2654 (getAllByName): Return loopback address for null hostname, without
2655 security check.
2656 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2657 check here.
2658
73389fa4
BM
26592004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2660
2661 PR libgcj/17020
2662 Reported by Robin Green.
2663 * defineclass.cc (handleField): Don't throw exception on unrecognised
2664 modifier. Add FIXME comments for spec compliance.
2665 (handleMethod): Likewise.
2666
28e99c62
HB
26672004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2668
2669 PR libgcj/16662
2670 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2671 (Almost everywhere): add LOG calls, fix, add comments.
2672 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2673 Add explicit check for LOCKED bit in slow case (PR 16662).
2674 (_Jv_MonitorExit): Add casts in debug-only code.
2675 Always release LOCKED bit before throwing exception.
2676 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2677 isn't. Handle easy cases without lock acquisition.
2678 (Object::wait): Use NotifyAll for lock inflation.
2679
faa03cf1
DD
26802004-08-12 David Daney <ddaney@avtrex.com>
2681
2682 * testsuite/libjava.lang/Process_1.java: New test.
2683 * testsuite/libjava.lang/Process_2.java: New test.
2684 * testsuite/libjava.lang/Process_3.java: New test.
2685 * testsuite/libjava.lang/Process_4.java: New test.
2686 * testsuite/libjava.lang/Process_5.java: New test.
2687 * testsuite/libjava.lang/Process_6.java: New test.
2688 * testsuite/libjava.lang/Process_1.out: Expected result.
2689 * testsuite/libjava.lang/Process_2.out: Expected result.
2690 * testsuite/libjava.lang/Process_3.out: Expected result.
2691 * testsuite/libjava.lang/Process_4.out: Expected result.
2692 * testsuite/libjava.lang/Process_5.out: Expected result.
2693 * testsuite/libjava.lang/Process_6.out: Expected result.
2694
26952004-08-12 David Daney <ddaney@avtrex.com>
2696
2697 PR libgcj/11801
2698 * java/lang/PosixProcess.java: Rewrote.
2699 * java/lang/natPosixProcess.cc: Rewrote.
2700 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2701 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2702 * posix-threads.cc (block_sigchld) New function.
2703 (_Jv_ThreadRegister) Use it.
2704 (_Jv_ThreadStart) Use it.
2705 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2706 * Makefile.am: ... to specify extra native headers.
2707 * configure: Regenerated.
2708 * include/config.h: Regenerated.
2709 * Makefile.in: Regenerated.
2710 * gcj/Makefile.in: Regenerated.
2711 * include/Makefile.in: Regenerated.
2712 * testsuite/Makefile.in: Regenerated.
2713
c597ef4e
DN
27142004-08-12 Diego Novillo <dnovillo@redhat.com>
2715
2716 PR tree-optimization/16867
2717 * testsuite/libjava.lang/PR16867.java: New test.
2718
b4d49f49
PB
27192004-08-09 Per Bothner <per@bothner.com>
2720
2721 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2722 with private fields and access methods.
2723 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2724 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2725 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2726 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2727 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2728 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2729 * jni.cc: Likewise.
2730 * resolve.cc: Likewise.
2731 * gcj/field.h: Likewise.
2732 * include/jvm.h: Likewise.
2733 * java/lang/Class.h: Likewise.
2734 * java/lang/natClass.cc: Likwise.
2735 * java/lang/natClassLoader.cc: Likewise
2736 * java/lang/reflect/natMethod.cc: Likewise
2737 * verify.cc: Likewise.
2738 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2739 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2740
7e04b67b
AH
27412004-08-10 Andrew Haley <aph@redhat.com>
2742
2743 * testsuite/libjava.lang/err14.java: New file.
2744 * testsuite/libjava.lang/err14.out: New file.
2745
48a8c565
AT
27462004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2747
2748 * Makefile.am: Fix missing rename from x_nat_headers to
2749 xlib_nat_headers.
2750 * Makefile.in: Regenerated.
2751
26be638d
AH
27522004-08-04 Andrew Haley <aph@redhat.com>
2753
2754 * java/security/BasicPermission.java: Don't check wildcards.
2755
614c0fc2
TF
27562004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2757 Michael Koch <konqueror@gmx.de>
2758
2759 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2760 * configure.in: Replaced all usages of AC_LINK_FILES by
2761 AC_CONFIG_LINKS.
2762 * aclocal.m4,
2763 configure: Regenerated.
2764
ff78c80b
TF
27652004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2766 Michael Koch <konqueror@gmx.de>
2767
2768 * acconfig.h: Removed.
2769 * Makefile.am: Rename variables for xlib peer to include xlib and
2770 gtk_c_headers to gtk_jni_headers.
2771 * Makefile.in: Regenerated.
2772
76207f7c
AH
27732004-08-04 Andrew Haley <aph@redhat.com>
2774
2775 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2776 debugging.
2777
aed6152d
NN
27782004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2779
2780 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2781 Replace most top level 'dnl' comments with '#' comments, conforming
2782 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2783 help strings.
2784 * configure: Rebuilt.
2785
ed698112
NN
27862004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2787
2788 * acinclude.m4: Include no-executables.m4.
2789 * aclocal.m4: Rebuild.
2790 * configure.in: Convert to the autoconf 2.59 version of
2791 of the no-executables hack, and also of the nonstandard CXX
2792 hack and the multilibbed CC and CXX hack. Change prerequisite
2793 to autoconf 2.59.
2794 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2795 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2796 testsuite/Makefile.in: Regenerate.
2797
8e9031ec
TT
27982004-08-03 Tom Tromey <tromey@redhat.com>
2799
2800 * jni.cc: Reindented.
2801
474f5417
BM
28022004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2803
2804 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2805
899deeca
BM
28062004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2807
2808 * testsuite/libjava.compile/PR16701.java: New test.
2809
b828123e
AJH
28102004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2811
2812 * java/util/Collection.java, java/util/List.java,
2813 java/util/Map.java, java/util/Set.java,
2814 java/util/SortedMap.java, java/util/SortedSet.java:
2815 Added additional exceptions to documentation.
2816
5b5662ee
DS
28172004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2818
2819 PR libgcj/16814
2820 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2821 * configure. Regenerate.
2822 * include/win32.h: Explicitly include winsock2.h
2823 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2824 Winsock api.
2825
f370ef24
MK
28262004-07-30 Michael Koch <konqueror@gmx.de>
2827
2828 * java/util/zip/GZIPInputStream.java
2829 (GZIPInputStream): Increase buffer size to 4k.
2830 * java/util/zip/GZIPOutputStream.java
2831 (GZIPOutputStream): Likewise.
2832 * java/util/zip/Inflater.java
2833 (setInput): Merged formating with GNU classpath.
2834 * java/util/zip/InflaterInputStream.java
2835 (InflaterInputStream): Increase buffer size to 4k.
2836 (fill): Throw exception if stream ends early.
2837 (read): Merged endless-loop with GNU classpath.
2838 (skip): Increase buffer size to 2k.
2839
2afed683
MK
28402004-07-30 Michael Koch <konqueror@gmx.de>
2841
2842 * gnu/java/awt/EmbeddedWindow.java
2843 (addNotify): Use AccessController to allow execution of privileged
2844 code.
2845
a639e504
MK
28462004-07-29 Michael Koch <konqueror@gmx.de>
2847
2848 * gnu/java/lang/MainThread.java:
2849 Explicitely import used classes.
2850 (args): Make it type String[].
2851
1cc49b13
DT
28522004-07-29 Dalibor Topic <robilad@kaffe.org>
2853
2854 * gnu/java/awt/ComponentDataBlitOp.java,
2855 gnu/java/beans/ExplicitBeanInfo.java,
2856 gnu/java/beans/IntrospectionIncubator.java,
2857 gnu/java/beans/editors/ColorEditor.java,
2858 gnu/java/beans/editors/FontEditor.java,
2859 gnu/java/beans/editors/NativeBooleanEditor.java,
2860 gnu/java/beans/editors/NativeByteEditor.java,
2861 gnu/java/beans/editors/NativeDoubleEditor.java,
2862 gnu/java/beans/editors/NativeFloatEditor.java,
2863 gnu/java/beans/editors/NativeIntEditor.java,
2864 gnu/java/beans/editors/NativeLongEditor.java,
2865 gnu/java/beans/editors/NativeShortEditor.java,
2866 gnu/java/beans/editors/StringEditor.java,
2867 gnu/java/io/ClassLoaderObjectInputStream.java,
2868 gnu/java/io/decode/Decoder.java,
2869 gnu/java/io/encode/Encoder.java,
2870 gnu/java/lang/ClassHelper.java,
2871 gnu/java/locale/Calendar.java,
2872 gnu/java/locale/Calendar_de.java,
2873 gnu/java/locale/Calendar_en.java,
2874 gnu/java/locale/Calendar_nl.java,
2875 gnu/java/locale/LocaleInformation_de.java,
2876 gnu/java/locale/LocaleInformation_en.java,
2877 gnu/java/locale/LocaleInformation_nl.java:
2878 Cleaned up imports.
2879
4d4fed15
BM
28802004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2881
2882 * README: Remove obsolete info. Update bug URL.
2883 * THANKS: Updated.
e90bcbf5 2884 * NEWS: Updated with news up to GCC 3.4 release.
4d4fed15 2885
64d696b6
BM
28862004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2887
2888 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2889 Renamed from 'setName'. New 2-argument form with default value.
2890 (run): Pass default 'value' parameter to System.getProperty().
2891 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2892 typos.
2893 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2894 not 'setName'.
2895
f0faf24b
BM
28962004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2897
2898 * configure.in: Check for minimum GTK version 2.4 requirement.
2899 * configure: Rebuilt.
2900
ce961468
BM
29012004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2902
2903 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2904 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2905 Reduce sleep time.
2906 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2907 compiler bug.
2908 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2909 address. Reduce sleep times. Synchronize with target threads before
2910 attempting to interrupt them. Don't try to calibrate yeild count,
2911 instead, always loop for a fixed time.
2912 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2913 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2914 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2915 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2916 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2917 * testsuite/libjava.lang/pr179.java: Likewise.
2918 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2919 time. Remove upper bounds check on sleep time.
2920
0954f3eb
BM
29212004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2922
2923 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2924 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2925
d078f7c0
BM
29262004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2927
2928 * java/io/File.java (toURI): Throw RuntimeException, not
2929 InternalError.
2930 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2931 class name, not instance.
2932
8b66a9e9
BM
29332004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2934
2935 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2936 and gnu/java/security/action/SetAccessibleAction.java.
2937 * Makefile.in: Rebuilt.
2938
ffe4e037
BM
29392004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2940
2941 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2942 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2943 _Jv_InitPrimClass.
2944 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2945 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2946 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2947
ef05818b
TF
29482004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2949
2950 * Makefile.am: Replace jar, rmic and rmiregistry references with
2951 gjar, grmic and grmiregistry.
2952 * configure.in: Likewise.
2953 * Makefile.in: Regenerate.
2954 * configure: Likewise.
2955 * gcj/Makefile.in: Likewise.
2956 * include/Makefile.in: Likewise.
2957 * testsuite/Makefile.in: Likewise.
2958
ae066484
BM
29592004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2960
ec5c28ec
BM
2961 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2962 for privileged getProperty calls.
2963 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2964 SetAccessibleAction instead of anonymous class for doPrivileged call.
2965 (getMethod): Likewise.
2966 (setAccessible): New field. PrivilegedAction object to use when
2967 calling setAccessible.
2968 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2969 SetAccessibleAction instead of anonymous class for diPrivileged call.
2970 (setFields): Likewise.
2971 (getClassUID): Likewise.
2972 (findMethod): Likewise.
2973 * gnu/java/security/action/GetPropertyAction.java: New class.
2974 * gnu/java/security/action/SetAccessibleAction.java: New class.
2975
29762004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2977
2978 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2979 for final fields.
ae066484
BM
2980 * testsuite/libjava.lang/Serialization.java: New test.
2981 * testsuite/libjava.lang/Serialization.out: New.
2982
29832004-07-23 Bryce McKinlay <mckinlay@redhat.com>
694e657a
MW
2984
2985 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2986 missed in last commit.
2987
392abf6b
MW
29882004-07-23 Mark Wielaard <mark@klomp.org>
2989
2990 * java/lang/System.java (static): Set http.agent system property when
2991 not yet set.
2992 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2993 from system property inside AccessController.doPrivileged() call.
2994 (proxyPort): Made package private.
2995 (proxyInUse): Likewise.
2996 (proxyHost): Likewise.
2997 (userAgent): Likewise.
2998
6d97cb60
MW
29992004-07-23 Mark Wielaard <mark@klomp.org>
3000
3001 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
3002 implementation.
3003
f1f90ae0
BM
30042004-07-22 Bryce McKinlay <mckinlay@redhat.com>
3005
3006 * Makefile.am (ordinary_java_source_files): Add
3007 DefaultContentHandlerFactory.java.
3008 * Makefile.in: Rebuilt.
3009 * java/net/URLConnection.java (defaultFactory): New field.
3010 (getContent):
3011 (getContentHandler): Renamed from 'setContentHandler'. Try
3012 defaultFactory after user-set factory, if any. Search for content
3013 handler implementations in gnu.java.net.content, not gnu.gcj.content.
3014 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
3015 Implemented.
3016 (getLastModified): Implemented.
3017 (getPermission): Create file permission here, instead of in
3018 constructor.
3019 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
3020 Implemented.
3021 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
3022 Implemented.
3023 (getLastModified): Implemented.
3024 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
3025 Default implementation.
3026 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
3027 Implement using GdkPixbufDecoder.
3028
8e99fb4f
GH
30292004-07-21 Michael Koch <konqueror@gmx.de>
3030
3031 * javax/swing/JTextArea.java
3032 (setLineWrap): Fire property change event after new value is set.
3033 (setTabSize): Likewise.
3034
30352004-07-21 Michael Koch <konqueror@gmx.de>
3036
3037 * javax/swing/JTable.java
3038 (autoCreateColumnsFromModel): New field.
3039 (autoResizeMode): Likewise.
3040 (cellEditor): Likewise.
3041 (cellSelectionEnabled): Likewise.
3042 (columnModel): Likewise.
3043 (dataModel): Likewise.
3044 (defaultEditorsByColumnClass): Likewise.
3045 (defaultRenderersByColumnClass): Likewise.
3046 (editingColumn): Likewise.
3047 (editingRow): Likewise.
3048 (gridColor): Likewise.
3049 (preferredViewportSize): Likewise.
3050 (rowHeight): Likewise.
3051 (rowMargin): Likewise.
3052 (rowSelectionAllowed): Likewise.
3053 (selectionBackground): Likewise.
3054 (selectionForeground): Likewise.
3055 (selectionModel): Likewise.
3056 (showHorizontalLines): Likewise.
3057 (showVerticalLines): Likewise.
3058 (tableHeader): Likewise.
3059 (JTable): Implemented.
3060 (getColumnModel): Likewise.
3061 (getSelectedRow): Likewise.
3062 (getSelectionModel): Likewise.
3063 (setModel): Likewise.
3064 (setSelectionModel): Likewise.
3065 (createScrollPaneForTable): New method.
3066 (createDefaultDataModel): Likewise.
3067 (createDefaultListSelectionModel): Likewise.
3068 (getModel): Likewise.
3069 (getTableHeader): Likewise.
3070 (setTableHeader): Likewise.
3071 (getColumnSelectionAllowed): Likewise.
3072 (setColumnSelectionAllowed): Likewise.
3073 (getRowSelectionAllowed): Likewise.
3074 (setRowSelectionAllowed): Likewise.
3075 (getAutoResizeMode): Likewise.
3076 (setAutoResizeMode): Likewise.
3077 (getColumnCount): Likewise.
3078 (getRowCount): Likewise.
3079 (getCellRenderer): Likewise.
3080 * javax/swing/JTree.java
3081 (cellRenderer): New field.
3082 (editable): Likewise.
3083 (rootVisible): Likewise.
3084 (showsRootHandles): Likewise.
3085 (getModel): New method.
3086 (setModel): Likewise.
3087 (isEditable): Likewise.
3088 (setEditable): Likewise.
3089 (isRootVisbile): Likewise.
3090 (setRootVisible): Likewise.
3091 (getShowsRootHandles): Likewise.
3092 (setShowRootHandles): Likewise.
3093 (getCellRenderer): Likewise.
3094 (setCellRenderer): Likewise.
3095
30962004-07-21 Michael Koch <konqueror@gmx.de>
3097
3098 * javax/swing/JFormattedTextField.java
3099 (setDocument): Implemented.
3100 * javax/swing/JRootPane.java:
3101 Fixed javadocs.
3102 * javax/swing/JTable.java
3103 (getDefaultRenderer): New method.
3104 * javax/swing/JTextField.java
3105 (setFont): Likewise.
3106 (getPreferredSize): Likewise.
3107 * javax/swing/JToggleButton.java
3108 (getAccessibleContext): Fix javadoc.
3109 * javax/swing/JTree.java:
3110 Add some javadocs.
3111 * javax/swing/JViewport.java:
3112 Likewise.
3113
31142004-07-21 David Jee <djee@redhat.com>
3115
3116 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
3117 Collect all native method declaration at the top.
3118 (create): Set the filename filter if necessary.
3119 (setDirectory): Call nativeSetDirectory().
3120 (setFilenameFilter): Implement.
3121 (filenameFilterCallback): New method.
3122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3123 (create): Configure dialog to show hidden files.
3124 (filenameFilterCallback): New function.
3125 (nativeSetFilenameFilter): New function.
3126 (nativeSetDirectory): New function.
3127
31282004-07-21 Kim Ho <kho@redhat.com>
3129
3130 * javax/swing/plaf/basic/BasicSliderUI.java:
3131 Ran Jalopy.
3132 (paintTrack): Fill the track before painting
3133 the borders.
3134
31352004-07-21 Graydon Hoare <graydon@redhat.com>
3136
3137 patch from Roman Kennke <roman@ontographics.com>
3138 * javax/swing/Spring.java: New file.
3139 * javax/swing/SpringLayout.java: New file.
3140 * Makefile.am: Add new files.
3141 * Makefile.in: Regenerate.
3142
31432004-07-21 Graydon Hoare <graydon@redhat.com>
3144
3145 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
3146 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
3147 * javax/swing/ScrollPaneLayout.java: Likewise.
3148
31492004-07-21 Kim Ho <kho@redhat.com>
3150
3151 * javax/swing/DefaultDesktopManager.java:
3152 (findMinimum): Removed.
3153 (resizeFrame): Trust the UI to pass valid
3154 bounds.
3155 * javax/swing/JOptionPane.java:
3156 Implemented showInternalXXXDialog methods.
3157 (startModal): New method.
3158 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
3159 (BorderListener::mouseDragged): Verify that the new
3160 bounds are valid before passing them to the DesktopManager.
3161 (preferredLayoutSize): Delegate
3162 to getSize.
3163 (minimumLayoutSize): Ditto.
3164 (getSize): New method.
3165 (GlassPaneDispatcher): Reimplemented by copying
3166 a stripped down LightweightDispatcher from Container.
3167 (getMinimumSize): Call minimumLayoutSize.
3168 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
3169 Ran Jalopy.
3170 (mousePressed): Add ability to properly close
3171 JInternalFrames.
3172 * javax/swing/plaf/basic/BasicToolBarUI.java:
3173 (DragWindow): Set owner for DragWindow.
3174
31752004-07-21 Jerry Quinn <jlquinn@optonline.net>
3176
3177 * java/awt/image/ShortLookupTable.java: New file.
3178 * java/awt/image/ByteLookupTable.java: New file.
3179 * Makefile.am: Added new files.
3180 * Makefile.in: Regenerated.
3181
31822004-07-21 David Jee <djee@redhat.com>
3183
3184 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3185 (create(GtkContainerPeer)): New native method.
3186 (create()): Call native create(), passing in the parent frame
3187 as the paramter. Natively set the current file and directory.
3188 (setFile): Construct an absolute filename before passing it to
3189 the native peer.
3190 (nativeGetDirectory): New method.
3191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3192 (window_closed): Removed.
3193 (ok_clicked): Likewise.
3194 (cancel_clicked): Likewise.
3195 (handle_response): New method.
3196 (create): Use GtkFileChooserDialog.
3197 (connectSignals): Connect to handle_response.
3198 (nativeGetDirectory): New method.
3199 (nativeSetFile): Use GtkFileChooserDialog.
3200
32012004-07-21 Jerry Quinn <jlquinn@optonline.net>
3202
3203 * java/awt/image/LookupTable.java: New file.
3204 * Makefile.am: Added new file.
3205 * Makefile.in: Regenerated.
3206
32072004-07-21 Jerry Quinn <jlquinn@optonline.net>
3208
3209 * java/awt/image/Kernel.java: New file.
3210 * Makefile.am: Added new file.
3211 * Makefile.in: Regenerated.
3212
32132004-07-21 Olga Rodimina <rodimina@redhat.com>
3214
3215 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3216 * javax/swing/JMenu.java: Likewise.
3217 * javax/swing/JMenuBar.java: Likewise.
3218 (MARGIN_CHANGED_PROPERTY): New property.
3219 (setMargin): Implemented.
3220 * javax/swing/JMenuItem.java: Fixed javadocs.
3221 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3222 (LABEL_CHANGED_PROPERTY): New property.
3223 (add): changed to use createActionComponent.
3224 (createActionComponent): Implemented.
3225 (setLabel): Fire PropertyChangeEvent if label property
3226 changes.
3227 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3228 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3229 (ContainerHandler): Repaint if margin property has changed.
3230 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3231 (installUI): Call installComponents().
3232 (uninstallUI): Call uinstallComponents().
3233 * javax/swing/plaf/basic/BasicMenuUI.java:
3234 Fixed javadocs.
3235 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3236 Likewise.
3237
32382004-07-21 Kim Ho <kho@redhat.com>
3239
3240 * javax/swing/plaf/basic/BasicToolBarUI.java:
3241 (DragWindow): Use the right constructor.
3242
32432004-07-21 Kim Ho <kho@redhat.com>
3244
3245 * javax/swing/JToolBar.java:
3246 (layoutContainer): Use getComponents.
3247 * javax/swing/plaf/basic/BasicToolBarUI.java:
3248 (DragWindow): Don't use SwingUtilities'
3249 getOwnerFrame
3250 (ToolBarDialog): ditto.
3251
32522004-07-21 Kim Ho <kho@redhat.com>
3253
3254 * javax/swing/JRootPane.java:
3255 Ran jalopy.
3256 (layoutContainer): Set the glasspane's size to
3257 be the same as the content pane.
3258 (createGlassPane): Set opaque property to false.
3259
32602004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3261
3262 * java/awt/Component.java (requestFocus()): Don't handle Panels
3263 specially.
3264 (requestFocus(boolean)): Likewise.
3265 (requestFocusInWindow(boolean)): Likewise.
3266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3267 Set GTK_CAN_FOCUS flag.
3268
32692004-07-21 Kim Ho <kho@redhat.com>
3270
3271 * Makefile.am: Added new file.
3272 * Makefile.in: Regenerated.
3273 * gcj/Makefile.in: Regenerated.
3274 * include/Makefile.in: Regenerated.
3275 * javax/swing/AbstractButton.java:
3276 Add rollOverEnabled property.
3277 (setRolloverEnabled): Use new property.
3278 (isRolloverEnabled): Use new property.
3279 * javax/swing/JTabbedPane.java:
3280 (setComponent): Remove useless JTabbedPane.this.
3281 * javax/swing/JToolBar.java: Finish implementation.
3282 * javax/swing/plaf/basic/BasicArrowButton.java:
3283 (paint): Moved border painting to a border.
3284 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3285 Change JToolBar look and feel defaults.
3286 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3287 (actionPerformed): Return Integer index instead of name.
3288 (addButtonComponents): Check to see if component is
3289 JButton last.
3290 (createMessageArea): Don't use components that are not
3291 completed yet.
3292 (getIconForType): Use temporary icons.
3293 * javax/swing/plaf/basic/BasicSliderUI.java:
3294 (mousePressed): Do not return if it's on thumb.
3295 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3296 (paintMinorTickForVertSlider): ditto.
3297 (paintMajorTickForHorizSlider): ditto.
3298 (paintMajorTickForVertSlider): ditto.
3299 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3300 Add a border around the SplitPaneDivider.
3301 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3302 Remove comments.
3303 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3304 New file. Implemented.
3305 * javax/swing/plaf/basic/BasicToolBarUI.java:
3306 Implemented.
3307 * testsuite/Makefile.in: Regenerated.
3308
33092004-07-21 Graydon Hoare <graydon@redhat.com>
3310
3311 * javax/swing/Timer.java (run): Queue events each time cycle.
3312
33132004-07-21 David Jee <djee@redhat.com>
3314
3315 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3316 (imageComplete): Call image.imageComplete().
3317 * java/awt/image/MemoryImageSource.java:
3318 Reimplement consumers as a Vector instead of a Hashtable. This is
3319 because enumeration on a Hashtable is not thread-safe.
3320 (addConsumer): Adapt to Vector consumers.
3321 (isConsumer): Adapt to Vector consumers.
3322 (removeConsumer): Adapt to Vector consumers.
3323 (startProduction): Adapt to Vector consumers. Call imageComplete()
3324 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3325 (newPixels): Adapt to Vector consumers.
3326 (sendPicture): Set the color model of the image consumer.
3327 (newPixels(IIII)): Adapt to Vector consumers.
3328 (newPixels(IIIIB)): Adapt to Vector consumers.
3329
33302004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3331
3332 * java/awt/Component.java (deliverEvent): Implement.
3333 (postEvent): Implement.
3334 (handleEvent): Implement.
3335 (translateEvent): New method.
3336 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3337 * java/awt/Container.java (deliverEvent): Implement.
3338 * java/awt/Event.java (paramString): Fix formatting.
3339 * java/awt/Font.java (toString): Likewise.
3340 * java/awt/Window.java (postEvent): Implement.
3341
33422004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3343
3344 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3345 Set window's focus owner upon receiving a FOCUS_LOST event.
3346 * java/awt/Window.java (Window()): Refocus the previously
3347 focused component within the window when the window regains the
3348 top-level focus.
3349 (setFocusOwner): New method.
3350 * java/awt/Component.java (requestFocus): Add FIXME.
3351
3352 * libgcj.pc.in: Remove library flags.
3353
33542004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3355
3356 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3357 MOUSE_PRESSED event.
3358 * java/awt/Component.java (requestFocus()): Handle Panel
3359 specially. Post FOCUS_LOST event on opposite component.
3360 (requestFocus(boolean)): Likewise.
3361 (requestFocusInWindow(boolean)): Likewise.
3362 (paramString): Reorder dimension fields.
3363 * java/awt/Container.java (paramString): Fix string format.
3364 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3365 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3366 process key events if the focus owner is non-null.
3367 (dispatchKeyEvent): Likewise.
3368 * java/awt/Frame.java (paramString): Fix formatting.
3369 (generateName): New method.
3370 (getUniqueLong): Likewise.
3371 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3372 the temporary focus owner is null. If so, return the permanent
3373 focus owner.
3374 * java/awt/Panel.java (generateName): New method.
3375 (getUniqueLong): Likewise.
3376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3377 signal handling to make callbacks more specific.
3378
33792004-07-21 Michael Koch <konqueror@gmx.de>
3380
3381 * javax/swing/text/Position.java
3382 (Bias): Implemented.
3383
33842004-07-21 Michael Koch <konqueror@gmx.de>
3385
3386 * javax/swing/LookAndFeel.java
3387 (provideErrorFeedback): New method.
3388
33892004-07-21 Michael Koch <konqueror@gmx.de>
3390
3391 * javax/swing/JTextArea.java
3392 (tabSize): New field.
3393 (getTabSize): New method.
3394 (setTabSize): Likewise.
3395
33962004-07-21 Michael Koch <konqueror@gmx.de>
3397
3398 * javax/swing/ActionMap.java:
3399 Fixed javadocs all over.
3400 (serialVersionUID): Made private.
3401 (parent): Don't explicitely initialize with default value.
3402 (get): SImplified.
3403 (keys): Reimplemented.
3404 (allKeys): Likewise.
3405 (convertSet): Removed.
3406 * javax/swing/ComponentInputMap.java:
3407 Fixed javadocs all over.
3408 (ComponentInputMap): Implemented.
3409 (put): Likewise.
3410 (clear): Likewise.
3411 (remove): Likewise.
3412 (SetParent): Likewise.
3413 (getComponent): Likewise.
3414 * javax/swing/InputMap.java:
3415 Fixed javadocs all over.
3416 (serialVersionUID): Made private.
3417 (parent): Don't explicitely initialize with default value.
3418 (get): SImplified.
3419 (keys): Reimplemented.
3420 (allKeys): Likewise.
3421 (convertSet): Removed.
3422
34232004-07-21 Michael Koch <konqueror@gmx.de>
3424
3425 * javax/swing/ActionMap.java,
3426 javax/swing/ComponentInputMap.java,
3427 javax/swing/InputMap.java,
3428 javax/swing/table/DefaultTableColumnModel.java,
3429 javax/swing/table/TableColumn.java,
3430 javax/swing/table/TableColumnModel.java,
3431 javax/swing/table/TableModel.java,
3432 javax/swing/text/AbstractDocument.java,
3433 javax/swing/text/TextAction.java:
3434 Reformated.
3435
34362004-07-21 Graydon Hoare <graydon@redhat.com>
3437
3438 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3439 Make method non-static.
3440 * javax/swing/AbstractButton.java:
3441 Rename fields to match property names where possible.
3442 (iconTextGap): New property.
3443 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3444 (init) New method, call from after various constructors.
3445 * javax/swing/JComponent.java (revalidate):
3446 Invalidate before queueing repair.
3447 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3448 Reimplement in terms of visibleRowCount property.
3449 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3450 * javax/swing/JScrollPane.java (createScrollListener):
3451 Remove tracing chatter.
3452 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3453 * javax/swing/RepaintManager.java (addInvalidComponent):
3454 Don't invalidate.
3455 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3456 calculations.
3457 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3458 Mimic sun behavior on top left/right positioning.
3459 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3460 Remove mistaken use of preferredScrollableViewportSize here.
3461 (layoutContainer): Use view's preferred size as basis.
3462 * javax/swing/plaf/basic/BasicButtonUI.java:
3463 Set, get, and use textIconGap property.
3464 (paint) Paint text returned from layout (with ellipsis).
3465 * javax/swing/plaf/basic/BasicListUI.java:
3466 Remove tracing chatter, correct various minor calculations.
3467 (getCellBounds): Update layout state before calculating.
3468 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3469 Use margin default similar to sun's.
3470 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3471 (createIncreaseIcon): Center icon, minimize margins.
3472 (createDecreaseIcon): Likewise.
3473 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3474 Implement.
3475 (installUI): Call it.
3476 (uninstallDefaults): Implement.
3477 (uninstallUI): Call it.
3478 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3479 Call existing Window constructor.
3480 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3481 Set clip before painting.
3482
34832004-07-21 Olga Rodimina <rodimina@redhat.com>
3484
3485 * javax/swing/JMenuItem.java:
3486 (processMouseEvent): Reimplemented to deal with
3487 mouse drag events.
3488 (createMenuDragMouseEvent): New private helper method.
3489 Creates MenuDragMouseEvent.
3490 * javax/swing/MenuSelectionManager.java
3491 (componentForPoint): Implemented.
3492 (isComponentPartOfCurrentMenu): Made public.
3493 (processMouseEvent): Reimplemented to deal with
3494 mouse drag events.
3495 (setSelectedPath): Corrected small mistake that caused
3496 path to be set incorrectly.
3497 (getPath): If given component is JMenu then also add this
3498 menu's popup menu to the selected path.
3499 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3500 (getPath): Ditto.
3501 (getPreferredSize): Call getPreferredMenuItemSize().
3502 (getPreferredItemSize): Moved code from getPreferredSize to here.
3503 (installListeners): Install MouseMotionListeners.
3504 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3505 if mouse wasn't released in the bounds of this menu item.
3506 (MenuDragMouseHandler): Implemented.
3507 * javax/swing/plaf/basic/BasicMenuUI.java:
3508 (installListeners): Install MouseMotionListener and
3509 MenuDrageMouseListener.
3510 (MenuDragMouseHandler): Implemented.
3511 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3512 (uninstallListeners): Implemented.
3513
35142004-07-21 Michael Koch <konqueror@gmx.de>
3515
3516 * javax/swing/JCheckBox.java: Reformated.
3517 (JCheckBox): Fixed all constructors.
3518 (isBorderPaintedFlat): New method.
3519 (setBorderPaintedFlat): New method.
3520 * javax/swing/JEditorPane.java
3521 (createEditorKitForContentType): Made public.
3522 (scrollToReference): Likewise.
3523 * javax/swing/JTextArea.java
3524 (setLineWrap): Fire property change.
3525 * javax/swing/JToggleButton.java
3526 (JToggleButton): New constructor.
3527 (JToggleButton): Simplified.
3528 * javax/swing/text/AttributeSet.java
3529 (FontAttribute): Renamed from FontCharacterAttribute.
3530 * javax/swing/text/JTextComponent.java
3531 (KeyBinBinding): Added javadoc.
3532 (JTextComponent): Likewise.
3533 (getAccessibleContext): Fixed javadoc.
3534 * javax/swing/text/View.java
3535 (View): Added javadoc.
3536 * javax/swing/text/TabableView.java: New file.
3537 * Makefile.am: Added javax/swing/text/TabableView.java.
3538 * Makefile.in: Regenerated.
3539
35402004-07-21 Graydon Hoare <graydon@redhat.com>
3541
3542 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3543 * gnu/java/awt/peer/gtk/GtkToolkit.java
3544 (GtkErrorImage): New helper class.
3545 (bufferedImageOrError): New helper method.
3546 (createImage): Use it.
3547
35482004-07-21 David Jee <djee@redhat.com>
3549
3550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3551 (setCaretPosition): Scroll the text view so the new caret position
3552 is visible on screen.
3553
35542004-07-21 David Jee <djee@redhat.com>
3555
3556 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3557 (setBounds): Do not validate awtComponent here.
3558 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3559 (getPreferredSize): New method.
3560 * java/awt/ScrollPane.java
3561 (ScrollPane): Set default size to 100x100.
3562 (addNotify): If child is not a Panel, wrap it with a new Panel.
3563 (paramString): Implement.
3564
35652004-07-21 Olga Rodimina <rodimina@redhat.com>
3566
3567 * javax/swing/JMenu.java:
3568 (setSelected): Display popup menu only if this menu
3569 is showing on the screen.
3570 * javax/swing/JPopupMenu.java:
3571 (processMouseEvent): Added comment.
3572 (processKeyEvent): Likewise.
3573 * javax/swing/MenuSelectionManager.java:
3574 (clearSelectedPath): Only fireStateChanged() after
3575 selected path was changed, not before.
3576 (setSelectedPath): Likewise.
3577 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3578 (paintMenuItem): Corrected position of menu item's
3579 icon.
3580 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3581 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3582 (popupMenuCanceled): Reimplemented.
3583 (popupMenuWillBecomeVisible): Select first menu item by default
3584 when displaying free floating popup menus.
3585 (TopWindowListener): Reimplemented.
3586
35872004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3588
3589 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3590 Panel from being painted twice when it is first shown.
3591
35922004-07-21 Olga Rodimina <rodimina@redhat.com>
3593
3594 * java/awt/Window.java: Reverted changes from my
3595 previous patch for creating window without an owner.
3596 * javax/swing/SwingUtilities.java:
3597 (SwingUtilities.OwnerFrame): made static.
3598 (OwnerFrame.setVisible): New method. Overridden with
3599 empty implementation.
3600 (OwnerFrame.isShowing): New method. Ovverridden
3601 to return always true.
3602
36032004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3604
3605 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3606 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3607 (GtkComponentPeer): Remove temporary try/catch block.
3608 (setVisible): Call show and hide.
3609 (show): Make native.
3610 (hide): Likewise.
3611 (getArgs): Don't add "visible" argument.
3612 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3613 (property_notify_predicate): Return Bool instead of int.
3614 (find_layout): New function.
3615 (connectJObject): Call find_layout.
3616 (connectSignals): Likewise.
3617 (moveLayout): Likewise.
3618 (gtkLayoutSetVisible): Likewise.
3619
36202004-07-21 Mark Wielaard <mark@klomp.org>
3621
3622 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3623 on notifier object before calling notifyAll().
3624
36252004-07-21 Olga Rodimina <rodimina@redhat.com>
3626
3627 * java/awt/Window.java: Changed constructors to use new
3628 method that is described below. Constructors call this
3629 methods only if newly created window should have an owner.
3630 (setWindowOwner): New method. Implementation for
3631 this method is moved from this(owner,configuration).
3632 * javax/swing/JWindow.java:
3633 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3634 instead of owner.
3635 * javax/swing/SwingUtilities.java:
3636 (ownerFrame): Change type of this field to OwnerFrame.
3637 (getOwnerFrame): Changed to return object of type OwnerFrame.
3638 (SwingUtilities.OwnerFrame): New class. Represents owner
3639 of a Window that is not provided with one.
3640
36412004-07-21 Olga Rodimina <rodimina@redhat.com>
3642
3643 * javax/swing/AbstractButton.java:
3644 (configurePropertiesFromAction): Set action command
3645 to button's text by default if action command is not
3646 explicitely specified.
3647 * javax/swing/JMenu.java: Remove unnecessary listener
3648 and methods relevant to it.
3649 (setSelected): Reimplemented.
3650 (menuSelectionChanged): Moved most part of implementation to
3651 setSelected() and call it instead.
3652 * javax/swing/JMenuItem.java:
3653 (init): Comment out statement that sets paint_border to false.
3654 (configurePropertiesFromAction): Do not set accelerator
3655 for JMenu.
3656 (menuSelectionChanged): Change selected index in the selection
3657 model of menu item's parent.
3658 * javax/swing/JPopupMenu.java:
3659 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3660 instead of GridBagConstraints.HORIZONTAL.
3661 (insert): Likewise.
3662 (createActionChangeListener): Implemented.
3663 (setVisible): Correct location of HeavyWeightMenu and
3664 don't firePopupMenuCanceled().
3665 (menuSelectionChanged): Implemented.
3666 (ActionChangeListener): New Listener. Implemented.
3667 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3668 (BasicMenuBarUI.ContainerHandler): Implemented.
3669 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3670 (paintMenuItem): Uncommented out code that paints
3671 icon, now that icons are working properly.
3672 (PropertyChangeListener): Implemented.
3673 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3674 Added javadocs.
3675 (topWindowListener): New field.
3676 (Constructor): initialize topWindowListener.
3677 (BasicPopupMenuUI.TopWindowListener): Implemented.
3678 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3679 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3680 Implemented.
8e99fb4f
GH
3681
36822004-07-21 Michael Koch <konqueror@gmx.de>
3683
3684 * javax/swing/plaf/basic/BasicButtonUI.java
3685 (paintFocus): Fixed method signature.
3686 (paintButtonPressed): Likewise.
3687 (paintButtonNormal): Likewise.
3688 (paintText): New method.
3689 * javax/swing/plaf/basic/BasicLabelUI.java
3690 (paint): Re-indented.
3691 * javax/swing/plaf/basic/BasicTextUI.java
3692 (installUI): Set parent textComponent to opaque.
3693 * javax/swing/text/DefaultHighlighter.java
3694 (checkPositions): New helper method.
3695 (addHighlight): Throws BadLocationException, check positions.
3696 (changeHighlight): Likewise.
3697 * javax/swing/text/EditorKit.java
3698 (EditorKit): Implements Serializable.
3699 * javax/swing/text/JTextComponent.java
3700 (getUI): Added javadoc.
3701 (setUI): Likewise.
3702 (upadteUI): Added javadoc, don't revalidate and repaint.
3703
37042004-07-21 David Jee <djee@redhat.com>
3705
3706 * java/awt/GridBagLayout.java
3707 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3708 * javax/swing/AbstractButton.java
3709 (setText): Reindent.
3710 * javax/swing/RepaintManager.java
3711 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3712
37132004-07-21 Michael Koch <konqueror@gmx.de>
3714
3715 * javax/swing/JFormattedTextField.java
3716 (value): New field.
3717 (JFormattedTextField): Implemented.
3718 (getValue): Likewise.
3719 (setValue): Likewise.
3720 * javax/swing/LookAndFeel.java
3721 (getSupportsWindowDecorations): New method.
3722 * javax/swing/UIDefaults.java:
3723 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3724 (addPropertyChangeListener): Made public.
3725 (addResourceBundle): Likewise.
3726 (removeResourceBundle): Likewise.
3727 (setDefaultLocale): Likewise.
3728 * javax/swing/plaf/basic/BasicRootPaneUI.java
3729 (BasicRootPaneUI): Implements PropertyChangeListener.
3730 (propertyChange): New method.
3731 * javax/swing/plaf/basic/BasicTextUI.java
3732 (BasicHighlighter): New inner class.
3733 (createHighlighter): New method.
3734 * javax/swing/plaf/basic/BasicToolBarUI.java
3735 (DragWindow): Extends java.awt.Window.
3736 * javax/swing/text/JTextComponent.java
3737 (getDocument): Removed debug output.
3738 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3739 javax/swing/text/DefaultHighlighter.java,
3740 javax/swing/text/FieldView.java,
3741 javax/swing/text/PlainView.java: New files.
3742 * Makefile.am: Added new files.
3743 * Makefile.in: Regenerated.
3744
37452004-07-21 Michael Koch <konqueror@gmx.de>
3746
3747 * javax/swing/JEditorPane.java
3748 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3749 (createEditorKitForContentType): Likewise.
3750 * javax/swing/text/DefaultEditorKit.java
3751 (serialVersionUID): Added constant field.
3752 (EndOfLineStringPropery): Fixed typo.
3753 (DefaultEditorKit): New constructor.
3754 * javax/swing/text/Segment.java:
3755 Import java.text.CharacterIterator.
3756 * javax/swing/text/CharacterIterator.java,
3757 javax/swing/text/PlainEditorKit.java: Removed.
3758 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3759 javax/swing/text/PlainEditorKit.java.
3760 * Makefile.in: Regenerated.
3761
37622004-07-21 Michael Koch <konqueror@gmx.de>
3763
3764 * javax/swing/JButton.java,
3765 javax/swing/text/DefaultEditorKit.java,
3766 javax/swing/text/EditorKit.java,
3767 javax/swing/text/Segment.java,
3768 javax/swing/text/StyledEditorKit.java:
3769 Reformatted.
3770
37712004-07-21 Michael Koch <konqueror@gmx.de>
3772
3773 * javax/swing/ImageIcon.java
3774 (file): Removed.
3775 (description): Renamed from descr.
3776 (ImageIcon): Added missing constructors.
3777 (setParent): Removed.
3778 (setImageObserver): New method.
3779 (getImageObserver): New method.
3780 (paintIcon): Handle observer = null.
3781 * javax/swing/JButton.java
3782 (removeNotify): Fixed javadoc.
3783 (updateUI): Simplified.
3784 * javax/swing/JRootPane.java
3785 (serialVersionUID): New constant field.
3786 * javax/swing/UIManager.java:
3787 Fixed javadocs all over.
3788 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3789 * javax/swing/text/AbstractDocument.java
3790 (createPosition): Throws BadLocationException.
3791 (getText): Likewise.
3792 (remove): Likewise.
3793 * javax/swing/text/ComponentView.java
3794 (modelToView): Likewise.
3795 * javax/swing/text/DefaultEditorKit.java:
3796 Made all public methods public.
3797 (read): Throws BadLocationException and IOException.
3798 (write): Likewise.
3799 * javax/swing/text/EditorKit.java:
3800 Made all public methods public.
3801 (serialVersionUID): New constant field.
3802 (clone): New method.
3803 (read): Throws BadLocationException and IOException.
3804 (write): Likewise.
3805 * javax/swing/text/Segment.java
3806 (array): Made public.
3807 (count): Likewise.
3808 (offset): Likewise.
3809 (Segment): New constructors.
3810 (clone): Reimplemented.
3811 * javax/swing/text/StyledEditorKit.java
3812 (serialVersionUID): New constant field.
3813
38142004-07-21 Graydon Hoare <graydon@redhat.com>
3815
3816 * java/awt/image/BufferedImage.java
3817 (getSource): Implement.
3818 * javax/swing/ImageIcon.java
3819 (ImageIcon): Implement ctor.
3820 * javax/swing/ScrollPaneLayout.java
3821 (preferredLayoutSize): Be more careful about nulls.
3822
38232004-07-21 Michael Koch <konqueror@gmx.de>
3824
3825 * javax/swing/text/AttributeSet.java
3826 (CharacterAttribute): New interface
3827 (ColorAttribute): Likewise.
3828 (FontCharacterAttribute): Likewise.
3829 (ParagraphAttribute): Likewise.
3830 * javax/swing/text/DefaultCaret.java
3831 (moveCaret): New method.
3832 (positionCaret): Likewise.
3833 (repaint): Made protected.
3834 * javax/swing/text/JTextComponent.java
3835 (KeyBinding): Made it static.
3836 * javax/swing/text/View.java
3837 (getContainer): Honor parent == null.
3838
38392004-07-21 Michael Koch <konqueror@gmx.de>
3840
3841 * javax/swing/text/AbstractDocument.java:
3842 Reformatted.
3843
38442004-07-21 Michael Koch <konqueror@gmx.de>
3845
3846 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3847 Import javax.swing.UIManager explicitely.
3848 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3849 (ScrollingButton): Made it static.
3850
38512004-07-21 Michael Koch <konqueror@gmx.de>
3852
3853 * javax/swing/UIDefaults.java
3854 (ActiveValue): Made public.
3855 (LazyValue): Likewise.
3856 * javax/swing/plaf/basic/BasicTextUI.java
3857 (RootView): Reintroduced.
3858 (view): Removed.
3859 (rootView): New field.
3860 (installUI): Create document if needed, initialize rootView.
3861 (uninstallUI): Hanle rootView.
3862 (paint): Likewise.
3863 (getRootView): Likewise.
3864 (setView): Likewise.
3865 * javax/swing/text/DefaultCaret.java:
3866 Renamed all "evt" variables to "event".
3867
38682004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3869
3870 * libgcj.spec.in: Add -l-java-util-logging.
3871
38722004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3873
3874 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3875 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3876 gtk-xft-dpi can no calculate the right value.
3877 (dpi_changed_cb): Mark *pspec as unsused.
3878
38792004-07-21 David Jee <djee@redhat.com>
3880
3881 * java/awt/Component.java
3882 (move): Delegate to setBounds().
3883 (resize): Likewise.
3884 (reshape): Fix so it repaints parent and self only when necessary.
3885
38862004-07-21 David Jee <djee@redhat.com>
3887
3888 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3889 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3890 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3891 (setVisible): Likewise.
3892 (show): Likewise.
3893 (hide): Likewise.
3894 (getArgs): Likewise.
3895 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3896 (property_notify_predicate): Likewise.
3897 (find_layout): Likewise.
3898 (connectJObject): Likewise.
3899 (connectSignals): Likewise.
3900 (moveLayout): Likewise.
3901 (gtkLayoutSetVisible): Likewise.
3902
39032004-07-21 Graydon Hoare <graydon@redhat.com>
3904
3905 * Makefile.am
3906 (jv_convert_LDADD):
3907 (gij_LDADD):
3908 (rmic_LDADD):
3909 (rmiregistry_LDADD): Add lib-java-util-logging.la
3910 * Makefile.in: Regenerate.
3911
39122004-07-21 Michael Koch <konqueror@gmx.de>
3913
3914 * javax/swing/text/AbstractDocument.java
3915 (replace): Dont use protected method of java.util.Vector directly.
3916
39172004-07-21 Michael Koch <konqueror@gmx.de>
3918
3919 * javax/swing/plaf/basic/BasicTextUI.java
3920 (installUI): Call specialized install methods.
3921 (installDefaults): New method.
3922 (installListeners): Likewise.
3923 (installKeyboardActions): Likewise.
3924 (uninstallUI): Likewise.
3925 (uninstallDefaults): New method.
3926 (uninstallListeners): Likewise.
3927 (uninstallKeyboardActions): Likewise.
3928 (getPropertyPrefix): New abstract method.
3929 (paint): Made final, just call paintSafely().
3930 (paintSavely): New method.
3931 (paintBackground): Likewise.
3932 (getVisibleEditorRect): Likewise.
3933 * javax/swing/text/LayeredHighlighter.java,
3934 javax/swing/text/TabExpander.java: New files.
3935 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3936 and javax/swing/text/TabExpander.java.
3937 * Makefile.in: Regenerated.
3938
39392004-07-21 Michael Koch <konqueror@gmx.de>
3940
3941 * javax/swing/plaf/basic/BasicTextUI.java
3942 (BasicTextUI): Made abstract.
3943 (BasicCaret): New inner class.
3944 (view): Don't explicitely initialize with "null".
3945 (textComponent): New field.
3946 (textColor): Removed.
3947 (disabledTextColor): Removed.
3948 (normalBackgroundColor): Removed.
3949 (RootView): Removed commented out inner class.
3950 (createUI): Removed.
3951 (createCaret): New method.
3952 (getComponent): Likewise.
3953 (installUI): Initialize textComponent only.
3954 (getPreferredSize): Use installed JTextComponent.
3955 (setView): New method.
3956 (create): Likewise.
3957 * javax/swing/text/JTextComponent.java
3958 (highlighter): New field.
3959 (caretColor): Likewise.
3960 (disabledTextColor): Likewise.
3961 (seletedTextColor): Likewise.
3962 (selectionColor): Likewise.
3963 (setUI): New method.
3964 (getCaretColor): Likewise.
3965 (setCaretColor): Likewise.
3966 (getDisabledColor): Likewise.
3967 (setDisabledColor): Likewise.
3968 (getSelectedTextColor): Likewise.
3969 (setSelectedTextColor): Likewise.
3970 (getSelectionColor): Likewise.
3971 (setSelectionColor): Likewise.
3972 (getHighlighter): Likewise.
3973 (setHighlighter): Likewise.
3974 (replaceSelection): Likewise.
3975
39762004-07-21 Michael Koch <konqueror@gmx.de>
3977
3978 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3979 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3980 * javax/swing/plaf/basic/BasicToolBarUI.java
3981 (BasicToolBarUI): Implements SwingConstants.
3982
39832004-07-21 Michael Koch <konqueror@gmx.de>
3984
3985 * javax/swing/JPopupMenu.java: Removed CVS tags.
3986 * javax/swing/UIDefaults.java: Reformatted.
3987 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3988 Explicitely import used classes.
3989
39902004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3991
3992 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3993 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3994 (GtkComponentPeer): Remove temporary try/catch block.
3995 (setVisible): Call show and hide.
3996 (show): Make native.
3997 (hide): Likewise.
3998 (getArgs): Don't add "visible" argument.
3999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
4000 (property_notify_predicate): Return Bool instead of int.
4001 (find_layout): New function.
4002 (connectJObject): Call find_layout.
4003 (connectSignals): Likewise.
4004 (moveLayout): Likewise.
4005 (gtkLayoutSetVisible): Likewise.
4006
40072004-07-21 Olga Rodimina <rodimina@redhat.com>
4008
4009 * javax/swing/AbstractButton.java:
4010 (setDisplayedMnemonicIndex): Check if button
4011 text is not null before checking its length.
4012 * javax/swing/JMenuItem.java:
4013 (processMouseEvent): Disarm menu item if mouse has
4014 exited it.
4015 * javax/swing/plaf/basic/BasicMenuUI.java:
4016 (MouseInputHandler.mouseEntered): Do not raise
4017 popup menu if this menu is already selected.
4018 (MouseInputHandler.mousePressed): Do not fire
4019 MenuEvents.
4020 (MenuHandler): Implemented.
4021
40222004-07-21 Olga Rodimina <rodimina@redhat.com>
4023
4024 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
4025 (getSelectedObjects): Implemented.
4026 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
4027 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
4028 Added javadoc for few methods.
4029 (processMouseEvent): Made public.
4030 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
4031 (processMouseEvent): Likewise.
4032
40332004-07-21 Olga Rodimina <rodimina@redhat.com>
4034
4035 * javax/swing/AbstractButton.java:
4036 (init): Set display mnemonic index to -1.
4037 (setMnemonic(char)): Use setMnemonic(int).
4038 (setMnemonic(int)): Set display mnemonic index.
4039 (getDisplayedMnemonicIndex): Change method signature
4040 by removing 'index' parameter.
4041 * javax/swing/plaf/basic/BasicLookAndFeel.java:
4042 Added default for Menu.selectionBackground.
4043 * javax/swing/plaf/basic/BasicMenuItemUI.java:
4044 (paintMenuItem): Change background color of the selected
4045 menu item.
4046 (paintText): Paint differently when menu item is disabled.
4047 Also paint mnemonic if it appears in the menu item's label.
4048 (paintAccelerator): Paint accelerator differently
4049 if menu item is disabled.
4050 * javax/swing/plaf/basic/BasicMenuUI.java:
4051 (installDefaults): Install defaults for
4052 selectionForeground and selectionBackground.
4053 (uninstallDefaults): Uninstall defauls for
4054 selectionForeground and selectionBackground.
4055
40562004-07-21 Michael Koch <konqueror@gmx.de>
4057
4058 * javax/swing/text/AbstractDocument.java
4059 (BranchElement): Implemented.
4060 (LeafElement): Implemented.
4061 * javax/swing/text/DefaultCaret.java:
4062 Import used classes.
4063 (serialVersionUID): New constant.
4064 * javax/swing/text/JTextComponent.java
4065 (AccessibleJTextComponent): Removed dead declaration.
4066 (caretPos): Removed.
4067 (setCaret): New method.
4068 * javax/swing/text/PlainDocument.java
4069 (rootElement): New field.
4070 (PlainDocument): Initialize rootElement.
4071 (createDefaultRoot): New method.
4072 (getDefaultRootElement): Implemented.
4073 * javax/swing/text/View.java: Reformatted.
4074 * javax/swing/text/ViewFactory.java
4075 (create): Added javadoc.
4076
40772004-07-21 Michael Koch <konqueror@gmx.de>
4078
4079 * javax/swing/ToolTipManager.java: Reformatted.
4080
40812004-07-21 Rodimina Olga <rodimina@redhat.com>
4082
4083 * javax/swing/AbstractButton.java
4084 (changeEvent): New field.
4085 (fireItemStateChanged): Change source of the event
4086 to 'this' before firing it to button listeners.
4087 (fireActionPerformed): Likewise.
4088 (fireStateChanged): Likewise.
4089 (createActionListener): Do not set source
4090 of the event to AbstractButton.
4091 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4092 (ContainerHandler.componentAdded): Removed
4093 print out statement.
4094 (ContainerHandler.componentRemoved): Likewise.
4095
40962004-07-21 Michael Koch <konqueror@gmx.de>
4097
4098 * javax/swing/text/Highlighter.java: New file.
4099 * Makefile.am: Added javax/swing/text/Highlighter.java.
4100 * Makefile.in: Regenerated.
4101
41022004-07-21 Michael Koch <konqueror@gmx.de>
4103
4104 * javax/swing/ToolTipManager.java
4105 (stillInsideTimerAction): Fixed constructor arguments.
4106 (outsideTimerAction): Likewise.
4107 (insideTimerAction): Likewise.
4108
41092004-07-21 Michael Koch <konqueror@gmx.de>
4110
4111 * javax/swing/JButton.java: Reformatted.
4112 * javax/swing/JFormattedTextField.java
4113 (getUIClassID): Implemented.
4114 * javax/swing/JRootPane.java
4115 (serialVersionUID): New constant.
4116 * javax/swing/JTextField.java
4117 (align): New field.
4118 (JTextField): Simplified.
4119 (getUIClassID): New method.
4120 (getActionListeners): Added @since tag.
4121 (setColumns): Invalidate layout and repaint.
4122 (getHorizontalAlignment): New method.
4123 (setHorizontalAlignment): New method.
4124 (selectAll): Removed.
4125 * javax/swing/SwingUtilities.java
4126 (getAncestorOfClass): Removed redundant @see tag.
4127 (isLeftMouseButton): Fixed implementation.
4128 (isMiddleMouseButton): Likewise.
4129 (isRightMouseButton): Likewise.
4130 * javax/swing/text/AbstractDocument.java
4131 (AttributeContext.addAttribute): New method.
4132 (AttributeContext.addAttributes): New method.
4133 (AttributeContext.getEmptySet): New method.
4134 (AttributeContext.reclaim): New method.
4135 (AttributeContext.removeAttribute): New method.
4136 (AttributeContext.removeAttributes): New method.
4137 * javax/swing/text/Document.java
4138 (createPosition): Throws BadLocationException.
4139 (getText): Likewise.
4140 (remove): Likewise.
4141 * javax/swing/text/JTextComponent.java
4142 (getText): Return null if no document is set. Catch
4143 BadLocationException.
4144 (getUI): Return ui.
4145 (updateUI): Simplified.
4146
41472004-07-21 Michael Koch <konqueror@gmx.de>
4148
4149 * javax/swing/JButton.java
4150 (removeNotify): Fixed javadoc.
4151 (updateUI): Simplified.
4152
41532004-07-21 David Jee <djee@redhat.com>
4154
4155 * gnu/java/awt/image/ImageDecoder.java
4156 (startProduction): Only add consumer if it's not added yet.
4157 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4158 (GdkPixbufDecoder): Don't call initState() here.
4159 (produce): Call initState() here, to ensure area_prepared and
4160 area_updated signals are properly connected.
4161 * gnu/java/awt/peer/gtk/GtkImage.java
4162 (setColorModel): Use equals() to compare ColorModel objects.
4163 (setPixels): Likewise.
4164 * java/awt/image/ColorModel.java
4165 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
4166 * java/awt/image/RGBImageFilter.java
4167 (setColorModel): Set consumer's color model.
4168 (setPixels): Use equals() to compare ColorModel objects.
4169
eecbcf54
BM
41702004-07-21 Bryce McKinlay <mckinlay@redhat.com>
4171
4172 * java/net/URLConnection.java (position): New field.
4173 (dateFormat1, dateFormat2, dateFormat3): Removed.
4174 (dateFormats): New field.
4175 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
4176 each time instead of re-allocating.
4177 (initializeDateFormats): Initialize 'dateFormats'.
4178
f82bb1be
BM
41792004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4180
4181 PR libgcj/16591
4182 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4183 is defined.
4184
f6bbce40
BM
41852004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4186
4187 * java/net/Socket.java (getImpl): Now private. Remove comment.
4188
8246c778
BM
41892004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4190
4191 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4192 of chained Writer when calling super-constructor.
4193 * java/io/FilterWriter.java (FilterWriter): Likewise.
4194 * java/io/PrintWriter.java (PrintWriter): Likewise.
4195
b4ffdef7
BM
41962004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4197
4198 * prims.cc (process_gcj_properties): Don't increment i within LHS
4199 of assignment.
4200
963ddbd5
PB
42012004-07-19 Per Bothner <per@bothner.com>
4202
4203 Print -verbose:message on "loading", not initialization.
4204 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4205 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4206 gcj::verbose_class_flag.
4207 * java/lang/natClass.cc (initializeClass): Don't print message here.
4208 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4209 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4210 (_Jv_PrepareCompiledClass): Likewise.
4211
60557047
MK
42122004-07-18 Matthias Klose <doko@debian.org>
4213
4214 * configure.in: Substitute target_noncanonical.
4215 * configure: Regenerate
4216
1792f52d
MK
42172004-07-17 Michael Koch <konqueror@gmx.de>
4218
4219 * java/lang/String.java: Fixed javadocs all over.
4220
baa61e09
MK
42212004-07-17 Mark Wielaard <mark@klomp.org>
4222
4223 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4224 when size is smaller.
4225 * java/io/RandomAccessFile.java (setLength): Use truncate for
4226 shrinking the file and seek plus write for expanding the file.
4227
42282004-07-17 Michael Koch <konqueror@gmx.de>
4229
4230 * gnu/java/nio/channels/natFileChannelPosix.cc
4231 (implTruncate): Always save current position. Only reposition file
4232 pointer to where we started if not beyond new lenght. Reposition file
4233 pointer to file length if it points beyond the end of file.
4234
6fd3cc05
MW
42352004-07-17 Mark Wielaard <mark@klomp.org>
4236
4237 * javax/swing/Box.java: Put FIXME comment above class declaration.
4238 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4239 * javax/swing/JCheckBox.java: Likewise.
4240 * javax/swing/JDialog.java: Likewise.
4241 * javax/swing/JRadioButton.java: Likewise.
4242 * javax/swing/JToggleButton.java: Likewise.
4243 * javax/swing/UIManager.java: Likewise.
4244 * javax/swing/border/TitledBorder.java: Likewise.
4245 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4246 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4247 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4248 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4249 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4250 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4251 * javax/swing/text/JTextComponent.java: Likewise.
4252
320e32f6
MK
42532004-07-17 Jeroen Frijters <jeroen@frijters.net>
4254
4255 * java/net/DatagramPacket.java (setAddress): Removed check for
4256 null address.
4257
42582004-07-17 Michael Koch <konqueror@gmx.de>
4259
4260 * java/net/DatagramSocket.java
4261 (getLocalAddress): Check if socket is bound or not.
4262 * java/net/Socket.java
4263 (getLocalAddrss): Check if socket is bound or not.
4264 (getPort): Return -1 when not connected. Dont check getImpl() for
4265 null.
4266 (setReuseAddress): Check if socket is closed.
4267 (isConnected): Check if getImpl() returns null.
4268
10c383a4
MW
42692004-07-17 Mark Wielaard <mark@klomp.org>
4270
4271 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4272 on notifier object before calling notifyAll().
4273
2ccc5a95
MK
42742004-07-17 Michael Koch <konqueror@gmx.de>
4275
4276 * gnu/java/nio/channels/FileChannelImpl.java
4277 (finalize): Added javadoc.
4278
61ce29b1
GL
42792004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4280
4281 * java/text/CollationElementIterator.java
4282 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4283 (setText): Use ArrayList instead of Vector.
4284
651ba822
MK
42852004-07-17 Michael Koch <konqueror@gmx.de>
4286
4287 * java/nio/ByteOrder.java
4288 (static): Removed. Not needed.
4289 Thanks to Patrick Reali for noticing.
4290 * java/nio/charset/CharsetDecoder.java
4291 (decode): Fix for classpath bug #9177: Reset state before flipping.
4292
e3fe5b9c
MK
42932004-07-17 Michael Koch <konqueror@gmx.de>
4294
4295 * java/security/Security.java: Fixed javadocs all over.
4296
316a1df4
MK
42972004-07-17 Michael Koch <konqueror@gmx.de>
4298
4299 * gnu/java/awt/EmbeddedWindow.java
4300 (static): Removed.
4301 (addNotify): Set peer via reflection.
4302 (setWindowPeer): Removed.
4303 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4304 * Makefile.am (nat_source_files):
4305 Removed gnu/java/awt/natEmbeddedWindow.cc.
4306 * Makefile.in: Regenerated.
4307
c0f43fa7
RE
43082004-07-17 Richard Earnshaw <rearnsha@arm.com>
4309
4310 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4311 assignment.
4312 * configure: Regenerated.
4313
4c86f325
NN
43142004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4315
b764adea
NN
4316 * configure.in: Use build_noncanonical rather than build_alias.
4317 * configure: Rebuild.
4318
f11d297f
NN
4319 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4320 by logic refactoring. Move default definition of NATIVE closer
4321 to first alternate definition.
4322 * configure: Regenerate.
4323
4c86f325
NN
4324 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4325 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4326 gcj/Makefile.in: Regenerate.
4327 * configure.in: Set ZIP and GCJH. Remove redundant condition
4328 in AM_CONDITIONAL(NATIVE,...)
4329 * configure: Regenerate.
4330
bc03b358
NN
43312004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4332
ed2e3d33
NN
4333 * configure.in: Use target_noncanonical rather than
4334 target_alias for forward-compatibility with autoconf 2.59.
4335 * configure: Regenerate.
4336 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4337 testsuite/Makefile.am: Substitute target_noncanonical.
4338 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4339 testsuite/Makefile.in: Regenerate.
4340
bc03b358
NN
4341 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4342 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4343 * acinclude.m4: Include acx.m4.
4344 * aclocal.m4: Regenerate.
4345 * configure: Regenerate.
4346
cbd7a79b
BM
43472004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4348
4349 PR libgcj/16574
4350 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4351 (decimalFormat): New static variable.
4352 (sbuf): Likewise.
4353 (getTime): New. Override Date.getTime().
4354 (toString): Synchronize. Use decimalFormat to format nanos value
4355 correctly. Truncate extra zeros.
4356 (before): Compare getNanos() only if getTime() is equal.
4357 (after): Likewise.
4358
b2281cb3
NN
43592004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4360
36609570
NN
4361 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4362 * configure.in: ...here.
4363 * aclocal.m4: Regenerate.
4364 * configure: Regenerate.
4365
b2281cb3
NN
4366 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4367 * configure: Rebuilt with autoconf 2.13.
4368 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4369 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4370
b845ed9f
BM
43712004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4372
4373 PR libgcj/16204
4374 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4375 large file support.
4376 * Makefile.in: Rebuilt.
4377 * testsuite/libjava.lang/LargeFile.java: New test case.
4378 * testsuite/libjava.lang/LargeFile.out: New file.
4379
ade1907d
JQ
43802004-07-14 Jerry Quinn <jlquinn@optonline.net>
4381
4382 * java/beans/EventHandler.java: Remove debugging statements.
4383
12e8e7ea
JQ
43842004-07-14 Jerry Quinn <jlquinn@optonline.net>
4385
4386 * java/beans/EventHandler.java: New file.
4387 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4388 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4389 testsuite/Makefile.in: Regenerate.
4390
7cb73054
AT
43912004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4392
4393 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4394 flag to the gcj_setup.
4395 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4396 the tclsh.
4397 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4398 deprecation flag change. 58 XFAILS removed.
4399
220a826e
UW
44002004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4401
4402 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4403 -fno-use-divide-subroutine.
4404 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4405 (HANDLE_FPE): Define.
4406 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4407 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4408 (HANDLE_DIVIDE_OVERFLOW): Define.
4409
c1b4f64d
MK
44102004-07-14 Michael Koch <konqueror@gmx.de>
4411 Matthias Klose <doko@debian.org>
4412
12e8e7ea 4413 * java/awt/im/InputContext.java: Initialize in, line.
c1b4f64d 4414
5549179f
UW
44152004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4416
4417 * interpret.cc (run): Correctly access libffi return values of
4418 integral smaller-than-int type; these are implicitly promoted.
4419
6187fd28
BM
44202004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4421
4422 PR libgcj/7587
4423 * interpret.cc (compile_mutex): New.
4424 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4425 (run): Lock compile_mutex before calling compile() if compilation is
4426 required.
4427 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4428 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4429
7a1c3d48
BM
44302004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4431
4432 PR libgcj/15713
4433 * include/jvm.h (_Jv_value): New union type.
4434 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4435 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4436 union members.
4437
717b2091
SG
44382004-07-12 Scott Gilbertson <scottg@mantatest.com>
4439
4440 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4441 * gnu/awt/xlib/XOffScreenImage.java
4442 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4443 constructor argument. Add constructor using ImageProducer.
4444 (getSource): Implement.
4445 (imageComplete): New method.
4446 (setColorModel): New method.
4447 (setDimensions): New method.
4448 (setHints): New method.
4449 (setPixels): New method.
4450 (setProperties): New method.
4451 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4452 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4453
31a7b755
BM
44542004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4455
abd1b60d 4456 PR libgcj/16478
31a7b755
BM
4457 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4458 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4459 (finalizerReady): Now native.
4460 (run): Likewise.
4461 (runFinalizers): Removed.
4462 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4463 a primitive lock, and don't hold it while running the finalizers.
4464 (runFinalizers): Implement. Don't aquire any Java lock.
4465 (finalizerReady): Use lock primitives to signal finalizer thread.
4466
eeb32988
MW
44672004-07-11 Mark Wielaard <mark@klomp.org>
4468
4469 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4470 * java/net/URLStreamHandler.java (parseURL): When url file part
4471 doesn't contain a '/' just ignore context.
4472
bbb362e6
UW
44732004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4474
4475 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4476 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4477 (MAKE_THROW_FRAME): Do not modify PSW address.
4478 (INIT_SEGV): Install SIGINFO-style signal handler.
4479 (INIT_FPE): Likewise.
4480
33dc5b0b
BM
44812004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4482
4483 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4484 status. 21 xfail's removed, 1 added.
4485
a4548f27
BM
44862004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4487
4488 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4489
8f0ce8da
IK
44902004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4491
4492 * java/text/MessageFormat.java
4493 (formatInternal): Append "{n}" if argument n is unavailable.
4494 (format(Object, StringBuffer, FieldPosition)): This
4495 should be equivalent to format(Object[],
4496 StringBuffer, FieldPosition).
4497
3ee7acd1
BM
44982004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4499
4500 * java.util.Calendar.java (cache): New private static field. Cached
4501 mappings of locales->calendar classes.
4502 (ctorArgTypes): New private static field. Singleton argument for
4503 calendar class constructor lookup.
4504 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4505 Optimize by bypassing reflection instantiation for the
4506 GregorianCalendar case.
4507
284d6a1f
BM
45082004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4509
4510 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4511 ResourceBundle.getBundle() calls.
4512 * java/util/GregorianCalendar.java: Likewise.
4513 * java/util/Currency.java: Likewise.
4514 * java/text/BreakIterator.java: Likewise.
4515 * java/text/Collator.java: Likewise.
4516 * java/text/DateFormat.java: Likewise.
4517 * java/text/DateFormatSymbols.java: Likewise.
4518 * java/text/DecimalFormatSymbols.java: Likewise.
4519 * java/text/NumberFormat.java: Likewise.
4520 * java/awt/Window.java: Likewise.
4521
21f56031
BM
45222004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4523
4524 * java/util/ResourceBundle.java (bundleCache): Renamed from
4525 resourceBundleCache. Update comments.
4526 (getObject): Don't catch MissingResourceException.
4527 (getBundle(String)): Remove 'final'. Use system classloader if
4528 getCallingClassLoader returned null.
4529 (getBundle(String, Locale)): Likewise.
4530 (BundleKey): New private class. HashMap key for bundle cache lookup.
4531 (lookupKey): New. Singleton instance of BundleKey.
4532 (nullEntry): New. Cache entry to represent failed lookups.
4533 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4534 caching strategy, no-allocation lookup, and new tryBundle methods.
4535 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4536 name using given classloader.
4537 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4538 baseName for given Locale and attempt to load bundle.
4539
42c00752
BM
45402004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4541
4542 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4543 illegal protected method calls.
4544
6e342fc1
BM
45452004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4546
4547 Fix or remove some bogus test cases.
4548 * testsuite/libjava.compile/pr10459_2.java: Removed.
4549 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4550 not Object.clone().
4551 * testsuite/libjava.compile/inner_data.java: Test against its own
4552 protected field.
4553
1f33f6b4
MK
45542004-07-09 Michael Koch <konqueror@gmx.de>
4555
4556 * scripts/unicode-muncher.pl: Updated to version 2.1
4557 from GNU classpath. Added some clarifications on where to find the
4558 needed files from www.unicode.org.
4559 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4560 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4561 Removed, these can directly be downloaded from www.unicode.org if
4562 needed.
4563 * gnu/java/lang/CharData.java: Regenerated.
4564 * include/java-chartables.h: Regenerated.
4565 * Makefile.am (ordinary_java_source_files):
4566 Removed gnu/java/lang/CharData.java.
4567 * Makefile.in: Regenerated.
4568
771aacd3
MK
45692004-07-09 Michael Koch <konqueror@gmx.de>
4570
4571 * java/security/AccessControlContext.java,
4572 java/security/SecureClassLoader.java:
4573 Fixed javadocs.
4574
3d5f053c
MK
45752004-07-09 Michael Koch <konqueror@gmx.de>
4576
4577 * java/io/ObjectInputStream.java (readFields): Use long datatype
4578 when shifting byte values more then 24 bits left.
4579
d642571f
MK
45802004-07-09 Michael Koch <konqueror@gmx.de>
4581
4582 * java/util/zip/DeflaterOutputStream.java,
4583 java/util/zip/GZIPInputStream.java,
4584 java/util/zip/GZIPOutputStream.java,
4585 java/util/zip/InflaterInputStream.java:
4586 Reformatted. Added javadocs. Reordered all stuff.
4587 Renamed variables to be more clear.
4588
3042e24b
MK
45892004-07-09 Michael Koch <konqueror@gmx.de>
4590
4591 * javax/imageio/IIOException.java,
4592 javax/imageio/event/IIOReadProgressListener.java,
4593 javax/imageio/event/IIOReadUpdateListener.java,
4594 javax/imageio/event/IIOReadWarningListener.java,
4595 javax/imageio/event/IIOWriteProgressListener.java,
4596 javax/imageio/event/IIOWriteWarningListener.java:
4597 New files.
4598 * Makefile.am: Added new files.
4599 * Makefile.in: Regenerated.
4600
4a738a82
GL
46012004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4602
4603 * java/text/RuleBasedCollator.java
4604 (mergeRules): Use ArrayList instead of Vector.
4605 (subParseString): likewise.
4606 (parseString): likewise.
4607 (buildCollationVector): likewise.
4608 (getCollationKey): likewise.
4609
28e0ee76
DT
46102004-07-09 Dalibor Topic <robilad@kaffe.org>
4611
4612 * java/text/DateFormat.java (parse):
4613 Improved javadoc. Improved exception message.
4614
2e54a860
MW
46152004-07-09 Mark Wielaard <mark@klomp.org>
4616
4617 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4618 interrupted() method to clear interupt flag of our Thread.
4619
23c41c08
DT
46202004-07-09 Dalibor Topic <robilad@kaffe.org>
4621
4622 * java/nio/Buffer.java,
4623 java/nio/ByteBuffer.java,
4624 java/nio/ByteBufferHelper.java,
4625 java/nio/ByteBufferImpl.java,
4626 java/nio/CharBuffer.java,
4627 java/nio/CharBufferImpl.java,
4628 java/nio/CharViewBufferImpl.java,
4629 java/nio/DirectByteBufferImpl.java,
4630 java/nio/DoubleBuffer.java,
4631 java/nio/DoubleBufferImpl.java,
4632 java/nio/DoubleViewBufferImpl.java,
4633 java/nio/FloatBuffer.java,
4634 java/nio/FloatBufferImpl.java,
4635 java/nio/FloatViewBufferImpl.java,
4636 java/nio/IntBuffer.java,
4637 java/nio/IntBufferImpl.java,
4638 java/nio/IntViewBufferImpl.java,
4639 java/nio/LongBuffer.java,
4640 java/nio/LongBufferImpl.java,
4641 java/nio/LongViewBufferImpl.java,
4642 java/nio/MappedByteBufferImpl.java,
4643 java/nio/ShortBuffer.java,
4644 java/nio/ShortBufferImpl.java,
4645 java/nio/ShortViewBufferImpl.java:
4646 Fixed javadocs all over. Improved input error
4647 checking.
4648
4649 * java/nio/Buffer.java
4650 (checkForUnderflow, checkForOverflow, checkIndex,
4651 checkIfReadOnly, checkArraySize): New helper methods
4652 for error checking.
4653
4654 * java/nio/ByteBufferHelper.java
4655 (checkRemainingForRead, checkRemainingForWrite,
4656 checkAvailableForRead, checkAvailableForWrite): Removed
4657 no longer needed methods.
4658
e484d7d5
MK
46592004-07-09 Michael Koch <konqueror@gmx.de>
4660
4661 * gnu/regexp/CharIndexedInputStream.java:
4662 Reordered imports to match classpath.
4663
3e518ab0
MK
46642004-07-09 Michael Koch <konqueror@gmx.de>
4665
4666 * gnu/java/awt/EmbeddedWindow.java:
4667 Load native library for setWindowPeer method.
4668
8c5ac2c4
RC
46692004-07-08 Randolph Chung <tausq@debian.org>
4670
4671 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4672 * configure: Regenerate.
4673 * configure.host: Set can_unwind_signal for hppa*-linux.
4674 * include/pa-signal.h: New file.
4675
0bd24153
PB
46762004-07-07 Per Bothner <per@bothner.com>
4677
fedf5454
PB
4678 * Makefile.am: Add rules to build libgij from just gij.cc.
4679
0bd24153
PB
4680 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4681 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4682 (initializeClass): If verbose_class_flag, print message.
4683 * gij.cc (main): Handle -verbose:class flag.
4684
0e497b6c
AT
46852004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4686
4687 * configure.host: Enable hash synchronization on Darwin.
4688 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4689 ';', since this is a comment on Darwin.
4690 (compare_and_swap_release): Likewise.
4691
c09bade6
ME
46922004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4693
4694 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4695 file portion of URL in addition to spec for file: protocol.
4696
23f99379 46972004-07-05 Anthony Green <green@redhat.com>
0e497b6c 4698
23f99379
AG
4699 * java/io/File.java (toURI): Merge from Classpath.
4700
a1433c46
BM
47012004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4702
4703 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4704 before passing to URL constructor. Rethrow any MalformedURLException
4705 as a RuntimeException. Catch MalformedURLException specifically, not
4706 all exceptions.
0e497b6c 4707
a86f0372
BM
47082004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4709
4710 * java/util/Locale.java (readObject): Intern strings read from object
4711 stream.
4712
74fa958e
MK
47132004-07-04 Michael Koch <konqueror@gmx.de>
4714
4715 * gnu/gcj/runtime/FirstThread.java,
4716 gnu/gcj/runtime/natFirstThread.cc: Removed.
4717 * gnu/java/lang/MainThread.java,
4718 gnu/java/lang/natMainThread.cc: New files.
4719 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4720 * Makefile.am: Added new files and removed deleted ones.
4721 * Makefile.in: Regenerated.
4722
94fbf267 47232004-07-03 Mark Wielaard <mark@klomp.org>
0e497b6c 4724 Anthony Green <green@redhat.com>
94fbf267
AG
4725
4726 * java/net/URL.java (getFile): Clarify return value doc.
4727 (getPath): Return null if file is empty - not empty String.
4728 (set): Convert protocol to lower case before doing anything.
4729 Only change the protocol handler if it's different.
4730
47312004-07-03 Anthony Green <green@redhat.com>
4732
4733 * java/net/URL.java (URL): Convert protocol to lower case before
4734 doing anything, so we getURLStreamHandler() with the proper value.
4735
b5349c07
BM
47362004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4737
4738 * java/util/Locale.java (hashcode): Made transient.
4739 (hashCode): No longer synchronized.
4740 (equals): Remove comment.
4741 (writeObject): No longer synchronized. Implement using writeObject
4742 calls instead of tweaking hashCode field. Update doc.
4743 (readObject): Implement using readObject calls.
4744
f8a57be8
GK
47452004-06-26 Geoffrey Keating <geoffk@apple.com>
4746 Andreas Tobler <a.tobler@schweiz.ch>
4747
4748 * configure.host (powerpc-*-darwin*): New case, define
4749 can_unwind_signal.
4750 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4751 * configure: Regenerate.
4752 * include/darwin-signal.h: New.
4753
dcfbe7c7
JQ
47542004-06-30 Jerry Quinn <jlquinn@optonline.net>
4755
4756 * java/beans/Statement.java (doExecute): Fix formatting.
4757
8319dc87
PB
47582004-06-29 Per Bothner <per@bothner.com>
4759
4760 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4761 etc etc): Remove needless parenthesis, which causes __stdcall__
4762 attribute on MinGW to get ignored.
4763
b4bbd47e
BM
47642004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4765
4766 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4767
b5493719
BM
47682004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4769
b4bbd47e 4770 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
b5493719 4771
7b63e340
JQ
47722004-06-28 Jerry Quinn <jlquinn@optonline.net>
4773
4774 * java/beans/Expression.java: New file.
4775 * java/beans/Statement.java: New file.
4776 * Makefile.am: Added new files.
4777 * Makefile.in: Re-generate.
4778
01036503
MW
47792004-06-27 Mark Wielaard <mark@klomp.org>
4780
4781 * java/io/FilePermission.java (usingPerms): Removed.
4782 (actionsString): Made final.
4783 (cachePerms): Renamed to checkPerms.
4784 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4785 on action String.
4786 (FilePermission): Check arguments, call checkPerms().
4787 (equals): Remove cachePerms() call.
4788 (implies): Likewise.
4789
ce6230c4
MW
47902004-06-27 Mark Wielaard <mark@klomp.org>
4791
4792 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4793 final field.
4794 (sendRequest): Use new field in user-agent http agent.
4795
66a74d2a
MW
47962004-06-27 Mark Wielaard <mark@klomp.org>
4797
4798 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4799 when argument is null.
4800
48012004-06-26 Mark Wielaard <mark@klomp.org>
4802
4803 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4804 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4805 GetMethodID call.
4806 (cancel_clicked): Likewise.
4807
d168da74
AT
48082004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4809
4810 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4811 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4812 can not calculate the right value.
4813 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4814
cc21f43e
BM
48152004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4816
4817 * testsuite/libjava.jacks/jacks.xfail: Remove
4818 15.9.1-qualified-concrete-20.
4819
eb8163ab
BM
48202004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4821
4822 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4823 encoding name to iconv.
4824 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4825
f50aa505
BM
48262004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4827
4828 PR libgcj/16134:
e9cb3dac
BM
4829 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4830 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4831 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
f50aa505 4832
deb3d52f
AH
48332004-06-21 Andrew Haley <aph@redhat.com>
4834
4835 * java/io/ObjectOutputStream.java: Add DEBUG statements
4836 everywhere.
4837 (dumpElementln): New method.
4838 (depth): New field.
4839 * java/io/ObjectInputStream.java
4840 (currentClassLoader): Make native.
4841 (callersClassLoader): New field.
4842 (depth): New field.
4843 (readObject): ENDBLOCKDATA is generated if the class has a write
4844 method, not if it has a read method.
4845 (readObject): Save and restore this.currentObject and
4846 this.currentObjectStreamClass around calls to callReadMethod().
4847 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4848 method.
4849
cfc74dce
AT
48502004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4851
4852 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4853 darwin.
4854
bd760894
RM
48552004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4856
4857 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4858 if desired, before the default class loader is initialised.
4859 Call INIT_SEGV only if HANDLE_SEGV is defined.
4860
6ca77e6f
RM
48612004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4862
4863 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4864 directory only if it actually exists.
4865
67a69e82
GH
48662004-06-18 Graydon Hoare <graydon@redhat.com>
4867
4868 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4869 Fix up non-ansi comments.
4870
48712004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4872
4873 * javax/swing/text/AbstractDocument.java: Adding missing import
4874 for javax.swing.event.EventListenerList.
4875 * javax/swing/text/DefaultCaret.java: Likewise.
4876
4dfcdad1
GH
48772004-06-17 Michael Koch <konqueror@gmx.de>
4878
4879 * javax/swing/JToolBar.java
4880 (name): Removed.
4881 (JToolBar): Use Component.setName(String) instead of doing it all
4882 alone.
4883 * javax/swing/Timer.java
4884 (queueEvent): Added missing modifier.
4885
48862004-06-17 Olga Rodimina <rodimina@redhat.coom>
4887
4888 * Makefile.am: Added new file.
4889 * Makefile.in: Re-generate.
4890 * javax/swing/JMenu.java:
4891 (insertSeparator): Implemented.
4892 * javax/swing/JPopupMenu.java:
4893 (JPopupMenu.Separator): Implemented.
4894 * javax/swing/MenuSelectionManager.java:
4895 (processMouseEvent): Use java.awt.Component
4896 for event source instead of javax.swing.JComponent.
4897 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4898 New File. Implemented.
4899
49002004-06-16 David Jee <djee@redhat.com>
4901
4902 * java/awt/GridBagLayout.java
4903 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4904 Make sure pos_x and pos_y are never negative.
4905
49062004-04-16 Andrew Overholt <overholt@redhat.com>
4907
4908 * Makefile.am: Add new file.
4909 * Makefile.in: Re-generate.
4910 * javax/swing/JToolBar.java
4911 Partially implemented.
4912 * javax/swing/plaf/basic/BasicToolBarUI.java
4913 New file. Partially implemented.
4914
49152004-06-16 Graydon Hoare <graydon@redhat.com>
4916
4917 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4918 (setComposite): Accept AlphaComposite arguments.
4919 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4920 (createBufferedImage): Add new overloads.
4921 * gnu/java/awt/peer/gtk/GtkToolkit.java
4922 (createImage): Use GdkPixbufDecoder.createBufferedImage
4923 when useGraphics2D() is true.
4924 (getImage): Delegate to createImage.
4925 * javax/swing/JList.java
4926 (isSelectionEmpty):
4927 (getFirstVisibleIndex):
4928 (getLastVisibleIndex):
4929 (setSelectedValue):
4930 (ensureIndexIsVisible): New methods.
4931 * javax/swing/Timer.java: Reimplement.
4932
49332004-06-16 Michael Koch <konqueror@gmx.de>
4934
4935 * javax/swing/text/AbstractDocument.java
4936 (AbstracElement): Made public, implements java.io.Serializable.
4937 (AttributeContext): Made public.
4938 (BranchElement): Likewise.
4939 (Content): Likewise.
4940 (DefaultDocumentEvent): Made public, extends
4941 javax.swing.undo.CompoundEdit.
4942 (ElementEdit): Made public, extends
4943 javax.swing.undo.AbstractUndoableEdit.
4944 (LeafElement): Made public.
4945 (LeafElement.LeafElement): Made public.
4946
49472004-06-16 Michael Koch <konqueror@gmx.de>
4948
4949 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4950 methods (that were obviously never be intended to get included hi this
4951 class. Added some methods too.
4952
49532004-06-16 Michael Koch <konqueror@gmx.de>
4954
4955 * javax/swing/text/PlainDocument.java
4956 (serialVersionUID): New constant.
4957 (lineLimitAttribute): Likewise.
4958 (tabSizeAttribute): Likewise.
4959 (tabSize): New field.
4960 (PlainDocument): Made public.
4961 (PlainDocument): New constructor.
4962
49632004-06-16 Michael Koch <konqueror@gmx.de>
4964
4965 * javax/swing/text/AbstractDocument.java
4966 (insertString): Throws BadLocationException.
4967 * javax/swing/text/Document.java
4968 (insertString): Likewise.
4969 * javax/swing/text/JTextComponent.java:
4970 Javadocs and comments cleaned up.
4971
49722004-06-16 Michael Koch <konqueror@gmx.de>
4973
4974 * javax/swing/event/UndoableEditListener.java: Reformatted.
4975 * javax/swing/text/AbstractDocument.java
4976 (AbstractDocument): Implements java.io.Serializable.
4977 (doc_list): Removed.
4978 (undo_list): Removed.
4979 (AbstractElement.serialVerionUID): New field.
4980 (BranchElement.serialVerionUID): Likewise.
4981 (DefaultDocumentEvent.serialVerionUID): Likewise.
4982 (ElementEdit.serialVerionUID): Likewise.
4983 (LeafElement.serialVerionUID): Likewise.
4984 (serialVerionUID): Likewise.
4985 (BAD_LOCATION): New constant.
4986 (BidiElementName): Likewise.
4987 (ContentElementName): Likewise.
4988 (ParagraphElementName): Likewise.
4989 (SectionElementName): Likewise.
4990 (ElementNameAttribute): Likewise.
4991 (AbstractDocument): Made protected.
4992 (AbstractDocument): New construtor.
4993 (listenerList): New field.
4994 (fireChangedUpdate): Implemented.
4995 (fireInsertUpdate): Likewise.
4996 (fireRemoveUpdate): Likewise.
4997 (fireUndoableEditUpdate): Likewise.
4998 (getListeners): Likewise.
4999 (addDocumentListener): Likewise.
5000 (removeDocumentListener): Likewise.
5001 (addUndoableEditListener): Likewise.
5002 (removeUndoableEditListener): Likewise.
5003 (getDocumentListeners): New method.
5004 (getUndoableEditListeners): Likewise.
5005 (getAsynchronousLoadPriority): Made public.
5006 (getBidiRootElement): Likewise.
5007 (setAsynchronousLoadPriority): Likewise.
5008 (setDocumentProperties): Likewise.
5009 * javax/swing/text/BadLocationException.java
5010 (serialVerionUID): New field.
5011 * javax/swing/text/DefaultCaret.java
5012 (changeEvent): New field.
5013 (listenerList): Likewise.
5014 (changes): Removed.
5015 (addChangeListener): Reimplemented.
5016 (removeChangeListener): Likewise.
5017 (getListeners): New method.
5018 (getChangeListeners): Likwise.
5019 (getComponent): Likewise.
5020 * javax/swing/text/GapContent.java
5021 (GapContent): Implements java.io.Serializable.
5022 (serialVerionUID): New field.
5023
50242004-06-16 Michael Koch <konqueror@gmx.de>
5025
5026 * javax/swing/JTree.java
5027 (treeModel): New field.
5028 (JTree): New constructors, one existing one made public.
5029 (createTreeModel): New method.
5030 (addTreeExpansionListener): Likewise.
5031 (removeTreeExpansionListener): Likewise.
5032 (getTreeExpansionListeners): Likewise.
5033 (fireTreeCollapsed): Likewise.
5034 (fireTreeExpanded): Likewise.
5035 (addTreeSelectionListener): Likewise.
5036 (removeTreeSelectionListener): Likewise.
5037 (getTreeSelectionListeners): Likewise.
5038 (fireValueChanged): Likewise.
5039 (addTreeWillExpandListener): Likewise.
5040 (removeTreeWillExpandListener): Likewise.
5041 (getTreeWillExpandListeners): Likewise.
5042 (fireTreeWillCollapse): Likewise.
5043 (fireTreeWillExpand): Likewise.
5044
50452004-06-16 Michael Koch <konqueror@gmx.de>
5046
5047 * javax/swing/JTree.java: Reformatted.
5048
50492004-06-16 Michael Koch <konqueror@gmx.de>
5050
5051 * javax/swing/JTextArea.java: New file.
5052 * javax/swing/JTextField.java
5053 (actions): Removed.
5054 (notifyAction): New constant.
5055 (columns): New field.
5056 (JTextField): New constructors.
5057 (createDefaultModel): New method.
5058 (addActionListener): Reimplmemented.
5059 (removeActionListener): Reimplemented.
5060 (getActionListeners): New method.
5061 (fireActionPerformed): New method.
5062 (getColumns): New method.
5063 (setColumne): New method.
5064 * javax/swing/text/JTextComponent.java
5065 (AccessibleJTextComponent.serialVersionUID): New field.
5066 (serialVersionUID): Likewise.
5067 (DEFAULT_KEYMAP): Likewise.
5068 (FOCUS_ACCELERATOR_KEY): Likewise.
5069 (doc): Made private.
5070 (icon_gap): Likewise.
5071 (icon): Likewise.
5072 (align): Likewise.
5073 (JTextComponent): Some constructors removed.
5074 (getScrollableTracksViewportHeight): New method.
5075 (getScrollableTracksViewportWidth): Likewise.
5076 * Makefile.am: Added javax/swing/JTextArea.java.
5077 * Makefile.in: Regenerated.
5078
50792004-06-15 Graydon Hoare <graydon@redhat.com>
5080
5081 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
5082 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
5083 * javax/swing/JViewport.java
5084 (getExtentSize): Return size rather than preferred size.
5085 (toViewCoordinates): New methods.
5086 (getViewSize): Return size rather than preferred size.
5087 (setViewSize): Note view size as set.
5088 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
5089 * javax/swing/plaf/basic/BasicScrollBarUI.java
5090 (getPreferredSize): Don't redo layout.
5091 * javax/swing/plaf/basic/BasicViewportUI.java
5092 (paint): Translate image properly and eat exceptions.
5093
50942004-06-15 Kim Ho <kho@redhat.com>
5095
5096 * javax/swing/JTabbedPane.java
5097 (setComponent): Remove old component and
5098 add new component.
5099 (setSelectedIndex): Don't operate on the
5100 components if they're null. Don't set index
5101 on the model if the index is the same.
5102 (insertTab): Don't add or hide the component
5103 if it's null. Repaint the container.
5104 * javax/swing/plaf/basic/BasicLookAndFeel.java
5105 Change colors for TabbedPane.
5106 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5107 (mousePressed): Re-layout and paint the component.
5108 (layoutContainer): Don't set location on the view.
5109 (ScrollingViewport::paint): Remove.
5110
51112004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
5112
5113 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5114 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
5115
5116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5117 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
5118 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
5119 critical region.
5120 (drawLine): Call gdk_flush before leaving GDK critical region.
5121 (fillRect): Likewise.
5122 (drawRect): Likewise.
5123 (copyArea): Likewise.
5124 (copyPixmap): Likewise.
5125 (clearRect): Likewise.
5126 (drawArc): Likewise.
5127 (drawPolyline): Likewise.
5128 (drawPolygon): Likewise.
5129 (fillPolygon): Likewise.
5130 (fillArc): Likewise.
5131 (drawOval): Likewise.
5132 (fillOval): Likewise.
5133
5134 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
5135 style parameter.
5136 (GdkFontMetrics): Add style argument to initState call.
5137 (stringWidth(String,int,int,String)): Add style parameter.
5138 (stringWidth(String)): Add style argument to stringWidth call.
5139 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5140 (initState): Set pango font style and weight based on AWT style
5141 parameter. Pass default GTK language to
5142 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
5143 simply dividing by PANGO_SCALE.
5144 (stringWidth): Set pango font style and weight based on AWT style
5145 parameter.
5146
5147 * java/awt/Button.java (next_button_number): New field.
5148 (paramString): Change output.
5149 (generateName): New method.
5150 (getUniqueLong): New method.
5151
51522004-06-14 Kim Ho <kho@redhat.com>
5153
5154 * javax/swing/JTabbedPane.java:
5155 (setComponentAt): Set the component, not
5156 the enabled status.
5157 * javax/swing/plaf/basic/BasicDesktopIconUI.java
5158 (actionPerformed): Let deiconize catch exception.
5159
51602004-06-14 Olga Rodimina <rodimina@redhat.com>
5161
5162 * javax/swing/JPopupMenu.java:
5163 (setVisible): Corrected location of a
5164 heavyweight popup menu.
5165
51662004-06-14 Olga Rodimina <rodimina@redhat.com>
5167
5168 * javax/swing/MenuSelectionManager.java:
5169 Ran through jalopy to fix formatting style.
5170
51712004-06-14 Olga Rodimina <rodimina@redhat.com>
5172
5173 * javax/swing/JLayeredPane.java:
5174 (remove): Revalidate and repaint layered pane after
5175 the component was removed.
5176 javax/swing/JMenu.java:
5177 (setVisible): Display popup menu at the user location,
5178 if one was set by the user.
5179 (setMenuLocation): Reimplemented. Fixed javadoc.
5180 * javax/swing/JMenuBar.java: Added javadoc.
5181 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5182 (MODEL_CHANGED_PROPERTY): New Property.
5183 (isSelected): Implemented.
5184 (setBorderPainted): Fire PropertyChangeEvent
5185 if paintBorder property changes.
5186 (setSelected): Implemented.
5187 (setSelectionModel): Implemented.
5188 * javax/swing/JPopupMenu.java: Added Javadoc
5189 (pack): Implemented.
5190 (setVisible): Reimplemented.
5191 (show): Fixed location.
5192 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5193 Container instead of JPanel.
5194 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5195 (clearSelectedPath): Reimplemented to clear selectedPath
5196 in reverse order.
5197 (processMouseEvent): Reimplemented.
5198 (setSelectedPath): Fire stateChange event indicating that
5199 selected menu path has changed.
5200 (getPath): Change to use ArrayList instead of Vector.
5201 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5202 (installUI): call installKeyboardActions().
5203 (uninstallUI): call uninstallKeyboardActions().
5204
52052004-06-13 Michael Koch <konqueror@gmx.de>
5206
5207 * javax/swing/text/DefaultCaret.java,
5208 javax/swing/text/BadLocationException.java:
5209 Reformatted.
5210
52112004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5212
5213 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5214 DEFAULT_COLS): New variables.
5215 (create): Don't allow 0 rows or 0 columns. Instead, set the
5216 values to DEFAULT_ROWS or DEFAULT_COLS.
5217 (getMinimumSize): Likewise.
5218 (getPreferredSize): Likewise.
5219 (minimumSize): Likewise.
5220 (preferredSize): Likewise.
5221 (create): Set peer's editable state.
5222 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5223 zero. Update javadocs.
5224 (TextArea(String)): Likewise.
5225 (TextArea(int,int)): Fix javadocs.
5226 (TextArea(String,int,int,int)): Only throw exception if one of
5227 rows or columns is zero. Fix javadocs.
5228
52292004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5230
5231 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5232 addition to Components.
5233
5234 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5235 wasn't consumed by normal processing, send it to the parent
5236 menu.
5237
5238 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5239 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5240 translation.
5241
52422004-06-11 David Jee <djee@redhat.com>
5243
5244 * java/awt/MediaTracker.java
5245 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5246 (addImage(Image,int,int,int)): Likewise.
5247
52482004-06-11 Michael Koch <konqueror@gmx.de>
5249
5250 * javax/swing/text/AbstractDocument.java,
5251 javax/swing/text/Document.java,
5252 javax/swing/text/GapContent.java,
5253 javax/swing/text/JTextComponent.java,
5254 javax/swing/text/PlainDocument.java:
5255 Reformatted.
5256
52572004-06-11 Michael Koch <konqueror@gmx.de>
5258
5259 * javax/swing/JRootPane.java
5260 (AccessibleJRootPane.serialVersionUID): New field.
5261 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5262 (AccessibleJRootPane.getAccessibleRole): New method.
5263 (RootLayout): Implements Serializable.
5264 (RootLayout.serialVersionUID): New field.
5265 (RootLayout.RootLayout): New constructor.
5266 (setJMenuBar): Made public.
5267 (getJMenuBar): Likewise.
5268 (JRootPane): Likewise.
5269 (createContentPane): Likewise.
5270 (createGlassPane): Likewise.
5271 (createLayeredPane): Likewise.
5272
52732004-06-11 Michael Koch <konqueror@gmx.de>
5274
5275 * javax/swing/SwingUtilities.java
5276 (isLeftMouseButton): Fixed javadoc.
5277 (isMiddleMouseButton): Likewise.
5278 (isRightMouseButton): Likewise.
5279
52802004-06-11 Michael Koch <konqueror@gmx.de>
5281
5282 * javax/swing/JScrollPane.java
5283 (serialVersionUID): New field.
5284 (columnHeader): Made protected.
5285 (rowHeader): Likewise.
5286 (lowerLeft): Likewise.
5287 (lowerRight): Likewise.
5288 (upperLeft): Likewise.
5289 (upperRight): Likewise.
5290 (horizontalScrollBar): Likewise.
5291 (horizontalScrollBarPolicy): Likewise.
5292 (verticalScrollBar): Likewise.
5293 (verticalScrollBarPolicy): Likewise.
5294 (viewport): Likewise.
5295
52962004-06-11 Michael Koch <konqueror@gmx.de>
5297
5298 * javax/swing/LookAndFeel.java: Fixed javadocs.
5299
53002004-06-11 Michael Koch <konqueror@gmx.de>
5301
5302 * javax/swing/JEditorPane.java: Fixed javadocs.
5303 (JEditorPane): Removed redundant call to to this().
5304 (fireHyperlinkUpdate): Implemented.
5305
53062004-06-10 Olga Rodimina <rodimina@redhat.com>
5307
5308 * javax/swing/JMenu.java: Fixed file name
5309 in the file comment.
5310
53112004-06-10 Olga Rodimina <rodimina@redhat.com>
5312
5313 * javax/swing/JMenu.java: Added javadoc.
5314 (JMenu): Added MenuChangeListener to listen to
5315 ChangeEvents occuring in menu's model.
5316 (insert): Throw IllegalArgumentException if
5317 index is less than 0
5318 (setSelected): Reimplement.
5319 (setPopupMenuVisible): Call menu's model isEnabled()
5320 (setDelay): Throw IllegalArgumentException if
5321 given amount of delay is less than 0.
5322 (createActionComponent): Implemented.
5323 (createActionChangeListener): Implemented.
5324 (addSeparator): Implemented.
5325 (getItem): Throw IllegalArgumentException if index is
5326 less than 0.
5327 (getItemCount): Implemented.
5328 (fireMenuSelected): Changed to use menuEvent.
5329 (fireMenuDeselected): Likewise.
5330 (fireMenuCanceled): Likewise.
5331 (setAccelerator): Changed to throw an error if this
5332 method is used.
5333 (doClick): Implemented.
5334 (JMenu.ActionChangedListener): New inner class to handle
5335 PropertyChangeEvents occuring in the actions associated with menu.
5336 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5337 (BasicMenuUI): Added PropertyChangeListener to the menu.
5338 (createChangeListener): Implemented.
5339 (createMenuDragMouseListener): Likewise.
5340 (createMenuKeyListener): Likewise.
5341 (createPropertyChangeListener): Likewise.
5342 (uninstallListeners): Likewise.
5343 (BasicMenuUI.MouseInputHandler): Reimplemented.
5344 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5345 (BasicMenuUI.ChangeHandler): Likewise.
5346 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5347 (BasicMenuUI.MenuKeyHandler): Likewise.
5348
53492004-06-10 David Jee <djee@redhat.com>
5350
5351 * java/awt/MediaTracker.java
5352 (imageUpdate): Only do notifyAll() if the image is complete.
5353
53542004-06-10 Olga Rodimina <rodimina@redhat.com>
5355
5356 * javax/swing/JApplet.java:
5357 (getJMenuBar): Made public.
5358 (setJMenuBar): Likewise.
5359 * javax/swing/JFrame.java:
5360 (getJMenuBar): Made public.
5361 (setJMenuBar): Likewise.
5362 * javax/swing/JWindow.java:
5363 (getJMenuBar): Removed.
5364 (setJMenuBar): Removed.
5365
53662004-06-10 Michael Koch <konqueror@gmx.de>
5367
5368 * javax/swing/JEditorPane.java
5369 (createEditorKitForContentType): Fixed visibility.
5370 (fireHyperlinkUpdate): Likewise.
5371 (getContentType): Likewise.
5372 (getEditorKit): Likewise.
5373 (getEditorKitForContentType): Likewise.
5374 (getPage): Likewise.
5375 (read): Likewise.
5376 (registerEditorKitForContentTyoe): Likewise.
5377 (replaceSelection): Likewise.
5378 (setContentType): Likewise.
5379 (setEditorKit): Likewise.
5380 (setPage): Likewise.
5381
53822004-06-10 Michael Koch <konqueror@gmx.de>
5383
5384 * javax/swing/Timer.java
5385 (Timer): New constructor.
5386 * javax/swing/plaf/basic/BasicProgressBarUI.java
5387 (animationTimer): Don't initialize at construction.
5388 (startAnimationTimer): Added since tag.
5389 (stopAnimationTimer): Likewise.
5390 (installUI): Use new Timer constructor.
5391 * javax/swing/plaf/basic/BasicScrollBarUI.java
5392 (installUI): Likewise.
5393 * javax/swing/plaf/basic/BasicSliderUI.java
5394 (installUI): Likewise.
5395
53962004-06-10 Michael Koch <konqueror@gmx.de>
5397
5398 * javax/swing/ButtonGroup.java
5399 (serialVersionUID): Made private.
5400 (buttons): Renamed from v, added javadoc.
5401 (sel): Added javadoc.
5402 (ButtonGroup): Likewise.
5403 (add): Likewise.
5404 (remove): Likewise.
5405 (getElements): Likewise.
5406 (getSelection): Likewise.
5407 (setSelected): Likewise.
5408 (isSelected): Likewise.
5409 (getButtonCount): Likewise.
5410
54112004-06-10 Michael Koch <konqueror@gmx.de>
5412
5413 * javax/swing/ButtonGroup.java,
5414 javax/swing/ImageIcon.java,
5415 javax/swing/JEditorPane.java,
5416 javax/swing/JRootPane.java,
5417 javax/swing/JTextField.java,
5418 javax/swing/LookAndFeel.java,
5419 javax/swing/plaf/basic/BasicTextUI.java:
5420 Reindented.
5421
54222004-06-10 Michael Koch <konqueror@gmx.de>
5423
5424 * javax/swing/text/Style.java: Added javadocs.
5425
54262004-06-10 Michael Koch <konqueror@gmx.de>
5427
5428 * javax/swing/JComponent.java
5429 (fireVetoableChange): Removed redundant cast.
5430 * javax/swing/JLabel.java
5431 (getDisabledIcon): Save icon for next call.
5432
54332004-06-10 Michael Koch <konqueror@gmx.de>
5434
5435 * javax/swing/KeyStroke.java
5436 (getKeyStroke(char,boolean)): Marked deprecated.
5437
54382004-06-10 Michael Koch <konqueror@gmx.de>
5439
5440 * javax/swing/DefaultCellEditor.java,
5441 javax/swing/GrayFilter.java,
5442 javax/swing/event/DocumentEvent.java,
5443 javax/swing/text/JTextComponent.java,
5444 javax/swing/text/MutableAttributeSet.java:
5445 Reindented.
5446
54472004-06-10 Michael Koch <konqueror@gmx.de>
5448
5449 * javax/swing/plaf/BorderUIResource.java:
5450 Added serialVersionUID all over.
5451
54522004-06-10 Sascha Brawer <brawer@dandelis.ch>
5453
5454 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5455
54562004-06-10 Michael Koch <konqueror@gmx.de>
5457
5458 * javax/swing/table/DefaultTableCellRenderer.java
5459 (noFocusBorder): Initialize directly.
5460
54612004-06-10 Michael Koch <konqueror@gmx.de>
5462
5463 * javax/swing/plaf/basic/BasicArrowButton.java
5464 (setDirection): Use method argument.
5465
54662004-06-10 Michael Koch <konqueror@gmx.de>
5467
5468 * javax/swing/plaf/BorderUIResource.java,
5469 javax/swing/plaf/ComponentUI.java,
5470 javax/swing/undo/CompoundEdit.java,
5471 javax/swing/undo/StateEdit.java:
5472 Fixed javadocs all over.
5473
54742004-06-10 Michael Koch <konqueror@gmx.de>
5475
5476 * javax/swing/DefaultButtonModel.java
5477 (ARMED): Made public final, fixed value.
5478 (ENABLED): Likewise.
5479 (PRESSED): Likewise.
5480 (ROLLOVER): Likewise.
5481 (SELECTED): Likewise.
5482 (stateMask): Initialize directly.
5483 (listenerList): Likewise.
5484 (mnemonic): Likewise.
5485 (fireStateChanged): Removed argument, use changeEvent as event.
5486 All places where this method is called are fixed too.
5487 (getActionCommant): Fixed javadoc.
5488 (setGroup): Fixed javadoc.
5489 (getGroup): New method.
5490
54912004-06-09 Olga Rodimina <rodimina@redhat.com>
5492
5493 * javax/swing/AbstractButton.java
5494 (AbstractButton): Use init() to initialize the button.
5495 (init): New Method. Initializes AbstractButton.
5496 * javax/swing/JMenuItem.java: Documented.
5497 (JMenuItem): Reimplemented.
5498 (init): Implemented.
5499 (setEnabled): Changed to call super.setEnabled()
5500 (processMouseEvent): Reimplemented.
5501 (fireMenuKeyPressed): Implemented.
5502 (fireMenuKeyReleased): Implemented.
5503 (fireMenuKeyTyped): Implemented.
5504 (menuSelectionChanged): disarm the model if the menu item was
5505 deselected.
5506 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5507 (getPath): Change to use ArrayList instead of Vector.
5508 (getPreferredSize): Renamed variable.
5509 (paintMenuItem): Paint margin area of menu item.
5510 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5511 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5512 menu item's bounds before clearing the selection.
5513
55142004-06-09 David Jee <djee@redhat.com>
5515
5516 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5517 (GtkTextComponentPeer): Set caret position to 0.
5518 * java/awt/TextComponent.java
5519 (setText): Set caret position to 0.
5520 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5521 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5522 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5523 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5524 Likewise.
5525 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5526 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5527 visible.
5528
55292004-06-09 Kim Ho <kho@redhat.com>
5530
5531 * Makefile.am: New files
5532 * Makefile.in: Regenerated
5533 * java/awt/Container.java
5534 (getComponentAt): Removed.
5535 * javax/swing/AbstractAction.java
5536 (ENABLED_PROPERTY): New property.
5537 (putValue): Fire PropertyChangeEvents.
5538 (setEnabled): ditto.
5539 (firePropertyChange): Javadoc and implement
5540 convenience method.
5541 * javax/swing/AbstractButton.java
5542 (setAction): Don't create PropertyChangeListener
5543 if new Action is null.
5544 (setIcon): Don't set icon till after comparing
5545 it.
5546 (configurePropertiesFromAction): Check mnemonic
5547 key before calling intValue().
5548 (createActionPropertyChangeListener): Check
5549 properties rather than bulk change.
5550 * javax/swing/DefaultDesktopManager.java:
5551 Implement.
5552 * javax/swing/DesktopManager.java:
5553 Jalopy and javadoc.
5554 * javax/swing/JComponent.java
5555 (fireVetoableChange): Implement.
5556 (paintImmediately): Use root component.
5557 * javax/swing/JDesktopPane.java: Implement
5558 * javax/swing/JInternalFrame.java: Implement
5559 * javax/swing/JLabel.java
5560 (getDisabledIcon): Return grayscaled icon if
5561 no disabled icon specified.
5562 * javax/swing/JMenuBar.java
5563 (getComponentAtIndex): Use getComponent
5564 * javax/swing/JOptionPane.java
5565 (getDesktopPaneForComponent): Use SwingUtilities'
5566 getAncestorOfClass
5567 (getFrameForComponent): ditto.
5568 * javax/swing/JSplitPane.java
5569 (remove): Use getComponent.
5570 * javax/swing/SwingUtilities.java
5571 (convertPoint): Implement.
5572 * javax/swing/plaf/basic/BasicButtonUI.java
5573 (paintButtonNormal): Check opaqueness before
5574 filling background.
5575 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5576 Implement
5577 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5578 Implement.
5579 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5580 Implement.
5581 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5582 Implement.
5583 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5584 Change InternalFrame and Desktop colors.
5585
55862004-06-09 David Jee <djee@redhat.com>
5587
5588 * java/awt/Container.java
5589 (remove): Do not set component to invisible.
5590
55912004-06-09 Michael Koch <konqueror@gmx.de>
5592
5593 * javax/swing/tree/DefaultMutableTreeNode.java
5594 (getLeafCount): Renamed enum to e.
5595
55962004-06-09 Michael Koch <konqueror@gmx.de>
5597
5598 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5599 (positionForMouseEvent): Removed redundant semicolon.
5600 (continueDrag): Use method arguments.
5601
56022004-06-09 Michael Koch <konqueror@gmx.de>
5603
5604 * javax/swing/border/TitledBorder.java,
5605 javax/swing/filechooser/FileSystemView.java,
5606 javax/swing/plaf/basic/BasicButtonListener.java,
5607 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5608 javax/swing/plaf/basic/BasicLabelUI.java,
5609 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5610 javax/swing/plaf/basic/BasicScrollBarUI.java,
5611 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5612 javax/swing/plaf/basic/BasicSliderUI.java,
5613 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5614 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5615 javax/swing/table/JTableHeader.java,
5616 javax/swing/text/AbstractDocument.java,
5617 javax/swing/text/DefaultCaret.java,
5618 javax/swing/text/StyledEditorKit.java,
5619 javax/swing/tree/DefaultTreeCellEditor.java:
5620 Reworked import statements.
5621
56222004-06-08 Graydon Hoare <graydon@redhat.com>
5623
5624 * javax/swing/Box.java: Temporarily comment out code
5625 broken due to visibility bug.
5626
56272004-06-09 Michael Koch <konqueror@gmx.de>
5628
5629 * javax/swing/ImageIcon.java
5630 (ImageIcon): Added missing constructor.
5631
56322004-06-08 Michael Koch <konqueror@gmx.de>
5633
5634 * javax/swing/JToggleButton.java
5635 (JToggleButton): New constructor.
5636 (getAccessibleContext): Moved documentation into javadoc.
5637 (getUIClassID): Likewise.
5638
56392004-06-08 Michael Koch <konqueror@gmx.de>
5640
5641 * javax/swing/AbstractButton.java
5642 (getDisabledIcon): Create disabled icon if none exists yet.
5643
56442004-06-08 Michael Koch <konqueror@gmx.de>
5645
5646 * javax/swing/plaf/basic/BasicLookAndFeel.java
5647 (initClassDefaults): Added FormattedTextFieldUI.
5648 (loadResourceBundle): Renamed enum to e.
5649
56502004-06-08 Michael Koch <konqueror@gmx.de>
5651
5652 * javax/swing/plaf/basic/BasicButtonUI.java
5653 (paintIcon): Simplified.
5654 (paintText): Paint disabled button correctly.
5655
56562004-06-08 Michael Koch <konqueror@gmx.de>
5657
5658 * javax/swing/JComponent.java
5659 (createToolTip): Use official JToolTip API.
5660
56612004-06-08 Michael Koch <konqueror@gmx.de>
5662
5663 * javax/swing/JToolTip.java
5664 (JToolTip): No arguments in API.
5665 (setTipText): New method.
5666
56672004-06-08 Michael Koch <konqueror@gmx.de>
5668
5669 * javax/swing/SwingUtilities.java
5670 (isLeftMouseButton): New method.
5671 (isMiddleMouseButton): New method.
5672 (isRightMouseButton): New method.
5673
56742004-06-08 Michael Koch <konqueror@gmx.de>
5675
5676 * javax/swing/AbstractButton.java,
5677 javax/swing/CellRendererPane.java,
5678 javax/swing/JCheckBoxMenuItem.java,
5679 javax/swing/JColorChooser.java,
5680 javax/swing/JComboBox.java,
5681 javax/swing/JComponent.java,
5682 javax/swing/JDesktopPane.java,
5683 javax/swing/JFileChooser.java,
5684 javax/swing/JMenu.java,
5685 javax/swing/JMenuItem.java,
5686 javax/swing/JOptionPane.java,
5687 javax/swing/JPasswordField.java,
5688 javax/swing/JPopupMenu.java,
5689 javax/swing/JProgressBar.java,
5690 javax/swing/JRadioButtonMenuItem.java,
5691 javax/swing/JScrollBar.java,
5692 javax/swing/JSeparator.java,
5693 javax/swing/JSlider.java,
5694 javax/swing/JSplitPane.java,
5695 javax/swing/JTabbedPane.java,
5696 javax/swing/JTextField.java,
5697 javax/swing/JToolBar.java,
5698 javax/swing/text/JTextComponent.java:
5699 Fixed all constructors of accessibility classes.
5700
57012004-06-08 Michael Koch <konqueror@gmx.de>
5702
5703 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5704 over.
5705
57062004-06-08 Michael Koch <konqueror@gmx.de>
5707
5708 * javax/swing/Box.java
5709 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5710 (AccessibleBoxFiller.serialVersionUID): New member variable.
5711 * javax/swing/DefaultButtonModel.java
5712 (stateMask): Made protected.
5713 (listenerList): Likewise.
5714 (changeEvent): Likewise.
5715 (group): Likewise.
5716 (mnemonic): Likewise.
5717 (actionCommand): Likewise.
5718 (getListeners): New method.
5719 (getActionListeners): New method.
5720 (getItemListeners): New method.
5721 (getChangeListeners): New method.
5722 (fireItemStateChanged): Simplified.
5723 (fireActionPerformed): Simplified.
5724 (fireStateChanged): Simplified.
5725 * javax/swing/JFrame.java
5726 (JFrame): Implements WindowContants.
5727 (HIDE_ON_CLOSE): Removed.
5728 (EXIT_ON_CLOSE): Removed.
5729 (DISPOSE_ON_CLOSE): Removed.
5730 (DO_NOTHING_ON_CLOSE): Removed.
5731 (processWindowEvent): Exit with code 0.
5732 (setDefaultCloseOperation): Do security check before setting value.
5733 * javax/swing/JOptionPane.java
5734 (message): Initialize only in constructor.
5735 * javax/swing/JToolTip.java: Removed unused imports.
5736 * javax/swing/JViewport.java
5737 (serialVersionUID): New member variable.
5738 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5739 (BLIT_SCROLL_MODE): Likewise.
5740 (BACKINGSTORE_SCROLL_MODE): Likewise.
5741 (scrollUnderway): Made protected.
5742 (isViewSizeSet): Likewise.
5743 * javax/swing/ListModel.java: Fixed javadoc.
5744 * javax/swing/Popup.java: Likewise.
5745 * javax/swing/RepaintManager.java
5746 (paintDirtyRegions): Don't use internal classes of
5747 java.util.AbstractMap.
5748 * javax/swing/ScrollPaneConstants.java: Reindented.
5749 * javax/swing/ScrollPaneLayout.java
5750 (viewport): Made protected.
5751 (verticalScrollBar): Made protected, renamed to vsb.
5752 (horizontalScrollBar): Made protected, renamed to hsb.
5753 (rowHeader): Made protected, renamed to rowHead.
5754 (columnHeader): Made protected, renamed to colHead.
5755 (lowerLeft): Made protected.
5756 (lowerRight): Made protected.
5757 (upperLeft): Made protected.
5758 (upperRight): Made protected.
5759 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5760 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5761
57622004-06-07 Bernd Schmidt <bernds@btinternet.com>
5763
5764 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5765 LOADING if flags has SOMEBITS set.
5766
57672004-06-07 Michael Koch <konqueror@gmx.de>
5768
5769 * javax/swing/AbstractButton.java: Reorganized imports.
5770 * javax/swing/ActionMap.java: Likewise.
5771 * javax/swing/DefaultButtonModel.java: Likewise.
5772 * javax/swing/DefaultListModel.java: Likewise.
5773 * javax/swing/ImageIcon.java: Likewise.
5774 (serialVersionUID): New member variable.
5775 * javax/swing/JComboBox.java: Reorganized imports.
5776 * javax/swing/JComponent.java: Likewise.
5777 (ui): Made protected.
5778 (listenerList): Made protected.
5779 (TOOL_TIP_TEXT_KEY): New constant.
5780 (scrollRectToVisible): Removed redundant null check.
5781 * javax/swing/JFrame.java: Reorganized imports.
5782 * javax/swing/JInternalFrame.java: Reorganized imports.
5783 * javax/swing/JProgressBar.java: Likewise.
5784 * javax/swing/JRootPane.java: Likewise.
5785 * javax/swing/JScrollBar.java: Likewise.
5786 * javax/swing/JSeparator.java: Likewise.
5787 * javax/swing/JSlider.java: Likewise.
5788 * javax/swing/JTabbedPane.java: Likewise.
5789 * javax/swing/JTextField.java: Likewise.
5790 * javax/swing/JToolBar.java: Likewise.
5791 * javax/swing/JTree.java: Likewise.
5792 * javax/swing/JViewport.java: Likewise.
5793 * javax/swing/JWindow.java: Likewise.
5794 * javax/swing/KeyStroke.java: Likewise.
5795 * javax/swing/LookAndFeel.java: Likewise.
5796 * javax/swing/MenuSelectionManager.java: Likewise.
5797 * javax/swing/SwingUtilities.java: Likewise.
5798 * javax/swing/Timer.java: Likewise.
5799 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5800 * javax/swing/JList.java
5801 (HORIZONTAL_WRAP): Made final, fixed value.
5802 (VERTICAL): Likewise.
5803 (VERTICAL_WRAP): Likewise.
5804
58052004-06-07 Michael Koch <konqueror@gmx.de>
5806
5807 * javax/swing/AbstractButton.java
5808 (serialVersionUID): New member variable.
5809 (AccessibleAbstractButton.serialVersionUID): Likewise.
5810 (AbstractButton): Made public.
5811 * javax/swing/Box.java
5812 (AccessibleBox.serialVersionUID): New member variable.
5813 (Filler.serialVersionUID): Likewise.
5814 * javax/swing/DefaultListSelectionModel.java
5815 (serialVersionUID): Likewise.
5816 * javax/swing/JApplet.java
5817 (serialVersionUID): Likewise.
5818 * javax/swing/JCheckBox.java
5819 (serialVersionUID): Likewise.
5820 * javax/swing/JCheckBoxMenuItem.java
5821 (serialVersionUID): Likewise.
5822 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5823 * javax/swing/JColorChooser.java
5824 (serialVersionUID): Likewise.
5825 (AccessibleJColorChooser.serialVersionUID): Likewise.
5826 * javax/swing/JComponent.java
5827 (serialVersionUID): Made private.
5828 (AccessibleJComponent.serialVersionUID): New member variable.
5829 * javax/swing/JDesktopPane.java
5830 (serialVersionUID): Likewise.
5831 * javax/swing/JDialog.java
5832 (serialVersionUID): Likewise.
5833 * javax/swing/JFormattedTextField.java
5834 (serialVersionUID): Fixed value.
5835 * javax/swing/JFrame.java
5836 (serialVersionUID): New member variable.
5837 (getDefaultCloseOpertation): Made public.
5838 * javax/swing/JLayeredPane.java
5839 (serialVersionUID): Likewise.
5840 (LAYER_PROPERTY): Made final, fixed value.
5841 (JLayeredPane): Made public.
5842 * javax/swing/JMenu.java
5843 (AccessibleJMenu.serialVersionUID): New member variable.
5844 (WinListener.serialVersionUID): Likewise.
5845 * javax/swing/JMenuBar.java
5846 (serialVersionUID): Likewise.
5847 (getComponentAtIndex): Added @deprecated tag.
5848 * javax/swing/JMenuItem.java
5849 (serialVersionUID): New member variable.
5850 (AccessibleJMenuItem.serialVersionUID): Likewise.
5851 * javax/swing/JOptionPane.java
5852 (serialVersionUID): Likewise.
5853 (AccessibleJOptionPane.serialVersionUID): Likewise.
5854 * javax/swing/JPopupMenu.java
5855 (serialVersionUID): Likewise.
5856 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5857 (getPopupMenuListeners): New method.
5858 (getComponentAtIndex): Added @deprecated tag.
5859 * javax/swing/JProgressBar.java
5860 (serialVersionUID): New member variable.
5861 (AccessibleJProgressBar.serialVersionUID): Likewise.
5862 * javax/swing/JRadioButton.java
5863 (serialVersionUID): Likewise.
5864 * javax/swing/JRadioButtonMenuItem.java
5865 (serialVersionUID): Likewise.
5866 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5867 * javax/swing/JScrollBar.java
5868 (serialVersionUID): Likewise.
5869 (AccessibleJScrollBar.serialVersionUID): Likewise.
5870 * javax/swing/JSeparator.java
5871 (serialVersionUID): Likewise.
5872 (AccessibleJSeparator.serialVersionUID): Likewise.
5873 * javax/swing/JSlider.java: Fixed javadocs.
5874 (AccessibleJSlider.serialVersionUID): New member variable.
5875 * javax/swing/JSplitPane.java: Added copyright statement.
5876 (serialVersionUID): New member variable.
5877 (AccessibleJSplitPane.serialVersionUID): Likewise.
5878 * javax/swing/JTabbedPane.java
5879 (serialVersionUID): Likewise.
5880 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5881 (ModelListener.serialVersionUID): Likewise.
5882 (ModelListener.ModelListener): New constructor.
5883 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5884 (WRAP_TAB_LAYOUT): Likewise.
5885 * javax/swing/JTable.java
5886 (serialVersionUID): New member variable.
5887 * javax/swing/JToggleButton.java
5888 (serialVersionUID): Likewise.
5889 (ToggleButtonModel): Made static.
5890 (ToggleButtonModel.serialVersionUID): New member variable.
5891 * javax/swing/JToolTip.java
5892 (serialVersionUID): Likewise.
5893 * javax/swing/JTree.java
5894 (serialVersionUID): Likewise.
5895 * javax/swing/JWindow.java
5896 (serialVersionUID): Likewise.
5897 * javax/swing/Timer.java
5898 (serialVersionUID): Likewise.
5899
59002004-06-06 Michael Koch <konqueror@gmx.de>
5901
5902 * javax/swing/SwingConstants.java
5903 (NEXT): New constant.
5904 (PREVIOUS): Likewise.
5905 * javax/swing/UIManager.java
5906 (LookAndFeel): Made public.
5907 (LookAndFeel.getClassName): Likewise.
5908 (LookAndFeel.getName): Likewise.
5909
59102004-06-02 Olga Rodimina <rodimina@redhat.com>
5911
5912 * javax/swing/JCheckBoxMenuItem.java:
5913 Removed CVS tags.
5914 * javax/swing/JMenu.java: Likewise.
5915 * javax/swing/JMenuBar.java: Likewise.
5916 * javax/swing/JMenuItem.java: Likewise.
5917 * javax/swing/JPopupMenu.java: Likewise.
5918 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5919 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5920 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5921 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5922 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5923 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5924 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5925
59262004-05-31 Olga Rodimina <rodimina@redhat.com>
5927
5928 * javax/swing/plaf/basic/BasicMenuUI.java:
5929 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5930 Call getPath() from super class instead.
5931
59322004-05-31 David Jee <djee@redhat.com>
5933
5934 * java/awt/Container.java
5935 (remove): Set component visibility to false after removing it.
5936
59372004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5938
5939 * java/awt/Component.java (getForeground): Return SystemColor if
5940 parent is null.
5941 (getBackground): Likewise.
5942
5943 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5944 (item_highlighted): New function.
5945 (connectSignals): Set item_highlighted as list's select
5946 function.
5947
5948 * java/applet/Applet.java: Revert changes from 2004-04-29,
5949 2004-03-15 and 2004-03-14.
5950
5951 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5952 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5953 factor.
5954
5955 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5956 "Dialog" as the default font.
5957 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5958 Likewise.
5959 * java/awt/Component.java (getFont): Return "Dialog" font by
5960 default.
5961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5962 Multiply size argument to pango_font_description_set_size by the
5963 DPI conversion factor rather than by PANGO_SCALE.
5964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5966 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5967 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5968 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5970 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5971 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5973 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5974 Divide baseline y coordinate by DPI conversion factor rather
5975 than by PANGO_SCALE.
5976 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5977 (area_prepared): Fix typo.
5978 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5979 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5980 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5981 (dpi_conversion_factor): New global variable.
5982 (init_dpi_conversion_factor): New function to calculate and
5983 track DPI conversion factor.
5984 (dpi_changed_cb): New callback.
5985 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5986
59872004-05-27 David Jee <djee@redhat.com>
5988
5989 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5990 (getGraphics): Return a new GdkGraphics instance.
5991 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5992 (getGraphics): Call super.getGraphics().
5993
59942004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5995
5996 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5997 (setNativeBounds): Clamp width and height values to >= 0.
5998
5999 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6000 (find_fg_color_widget): Handle GtkOptionMenu specially.
6001
6002 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6003 (pre_event_handler): Only post configure events to visible
6004 top-level windows.
6005
60062004-05-26 David Jee <djee@redhat.com>
6007
6008 * java/awt/BorderLayout.java
6009 (layoutContainer): Fix size calculations.
6010
60112004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
6012
6013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6014 (window_wm_protocols_filter): Remove function.
6015 (create): Remove filter that removes WM_TAKE_FOCUS client
6016 messages.
6017
794c3bee
AG
60182004-06-17 Anthony Green <green@redhat.com>
6019
1616280e
AG
6020 * java/util/zip/ZipFile.java (getInputStream): Return null if
6021 entry not found.
6022
794c3bee
AG
6023 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
6024 directory contents to the class path.
6025
d1238423
AH
60262004-06-15 Andrew Haley <aph@redhat.com>
6027
6028 * java/lang/natSystem.cc (getenv0): Don't assume environment
6029 variable is Latin 1 coded.
6030
f1c3e0a6
AJ
60312004-06-14 Andreas Jaeger <aj@suse.de>
6032
6033 * configure.in: Support --enable-version-specific-runtime-libs.
6034 * configure: Regenerated.
6035
84b1d821
BM
60362004-06-14 Bryce McKinlay <mckinlay@redhat.com>
6037
6038 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
6039 to pass ClassLoader argument.
6040 * java/util/GregorianCalendar.java: Likewise.
6041 * java/util/Currency.java: Likewise.
6042 * java/text/BreakIterator.java: Likewise.
6043 * java/text/Collator.java: Likewise.
6044 * java/text/DateFormat.java: Likewise.
6045 * java/text/DateFormatSymbols.java: Likewise.
6046 * java/text/DecimalFormatSymbols.java: Likewise.
6047 * java/text/NumberFormat.java: Likewise.
6048 * java/awt/Window.java: Likewise.
6049
df94fa14
AH
60502004-06-14 Andrew Haley <aph@redhat.com>
6051
6052 * java/lang/System.java: (getenv0): New method.
6053 (getenv): Add security check. Do the right thing.
6054 * java/lang/natSystem.cc (getenv0): New method.
6055
ff6ea709
MW
60562004-06-12 Mark Wielaard <mark@klomp.org>
6057
6058 * javax/swing/RepaintManager.java
6059 (paintDirtyRegions): Use entrySet(), not values().
6060
d1ee8381
MW
60612004-06-10 Mark Wielaard <mark@klomp.org>
6062
6063 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
6064 NoSuchMethodError.
6065
b092552d
JQ
60662004-06-11 Jerry Quinn <jlquinn@optonline.net>
6067
6068 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
6069 when we already know the answer.
6070 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6071 (setStartRule,setEndRule): Don't take abs of day number.
6072 (getOffset): Clarify docs. Add argument checks.
6073 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6074 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6075 endTimeMode.
6076
618df745
TT
60772004-06-10 Tom Tromey <tromey@redhat.com>
6078
6079 * interpret.cc (run): Handle wide fload.
6080
648b6075
JQ
60812004-06-06 Jerry Quinn <jlquinn@optonline.net>
6082
6083 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
6084
9fc3ed51
MK
60852004-06-05 Michael Koch <konqueror@gmx.de>
6086
6087 * javax/swing/SwingConstants.java
6088 (NEXT): New constant.
6089 (PREVIOUS): Likewise.
6090
c6dd0441
MK
60912004-06-05 Michael Koch <konqueror@gmx.de>
6092
6093 * javax/swing/UIManager.java
6094 (LookAndFeel): Made public.
6095 (LookAndFeel.getName): Likewise.
6096 (LookAndFeel.getClassName): Likewise.
6097
53ef271f
MK
60982004-06-03 Michael Koch <konqueror@gmx.de>
6099
6100 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6101 (requestFocus): Revert last changes.
6102 (gtkRequestFocus): Removed.
6103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6104 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6105 Renamed to ...
6106 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
6107 Reverted last patch.
6108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6109 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
6110 Reverted comment change.
6111
26f4ba86
OR
61122004-06-02 Olga Rodimina <rodimina@redhat.com>
6113
6114 * javax/swing/JCheckBoxMenuItem.java:
6115 Removed CVS tags.
6116 * javax/swing/JMenu.java: Likewise.
6117 * javax/swing/JMenuBar.java: Likewise.
6118 * javax/swing/JMenuItem.java: Likewise.
6119 * javax/swing/JPopupMenu.java: Likewise.
6120 * javax/swing/JRadioButtonMenuItem.java: Likewise.
6121 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
6122 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
6123 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6124 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
6125 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
6126 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
6127
c05e85e2
MK
61282004-06-01 Tom Tromey <tromey@redhat.com>
6129
6130 * java/io/ObjectStreamField.java: Cleaned up imports.
6131
61322004-06-01 Michael Koch <konqueror@gmx.de>
6133
6134 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
6135
61362004-06-01 Mark Wielaard <mark@klomp.org>
6137
6138 * java/io/Writer.java (Writer(Object)): Fixed API doc.
6139
6ef44cfd
MK
61402004-06-01 Michael Koch <konqueror@gmx.de>
6141
6142 * java/security/Security.java
6143 (insertProviderAt): Use equals() instead of ==.
6144 (removeProvicer): Likewise.
6145 (getProvider): Likewise.
6146 * java/security/Signature.java
6147 (sign): Don't set state to UNINITIALIZED.
6148 (verify): Likewise.
6149
1900c4c6
MW
61502004-06-01 Mark Wielaard <mark@klomp.org>
6151
6152 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
6153 Implement by calling gtkRequestFocus.
6154 (gtkRequestFocus): New native method.
6155 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6156 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
6157 Renamed to ...
6158 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
6159 New function name.
6160 (filter_expose_event_handler):
6161 Mark static.
6162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6163 (menu_pos): Mark static.
6164
57807c31
MK
61652004-06-01 Michael Koch <konqueror@gmx.de>
6166
6167 * java/text/CollationElementIterator.java,
6168 java/text/CollationKey.java,
6169 java/text/RuleBasedCollator.java: New versions from GNU classpath.
6170 * testsuite/libjava.mauve/xfails: Removed all
6171 java.text.CollationElementIterator tests.
6172
f7dbd56c
MK
61732004-06-01 Michael Koch <konqueror@gmx.de>
6174
6175 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
6176 version.
6177 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6178 Java 1.5 keyword usage.
6179
44a4b8db
OR
61802004-05-31 Olga Rodimina <rodimina@redhat.com>
6181
6182 * javax/swing/plaf/basic/BasicMenuUI.java:
6183 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6184 Call getPath() from super class instead.
6185
58128b9d
MK
61862004-05-31 Michael Koch <konqueror@gmx.de>
6187
6188 * java/io/SequenceInputStream.java:
6189 Rename enum to e because enum is a keyword in Java 1.5.
6190
771b9ca3
MK
61912004-05-31 Michael Koch <konqueror@gmx.de>
6192
6193 * gnu/java/rmi/rmic/CompilerProcess.java:
6194 Fixed javadoc to by XHTML compliant.
6195
7a70d70c
MW
61962004-05-30 Mark Wielaard <mark@klomp.org>
6197
6198 * java/awt/Toolkit.java (loadSystemColors): Implement.
6199
289f9db7
MK
62002004-05-30 Michael Koch <konqueror@gmx.de>
6201
071917b0
MK
6202 * java/lang/System.java: Reordered imports.
6203
62042004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6205
289f9db7
MK
6206 * java/text/DecimalFormat.java
6207 (parse): Fixed parsing of decimal strings. Number of maximum
6208 digits to be read should now work.
6209 * java/text/SimpleDateFormat.java
6210 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6211 formatter. This fixes DateFormatTest.
6212
1b2545bc
MK
62132004-05-30 Michael Koch <konqueror@gmx.de>
6214
6215 * java/nio/Buffer.java
6216 (limit): Fixed off by one error.
6217 * java/nio/CharBuffer.java
6218 (wrap): Fixed arguments, added javadocs.
6219
74c2dbf7
MK
62202004-05-30 Michael Koch <konqueror@gmx.de>
6221
6222 * gnu/java/beans/BeanInfoEmbryo.java,
6223 java/awt/im/InputContext.java,
6224 javax/swing/tree/DefaultMutableTreeNode.java:
6225 Rename enum to e because enum is a keyword in Java 1.5.
6226
27d14326
MK
62272004-05-30 Michael Koch <konqueror@gmx.de>
6228
6229 * gnu/java/math/MPN.java,
6230 java/awt/geom/Arc2D.java:
6231 Fixed javadocs all over.
6232
933592af
MK
62332004-05-30 Michael Koch <konqueror@gmx.de>
6234
6235 * java/awt/DefaultKeyboardFocusManager.java
6236 (dispatchEvent): Call method to get key event dispatchers.
6237 (dispatchKeyEvent): Call method to get key event post processors.
6238 * javax/swing/JComponent.java
6239 (listenerList): Made protected.
6240 * javax/swing/JOptionPane.java
6241 (message): Don't initialize.
6242 (JOptionPane): Set message text.
6243 * javax/swing/JPopupMenu.java
6244 (show): Fixed typo in argument name.
6245 * javax/swing/RepaintManager.java
6246 (paintDirtyRegions): Use public API of java.util.Map.
6247 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6248 (positionForMouseEvent): Removed redundant ';'.
6249 (continueDrag): Use method arguments.
6250
5ba95354
RM
62512004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6252
6253 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6254 results.
6255
ca60dce2
BM
62562004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6257
6258 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6259 _Jv_AllocBytes.
6260 * gnu/gcj/RawDataManaged.java: New file.
6261 * java/lang/Thread.java (data): Declare as RawDataManaged.
6262 * java/lang/natThread.cc (init_native): Cast natThread data to
6263 RawDataManaged, not jobject.
6264 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6265 * Makefile.in: Rebuilt.
6266
b9f065be
JQ
62672004-05-27 Jerry Quinn <jlquinn@optonline.net>
6268
6269 * java/util/SimpleTimeZone.java: Reverting my last change until I
6270 can fix it properly.
6271
a4171ce1
MK
62722004-05-27 Michael Koch <konqueror@gmx.de>
6273
6274 * javax/swing/JPopupMenu.java
6275 (isVisible): Do not use visible directly.
6276 (setVisible): Likewise.
6277 * javax/swing/JWindow.java
6278 (JWindow): call accessible constructor.
6279 * javax/swing/RepaintManager.java
6280 (paintDirtyRegions): Use public methods to obtain iterator.
6281
c5d2de6b
GH
62822004-05-25 David Jee <djee@redhat.com>
6283
6284 * java/awt/Container.java
6285 (remove): Set component's parent to null only after we removed the
6286 component from its parent's layout manager.
6287
62882004-05-25 David Jee <djee@redhat.com>
6289
6290 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6291 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6292 is valid.
6293 * gnu/java/awt/peer/gtk/GtkListPeer.java
6294 (getSize): Change native method declaration.
6295 (minimumSize): Pass visible row count into getSize().
6296 (preferredSize): Likewise.
6297 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6298 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6299 natural size. Use visible row count to determine the final height
6300 value to return.
6301
63022004-05-21 Graydon Hoare <graydon@redhat.com>
6303
6304 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6305 (setClip): Minor correction to order of operations.
6306
6307 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6308 * javax/swing/ScrollPaneLayout.java: Likewise.
6309 * javax/swing/JViewPort.java: Likewise.
6310 * javax/swing/ViewportLayout.java: Likewise.
6311
6312 * javax/swing/JComponent.java: Rewrite.
6313 * javax/swing/RepaintManager.java: Likewise.
6314
6315 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6316 * javax/swing/JList.java
6317 (setSelectedIndices):
6318 (getSelectedIndices):
6319 (getSelectedValues): New functions.
6320 (getPreferredScrollableViewportSize): Return preferred size.
6321 (getScrollableUnitIncrement):
6322 (getScrollableBlockIncrement): Initial implementations.
6323 * javax/swing/JRootPane.java: Clean up slightly.
6324 (getUI):
6325 (setUI):
6326 (updateUI):
6327 (getUIClassID):
6328 (isValidateRoot): Add overrides from JComponent.
6329 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6330 * javax/swing/UIManager.java (getDimension): Return the dimension.
6331
6332 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6333 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6334 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6335 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6336 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6337 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6338 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6339 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6340 Likewise, and set background.
6341 * javax/swing/plaf/basic/BasicListUI.java:
6342 Likewise, and improve a bit.
6343 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6344 Likewise, and adjust calculations.
6345 * javax/swing/plaf/basic/BasicViewportUI.java:
6346 Likewise, and improve a bit.
6347 * javax/swing/plaf/basic/BasicLookAndFeel.java
6348 (Button.margin): Shrink.
6349
6350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6351 Hack to set horizontal always, workaround pango.
6352
6353 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6355 Synchronize more often, check cairo status after ops,
6356 handle changes to cairo pattern API, check for disposal.
6357
63582004-05-21 Olga Rodimina <rodimina@redhat.com>
6359
6360 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6361 (BasicMenuItemUI): Create propertyChangeListener.
6362 (getPath):Implemented.
6363 (installListeners): Add propertyChangeListener to menuItem.
6364 (uninstallListeners): Remove propertyChangeListener from menuItem.
6365 (update): Implemented.
6366 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6367 (mouseEntered): Take insets of popup menu into account when
6368 calculating position of popup menu.
6369
63702004-05-18 Olga Rodimina <rodimina@redhat.com>
6371
6372 * Makefile.am: Added new file.
6373 * Makefile.in: Regenerate.
6374 * javax/swing/JMenuBar.java:
6375 Started implementation.
6376 * javax/swing/JPopupMenu.java:
6377 (setVisible): Fixed location of lightweight/mediumweight
6378 popup menu.
6379 (show): Fixed location of PopupMenu.
6380 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6381 New file. UI Delegate for JMenuBar.
6382 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6383 (mouseEntered): Corrected position of the submenu.
6384
63852004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6386
6387 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6388 to _gtk_accel_group_attach.
6389 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6390 Likewise.
6391
6392 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6393 package access. Don't override setFont.
6394 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6395 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6396 gtkWidgetRequestFocus package access.
6397 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6398 setFont.
6399 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6400 Give gtkWidgetRequestFocus package access.
6401 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6402 gtkWidgetRequestFocus package access. Don't override setFont.
6403 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6404 setFont.
6405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6406 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6407 region.
6408 (gtkSetFont): Likewise.
6409 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6410 Implement.
6411 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6412 (gtkSetFont): Whitespace fix.
6413
6414 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6415 (gtkWidgetSetUsize): Remove method.
6416
64172004-05-18 David Jee <djee@redhat.com>
6418
6419 * java/awt/image/MemoryImageSource.java
6420 (newPixels(int,int,int,int,boolean)): Set only the specified
6421 rectangle of pixels.
6422 (newPixels(byte[],ColorModel,int,int)): Implement.
6423 (newPixels(int[],ColorModel,int,int)): Implement.
6424
64252004-05-18 Olga Rodimina <rodimina@redhat.com>
6426
6427 * Makefile.am: Added new file.
6428 * Makefile.in: Regenerate.
6429 * javax/swing/JMenu.java: Started
6430 implementation.
6431 * javax/swing/JPopupMenu.java:
6432 (insert): If specified index is -1, then
6433 add component at the end.
6434 (isPopupTrigger): Reimplemented.
6435 (JPopupMenu.LightWeightPopup): setBounds
6436 of the lightWeightPopup before adding it
6437 to the layeredPane.
6438 (javax/swing/plaf/basic/BasicIconFactory.java):
6439 (getMenuArrowIcon): Implemented.
6440 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6441 (getPreferredSize): Add size of the arrow icon
6442 if this menu item is instance of JMenu.
6443 (paintMenuItem): Paint arrow icon if this
6444 menu item is a submenu.
6445 * javax/swing/plaf/basic/BasicMenuUI.java:
6446 New File. UI Delegate for JMenu.
6447
64482004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6449
6450 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6451 Post KEY_TYPED events.
6452 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6453 (generates_key_typed_event): Remove function.
6454
64552004-05-17 Olga Rodimina <rodimina@redhat.com>
6456
6457 * javax/swing/JRootPane.java
6458 (JRootPane.RootLayout): Reimplemented to
6459 set bounds of contentPane and menuBar.
6460 (setJMenuBar): Add menu bar to the layered pane.
6461 (createLayeredPane): Set layout of layeredPane
6462 to null.
6463 * javax/swing/JLayeredPane.java:
6464 (addImpl): Calculate index of the component in the
6465 layeredPane according to the specified position within
6466 the layer.
6467
64682004-05-17 David Jee <djee@redhat.com>
6469
6470 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6471 (setPixels): Change color model to the default model after
6472 converting pixels.
6473 * java/awt/image/MemoryImageSource.java
6474 (newPixels): Set only the specified rectangle of pixels.
6475
64762004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6477
6478 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6479 -l-java-beans -l-javax-accessibility -l-javax-swing.
6480
6481 * java/awt/AWTEvent.java (toString): Print source's name rather
6482 than the source itself.
6483
64842004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6485
6486 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6487 native.
6488 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6489 (gdk_color_to_java_color): New function.
6490 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6491
64922004-05-12 David Jee <djee@redhat.com>
6493
6494 * java/awt/image/RGBImageFilter.java:
6495 Initialize origmodel as null.
6496 (makeColor): Fix pixel component order.
6497 (filterRGBPixels): Fix pixel iteration.
6498 (setPixels): Add extra checks for index color model. Convert pixels
6499 to default color model if necessary.
6500 (convertColorModelToDefault): New override method for byte pixels.
6501 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6502 (makeColorbyDefaultCM): New override method for byte pixels.
6503 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6504 (makeColor): Fix pixel component order.
6505
65062004-05-11 Kim Ho <kho@redhat.com>
6507
6508 * javax/swing/Box.java:
6509 Comment out more parts of Box.Filler.
6510
65112004-05-11 Kim Ho <kho@redhat.com>
6512
6513 * javax/swing/Box.java:
6514 Remove reference to AccessibleAWTComponent so
6515 it compiles again.
6516
65172004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6518
6519 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6520 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6521 implementation of list peer to use GtkTreeView instead of
6522 deprecated GtkCList.
6523
65242004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6525
6526 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6527 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6528 (handleEvent): Remove keyChar argument to
6529 gtkWidgetDispatchKeyEvent calls.
6530 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6531 compiler warnings.
6532 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6534 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6535 Likewise.
6536
65372004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6538
6539 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6540 (gtkWidgetRequestFocus): Mark protected.
6541 (GtkComponentPeer): Only set the peer's bounds if its component
6542 is valid.
6543 * java/awt/Component.java (static): Set the default keyboard
6544 focus manager.
6545 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6546 requestFocusInWindow(temporary)): Don't request focus if the
6547 component is not showing. Get tree lock before traversing
6548 component hierarchy.
6549 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6550 Only set the global focus owner if it is not a Window.
6551 (processKeyEvent): Consume keystrokes associated with the focus
6552 traversal keystroke.
6553 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6554 downFocusCycle): Call requestFocusInWindow instead of
6555 requestFocus.
6556 * java/awt/EventDispatchThread.java (run): Move setting of
6557 default keyboard focus manager to Component.java.
6558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6559 (awt_keycode_to_keysym): New function.
6560 (gtkWidgetDispatchKeyEvent): Finish implementation.
6561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6562 (pre_event_handler): Add FIXME comment.
6563
6564 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6565 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6566 (gtkWidgetRequestFocus): New method.
6567 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6568 disable Tab and Shift-Tab keystrokes.
6569 (addNotify, appendText, insertText, replaceText): Simplify peer
6570 retrieval code.
6571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6572 (connectSignals): Remove connections to "commit" signals.
6573 Remove C++-style comments.
6574
6575 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6576 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6577 (handleEvent): Activate GTK button when the space bar key is
6578 pressed.
6579 (gtkActivate): New method.
6580
65812004-05-06 David Jee <djee@redhat.com>
6582
6583 * java/awt/image/CropImageFilter.java
6584 (setPixels): Implement for byte array pixels.
6585 * java/awt/image/ReplicateScaleFilter.java
6586 (setPixels): Implement for byte array pixels.
6587 (replicatePixels): Overload for byte array pixels.
6588
65892004-05-06 Kim Ho <kho@redhat.com>
6590
6591 * javax/swing/Box.java:
6592 (getAccessibleContext): Return an instance of the
6593 correct class.
6594
65952004-05-05 David Jee <djee@redhat.com>
6596
6597 * gnu/java/awt/peer/gtk/GdkGraphics.java
6598 (drawImage): When component is null, use SystemColor.window as
6599 the default bgcolor.
6600 * gnu/java/awt/peer/gtk/GtkImage.java
6601 (setPixels): We can avoid iterating through the pixel rows only
6602 when height is 1.
6603 * java/awt/Image.java
6604 (getScaledInstance): Partially implement.
6605 * java/awt/image/CropImageFilter.java
6606 (setProperties): Fix "filter" property.
6607 (setPixels): Implement.
6608 * java/awt/image/ReplicateScaleFilter.java
6609 (setDimensions): Use scaled dimensions.
6610 (setPixels): Implement.
6611 (replicatePixels): New method.
6612
66132004-05-05 David Jee <djee@redhat.com>
6614
6615 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6616 (convertPixels): If either pixels or model is null, return null.
6617 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6618 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6619 is null, do nothing and return.
6620
66212004-05-03 Kim Ho <kho@redhat.com>
6622
6623 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6624 (getGraphics): Like GtkFramePeer, the Graphics
6625 object needs to be translate to account for
6626 window decorations.
6627 (postMouseEvent): New method. Account for
6628 translation.
6629 (postExposeEvent): ditto.
6630 * javax/swing/Box.java: Stubbed.
6631 * javax/swing/JDialog.java: Ran through jalopy
6632 to fix indentation.
6633 (JDialog): Call SwingUtilities' getOwnerFrame
6634 for null owners.
6635 (setLayout): Check isRootPaneCheckingEnabled
6636 * javax/swing/JOptionPane.java: Re-implemented.
6637 * javax/swing/SwingUtilities.java:
6638 (getOwnerFrame): Static method to grab a default
6639 owner frame for Dialogs that don't specify owners.
6640 * javax/swing/event/SwingPropertyChangeSupport.java:
6641 (firePropertyChange): Fix early exit condition.
6642 * javax/swing/plaf/basic/BasicLabelUI.java:
6643 (paint): Avoid painting text if it is null
6644 or empty.
6645 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6646 Implement.
6647
66482004-05-03 Olga Rodimina <rodimina@redhat.com>
6649
6650 * Makefile.am: Added new file.
6651 * Makefile.in: Regenerate.
6652 * javax/swing/JPopupMenu.java:
6653 Started implementation.
6654 * javax/swing/JWindow.java
6655 (JWindow): call super() if parent for window
6656 is not specified.
6657 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6658 New File. UI Delegate for JPopupMenu.
6659
66602004-04-30 Olga Rodimina <rodimina@redhat.com>
6661
6662 * javax/swing/JApplet.java: Indicated that JApplet
6663 implements RootPaneContainer and made method of this
6664 interface public.
6665 * javax/swing/JFrame.java: Ditto.
6666 * javax/swing/JWindow.java: Ditto.
6667
66682004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6669
6670 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6671 (nativeSetBounds): Call gdk_window_move in addition to
6672 gtk_window_move.
6673
6674 * java/applet/Applet.java (preferredSize): Call parent's
6675 preferredSize if the applet stub is null.
6676 (minimumSize): Likewise for parent's minimumSize.
6677
66782004-04-27 Olga Rodimina <rodimina@redhat.com>
6679
6680 * javax/swing/JMenuItem.java
6681 (createActionPropertyChangeListener): Implemented.
6682 (processMouseEvent): Ditto.
6683 (fireMenuDragMouseEntered): Ditto.
6684 (fireMenuDragMouseExited): Ditto.
6685 (fireMenuDragMouseDragged): Ditto.
6686 (fireMenuDragMouseReleased): Ditto.
6687 (menuSelectionChanged): Ditto.
6688 (getSubElements): Ditto.
6689 (getComponent): Ditto.
6690 (addMenuDragMouseListener): Ditto.
6691 (removeMenuDragMouseListener):Ditto.
6692 (addMenuKeyListener): Ditto.
6693 (removeMenuKeyListener): Ditto.
6694 * javax/swing/plaf/basic/BasicMenuItemUI.java
6695 (doClick): Imlemented.
6696 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6697 Don't handle mouse events here. Pass them to
6698 MenuSelectionManager.
6699
67002004-04-26 Olga Rodimina <rodimina@redhat.com>
6701 Used correct version of jalopy configuration
6702 file to fix style in the files below.
6703
67042004-04-26 Olga Rodimina <rodimina@redhat.com>
6705
6706 * javax/swing/JCheckBoxMenuItem.java:
6707 Fixed style and removed unnecessary comments.
6708 * javax/swing/JMenuItem.java: Ditto.
6709 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6710 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6711 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6712 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6713
67142004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6715
6716 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6717 C-style.
6718
6719 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6720
6721 * java/awt/ContainerOrderFocusTraversalPolicy.java
6722 (getComponentAfter): Start from current component and work up
6723 the component hierarchy until an acceptable component is found.
6724 Synchronize on tree lock.
6725 (getComponentBefore): Likewise.
6726
67272004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6728
6729 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6730 focus-related debugging messages.
6731 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6732 * java/awt/EventDispatchThread.java: Likewise.
6733 * java/awt/KeyboardFocusManager.java: Likewise.
6734 * java/awt/Window.java: Likewise.
6735 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6736 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6737
6738 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6739 new C++-style comments to C-style comments.
6740 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6741
6742 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6743 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6744 (handleEvent): Dispatch key press and key release events to
6745 backing widget.
6746 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6747 (gtkWidgetRequestFocus): New method.
6748 (gtkWidgetDispatchKeyEvent): Likewise.
6749 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6750 requestFocusInWindow, requestFocusInWindow(boolean),
6751 getFocusCycleRootAncestor, nextFocus, transferFocus,
6752 transferFocusBackward, transferFocusUpCycle, hasFocus,
6753 isFocusOwner): Implement and document focus-handling methods.
6754 (setFocusTraversalKeys): Inherit focus traversal keys when
6755 keystrokes argument is null. Fix focus-handling documentation
6756 throughout class.
6757 * java/awt/Container.java (setFocusTraversalKeys,
6758 getFocusTraversalKeys, areFocusTraversalKeysSet,
6759 isFocusCycleRoot, setFocusTraversalPolicy,
6760 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6761 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6762 Implement and document focus-handling methods.
6763 (transferFocusBackward): Remove method.
6764 (readObject, writeObject): Implement and document serialization
6765 methods.
6766 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6767 and document.
6768 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6769 document.
6770 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6771 partially document.
6772 * java/awt/EventDispatchThread.java (run): Set default keyboard
6773 focus manager. Attempt to dispatch each event to the keyboard
6774 focus manager before normal dispatch.
6775 * java/awt/KeyboardFocusManager.java: Implement and partially
6776 document.
6777 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6778 (show): Focus initial component when window is shown for the
6779 first time.
6780 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6781 (pre_event_handler): Replace complex key press and key release
6782 logic with simple callbacks into GtkComponentPeer.
6783 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6784
67852004-04-21 Olga Rodimina <rodimina@redhat.com>
6786
6787 * javax/swing/MenuSelectionManager.java
6788 (componentForPoint): Added new method.
6789 (defaultManager): New Method. Implemented.
6790 (getSelectedPath): Ditto.
6791 (isComponentPartOfCurrentMenu): Ditto.
6792 (processKeyEvent): Added new method.
6793 (processMouseEvent): New Method. Implemented.
6794 (setSelectedPath): Ditto.
6795 (getPath): Ditto.
6796
67972004-04-19 Kim Ho <kho@redhat.com>
6798
6799 * java/awt/Container.java:
6800 (remove): Set the component's parent to null.
6801 (getComponentAt): Implement.
6802 * javax/swing/JComponent.java:
6803 (JComponent): Initialize defaultLocale
6804 (getDefaultLocale): Implement.
6805 (setDefaultLocale): ditto.
6806 * javax/swing/JSlider.java:
6807 (JSlider): Fix calculation of value.
6808 * javax/swing/JSplitPane.java: Implement.
6809 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6810 Change SplitPane's default divider size.
6811 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6812 (paint): Remove unused code.
6813 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6814 Added comments and ran through jalopy.
6815 (setBasicSplitPaneUI): Get reference to hidden divider
6816 and set up one touch buttons if necessary.
6817 (setBorder): Fire propertyChangeEvent only if
6818 borders are different.
6819 (getPreferredSize): Defer to layout manager.
6820 (propertyChange): Implement.
6821 (oneTouchExpandableChanged): ditto.
6822 (createLeftOneTouchButton): Use BasicArrowButton.
6823 (createRightOneTouchButton): ditto.
6824 (moveDividerTo): New method. Moves the divider
6825 to a set location based on the last divider location.
6826 (BasicSplitPaneDivider::MouseHandler): Implement.
6827 (BasicSplitPaneDivider::OneTouchButton): Removed.
6828 (BasicSplitPaneDivider::DragController): Implement.
6829 (BasicSplitPaneDivider::VerticalDragController):
6830 ditto.
6831 (BasicSplitPaneDivider::DividerLayout): ditto.
6832 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6833 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6834 (calculateLayoutInfo): Don't show component if it's
6835 null.
6836 (paintTab): Fix title paint logic.
6837
2140214f
JQ
68382004-05-26 Jerry Quinn <jlquinn@optonline.net>
6839
6840 PR libgcj/8321
6841 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6842 (setStartRule,setEndRule): Don't take abs of day number.
6843 (getOffset): Clarify docs. Add argument checks.
6844 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6845 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6846 endTimeMode.
6847 * testsuite/libjava.mauve/xfails
6848 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6849
17abdabc
BM
68502004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6851
6852 Layout interfaces during preparation, not initialization.
6853 * java/lang/natClass.cc (initializeClass): Move
6854 _Jv_LayoutInterfaceMethods call...
6855 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6856
0fa13661
AG
68572004-05-19 Anthony Green <green@localhost.localdomain>
6858
6859 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6860 gnu.javax.rmi code.
6861 * Makefile.in: Rebuilt.
6862 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6863 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6864 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6865 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6866 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6867 gnu/javax/rmi/CORBA/DelegateFactory.java,
6868 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6869 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6870 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6871 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6872 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6873 gnu/javax/rmi/PortableServer.java: Remove files.
6874
0f22079e
AG
68752004-05-19 Anthony Green <green@redhat.com>
6876
6877 * Makefile.am: Define JAVA_EXT_DIRS.
6878 * Makefile.in: Rebuilt.
6879 * java/lang/natRuntime.cc (insertSystemProperties): Set
6880 java.ext.dirs property.
6881
9152dcf4
MW
68822004-05-16 Mark Wielaard <mark@klomp.org>
6883
6884 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6885
fb0e7ec0
MW
68862004-05-15 Mark Wielaard <mark@klomp.org>
6887
6888 * doc/cni.sgml: Removed, merged into gcj.texi.
6889
85ff6f62
MW
68902004-05-15 Mark Wielaard <mark@klomp.org>
6891
6892 * Makefile.am (ordinary_java_source_files): Add new javax.print
6893 classes.
6894 * Makefile.in: Regenerated.
6895
68962004-05-15 Michael Koch <konqueror@gmx.de>
6897
6898 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6899 javax/print/attribute/standard/DateTimeAtCreation.java,
6900 javax/print/attribute/standard/DateTimeAtProcessing.java,
6901 javax/print/attribute/standard/DocumentName.java,
6902 javax/print/attribute/standard/JobHoldUntil.java,
6903 javax/print/attribute/standard/JobImpressionsCompleted.java,
6904 javax/print/attribute/standard/JobMessageFromOperator.java,
6905 javax/print/attribute/standard/JobName.java,
6906 javax/print/attribute/standard/JobOriginatingUserName.java,
6907 javax/print/attribute/standard/JobPriority.java,
6908 javax/print/attribute/standard/JobPrioritySupported.java,
6909 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6910 javax/print/attribute/standard/OutputDeviceAssigned.java,
6911 javax/print/attribute/standard/PrinterInfo.java,
6912 javax/print/attribute/standard/PrinterLocation.java,
6913 javax/print/attribute/standard/PrinterMakeAndModel.java,
6914 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6915 javax/print/attribute/standard/PrinterName.java,
6916 javax/print/attribute/standard/QueuedJobCount.java,
6917 javax/print/attribute/standard/RequestingUserName.java:
6918 Fixed javadocs all over.
6919
69202004-05-15 Michael Koch <konqueror@gmx.de>
6921
6922 * javax/print/DocFlavor.java,
6923 javax/print/attribute/standard/ColorSupported.java,
6924 javax/print/attribute/standard/Compression.java,
6925 javax/print/attribute/standard/CopiesSupported.java,
6926 javax/print/attribute/standard/Fidelity.java,
6927 javax/print/attribute/standard/Finishings.java,
6928 javax/print/attribute/standard/JobImpressionsSupported.java,
6929 javax/print/attribute/standard/JobKOctetsSupported.java,
6930 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6931 javax/print/attribute/standard/JobSheets.java,
6932 javax/print/attribute/standard/JobState.java,
6933 javax/print/attribute/standard/JobStateReason.java,
6934 javax/print/attribute/standard/JobStateReasons.java,
6935 javax/print/attribute/standard/Media.java,
6936 javax/print/attribute/standard/MediaSizeName.java,
6937 javax/print/attribute/standard/MultipleDocumentHandling.java,
6938 javax/print/attribute/standard/NumberUpSupported.java,
6939 javax/print/attribute/standard/OrientationRequested.java,
6940 javax/print/attribute/standard/PDLOverrideSupported.java,
6941 javax/print/attribute/standard/PageRanges.java,
6942 javax/print/attribute/standard/PresentationDirection.java,
6943 javax/print/attribute/standard/PrintQuality.java,
6944 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6945 javax/print/attribute/standard/PrinterMoreInfo.java,
6946 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6947 javax/print/attribute/standard/PrinterResolution.java,
6948 javax/print/attribute/standard/PrinterState.java,
6949 javax/print/attribute/standard/PrinterStateReason.java,
6950 javax/print/attribute/standard/PrinterStateReasons.java,
6951 javax/print/attribute/standard/PrinterURI.java,
6952 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6953 javax/print/attribute/standard/Severity.java,
6954 javax/print/attribute/standard/SheetCollate.java,
6955 javax/print/attribute/standard/Sides.java:
6956 Added serialVersionUID and removed final keyword where it doenst
6957 belong.
6958
69592004-05-15 Michael Koch <konqueror@gmx.de>
6960
6961 * javax/print/PrintServiceLookup.java: New file.
6962
69632004-05-15 Michael Koch <konqueror@gmx.de>
6964
6965 * javax/print/DocFlavor.java:
6966 Implemented all flavor classes.
6967
69682004-05-15 Michael Koch <konqueror@gmx.de>
6969
6970 * javax/print/attribute/standard/ColorSupported.java,
6971 javax/print/attribute/standard/Compression.java,
6972 javax/print/attribute/standard/CopiesSupported.java,
6973 javax/print/attribute/standard/Fidelity.java,
6974 javax/print/attribute/standard/Finishings.java,
6975 javax/print/attribute/standard/JobImpressionsSupported.java,
6976 javax/print/attribute/standard/JobKOctetsSupported.java,
6977 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6978 javax/print/attribute/standard/JobSheets.java,
6979 javax/print/attribute/standard/JobState.java,
6980 javax/print/attribute/standard/JobStateReason.java,
6981 javax/print/attribute/standard/JobStateReasons.java,
6982 javax/print/attribute/standard/Media.java,
6983 javax/print/attribute/standard/MediaSizeName.java,
6984 javax/print/attribute/standard/MultipleDocumentHandling.java,
6985 javax/print/attribute/standard/NumberUpSupported.java,
6986 javax/print/attribute/standard/OrientationRequested.java,
6987 javax/print/attribute/standard/PDLOverrideSupported.java,
6988 javax/print/attribute/standard/PageRanges.java,
6989 javax/print/attribute/standard/PresentationDirection.java,
6990 javax/print/attribute/standard/PrintQuality.java,
6991 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6992 javax/print/attribute/standard/PrinterMoreInfo.java,
6993 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6994 javax/print/attribute/standard/PrinterResolution.java,
6995 javax/print/attribute/standard/PrinterState.java,
6996 javax/print/attribute/standard/PrinterStateReason.java,
6997 javax/print/attribute/standard/PrinterStateReasons.java,
6998 javax/print/attribute/standard/PrinterURI.java,
6999 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
7000 javax/print/attribute/standard/Severity.java,
7001 javax/print/attribute/standard/SheetCollate.java,
7002 javax/print/attribute/standard/Sides.java: New files.
7003
70042004-05-15 Michael Koch <konqueror@gmx.de>
7005
7006 * javax/print/Doc.java
7007 (getPrintData): Throws IOException.
7008 (getReaderForText): Likewise.
7009 (getStreamForBytes): Likewise.
7010 * javax/print/DocFlavor.java:
7011 Fixed filename in copyright.
7012 (serialVersionUID): New field.
7013 * javax/print/ServiceUIFactory.java:
7014 Made all constants final.
7015 * javax/print/AttributeException.java
7016 javax/print/MultiDoc.java
7017 javax/print/MultiDocPrintJob.java
7018 javax/print/MultiDocPrintService.java
7019 javax/print/StreamPrintService.java
7020 javax/print/URIException.java: New files.
7021 * javax/print/Makefile.am
7022 (EXTRA_DIST): Added all new files.
7023
70242004-05-15 Michael Koch <konqueror@gmx.de>
7025
7026 * javax/print/attribute/standard/Copies.java,
7027 javax/print/attribute/standard/DateTimeAtCompleted.java,
7028 javax/print/attribute/standard/DateTimeAtCreation.java,
7029 javax/print/attribute/standard/DateTimeAtProcessing.java,
7030 javax/print/attribute/standard/DocumentName.java,
7031 javax/print/attribute/standard/JobHoldUntil.java,
7032 javax/print/attribute/standard/JobImpressions.java,
7033 javax/print/attribute/standard/JobImpressionsCompleted.java,
7034 javax/print/attribute/standard/JobKOctets.java,
7035 javax/print/attribute/standard/JobKOctetsProcessed.java,
7036 javax/print/attribute/standard/JobMediaSheets.java,
7037 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
7038 javax/print/attribute/standard/JobMessageFromOperator.java,
7039 javax/print/attribute/standard/JobName.java,
7040 javax/print/attribute/standard/JobOriginatingUserName.java,
7041 javax/print/attribute/standard/JobPriority.java,
7042 javax/print/attribute/standard/JobPrioritySupported.java,
7043 javax/print/attribute/standard/NumberOfDocuments.java,
7044 javax/print/attribute/standard/NumberOfInterveningJobs.java,
7045 javax/print/attribute/standard/NumberUp.java,
7046 javax/print/attribute/standard/OutputDeviceAssigned.java,
7047 javax/print/attribute/standard/PagesPerMinute.java,
7048 javax/print/attribute/standard/PagesPerMinuteColor.java:
7049 Fixed @return tag all over.
7050
70512004-05-15 Michael Koch <konqueror@gmx.de>
7052
7053 * javax/print/attribute/AttributeSetUtilities.java
7054 (verifyCategoryForValue): Fixed typo in javadoc.
7055 * javax/print/attribute/HashAttributeSet.java
7056 (containsKey): Fixed @return tag.
7057 (comtainsValue): Likewise.
7058 (equals): Likewise.
7059 * javax/print/attribute/IntegerSyntax.java
7060 (equals): Likewise.
7061 * javax/print/attribute/ResolutionSyntax.java
7062 (equals): Likewise.
7063 (getCrossFeedResolution): Removed unused code.
7064 (getFeedResolution): Likewise.
7065 * javax/print/attribute/SetOfIntegerSyntax.java
7066 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7067 (equals): Fixed @return tag.
7068 * javax/print/attribute/TextSyntax.java
7069 (TextSyntax): Take locale into account.
7070 (hashCode): Better implementation.
7071
70722004-05-15 Michael Koch <konqueror@gmx.de>
7073
7074 * javax/print/CancelablePrintJob.java,
7075 javax/print/Doc.java,
7076 javax/print/DocFlavor.java,
7077 javax/print/DocPrintJob.java,
7078 javax/print/FlavorException.java,
7079 javax/print/PrintException.java,
7080 javax/print/PrintService.java,
7081 javax/print/ServiceUIFactory.java: New files.
7082
f437e359
MW
70832004-05-15 Mark Wielaard <mark@klomp.org>
7084
7085 * gnu/regexp/CharIndexedReader.java: Removed.
7086 * gnu/regexp/REFilterReader.java: Likewise.
7087 * gnu/regexp/RETokenLookAhead.java: Likewise.
7088 * Makefile.am (ordinary_java_source_files): Remove above classes.
7089 * Makefile.in: Regenerated.
7090
ae0d0d59
TT
70912004-05-14 Tom Tromey <tromey@redhat.com>
7092
7093 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
7094 not `XGraphicsConfiguration.XOffScreenImage'.
7095
1cd29ad2
SG
70962004-05-14 Scott Gilbertson <scottg@mantatest.com>
7097
7098 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
7099
a01a235c
SA
71002004-05-14 Steven Augart <augart@watson.ibm.com>
7101
7102 * include/jni.h (_Jv_func): Removed.
7103 (struct JNINativeInterface): Use `void *' for reserved slots.
7104 (struct JNIInvokeInterface): Likewise.
7105
8f0b9daa
MK
71062004-05-11 Michael Koch <konqueror@gmx.de>
7107
7108 * gnu/java/net/natPlainSocketImplPosix.cc
7109 (read): Fixed typo in expression.
7110
3f68457e
AT
71112004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
7112
7113 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
7114 ld_library_additions. Adjust all calls to libjava_invoke to match
7115 the new argument.
7116
7117 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
7118 path to cxxflagslist.
7119 Pass path of libstdc++ to libjava_invoke.
7120
7121 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
7122 libjava_invoke arguments.
7123
731d47a6
RM
71242004-05-10 Ranjit Mathew <rmathew@hotmail.com>
7125
7126 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
7127 reality.
7128
8e31e128
RM
71292004-05-07 Ranjit Mathew <rmathew@gmail.com>
7130
7131 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
7132 main binary against the JNI shared library.
7133
61af3d86
JQ
71342004-05-07 Jerry Quinn <jlquinn@optonline.net>
7135
7136 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
7137 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
7138 (SimpleTimeZone): Tweak docs. Add new variation.
7139 (setStartRule,setEndRule): Add new variations. Use
7140 startTimeMode and endTimeMode.
7141
71422004-05-07 Jerry Quinn <jlquinn@optonline.net>
7143
7144 * java/util/Calendar.java (getActualMinimum,
7145 getActualMaximum): Remove abstract. Implement.
7146
579f9640
BM
71472004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7148
7149 Run the jni tests using the interpreter.
7150 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
7151 options_cxx to shared lib compile command.
7152 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
7153 they are used to link the shared lib, not the main binary.
7154 Use libjava_invoke to run gij.
7155
0a215a11
MK
71562004-05-06 Michael Koch <konqueror@gmx.de>
7157
7158 * java/util/logging/Level.java
7159 (parse): Use == instead of String.equals().
7160
e51f7aeb
BM
71612004-05-06 Bryce McKinlay <mckinlay@redhat.com>
7162
7163 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
7164 verify_field_signature and verify_method_signature, not
7165 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
7166 (_Jv_ClassReader::handleField): Likewise.
7167 (_Jv_ClassReader::handleMethod): Likewise.
7168
c8395524
MK
71692004-05-06 Michael Koch <konqueror@gmx.de>
7170
7171 * javax/swing/table/TableColumn.java:
7172 Reformated.
7173
c8b86f1a
MK
71742004-05-06 Michael Koch <konqueror@gmx.de>
7175
7176 * javax/imageio/spi/ImageReaderWriterSpi.java
7177 (ImageReaderWriterSpi): Made it public.
7178 * javax/imageio/stream/ImageInputStream.java:
7179 Clean up imports.
7180
9f2eefb7
MK
71812004-05-06 Michael Koch <konqueror@gmx.de>
7182
7183 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7184 Removed empty line.
7185
45505d4d
MK
71862004-05-06 Michael Koch <konqueror@gmx.de>
7187
7188 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7189 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7190 New files.
7191 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7192 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7193 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7194 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7195 their own source file.
7196 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7197 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7198 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7199 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7200 (create): Define variable on top of function.
7201 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7202 (menu_pos): Prototyped.
7203 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7204 (setTitle): Removed.
7205 * jni/gtk-peer/gthread-jni.c
7206 (gdk_threads_wake): Removed.
7207 * Makefile.am (gtk_c_source_files): Added new files
7208 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7209 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7210 * Makefile.in: Regenerated.
7211
74e94435
BM
72122004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7213
7214 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7215 call.
7216
68ea5833
MW
72172004-05-05 Mark Wielaard <mark@klomp.org>
7218
7219 * javax/swing/AbstractButton.java: Replace special HTML entities with
7220 ASCII equivalent.
7221 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7222 * javax/swing/DefaultButtonModel.java: Likewise.
7223 * javax/swing/DefaultListModel.java: Likewise.
7224 * javax/swing/JList.java: Likewise.
7225 * javax/swing/JSlider.java: Likewise.
7226 * javax/swing/ListModel.java: Likewise.
7227 * javax/swing/Popup.java: Likewise.
7228 * javax/swing/SwingUtilities.java: Likewise.
7229
880fa238
MK
72302004-05-05 Michael Koch <konqueror@gmx.de>
7231
7232 * javax/swing/AbstractButton.java,
7233 javax/swing/ActionMap.java,
7234 javax/swing/DefaultButtonModel.java,
7235 javax/swing/DefaultListModel.java,
7236 javax/swing/ImageIcon.java,
7237 javax/swing/JComboBox.java,
7238 javax/swing/JComponent.java,
7239 javax/swing/JFrame.java,
7240 javax/swing/JInternalFrame.java,
7241 javax/swing/JMenuBar.java,
7242 javax/swing/JMenuItem.java,
7243 javax/swing/JOptionPane.java,
7244 javax/swing/JProgressBar.java,
7245 javax/swing/JRootPane.java,
7246 javax/swing/JScrollBar.java,
7247 javax/swing/JScrollPane.java,
7248 javax/swing/JSeparator.java,
7249 javax/swing/JSlider.java,
7250 javax/swing/JTabbedPane.java,
7251 javax/swing/JTable.java,
7252 javax/swing/JTextField.java,
7253 javax/swing/JToolBar.java,
7254 javax/swing/JToolTip.java,
7255 javax/swing/JTree.java,
7256 javax/swing/JViewport.java,
7257 javax/swing/JWindow.java,
7258 javax/swing/KeyStroke.java,
7259 javax/swing/LookAndFeel.java,
7260 javax/swing/SwingUtilities.java,
7261 javax/swing/Timer.java,
7262 javax/swing/ToolTipManager.java,
7263 javax/swing/UIDefaults.java,
7264 javax/swing/border/TitledBorder.java,
7265 javax/swing/filechooser/FileSystemView.java,
7266 javax/swing/plaf/basic/BasicButtonListener.java,
7267 javax/swing/plaf/basic/BasicButtonUI.java,
7268 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7269 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7270 javax/swing/plaf/basic/BasicLabelUI.java,
7271 javax/swing/plaf/basic/BasicMenuItemUI.java,
7272 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7273 javax/swing/plaf/basic/BasicRootPaneUI.java,
7274 javax/swing/plaf/basic/BasicScrollBarUI.java,
7275 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7276 javax/swing/plaf/basic/BasicSliderUI.java,
7277 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7278 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7279 javax/swing/table/JTableHeader.java,
7280 javax/swing/text/AbstractDocument.java,
7281 javax/swing/text/DefaultCaret.java,
7282 javax/swing/text/StyledEditorKit.java,
7283 javax/swing/tree/DefaultTreeCellEditor.java:
7284 Cleaned up imports.
7285
4a93a226
MK
72862004-05-05 Michael Koch <konqueror@gmx.de>
7287
7288 * java/util/prefs/AbstractPreferences.java
7289 (AbstractPreferences): Added parenthesis for clarity.
7290 Closes classpath bug #7940.
7291
aaec686e
TT
72922004-05-05 Tom Tromey <tromey@redhat.com>
7293
7294 * javax/naming/CompoundName.java (endsWith): Look at correct
7295 element of source name.
7296
b1210ca2
MW
72972004-05-05 Mark Wielaard <mark@klomp.org>
7298
7299 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7300 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7301
a54f498a
TT
73022004-05-05 Tom Tromey <tromey@redhat.com>
7303
7304 * java/io/BufferedReader.java (skip): Removed unused
7305 variable.
7306
e8430418
MK
73072004-05-05 Michael Koch <konqueror@gmx.de>
7308
7309 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7310
f32c742c
DT
73112004-05-05 Dalibor Topic <robilad@kaffe.org>
7312
7313 * java/text/AttributedString.java,
7314 java/text/AttributedStringIterator.java,
7315 java/text/Collator.java,
7316 java/text/DecimalFormatSymbols.java,
7317 java/text/NumberFormat.java,
7318 java/text/RuleBasedCollator.java:
7319 Cleaned up imports.
7320
d70bd7ff
TT
73212004-05-05 Tom Tromey <tromey@redhat.com>
7322
7323 * java/text/Format.java: Cleaned up imports.
7324 * java/text/DecimalFormat.java: Cleaned up imports.
7325 * java/security/SecureRandom.java: Cleaned up imports.
7326 (SecureRandom): Removed unused variable.
7327 * java/security/UnresolvedPermission.java: Cleaned up imports.
7328 * java/util/Date.java (parse): Removed unused variable.
7329 * java/util/ResourceBundle.java: Cleaned up imports.
7330 (getBundle): Removed unused variable.
7331 (tryBundle): Likewise.
7332 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7333
2225a42a
GL
73342004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7335
7336 * java/text/SimpleDateFormat.java:
7337 (formatWithAttribute): New method. It implements
7338 the formatting process with attributes.
7339 (format): Use formatWithAttribute.
7340 (formatToCharacterIterator): New method. Use
7341 formatWithAttribute.
7342
1f646142
GL
73432004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7344
7345 * java/text/MessageFormat.java:
7346 (class Field): New class.
7347 (formatToCharacterIterator): New method.
7348 (format): Use formatInternal now.
7349 (formatInternal): New method. String formatter should
7350 be done here (with attributes). Attributes merging supported.
7351 (parse): More documentation.
7352 (getFormatsByArgumentIndex): New method.
7353 (setFormatByArgumentIndex): New method.
7354 (setFormatsByArgumentIndex): New method.
7355
8cf1edb3
GL
73562004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7357
7358 * java/text/DecimalFormat.java
7359 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7360 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7361 (parse): Fixed handling of exponentiation notation and grouping.
7362
73632004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7364
7365 * java/text/DecimalFormat.java
7366 (scanFix): Build attribute array. Fixed error reporting.
7367 (applyPatternWithSymbols): Store attributes for the prefix and
7368 suffix.
7369 (formatInternal): New method. Changed the way the string is
7370 computed. Implemented attributes. Cleant up rounding in
7371 exponential notation.
7372 (format): Use formatInternal.
7373 (formatToCharacterIterator): New method.
7374 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7375 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7376 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7377 New fields.
7378
aff9d141
DT
73792004-05-04 Dalibor Topic <robilad@kaffe.org>
7380
7381 * java/security/interfaces/DSAKeyPairGenerator.java,
7382 java/security/interfaces/DSAPrivateKey.java,
7383 java/security/interfaces/DSAPublicKey.java,
7384 java/security/interfaces/RSAPrivateKey.java,
7385 java/security/interfaces/RSAPublicKey.java:
7386 Cleaned up imports.
7387
933522fb
MK
73882004-05-04 Michael Koch <konqueror@gmx.de>
7389
7390 * java/nio/ByteBuffer.java,
7391 java/nio/CharBuffer.java,
7392 java/nio/DoubleBuffer.java,
7393 java/nio/FloatBuffer.java,
7394 java/nio/IntBuffer.java,
7395 java/nio/LongBuffer.java,
7396 java/nio/ShortBuffer.java:
7397 (compareTo): Fixed bogus implementation in all buffer classes.
7398
27c2c3ec
IP
73992004-05-04 Ingo Proetel <proetel@aicas.com>
7400
7401 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7402 32 bit pixels not 8 bit pixels.
7403 (isCompatibleRaster): Added javadoc comment.
7404
74052004-05-04 Ingo Proetel <proetel@aicas.com>
7406
7407 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7408 scanline stride.
7409
74102004-05-04 Ingo Proetel <proetel@aicas.com>
7411
7412 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7413 (getColorModel): Return the actual color model.
7414 (getRaster): Implemented.
7415 (ColorRaster): New inner class.
7416 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7417 a PaintContext.
7418 * java/awt/Color.java (<init>): Make exception more verbose.
7419 (createContext): Use ColorModel when creating a PaintContext.
7420
a31d9d6c
MK
74212004-05-04 Michael Koch <konqueror@gmx.de>
7422
7423 * gnu/java/text/CharacterBreakIterator.java
7424 (previous): Removed unused variable.
7425
065afdfa
GL
74262004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7427
7428 * gnu/java/text/FormatBuffer.java,
7429 gnu/java/text/AttributedFormatBuffer.java,
7430 gnu/java/text/StringFormatBuffer.java: New classes to implement
7431 attributed iterators in java.text.
7432 * gnu/java/text/FormatCharacterIterator.java: Moved
7433 from java/text as it is an internal class.
7434 * java/text/FormatCharacterIterator.java: Removed.
7435 * java/text/Format.java:
7436 Import gnu.java.text.FormatCharacterIterator.
7437 * Makefile.am (java_source_files): Added new files.
7438 * Makefile.in: Regenerated.
7439
7440
af62fd12
MW
74412004-05-04 Mark Wielaard <mark@klomp.org>
7442
53c87e49 7443 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
af62fd12 7444
a3c44036
AT
74452004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7446
7447 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7448 * Makefile.in: Rebuilt.
7449
007265b8
MW
74502004-05-03 Mark Wielaard <mark@klomp.org>
7451
7452 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7453 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7454 * java/net/URL.java
7455 (set(String, String, int, String, String, String, String, String)):
7456 Assign this.file to path or path + "?" + query.
7457 * java/util/Arrays.java: Call static methods staticly.
7458 * java/util/zip/ZipEntry.java: Likewise.
7459 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7460 dir to this.direction.
7461 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7462 Assign static field only once.
7463 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7464
a00d3b3c
MW
74652004-05-03 Mark Wielaard <mark@klomp.org>
7466
7467 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7468 unused variables hScrollbarHeight and vScrollbarWidth.
7469 (preferredSize): Likewise.
7470 * gnu/java/security/provider/DSAParameters.java (engineToString):
7471 Removed unused call to System.getProperty("line.seperator");
7472 * java/security/Security.java (loadProviders): Return result.
7473
7b68f0bf
TT
74742004-05-03 Tom Tromey <tromey@redhat.com>
7475
7476 * java/net/URLStreamHandler.java (toExternalForm): Removed
7477 unused variables.
7478 unused constructor.
7479 * java/math/BigDecimal.java (divide): Removed unused variable.
7480 * java/lang/Throwable.java: Cleaned up imports.
7481 * java/lang/ClassLoader.java: Cleaned up imports.
7482 * java/io/FilePermission.java (implies): Removed unused
7483 variable.
7484 * java/awt/TextComponent.java: Removed unused import.
7485 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7486 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7487 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7488 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7489 import.
7490 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7491 * gnu/java/text/CharacterBreakIterator.java: Removed
7492 unused import.
7493 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7494 Cleaned up imports.
7495 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7496 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7497 unused method.
7498 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7499 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7500 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7501 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7502 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7503 (lookupProviders): Removed unused variable.
7504 (loadNextServiceProvider): Likewise.
7505 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7506
493b3c9c
MK
75072004-05-03 Michael Koch <konqueror@gmx.de>
7508
7509 Fixes PR libgcj/14695:
7510 * java/net/NetworkInterface.java
7511 (getByName): Return null when no interface was found.
7512
55ce9c52
RM
75132004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7514 Tom Tromey <tromey@redhat.com>
7515
7516 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7517 additional option "-Wmissing-prototypes" for compiling C sources.
7518 Print actual filename for pass/fail rather than $name.c.
7519 * testsuite/libjava.jni/PR15133.java: New testcase file.
7520 * testsuite/libjava.jni/PR15133.c: Likewise.
7521 * testsuite/libjava.jni/PR15133.out: Likewise.
7522
2d99c042
RS
75232004-04-30 Roger Sayle <roger@eyesopen.com>
7524
7525 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7526 ceil and floor.
7527
c1fcbbc3
RM
75282004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7529
7530 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7531 limit the maximum heap size to avoid unnecessary thrashing.
7532
6f0b1fa5
JQ
75332004-04-24 Jerry Quinn <jlquinn@optonline.net>
7534
7535 * java/text/CollationElementIterator.java (reset): Reset
7536 lookahead variables.
7537
99a88816
MW
75382004-04-23 Mark Wielaard <mark@klomp.org>
7539
7540 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7541
b4e7ef8d
DT
75422004-04-23 Dalibor Topic <robilad@kaffe.org>
7543
7544 * java/sql/DriverManager.java:
7545 Cleaned up imports.
7546
e9d34968
MK
75472004-04-23 Michael Koch <konqueror@gmx.de>
7548
7549 * java/net/URL.java
7550 (hashcode): Don't initialize with default value explicitely.
7551 (getContent): Removed redundant "final" keyword.
7552 (openStream): Likewise.
7553 (getURLStreamHandler): Fixed coding style.
7554 * java/net/URLConnection.java
7555 (defaultAllowUserInteraction): Don't initialize with default value
7556 explicitely.
7557 (connected): Likewise.
7558 (doOutput): Likewise.
7559 (ifModifiedSince): Likewise.
7560 (dateformats_initialized): Likewise.
7561 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7562
87939d70
MK
75632004-04-23 Michael Koch <konqueror@gmx.de>
7564
7565 * gnu/java/nio/channels/FileChannelImpl.java
7566 (SET, CUR): Unused, removed.
7567 (read): Implement here directly.
7568 (implRead): Removed.
7569 (write): Implement here directly.
7570 (implWrite): Removed.
7571
5d837a58
DT
75722004-04-23 Dalibor Topic <robilad@kaffe.org>
7573
7574 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7575 javax/rmi/CORBA/Stub.java,
7576 javax/rmi/CORBA/Util.java,
7577 javax/rmi/CORBA/ValueHandler.java,
7578 javax/rmi/CORBA/ValueHandler.java,
7579 javax/rmi/PortableRemoteObject.java:
7580 Cleaned up imports.
7581
ace7ed7c
DT
75822004-04-23 Dalibor Topic <robilad@kaffe.org>
7583
7584 * java/util/jar/JarFile.java,
7585 java/util/jar/JarInputStream.java,
7586 java/util/jar/JarOutputStream.java,
7587 java/util/jar/Manifest.java:
7588 Cleaned up imports.
7589
75902004-04-23 Dalibor Topic <robilad@kaffe.org>
7591
7592 * java/util/ArrayList.java,
7593 java/util/Calendar.java,
7594 java/util/Currency.java,
7595 java/util/HashMap.java,
7596 java/util/HashSet.java,
7597 java/util/Hashtable.java,
7598 java/util/LinkedList.java,
7599 java/util/Properties.java,
7600 java/util/PropertyPermission.java,
7601 java/util/TimeZone.java,
7602 java/util/TreeMap.java,
7603 java/util/TreeSet.java,
7604 java/util/Vector.java,
7605 java/util/WeakHashMap.java:
7606 Cleaned up imports.
7607
76082004-04-23 Dalibor Topic <robilad@kaffe.org>
7609
7610 * java/util/logging/FileHandler.java,
7611 java/util/logging/Formatter.java,
7612 java/util/logging/Handler.java,
7613 java/util/logging/Logger.java,
7614 java/util/logging/SimpleFormatter.java,
7615 java/util/logging/XMLFormatter.java:
7616 Cleaned up imports.
7617
ae522139
MW
76182004-04-22 Mark Wielaard <mark@klomp.org>
7619
7620 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7621 -Wno-long-long flags variable.
7622 (gtk_c_files): Use PEDANTIC_CFLAGS.
7623 * Makefile.in: Regenerated.
7624
838a4849
MK
76252004-04-22 Mark Wielaard <mark@klomp.org>
7626
7627 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7628 Changed C++ comments into C comments.
7629 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7630 Likewise.
7631
76322004-04-22 Michael Koch <konqueror@gmx.de>
7633
7634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7635 Merged copyright year with GNU classpath.
7636
fe2235d1
DT
76372004-04-22 Dalibor Topic <robilad@kaffe.org>
7638
7639 * javax/security/auth/x500/X500Principal.java:
7640 Cleaned up imports.
7641
b7db3d0a
DT
76422004-04-22 Dalibor Topic <robilad@kaffe.org>
7643
7644 * javax/swing/JSlider.java:
7645 Fixed HTML tags in comments.
7646
32bfc773
DT
76472004-04-22 Dalibor Topic <robilad@kaffe.org>
7648
7649 * javax/accessibility/AccessibleText.java:
7650 Cleaned up imports.
7651
e930d01a
MK
76522004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7653
7654 * java/net/URLStreamHandler.java
7655 (parseURL): Convert the file path to using '/' instead of native
7656 file separator.
7657
76582004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7659
7660 * java/net/URL.java
7661 (userInfo): New field.
7662 (URL): Set authority to the right value.
7663 (setURL): Fixed authority and file initialization.
7664 * java/net/URLStreamHandler.java
7665 (parseURL): Take care of the query tag. Build authority.
7666 (toExternalForm): Fixed URL building using authority.
7667
5d79367d
MK
76682004-04-22 Michael Koch <konqueror@gmx.de>
7669
7670 * java/net/Socket.java
7671 (impl): Made package-private.
7672 * java/net/ServerSocket.java
7673 (implAccept): Access Socket.impl field directly.
7674
c0dce235
DT
76752004-04-22 Dalibor Topic <robilad@kaffe.org>
7676
7677 * java/util/prefs/Preferences.java,
7678 java/util/prefs/InvalidPreferencesFormatException.java,
7679 java/util/prefs/BackingStoreException.java,
7680 java/util/prefs/AbstractPreferences.java:
7681 Cleaned up imports.
7682
76832004-04-22 Dalibor Topic <robilad@kaffe.org>
7684
7685 * java/util/regex/Matcher.java,
7686 java/util/regex/Pattern.java:
7687 Cleaned up imports.
7688
5c09d725
MK
76892004-04-22 Michael Koch <konqueror@gmx.de>
7690
7691 * java/nio/charset/IllegalCharsetNameException.java
7692 (charsetName): Made private.
7693 (IllegalCharsetNameException): Added @param tag to javadoc.
7694 (getCharsetName): Added @return tag to javadoc.
7695 * java/nio/charset/MalformedInputException.java
7696 (MalformedInputException): Added @param tag to javadoc.
7697 (getInputLength): Revised method description, added @return tag.
7698 (getMessage): Added @return tag.
7699
83ef3f2b
JQ
77002004-04-22 Jerry Quinn <jlquinn@optonline.net>
7701
7702 * java/awt/Font.java (deriveFont): Implement missing variants.
7703 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7704 missing variants.
7705
746ecc78
BM
77062004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7707
7708 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7709 Set method->index values for interface methods to their itable index.
7710 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7711
86a80fc3
MK
77122004-04-21 Michael Koch <konqueror@gmx.de>
7713
7714 * java/nio/DirectByteBufferImpl.java
7715 (shiftDown): Made static, give address as argument and
7716 provide a convenience method that overwrites shiftDown in
7717 ByteBufferImpl and calls the native shiftDown.
7718 * java/nio/MappedByteBufferImpl.java
7719 (): Use optimized method in DirectByteBufferImpl.
7720 * java/nio/natDirectByteBufferImpl.cc
7721 (shiftDown): Changed method signature. Removed usage of array_offset.
7722
6e90ed19
MK
77232004-04-21 Michael Koch <konqueror@gmx.de>
7724
7725 * gnu/java/net/natPlainSocketImplPosix.cc
7726 (SocketInputStream::read): Make sure returned data is a byte value.
7727
96d22b12
MK
77282004-04-21 Michael Koch <konqueror@gmx.de>
7729
7730 * gnu/classpath/ServiceFactory.java,
7731 gnu/classpath/ServiceProviderLoadingAction.java,
7732 javax/imageio/ImageReader.java,
7733 javax/imageio/ImageTranscoder.java,
7734 javax/imageio/ImageWriter.java,
7735 javax/imageio/package.html,
7736 javax/imageio/spi/IIOServiceProvider.java,
7737 javax/imageio/spi/ImageInputStreamSpi.java,
7738 javax/imageio/spi/ImageOutputStreamSpi.java,
7739 javax/imageio/spi/ImageReaderWriterSpi.java,
7740 javax/imageio/spi/ImageTranscoderSpi.java,
7741 javax/imageio/spi/RegisterableService.java,
7742 javax/imageio/spi/ServiceRegistry.java,
7743 javax/imageio/spi/package.html,
7744 javax/imageio/stream/IIOByteBuffer.java,
7745 javax/imageio/stream/ImageInputStream.java,
7746 javax/imageio/stream/ImageOutputStream.java,
7747 javax/imageio/stream/package.html:
7748 New files.
7749 * Makefile.am
7750 (ordinary_java_source_files): Added
7751 gnu/classpath/ServiceFactory.java and
7752 gnu/classpath/ServiceProviderLoadingAction.java.
7753 (javax_source_files): Added
7754 javax/imageio/ImageReader.java,
7755 javax/imageio/ImageTranscoder.java,
7756 javax/imageio/ImageWriter.java,
7757 javax/imageio/spi/IIOServiceProvider.java,
7758 javax/imageio/spi/ImageInputStreamSpi.java,
7759 javax/imageio/spi/ImageOutputStreamSpi.java,
7760 javax/imageio/spi/ImageReaderWriterSpi.java,
7761 javax/imageio/spi/ImageTranscoderSpi.java,
7762 javax/imageio/spi/RegisterableService.java,
7763 javax/imageio/spi/ServiceRegistry.java,
7764 javax/imageio/stream/IIOByteBuffer.java,
7765 javax/imageio/stream/ImageInputStream.java and
7766 javax/imageio/stream/ImageOutputStream.java.
7767 * Makefile.in: Regenerated.
7768
ca17d211
MK
77692004-04-21 Michael Koch <konqueror@gmx.de>
7770
7771 * java/util/Properties.java
7772 (load): Fix wrongly merged fix.
7773
60e957d0
MW
77742004-04-21 Mark Wielaard <mark@klomp.org>
7775
7776 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7777 malloc and free buf.
7778
27dd18cf
DT
77792004-04-21 Dalibor Topic <robilad@kaffe.org>
7780
7781 * javax/naming/AuthenticationException.java,
7782 javax/naming/AuthenticationNotSupportedException.java,
7783 javax/naming/CannotProceedException.java,
7784 javax/naming/CommunicationException.java,
7785 javax/naming/CompoundName.java,
7786 javax/naming/ConfigurationException.java,
7787 javax/naming/ContextNotEmptyException.java,
7788 javax/naming/InitialContext.java,
7789 javax/naming/InsufficientResourcesException.java,
7790 javax/naming/InterruptedNamingException.java,
7791 javax/naming/LimitExceededException.java,
7792 javax/naming/LinkException.java,
7793 javax/naming/LinkLoopException.java,
7794 javax/naming/LinkRef.java,
7795 javax/naming/MalformedLinkException.java,
7796 javax/naming/Name.java,
7797 javax/naming/NameAlreadyBoundException.java,
7798 javax/naming/NameNotFoundException.java,
7799 javax/naming/NamingSecurityException.java,
7800 javax/naming/NoInitialContextException.java,
7801 javax/naming/NoPermissionException.java,
7802 javax/naming/NotContextException.java,
7803 javax/naming/PartialResultException.java,
7804 javax/naming/ReferralException.java,
7805 javax/naming/ServiceUnavailableException.java,
7806 javax/naming/SizeLimitExceededException.java,
7807 javax/naming/TimeLimitExceededException.java,
7808 javax/naming/directory/Attribute.java,
7809 javax/naming/directory/Attributes.java,
7810 javax/naming/directory/SearchResult.java,
7811 javax/naming/event/NamingExceptionEvent.java,
7812 javax/naming/spi/ResolveResult.java:
7813 Cleaned up imports.
7814
2635995a
MW
78152004-04-21 Mark Wielaard <mark@klomp.org>
7816
7817 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7818 Changed C++ comments into C comments. Removed commented out code.
7819 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7820 Likewise.
7821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7822 Likewise.
7823 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7824 Likewise.
7825 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7826 Likewise.
7827 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7828 Likewise.
7829 * native/jni/gtk-peer/gthread-jni.c:
7830 Likewise.
7831
1c3d6bb2
MW
78322004-04-21 Mark Wielaard <mark@klomp.org>
7833
7834 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7835 static fields defined in interface.
7836 * javax/awt/JDialog.java: Likewise.
7837 (JDialog): Make constructors public.
7838 (getDefaultCloseOperation): Make public.
7839 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7840 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7841 * javax/swing/JViewport.java (JViewport): Make constructor public.
7842
387fa012
MK
78432004-04-21 Michael Koch <konqueror@gmx.de>
7844
7845 * java/util/Map.java
7846 (Entry): Removed redundant "static" modifier.
7847 * java/text/AttributedCharacterIterator.java:
7848 Updated copyright year.
7849
bf9f06ae
MK
78502004-04-20 Michael Koch <konqueror@gmx.de>
7851
7852 * javax/naming/directory/SearchControls.java:
7853 Don't explicitely extend java.lang.Object.
7854 * javax/naming/spi/DirStateFactory.java:
7855 Merged copyright year with GNU classpath.
7856
8a6c1d29
MK
78572004-04-20 Michael Koch <konqueror@gmx.de>
7858
7859 * java/nio/channels/Channels.java:
7860 Merged coding style with GNU classpath.
7861
f5874634
MK
78622004-04-20 Michael Koch <konqueror@gmx.de>
7863
7864 * java/net/ServerSocket.java
7865 Merged coding style from GNU classpath.
7866
90cb5151
MK
78672004-04-20 Michael Koch <konqueror@gmx.de>
7868
7869 * java/io/BufferedWriter.java:
7870 Reordered variables to be at top of the class.
7871 (localFlush): Removed redundant final keyword.
7872
5ede96a4
IP
78732004-04-20 Ingo Proetel <proetel@aicas.com>
7874
7875 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7876
391d8ef5
MK
78772004-04-20 Jeroen Frijters <jeroen@frijters.net>
7878
7879 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7880 for percent and permill check.
7881
78822004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7883
7884 * java/text/FieldPosition.java
7885 (FieldPosition) Constructor now behaves as it should according
7886 to the java documentation.
7887
78882004-04-20 Mark Wielaard <mark@klomp.org>
7889
7890 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7891 documentation.
7892
92e1fe67
MK
78932004-04-20 Michael Koch <konqueror@gmx.de>
7894
7895 * java/nio/Buffer.java,
7896 java/nio/channels/AlreadyConnectedException.java,
7897 java/nio/channels/AsynchronousCloseException.java,
7898 java/nio/channels/ByteChannel.java,
7899 java/nio/channels/CancelledKeyException.java,
7900 java/nio/channels/Channel.java,
7901 java/nio/channels/Channels.java,
7902 java/nio/channels/ClosedByInterruptException.java,
7903 java/nio/channels/ClosedChannelException.java,
7904 java/nio/channels/ClosedSelectorException.java,
7905 java/nio/channels/ConnectionPendingException.java,
7906 java/nio/channels/DatagramChannel.java,
7907 java/nio/channels/FileChannel.java,
7908 java/nio/channels/FileLock.java,
7909 java/nio/channels/FileLockInterruptionException.java,
7910 java/nio/channels/GatheringByteChannel.java,
7911 java/nio/channels/IllegalBlockingModeException.java,
7912 java/nio/channels/IllegalSelectorException.java,
7913 java/nio/channels/InterruptibleChannel.java,
7914 java/nio/channels/NoConnectionPendingException.java,
7915 java/nio/channels/NonReadableChannelException.java,
7916 java/nio/channels/NonWritableChannelException.java,
7917 java/nio/channels/NotYetBoundException.java,
7918 java/nio/channels/NotYetConnectedException.java,
7919 java/nio/channels/OverlappingFileLockException.java,
7920 java/nio/channels/Pipe.java,
7921 java/nio/channels/ReadableByteChannel.java,
7922 java/nio/channels/ScatteringByteChannel.java,
7923 java/nio/channels/SelectableChannel.java,
7924 java/nio/channels/SelectionKey.java,
7925 java/nio/channels/Selector.java,
7926 java/nio/channels/ServerSocketChannel.java,
7927 java/nio/channels/SocketChannel.java,
7928 java/nio/channels/UnresolvedAddressException.java,
7929 java/nio/channels/UnsupportedAddressTypeException.java,
7930 java/nio/channels/WritableByteChannel.java,
7931 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7932 java/nio/channels/spi/AbstractSelectableChannel.java,
7933 java/nio/channels/spi/AbstractSelectionKey.java,
7934 java/nio/channels/spi/AbstractSelector.java,
7935 java/nio/channels/spi/SelectorProvider.java,
7936 java/nio/charset/spi/CharsetProvider.java:
7937 Fixed javadocs and jalopied all over java.nio.
7938
08c5d757
MK
79392004-04-20 Michael Koch <konqueror@gmx.de>
7940
7941 * java/nio/ByteBufferImpl.java,
7942 java/nio/CharBufferImpl.java,
7943 java/nio/DirectByteBufferImpl.java,
7944 java/nio/DoubleBufferImpl.java,
7945 java/nio/DoubleViewBufferImpl.java,
7946 java/nio/FloatBufferImpl.java,
7947 java/nio/FloatViewBufferImpl.java,
7948 java/nio/IntBufferImpl.java,
7949 java/nio/IntViewBufferImpl.java,
7950 java/nio/LongBufferImpl.java,
7951 java/nio/LongViewBufferImpl.java,
7952 java/nio/MappedByteBufferImpl.java,
7953 java/nio/ShortBufferImpl.java,
7954 java/nio/ShortViewBufferImpl.java:
7955 Made sure all classes are final and removed final keyword from all
7956 methods.
7957
a17c9f2e
MK
79582004-04-20 Michael Koch <konqueror@gmx.de>
7959
7960 * java/rmi/MarshalledObject.java,
7961 java/rmi/Naming.java,
7962 java/rmi/RemoteException.java,
7963 java/rmi/activation/ActivationException.java,
7964 java/rmi/server/ServerCloneException.java,
7965 java/security/AccessController.java,
7966 java/security/AlgorithmParameterGenerator.java,
7967 java/security/AlgorithmParameters.java,
7968 java/security/CodeSource.java,
7969 java/security/Identity.java,
7970 java/security/IdentityScope.java,
7971 java/security/KeyPairGenerator.java,
7972 java/security/KeyStore.java,
7973 java/security/Security.java,
7974 java/security/Signature.java,
7975 java/security/SignatureSpi.java,
7976 java/security/SignedObject.java,
7977 java/security/spec/DSAParameterSpec.java,
7978 java/security/spec/DSAPrivateKeySpec.java,
7979 java/security/spec/DSAPublicKeySpec.java,
7980 java/sql/Array.java,
7981 java/sql/DatabaseMetaData.java,
7982 java/sql/ResultSet.java,
7983 java/text/ChoiceFormat.java,
7984 java/text/CollationElementIterator.java,
7985 java/text/CollationKey.java,
7986 java/text/Collator.java,
7987 java/text/DateFormat.java,
7988 java/text/DateFormatSymbols.java,
7989 java/text/DecimalFormatSymbols.java,
7990 java/text/Format.java,
7991 java/text/ParsePosition.java,
7992 java/text/RuleBasedCollator.java,
7993 java/text/SimpleDateFormat.java,
7994 java/text/StringCharacterIterator.java,
7995 java/util/Collections.java,
7996 java/util/PropertyResourceBundle.java,
7997 java/util/ResourceBundle.java,
7998 java/util/StringTokenizer.java,
7999 java/util/jar/Attributes.java,
8000 java/util/logging/ConsoleHandler.java,
8001 java/util/logging/LogManager.java,
8002 java/util/logging/MemoryHandler.java,
8003 java/util/logging/SocketHandler.java,
8004 javax/naming/NamingException.java:
8005 Fixed javadoc, coding style and argument names all over.
8006
0fc920c8
MK
80072004-04-20 Jeroen Frijters <jeroen@frijters.net>
8008
8009 * java/io/FileDescriptor.java: (FileDescriptor) Added public
8010 constructor. (valid) Added null check.
8011
80122004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
8013
8014 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
8015 * java/io/FileOutputStream.java
8016 (FileOutputStream) Reorganized constructors. Constructors now
8017 check whether the given path is directory.
8018
f6d49f66
MK
80192004-04-20 Michael Koch <konqueror@gmx.de>
8020
8021 * java/net/Authenticator.java,
8022 java/net/BindException.java,
8023 java/net/ConnectException.java,
8024 java/net/ContentHandler.java,
8025 java/net/ContentHandlerFactory.java,
8026 java/net/DatagramPacket.java,
8027 java/net/DatagramSocket.java,
8028 java/net/DatagramSocketImpl.java,
8029 java/net/DatagramSocketImplFactory.java,
8030 java/net/FileNameMap.java,
8031 java/net/HttpURLConnection.java,
8032 java/net/Inet4Address.java,
8033 java/net/Inet6Address.java,
8034 java/net/InetAddress.java,
8035 java/net/InetSocketAddress.java,
8036 java/net/JarURLConnection.java,
8037 java/net/MalformedURLException.java,
8038 java/net/MulticastSocket.java,
8039 java/net/NetPermission.java,
8040 java/net/NetworkInterface.java,
8041 java/net/NoRouteToHostException.java,
8042 java/net/PasswordAuthentication.java,
8043 java/net/PortUnreachableException.java,
8044 java/net/ProtocolException.java,
8045 java/net/ServerSocket.java,
8046 java/net/Socket.java,
8047 java/net/SocketAddress.java,
8048 java/net/SocketException.java,
8049 java/net/SocketImpl.java,
8050 java/net/SocketImplFactory.java,
8051 java/net/SocketOptions.java,
8052 java/net/SocketPermission.java,
8053 java/net/SocketTimeoutException.java,
8054 java/net/URI.java,
8055 java/net/URISyntaxException.java,
8056 java/net/URL.java,
8057 java/net/URLClassLoader.java,
8058 java/net/URLConnection.java,
8059 java/net/URLDecoder.java,
8060 java/net/URLEncoder.java,
8061 java/net/URLStreamHandler.java,
8062 java/net/URLStreamHandlerFactory.java,
8063 java/net/UnknownHostException.java,
8064 java/net/UnknownServiceException.java:
8065 Fixed javadocs, coding style and argument names all over.
8066
cf6f7d55
MK
80672004-04-20 Michael Koch <konqueror@gmx.de>
8068
8069 * java/lang/Byte.java,
8070 java/lang/CharSequence.java,
8071 java/lang/ClassLoader.java,
8072 java/lang/Compiler.java,
8073 java/lang/Double.java,
8074 java/lang/Float.java,
8075 java/lang/Integer.java,
8076 java/lang/Long.java,
8077 java/lang/Math.java,
8078 java/lang/Number.java,
8079 java/lang/Package.java,
8080 java/lang/Runtime.java,
8081 java/lang/RuntimePermission.java,
8082 java/lang/SecurityManager.java,
8083 java/lang/Short.java,
8084 java/lang/StringBuffer.java,
8085 java/lang/System.java,
8086 java/lang/ThreadGroup.java,
8087 java/lang/Throwable.java,
8088 java/lang/reflect/InvocationHandler.java,
8089 java/lang/reflect/Proxy.java:
8090 Fixed javadocs, coding style and argument names all over.
8091
9f714d5e
MK
80922004-04-20 Michael Koch <konqueror@gmx.de>
8093
8094 * java/io/BufferedWriter.java,
8095 java/io/ByteArrayInputStream.java,
8096 java/io/CharArrayWriter.java,
8097 java/io/DataInput.java,
8098 java/io/DataInputStream.java,
8099 java/io/File.java,
8100 java/io/FilterInputStream.java,
8101 java/io/InputStream.java,
8102 java/io/InputStreamReader.java,
8103 java/io/ObjectInputStream.java,
8104 java/io/ObjectStreamClass.java,
8105 java/io/PipedInputStream.java,
8106 java/io/PipedReader.java,
8107 java/io/PushbackInputStream.java,
8108 java/io/PushbackReader.java,
8109 java/io/RandomAccessFile.java,
8110 java/io/SerializablePermission.java,
8111 java/io/StreamTokenizer.java,
8112 java/io/StringWriter.java,
8113 java/io/WriteAbortedException.java,
8114 java/io/Writer.java:
8115 Fixed javadocs all over, rename arguments to match javadocs,
8116 fixed coding style.
8117
23f0ecff
MK
81182004-04-20 Ingo Proetel <proetel@aicas.com>
8119
8120 * java/awt/FontMetrics.java:
8121 (charsWidth): fixed accumulation of total_width
8122 (getWidth): simple default implementation
8123 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
8124 in Rectangle constructor.
8125 * java/awt/image/Raster.java (toString): Added method.
8126 * java/awt/image/SampleModel.java (<init>): Added error cause
8127 information to thrown exception.
8128 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
8129 New method.
8130 (setDataElements): New method.
8131 (setPixels): New method.
8132 (toString): New method.
8133
81342004-04-20 Sascha Brawer <brawer@dandelis.ch>
8135
8136 * java/awt/image/ComponentColorModel.java
8137 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
8138 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
8139 Mauve tests on this method. Improved documentation.
8140
2c4d54e6
MK
81412004-04-20 Michael Koch <konqueror@gmx.de>
8142
8143 * javax/swing/JLayeredPane.java,
8144 javax/swing/plaf/BorderUIResource.java,
8145 javax/swing/plaf/ComponentUI.java,
8146 javax/swing/undo/CompoundEdit.java,
8147 javax/swing/undo/StateEdit.java:
8148 Fixed HTML tags in javadocs all over.
8149
5589f3e5
MK
81502004-04-20 Michael Koch <konqueror@gmx.de>
8151
8152 * javax/print/attribute/EnumSyntax.java
8153 (getOffset): Made protected.
8154 * javax/print/attribute/HashAttributeSet.java
8155 (HashAttributeSet): Likewise.
8156 * javax/print/attribute/ResolutionSyntax.java
8157 (getFeedResolution): Fixed typo in exception name.
8158 (getCrossFeedResolution): Likewise.
8159 * javax/print/attribute/SetOfIntegerSyntax.java
8160 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
8161 * javax/print/attribute/TextSyntax.java
8162 (TextSyntax): Handle locale correctly.
8163 (hashCode): Calc better hashcode value.
8164 (equals): Fixed @return tag.
8165 (toString): New method.
8166
0150fc22
MK
81672004-04-20 Michael Koch <konqueror@gmx.de>
8168
8169 * gnu/java/nio/FileLockImpl.java
8170 (static): Removed, not needed anymore.
8171 * gnu/java/nio/channels/FileChannelImpl.java
8172 (FileChannelImpl): Made final.
8173 (mode): Made private.
8174 (READ, WRITE, APPEND): Made public.
8175 (EXCL, SYNC, DSYNC): Likewise.
8176 (static): Load native JNI library, when needed.
8177 (length): Unused, removed.
8178 (available): Made public.
8179 (implPosition): Throws IOException.
8180 (seek): Likewise.
8181 (implTruncate): Likewise.
8182 (unlock): Likewise.
8183 (lock): Likewise.
8184
7431acbe
MK
81852004-04-20 Michael Koch <konqueror@gmx.de>
8186
8187 * java/awt/AWTPermission.java,
8188 java/awt/Component.java,
8189 java/awt/ComponentOrientation.java,,
8190 java/awt/Dialog.java,
8191 java/awt/FontMetrics.java,
8192 java/awt/Graphics.java,
8193 java/awt/datatransfer/DataFlavor.java,
8194 java/beans/Introspector.java,
8195 java/beans/PropertyEditor.java,
8196 java/beans/PropertyEditorManager.java,
8197 java/beans/beancontext/BeanContextServiceProvider.java:
8198 Fixed HTML tags in javadocs all over.
8199
7f6f517f
MW
82002004-04-20 Mark Wielaard <mark@klomp.org>
8201
8202 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8203 MissingResourceException is thrown.
8204 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8205 null when a MissingResourceException is thrown. Should never happen.
8206
8ecb0346
MK
82072004-04-20 Sascha Brawer <brawer@dandelis.ch>
8208
8209 * java/awt/image/DataBufferShort.java,
8210 java/awt/image/DataBufferFloat.java,
8211 java/awt/image/DataBufferDouble.java,
8212 java/awt/image/PixelInterleavedSampleModel.java: New files.
8213 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8214 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8215
82162004-04-20 Michael Koch <konqueror@gmx.de>
8217
8218 * Makefile.am (java_source_files): Added
8219 java/awt/image/DataBufferDouble.java,
8220 java/awt/image/DataBufferFloat.java,
8221 java/awt/image/DataBufferShort.java and
8222 java/awt/image/PixelInterleavedSampleModel.java.
8223 * Makefile.in: Regenerated.
8224
f5310108
BM
82252004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8226
8227 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8228 undocumented CNI calls.
8229 * include/java-interp.h (_Jv_InterpClass): No longer
8230 extends java.lang.Class.
8231 * java/lang/Class.h (Class): Add new field `aux_info'.
8232 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8233 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8234 Use Class->aux_info instead.
8235 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8236 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8237 Use Class->aux_info instead.
8238 * java/io/natObjectInputStream.cc (allocateObject): Use
8239 _Jv_AllocObject.
8240 * java/lang/natClass.cc (newInstance): Likewise.
8241 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8242 * java/lang/natObject.cc (clone): Likewise.
8243 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8244 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8245 JvAllocObject. Allocate klass->aux_info here for interpreted
8246 class.
8247
afd7c0dc
MW
82482004-04-17 Mark Wielaard <mark@klomp.org>
8249
8250 * javax/swing/JToggleButton.java (ToggleButtonModel):
8251 Make public static inner class.
8252 * javax/swing/JTabbedPane.java (setComponentAt):
8253 Call Page.setComponent().
8254 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8255 (WRAP_TAB_LAYOUT): Make public, value is 0.
8256 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8257 Make private static inner class.
8258
bf7ad402
BM
82592004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8260
8261 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8262 arguments to match new signature. Remove FIXME comments.
8263
31e632d3
GH
82642004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8265
8266 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8267 Remove method.
8268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8269 unused code.
8270
82712004-04-02 Olga Rodimina <rodimina@redhat.com>
8272
8273 * Makefile.am: Added new file.
8274 * Makefile.in: Regenerate.
8275 * javax/swing/ImageIcon.java:
8276 (ImageIcon(file)): set description of the icon
8277 to the file name
8278 * javax/swing/JCheckBoxMenuItem.java:
8279 Mostly Implemented. Work in progress.
8280 * javax/swing/JRadioButtonMenuItem.java:
8281 Reimplement constructors to use JToggleButtonModel.
8282 * javax/swing/plaf/basic/BasicIconFactory.java:
8283 (getCheckBoxMenuItemIcon): return check box
8284 icon.
8285 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8286 paint menu item selected only when it is armed and
8287 pressed.
8288
82892004-04-02 David Jee <djee@redhat.com>
8290
8291 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8292 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8293 * java/awt/Component.java
8294 (add): Set the parent of the popup as this component.
8295 * java/awt/PopupMenu.java
8296 (addNotify): Create popup menu when peer is null.
8297 (show): Call addNotify() if peer is null.
8298 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8299 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8300 argument for gtk_menu_popup() as zero. This causes the popup menu to
8301 respond to any mouse button.
8302
83032004-03-31 Olga Rodimina <rodimina@redhat.com>
8304
8305 * Makefile.am: Added new file.
8306 * Makefile.in: Regenerate.
8307 * javax/swing/JRadioButtonMenuItem.java:
8308 Implemented.
8309 * javax/swing/plaf/basic/BasicIconFactory.java:
8310 (getRadioButtonMenuItemIcon): Return
8311 radio button icon.
8312 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8313 (getPreferredSize): Add size of checkIcon if it
8314 exists.
8315 (installDefaults): Don't initialize checkIcon.
8316 It's value will be set in subclasses.
8317 (uninstallDefaults): remove uninstallation of
8318 checkIcon.
8319 (paint): Moved code to paintMenuItem().
8320 (paintMenuItem): Implemented.
8321 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8322 UI delegate for JRadioButtonMenuItem.
8323
83242004-03-29 Olga Rodimina <rodimina@redhat.com>
8325
8326 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8327 Corrected position of the accelerator.
8328
83292004-03-29 Olga Rodimina <rodimina@redhat.com>
8330
8331 * Makefile.am: Added new file.
8332 * Makefile.in: Regenerate.
8333 * javax/swing/JMenuItem.java: Partly
8334 implemented. Work in progress
8335 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8336 Changed default value of acceleratorDelimiter.
8337 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8338 New class. Partly implemented.
8339
83402004-03-26 Mark Wielaard <mark@klomp.org>
8341
8342 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8343 (item_activate): Declare label before use.
8344 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8345 (gtkSetFont): Removed unused variable label.
8346 (addExposeFilter): Declare variables before use.
8347 (removeExposeFilter): Likewise.
8348 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8349 (ok_clicked): Declare str_fileName before use.
8350
83512004-03-26 David Jee <djee@redhat.com>
8352
8353 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8354 (addSeparator): Remove.
8355 * java/awt/Menu.java
8356 (separator): Remove static final MenuItem field.
8357 (separatorLabel): New static final String field.
8358 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8359 Use separatorLabel to denote that it is a separator.
8360 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8361 of reusing the static separator instance, because a MenuItem instance
8362 can't be added more than once without being cloned.
8363 * java/awt/peer/MenuPeer.java
8364 (addSeparator): Remove from interface.
8365
83662004-03-26 David Jee <djee@redhat.com>
8367
8368 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8369 (connectSignals): New native method declaration.
8370 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8371 * java/awt/MenuItem.java
8372 (getActionCommand): Return the label if the action command is not set.
8373 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8374 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8375 gtk_menu_shell_append().
8376 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8377 (item_activate): Fix argument type.
8378 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8379 signal here.
8380 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8381 method.
8382 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8383 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8384 given. Add the menu widget's top-level GtkWindow to the global window
8385 group, so it can grab the pointer.
8386 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8387 gtk_menu_shell_append().
8388
83892004-03-23 Graydon Hoare <graydon@redhat.com>
8390
8391 * java/text/AttributedString.java
8392 (addAttribute): Fix off-by-one.
8393 (getIterator): Likewise.
8394 * java/text/AttributedStringIterator.java
8395 (getRunLimit): Correct logic.
8396 (getRunStart): Likewise.
8397 (getAttribute): Fix inequality.
8398 (getAttributes): Likewise.
8399 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8400
84012004-03-23 Kim Ho <kho@redhat.com>
8402
8403 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8404 (calculateSizes): Return real width and height.
8405
84062004-03-23 Kim Ho <kho@redhat.com>
8407
8408 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8409 (calculateTabRects): Set the selectedRun before
8410 trying to rotate tabs.
8411
84122004-03-23 Kim Ho <kho@redhat.com>
8413
8414 * Makefile.am: New file
8415 * Makefile.in: Regenerate
8416 * java/awt/Graphics.java: (drawRect):
8417 Draw to the correct point.
8418 * javax/swing/DefaultSingleSelectionModel.java
8419 (isSelected): Return true if the selected index
8420 is not -1.
8421 * javax/swing/JLabel.java: Do not change mnemonic
8422 index if text is null.
8423 * javax/swing/JProgressBar.java: Use JComponent's
8424 EventListenerList.
8425 * javax/swing/JScrollBar.java: Ditto.
8426 * javax/swing/JSlider.java: Ditto.
8427 * javax/swing/JTabbedPane.java: Reimplement.
8428 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8429 Add defaults for TabbedPane.
8430 * javax/swing/plaf/basic/BasicArrowButton.java:
8431 Implement
8432 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8433 (paintDeterminate): Don't paint String if it's
8434 empty.
8435 (paintIndeterminate): ditto.
8436 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8437 Reimplement.
8438
84392004-03-19 Michael Koch <konqueror@gmx.de>
8440
8441 * java/awt/image/AffineTransformOp.java
8442 (AffineTransformOp): Made public.
8443 * javax/swing/JComponent.java
8444 (listenerList): Made protected.
8445 (accessibleContext): Likewise.
8446 * javax/swing/JList.java
8447 (valueChanged): Dont use internal fields of ListSelectionEvent.
8448 * javax/swing/JViewport.java
8449 (getView): Dont use internal fields of Component.
8450 (addImpl): Likewise.
8451 * javax/swing/Timer.java
8452 (isRunning): Made public.
8453 (start): Likewise.
8454 (stop): Likewise.
8455 * javax/swing/UIDefaults.java
8456 (getInt): Made public.
8457 * javax/swing/plaf/basic/BasicListUI.java
8458 (mousePressed): Dont use internal fields of MouseEvent.
8459 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8460 * javax/swing/plaf/basic/BasicScrollBarUI.java
8461 (arrowIcon): Made static.
8462 * javax/swing/plaf/basic/BasicViewportUI.java
8463 (stateChanged): Dont use internal field on ChangeEvent.
8464 * javax/swing/text/JTextComponent.java
8465 (getUI): Call UIManager.getUI().
8466 (updateUI): Use getUI().
8467
84682004-03-19 Graydon Hoare <graydon@redhat.com>
8469
8470 * javax/swing/JComponent.java: Turn off double buffer by default.
8471 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8473 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8474 Use cairo to copy areas.
8475 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8476 Initialize and set clip region.
8477
84782004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8479
8480 * java/applet/Applet.java (preferredSize): Override deprecated
8481 variant of getPreferredSize.
8482 (minimumSize): Override deprecated variant of getMinimumSize.
8483
84842004-03-15 Olga Rodimina <rodimina@redhat.com>
8485
8486 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8487 (drawImage(img,xform,bgcolor,obs)): New Method.
8488 Helper function that every drawImage method will
8489 use.
8490 (drawRaster): Added new parameter, bgcolor. All
8491 transparent pixels are changed to bgcolor before
8492 image is drawn.
8493 (drawRenderedImage): Fixed to use changed drawRaster().
8494 (drawImage(image,xform,obs): Fixed to use new helper function
8495 (drawImage(image,op,x,y)): Ditto.
8496 (drawImage (img,x,y,observer)): Ditto.
8497 ((PainterThread) bgcolor): New Field.
8498 ((PainterThread) (setPixels)): Changed all transparent pixels
8499 to bgcolor.
8500 (drawImage(img,x,y,width,height,bgcolor,observer)):
8501 Fixed FIXME - all the transparent pixels are
8502 changed to the specified bgcolor.
8503 (drawImage(img, x, y, width, height, observer): Changed to
8504 use function above.
8505 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8506 Fixed FIXME- changed all transparent pixels to bgcolor.
8507 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8508 Changed to use function above.
8509
85102004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8511
8512 * java/applet/Applet.java (dimensions): New field.
8513 (getDimensions): New method.
8514 (getPreferredSize): Call getDimensions.
8515 (getMinimumSize): Likewise.
8516
85172004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8518
8519 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8520 * jni/classpath/jnilink.c: Likewise.
8521
8522 * java/applet/Applet.java (getPreferredSize): New method.
8523 (getMinimumSize): New method.
8524
245c3c04
BM
85252004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8526
8527 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8528 (_Jv_AllocObjectNoFinalizer): Likewise.
8529 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8530 (_Jv_AllocPtrFreeObject): Likewise.
8531 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8532 directly even in the JVMPI case.
8533 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8534 _Jv_AllocObject calls.
8535 * gcj/javaprims.h: Update prototypes.
8536 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8537 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8538 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8539
d7afe286
BM
85402004-04-14 Andrew Haley <aph@redhat.com>
8541 Bryce McKinlay <mckinlay@redhat.com>
8542
8543 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8544 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8545 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8546
8547 * testsuite/libjava.lang/InvokeInterface.java: New file.
8548 * testsuite/libjava.lang/InvokeInterface.out: New file.
8549
84264cb6
RM
85502004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8551
8552 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8553 modified lookup().
8554 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8555 StackTraceElement directly.
8556 (newElement): New native helper method to create StackTraceElement
8557 bypassing Java access control.
8558 (createStackTraceElement): Use newElement() instead of directly
8559 calling StackTraceElement's constructor.
8560 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8561
2b6b5c35
MK
85622004-04-01 Michael Koch <konqueror@gmx.de>
8563
8564 * java/lang/SecurityManager.java
8565 (checkAwtEventQueueAccess): Implemented.
8566
1c19eacc
GB
85672004-04-01 Gary Benson <gbenson@redhat.com>
8568
8569 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8570 (_Jv_SearchMethodInClass): Likewise.
8571
99b43239
PM
85722004-03-26 Peter Moon <peterm@miraculum.com>
8573
8574 * java/text/NumberFormat.java: Fix spelling of setCurrency
8575 method.
8576
95e59f1a
AG
85772004-03-21 Anthony Green <green@redhat.com>
8578
8579 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8580 recursion when searching for the system ClassLoader.
8581
de205e06
IK
85822004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8583
8584 * java/net/ServerSocket.java
8585 (accept): Close the socket when error occured.
8586
bdf11d55
JF
85872004-03-21 Jeroen Frijters <jeroen@frijters.net>
8588
8589 * java/net/URI.java (parseURI): Added unquoting.
8590 (unquote): New method.
8591 (quoteAuthority): Implemented.
8592 (quote(String,String)): New method.
8593 (quotePath): Implemented.
8594 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8595 (getSchemeSpecificPart): Removed FIXME comment.
8596 (getRawAuthority): Return new rawAuthority field.
8597 (getAuthority): Removed FIXME comment.
8598 (getRawUserInfo): Return new rawUserInfo field.
8599 (getUserInfo): Removed FIXME comment.
8600 (getRawPath): Return new rawPath field.
8601 (getPath): Removed FIXME comment.
8602 (getRawQuery): Return new rawQuery field.
8603 (getQuery): Removed FIXME comment.
8604 (getRawFragment): Return new rawFragment field.
8605 (getFragment): Removed FIXME comment.
8606
0d13be1e
MK
86072004-03-20 Michael Koch <konqueror@gmx.de>
8608
8609 * java/net/URLConnection.java: Merged copyright year with classpath.
8610
f903e73b
NF
86112004-03-20 Norbert Frese <postfach@nfrese.net>
8612
8613 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8614 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8615 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8616 rmi-message.
8617 (getObjectInputStream): Return object reference, throw IOException if null.
8618 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8619 (getObjectOutputStream): Return object reference, throw IOException if null.
8620 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8621 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8622 (UnicastConnectionManager): Throw RemoteException if port is not available.
8623 (getInstance): Throw RemoteException.
8624 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8625 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8626 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8627 Collect Exceptions which are returned by a rmi-call and fix void returns.
8628 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8629 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8630 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8631 (dispatch): Answer ping messages which are sent by other java implementions.
8632 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8633 for every rmi-message and fix void return problems.
8634 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8635 (UnicastServerRef): Throw RemoteException.
8636 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8637 In some situations it is necessary to export a subclass of the class which has the _Stub.
8638 For instance when the class with has the _Stub is abstract.
8639 (findStubSkelClass): New method which looks for the class which has the _Stub.
8640 (getClientHost): Implementated.
8641 * gcc/libjava/java/rmi/server/RemoteServer.java
8642 (getClientHost): Implementated.
8643 * gcc/libjava/Makefile.am (rmi_java_source_files):
8644 Added gnu/java/rmi/server/RMIIncomingThread.java.
8645 * Makefile.in: Regenerated.
8646
7f5773c6
MK
86472004-03-20 Michael Koch <konqueror@gmx.de>
8648
8649 * java/net/InetAddress.java
8650 (getLocalHostname): Added javadoc.
8651
ab16524d
PB
86522004-03-19 Per Bothner <per@bothner.com>
8653
8654 * configure.in: FILE variable overrides FLATFORM when linking
8655 natFileChannelXXX.cc.
8656
8657 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8658 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8659
0fca95f5
PB
86602004-03-19 Per Bothner <per@bothner.com>
8661
8662 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8663 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8664 * Makefile.am: Update accordingly.
8665 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8666 as aliases for UnicodeLittle and UnicodeBig.
8667
edb3d426
MW
86682004-03-20 Mark Wielaard <mark@klomp.org>
8669
8670 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8671 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8672 Don't access ws when it is null.
8673 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8674 Likewise.
8675
b121dcb5
JF
86762004-03-19 Jeroen Frijters <jeroen@frijters.net>
8677
8678 * java/lang/ThreadGroup.java (list): Changed print to println.
8679
44b20223
MW
86802004-03-19 Mark Wielaard <mark@klomp.org>
8681
8682 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8683 happy.
8684
f94b0887
RC
86852004-02-10 Randolph Chung <tausq@debian.org>
8686
8687 * configure.in: Build java for hppa target.
8688 * configure: Regenerate.
8689 * libjava/configure.host (hppa-*): Add target.
8690 * libjava/sysdeps/pa/lock.h: New file.
8691
d511a273
MW
86922004-03-19 Mark Wielaard <mark@klomp.org>
8693
8694 Reported by Stephen Crawley
8695 * java/io/FilePermission.java (implies): Use String.length() -1 to
8696 access last char of String.
8697
9c6637c8
MK
86982004-03-19 Michael Koch <konqueror@gmx.de>
8699
8700 * java/awt/image/AffineTransformOp.java
8701 (AffineTransformOp): Made public.
8702 * javax/swing/JComponent.java
8703 (listenerList): Made protected.
8704 (accessibleContext): Likewise.
8705 * javax/swing/JList.java
8706 (valueChanged): Dont use internal fields of ListSelectionEvent.
8707 * javax/swing/JViewport.java
8708 (getView): Dont use internal fields of Component.
8709 (addImpl): Likewise.
8710 * javax/swing/Timer.java
8711 (isRunning): Made public.
8712 (start): Likewise.
8713 (stop): Likewise.
8714 * javax/swing/UIDefaults.java
8715 (getInt): Made public.
8716 * javax/swing/plaf/basic/BasicListUI.java
8717 (mousePressed): Dont use internal fields of MouseEvent.
8718 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8719 * javax/swing/plaf/basic/BasicScrollBarUI.java
8720 (arrowIcon): Made static.
8721 * javax/swing/plaf/basic/BasicViewportUI.java
8722 (stateChanged): Dont use internal field on ChangeEvent.
8723 * javax/swing/text/JTextComponent.java
8724 (getUI): Call UIManager.getUI().
8725 (updateUI): Use getUI().
8726
165c9b04
RO
87272004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8728
8729 * verify.cc: Undef PC.
8730
138f5109
MK
87312004-03-18 Michael Koch <konqueror@gmx.de>
8732
8733 * java/nio/channels/spi/AbstractSelectableChannel.java
8734 (keys): Initialize at declaration.
8735 (locate): keys cant be null.
8736 (add): Removed.
8737 (addSelectionKey): New method.
8738 (removeSelectionKey): New method.
8739 * java/nio/channels/spi/AbstractSelectionKey.java
8740 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8741 * java/nio/channels/spi/AbstractSelector.java
8742 (provider): Javadoc added.
8743 (cancelledKeys): Javadoc added.
8744 (cancelKey): Javadoc added, add key to cancelledKeys.
8745 (deregister): Implemented.
8746
acc63e4c
RO
87472004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8748
8749 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8750 MAP_FAILED to void *.
8751
86881a7b
GH
87522004-03-12 Graydon Hoare <graydon@redhat.com>
8753
8754 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8755 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8756 * javax/swing/JList.java (ListListener): Revalidate on changes.
8757 * javax/swing/JScrollPane.java: Reimplement.
8758 * javax/swing/JViewport.java: Reimplement.
8759 * javax/swing/ScrollPaneLayout.java: Reimplement.
8760 * javax/swing/ViewportLayout.java: Tidy up.
8761 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8762 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8763 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8764 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8765 backing store only.
8766
87672004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8768
8769 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8770 (window_wm_protocols_filter): New function.
8771 (window_focus_in_cb): Remove function.
8772 (window_focus_out_cb): Likewise.
8773 (window_focus_or_active_state_change_cb): New function.
8774 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8775 (connectSignals): Don't attach handlers to focus-in-event or
8776 focus-out-event signals. Handle notify signal.
8777
87782004-03-11 David Jee <djee@redhat.com>
8779
8780 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8781 (gtkSetLabel): New native method declaration.
8782 (setLabel): Use gtkSetLabel.
8783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8784 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8785
87862004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8787
8788 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8789 black when color argument is null.
8790
87912004-03-10 Kim Ho <kho@redhat.com>
8792
8793 * java/awt/Container.java: Remove check
8794 for drag events.
8795
87962004-03-10 Kim Ho <kho@redhat.com>
8797
8798 * java/awt/Container.java: (visitChild):
8799 Remove candidate clip. Use the component
8800 clip to intersect.
8801 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8802 (handleEvent): Use the PaintEvent's clip.
8803
88042004-03-10 Kim Ho <kho@redhat.com>
8805
8806 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8807 (handleEvent): Don't set the clip for the
8808 Graphics object.
8809
88102004-03-09 Graydon Hoare <graydon@redhat.com>
8811
8812 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8813 Fix double <-> fixed macros, reset font transform.
8814 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8815 Likewise.
8816
8817