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