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