1 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
3 * java/security/Security.java
4 (static): Use AccessController.doPrivileged to get system property.
6 2004-10-18 Sven de Marothy <sven@physto.se>
8 * java/nio/ByteBufferHelper.java
9 (putDouble): Use Double.toRawLongBits instead.
11 2004-10-18 Mark Wielaard <mark@klomp.org>
12 Andrew Haley <aph@redhat.com>
14 * testsuite/libjava.lang/ExtraClassLoader.java: New.
16 2004-10-18 Andrew Haley <aph@redhat.com>
19 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
20 and correct logic used to find interpreter.
22 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
24 * java/util/logging/LogManager.java
25 (findAncestor): Fixed IndexOutOfBoundsException.
27 2004-10-18 Michael Koch <konqueror@gmx.de>
29 * java/io/BufferedInputStream.java: Fixed @author tag.
30 (read): Simplified expression.
31 (read): Merged javadoc a bit more.
32 (read): Renamed 'remain' to 'totalBytesRead'.
33 * java/io/DataInputStream.java,
34 java/io/DataOutputStream.java,
35 java/io/ObjectInputStream.java,
36 java/io/ObjectOutputStream.java:
37 Reworked modifier order.
39 2004-10-18 Michael Koch <konqueror@gmx.de>
41 * java/net/Inet4Address.java: Merged file header and javadocs.
42 * java/net/Inet6Address.java: Likewise.
43 * java/net/InetAddress.java
44 (getCanonicalHostName): Create Inet4Address object instead of
45 InetAddress and add comment regarding IPv6.
46 (toString): Simplified.
48 2004-10-18 Michael Koch <konqueror@gmx.de>
50 * gnu/java/net/protocol/http/Connection.java,
51 java/nio/MappedByteBufferImpl.java,
52 java/text/RuleBasedCollator.java,
53 java/util/ResourceBundle.java:
54 Reworked import statements.
56 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
58 * java/security/IdentityScope.java
59 (systemScope): Removed useless initializer.
60 * java/security/Policy.java
61 (currentPolicy): Likewise.
63 2004-10-18 Michael Koch <konqueror@gmx.de>
65 * java/lang/System.java: Revert accidential change.
67 2004-10-18 Michael Koch <konqueror@gmx.de>
69 * java/lang/Math.java,
70 java/lang/Package.java,
71 java/lang/Runtime.java,
72 java/lang/StrictMath.java,
73 java/lang/System.java,
74 java/lang/Thread.java,
75 java/lang/ThreadLocal.java,
77 Reworked import statements, HTML in javadocs and modifier orders.
79 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
81 * java/util/Timer.java
82 (nr): Removed useless initializer.
83 * java/util/logging/LogRecord.java
84 (lastSeqNum): Likewise.
85 * javax/naming/spi/NamingManager.java
86 (icfb, ofb): Likewise.
88 2004-10-18 Michael Koch <konqueror@gmx.de>
90 * gnu/java/net/PlainDatagramSocketImpl.java:
91 Reworked import statements.
92 * gnu/java/security/provider/DSAParameters.java:
93 Fixed copyrigth years.
94 * java/net/JarURLConnection.java:
95 Fixed HTML in @author tags.
98 2004-10-18 Michael Koch <konqueror@gmx.de>
100 * java/rmi/activation/ActivationSystem.java
101 (SYSTEM_PORT): Initialize with correct port number.
103 2004-10-18 Michael Koch <konqueror@gmx.de>
105 * java/lang/reflect/Proxy.java: Improved javadocs.
107 2004-10-18 Michael Koch <konqueror@gmx.de>
109 * java/lang/reflect/AccessibleObject.java
110 (checkPermission): Removed redundant final modifier.
111 (secureSetAccessible): Likewise.
112 * java/lang/reflect/Proxy.java:
113 Reworked import statements.
114 (generate): Removed redundant final modifier.
115 * java/lang/reflect/ReflectPermission.java:
116 Reorder package declaration and import statement.
118 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
120 * java/lang/reflect/Proxy.java
121 (count): Removed useless initializer.
123 2004-10-17 Michael Koch <konqueror@gmx.de>
125 * java/net/BindException.java,
126 java/net/ConnectException.java,
127 java/net/ContentHandler.java,
128 java/net/ContentHandlerFactory.java,
129 java/net/DatagramPacket.java,
130 java/net/DatagramSocket.java,
131 java/net/DatagramSocketImpl.java,
132 java/net/DatagramSocketImplFactory.java,
133 java/net/FileNameMap.java,
134 java/net/HttpURLConnection.java,
135 java/net/MalformedURLException.java,
136 java/net/MulticastSocket.java,
137 java/net/NetworkInterface.java,
138 java/net/NoRouteToHostException.java,
139 java/net/PasswordAuthentication.java,
140 java/net/PortUnreachableException.java,
141 java/net/ProtocolException.java,
142 java/net/ServerSocket.java,
143 java/net/Socket.java,
144 java/net/SocketException.java,
145 java/net/SocketImpl.java,
146 java/net/SocketImplFactory.java,
147 java/net/SocketOptions.java,
148 java/net/SocketPermission.java,
149 java/net/SocketTimeoutException.java,
151 java/net/URISyntaxException.java,
153 java/net/URLDecoder.java,
154 java/net/URLEncoder.java,
155 java/net/URLStreamHandler.java,
156 java/net/URLStreamHandlerFactory.java,
157 java/net/UnknownHostException.java,
158 java/net/UnknownServiceException.java:
159 Big import statement and @author tag cleanup.
161 2004-10-17 Michael Koch <konqueror@gmx.de>
163 * gnu/java/security/OID.java,
164 gnu/java/security/provider/DSAParameters.java,
165 gnu/java/security/provider/DSASignature.java,
166 gnu/java/security/x509/X500DistinguishedName.java,
167 gnu/java/security/x509/X509CRL.java:
168 Import statements cleaned up.
170 2004-10-16 Michael Koch <konqueror@gmx.de>
172 * gnu/java/nio/NIODatagramSocket.java,
173 gnu/java/nio/ServerSocketChannelImpl.java:
174 Reorganized import statements.
176 2004-10-16 Michael Koch <konqueror@gmx.de>
178 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
179 gnu/java/rmi/rmic/RMIC.java,
180 gnu/java/rmi/server/RMIHashes.java,
181 gnu/java/rmi/server/RMIObjectInputStream.java,
182 gnu/java/rmi/server/RMIObjectOutputStream.java,
183 gnu/java/rmi/server/UnicastConnection.java,
184 gnu/java/rmi/server/UnicastConnectionManager.java,
185 gnu/java/rmi/server/UnicastRemoteCall.java,
186 gnu/java/rmi/server/UnicastServer.java,
187 gnu/java/rmi/server/UnicastServerRef.java,
188 java/rmi/MarshalledObject.java,
189 java/rmi/Naming.java,
190 java/rmi/RMISecurityManager.java,
191 java/rmi/Remote.java,
192 java/rmi/activation/Activatable.java,
193 java/rmi/activation/ActivationDesc.java,
194 java/rmi/activation/ActivationGroup.java,
195 java/rmi/activation/ActivationGroupDesc.java,
196 java/rmi/activation/ActivationGroupID.java,
197 java/rmi/activation/ActivationID.java,
198 java/rmi/activation/ActivationInstantiator.java,
199 java/rmi/activation/ActivationMonitor.java,
200 java/rmi/activation/ActivationSystem.java,
201 java/rmi/activation/Activator.java,
202 java/rmi/dgc/DGC.java,
203 java/rmi/dgc/Lease.java,
204 java/rmi/dgc/VMID.java,
205 java/rmi/registry/LocateRegistry.java,
206 java/rmi/registry/Registry.java,
207 java/rmi/registry/RegistryHandler.java,
208 java/rmi/server/LoaderHandler.java,
209 java/rmi/server/LogStream.java,
210 java/rmi/server/ObjID.java,
211 java/rmi/server/Operation.java,
212 java/rmi/server/RMIClassLoader.java,
213 java/rmi/server/RMIClassLoaderSpi.java,
214 java/rmi/server/RMIClientSocketFactory.java,
215 java/rmi/server/RMIFailureHandler.java,
216 java/rmi/server/RMIServerSocketFactory.java,
217 java/rmi/server/RMISocketFactory.java,
218 java/rmi/server/RemoteCall.java,
219 java/rmi/server/RemoteObject.java,
220 java/rmi/server/RemoteRef.java,
221 java/rmi/server/RemoteServer.java,
222 java/rmi/server/RemoteStub.java,
223 java/rmi/server/ServerRef.java,
224 java/rmi/server/Skeleton.java,
225 java/rmi/server/SkeletonMismatchException.java,
226 java/rmi/server/UID.java,
227 java/rmi/server/UnicastRemoteObject.java,
228 java/rmi/server/Unreferenced.java:
229 File headers and import statements cleaned up.
231 2004-10-16 Michael Koch <konqueror@gmx.de>
233 * libjava/gnu/java/nio/charset/UTF_16.java,
234 libjava/gnu/java/nio/charset/UTF_16BE.java,
235 libjava/gnu/java/nio/charset/UTF_16LE.java,
236 libjava/java/nio/ByteOrder.java,
237 libjava/java/nio/MappedByteBuffer.java,
238 libjava/java/nio/channels/Channels.java,
239 libjava/java/nio/channels/spi/SelectorProvider.java,
240 libjava/java/nio/charset/Charset.java:
243 2004-10-16 Michael Koch <konqueror@gmx.de>
245 * gnu/java/nio/charset/UTF_16Encoder.java
246 (UTF_16Encoder): Fixed maxBytesPerChar handling.
248 2004-10-16 Michael Koch <konqueror@gmx.de>
250 * java/math/BigDecimal.java, java/math/BigInteger.java:
251 Reorganized import statements, removed redundant and
252 reorganized modifiers.
254 2004-10-16 Michael Koch <konqueror@gmx.de>
256 * gnu/java/beans/ExplicitBeanInfo.java:
257 Explicitely import java.awt.Image.
258 (getIcon): Fixed off-by-one error.
260 2004-10-15 Andrew Haley <aph@redhat.com>
262 * Makefile.am (nat_files, xlib_nat_files): New.
263 * Makefile.in: Regenerate.
265 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
267 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
268 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
270 2004-10-13 Andrew Haley <aph@redhat.com>
272 * interpret.cc (_Jv_InterpMethod::run): Initialize
273 _Jv_StartOfInterpreter.
274 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
275 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
276 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
277 _Unwind_FindEnclosingFunction to discover whether PC is within the
280 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
283 * testsuite/libjava.lang/md5test.java: New file.
284 * testsuite/libjava.lang/md5test.out: Likewise.
285 * testsuite/libjava.lang/shatest.java: Likewise.
286 * testsuite/libjava.lang/shatest.out: Likewise.
288 2004-10-11 Richard Henderson <rth@redhat.com>
290 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
291 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
293 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
295 * java/util/Calendar.java (set): Invalidate DST_OFFSET
296 field as a DST boundary may have been crossed.
297 * java/util/GregorianCalendar.java (add): Throw
298 IllegalArgumentException on attempt to add to DST_OFFSET or
299 ZONE_OFFSET fields. Update javadoc.
301 2004-10-09 Michael Koch <konqueror@gmx.de>
303 * java/io/CharArrayWriter.java
304 (resize): Removed redundant 'final' modifier.
305 * java/io/DataInputStream.java
306 (readFully): Throw IndexOutOfBoundsException of len < 0.
307 * java/io/FileDescriptor.java,
308 java/io/FileInputStream.java,
309 java/io/FileOutputStream.java,
310 java/io/ObjectOutputStream.java,
311 java/io/ObjectStreamClass.java,
312 java/io/PipedInputStream.java,
313 java/io/RandomAccessFile.java:
314 Reorganized import statements.
316 2004-10-09 Michael Koch <konqueror@gmx.de>
318 * gnu/java/rmi/rmic/RMIC.java,
319 gnu/java/rmi/server/RMIHashes.java,
320 gnu/java/rmi/server/RMIObjectInputStream.java,
321 gnu/java/rmi/server/UnicastConnection.java,
322 gnu/java/rmi/server/UnicastConnectionManager.java,
323 gnu/java/rmi/server/UnicastRemoteCall.java,
324 gnu/java/rmi/server/UnicastServerRef.java:
325 Reworked import statements and fixed file headers.
327 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
329 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
331 * configure: Rebuilt.
333 2004-09-30 Tom Tromey <tromey@redhat.com>
335 * java/text/MessageFormat.java (Field): Constructor now
338 2004-09-30 Tom Tromey <tromey@redhat.com>
340 * javax/crypto/MacSpi.java: Fixed typo.
342 2004-09-30 Michael Koch <konqueror@gmx.de>
344 * java/net/InetAddress.java: Reformatted.
345 (loopback): Initialize with Inet4Address object.
346 (static): Initialize ANY_IF with Inet4Address object.
347 (InetAddress): Removed unused package-private constructor.
349 2004-09-30 Michael Koch <konqueror@gmx.de>
351 * java/beans/Beans.java,
352 java/beans/EventHandler.java,
353 java/beans/EventSetDescriptor.java,
354 java/beans/Introspector.java,
355 java/beans/PropertyEditorManager.java,
356 java/beans/beancontext/BeanContext.java,
357 java/beans/beancontext/BeanContextChild.java,
358 java/beans/beancontext/BeanContextChildSupport.java,
359 java/beans/beancontext/BeanContextMembershipEvent.java:
360 Reordered import statements and removed redundant modifiers.
362 2004-09-29 Tom Tromey <tromey@redhat.com>
365 * Makefile.in: Rebuilt.
366 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
368 (all_property_files): New macro.
370 * Makefile.in: Rebuilt.
371 * Makefile.am (ordinary_java_source_files): Re-sorted.
372 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
374 2004-09-28 Tom Tromey <tromey@redhat.com>
376 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
379 * Makefile.am (libgcj.la): Restored.
380 * Makefile.in: Rebuilt.
382 2004-09-28 Michael Koch <konqueror@gmx.de>
384 * java/net/URLConnection.java: Reformatted.
385 * java/net/URLClassLoader.java: Reformatted.
386 (getContent): Reordered return of content.
387 (getContentHandler): Don't check for null explicitely.
389 2004-09-27 Michael Koch <konqueror@gmx.de>
391 * java/io/BufferedInputStream.java
392 (BufferedInputStream): Added Jeroen Frijters to authors.
393 (count): Don't explicitely initialize with default value.
395 (marklimit): Likewise.
396 (read): Changed boolean expression to match GNU classpath' version.
397 (reset): Add proper message to exception.
398 (skip): Check for closed stream.
401 2004-09-26 Per Bothner <per@bothner.com>
403 * prims.cc (unblock_signal): Annotate signum with __unused__ to
404 avoid warnings in the non-POSIX_VERSION case.
405 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
406 so place it inside an #if block.
407 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
408 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
409 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
410 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
412 2004-09-26 Per Bothner <per@bothner.com>
414 * prims.cc (process_gcj_properties): Optimization.
416 2004-09-26 Per Bothner <per@bothner.com>
418 * java/util/Collections.java (sort): Copy from array in forwards
419 order, rather than reverse order which may be much less efficient.
421 2004-09-26 Mark Wielaard <mark@klomp.org>
423 * java/lang/System.java (properties): Make package private.
424 * java/lang/Throwable.java (StaticData.nl): Initialize through
425 directly accessing System.properties.getProperty().
427 * java/lang/Throwable.java (nl): Remove static field.
428 (StaticData): New private static inner class.
429 (stackTraceStringBuffer): Use StaticData.nl.
431 2004-09-26 Casey Marshall <csm@gnu.org>
433 * java/security/ProtectionDomain.java
434 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
437 * java/security/SecureClassLoader.java
438 (defineClass): make protection domain dynamically bound.
439 (getPermissions): call `getCurrentPolicy' to avoid permission
442 2004-09-25 Mark Wielaard <mark@klomp.org>
444 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
445 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
446 * Makefile.in: Regenerated.
448 * gcj/javaprims.h: Regenerated.
450 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
451 (getDefaultTimeZone): Make package private. Check that GMToffset
452 contains at least one digit.
453 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
455 * util/VMTimeZone.java: New file with above methods.
457 * java/util/natTimeZone.cc: Removed (renamed).
458 * java/util/natVMTimeZone.cc: Added (renamed).
460 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
462 * java/util/TimeZone.java
463 (getDefaultTimeZone): Fixed test to distinguish between hours and
464 minutes in specified timezone.
466 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
468 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
469 handling of default package. (generate): Removed confused comments
470 and code about making Method and Field accessible.
472 2004-09-25 Tom Tromey <tromey@redhat.com>
475 * testsuite/libjava.compile/pr17500.java: New file.
477 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
478 Mark Wielaard <mark@klomp.org>
480 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
481 * gnu/regexp/RETokenLookAhead.java: New file.
483 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
484 * Makefile.in: Regenerated.
486 2004-09-25 Michael Koch <konqueror@gmx.de>
488 * java/io/ObjectStreamField.java:
489 Removed unused import statement.
491 2004-09-24 Tom Tromey <tromey@redhat.com>
494 * testsuite/libjava.compile/pr15656.xfail: New file.
495 * testsuite/libjava.compile/pr15656.java: new file.
498 * testsuite/libjava.lang/pr16789.out: New file.
499 * testsuite/libjava.lang/pr16789.java: New file.
501 2004-09-24 Andrew Haley <aph@redhat.com>
504 * testsuite/libjava.compile/AssertBug.java: New file.
506 2004-09-24 Casey Marshall <csm@gnu.org>
508 * java/util/PropertyPermissionCollection.java
509 (implies): avoid infinite loop.
511 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
513 * javax/security/auth/PrivateCredentialPermission.java
514 (PrivateCredentialPermission): added serialization UID
517 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
519 * gnu/java/rmi/server/UnicastServer.java
520 (incomingMessageCall): Added code to handle Errors.
521 * gnu/java/rmi/server/UnicastServerRef.java
522 (incomingMessageCall): Added code to handle Errors.
525 2004-09-24 Tom Tromey <tromey@redhat.com>
527 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
528 (definedPackages): Likewise.
530 2004-09-24 Michael Koch <konqueror@gmx.de>
532 * java/io/ObjectInputStream.java:
535 2004-09-24 Casey Marshall <csm@gnu.org>
537 * java/io/ObjectInputStream.java (callReadMethod): re-throw
538 `ClassNotFoundException'.
540 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
542 * java/io/ObjectInputStream.java (readObject): Delegate instantation
543 of Externalizable classes to ObjectStreamClass.
544 * java/io/ObjectStreamClass.java (newInstance): New method to
545 instantiate Externalizable (while ignoring the accessibility of
546 the constructor). (constructor): New field to cache the constructor.
548 2004-09-24 Mark Wielaard <mark@klomp.org>
550 * java/net/URL.java (systemClassLoader): New static field.
551 (getURLStreamHandler): Always use system/application classloader
552 for finding URLStreamhandler. Remove unecessary instanceof checks.
554 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
557 (set): This method now matches the behaviour of the JDK.
558 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
560 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
562 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
564 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
566 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
567 Don't set authority if host isn't specified.
569 2004-09-24 Michael Koch <konqueror@gmx.de>
571 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
572 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
573 * gnu/java/nio/VMPipe.java,
574 gnu/java/nio/VMSelector.java:
576 * gnu/java/nio/natPipeImplEcos.cc,
577 gnu/java/nio/natPipeImplPosix.cc,
578 gnu/java/nio/natPipeImplWin32.cc:
580 * gnu/java/nio/natSelectorImplEcos.cc,
581 gnu/java/nio/natSelectorImplPosix.cc,
582 gnu/java/nio/natSelectorImplWin32.cc:
583 Ported to VMSelector.
584 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
585 gnu/java/nio/VMSelector.java.
586 * Makefile.in: Regenerated.
588 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
590 * java/lang/StackTraceElement.java
591 (className): Renamed field to declaringClass to be compatible
592 with Sun serialization format.
594 2004-09-23 Michael Koch <konqueror@gmx.de>
596 * java/applet/AppletContext.java,
597 java/applet/Applet.java,
598 java/applet/AppletStub.java,
599 java/applet/AudioClip.java:
600 Jalopied and checkstyle clean.
602 2004-09-23 Mark Wielaard <mark@klomp.org>
604 * java/util/Collections.java
605 (binarySearch(List, Object, Comparator)): Explicitly
606 reverse direction in list iterator.
607 (rotate): Just return when list is empty.
609 2004-09-23 Tom Tromey <tromey@redhat.com>
612 * testsuite/libjava.compile/pr17329.java: New file.
615 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
618 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
620 * Makefile.am: Run aclocal with -I ../config
621 * acinclude.m4: Delete macros picked up from ../config and tidy.
622 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
623 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
624 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
626 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
628 * aclocal.m4: Regenerate with aclocal 1.9.2.
629 * configure: Regenerate.
630 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
631 * include/Makefile.in, testsuite/Makefile.in: Likewise.
633 2004-09-22 David Daney <ddaney@avtrex.com>
636 * java/net/URL.java (URL): Copy userInfo from context.
637 (getUserInfo): Return cached userInfo if present.
639 2004-09-22 Tom Tromey <tromey@redhat.com>
642 * mauve-libgcj: Enable java.lang.Character tests.
644 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
646 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
648 (lib_org_ietf_jgss_la_LIBADD): Likewise.
649 * Makefile.in: Regenerated.
651 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
653 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
654 * configure: Regenerate.
655 * include/config.h.in: Likewise.
656 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
657 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
659 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
660 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
661 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
666 2004-09-22 Tom Tromey <tromey@redhat.com>
669 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
671 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
673 (read()): New overload.
675 2004-09-21 Tom Tromey <tromey@redhat.com>
677 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
680 2004-09-21 Michael Koch <konqueror@gmx.de>
682 * java/net/Socket.java
683 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
685 2004-09-21 Casey Marshall <csm@gnu.org>
687 * javax/crypto/MacSpi.java (clone): Provide meaningful
690 2004-09-21 Tom Tromey <tromey@redhat.com>
693 * Makefile.in: Rebuilt.
694 * Makefile.am (MOSTLYCLEANFILES): Removed.
695 (mostlyclean-local): Remove header files.
697 2004-09-21 Casey Marshall <csm@gnu.org>
699 * java/security/cert/X509CRLSelector.java:
700 (match): remove unreachable try-catch clauses.
701 Reported by: Dalibor Topic <robilad@kaffe.org>
703 2004-09-21 Mark Wielaard <mark@klomp.org>
705 * java/util/TreeMap.java (root): Don't initialize.
706 (TreeMap(Comparator)): Call fabricateTree(0).
707 (fabricateTree): Initialize root and size when count is 0.
709 2004-09-21 Sven de Marothy <sven@physto.se>
711 * java/nio/ByteBuffer.java (hashCode): Implemented.
712 * java/nio/CharBuffer.java: Likewise.
713 * java/nio/DoubleBuffer.java: Likewise.
714 * java/nio/FloatBuffer.java: Likewise.
715 * java/nio/LongBuffer.java: Likewise.
716 * java/nio/IntBuffer.java: Likewise.
717 * java/nio/ShortBuffer.java: Likewise.
719 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
721 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
723 2004-09-21 Michael Koch <konqueror@gmx.de>
725 * javax/net/ssl/SSLServerSocket.java:
726 Removed comment about "Do not edit this file, it's generated.".
728 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
730 Import the big Crypto/Jessie/Security merge from Classpath.
732 * Makefile.am: Add imported files.
733 * Makefile.in: Regenerate.
735 2004-08-14 Casey Marshall <csm@gnu.org>
737 The Big Crypto Merge of 2004.
739 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
742 Files imported from GNU Crypto.
743 * javax/crypto/BadPaddingException.java
744 * javax/crypto/Cipher.java
745 * javax/crypto/CipherInputStream.java
746 * javax/crypto/CipherOutputStream.java
747 * javax/crypto/CipherSpi.java
748 * javax/crypto/EncryptedPrivateKeyInfo.java
749 * javax/crypto/ExemptionMechanism.java
750 * javax/crypto/ExemptionMechanismException.java
751 * javax/crypto/ExemptionMechanismSpi.java
752 * javax/crypto/IllegalBlockSizeException.java
753 * javax/crypto/KeyAgreement.java
754 * javax/crypto/KeyAgreementSpi.java
755 * javax/crypto/KeyGenerator.java
756 * javax/crypto/KeyGeneratorSpi.java
757 * javax/crypto/Mac.java
758 * javax/crypto/MacSpi.java
759 * javax/crypto/Makefile.am
760 * javax/crypto/NoSuchPaddingException.java
761 * javax/crypto/NullCipher.java
762 * javax/crypto/NullCipherImpl.java
763 * javax/crypto/SealedObject.java
764 * javax/crypto/SecretKey.java
765 * javax/crypto/SecretKeyFactory.java
766 * javax/crypto/SecretKeyFactorySpi.java
767 * javax/crypto/ShortBufferException.java
768 * javax/crypto/interfaces/DHKey.java
769 * javax/crypto/interfaces/DHPrivateKey.java
770 * javax/crypto/interfaces/DHPublicKey.java
771 * javax/crypto/interfaces/PBEKey.java
772 * javax/crypto/spec/DESKeySpec.java
773 * javax/crypto/spec/DESedeKeySpec.java
774 * javax/crypto/spec/DHGenParameterSpec.java
775 * javax/crypto/spec/DHParameterSpec.java
776 * javax/crypto/spec/DHPrivateKeySpec.java
777 * javax/crypto/spec/DHPublicKeySpec.java
778 * javax/crypto/spec/IvParameterSpec.java
779 * javax/crypto/spec/PBEKeySpec.java
780 * javax/crypto/spec/PBEParameterSpec.java
781 * javax/crypto/spec/RC2ParameterSpec.java
782 * javax/crypto/spec/RC5ParameterSpec.java
783 * javax/crypto/spec/SecretKeySpec.java
784 * javax/security/auth/AuthPermission.java
785 * javax/security/auth/DestroyFailedException.java
786 * javax/security/auth/Destroyable.java
787 * javax/security/auth/Policy.java
788 * javax/security/auth/PrivateCredentialPermission.java
789 * javax/security/auth/RefreshFailedException.java
790 * javax/security/auth/Refreshable.java
791 * javax/security/auth/Subject.java
792 * javax/security/auth/SubjectDomainCombiner.java
793 * javax/security/auth/callback/Callback.java
794 * javax/security/auth/callback/CallbackHandler.java
795 * javax/security/auth/callback/ChoiceCallback.java
796 * javax/security/auth/callback/ConfirmationCallback.java
797 * javax/security/auth/callback/LanguageCallback.java
798 * javax/security/auth/callback/NameCallback.java
799 * javax/security/auth/callback/PasswordCallback.java
800 * javax/security/auth/callback/TextInputCallback.java
801 * javax/security/auth/callback/TextOutputCallback.java
802 * javax/security/auth/callback/UnsupportedCallbackException.java
803 * javax/security/auth/login/AccountExpiredException.java
804 * javax/security/auth/login/AppConfigurationEntry.java
805 * javax/security/auth/login/Configuration.java
806 * javax/security/auth/login/CredentialExpiredException.java
807 * javax/security/auth/login/FailedLoginException.java
808 * javax/security/auth/login/LoginContext.java
809 * javax/security/auth/login/LoginException.java
810 * javax/security/auth/login/NullConfiguration.java
811 * javax/security/auth/x500/X500PrivateCredential.java
812 * javax/security/sasl/AuthenticationException.java
813 * javax/security/sasl/AuthorizeCallback.java
814 * javax/security/sasl/RealmCallback.java
815 * javax/security/sasl/RealmChoiceCallback.java
816 * javax/security/sasl/Sasl.java
817 * javax/security/sasl/SaslClient.java
818 * javax/security/sasl/SaslClientFactory.java
819 * javax/security/sasl/SaslException.java
820 * javax/security/sasl/SaslServer.java
821 * javax/security/sasl/SaslServerFactory.java
822 * org/ietf/jgss/ChannelBinding.java
823 * org/ietf/jgss/GSSContext.java
824 * org/ietf/jgss/GSSCredential.java
825 * org/ietf/jgss/GSSException.java
826 * org/ietf/jgss/GSSManager.java
827 * org/ietf/jgss/GSSName.java
828 * org/ietf/jgss/MessageProp.java
829 * org/ietf/jgss/Oid.java
830 * org/ietf/jgss/MessagesBundle.properties
832 Files imported from Jessie <http://www.nongnu.org/jessie/>
833 * javax/net/ServerSocketFactory.java
834 * javax/net/SocketFactory.java
835 * javax/net/VanillaServerSocketFactory.java
836 * javax/net/VanillaSocketFactory.java
837 * javax/net/ssl/HandshakeCompletedEvent.java
838 * javax/net/ssl/HandshakeCompletedListener.java
839 * javax/net/ssl/HostnameVerifier.java
840 * javax/net/ssl/HttpsURLConnection.java
841 * javax/net/ssl/KeyManager.java
842 * javax/net/ssl/KeyManagerFactory.java
843 * javax/net/ssl/KeyManagerFactorySpi.java
844 * javax/net/ssl/ManagerFactoryParameters.java
845 * javax/net/ssl/SSLContext.java
846 * javax/net/ssl/SSLContextSpi.java
847 * javax/net/ssl/SSLException.java
848 * javax/net/ssl/SSLHandshakeException.java
849 * javax/net/ssl/SSLKeyException.java
850 * javax/net/ssl/SSLPeerUnverifiedException.java
851 * javax/net/ssl/SSLPermission.java
852 * javax/net/ssl/SSLProtocolException.java
853 * javax/net/ssl/SSLServerSocket.java
854 * javax/net/ssl/SSLServerSocketFactory.java
855 * javax/net/ssl/SSLSession.java
856 * javax/net/ssl/SSLSessionBindingEvent.java
857 * javax/net/ssl/SSLSessionBindingListener.java
858 * javax/net/ssl/SSLSessionContext.java
859 * javax/net/ssl/SSLSocket.java
860 * javax/net/ssl/SSLSocketFactory.java
861 * javax/net/ssl/TrivialHostnameVerifier.java
862 * javax/net/ssl/TrustManager.java
863 * javax/net/ssl/TrustManagerFactory.java
864 * javax/net/ssl/TrustManagerFactorySpi.java
865 * javax/net/ssl/X509KeyManager.java
866 * javax/net/ssl/X509TrustManager.java
867 * javax/security/cert/Certificate.java
868 * javax/security/cert/CertificateEncodingException.java
869 * javax/security/cert/CertificateException.java
870 * javax/security/cert/CertificateExpiredException.java
871 * javax/security/cert/CertificateNotYetValidException.java
872 * javax/security/cert/CertificateParsingException.java
873 * javax/security/cert/X509CertBridge.java
874 * javax/security/cert/X509Certificate.java
876 2004-08-20 Casey Marshall <csm@gnu.org>
878 * java/security/cert/X509CRLSelector.java: New file.
879 * java/security/cert/X509CertSelector.java: New file.
881 2004-09-15 Michael Koch <konqueror@gmx.de>
883 * gnu/java/net/protocol/file/Handler.java
884 (openConnection): Don't throw exception if host part for file: URI is
885 present. setURL() keeps file: protocol if ftp: protocol is not
888 2004-09-14 Richard Henderson <rth@redhat.com>
890 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
893 2004-09-12 Tom Tromey <tromey@redhat.com>
895 * javax/naming/CompoundName.java (CompoundName): Don't check for
896 separator in "flat" case.
898 2004-09-12 Michael Koch <konqueror@gmx.de>
900 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
901 AM_CONFIG_HEADER by AC_CONFIG_FILES.
902 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
905 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
908 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
909 handle in newly-allocated _Jv_Thread_t.
910 (_Jv_ThreadDestroyData): Close thread handle.
911 (_Jv_ThreadStart): Remove obsolete comment.
912 Store handle of newly-created thread in _Jv_Thread_t.
913 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
914 before including <windows.h>
915 #define _Jv_HaveCondDestroy
917 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
919 * java/lang/natThread.cc (finalize_native): Destroy
920 join conditional variable and mutex if these destroy
921 operations are supported.
923 2004-09-10 Dalibor Topic <robilad@kaffe.org>
925 * gnu/java/net/protocol/file/Connection.java (permission): New field.
926 (DEFAULT_PERMISSION): New constant.
927 (Connection): Create a FilePermission with permission to read file.
929 2004-09-10 Michael Koch <konqueror@gmx.de>
931 * gnu/java/net/protocol/file/Connection.java
932 (getLastModified): Moved around.
933 (getPermission): Return stored permission.
935 2004-09-10 Michael Koch <konqueror@gmx.de>
937 * Makefile.in: Regenerate.
939 2004-09-10 Michael Koch <konqueror@gmx.de>
941 * Makefile.am: Reverted accidently commited stuff.
942 * configure: Regenerated.
944 2004-09-10 Michael Koch <konqueror@gmx.de>
946 * gnu/java/net/protocol/file/Connection.java
947 (lineSeparator): Made non-final.
949 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
950 instead of StringBufferInputStream.
952 2004-09-10 Michael Koch <konqueror@gmx.de>
954 * gnu/java/net/protocol/file/Connection.java
955 (connect): Handle file is a directory case.
957 2004-09-10 Michael Koch <konqueror@gmx.de>
960 (xlib_includes): Removed.
961 (AM_CPPFLAGS): Renamed from INCLUDES.
962 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
963 * Makefile.in: Regenerate.
965 2004-09-09 Michael Koch <konqueror@gmx.de>
967 * java/security/ProtectionDomain.java,
968 * java/util/PropertyPermissionCollection.java:
969 Fixed javadocs all over.
971 2004-09-09 Sven de Marothy <sven@physto.se>
973 Patch from David Gilbert <david.gilbert@object-refinery.com>
974 * java/lang/Comparable.java: Fixed documentation errors.
975 * java/util/Arrays.java: Likewise.
977 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
979 * java/net/Inet4Address.java
980 (Inet4Address): Added comment to serialization UID.
981 * java/text/Format.java
982 (Format): Added comment to serialization UID.
984 2004-09-09 Michael Koch <konqueror@gmx.de>
986 * java/lang/System.java
987 (err): Fixed javadoci to point to setErr() and not setOut().
989 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
991 (normalizePath): Added special case for windows systems.
993 2004-09-09 Michael Koch <konqueror@gmx.de>
996 (dupSeparator): Made private.
997 (File(URI)): New constructor.
998 (getParentFile): Fixed javadoc.
999 (createTempFile): Reformated.
1000 (setReadOnly): Added comment.
1001 (deleteOnExit): Merged javadoc with classpath version.
1003 2004-09-09 Michael Koch <konqueror@gmx.de>
1005 * Makefile.am: Don't try to include deps.mk.
1006 * Makefile.in: Regenerated.
1008 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
1010 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
1012 * configure: Rebuilt.
1014 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
1016 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
1017 Changed pfn from static local to local.
1019 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
1020 H.J. Lu <hongjiu.lu@intel.com>
1023 * Makefile.am (GCJCOMPILE): Remove definition.
1024 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
1025 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
1026 * Makefile.in: Rebuilt.
1028 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
1030 * configure.ac (enable-gc-debug): Update help for new syntax.
1031 * configure: Regenerate.
1033 2004-09-03 David Daney <ddaney@avtrex.com>
1035 * include/mips-signal.h: Update copyright.
1037 2004-09-03 David Daney <ddaney@avtrex.com>
1039 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
1040 * include/mips-signal.h: Added HANDLE_FPE support.
1042 2004-08-31 Michael Koch <konqueror@gmx.de>
1044 * javax/swing/plaf/basic/BasicTextAreaUI.java
1045 (create): New method.
1046 * javax/swing/text/DefaultHighlighter.java
1047 (DefaultHighlightPainter.debugRect): Removed.
1048 * javax/swing/text/StyleContext.java
1049 (DEFAULT_STYLE): New field.
1051 2004-08-31 Michael Koch <konqueror@gmx.de>
1053 * javax/swing/plaf/basic/BasicLookAndFeel.java
1054 (initComponentDefaults): Add keybindings for selection.backward and
1055 selection-forward for text components.
1056 * javax/swing/plaf/basic/BasicTextUI.java
1057 (paintSafely): Paint highlight only when something is actually
1059 * javax/swing/text/DefaultCaret.java
1060 (handleHighlight): New method.
1061 (setSelectionVisible): Don't do anything when nothing changes.
1063 (moveDot): Reimplemented. Handle highlight.
1064 (setDot): Set mark too. Handle highlight.
1065 (getSelectionPainter): New method.
1066 * javax/swing/text/DefaultEditorKit.java
1067 (defaultActions): Added new actions for text selection.
1068 * javax/swing/text/DefaultHighlighter.java
1069 (DefaultHighlightPainter): New inner class.
1070 (DefaultPainter): New field.
1071 (paint): Implemented.
1072 * javax/swing/text/PlainView.java
1073 (paint): Don't draw background here again.
1074 * javax/swing/text/Utilities.java
1075 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
1076 (drawTabbedText): Likewise.
1078 2004-08-31 Graydon Hoare <graydon@redhat.com>
1080 * javax/swing/JComponent.java
1081 (resetKeyboardActions): Add null checks.
1083 2004-08-31 Graydon Hoare <graydon@redhat.com>
1085 * javax/swing/DefaultButtonModel.java:
1086 Skip group notification when no group is set.
1088 2004-08-31 Graydon Hoare <graydon@redhat.com>
1090 * javax/swing/JColorChooser.java:
1091 Make a couple inner classes static, for jikes.
1093 2004-08-31 Michael Koch <konqueror@gmx.de>
1095 * javax/swing/plaf/basic/BasicTextUI.java
1096 (RottView.modelToView): New method.
1097 (UpdateHandler): Renamed from EventHandler.
1098 (updateHandler): Renamed from eventHandler.
1099 (modelToView): Implemented.
1100 * javax/swing/text/AbstractDocument.java
1101 (BranchElement.getElement): Return null for non-existing indeces.
1102 (BranchElement.getElementIndex): Return 0 in some corner cases.
1103 * javax/swing/text/FieldView.java
1104 (modelToView): New method.
1105 * javax/swing/text/PlainView.java
1106 (modelToView): Made public.
1108 2004-08-31 Kim Ho <kho@redhat.com>
1110 * Makefile.am: New files.
1111 * Makefile.in: Regenerate.
1112 * gcj/Makefile.in: Regenerate.
1113 * include/Makefile.in: Regenerate.
1114 * java/awt/Color.java: Fix documentation.
1115 (RGBtoHSB): Use floats for conversions.
1116 * javax/swing/ButtonGroup.java: Run Jalopy.
1117 (setSelected): Reimplement.
1118 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1119 (changeState): Let ButtonGroup know that the button
1121 * javax/swing/JColorChooser.java: Implement.
1122 * javax/swing/JLabel.java: Run Jalopy.
1123 * javax/swing/JSpinner.java: Run Jalopy.
1124 (setValue): New method.
1125 * javax/swing/JTabbedPane.java: Run Jalopy.
1126 (removeTabAt): Call correct remove method.
1127 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1128 (getPreviousValue): Compare minimum value.
1129 * javax/swing/Timer.java: Run Jalopy.
1130 (run): Comment out println.
1131 * javax/swing/ToolTipManager.java:
1132 (mouseMoved): Get new tooltip text for location.
1133 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1135 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1137 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1139 (setSelectedColor): Fire ChangeEvent.
1140 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1141 New file. Implement.
1142 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1144 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1146 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1148 * javax/swing/plaf/basic/BasicArrowButton.java:
1149 (getArrow): Fix size of upward pointing button.
1150 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1152 * javax/swing/plaf/basic/BasicSliderUI.java:
1153 (getWidthOfWidestLabel): Use preferred dimensions.
1154 (getHeightOfTallestLabel): Ditto.
1155 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1157 (mousePressed): Disable changes to spinner if it is not enabled.
1158 * testsuite/Makefile.in: Regenerate.
1161 2004-08-31 Michael Koch <konqueror@gmx.de>
1163 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1164 javax/swing/plaf/basic/BasicTableUI.java:
1165 Added copyright notice.
1167 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1169 * Makefile.am: Added new files.
1170 * Makefile.in: Regenerate.
1171 * javax/swing/ComboBoxEditor.java: Added javadocs.
1172 * javax/swing/ComboBoxModel.java: Likewise.
1173 * javax/swing/DefaultComboBoxModel.java: Implemented.
1174 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1175 and ran through jalopy to fix formatting style.
1176 (getListCellRendererComponent): Use appropriate border
1177 if renderer has focus and use noFocusBorder when it doesn't.
1178 * javax/swing/JComboBox.java: Implemented.
1179 * javax/swing/JList.java:
1180 (locationToIndex): New Method. Implemented.
1181 (indexToLocation): New Method.
1182 * javax/swing/JPopupMenu.java:
1183 (visible): New field.
1184 (isVisible): Changed to use new field above.
1185 (setVisible): Likewise.
1186 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1187 * javax/swing/plaf/basic/BasicArrowButton.java:
1188 (shadow): Changed default color to Color.gray.
1189 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1190 UI delegate for JComboBox.
1191 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1192 Popup menu containing list of JComboBox's items.
1193 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1194 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1195 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1196 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1197 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1198 (popupMenuWillBecomeVisible): Set selected path to the first
1199 element only if it is of type MenuElement. Also fix formatting
1201 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1204 2004-08-31 Michael Koch <konqueror@gmx.de>
1206 * javax/swing/text/AbstractDocument.java
1207 (createBranchElement): Use new constructor of BranchElement.
1208 (createLeafElement): Renamed arguments.
1209 (getRootElements): Implemented.
1210 (BranchElement.start): Removed.
1211 (BranchElement.end): Likewise.
1212 (BranchElement.BranchElement): Fixed arguments.
1213 (BranchElement.getEndOffset): Reimplemented.
1214 (BranchElement.getStartOffset): Likewis.
1215 * javax/swing/text/DefaultCaret.java
1216 (paint): Draw simple vertical line as caret instead of a rectangle.
1217 * javax/swing/text/JTextComponent.java
1218 (setText): Use doc directly.
1219 * javax/swing/text/PlainView.java
1220 (nextTabStop): Implemented.
1221 * javax/swing/text/Utilities.java
1222 (drawTabbedText): nextTabStop() returns an absolute x position.
1223 (getTabbedTextWidth): Likewise.
1225 2004-08-31 Graydon Hoare <graydon@redhat.com>
1227 * java/awt/Component.java
1228 (isFocusTraversable): Predicate on isLightweight()
1229 (setFocusable): Set isFocusTraversableOverridden.
1230 (requestFocus): Predicate peer dispatch on !isLightweight()
1231 (requestFocusInWindow): Likewise.
1232 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1233 * java/awt/Container.java
1234 (dispatchEventImpl): Predicate on event mask.
1235 (LightweightDispatcher): Remove focus machinery.
1236 * java/awt/DefaultFocusTraversalPolicy.java
1237 (accept): Expand predicate to include isFocusable().
1238 * java/awt/DefaultKeyboardFocusManager.java:
1239 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1240 * java/awt/KeyboardFocusManager.java
1241 (redispatchEvent): Synchronize on event to prevent feedback.
1242 * javax/swing/AbstractButton.java
1243 (ButtonFocusListener): Remove class.
1244 (init): Set focusPainted, focusable.
1245 * javax/swing/ActionMap.java (get): Check parent for null.
1246 * javax/swing/InputMap.java (get): Likewise.
1247 * javax/swing/JComponent.java
1248 (inputMap_whenFocused): New InputMap.
1249 (inputMap_whenAncestorOfFocused): Likewise.
1250 (inputMap_whenInFocusedWindow): Likewise.
1251 (getActionForKeyStroke): Rewrite.
1252 (getConditionForKeystroke): Likewise.
1253 (ActionListenerProxy): New private class.
1254 (setInputMap): Implement.
1255 (getInputMap): Likewise.
1256 (setActionMap): Likewise.
1257 (getActionMap): Likewise.
1258 (processComponentKeyEvent): New empty method.
1259 (processKeyEvent): Implement.
1260 (processKeyBinding): Likewise.
1261 (resetKeyboardActions): Rewrite.
1262 * javax/swing/KeyStroke.java: Rewrite.
1263 * javax/swing/SwingUtilities.java
1264 (notifyAction): Implement.
1265 (replaceUIActionMap): Likewise.
1266 (replaceUIInputMap): Likewise.
1267 * javax/swing/plaf/basic/BasicButtonListener.java
1268 (focusGained): Implement.
1269 (focusLost): Repaint if focusPainted().
1270 (installKeyboardActions): Install pressed / released actions.
1271 (uninstallKeyboardActions): Implement.
1272 * javax/swing/plaf/basic/BasicButtonUI.java
1273 (focusColor): New field.
1274 (installDefaults): Load focus color, install input map.
1275 (installKeyboardActions): Implement.
1276 (uninstallKeyboardActions): Likewise.
1277 (paintFocus): Rewrite.
1278 * javax/swing/plaf/basic/BasicLookAndFeel.java
1279 (Button.focus): New default, midPurple.
1280 * javax/swing/plaf/basic/BasicTextUI.java
1282 (installUI): Get doc from kit, load defaults.
1283 (getKeymapName): Implement.
1284 (createKeymap): Likewise.
1285 (installKeyboardActions): Likewise.
1286 (getInputMap): Likewise.
1287 (getActionMap): Likewise.
1288 (createActionMap): Likewise.
1289 * javax/swing/text/AbstractDocument.java
1290 (getStartPosition): Implement.
1291 (getEndPosition): Likewise.
1292 * javax/swing/text/DefaultEditorKit.java
1293 (CopyAction): New class.
1294 (CutAction): Likewise.
1295 (DefaultKeyTypedAction): Likewise.
1296 (InsertBreakAction): Likewise.
1297 (InsertContentAction): Likewise.
1298 (InsertTabAction): Likewise.
1299 (PasteAction): Likewise.
1300 (defaultActions): New static table.
1301 (createCaret): Implement.
1302 (getActions): Likewise.
1303 * javax/swing/text/JTextComponent.java
1304 (KeymapWrapper): New private class.
1305 (KeymapActionMap): Likewise.
1306 (DefaultKeymap): New class.
1307 (keymaps): New static table.
1308 (keymap): New field.
1309 (getKeymap): Implement.
1310 (removeKeymap): Likewise.
1311 (addKeymap): Likewise.
1312 (setKeymap): Likewise.
1313 (loadKeymap): Likewise.
1314 (getActions): Likewise.
1315 (margin): New field.
1316 (JTextComponent): Build and install default keymap.
1317 * javax/swing/text/TextAction.java
1318 (textAction): Call super properly.
1319 (getTextComponent): Implement.
1320 * javax/swing/text/Utilities.java
1321 (drawTabbedText): Adjust position by ascent.
1323 2004-08-31 David Jee <djee@redhat.com>
1327 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1328 (setEnabled): Make it a native method.
1329 * java/awt/DefaultKeyboardFocusManager.java
1330 (postProcessKeyEvent): Only post event if the menu item
1332 * java/awt/MenuItem.java:
1333 Private field 'enabled' should be true by default.
1334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1335 (setEnabled): New function.
1337 2004-08-31 David Jee <djee@redhat.com>
1341 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1342 (nativeSetHelpMenu): New native method declaration.
1343 (addHelpMenu): Call nativeSetHelpMenu().
1345 * java/awt/MenuBar.java
1346 (setHelpMenu): Call addNotify() on the new help menu.
1347 (add): Call addNotify() on the new menu.
1348 (addNotify): Set the help menu if one exists.
1349 * java/awt/peer/MenuBarPeer.java
1351 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1352 (nativeSetHelpMenu): New method.
1354 2004-08-31 Graydon Hoare <graydon@redhat.com>
1356 * Makefile.am: Add new files.
1357 * Makefile.in: Regenerate.
1358 * javax/swing/Box.java: Fix setting of layout in ctor.
1359 * javax/swing/JScrollPane.java: Scroll headers as well.
1360 * javax/swing/JTable.java: Reimplement.
1361 * javax/swing/JViewPort.java: Only add non-null children.
1362 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1363 * javax/swing/Timer.java: Fix stopping null waker.
1364 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1365 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1366 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1367 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1368 * javax/swing/table/DefaultTableModel.java: Clean up.
1369 * javax/swing/table/JTableHeader.java: Implement.
1371 2004-08-31 Mark Wielaard <mark@klomp.org>
1373 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1376 2004-08-31 Mark Wielaard <mark@klomp.org>
1378 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1379 Declare variables at top of functions/block.
1380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1382 2004-08-31 Mark Wielaard <mark@klomp.org>
1384 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1387 2004-08-31 Michael Koch <konqueror@gmx.de>
1389 * javax/swing/text/PlainView.java
1390 (selectedColor): New field.
1391 (unselectedColor): Likewise.
1393 (updateMetrics): New method.
1394 (lineToRect): Likewise.
1395 (modelToView): Likewise.
1396 (drawSelectedText): Use color from JTextComponent ad draw with
1398 (drawUnselectedText): Likewise.
1399 (paint): Initialize helper fields.
1400 * javax/swing/text/View.java
1401 (getChildAllocation): New method.
1402 (getViewIndex): Likewise.
1403 (getToolTipText): Likewise.
1405 2004-08-31 Michael Koch <konqueror@gmx.de>
1407 * javax/swing/text/Utilities.java
1408 (drawTabbedText): Reimplemented.
1409 (getTabbedTextWidth): Likewise.
1411 2004-08-31 Michael Koch <konqueror@gmx.de>
1413 * javax/swing/plaf/basic/BasicTextUI.java
1414 (installDefaults): Install caret and highlighter.
1415 (modelToView): Use Bias.Forward when calling sibling.
1416 * javax/swing/text/AbstractDocument.java
1417 (ElementEdit): Implements DocumentEvent.ElementChange.
1418 (ElementEdit.ElementEdit): New method.
1419 (ElementEdit.getChildrenAdded): Likewise.
1420 (ElementEdit.getChildrenRemoved): Likewise.
1421 (ElementEdit.getElement): Likewise.
1422 (ElementEdit.getIndex): Likewise.
1423 * javax/swing/text/DefaultCaret.java
1425 (textComponent): Renamed from parent, made private.
1426 (selectionVisible): Renamed from vis_sel, made private.
1427 (blinkRate): Renamed from blink, made private.
1428 (magicCaretPosition): Renamed from magic, made private.
1429 (visible): Renamed from vis, made private.
1430 (dot): Made private.
1432 (deinstall): Remove as MouseMotionListener.
1433 (install): Initialize textComponent first. Add as MouseMotionListener.
1434 (paint): Reimplemented.
1435 * javax/swing/text/JTextComponent.java
1436 (setCaret): Deinstall old caret, install new one and fire property
1437 change after setting property.
1438 (setHighlighter): Deinstall old highlighter, install new one and fire
1439 property change after setting property.
1440 (setCaretColor): Fire property change after setting property.
1441 (setDisabledTextColor): Likewise.
1442 (setSelectedTextColor): Likewise.
1443 (setSelectionColor): Likewise.
1444 (modelToView): New method.
1446 2004-08-31 Michael Koch <konqueror@gmx.de>
1448 * javax/swing/text/AbstractDocument.java
1449 (getText): Simplified.
1450 * javax/swing/text/Segment.java
1451 (current): New field.
1452 (current): Reimplemented.
1454 (getIndex): Likewise.
1457 (previous): Likewise.
1458 (setIndex): Likewise.
1460 2004-08-31 Michael Koch <konqueror@gmx.de>
1462 * javax/swing/plaf/basic/BasicButtonUI.java
1463 (defaultTextIconGap): Made protected.
1464 (defaultTextShiftOffset): Likewise.
1465 (textShiftOffset): New field.
1466 (clearTextShiftOffset): New method.
1467 (getTextShiftOffset): Likewise.
1468 (setTextShiftOffset): Likewise.
1470 2004-08-31 Michael Koch <konqueror@gmx.de>
1472 * javax/swing/plaf/basic/BasicTextUI.java
1473 (installUI): Add eventHandler as property listener.
1474 (uninstallUI): remove eventHandler as propert listener.
1475 (installDefaults): Added comment.
1476 (installListeners): Likewise.
1477 (installKeyboardActions): Likewise.
1478 (uninstallDefaults): Likewise.
1479 (uninstallListeners): Likewise.
1480 (uninstallKeyboardActions): Likewise.
1482 2004-08-31 Michael Koch <konqueror@gmx.de>
1484 * javax/swing/text/AbstractDocument.java:
1485 Fixed some typos in comments.
1486 (insertString): Reimplemented.
1488 (replace): New method.
1489 (children): Dont use fully qualified class name.
1490 (DefaultDocumentEvent.offset): Renamed from off.
1491 (DefaultDocumentEvent.length): Renamed from len.
1492 (DefaultDocumentEvent.type): New field.
1493 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1494 (DefaultDocumentEvent.getType): Implemented.
1496 2004-08-31 Michael Koch <konqueror@gmx.de>
1498 * javax/swing/plaf/basic/BasicTextUI.java
1499 (RootView.textComponent): Removed.
1500 (RootView.RootView): Don't initialize textComponent.
1501 (RootView.getViewFactory): New method.
1502 (EventHandler): New inner class.
1503 (rootView): Initialize at instance creation.
1504 (eventHandler): New field.
1505 (installUI): Don't create view hierarchy directly,
1506 call modelChanged() instead.
1507 (modelChanged): New method.
1508 * javax/swing/text/JTextComponent.java
1509 (setDocument): Fire property change event.
1511 2004-08-31 Michael Koch <konqueror@gmx.de>
1513 * javax/swing/plaf/basic/BasicTextUI.java
1514 (RootView.paint): Removed debug output.
1515 (paintSafely): Draw highlighter before text.
1516 (paintBackground): Use background color of text component.
1517 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1520 2004-08-31 Michael Koch <konqueror@gmx.de>
1522 * javax/swing/plaf/basic/BasicToolBarUI.java
1523 (BasicToolBarUI): Fixed arguments for constructor.
1524 (createUI): Fixed creation of object.
1526 2004-08-31 Michael Koch <konqueror@gmx.de>
1528 * javax/swing/DefaultListSelectionModel.java
1529 (fireValueChanged): Renamed from fireSelectionValueChanged,
1532 2004-08-31 Michael Koch <konqueror@gmx.de>
1534 * javax/swing/text/TabSet.java
1535 (TabSet): Implements java.io.Serializable.
1536 * javax/swing/text/TabStop.java
1537 (TabStop): Implements java.io.Serializable.
1538 (TabStop): Made public.
1540 2004-08-31 Michael Koch <konqueror@gmx.de>
1542 * javax/swing/JComponent.java
1543 (setUI): Fire PropertyChange.
1544 * javax/swing/JLabel.java
1545 (text): Renamed from labelText.
1546 (horizontalAlignment): New default vlaue.
1547 (icon): Renamed from activeIcon.
1548 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1549 (displayedMnemonicIndex): Renamed from underlineChar.
1550 (setDisplayedMnemonic): Reimplemented.
1551 * javax/swing/JRadioButton.java
1552 (JRadioButton): New constructors.
1553 * javax/swing/JTextField.java
1554 (JTextField): Throw exception if colums < 0, initialitialz
1555 this.columns directly and initialize document with text conditionally.
1557 2004-08-31 Michael Koch <konqueror@gmx.de>
1559 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1560 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1561 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1562 * javax/swing/text/FieldView.java
1563 (paint): Just call super method for now.
1564 * Makefile.am: Added new files.
1565 * Makefile.in: Regenerated.
1567 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1569 * javax/swing/AbstractSpinnerModel.java,
1570 javax/swing/JSpinner.java,
1571 javax/swing/SpinnerNumberModel.java,
1572 javax/swing/plaf/basic/BasicSpinnerUI.java:
1574 * javax/swing/plaf/basic/BasicLookAndFeel.java
1575 (initClassDefaults): Added defaults for BasicSpinnerUI.
1577 2004-08-31 Michael Koch <konqueror@gmx.de>
1579 * Makefile.am: Added new files.
1580 * Makefile.in: Regenerated.
1582 2004-08-31 Michael Koch <konqueror@gmx.de>
1584 * javax/swing/TransferHandler.java,
1585 javax/swing/plaf/basic/ComboPopup.java: New files
1586 * Makefile.am: Added javax/swing/TransferHandler.java and
1587 javax/swing/plaf/basic/ComboPopup.java
1588 * Makefile.in: Regenerated.
1590 2004-08-31 Roman Kennke <roman@ontographics.com>
1592 * javax/swing/text/Utilities.java: New file.
1594 2004-08-31 Michael Koch <konqueror@gmx.de>
1596 * Makefile.am: Added javax/swing/text/Utilities.java.
1597 * Makefile.in: Regenerated.
1599 2004-08-31 Graydon Hoare <graydon@redhat.com>
1601 * javax/swing/text/SimpleAttributeSet.java: New file.
1602 * javax/swing/text/StyleConstants.java: New file.
1603 * javax/swing/text/StyleContext.java: New file.
1604 * javax/swing/text/TabSet.java: New file.
1605 * javax/swing/text/TabStop.java: New file.
1606 * javax/swing/text/AbstactDocument.java:
1607 (AbstractElement): Implement attribute support.
1608 * javax/swing/text/AttributeSet.java
1609 (NameAttribute): New static field.
1610 (ResolveAttribute): New static field.
1611 * Makefile.am: Update for new files.
1612 * Makefile.in: Regenerate.
1614 2004-08-31 Craig Black <craig.black@aonix.com>
1616 * gnu/java/awt/peer/gtk/GdkGraphics.java
1617 (drawImage): Add support for scaling pixmaps.
1618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1619 (copyAndScalePixmap): New native method.
1621 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1624 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1625 type-punning compiler warnings using unions.
1626 (throw): Replace bzero with memset.
1628 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1629 Thomas Fitzsimmons <fitzsim@redhat.com>
1631 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1632 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1633 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1635 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1637 2004-08-31 Mark Wielaard <mark@klomp.org>
1639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1640 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1641 and stdlib.h, not gtkpeer.h.
1642 (*vm): New static variable.
1643 (areaPreparedID): Make static.
1644 (areaUpdatedID): Likewise.
1645 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1646 (area_prepared): Likewise.
1647 (area_updated): Likewise.
1649 (initStaticState): Initialize *vm javaVM.
1650 (pumpBytes): Use given env, not global gdk_env.
1652 2004-08-31 Mark Wielaard <mark@klomp.org>
1654 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1657 2004-08-31 Sven de Marothy <sven@physto.se>
1659 * java/awt/geom/CubicCurve2D.java: Reindent.
1660 (contains): Implemented.
1661 (intersects): Implemented.
1662 * java/awt/geom/QuadCurve2D.java: Likewise.
1663 * java/awt/geom/GeneralPath.java: Reindent and document.
1664 Fully (re)implemented using separate xpoints and ypoints
1666 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1668 2004-08-31 Michael Koch <konqueror@gmx.de>
1670 * javax/swing/JMenuItem.java
1671 (getMenuDragMouseListeners): New method.
1672 (getMenuKeyListeners): Likewise.
1674 2004-08-31 Michael Koch <konqueror@gmx.de>
1676 * javax/swing/AbstractButton.java
1677 (model): Made protected.
1678 (actionListener): Likewise.
1679 (changeListener): Likewise.
1680 (itemListener): Likewise.
1681 (multiClickThreshhold): New field.
1682 (getActionListeners): New method.
1683 (getChangeListeners): Likewise.
1684 (getItemListeners): Likewise.
1685 (fireItemStateChanged): Simplified implementation.
1686 (fireActionPerformed): Likewise.
1687 (fireStateChanged): Likewise.
1688 (getMultiClickThreshhold): New method.
1689 (setMultiClickThreshhold): Likewise.
1691 2004-08-31 Tom Tromey <tromey@redhat.com>
1693 * java/awt/image/Kernel.java (clone): Use super.clone().
1695 2004-08-31 David Jee <djee@redhat.com>
1698 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1699 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1700 (nativeSetIconImageFromData): New native method declaration.
1701 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1702 * gnu/java/awt/peer/gtk/GtkImage.java
1703 (getPixelCache): New method.
1704 (getColorModel): New method.
1705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1706 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1707 (free_pixbuf_data): New helper function.
1708 (nativeSetIconImageFromData): New function.
1710 2004-08-31 Graydon Hoare <graydon@redhat.com>
1713 * javax/swing/JLayeredPane.java
1714 (setLayer): Permit changing layer after addition.
1715 (setPosition): Permit over-length positions.
1716 (layerToRange): Compare intValue()s.
1717 * javax/swing/Box.java (createHorizontalBox): Implement.
1718 (createRigidArea): Likewise.
1719 (createVerticalBox): Likewise.
1721 2004-08-31 Kim Ho <kho@redhat.com>
1723 * java/awt/Component.java:
1724 (processMouseEvent): Consume event after
1725 listeners process it.
1726 (processMouseMotionEvent): ditto.
1727 (processMouseWheelEvent): ditto.
1728 * java/awt/Container.java:
1729 (acquireComponentForMouseEvent):
1730 Do not dispatch to events that have been
1731 removed from the Container.
1732 (handleEvent): Consume the MouseEvents.
1733 * javax/swing/RepaintManager.java:
1734 (paintDirtyRegions): Do not add to list of
1735 damaged areas if the component has no root.
1737 2004-08-31 Michael Koch <konqueror@gmx.de>
1739 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1741 2004-08-31 Mark Wielaard <mark@klomp.org>
1743 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1744 null when a MissingResourceException is thrown. Should never happen.
1746 2004-08-31 Mark Wielaard <mark@klomp.org>
1748 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1749 when argument is null.
1751 2004-08-31 Mark Wielaard <mark@klomp.org>
1753 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1754 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1755 Define hid at start of function.
1756 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1759 2004-08-31 Mark Wielaard <mark@klomp.org>
1761 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1762 * javax/swing/JButton.java: Reindent.
1763 * javax/swing/JCheckBox.java: Reindent.
1765 2004-08-31 Mark Wielaard <mark@klomp.org>
1767 * Makefile.am (gtk_c_source_files): Added
1768 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1769 (gtk_awt_peer_sources): Added
1770 gnu/java/awt/peer/gtk/GThreadMutex.java and
1771 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1772 * Makefile.in: Regenerated.
1774 2004-08-31 Archie Cobbs <archie@dellroad.org>
1776 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1778 2004-08-31 Steven Augart <augart@watson.ibm.com>
1780 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1781 Added jfieldID, jmethodID.
1783 2004-08-31 Mark Wielaard <mark@klomp.org>
1785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1786 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1787 gdk_env before calling any gdk or gtk function.
1789 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1790 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1791 (run): Set gtkInitCalled.
1793 2004-08-31 Steven Augart <augart@watson.ibm.com>
1795 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1796 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1799 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1800 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1802 (init_glib_threads): New function.
1804 2004-08-31 Mark Wielaard <mark@klomp.org>
1806 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1807 PRIORITY when not already defined in header file.
1809 2004-08-31 Mark Wielaard <mark@klomp.org>
1811 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1812 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1814 2004-08-31 Steven Augart <augart@watson.ibm.com>
1816 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1817 Implemented missing functions for GTK2.
1818 Added error handling.
1819 Renamed static functions out of the g_ namespace.
1820 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1821 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1822 Rewrote global-reference code.
1823 Eliminated cascading errors.
1824 (mutex_trylock_jni_impl) Fully implemented.
1825 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1827 (setup_cache) New function.
1828 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1829 bug where they were not unlocking the GMutex associated with the
1830 condition variable during the wait on that condition variable.
1832 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1833 native/jni/gtk-peer/gthread-jni.c,
1834 native/jni/gtk-peer/gthread-jni.h
1835 (g_thread_jni_functions): Renamed to ...
1836 (portable_native_sync_jni_functions): this name.
1837 (gdk_vm): Renamed to...
1838 (the_vm): this name.
1840 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1841 (gdk_vm): Removed duplicate definition.
1842 (gtkInit): Removed stray message to stdout.
1843 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1844 (gtkInit): Fix a const assignment bug.
1845 (gtkInit): Simplified code.
1847 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1848 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1849 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1850 gnu/java/awt/peer/gtk/GThreadMutex.java:
1853 2004-08-31 Mark Wielaard <mark@klomp.org>
1855 * javax/swing/Box.java: Put FIXME comment above class declaration.
1856 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1857 * javax/swing/JCheckBox.java: Likewise.
1858 * javax/swing/JDialog.java: Likewise.
1859 * javax/swing/JRadioButton.java: Likewise.
1860 * javax/swing/JToggleButton.java: Likewise.
1861 * javax/swing/UIManager.java: Likewise.
1862 * javax/swing/border/TitledBorder.java: Likewise.
1863 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1864 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1865 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1866 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1867 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1868 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1869 * javax/swing/text/JTextComponent.java: Likewise.
1871 2004-08-31 David Jee <djee@redhat.com>
1874 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1875 (setIconImage): Add a FIXME for unhandled cases.
1877 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1880 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1881 getModifiers. Replace old button masks with new ones.
1882 * gnu/awt/xlib/XEventLoop.java: Likewise.
1883 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1884 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1885 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1886 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1887 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1888 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1889 * java/awt/Component.java: Replace old modifier masks with new
1891 * java/awt/Container.java: Call getModifiersEx, not
1893 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1895 * javax/swing/JMenuItem.java: Replace old button masks with new
1897 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1899 * javax/swing/SwingUtilities.java: Likewise.
1900 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1901 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1902 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1903 mask macros with new ones.
1904 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1905 macros with new ones representing new masks.
1907 2004-08-31 Craig Black <craig.black@aonix.com>
1909 * gnu/java/awt/peer/gtk/GdkGraphics.java
1910 (drawRoundRect): Implemented.
1911 (fillRoundRect): Implemented.
1912 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1913 (drawRoundRect): Reimplemented to match GdkGraphics.
1914 (fillRoundRect): Reimplemented to match GdkGraphics.
1916 2004-08-31 Mark Wielaard <mark@klomp.org>
1918 * Makefile.in: Regenerated.
1920 2004-08-31 Michael Koch <konqueror@gmx.de>
1922 * gnu/java/awt/EmbeddedWindow.java
1923 (addNotify): Use AccessController to allow execution of privileged
1926 2004-08-31 Michael Koch <konqueror@gmx.de>
1928 * gnu/java/awt/EmbeddedWindow.java
1930 (addNotify): Set peer via reflection.
1931 (setWindowPeer): Removed.
1932 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1933 * Makefile.am (nat_source_files):
1934 Removed gnu/java/awt/natEmbeddedWindow.cc.
1936 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1938 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1939 and gnu/java/security/action/SetAccessibleAction.java.
1941 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1943 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1944 Renamed from 'setName'. New 2-argument form with default value.
1945 (run): Pass default 'value' parameter to System.getProperty().
1946 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1949 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1951 * gnu/java/security/action/GetPropertyAction.java: New class.
1952 * gnu/java/security/action/SetAccessibleAction.java: New class.
1954 2004-08-31 David Jee <djee@redhat.com>
1956 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1957 (setIconImage): Check if image is null.
1959 2004-08-31 David Jee <djee@redhat.com>
1961 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1962 (create): Set the icon image.
1963 (nativeSetIconImage): New native method declaration.
1964 (setIconImage): Implement.
1965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1966 (nativeSetIconImage): New function.
1968 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1970 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1971 (filenameFilterCallback): Declare local variable accepted before use.
1973 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1975 * gnu/java/awt/ComponentDataBlitOp.java:
1978 2004-08-31 Tom Tromey <tromey@redhat.com>
1980 * gnu/java/awt/peer/GLightweightPeer.java,
1981 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1982 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1983 javax/swing/JScrollPane.java: Removed
1986 2004-08-31 David Jee <djee@redhat.com>
1988 * java/awt/DefaultKeyboardFocusManager.java
1989 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1990 event. Fix shift modifier checking.
1991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1992 (accel_attach): Remove.
1993 (setupAccelGroup): Remove calls to accel_attach.
1995 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1997 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1998 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
2000 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
2002 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
2003 * Makefile.in: Regenerate.
2004 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
2005 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
2006 (create(String)): New method.
2007 (create): Call new create method.
2008 (getArgs): Remove method.
2009 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
2010 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
2011 (nativeCreate): Rename to create.
2012 (gtkSetLabel): Rename to gtkButtonSetLabel.
2013 (gtkToggleButtonSetActive): New method.
2014 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
2015 (setState): Replace set call with gtkToggleButtonSetActive.
2016 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
2017 (getArgs): Remove method.
2018 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
2019 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2020 (gtkWidgetSetSensitive): New method.
2021 (gtkWidgetSetParent): Likewise.
2022 (GtkComponentPeer): Call setParent, setComponentBounds and
2023 setVisibleAndEnabled.
2024 (setParent): New method.
2025 (setComponentBounds): New method.
2026 (setVisibleAndEnabled): New method.
2027 (setEnabled): Call gtkWidgetSetSensitive.
2028 (getArgs): Remove method.
2029 Remove all set methods.
2030 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
2031 gtkWindowSetModal, setTitle and setResizable.
2032 (getArgs): Remove method.
2033 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2034 (setComponentBounds): New method.
2035 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
2036 Replace set call with gtkWindowSetResizable.
2037 (getArgs): Remove method.
2038 (create): Call setTitle and setResizable.
2039 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
2040 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
2041 (gtkWindowSetTitle): New method.
2042 (gtkWindowSetResizable): New method.
2043 (gtkWindowSetModal): New method.
2044 (setParent): New method.
2045 (setVisibleAndEnabled): New method.
2046 (getArgs): Remove method.
2047 (setTitle): Call gtkWindowSetTitle.
2048 (setResizable): Call gtkWindowSetResizable.
2049 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
2050 and off locking instrumentation.
2052 2004-08-31 Kim Ho <kho@redhat.com>
2054 * Makefile.am: Add new file.
2055 * Makefile.in: Regenerate.
2056 * gcj/Makefile.in: Regenerate
2057 * include/Makefile.in:
2058 * java/awt/Container.java:
2059 (acquireComponentForMouseEvent): Respect
2060 the event mask when looking for candidate.
2061 * javax/swing/JComponent.java:
2062 Remove toolTip field.
2063 (createToolTip): Create a tooltip on demand.
2064 (setToolTipText): Register with the ToolTipManager.
2065 (getToolTipText(MouseEvent)): Return getToolTipText().
2066 * javax/swing/JToolTip.java: Implement.
2067 * javax/swing/Timer.java: Jalopy.
2068 (restart): Call stop, then start.
2069 (stop): Interrupt the timer rather than wait for
2070 the timer to come to a stop naturally.
2071 * javax/swing/ToolTipManager.java: Implement.
2072 * javax/swing/plaf/basic/BasicLookAndFeel.java:
2073 Change ToolTip.background color.
2074 * javax/swing/plaf/basic/BasicToolTipUI.java:
2076 * testsuite/Makefile.in: Regenerate
2078 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
2080 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
2081 constructor param comments.
2083 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2085 * java/awt/Component.java: Document AWT 1.0 event handler
2088 2004-08-31 Roman Kennke <roman@ontographics.com>
2090 * javax/swing/Box.java:
2091 (createGlue): Implemented
2092 (createHorizontalGlue): Implemented
2093 (createHorizontalStrut): Implemented
2094 (createVerticalGlue): Implemented
2095 (createVerticalStrut): Implemented
2097 2004-08-31 David Jee <djee@redhat.com>
2099 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2100 (GtkChoicePeer): Do not automatically select first item.
2101 (getHistory): Remove.
2102 (nativeGetSelected): New method.
2103 (nativeRemoveAll): New method.
2104 (add): Use nativeGetSelected() instead of getHistory().
2106 (removeAll): Call nativeRemoveAll().
2107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2108 (create): Migrate to GtkComboBox.
2110 (nativeAdd): Likewise.
2111 (nativeRemove): Likewise.
2113 (nativeRemoveAll): New method.
2114 (nativeGetSelected): New method.
2115 (selection_changed): New method.
2116 (getHistory): Remove.
2117 (item_activate): Remove.
2118 (item_removed): Remove.
2119 (connect_choice_item_selectable_hook): Remove.
2121 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2123 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2124 variable in setEditable call.
2126 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2127 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2128 (gtkWidgetSetBackground): New method.
2129 (gtkWidgetSetForeground): Likewise.
2130 (create): Set peer's editable state based on awtComponent's.
2132 * java/awt/Button.java (Button()): Use empty string rather than
2133 null in no-label constructor.
2135 2004-08-31 Roman Kennke <roman@ontographics.com>
2137 * javax/swing/BoxLayout.java: Reimplement.
2139 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2141 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2142 gnu_java_awt_peer_gtk_GdkGraphics.c
2143 (initState(GtkComponentPeer)): Don't return array of colour
2145 (GdkGraphics(int,int)): Set default font to size 12.
2146 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2147 component's foreground colour.
2148 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2149 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2150 (initState(GtkComponentPeer)): Don't return array of colour
2152 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2153 colours to component's colours.
2154 (current_colors_of_widget): Remove function.
2155 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2156 Return a new graphics object.
2157 * java/awt/Font.java (toString): Fix format.
2158 * java/awt/Graphics.java (toString): Likewise.
2160 2004-08-31 Craig Black <craig.black@aonix.com>
2162 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2163 (addTearOff): New function.
2164 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2166 (init): Call addTearOff() when menu.isTearOff().
2168 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2170 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2171 Default implementation.
2172 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2173 Implement using GdkPixbufDecoder.
2175 2004-08-31 David Jee <djee@redhat.com>
2177 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2178 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2179 setting the size of GtkFileDialogPeers.
2180 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2181 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2182 use their default sizes rather than their natural requisitions.
2184 2004-08-31 Michael Koch <konqueror@gmx.de>
2186 * javax/swing/JFormattedTextField.java
2187 (JFormattedTextField): Implemented.
2188 * javax/swing/text/DefaultEditorKit.java
2189 (BeepAction): New inner class.
2190 * javax/swing/text/Segment.java
2191 (partialReturn): New field.
2192 (setPartialReturn): New method.
2193 (isPartialReturn): Likewise.
2194 * javax/swing/text/View.java
2195 (createFragment): Fixed typo.
2196 (getStartOffset): New method.
2197 (getEndOffset): Likewise.
2199 2004-08-31 Michael Koch <konqueror@gmx.de>
2201 * javax/swing/table/DefaultTableColumnModel.java
2202 (serialVersionUID): Made private.
2203 (listenerList): Initialize.
2204 (changeEvent): Initialize.
2205 * javax/swing/table/JTableHeader.java
2206 (JTableHeader): New constructors.
2207 (createDefaultColumnModel): New method.
2208 * javax/swing/table/TableColumn.java
2209 (setHeaderRenderer): Simplified code.
2210 (setCellRenderer): Likewise.
2211 (setWidth): Likewise.
2213 2004-08-31 Tom Tromey <tromey@redhat.com>
2215 * java/text/AttributedString.java (AttributedString): Use
2216 ArrayList to build array of attribute ranges. Don't use
2217 `attribs' before it is set.
2219 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2221 * HACKING: Remove reference to special automake. No longer needed.
2223 2004-08-30 Tom Tromey <tromey@redhat.com>
2225 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2226 return result from `add'.
2228 2004-08-30 Tom Tromey <tromey@redhat.com>
2230 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2232 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2234 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2236 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2238 * java/io/File.java File(String,String): Fixed handling of empty
2241 2004-08-30 Casey Marshall <csm@gnu.org>
2243 Author e-mail updated for all files.
2244 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2246 (compareTo): Use `equals'.
2247 * gnu/java/security/der/BitString.java (equals): Test if the
2248 argument is an instance of BitString.
2249 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2250 class final. Made fields private.
2251 (<init>): New constructor.
2253 (makeString): Made static; don't use NIO.
2254 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2255 * gnu/java/security/der/DERWriter.java: Fixed imports.
2256 (writeString): Don't use NIO.
2257 (toIso88591, toUtf16Be, toUtf8): New methods.
2258 * gnu/java/security/der/DERValue.java: Formatting changes only.
2259 * gnu/java/security/der/DER.java: Likewise.
2261 2004-08-30 Tom Tromey <tromey@redhat.com>
2263 * java/nio/CharBuffer.java (put): Fix typo.
2264 * java/nio/DoubleBuffer.java (put): Fix typo.
2265 * java/nio/FloatBuffer.java (put): Fix typo.
2266 * java/nio/IntBuffer.java (put): Fix typo.
2267 * java/nio/LongBuffer.java (put): Fix typo.
2268 * java/nio/ShortBuffer.java (put): Fix typo.
2270 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2272 * java/nio/ByteBuffer.java (put): Fix typo.
2274 2004-08-30 Casey Marshall <csm@gnu.org>
2276 * java/security/DummyKeyPairGenerator.java (clone): Removed
2277 useless instanceof check.
2278 * java/security/DummyMessageDigest.java (clone): Likewise.
2279 * java/security/DummySignature.java (clone): Likewise.
2280 * java/security/MessageDigest.java (clone): Remove useless
2282 * java/security/MessageDigestSpi.java (clone): Likewise.
2283 * java/security/Signature.java (clone): Provide meaningful
2285 * java/security/SignatureSpi.java (clone): Likewise.
2287 2004-08-29 Mark Wielaard <mark@klomp.org>
2289 * java/util/Arrays.java
2290 (sort(byte[], int, int)): Check fromIndex < 0.
2291 (sort(char[], int, int)): Likewise.
2292 (sort(short[], int, int)): Likewise.
2293 (sort(int[], int, int)): Likewise.
2294 (sort(long[], int, int)): Likewise.
2295 (sort(float[], int, int)): Likewise.
2296 (sort(double[], int, int)): Likewise.
2297 (sort(Object[], int, int, Comparator)): Likewise.
2298 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2299 (qsort(char[], int, int)): Likewise.
2300 (qsort(short[], int, int)): Likewise.
2301 (qsort(int[], int, int)): Likewise.
2302 (qsort(long[], int, int)): Likewise.
2303 (qsort(float[], int, int)): Likewise.
2304 (qsort(double[], int, int)): Likewise.
2306 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2308 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2309 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2310 java/util/ArrayList.java, java/util/Arrays.java,
2311 java/util/BitSet.java, java/util/Calendar.java,
2312 java/util/Collection.java, java/util/ListIterator.java,
2313 java/util/Map.java, java/util/SortedSet.java:
2314 Added additional exceptions to documentation, along
2315 with some additions and corrections.
2317 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2319 * configure.ac: Handle --enable-gc-debug.
2320 * configure: Regenerate.
2321 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2322 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2323 Rearrange include file order.
2324 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2325 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2326 (disable_gc_mutex): Delete along with all references.
2327 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2328 adjust for debug header size.
2329 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2331 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2332 (gcj_describe_type_fn): New.
2333 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2334 Register gcj_describe_type_fn.
2335 * include/boehm-gc.h:
2336 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2337 Don't define, but declare, for debug case.
2338 * java/lang/natObject.cc:
2339 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2341 2004-08-26 Mark Wielaard <mark@klomp.org>
2343 Fixes PR libgcj/17002:
2344 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2345 a TimeZoneId string and then try to convert that to a TimeZone with
2346 getDefaultSystemTimeZone(String).
2347 (timezones0): Changed type from Hashtable to HashMap.
2348 (timezones): Create HashMap, not Hashtable.
2349 (getDefaultTimeZone): New method, rewritten from CNI version.
2350 (readTimeZoneFile): New method.
2351 (readtzFile): Likewise.
2352 (skipFully): Likewise.
2353 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2354 getDefaultTimeZoneId and rewritten.
2355 (getDefaultTimeZoneId): Rewritten in java.
2357 2004-08-25 David Daney <daney@avtrex.com>
2359 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2360 * Makefile.in: Regenerated.
2362 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2364 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2365 only if jvmpi is enabled.
2366 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2367 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2368 (_Jv_AllocString): Likewise.
2369 (_Jv_AllocPtrFreeObject): Likewise.
2371 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2373 * defineclass.cc: Include <stdio.h>.
2374 * java/lang/natClassLoader.cc: Include <stdio.h>.
2376 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2377 Michael Koch <konqueror@gmx.de>
2379 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2380 * Makefile.in: Regenerated.
2382 2004-08-20 Michael Koch <konqueror@gmx.de>
2384 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2385 AC_COMPILE_IFELSE macros.
2387 2004-08-20 Michael Koch <konqueror@gmx.de>
2389 * configure.in: Renamed to configure.ac.
2390 * configure.ac: New file.
2391 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2392 include/config.h.in, testsuite/Makefile.in: Regenerated.
2394 2004-08-20 Michael Koch <konqueror@gmx.de>
2396 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2397 * aclocal.m4, configure: Regenerated.
2399 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2400 Michael Koch <konqueror@gmx.de>
2402 * configure.in, Makefile.am: Ported to automake 1.9.
2403 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2404 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2407 2004-08-19 Tom Tromey <tromey@redhat.com>
2409 * java/net/DatagramSocket.java: Fixed typo.
2411 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2414 * java/net/URI.java (string): New field. Make all other fields
2416 (readObject): Implemented.
2417 (writeObject): Implemented.
2418 (URI): Set 'string'.
2420 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2423 * java/util/logging/Handler.java (isLoggable): Accept record if its
2424 log level equals the threshold level. From Robin Green.
2426 2004-08-18 David Daney <ddaney@avtrex.com>
2428 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2431 2004-08-17 Michael Koch <konqueror@gmx.de>
2433 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2434 * Makefile.in: Regenerated.
2436 2004-08-16 Tom Tromey <tromey@redhat.com>
2439 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2441 2004-08-16 Michael Koch <konqueror@gmx.de>
2444 (math_c_files): Renamed from c_files.
2445 (math_c_source_files): Renamed from c_source_files.
2448 include/Makefile.in,
2449 testsuite/Makefile.in: Regenerated.
2451 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2453 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2454 to avoid autoconf warning.
2455 * configure: Rebuilt.
2457 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2459 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2460 localhostAddress to loopbackAddress.
2461 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2463 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2465 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2466 boehm-gc's include dirs.
2467 * configure: Rebuilt.
2468 * include/boehm-gc.h: Include gc_config.h.
2470 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2472 * java/net/InetAddress.java (loopbackAddress): Renamed from
2474 (getByName): Return loopback address for null hostname, without
2475 security check. Use lookup(), not getAllByName.
2476 (getAllByName): Return loopback address for null hostname, without
2478 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2481 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2484 Reported by Robin Green.
2485 * defineclass.cc (handleField): Don't throw exception on unrecognised
2486 modifier. Add FIXME comments for spec compliance.
2487 (handleMethod): Likewise.
2489 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2492 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2493 (Almost everywhere): add LOG calls, fix, add comments.
2494 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2495 Add explicit check for LOCKED bit in slow case (PR 16662).
2496 (_Jv_MonitorExit): Add casts in debug-only code.
2497 Always release LOCKED bit before throwing exception.
2498 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2499 isn't. Handle easy cases without lock acquisition.
2500 (Object::wait): Use NotifyAll for lock inflation.
2502 2004-08-12 David Daney <ddaney@avtrex.com>
2504 * testsuite/libjava.lang/Process_1.java: New test.
2505 * testsuite/libjava.lang/Process_2.java: New test.
2506 * testsuite/libjava.lang/Process_3.java: New test.
2507 * testsuite/libjava.lang/Process_4.java: New test.
2508 * testsuite/libjava.lang/Process_5.java: New test.
2509 * testsuite/libjava.lang/Process_6.java: New test.
2510 * testsuite/libjava.lang/Process_1.out: Expected result.
2511 * testsuite/libjava.lang/Process_2.out: Expected result.
2512 * testsuite/libjava.lang/Process_3.out: Expected result.
2513 * testsuite/libjava.lang/Process_4.out: Expected result.
2514 * testsuite/libjava.lang/Process_5.out: Expected result.
2515 * testsuite/libjava.lang/Process_6.out: Expected result.
2517 2004-08-12 David Daney <ddaney@avtrex.com>
2520 * java/lang/PosixProcess.java: Rewrote.
2521 * java/lang/natPosixProcess.cc: Rewrote.
2522 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2523 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2524 * posix-threads.cc (block_sigchld) New function.
2525 (_Jv_ThreadRegister) Use it.
2526 (_Jv_ThreadStart) Use it.
2527 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2528 * Makefile.am: ... to specify extra native headers.
2529 * configure: Regenerated.
2530 * include/config.h: Regenerated.
2531 * Makefile.in: Regenerated.
2532 * gcj/Makefile.in: Regenerated.
2533 * include/Makefile.in: Regenerated.
2534 * testsuite/Makefile.in: Regenerated.
2536 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2538 PR tree-optimization/16867
2539 * testsuite/libjava.lang/PR16867.java: New test.
2541 2004-08-09 Per Bothner <per@bothner.com>
2543 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2544 with private fields and access methods.
2545 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2546 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2547 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2548 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2549 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2550 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2552 * resolve.cc: Likewise.
2553 * gcj/field.h: Likewise.
2554 * include/jvm.h: Likewise.
2555 * java/lang/Class.h: Likewise.
2556 * java/lang/natClass.cc: Likwise.
2557 * java/lang/natClassLoader.cc: Likewise
2558 * java/lang/reflect/natMethod.cc: Likewise
2559 * verify.cc: Likewise.
2560 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2561 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2563 2004-08-10 Andrew Haley <aph@redhat.com>
2565 * testsuite/libjava.lang/err14.java: New file.
2566 * testsuite/libjava.lang/err14.out: New file.
2568 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2570 * Makefile.am: Fix missing rename from x_nat_headers to
2572 * Makefile.in: Regenerated.
2574 2004-08-04 Andrew Haley <aph@redhat.com>
2576 * java/security/BasicPermission.java: Don't check wildcards.
2578 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2579 Michael Koch <konqueror@gmx.de>
2581 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2582 * configure.in: Replaced all usages of AC_LINK_FILES by
2585 configure: Regenerated.
2587 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2588 Michael Koch <konqueror@gmx.de>
2590 * acconfig.h: Removed.
2591 * Makefile.am: Rename variables for xlib peer to include xlib and
2592 gtk_c_headers to gtk_jni_headers.
2593 * Makefile.in: Regenerated.
2595 2004-08-04 Andrew Haley <aph@redhat.com>
2597 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2600 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2602 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2603 Replace most top level 'dnl' comments with '#' comments, conforming
2604 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2606 * configure: Rebuilt.
2608 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2610 * acinclude.m4: Include no-executables.m4.
2611 * aclocal.m4: Rebuild.
2612 * configure.in: Convert to the autoconf 2.59 version of
2613 of the no-executables hack, and also of the nonstandard CXX
2614 hack and the multilibbed CC and CXX hack. Change prerequisite
2616 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2617 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2618 testsuite/Makefile.in: Regenerate.
2620 2004-08-03 Tom Tromey <tromey@redhat.com>
2622 * jni.cc: Reindented.
2624 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2626 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2628 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2630 * testsuite/libjava.compile/PR16701.java: New test.
2632 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2634 * java/util/Collection.java, java/util/List.java,
2635 java/util/Map.java, java/util/Set.java,
2636 java/util/SortedMap.java, java/util/SortedSet.java:
2637 Added additional exceptions to documentation.
2639 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2642 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2643 * configure. Regenerate.
2644 * include/win32.h: Explicitly include winsock2.h
2645 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2648 2004-07-30 Michael Koch <konqueror@gmx.de>
2650 * java/util/zip/GZIPInputStream.java
2651 (GZIPInputStream): Increase buffer size to 4k.
2652 * java/util/zip/GZIPOutputStream.java
2653 (GZIPOutputStream): Likewise.
2654 * java/util/zip/Inflater.java
2655 (setInput): Merged formating with GNU classpath.
2656 * java/util/zip/InflaterInputStream.java
2657 (InflaterInputStream): Increase buffer size to 4k.
2658 (fill): Throw exception if stream ends early.
2659 (read): Merged endless-loop with GNU classpath.
2660 (skip): Increase buffer size to 2k.
2662 2004-07-30 Michael Koch <konqueror@gmx.de>
2664 * gnu/java/awt/EmbeddedWindow.java
2665 (addNotify): Use AccessController to allow execution of privileged
2668 2004-07-29 Michael Koch <konqueror@gmx.de>
2670 * gnu/java/lang/MainThread.java:
2671 Explicitely import used classes.
2672 (args): Make it type String[].
2674 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2676 * gnu/java/awt/ComponentDataBlitOp.java,
2677 gnu/java/beans/ExplicitBeanInfo.java,
2678 gnu/java/beans/IntrospectionIncubator.java,
2679 gnu/java/beans/editors/ColorEditor.java,
2680 gnu/java/beans/editors/FontEditor.java,
2681 gnu/java/beans/editors/NativeBooleanEditor.java,
2682 gnu/java/beans/editors/NativeByteEditor.java,
2683 gnu/java/beans/editors/NativeDoubleEditor.java,
2684 gnu/java/beans/editors/NativeFloatEditor.java,
2685 gnu/java/beans/editors/NativeIntEditor.java,
2686 gnu/java/beans/editors/NativeLongEditor.java,
2687 gnu/java/beans/editors/NativeShortEditor.java,
2688 gnu/java/beans/editors/StringEditor.java,
2689 gnu/java/io/ClassLoaderObjectInputStream.java,
2690 gnu/java/io/decode/Decoder.java,
2691 gnu/java/io/encode/Encoder.java,
2692 gnu/java/lang/ClassHelper.java,
2693 gnu/java/locale/Calendar.java,
2694 gnu/java/locale/Calendar_de.java,
2695 gnu/java/locale/Calendar_en.java,
2696 gnu/java/locale/Calendar_nl.java,
2697 gnu/java/locale/LocaleInformation_de.java,
2698 gnu/java/locale/LocaleInformation_en.java,
2699 gnu/java/locale/LocaleInformation_nl.java:
2702 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2704 * README: Remove obsolete info. Update bug URL.
2706 * NEWS: Updated with news up to GCC 3.4 release.
2708 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2710 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2711 Renamed from 'setName'. New 2-argument form with default value.
2712 (run): Pass default 'value' parameter to System.getProperty().
2713 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2715 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2718 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2720 * configure.in: Check for minimum GTK version 2.4 requirement.
2721 * configure: Rebuilt.
2723 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2725 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2726 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2728 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2730 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2731 address. Reduce sleep times. Synchronize with target threads before
2732 attempting to interrupt them. Don't try to calibrate yeild count,
2733 instead, always loop for a fixed time.
2734 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2735 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2736 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2737 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2738 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2739 * testsuite/libjava.lang/pr179.java: Likewise.
2740 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2741 time. Remove upper bounds check on sleep time.
2743 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2745 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2746 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2748 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2750 * java/io/File.java (toURI): Throw RuntimeException, not
2752 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2753 class name, not instance.
2755 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2757 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2758 and gnu/java/security/action/SetAccessibleAction.java.
2759 * Makefile.in: Rebuilt.
2761 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2763 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2764 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2766 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2767 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2768 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2770 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2772 * Makefile.am: Replace jar, rmic and rmiregistry references with
2773 gjar, grmic and grmiregistry.
2774 * configure.in: Likewise.
2775 * Makefile.in: Regenerate.
2776 * configure: Likewise.
2777 * gcj/Makefile.in: Likewise.
2778 * include/Makefile.in: Likewise.
2779 * testsuite/Makefile.in: Likewise.
2781 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2783 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2784 for privileged getProperty calls.
2785 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2786 SetAccessibleAction instead of anonymous class for doPrivileged call.
2787 (getMethod): Likewise.
2788 (setAccessible): New field. PrivilegedAction object to use when
2789 calling setAccessible.
2790 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2791 SetAccessibleAction instead of anonymous class for diPrivileged call.
2792 (setFields): Likewise.
2793 (getClassUID): Likewise.
2794 (findMethod): Likewise.
2795 * gnu/java/security/action/GetPropertyAction.java: New class.
2796 * gnu/java/security/action/SetAccessibleAction.java: New class.
2798 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2800 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2802 * testsuite/libjava.lang/Serialization.java: New test.
2803 * testsuite/libjava.lang/Serialization.out: New.
2805 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2807 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2808 missed in last commit.
2810 2004-07-23 Mark Wielaard <mark@klomp.org>
2812 * java/lang/System.java (static): Set http.agent system property when
2814 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2815 from system property inside AccessController.doPrivileged() call.
2816 (proxyPort): Made package private.
2817 (proxyInUse): Likewise.
2818 (proxyHost): Likewise.
2819 (userAgent): Likewise.
2821 2004-07-23 Mark Wielaard <mark@klomp.org>
2823 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2826 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2828 * Makefile.am (ordinary_java_source_files): Add
2829 DefaultContentHandlerFactory.java.
2830 * Makefile.in: Rebuilt.
2831 * java/net/URLConnection.java (defaultFactory): New field.
2833 (getContentHandler): Renamed from 'setContentHandler'. Try
2834 defaultFactory after user-set factory, if any. Search for content
2835 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2836 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2838 (getLastModified): Implemented.
2839 (getPermission): Create file permission here, instead of in
2841 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2843 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2845 (getLastModified): Implemented.
2846 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2847 Default implementation.
2848 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2849 Implement using GdkPixbufDecoder.
2851 2004-07-21 Michael Koch <konqueror@gmx.de>
2853 * javax/swing/JTextArea.java
2854 (setLineWrap): Fire property change event after new value is set.
2855 (setTabSize): Likewise.
2857 2004-07-21 Michael Koch <konqueror@gmx.de>
2859 * javax/swing/JTable.java
2860 (autoCreateColumnsFromModel): New field.
2861 (autoResizeMode): Likewise.
2862 (cellEditor): Likewise.
2863 (cellSelectionEnabled): Likewise.
2864 (columnModel): Likewise.
2865 (dataModel): Likewise.
2866 (defaultEditorsByColumnClass): Likewise.
2867 (defaultRenderersByColumnClass): Likewise.
2868 (editingColumn): Likewise.
2869 (editingRow): Likewise.
2870 (gridColor): Likewise.
2871 (preferredViewportSize): Likewise.
2872 (rowHeight): Likewise.
2873 (rowMargin): Likewise.
2874 (rowSelectionAllowed): Likewise.
2875 (selectionBackground): Likewise.
2876 (selectionForeground): Likewise.
2877 (selectionModel): Likewise.
2878 (showHorizontalLines): Likewise.
2879 (showVerticalLines): Likewise.
2880 (tableHeader): Likewise.
2881 (JTable): Implemented.
2882 (getColumnModel): Likewise.
2883 (getSelectedRow): Likewise.
2884 (getSelectionModel): Likewise.
2885 (setModel): Likewise.
2886 (setSelectionModel): Likewise.
2887 (createScrollPaneForTable): New method.
2888 (createDefaultDataModel): Likewise.
2889 (createDefaultListSelectionModel): Likewise.
2890 (getModel): Likewise.
2891 (getTableHeader): Likewise.
2892 (setTableHeader): Likewise.
2893 (getColumnSelectionAllowed): Likewise.
2894 (setColumnSelectionAllowed): Likewise.
2895 (getRowSelectionAllowed): Likewise.
2896 (setRowSelectionAllowed): Likewise.
2897 (getAutoResizeMode): Likewise.
2898 (setAutoResizeMode): Likewise.
2899 (getColumnCount): Likewise.
2900 (getRowCount): Likewise.
2901 (getCellRenderer): Likewise.
2902 * javax/swing/JTree.java
2903 (cellRenderer): New field.
2904 (editable): Likewise.
2905 (rootVisible): Likewise.
2906 (showsRootHandles): Likewise.
2907 (getModel): New method.
2908 (setModel): Likewise.
2909 (isEditable): Likewise.
2910 (setEditable): Likewise.
2911 (isRootVisbile): Likewise.
2912 (setRootVisible): Likewise.
2913 (getShowsRootHandles): Likewise.
2914 (setShowRootHandles): Likewise.
2915 (getCellRenderer): Likewise.
2916 (setCellRenderer): Likewise.
2918 2004-07-21 Michael Koch <konqueror@gmx.de>
2920 * javax/swing/JFormattedTextField.java
2921 (setDocument): Implemented.
2922 * javax/swing/JRootPane.java:
2924 * javax/swing/JTable.java
2925 (getDefaultRenderer): New method.
2926 * javax/swing/JTextField.java
2927 (setFont): Likewise.
2928 (getPreferredSize): Likewise.
2929 * javax/swing/JToggleButton.java
2930 (getAccessibleContext): Fix javadoc.
2931 * javax/swing/JTree.java:
2933 * javax/swing/JViewport.java:
2936 2004-07-21 David Jee <djee@redhat.com>
2938 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2939 Collect all native method declaration at the top.
2940 (create): Set the filename filter if necessary.
2941 (setDirectory): Call nativeSetDirectory().
2942 (setFilenameFilter): Implement.
2943 (filenameFilterCallback): New method.
2944 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2945 (create): Configure dialog to show hidden files.
2946 (filenameFilterCallback): New function.
2947 (nativeSetFilenameFilter): New function.
2948 (nativeSetDirectory): New function.
2950 2004-07-21 Kim Ho <kho@redhat.com>
2952 * javax/swing/plaf/basic/BasicSliderUI.java:
2954 (paintTrack): Fill the track before painting
2957 2004-07-21 Graydon Hoare <graydon@redhat.com>
2959 patch from Roman Kennke <roman@ontographics.com>
2960 * javax/swing/Spring.java: New file.
2961 * javax/swing/SpringLayout.java: New file.
2962 * Makefile.am: Add new files.
2963 * Makefile.in: Regenerate.
2965 2004-07-21 Graydon Hoare <graydon@redhat.com>
2967 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2968 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2969 * javax/swing/ScrollPaneLayout.java: Likewise.
2971 2004-07-21 Kim Ho <kho@redhat.com>
2973 * javax/swing/DefaultDesktopManager.java:
2974 (findMinimum): Removed.
2975 (resizeFrame): Trust the UI to pass valid
2977 * javax/swing/JOptionPane.java:
2978 Implemented showInternalXXXDialog methods.
2979 (startModal): New method.
2980 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2981 (BorderListener::mouseDragged): Verify that the new
2982 bounds are valid before passing them to the DesktopManager.
2983 (preferredLayoutSize): Delegate
2985 (minimumLayoutSize): Ditto.
2986 (getSize): New method.
2987 (GlassPaneDispatcher): Reimplemented by copying
2988 a stripped down LightweightDispatcher from Container.
2989 (getMinimumSize): Call minimumLayoutSize.
2990 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2992 (mousePressed): Add ability to properly close
2994 * javax/swing/plaf/basic/BasicToolBarUI.java:
2995 (DragWindow): Set owner for DragWindow.
2997 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2999 * java/awt/image/ShortLookupTable.java: New file.
3000 * java/awt/image/ByteLookupTable.java: New file.
3001 * Makefile.am: Added new files.
3002 * Makefile.in: Regenerated.
3004 2004-07-21 David Jee <djee@redhat.com>
3006 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
3007 (create(GtkContainerPeer)): New native method.
3008 (create()): Call native create(), passing in the parent frame
3009 as the paramter. Natively set the current file and directory.
3010 (setFile): Construct an absolute filename before passing it to
3012 (nativeGetDirectory): New method.
3013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
3014 (window_closed): Removed.
3015 (ok_clicked): Likewise.
3016 (cancel_clicked): Likewise.
3017 (handle_response): New method.
3018 (create): Use GtkFileChooserDialog.
3019 (connectSignals): Connect to handle_response.
3020 (nativeGetDirectory): New method.
3021 (nativeSetFile): Use GtkFileChooserDialog.
3023 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3025 * java/awt/image/LookupTable.java: New file.
3026 * Makefile.am: Added new file.
3027 * Makefile.in: Regenerated.
3029 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
3031 * java/awt/image/Kernel.java: New file.
3032 * Makefile.am: Added new file.
3033 * Makefile.in: Regenerated.
3035 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3037 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
3038 * javax/swing/JMenu.java: Likewise.
3039 * javax/swing/JMenuBar.java: Likewise.
3040 (MARGIN_CHANGED_PROPERTY): New property.
3041 (setMargin): Implemented.
3042 * javax/swing/JMenuItem.java: Fixed javadocs.
3043 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
3044 (LABEL_CHANGED_PROPERTY): New property.
3045 (add): changed to use createActionComponent.
3046 (createActionComponent): Implemented.
3047 (setLabel): Fire PropertyChangeEvent if label property
3049 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
3050 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
3051 (ContainerHandler): Repaint if margin property has changed.
3052 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3053 (installUI): Call installComponents().
3054 (uninstallUI): Call uinstallComponents().
3055 * javax/swing/plaf/basic/BasicMenuUI.java:
3057 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3060 2004-07-21 Kim Ho <kho@redhat.com>
3062 * javax/swing/plaf/basic/BasicToolBarUI.java:
3063 (DragWindow): Use the right constructor.
3065 2004-07-21 Kim Ho <kho@redhat.com>
3067 * javax/swing/JToolBar.java:
3068 (layoutContainer): Use getComponents.
3069 * javax/swing/plaf/basic/BasicToolBarUI.java:
3070 (DragWindow): Don't use SwingUtilities'
3072 (ToolBarDialog): ditto.
3074 2004-07-21 Kim Ho <kho@redhat.com>
3076 * javax/swing/JRootPane.java:
3078 (layoutContainer): Set the glasspane's size to
3079 be the same as the content pane.
3080 (createGlassPane): Set opaque property to false.
3082 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3084 * java/awt/Component.java (requestFocus()): Don't handle Panels
3086 (requestFocus(boolean)): Likewise.
3087 (requestFocusInWindow(boolean)): Likewise.
3088 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3089 Set GTK_CAN_FOCUS flag.
3091 2004-07-21 Kim Ho <kho@redhat.com>
3093 * Makefile.am: Added new file.
3094 * Makefile.in: Regenerated.
3095 * gcj/Makefile.in: Regenerated.
3096 * include/Makefile.in: Regenerated.
3097 * javax/swing/AbstractButton.java:
3098 Add rollOverEnabled property.
3099 (setRolloverEnabled): Use new property.
3100 (isRolloverEnabled): Use new property.
3101 * javax/swing/JTabbedPane.java:
3102 (setComponent): Remove useless JTabbedPane.this.
3103 * javax/swing/JToolBar.java: Finish implementation.
3104 * javax/swing/plaf/basic/BasicArrowButton.java:
3105 (paint): Moved border painting to a border.
3106 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3107 Change JToolBar look and feel defaults.
3108 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3109 (actionPerformed): Return Integer index instead of name.
3110 (addButtonComponents): Check to see if component is
3112 (createMessageArea): Don't use components that are not
3114 (getIconForType): Use temporary icons.
3115 * javax/swing/plaf/basic/BasicSliderUI.java:
3116 (mousePressed): Do not return if it's on thumb.
3117 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3118 (paintMinorTickForVertSlider): ditto.
3119 (paintMajorTickForHorizSlider): ditto.
3120 (paintMajorTickForVertSlider): ditto.
3121 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3122 Add a border around the SplitPaneDivider.
3123 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3125 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3126 New file. Implemented.
3127 * javax/swing/plaf/basic/BasicToolBarUI.java:
3129 * testsuite/Makefile.in: Regenerated.
3131 2004-07-21 Graydon Hoare <graydon@redhat.com>
3133 * javax/swing/Timer.java (run): Queue events each time cycle.
3135 2004-07-21 David Jee <djee@redhat.com>
3137 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3138 (imageComplete): Call image.imageComplete().
3139 * java/awt/image/MemoryImageSource.java:
3140 Reimplement consumers as a Vector instead of a Hashtable. This is
3141 because enumeration on a Hashtable is not thread-safe.
3142 (addConsumer): Adapt to Vector consumers.
3143 (isConsumer): Adapt to Vector consumers.
3144 (removeConsumer): Adapt to Vector consumers.
3145 (startProduction): Adapt to Vector consumers. Call imageComplete()
3146 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3147 (newPixels): Adapt to Vector consumers.
3148 (sendPicture): Set the color model of the image consumer.
3149 (newPixels(IIII)): Adapt to Vector consumers.
3150 (newPixels(IIIIB)): Adapt to Vector consumers.
3152 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3154 * java/awt/Component.java (deliverEvent): Implement.
3155 (postEvent): Implement.
3156 (handleEvent): Implement.
3157 (translateEvent): New method.
3158 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3159 * java/awt/Container.java (deliverEvent): Implement.
3160 * java/awt/Event.java (paramString): Fix formatting.
3161 * java/awt/Font.java (toString): Likewise.
3162 * java/awt/Window.java (postEvent): Implement.
3164 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3166 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3167 Set window's focus owner upon receiving a FOCUS_LOST event.
3168 * java/awt/Window.java (Window()): Refocus the previously
3169 focused component within the window when the window regains the
3171 (setFocusOwner): New method.
3172 * java/awt/Component.java (requestFocus): Add FIXME.
3174 * libgcj.pc.in: Remove library flags.
3176 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3178 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3179 MOUSE_PRESSED event.
3180 * java/awt/Component.java (requestFocus()): Handle Panel
3181 specially. Post FOCUS_LOST event on opposite component.
3182 (requestFocus(boolean)): Likewise.
3183 (requestFocusInWindow(boolean)): Likewise.
3184 (paramString): Reorder dimension fields.
3185 * java/awt/Container.java (paramString): Fix string format.
3186 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3187 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3188 process key events if the focus owner is non-null.
3189 (dispatchKeyEvent): Likewise.
3190 * java/awt/Frame.java (paramString): Fix formatting.
3191 (generateName): New method.
3192 (getUniqueLong): Likewise.
3193 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3194 the temporary focus owner is null. If so, return the permanent
3196 * java/awt/Panel.java (generateName): New method.
3197 (getUniqueLong): Likewise.
3198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3199 signal handling to make callbacks more specific.
3201 2004-07-21 Michael Koch <konqueror@gmx.de>
3203 * javax/swing/text/Position.java
3204 (Bias): Implemented.
3206 2004-07-21 Michael Koch <konqueror@gmx.de>
3208 * javax/swing/LookAndFeel.java
3209 (provideErrorFeedback): New method.
3211 2004-07-21 Michael Koch <konqueror@gmx.de>
3213 * javax/swing/JTextArea.java
3214 (tabSize): New field.
3215 (getTabSize): New method.
3216 (setTabSize): Likewise.
3218 2004-07-21 Michael Koch <konqueror@gmx.de>
3220 * javax/swing/ActionMap.java:
3221 Fixed javadocs all over.
3222 (serialVersionUID): Made private.
3223 (parent): Don't explicitely initialize with default value.
3225 (keys): Reimplemented.
3226 (allKeys): Likewise.
3227 (convertSet): Removed.
3228 * javax/swing/ComponentInputMap.java:
3229 Fixed javadocs all over.
3230 (ComponentInputMap): Implemented.
3234 (SetParent): Likewise.
3235 (getComponent): Likewise.
3236 * javax/swing/InputMap.java:
3237 Fixed javadocs all over.
3238 (serialVersionUID): Made private.
3239 (parent): Don't explicitely initialize with default value.
3241 (keys): Reimplemented.
3242 (allKeys): Likewise.
3243 (convertSet): Removed.
3245 2004-07-21 Michael Koch <konqueror@gmx.de>
3247 * javax/swing/ActionMap.java,
3248 javax/swing/ComponentInputMap.java,
3249 javax/swing/InputMap.java,
3250 javax/swing/table/DefaultTableColumnModel.java,
3251 javax/swing/table/TableColumn.java,
3252 javax/swing/table/TableColumnModel.java,
3253 javax/swing/table/TableModel.java,
3254 javax/swing/text/AbstractDocument.java,
3255 javax/swing/text/TextAction.java:
3258 2004-07-21 Graydon Hoare <graydon@redhat.com>
3260 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3261 Make method non-static.
3262 * javax/swing/AbstractButton.java:
3263 Rename fields to match property names where possible.
3264 (iconTextGap): New property.
3265 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3266 (init) New method, call from after various constructors.
3267 * javax/swing/JComponent.java (revalidate):
3268 Invalidate before queueing repair.
3269 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3270 Reimplement in terms of visibleRowCount property.
3271 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3272 * javax/swing/JScrollPane.java (createScrollListener):
3273 Remove tracing chatter.
3274 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3275 * javax/swing/RepaintManager.java (addInvalidComponent):
3277 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3279 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3280 Mimic sun behavior on top left/right positioning.
3281 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3282 Remove mistaken use of preferredScrollableViewportSize here.
3283 (layoutContainer): Use view's preferred size as basis.
3284 * javax/swing/plaf/basic/BasicButtonUI.java:
3285 Set, get, and use textIconGap property.
3286 (paint) Paint text returned from layout (with ellipsis).
3287 * javax/swing/plaf/basic/BasicListUI.java:
3288 Remove tracing chatter, correct various minor calculations.
3289 (getCellBounds): Update layout state before calculating.
3290 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3291 Use margin default similar to sun's.
3292 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3293 (createIncreaseIcon): Center icon, minimize margins.
3294 (createDecreaseIcon): Likewise.
3295 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3297 (installUI): Call it.
3298 (uninstallDefaults): Implement.
3299 (uninstallUI): Call it.
3300 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3301 Call existing Window constructor.
3302 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3303 Set clip before painting.
3305 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3307 * javax/swing/JMenuItem.java:
3308 (processMouseEvent): Reimplemented to deal with
3310 (createMenuDragMouseEvent): New private helper method.
3311 Creates MenuDragMouseEvent.
3312 * javax/swing/MenuSelectionManager.java
3313 (componentForPoint): Implemented.
3314 (isComponentPartOfCurrentMenu): Made public.
3315 (processMouseEvent): Reimplemented to deal with
3317 (setSelectedPath): Corrected small mistake that caused
3318 path to be set incorrectly.
3319 (getPath): If given component is JMenu then also add this
3320 menu's popup menu to the selected path.
3321 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3323 (getPreferredSize): Call getPreferredMenuItemSize().
3324 (getPreferredItemSize): Moved code from getPreferredSize to here.
3325 (installListeners): Install MouseMotionListeners.
3326 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3327 if mouse wasn't released in the bounds of this menu item.
3328 (MenuDragMouseHandler): Implemented.
3329 * javax/swing/plaf/basic/BasicMenuUI.java:
3330 (installListeners): Install MouseMotionListener and
3331 MenuDrageMouseListener.
3332 (MenuDragMouseHandler): Implemented.
3333 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3334 (uninstallListeners): Implemented.
3336 2004-07-21 Michael Koch <konqueror@gmx.de>
3338 * javax/swing/JCheckBox.java: Reformated.
3339 (JCheckBox): Fixed all constructors.
3340 (isBorderPaintedFlat): New method.
3341 (setBorderPaintedFlat): New method.
3342 * javax/swing/JEditorPane.java
3343 (createEditorKitForContentType): Made public.
3344 (scrollToReference): Likewise.
3345 * javax/swing/JTextArea.java
3346 (setLineWrap): Fire property change.
3347 * javax/swing/JToggleButton.java
3348 (JToggleButton): New constructor.
3349 (JToggleButton): Simplified.
3350 * javax/swing/text/AttributeSet.java
3351 (FontAttribute): Renamed from FontCharacterAttribute.
3352 * javax/swing/text/JTextComponent.java
3353 (KeyBinBinding): Added javadoc.
3354 (JTextComponent): Likewise.
3355 (getAccessibleContext): Fixed javadoc.
3356 * javax/swing/text/View.java
3357 (View): Added javadoc.
3358 * javax/swing/text/TabableView.java: New file.
3359 * Makefile.am: Added javax/swing/text/TabableView.java.
3360 * Makefile.in: Regenerated.
3362 2004-07-21 Graydon Hoare <graydon@redhat.com>
3364 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3365 * gnu/java/awt/peer/gtk/GtkToolkit.java
3366 (GtkErrorImage): New helper class.
3367 (bufferedImageOrError): New helper method.
3368 (createImage): Use it.
3370 2004-07-21 David Jee <djee@redhat.com>
3372 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3373 (setCaretPosition): Scroll the text view so the new caret position
3374 is visible on screen.
3376 2004-07-21 David Jee <djee@redhat.com>
3378 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3379 (setBounds): Do not validate awtComponent here.
3380 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3381 (getPreferredSize): New method.
3382 * java/awt/ScrollPane.java
3383 (ScrollPane): Set default size to 100x100.
3384 (addNotify): If child is not a Panel, wrap it with a new Panel.
3385 (paramString): Implement.
3387 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3389 * javax/swing/JMenu.java:
3390 (setSelected): Display popup menu only if this menu
3391 is showing on the screen.
3392 * javax/swing/JPopupMenu.java:
3393 (processMouseEvent): Added comment.
3394 (processKeyEvent): Likewise.
3395 * javax/swing/MenuSelectionManager.java:
3396 (clearSelectedPath): Only fireStateChanged() after
3397 selected path was changed, not before.
3398 (setSelectedPath): Likewise.
3399 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3400 (paintMenuItem): Corrected position of menu item's
3402 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3403 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3404 (popupMenuCanceled): Reimplemented.
3405 (popupMenuWillBecomeVisible): Select first menu item by default
3406 when displaying free floating popup menus.
3407 (TopWindowListener): Reimplemented.
3409 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3411 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3412 Panel from being painted twice when it is first shown.
3414 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3416 * java/awt/Window.java: Reverted changes from my
3417 previous patch for creating window without an owner.
3418 * javax/swing/SwingUtilities.java:
3419 (SwingUtilities.OwnerFrame): made static.
3420 (OwnerFrame.setVisible): New method. Overridden with
3421 empty implementation.
3422 (OwnerFrame.isShowing): New method. Ovverridden
3423 to return always true.
3425 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3427 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3428 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3429 (GtkComponentPeer): Remove temporary try/catch block.
3430 (setVisible): Call show and hide.
3431 (show): Make native.
3433 (getArgs): Don't add "visible" argument.
3434 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3435 (property_notify_predicate): Return Bool instead of int.
3436 (find_layout): New function.
3437 (connectJObject): Call find_layout.
3438 (connectSignals): Likewise.
3439 (moveLayout): Likewise.
3440 (gtkLayoutSetVisible): Likewise.
3442 2004-07-21 Mark Wielaard <mark@klomp.org>
3444 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3445 on notifier object before calling notifyAll().
3447 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3449 * java/awt/Window.java: Changed constructors to use new
3450 method that is described below. Constructors call this
3451 methods only if newly created window should have an owner.
3452 (setWindowOwner): New method. Implementation for
3453 this method is moved from this(owner,configuration).
3454 * javax/swing/JWindow.java:
3455 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3457 * javax/swing/SwingUtilities.java:
3458 (ownerFrame): Change type of this field to OwnerFrame.
3459 (getOwnerFrame): Changed to return object of type OwnerFrame.
3460 (SwingUtilities.OwnerFrame): New class. Represents owner
3461 of a Window that is not provided with one.
3463 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3465 * javax/swing/AbstractButton.java:
3466 (configurePropertiesFromAction): Set action command
3467 to button's text by default if action command is not
3468 explicitely specified.
3469 * javax/swing/JMenu.java: Remove unnecessary listener
3470 and methods relevant to it.
3471 (setSelected): Reimplemented.
3472 (menuSelectionChanged): Moved most part of implementation to
3473 setSelected() and call it instead.
3474 * javax/swing/JMenuItem.java:
3475 (init): Comment out statement that sets paint_border to false.
3476 (configurePropertiesFromAction): Do not set accelerator
3478 (menuSelectionChanged): Change selected index in the selection
3479 model of menu item's parent.
3480 * javax/swing/JPopupMenu.java:
3481 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3482 instead of GridBagConstraints.HORIZONTAL.
3484 (createActionChangeListener): Implemented.
3485 (setVisible): Correct location of HeavyWeightMenu and
3486 don't firePopupMenuCanceled().
3487 (menuSelectionChanged): Implemented.
3488 (ActionChangeListener): New Listener. Implemented.
3489 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3490 (BasicMenuBarUI.ContainerHandler): Implemented.
3491 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3492 (paintMenuItem): Uncommented out code that paints
3493 icon, now that icons are working properly.
3494 (PropertyChangeListener): Implemented.
3495 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3497 (topWindowListener): New field.
3498 (Constructor): initialize topWindowListener.
3499 (BasicPopupMenuUI.TopWindowListener): Implemented.
3500 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3501 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3504 2004-07-21 Michael Koch <konqueror@gmx.de>
3506 * javax/swing/plaf/basic/BasicButtonUI.java
3507 (paintFocus): Fixed method signature.
3508 (paintButtonPressed): Likewise.
3509 (paintButtonNormal): Likewise.
3510 (paintText): New method.
3511 * javax/swing/plaf/basic/BasicLabelUI.java
3512 (paint): Re-indented.
3513 * javax/swing/plaf/basic/BasicTextUI.java
3514 (installUI): Set parent textComponent to opaque.
3515 * javax/swing/text/DefaultHighlighter.java
3516 (checkPositions): New helper method.
3517 (addHighlight): Throws BadLocationException, check positions.
3518 (changeHighlight): Likewise.
3519 * javax/swing/text/EditorKit.java
3520 (EditorKit): Implements Serializable.
3521 * javax/swing/text/JTextComponent.java
3522 (getUI): Added javadoc.
3524 (upadteUI): Added javadoc, don't revalidate and repaint.
3526 2004-07-21 David Jee <djee@redhat.com>
3528 * java/awt/GridBagLayout.java
3529 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3530 * javax/swing/AbstractButton.java
3531 (setText): Reindent.
3532 * javax/swing/RepaintManager.java
3533 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3535 2004-07-21 Michael Koch <konqueror@gmx.de>
3537 * javax/swing/JFormattedTextField.java
3539 (JFormattedTextField): Implemented.
3540 (getValue): Likewise.
3541 (setValue): Likewise.
3542 * javax/swing/LookAndFeel.java
3543 (getSupportsWindowDecorations): New method.
3544 * javax/swing/UIDefaults.java:
3545 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3546 (addPropertyChangeListener): Made public.
3547 (addResourceBundle): Likewise.
3548 (removeResourceBundle): Likewise.
3549 (setDefaultLocale): Likewise.
3550 * javax/swing/plaf/basic/BasicRootPaneUI.java
3551 (BasicRootPaneUI): Implements PropertyChangeListener.
3552 (propertyChange): New method.
3553 * javax/swing/plaf/basic/BasicTextUI.java
3554 (BasicHighlighter): New inner class.
3555 (createHighlighter): New method.
3556 * javax/swing/plaf/basic/BasicToolBarUI.java
3557 (DragWindow): Extends java.awt.Window.
3558 * javax/swing/text/JTextComponent.java
3559 (getDocument): Removed debug output.
3560 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3561 javax/swing/text/DefaultHighlighter.java,
3562 javax/swing/text/FieldView.java,
3563 javax/swing/text/PlainView.java: New files.
3564 * Makefile.am: Added new files.
3565 * Makefile.in: Regenerated.
3567 2004-07-21 Michael Koch <konqueror@gmx.de>
3569 * javax/swing/JEditorPane.java
3570 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3571 (createEditorKitForContentType): Likewise.
3572 * javax/swing/text/DefaultEditorKit.java
3573 (serialVersionUID): Added constant field.
3574 (EndOfLineStringPropery): Fixed typo.
3575 (DefaultEditorKit): New constructor.
3576 * javax/swing/text/Segment.java:
3577 Import java.text.CharacterIterator.
3578 * javax/swing/text/CharacterIterator.java,
3579 javax/swing/text/PlainEditorKit.java: Removed.
3580 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3581 javax/swing/text/PlainEditorKit.java.
3582 * Makefile.in: Regenerated.
3584 2004-07-21 Michael Koch <konqueror@gmx.de>
3586 * javax/swing/JButton.java,
3587 javax/swing/text/DefaultEditorKit.java,
3588 javax/swing/text/EditorKit.java,
3589 javax/swing/text/Segment.java,
3590 javax/swing/text/StyledEditorKit.java:
3593 2004-07-21 Michael Koch <konqueror@gmx.de>
3595 * javax/swing/ImageIcon.java
3597 (description): Renamed from descr.
3598 (ImageIcon): Added missing constructors.
3599 (setParent): Removed.
3600 (setImageObserver): New method.
3601 (getImageObserver): New method.
3602 (paintIcon): Handle observer = null.
3603 * javax/swing/JButton.java
3604 (removeNotify): Fixed javadoc.
3605 (updateUI): Simplified.
3606 * javax/swing/JRootPane.java
3607 (serialVersionUID): New constant field.
3608 * javax/swing/UIManager.java:
3609 Fixed javadocs all over.
3610 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3611 * javax/swing/text/AbstractDocument.java
3612 (createPosition): Throws BadLocationException.
3613 (getText): Likewise.
3615 * javax/swing/text/ComponentView.java
3616 (modelToView): Likewise.
3617 * javax/swing/text/DefaultEditorKit.java:
3618 Made all public methods public.
3619 (read): Throws BadLocationException and IOException.
3621 * javax/swing/text/EditorKit.java:
3622 Made all public methods public.
3623 (serialVersionUID): New constant field.
3624 (clone): New method.
3625 (read): Throws BadLocationException and IOException.
3627 * javax/swing/text/Segment.java
3628 (array): Made public.
3631 (Segment): New constructors.
3632 (clone): Reimplemented.
3633 * javax/swing/text/StyledEditorKit.java
3634 (serialVersionUID): New constant field.
3636 2004-07-21 Graydon Hoare <graydon@redhat.com>
3638 * java/awt/image/BufferedImage.java
3639 (getSource): Implement.
3640 * javax/swing/ImageIcon.java
3641 (ImageIcon): Implement ctor.
3642 * javax/swing/ScrollPaneLayout.java
3643 (preferredLayoutSize): Be more careful about nulls.
3645 2004-07-21 Michael Koch <konqueror@gmx.de>
3647 * javax/swing/text/AttributeSet.java
3648 (CharacterAttribute): New interface
3649 (ColorAttribute): Likewise.
3650 (FontCharacterAttribute): Likewise.
3651 (ParagraphAttribute): Likewise.
3652 * javax/swing/text/DefaultCaret.java
3653 (moveCaret): New method.
3654 (positionCaret): Likewise.
3655 (repaint): Made protected.
3656 * javax/swing/text/JTextComponent.java
3657 (KeyBinding): Made it static.
3658 * javax/swing/text/View.java
3659 (getContainer): Honor parent == null.
3661 2004-07-21 Michael Koch <konqueror@gmx.de>
3663 * javax/swing/text/AbstractDocument.java:
3666 2004-07-21 Michael Koch <konqueror@gmx.de>
3668 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3669 Import javax.swing.UIManager explicitely.
3670 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3671 (ScrollingButton): Made it static.
3673 2004-07-21 Michael Koch <konqueror@gmx.de>
3675 * javax/swing/UIDefaults.java
3676 (ActiveValue): Made public.
3677 (LazyValue): Likewise.
3678 * javax/swing/plaf/basic/BasicTextUI.java
3679 (RootView): Reintroduced.
3681 (rootView): New field.
3682 (installUI): Create document if needed, initialize rootView.
3683 (uninstallUI): Hanle rootView.
3685 (getRootView): Likewise.
3686 (setView): Likewise.
3687 * javax/swing/text/DefaultCaret.java:
3688 Renamed all "evt" variables to "event".
3690 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3692 * libgcj.spec.in: Add -l-java-util-logging.
3694 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3697 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3698 gtk-xft-dpi can no calculate the right value.
3699 (dpi_changed_cb): Mark *pspec as unsused.
3701 2004-07-21 David Jee <djee@redhat.com>
3703 * java/awt/Component.java
3704 (move): Delegate to setBounds().
3706 (reshape): Fix so it repaints parent and self only when necessary.
3708 2004-07-21 David Jee <djee@redhat.com>
3710 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3711 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3712 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3713 (setVisible): Likewise.
3716 (getArgs): Likewise.
3717 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3718 (property_notify_predicate): Likewise.
3719 (find_layout): Likewise.
3720 (connectJObject): Likewise.
3721 (connectSignals): Likewise.
3722 (moveLayout): Likewise.
3723 (gtkLayoutSetVisible): Likewise.
3725 2004-07-21 Graydon Hoare <graydon@redhat.com>
3731 (rmiregistry_LDADD): Add lib-java-util-logging.la
3732 * Makefile.in: Regenerate.
3734 2004-07-21 Michael Koch <konqueror@gmx.de>
3736 * javax/swing/text/AbstractDocument.java
3737 (replace): Dont use protected method of java.util.Vector directly.
3739 2004-07-21 Michael Koch <konqueror@gmx.de>
3741 * javax/swing/plaf/basic/BasicTextUI.java
3742 (installUI): Call specialized install methods.
3743 (installDefaults): New method.
3744 (installListeners): Likewise.
3745 (installKeyboardActions): Likewise.
3746 (uninstallUI): Likewise.
3747 (uninstallDefaults): New method.
3748 (uninstallListeners): Likewise.
3749 (uninstallKeyboardActions): Likewise.
3750 (getPropertyPrefix): New abstract method.
3751 (paint): Made final, just call paintSafely().
3752 (paintSavely): New method.
3753 (paintBackground): Likewise.
3754 (getVisibleEditorRect): Likewise.
3755 * javax/swing/text/LayeredHighlighter.java,
3756 javax/swing/text/TabExpander.java: New files.
3757 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3758 and javax/swing/text/TabExpander.java.
3759 * Makefile.in: Regenerated.
3761 2004-07-21 Michael Koch <konqueror@gmx.de>
3763 * javax/swing/plaf/basic/BasicTextUI.java
3764 (BasicTextUI): Made abstract.
3765 (BasicCaret): New inner class.
3766 (view): Don't explicitely initialize with "null".
3767 (textComponent): New field.
3768 (textColor): Removed.
3769 (disabledTextColor): Removed.
3770 (normalBackgroundColor): Removed.
3771 (RootView): Removed commented out inner class.
3772 (createUI): Removed.
3773 (createCaret): New method.
3774 (getComponent): Likewise.
3775 (installUI): Initialize textComponent only.
3776 (getPreferredSize): Use installed JTextComponent.
3777 (setView): New method.
3779 * javax/swing/text/JTextComponent.java
3780 (highlighter): New field.
3781 (caretColor): Likewise.
3782 (disabledTextColor): Likewise.
3783 (seletedTextColor): Likewise.
3784 (selectionColor): Likewise.
3785 (setUI): New method.
3786 (getCaretColor): Likewise.
3787 (setCaretColor): Likewise.
3788 (getDisabledColor): Likewise.
3789 (setDisabledColor): Likewise.
3790 (getSelectedTextColor): Likewise.
3791 (setSelectedTextColor): Likewise.
3792 (getSelectionColor): Likewise.
3793 (setSelectionColor): Likewise.
3794 (getHighlighter): Likewise.
3795 (setHighlighter): Likewise.
3796 (replaceSelection): Likewise.
3798 2004-07-21 Michael Koch <konqueror@gmx.de>
3800 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3801 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3802 * javax/swing/plaf/basic/BasicToolBarUI.java
3803 (BasicToolBarUI): Implements SwingConstants.
3805 2004-07-21 Michael Koch <konqueror@gmx.de>
3807 * javax/swing/JPopupMenu.java: Removed CVS tags.
3808 * javax/swing/UIDefaults.java: Reformatted.
3809 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3810 Explicitely import used classes.
3812 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3814 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3815 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3816 (GtkComponentPeer): Remove temporary try/catch block.
3817 (setVisible): Call show and hide.
3818 (show): Make native.
3820 (getArgs): Don't add "visible" argument.
3821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3822 (property_notify_predicate): Return Bool instead of int.
3823 (find_layout): New function.
3824 (connectJObject): Call find_layout.
3825 (connectSignals): Likewise.
3826 (moveLayout): Likewise.
3827 (gtkLayoutSetVisible): Likewise.
3829 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3831 * javax/swing/AbstractButton.java:
3832 (setDisplayedMnemonicIndex): Check if button
3833 text is not null before checking its length.
3834 * javax/swing/JMenuItem.java:
3835 (processMouseEvent): Disarm menu item if mouse has
3837 * javax/swing/plaf/basic/BasicMenuUI.java:
3838 (MouseInputHandler.mouseEntered): Do not raise
3839 popup menu if this menu is already selected.
3840 (MouseInputHandler.mousePressed): Do not fire
3842 (MenuHandler): Implemented.
3844 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3846 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3847 (getSelectedObjects): Implemented.
3848 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3849 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3850 Added javadoc for few methods.
3851 (processMouseEvent): Made public.
3852 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3853 (processMouseEvent): Likewise.
3855 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3857 * javax/swing/AbstractButton.java:
3858 (init): Set display mnemonic index to -1.
3859 (setMnemonic(char)): Use setMnemonic(int).
3860 (setMnemonic(int)): Set display mnemonic index.
3861 (getDisplayedMnemonicIndex): Change method signature
3862 by removing 'index' parameter.
3863 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3864 Added default for Menu.selectionBackground.
3865 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3866 (paintMenuItem): Change background color of the selected
3868 (paintText): Paint differently when menu item is disabled.
3869 Also paint mnemonic if it appears in the menu item's label.
3870 (paintAccelerator): Paint accelerator differently
3871 if menu item is disabled.
3872 * javax/swing/plaf/basic/BasicMenuUI.java:
3873 (installDefaults): Install defaults for
3874 selectionForeground and selectionBackground.
3875 (uninstallDefaults): Uninstall defauls for
3876 selectionForeground and selectionBackground.
3878 2004-07-21 Michael Koch <konqueror@gmx.de>
3880 * javax/swing/text/AbstractDocument.java
3881 (BranchElement): Implemented.
3882 (LeafElement): Implemented.
3883 * javax/swing/text/DefaultCaret.java:
3884 Import used classes.
3885 (serialVersionUID): New constant.
3886 * javax/swing/text/JTextComponent.java
3887 (AccessibleJTextComponent): Removed dead declaration.
3888 (caretPos): Removed.
3889 (setCaret): New method.
3890 * javax/swing/text/PlainDocument.java
3891 (rootElement): New field.
3892 (PlainDocument): Initialize rootElement.
3893 (createDefaultRoot): New method.
3894 (getDefaultRootElement): Implemented.
3895 * javax/swing/text/View.java: Reformatted.
3896 * javax/swing/text/ViewFactory.java
3897 (create): Added javadoc.
3899 2004-07-21 Michael Koch <konqueror@gmx.de>
3901 * javax/swing/ToolTipManager.java: Reformatted.
3903 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3905 * javax/swing/AbstractButton.java
3906 (changeEvent): New field.
3907 (fireItemStateChanged): Change source of the event
3908 to 'this' before firing it to button listeners.
3909 (fireActionPerformed): Likewise.
3910 (fireStateChanged): Likewise.
3911 (createActionListener): Do not set source
3912 of the event to AbstractButton.
3913 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3914 (ContainerHandler.componentAdded): Removed
3915 print out statement.
3916 (ContainerHandler.componentRemoved): Likewise.
3918 2004-07-21 Michael Koch <konqueror@gmx.de>
3920 * javax/swing/text/Highlighter.java: New file.
3921 * Makefile.am: Added javax/swing/text/Highlighter.java.
3922 * Makefile.in: Regenerated.
3924 2004-07-21 Michael Koch <konqueror@gmx.de>
3926 * javax/swing/ToolTipManager.java
3927 (stillInsideTimerAction): Fixed constructor arguments.
3928 (outsideTimerAction): Likewise.
3929 (insideTimerAction): Likewise.
3931 2004-07-21 Michael Koch <konqueror@gmx.de>
3933 * javax/swing/JButton.java: Reformatted.
3934 * javax/swing/JFormattedTextField.java
3935 (getUIClassID): Implemented.
3936 * javax/swing/JRootPane.java
3937 (serialVersionUID): New constant.
3938 * javax/swing/JTextField.java
3940 (JTextField): Simplified.
3941 (getUIClassID): New method.
3942 (getActionListeners): Added @since tag.
3943 (setColumns): Invalidate layout and repaint.
3944 (getHorizontalAlignment): New method.
3945 (setHorizontalAlignment): New method.
3946 (selectAll): Removed.
3947 * javax/swing/SwingUtilities.java
3948 (getAncestorOfClass): Removed redundant @see tag.
3949 (isLeftMouseButton): Fixed implementation.
3950 (isMiddleMouseButton): Likewise.
3951 (isRightMouseButton): Likewise.
3952 * javax/swing/text/AbstractDocument.java
3953 (AttributeContext.addAttribute): New method.
3954 (AttributeContext.addAttributes): New method.
3955 (AttributeContext.getEmptySet): New method.
3956 (AttributeContext.reclaim): New method.
3957 (AttributeContext.removeAttribute): New method.
3958 (AttributeContext.removeAttributes): New method.
3959 * javax/swing/text/Document.java
3960 (createPosition): Throws BadLocationException.
3961 (getText): Likewise.
3963 * javax/swing/text/JTextComponent.java
3964 (getText): Return null if no document is set. Catch
3965 BadLocationException.
3967 (updateUI): Simplified.
3969 2004-07-21 Michael Koch <konqueror@gmx.de>
3971 * javax/swing/JButton.java
3972 (removeNotify): Fixed javadoc.
3973 (updateUI): Simplified.
3975 2004-07-21 David Jee <djee@redhat.com>
3977 * gnu/java/awt/image/ImageDecoder.java
3978 (startProduction): Only add consumer if it's not added yet.
3979 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3980 (GdkPixbufDecoder): Don't call initState() here.
3981 (produce): Call initState() here, to ensure area_prepared and
3982 area_updated signals are properly connected.
3983 * gnu/java/awt/peer/gtk/GtkImage.java
3984 (setColorModel): Use equals() to compare ColorModel objects.
3985 (setPixels): Likewise.
3986 * java/awt/image/ColorModel.java
3987 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3988 * java/awt/image/RGBImageFilter.java
3989 (setColorModel): Set consumer's color model.
3990 (setPixels): Use equals() to compare ColorModel objects.
3992 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3994 * java/net/URLConnection.java (position): New field.
3995 (dateFormat1, dateFormat2, dateFormat3): Removed.
3996 (dateFormats): New field.
3997 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3998 each time instead of re-allocating.
3999 (initializeDateFormats): Initialize 'dateFormats'.
4001 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4004 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
4007 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4009 * java/net/Socket.java (getImpl): Now private. Remove comment.
4011 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
4013 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
4014 of chained Writer when calling super-constructor.
4015 * java/io/FilterWriter.java (FilterWriter): Likewise.
4016 * java/io/PrintWriter.java (PrintWriter): Likewise.
4018 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
4020 * prims.cc (process_gcj_properties): Don't increment i within LHS
4023 2004-07-19 Per Bothner <per@bothner.com>
4025 Print -verbose:message on "loading", not initialization.
4026 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
4027 * defineclass.cc (_Jv_ClassReader::parse): Print message if
4028 gcj::verbose_class_flag.
4029 * java/lang/natClass.cc (initializeClass): Don't print message here.
4030 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
4031 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
4032 (_Jv_PrepareCompiledClass): Likewise.
4034 2004-07-18 Matthias Klose <doko@debian.org>
4036 * configure.in: Substitute target_noncanonical.
4037 * configure: Regenerate
4039 2004-07-17 Michael Koch <konqueror@gmx.de>
4041 * java/lang/String.java: Fixed javadocs all over.
4043 2004-07-17 Mark Wielaard <mark@klomp.org>
4045 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
4046 when size is smaller.
4047 * java/io/RandomAccessFile.java (setLength): Use truncate for
4048 shrinking the file and seek plus write for expanding the file.
4050 2004-07-17 Michael Koch <konqueror@gmx.de>
4052 * gnu/java/nio/channels/natFileChannelPosix.cc
4053 (implTruncate): Always save current position. Only reposition file
4054 pointer to where we started if not beyond new lenght. Reposition file
4055 pointer to file length if it points beyond the end of file.
4057 2004-07-17 Mark Wielaard <mark@klomp.org>
4059 * javax/swing/Box.java: Put FIXME comment above class declaration.
4060 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
4061 * javax/swing/JCheckBox.java: Likewise.
4062 * javax/swing/JDialog.java: Likewise.
4063 * javax/swing/JRadioButton.java: Likewise.
4064 * javax/swing/JToggleButton.java: Likewise.
4065 * javax/swing/UIManager.java: Likewise.
4066 * javax/swing/border/TitledBorder.java: Likewise.
4067 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
4068 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
4069 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
4070 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
4071 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
4072 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
4073 * javax/swing/text/JTextComponent.java: Likewise.
4075 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
4077 * java/net/DatagramPacket.java (setAddress): Removed check for
4080 2004-07-17 Michael Koch <konqueror@gmx.de>
4082 * java/net/DatagramSocket.java
4083 (getLocalAddress): Check if socket is bound or not.
4084 * java/net/Socket.java
4085 (getLocalAddrss): Check if socket is bound or not.
4086 (getPort): Return -1 when not connected. Dont check getImpl() for
4088 (setReuseAddress): Check if socket is closed.
4089 (isConnected): Check if getImpl() returns null.
4091 2004-07-17 Mark Wielaard <mark@klomp.org>
4093 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4094 on notifier object before calling notifyAll().
4096 2004-07-17 Michael Koch <konqueror@gmx.de>
4098 * gnu/java/nio/channels/FileChannelImpl.java
4099 (finalize): Added javadoc.
4101 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4103 * java/text/CollationElementIterator.java
4104 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4105 (setText): Use ArrayList instead of Vector.
4107 2004-07-17 Michael Koch <konqueror@gmx.de>
4109 * java/nio/ByteOrder.java
4110 (static): Removed. Not needed.
4111 Thanks to Patrick Reali for noticing.
4112 * java/nio/charset/CharsetDecoder.java
4113 (decode): Fix for classpath bug #9177: Reset state before flipping.
4115 2004-07-17 Michael Koch <konqueror@gmx.de>
4117 * java/security/Security.java: Fixed javadocs all over.
4119 2004-07-17 Michael Koch <konqueror@gmx.de>
4121 * gnu/java/awt/EmbeddedWindow.java
4123 (addNotify): Set peer via reflection.
4124 (setWindowPeer): Removed.
4125 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4126 * Makefile.am (nat_source_files):
4127 Removed gnu/java/awt/natEmbeddedWindow.cc.
4128 * Makefile.in: Regenerated.
4130 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4132 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4134 * configure: Regenerated.
4136 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4138 * configure.in: Use build_noncanonical rather than build_alias.
4139 * configure: Rebuild.
4141 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4142 by logic refactoring. Move default definition of NATIVE closer
4143 to first alternate definition.
4144 * configure: Regenerate.
4146 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4147 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4148 gcj/Makefile.in: Regenerate.
4149 * configure.in: Set ZIP and GCJH. Remove redundant condition
4150 in AM_CONDITIONAL(NATIVE,...)
4151 * configure: Regenerate.
4153 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4155 * configure.in: Use target_noncanonical rather than
4156 target_alias for forward-compatibility with autoconf 2.59.
4157 * configure: Regenerate.
4158 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4159 testsuite/Makefile.am: Substitute target_noncanonical.
4160 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4161 testsuite/Makefile.in: Regenerate.
4163 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4164 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4165 * acinclude.m4: Include acx.m4.
4166 * aclocal.m4: Regenerate.
4167 * configure: Regenerate.
4169 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4172 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4173 (decimalFormat): New static variable.
4175 (getTime): New. Override Date.getTime().
4176 (toString): Synchronize. Use decimalFormat to format nanos value
4177 correctly. Truncate extra zeros.
4178 (before): Compare getNanos() only if getTime() is equal.
4181 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4183 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4184 * configure.in: ...here.
4185 * aclocal.m4: Regenerate.
4186 * configure: Regenerate.
4188 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4189 * configure: Rebuilt with autoconf 2.13.
4190 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4191 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4193 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4196 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4198 * Makefile.in: Rebuilt.
4199 * testsuite/libjava.lang/LargeFile.java: New test case.
4200 * testsuite/libjava.lang/LargeFile.out: New file.
4202 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4204 * java/beans/EventHandler.java: Remove debugging statements.
4206 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4208 * java/beans/EventHandler.java: New file.
4209 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4210 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4211 testsuite/Makefile.in: Regenerate.
4213 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4215 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4216 flag to the gcj_setup.
4217 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4219 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4220 deprecation flag change. 58 XFAILS removed.
4222 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4224 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4225 -fno-use-divide-subroutine.
4226 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4227 (HANDLE_FPE): Define.
4228 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4229 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4230 (HANDLE_DIVIDE_OVERFLOW): Define.
4232 2004-07-14 Michael Koch <konqueror@gmx.de>
4233 Matthias Klose <doko@debian.org>
4235 * java/awt/im/InputContext.java: Initialize in, line.
4237 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4239 * interpret.cc (run): Correctly access libffi return values of
4240 integral smaller-than-int type; these are implicitly promoted.
4242 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4245 * interpret.cc (compile_mutex): New.
4246 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4247 (run): Lock compile_mutex before calling compile() if compilation is
4249 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4250 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4252 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4255 * include/jvm.h (_Jv_value): New union type.
4256 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4257 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4260 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4262 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4263 * gnu/awt/xlib/XOffScreenImage.java
4264 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4265 constructor argument. Add constructor using ImageProducer.
4266 (getSource): Implement.
4267 (imageComplete): New method.
4268 (setColorModel): New method.
4269 (setDimensions): New method.
4270 (setHints): New method.
4271 (setPixels): New method.
4272 (setProperties): New method.
4273 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4274 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4276 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4279 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4280 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4281 (finalizerReady): Now native.
4283 (runFinalizers): Removed.
4284 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4285 a primitive lock, and don't hold it while running the finalizers.
4286 (runFinalizers): Implement. Don't aquire any Java lock.
4287 (finalizerReady): Use lock primitives to signal finalizer thread.
4289 2004-07-11 Mark Wielaard <mark@klomp.org>
4291 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4292 * java/net/URLStreamHandler.java (parseURL): When url file part
4293 doesn't contain a '/' just ignore context.
4295 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4297 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4298 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4299 (MAKE_THROW_FRAME): Do not modify PSW address.
4300 (INIT_SEGV): Install SIGINFO-style signal handler.
4301 (INIT_FPE): Likewise.
4303 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4305 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4306 status. 21 xfail's removed, 1 added.
4308 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4310 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4312 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4314 * java/text/MessageFormat.java
4315 (formatInternal): Append "{n}" if argument n is unavailable.
4316 (format(Object, StringBuffer, FieldPosition)): This
4317 should be equivalent to format(Object[],
4318 StringBuffer, FieldPosition).
4320 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4322 * java.util.Calendar.java (cache): New private static field. Cached
4323 mappings of locales->calendar classes.
4324 (ctorArgTypes): New private static field. Singleton argument for
4325 calendar class constructor lookup.
4326 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4327 Optimize by bypassing reflection instantiation for the
4328 GregorianCalendar case.
4330 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4332 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4333 ResourceBundle.getBundle() calls.
4334 * java/util/GregorianCalendar.java: Likewise.
4335 * java/util/Currency.java: Likewise.
4336 * java/text/BreakIterator.java: Likewise.
4337 * java/text/Collator.java: Likewise.
4338 * java/text/DateFormat.java: Likewise.
4339 * java/text/DateFormatSymbols.java: Likewise.
4340 * java/text/DecimalFormatSymbols.java: Likewise.
4341 * java/text/NumberFormat.java: Likewise.
4342 * java/awt/Window.java: Likewise.
4344 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4346 * java/util/ResourceBundle.java (bundleCache): Renamed from
4347 resourceBundleCache. Update comments.
4348 (getObject): Don't catch MissingResourceException.
4349 (getBundle(String)): Remove 'final'. Use system classloader if
4350 getCallingClassLoader returned null.
4351 (getBundle(String, Locale)): Likewise.
4352 (BundleKey): New private class. HashMap key for bundle cache lookup.
4353 (lookupKey): New. Singleton instance of BundleKey.
4354 (nullEntry): New. Cache entry to represent failed lookups.
4355 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4356 caching strategy, no-allocation lookup, and new tryBundle methods.
4357 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4358 name using given classloader.
4359 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4360 baseName for given Locale and attempt to load bundle.
4362 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4364 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4365 illegal protected method calls.
4367 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4369 Fix or remove some bogus test cases.
4370 * testsuite/libjava.compile/pr10459_2.java: Removed.
4371 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4373 * testsuite/libjava.compile/inner_data.java: Test against its own
4376 2004-07-09 Michael Koch <konqueror@gmx.de>
4378 * scripts/unicode-muncher.pl: Updated to version 2.1
4379 from GNU classpath. Added some clarifications on where to find the
4380 needed files from www.unicode.org.
4381 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4382 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4383 Removed, these can directly be downloaded from www.unicode.org if
4385 * gnu/java/lang/CharData.java: Regenerated.
4386 * include/java-chartables.h: Regenerated.
4387 * Makefile.am (ordinary_java_source_files):
4388 Removed gnu/java/lang/CharData.java.
4389 * Makefile.in: Regenerated.
4391 2004-07-09 Michael Koch <konqueror@gmx.de>
4393 * java/security/AccessControlContext.java,
4394 java/security/SecureClassLoader.java:
4397 2004-07-09 Michael Koch <konqueror@gmx.de>
4399 * java/io/ObjectInputStream.java (readFields): Use long datatype
4400 when shifting byte values more then 24 bits left.
4402 2004-07-09 Michael Koch <konqueror@gmx.de>
4404 * java/util/zip/DeflaterOutputStream.java,
4405 java/util/zip/GZIPInputStream.java,
4406 java/util/zip/GZIPOutputStream.java,
4407 java/util/zip/InflaterInputStream.java:
4408 Reformatted. Added javadocs. Reordered all stuff.
4409 Renamed variables to be more clear.
4411 2004-07-09 Michael Koch <konqueror@gmx.de>
4413 * javax/imageio/IIOException.java,
4414 javax/imageio/event/IIOReadProgressListener.java,
4415 javax/imageio/event/IIOReadUpdateListener.java,
4416 javax/imageio/event/IIOReadWarningListener.java,
4417 javax/imageio/event/IIOWriteProgressListener.java,
4418 javax/imageio/event/IIOWriteWarningListener.java:
4420 * Makefile.am: Added new files.
4421 * Makefile.in: Regenerated.
4423 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4425 * java/text/RuleBasedCollator.java
4426 (mergeRules): Use ArrayList instead of Vector.
4427 (subParseString): likewise.
4428 (parseString): likewise.
4429 (buildCollationVector): likewise.
4430 (getCollationKey): likewise.
4432 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4434 * java/text/DateFormat.java (parse):
4435 Improved javadoc. Improved exception message.
4437 2004-07-09 Mark Wielaard <mark@klomp.org>
4439 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4440 interrupted() method to clear interupt flag of our Thread.
4442 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4444 * java/nio/Buffer.java,
4445 java/nio/ByteBuffer.java,
4446 java/nio/ByteBufferHelper.java,
4447 java/nio/ByteBufferImpl.java,
4448 java/nio/CharBuffer.java,
4449 java/nio/CharBufferImpl.java,
4450 java/nio/CharViewBufferImpl.java,
4451 java/nio/DirectByteBufferImpl.java,
4452 java/nio/DoubleBuffer.java,
4453 java/nio/DoubleBufferImpl.java,
4454 java/nio/DoubleViewBufferImpl.java,
4455 java/nio/FloatBuffer.java,
4456 java/nio/FloatBufferImpl.java,
4457 java/nio/FloatViewBufferImpl.java,
4458 java/nio/IntBuffer.java,
4459 java/nio/IntBufferImpl.java,
4460 java/nio/IntViewBufferImpl.java,
4461 java/nio/LongBuffer.java,
4462 java/nio/LongBufferImpl.java,
4463 java/nio/LongViewBufferImpl.java,
4464 java/nio/MappedByteBufferImpl.java,
4465 java/nio/ShortBuffer.java,
4466 java/nio/ShortBufferImpl.java,
4467 java/nio/ShortViewBufferImpl.java:
4468 Fixed javadocs all over. Improved input error
4471 * java/nio/Buffer.java
4472 (checkForUnderflow, checkForOverflow, checkIndex,
4473 checkIfReadOnly, checkArraySize): New helper methods
4476 * java/nio/ByteBufferHelper.java
4477 (checkRemainingForRead, checkRemainingForWrite,
4478 checkAvailableForRead, checkAvailableForWrite): Removed
4479 no longer needed methods.
4481 2004-07-09 Michael Koch <konqueror@gmx.de>
4483 * gnu/regexp/CharIndexedInputStream.java:
4484 Reordered imports to match classpath.
4486 2004-07-09 Michael Koch <konqueror@gmx.de>
4488 * gnu/java/awt/EmbeddedWindow.java:
4489 Load native library for setWindowPeer method.
4491 2004-07-08 Randolph Chung <tausq@debian.org>
4493 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4494 * configure: Regenerate.
4495 * configure.host: Set can_unwind_signal for hppa*-linux.
4496 * include/pa-signal.h: New file.
4498 2004-07-07 Per Bothner <per@bothner.com>
4500 * Makefile.am: Add rules to build libgij from just gij.cc.
4502 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4503 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4504 (initializeClass): If verbose_class_flag, print message.
4505 * gij.cc (main): Handle -verbose:class flag.
4507 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4509 * configure.host: Enable hash synchronization on Darwin.
4510 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4511 ';', since this is a comment on Darwin.
4512 (compare_and_swap_release): Likewise.
4514 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4516 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4517 file portion of URL in addition to spec for file: protocol.
4519 2004-07-05 Anthony Green <green@redhat.com>
4521 * java/io/File.java (toURI): Merge from Classpath.
4523 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4525 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4526 before passing to URL constructor. Rethrow any MalformedURLException
4527 as a RuntimeException. Catch MalformedURLException specifically, not
4530 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4532 * java/util/Locale.java (readObject): Intern strings read from object
4535 2004-07-04 Michael Koch <konqueror@gmx.de>
4537 * gnu/gcj/runtime/FirstThread.java,
4538 gnu/gcj/runtime/natFirstThread.cc: Removed.
4539 * gnu/java/lang/MainThread.java,
4540 gnu/java/lang/natMainThread.cc: New files.
4541 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4542 * Makefile.am: Added new files and removed deleted ones.
4543 * Makefile.in: Regenerated.
4545 2004-07-03 Mark Wielaard <mark@klomp.org>
4546 Anthony Green <green@redhat.com>
4548 * java/net/URL.java (getFile): Clarify return value doc.
4549 (getPath): Return null if file is empty - not empty String.
4550 (set): Convert protocol to lower case before doing anything.
4551 Only change the protocol handler if it's different.
4553 2004-07-03 Anthony Green <green@redhat.com>
4555 * java/net/URL.java (URL): Convert protocol to lower case before
4556 doing anything, so we getURLStreamHandler() with the proper value.
4558 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4560 * java/util/Locale.java (hashcode): Made transient.
4561 (hashCode): No longer synchronized.
4562 (equals): Remove comment.
4563 (writeObject): No longer synchronized. Implement using writeObject
4564 calls instead of tweaking hashCode field. Update doc.
4565 (readObject): Implement using readObject calls.
4567 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4568 Andreas Tobler <a.tobler@schweiz.ch>
4570 * configure.host (powerpc-*-darwin*): New case, define
4572 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4573 * configure: Regenerate.
4574 * include/darwin-signal.h: New.
4576 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4578 * java/beans/Statement.java (doExecute): Fix formatting.
4580 2004-06-29 Per Bothner <per@bothner.com>
4582 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4583 etc etc): Remove needless parenthesis, which causes __stdcall__
4584 attribute on MinGW to get ignored.
4586 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4588 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4590 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4592 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4594 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4596 * java/beans/Expression.java: New file.
4597 * java/beans/Statement.java: New file.
4598 * Makefile.am: Added new files.
4599 * Makefile.in: Re-generate.
4601 2004-06-27 Mark Wielaard <mark@klomp.org>
4603 * java/io/FilePermission.java (usingPerms): Removed.
4604 (actionsString): Made final.
4605 (cachePerms): Renamed to checkPerms.
4606 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4608 (FilePermission): Check arguments, call checkPerms().
4609 (equals): Remove cachePerms() call.
4610 (implies): Likewise.
4612 2004-06-27 Mark Wielaard <mark@klomp.org>
4614 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4616 (sendRequest): Use new field in user-agent http agent.
4618 2004-06-27 Mark Wielaard <mark@klomp.org>
4620 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4621 when argument is null.
4623 2004-06-26 Mark Wielaard <mark@klomp.org>
4625 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4626 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4628 (cancel_clicked): Likewise.
4630 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4632 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4633 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4634 can not calculate the right value.
4635 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4637 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4639 * testsuite/libjava.jacks/jacks.xfail: Remove
4640 15.9.1-qualified-concrete-20.
4642 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4644 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4645 encoding name to iconv.
4646 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4648 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4651 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4652 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4653 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4655 2004-06-21 Andrew Haley <aph@redhat.com>
4657 * java/io/ObjectOutputStream.java: Add DEBUG statements
4659 (dumpElementln): New method.
4661 * java/io/ObjectInputStream.java
4662 (currentClassLoader): Make native.
4663 (callersClassLoader): New field.
4665 (readObject): ENDBLOCKDATA is generated if the class has a write
4666 method, not if it has a read method.
4667 (readObject): Save and restore this.currentObject and
4668 this.currentObjectStreamClass around calls to callReadMethod().
4669 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4672 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4674 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4677 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4679 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4680 if desired, before the default class loader is initialised.
4681 Call INIT_SEGV only if HANDLE_SEGV is defined.
4683 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4685 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4686 directory only if it actually exists.
4688 2004-06-18 Graydon Hoare <graydon@redhat.com>
4690 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4691 Fix up non-ansi comments.
4693 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4695 * javax/swing/text/AbstractDocument.java: Adding missing import
4696 for javax.swing.event.EventListenerList.
4697 * javax/swing/text/DefaultCaret.java: Likewise.
4699 2004-06-17 Michael Koch <konqueror@gmx.de>
4701 * javax/swing/JToolBar.java
4703 (JToolBar): Use Component.setName(String) instead of doing it all
4705 * javax/swing/Timer.java
4706 (queueEvent): Added missing modifier.
4708 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4710 * Makefile.am: Added new file.
4711 * Makefile.in: Re-generate.
4712 * javax/swing/JMenu.java:
4713 (insertSeparator): Implemented.
4714 * javax/swing/JPopupMenu.java:
4715 (JPopupMenu.Separator): Implemented.
4716 * javax/swing/MenuSelectionManager.java:
4717 (processMouseEvent): Use java.awt.Component
4718 for event source instead of javax.swing.JComponent.
4719 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4720 New File. Implemented.
4722 2004-06-16 David Jee <djee@redhat.com>
4724 * java/awt/GridBagLayout.java
4725 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4726 Make sure pos_x and pos_y are never negative.
4728 2004-04-16 Andrew Overholt <overholt@redhat.com>
4730 * Makefile.am: Add new file.
4731 * Makefile.in: Re-generate.
4732 * javax/swing/JToolBar.java
4733 Partially implemented.
4734 * javax/swing/plaf/basic/BasicToolBarUI.java
4735 New file. Partially implemented.
4737 2004-06-16 Graydon Hoare <graydon@redhat.com>
4739 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4740 (setComposite): Accept AlphaComposite arguments.
4741 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4742 (createBufferedImage): Add new overloads.
4743 * gnu/java/awt/peer/gtk/GtkToolkit.java
4744 (createImage): Use GdkPixbufDecoder.createBufferedImage
4745 when useGraphics2D() is true.
4746 (getImage): Delegate to createImage.
4747 * javax/swing/JList.java
4749 (getFirstVisibleIndex):
4750 (getLastVisibleIndex):
4752 (ensureIndexIsVisible): New methods.
4753 * javax/swing/Timer.java: Reimplement.
4755 2004-06-16 Michael Koch <konqueror@gmx.de>
4757 * javax/swing/text/AbstractDocument.java
4758 (AbstracElement): Made public, implements java.io.Serializable.
4759 (AttributeContext): Made public.
4760 (BranchElement): Likewise.
4761 (Content): Likewise.
4762 (DefaultDocumentEvent): Made public, extends
4763 javax.swing.undo.CompoundEdit.
4764 (ElementEdit): Made public, extends
4765 javax.swing.undo.AbstractUndoableEdit.
4766 (LeafElement): Made public.
4767 (LeafElement.LeafElement): Made public.
4769 2004-06-16 Michael Koch <konqueror@gmx.de>
4771 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4772 methods (that were obviously never be intended to get included hi this
4773 class. Added some methods too.
4775 2004-06-16 Michael Koch <konqueror@gmx.de>
4777 * javax/swing/text/PlainDocument.java
4778 (serialVersionUID): New constant.
4779 (lineLimitAttribute): Likewise.
4780 (tabSizeAttribute): Likewise.
4781 (tabSize): New field.
4782 (PlainDocument): Made public.
4783 (PlainDocument): New constructor.
4785 2004-06-16 Michael Koch <konqueror@gmx.de>
4787 * javax/swing/text/AbstractDocument.java
4788 (insertString): Throws BadLocationException.
4789 * javax/swing/text/Document.java
4790 (insertString): Likewise.
4791 * javax/swing/text/JTextComponent.java:
4792 Javadocs and comments cleaned up.
4794 2004-06-16 Michael Koch <konqueror@gmx.de>
4796 * javax/swing/event/UndoableEditListener.java: Reformatted.
4797 * javax/swing/text/AbstractDocument.java
4798 (AbstractDocument): Implements java.io.Serializable.
4799 (doc_list): Removed.
4800 (undo_list): Removed.
4801 (AbstractElement.serialVerionUID): New field.
4802 (BranchElement.serialVerionUID): Likewise.
4803 (DefaultDocumentEvent.serialVerionUID): Likewise.
4804 (ElementEdit.serialVerionUID): Likewise.
4805 (LeafElement.serialVerionUID): Likewise.
4806 (serialVerionUID): Likewise.
4807 (BAD_LOCATION): New constant.
4808 (BidiElementName): Likewise.
4809 (ContentElementName): Likewise.
4810 (ParagraphElementName): Likewise.
4811 (SectionElementName): Likewise.
4812 (ElementNameAttribute): Likewise.
4813 (AbstractDocument): Made protected.
4814 (AbstractDocument): New construtor.
4815 (listenerList): New field.
4816 (fireChangedUpdate): Implemented.
4817 (fireInsertUpdate): Likewise.
4818 (fireRemoveUpdate): Likewise.
4819 (fireUndoableEditUpdate): Likewise.
4820 (getListeners): Likewise.
4821 (addDocumentListener): Likewise.
4822 (removeDocumentListener): Likewise.
4823 (addUndoableEditListener): Likewise.
4824 (removeUndoableEditListener): Likewise.
4825 (getDocumentListeners): New method.
4826 (getUndoableEditListeners): Likewise.
4827 (getAsynchronousLoadPriority): Made public.
4828 (getBidiRootElement): Likewise.
4829 (setAsynchronousLoadPriority): Likewise.
4830 (setDocumentProperties): Likewise.
4831 * javax/swing/text/BadLocationException.java
4832 (serialVerionUID): New field.
4833 * javax/swing/text/DefaultCaret.java
4834 (changeEvent): New field.
4835 (listenerList): Likewise.
4837 (addChangeListener): Reimplemented.
4838 (removeChangeListener): Likewise.
4839 (getListeners): New method.
4840 (getChangeListeners): Likwise.
4841 (getComponent): Likewise.
4842 * javax/swing/text/GapContent.java
4843 (GapContent): Implements java.io.Serializable.
4844 (serialVerionUID): New field.
4846 2004-06-16 Michael Koch <konqueror@gmx.de>
4848 * javax/swing/JTree.java
4849 (treeModel): New field.
4850 (JTree): New constructors, one existing one made public.
4851 (createTreeModel): New method.
4852 (addTreeExpansionListener): Likewise.
4853 (removeTreeExpansionListener): Likewise.
4854 (getTreeExpansionListeners): Likewise.
4855 (fireTreeCollapsed): Likewise.
4856 (fireTreeExpanded): Likewise.
4857 (addTreeSelectionListener): Likewise.
4858 (removeTreeSelectionListener): Likewise.
4859 (getTreeSelectionListeners): Likewise.
4860 (fireValueChanged): Likewise.
4861 (addTreeWillExpandListener): Likewise.
4862 (removeTreeWillExpandListener): Likewise.
4863 (getTreeWillExpandListeners): Likewise.
4864 (fireTreeWillCollapse): Likewise.
4865 (fireTreeWillExpand): Likewise.
4867 2004-06-16 Michael Koch <konqueror@gmx.de>
4869 * javax/swing/JTree.java: Reformatted.
4871 2004-06-16 Michael Koch <konqueror@gmx.de>
4873 * javax/swing/JTextArea.java: New file.
4874 * javax/swing/JTextField.java
4876 (notifyAction): New constant.
4877 (columns): New field.
4878 (JTextField): New constructors.
4879 (createDefaultModel): New method.
4880 (addActionListener): Reimplmemented.
4881 (removeActionListener): Reimplemented.
4882 (getActionListeners): New method.
4883 (fireActionPerformed): New method.
4884 (getColumns): New method.
4885 (setColumne): New method.
4886 * javax/swing/text/JTextComponent.java
4887 (AccessibleJTextComponent.serialVersionUID): New field.
4888 (serialVersionUID): Likewise.
4889 (DEFAULT_KEYMAP): Likewise.
4890 (FOCUS_ACCELERATOR_KEY): Likewise.
4891 (doc): Made private.
4892 (icon_gap): Likewise.
4895 (JTextComponent): Some constructors removed.
4896 (getScrollableTracksViewportHeight): New method.
4897 (getScrollableTracksViewportWidth): Likewise.
4898 * Makefile.am: Added javax/swing/JTextArea.java.
4899 * Makefile.in: Regenerated.
4901 2004-06-15 Graydon Hoare <graydon@redhat.com>
4903 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4904 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4905 * javax/swing/JViewport.java
4906 (getExtentSize): Return size rather than preferred size.
4907 (toViewCoordinates): New methods.
4908 (getViewSize): Return size rather than preferred size.
4909 (setViewSize): Note view size as set.
4910 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4911 * javax/swing/plaf/basic/BasicScrollBarUI.java
4912 (getPreferredSize): Don't redo layout.
4913 * javax/swing/plaf/basic/BasicViewportUI.java
4914 (paint): Translate image properly and eat exceptions.
4916 2004-06-15 Kim Ho <kho@redhat.com>
4918 * javax/swing/JTabbedPane.java
4919 (setComponent): Remove old component and
4921 (setSelectedIndex): Don't operate on the
4922 components if they're null. Don't set index
4923 on the model if the index is the same.
4924 (insertTab): Don't add or hide the component
4925 if it's null. Repaint the container.
4926 * javax/swing/plaf/basic/BasicLookAndFeel.java
4927 Change colors for TabbedPane.
4928 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4929 (mousePressed): Re-layout and paint the component.
4930 (layoutContainer): Don't set location on the view.
4931 (ScrollingViewport::paint): Remove.
4933 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4935 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4936 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4939 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4940 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4942 (drawLine): Call gdk_flush before leaving GDK critical region.
4943 (fillRect): Likewise.
4944 (drawRect): Likewise.
4945 (copyArea): Likewise.
4946 (copyPixmap): Likewise.
4947 (clearRect): Likewise.
4948 (drawArc): Likewise.
4949 (drawPolyline): Likewise.
4950 (drawPolygon): Likewise.
4951 (fillPolygon): Likewise.
4952 (fillArc): Likewise.
4953 (drawOval): Likewise.
4954 (fillOval): Likewise.
4956 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4958 (GdkFontMetrics): Add style argument to initState call.
4959 (stringWidth(String,int,int,String)): Add style parameter.
4960 (stringWidth(String)): Add style argument to stringWidth call.
4961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4962 (initState): Set pango font style and weight based on AWT style
4963 parameter. Pass default GTK language to
4964 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4965 simply dividing by PANGO_SCALE.
4966 (stringWidth): Set pango font style and weight based on AWT style
4969 * java/awt/Button.java (next_button_number): New field.
4970 (paramString): Change output.
4971 (generateName): New method.
4972 (getUniqueLong): New method.
4974 2004-06-14 Kim Ho <kho@redhat.com>
4976 * javax/swing/JTabbedPane.java:
4977 (setComponentAt): Set the component, not
4979 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4980 (actionPerformed): Let deiconize catch exception.
4982 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4984 * javax/swing/JPopupMenu.java:
4985 (setVisible): Corrected location of a
4986 heavyweight popup menu.
4988 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4990 * javax/swing/MenuSelectionManager.java:
4991 Ran through jalopy to fix formatting style.
4993 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4995 * javax/swing/JLayeredPane.java:
4996 (remove): Revalidate and repaint layered pane after
4997 the component was removed.
4998 javax/swing/JMenu.java:
4999 (setVisible): Display popup menu at the user location,
5000 if one was set by the user.
5001 (setMenuLocation): Reimplemented. Fixed javadoc.
5002 * javax/swing/JMenuBar.java: Added javadoc.
5003 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
5004 (MODEL_CHANGED_PROPERTY): New Property.
5005 (isSelected): Implemented.
5006 (setBorderPainted): Fire PropertyChangeEvent
5007 if paintBorder property changes.
5008 (setSelected): Implemented.
5009 (setSelectionModel): Implemented.
5010 * javax/swing/JPopupMenu.java: Added Javadoc
5011 (pack): Implemented.
5012 (setVisible): Reimplemented.
5013 (show): Fixed location.
5014 (JPopupMenu.LigthWeightPopup): Reimplemented to use
5015 Container instead of JPanel.
5016 * javax/swing/MenuSelectionManager.java: Added Javadocs.
5017 (clearSelectedPath): Reimplemented to clear selectedPath
5019 (processMouseEvent): Reimplemented.
5020 (setSelectedPath): Fire stateChange event indicating that
5021 selected menu path has changed.
5022 (getPath): Change to use ArrayList instead of Vector.
5023 * javax/swing/plaf/basic/BasicMenuBarUI.java:
5024 (installUI): call installKeyboardActions().
5025 (uninstallUI): call uninstallKeyboardActions().
5027 2004-06-13 Michael Koch <konqueror@gmx.de>
5029 * javax/swing/text/DefaultCaret.java,
5030 javax/swing/text/BadLocationException.java:
5033 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
5035 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
5036 DEFAULT_COLS): New variables.
5037 (create): Don't allow 0 rows or 0 columns. Instead, set the
5038 values to DEFAULT_ROWS or DEFAULT_COLS.
5039 (getMinimumSize): Likewise.
5040 (getPreferredSize): Likewise.
5041 (minimumSize): Likewise.
5042 (preferredSize): Likewise.
5043 (create): Set peer's editable state.
5044 * java/awt/TextArea.java (TextArea()): Set rows and columns to
5045 zero. Update javadocs.
5046 (TextArea(String)): Likewise.
5047 (TextArea(int,int)): Fix javadocs.
5048 (TextArea(String,int,int,int)): Only throw exception if one of
5049 rows or columns is zero. Fix javadocs.
5051 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
5053 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
5054 addition to Components.
5056 * java/awt/MenuItem.java (dispatchEventImpl): If the event
5057 wasn't consumed by normal processing, send it to the parent
5060 * gnu/java/awt/peer/gtk/GtkImagePainter.java
5061 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
5064 2004-06-11 David Jee <djee@redhat.com>
5066 * java/awt/MediaTracker.java
5067 (addImage(Image,int)): Call imageUpdate() to udpate image status.
5068 (addImage(Image,int,int,int)): Likewise.
5070 2004-06-11 Michael Koch <konqueror@gmx.de>
5072 * javax/swing/text/AbstractDocument.java,
5073 javax/swing/text/Document.java,
5074 javax/swing/text/GapContent.java,
5075 javax/swing/text/JTextComponent.java,
5076 javax/swing/text/PlainDocument.java:
5079 2004-06-11 Michael Koch <konqueror@gmx.de>
5081 * javax/swing/JRootPane.java
5082 (AccessibleJRootPane.serialVersionUID): New field.
5083 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
5084 (AccessibleJRootPane.getAccessibleRole): New method.
5085 (RootLayout): Implements Serializable.
5086 (RootLayout.serialVersionUID): New field.
5087 (RootLayout.RootLayout): New constructor.
5088 (setJMenuBar): Made public.
5089 (getJMenuBar): Likewise.
5090 (JRootPane): Likewise.
5091 (createContentPane): Likewise.
5092 (createGlassPane): Likewise.
5093 (createLayeredPane): Likewise.
5095 2004-06-11 Michael Koch <konqueror@gmx.de>
5097 * javax/swing/SwingUtilities.java
5098 (isLeftMouseButton): Fixed javadoc.
5099 (isMiddleMouseButton): Likewise.
5100 (isRightMouseButton): Likewise.
5102 2004-06-11 Michael Koch <konqueror@gmx.de>
5104 * javax/swing/JScrollPane.java
5105 (serialVersionUID): New field.
5106 (columnHeader): Made protected.
5107 (rowHeader): Likewise.
5108 (lowerLeft): Likewise.
5109 (lowerRight): Likewise.
5110 (upperLeft): Likewise.
5111 (upperRight): Likewise.
5112 (horizontalScrollBar): Likewise.
5113 (horizontalScrollBarPolicy): Likewise.
5114 (verticalScrollBar): Likewise.
5115 (verticalScrollBarPolicy): Likewise.
5116 (viewport): Likewise.
5118 2004-06-11 Michael Koch <konqueror@gmx.de>
5120 * javax/swing/LookAndFeel.java: Fixed javadocs.
5122 2004-06-11 Michael Koch <konqueror@gmx.de>
5124 * javax/swing/JEditorPane.java: Fixed javadocs.
5125 (JEditorPane): Removed redundant call to to this().
5126 (fireHyperlinkUpdate): Implemented.
5128 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5130 * javax/swing/JMenu.java: Fixed file name
5131 in the file comment.
5133 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5135 * javax/swing/JMenu.java: Added javadoc.
5136 (JMenu): Added MenuChangeListener to listen to
5137 ChangeEvents occuring in menu's model.
5138 (insert): Throw IllegalArgumentException if
5139 index is less than 0
5140 (setSelected): Reimplement.
5141 (setPopupMenuVisible): Call menu's model isEnabled()
5142 (setDelay): Throw IllegalArgumentException if
5143 given amount of delay is less than 0.
5144 (createActionComponent): Implemented.
5145 (createActionChangeListener): Implemented.
5146 (addSeparator): Implemented.
5147 (getItem): Throw IllegalArgumentException if index is
5149 (getItemCount): Implemented.
5150 (fireMenuSelected): Changed to use menuEvent.
5151 (fireMenuDeselected): Likewise.
5152 (fireMenuCanceled): Likewise.
5153 (setAccelerator): Changed to throw an error if this
5155 (doClick): Implemented.
5156 (JMenu.ActionChangedListener): New inner class to handle
5157 PropertyChangeEvents occuring in the actions associated with menu.
5158 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5159 (BasicMenuUI): Added PropertyChangeListener to the menu.
5160 (createChangeListener): Implemented.
5161 (createMenuDragMouseListener): Likewise.
5162 (createMenuKeyListener): Likewise.
5163 (createPropertyChangeListener): Likewise.
5164 (uninstallListeners): Likewise.
5165 (BasicMenuUI.MouseInputHandler): Reimplemented.
5166 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5167 (BasicMenuUI.ChangeHandler): Likewise.
5168 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5169 (BasicMenuUI.MenuKeyHandler): Likewise.
5171 2004-06-10 David Jee <djee@redhat.com>
5173 * java/awt/MediaTracker.java
5174 (imageUpdate): Only do notifyAll() if the image is complete.
5176 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5178 * javax/swing/JApplet.java:
5179 (getJMenuBar): Made public.
5180 (setJMenuBar): Likewise.
5181 * javax/swing/JFrame.java:
5182 (getJMenuBar): Made public.
5183 (setJMenuBar): Likewise.
5184 * javax/swing/JWindow.java:
5185 (getJMenuBar): Removed.
5186 (setJMenuBar): Removed.
5188 2004-06-10 Michael Koch <konqueror@gmx.de>
5190 * javax/swing/JEditorPane.java
5191 (createEditorKitForContentType): Fixed visibility.
5192 (fireHyperlinkUpdate): Likewise.
5193 (getContentType): Likewise.
5194 (getEditorKit): Likewise.
5195 (getEditorKitForContentType): Likewise.
5196 (getPage): Likewise.
5198 (registerEditorKitForContentTyoe): Likewise.
5199 (replaceSelection): Likewise.
5200 (setContentType): Likewise.
5201 (setEditorKit): Likewise.
5202 (setPage): Likewise.
5204 2004-06-10 Michael Koch <konqueror@gmx.de>
5206 * javax/swing/Timer.java
5207 (Timer): New constructor.
5208 * javax/swing/plaf/basic/BasicProgressBarUI.java
5209 (animationTimer): Don't initialize at construction.
5210 (startAnimationTimer): Added since tag.
5211 (stopAnimationTimer): Likewise.
5212 (installUI): Use new Timer constructor.
5213 * javax/swing/plaf/basic/BasicScrollBarUI.java
5214 (installUI): Likewise.
5215 * javax/swing/plaf/basic/BasicSliderUI.java
5216 (installUI): Likewise.
5218 2004-06-10 Michael Koch <konqueror@gmx.de>
5220 * javax/swing/ButtonGroup.java
5221 (serialVersionUID): Made private.
5222 (buttons): Renamed from v, added javadoc.
5223 (sel): Added javadoc.
5224 (ButtonGroup): Likewise.
5227 (getElements): Likewise.
5228 (getSelection): Likewise.
5229 (setSelected): Likewise.
5230 (isSelected): Likewise.
5231 (getButtonCount): Likewise.
5233 2004-06-10 Michael Koch <konqueror@gmx.de>
5235 * javax/swing/ButtonGroup.java,
5236 javax/swing/ImageIcon.java,
5237 javax/swing/JEditorPane.java,
5238 javax/swing/JRootPane.java,
5239 javax/swing/JTextField.java,
5240 javax/swing/LookAndFeel.java,
5241 javax/swing/plaf/basic/BasicTextUI.java:
5244 2004-06-10 Michael Koch <konqueror@gmx.de>
5246 * javax/swing/text/Style.java: Added javadocs.
5248 2004-06-10 Michael Koch <konqueror@gmx.de>
5250 * javax/swing/JComponent.java
5251 (fireVetoableChange): Removed redundant cast.
5252 * javax/swing/JLabel.java
5253 (getDisabledIcon): Save icon for next call.
5255 2004-06-10 Michael Koch <konqueror@gmx.de>
5257 * javax/swing/KeyStroke.java
5258 (getKeyStroke(char,boolean)): Marked deprecated.
5260 2004-06-10 Michael Koch <konqueror@gmx.de>
5262 * javax/swing/DefaultCellEditor.java,
5263 javax/swing/GrayFilter.java,
5264 javax/swing/event/DocumentEvent.java,
5265 javax/swing/text/JTextComponent.java,
5266 javax/swing/text/MutableAttributeSet.java:
5269 2004-06-10 Michael Koch <konqueror@gmx.de>
5271 * javax/swing/plaf/BorderUIResource.java:
5272 Added serialVersionUID all over.
5274 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5276 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5278 2004-06-10 Michael Koch <konqueror@gmx.de>
5280 * javax/swing/table/DefaultTableCellRenderer.java
5281 (noFocusBorder): Initialize directly.
5283 2004-06-10 Michael Koch <konqueror@gmx.de>
5285 * javax/swing/plaf/basic/BasicArrowButton.java
5286 (setDirection): Use method argument.
5288 2004-06-10 Michael Koch <konqueror@gmx.de>
5290 * javax/swing/plaf/BorderUIResource.java,
5291 javax/swing/plaf/ComponentUI.java,
5292 javax/swing/undo/CompoundEdit.java,
5293 javax/swing/undo/StateEdit.java:
5294 Fixed javadocs all over.
5296 2004-06-10 Michael Koch <konqueror@gmx.de>
5298 * javax/swing/DefaultButtonModel.java
5299 (ARMED): Made public final, fixed value.
5300 (ENABLED): Likewise.
5301 (PRESSED): Likewise.
5302 (ROLLOVER): Likewise.
5303 (SELECTED): Likewise.
5304 (stateMask): Initialize directly.
5305 (listenerList): Likewise.
5306 (mnemonic): Likewise.
5307 (fireStateChanged): Removed argument, use changeEvent as event.
5308 All places where this method is called are fixed too.
5309 (getActionCommant): Fixed javadoc.
5310 (setGroup): Fixed javadoc.
5311 (getGroup): New method.
5313 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5315 * javax/swing/AbstractButton.java
5316 (AbstractButton): Use init() to initialize the button.
5317 (init): New Method. Initializes AbstractButton.
5318 * javax/swing/JMenuItem.java: Documented.
5319 (JMenuItem): Reimplemented.
5320 (init): Implemented.
5321 (setEnabled): Changed to call super.setEnabled()
5322 (processMouseEvent): Reimplemented.
5323 (fireMenuKeyPressed): Implemented.
5324 (fireMenuKeyReleased): Implemented.
5325 (fireMenuKeyTyped): Implemented.
5326 (menuSelectionChanged): disarm the model if the menu item was
5328 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5329 (getPath): Change to use ArrayList instead of Vector.
5330 (getPreferredSize): Renamed variable.
5331 (paintMenuItem): Paint margin area of menu item.
5332 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5333 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5334 menu item's bounds before clearing the selection.
5336 2004-06-09 David Jee <djee@redhat.com>
5338 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5339 (GtkTextComponentPeer): Set caret position to 0.
5340 * java/awt/TextComponent.java
5341 (setText): Set caret position to 0.
5342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5343 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5344 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5345 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5348 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5351 2004-06-09 Kim Ho <kho@redhat.com>
5353 * Makefile.am: New files
5354 * Makefile.in: Regenerated
5355 * java/awt/Container.java
5356 (getComponentAt): Removed.
5357 * javax/swing/AbstractAction.java
5358 (ENABLED_PROPERTY): New property.
5359 (putValue): Fire PropertyChangeEvents.
5360 (setEnabled): ditto.
5361 (firePropertyChange): Javadoc and implement
5363 * javax/swing/AbstractButton.java
5364 (setAction): Don't create PropertyChangeListener
5365 if new Action is null.
5366 (setIcon): Don't set icon till after comparing
5368 (configurePropertiesFromAction): Check mnemonic
5369 key before calling intValue().
5370 (createActionPropertyChangeListener): Check
5371 properties rather than bulk change.
5372 * javax/swing/DefaultDesktopManager.java:
5374 * javax/swing/DesktopManager.java:
5376 * javax/swing/JComponent.java
5377 (fireVetoableChange): Implement.
5378 (paintImmediately): Use root component.
5379 * javax/swing/JDesktopPane.java: Implement
5380 * javax/swing/JInternalFrame.java: Implement
5381 * javax/swing/JLabel.java
5382 (getDisabledIcon): Return grayscaled icon if
5383 no disabled icon specified.
5384 * javax/swing/JMenuBar.java
5385 (getComponentAtIndex): Use getComponent
5386 * javax/swing/JOptionPane.java
5387 (getDesktopPaneForComponent): Use SwingUtilities'
5389 (getFrameForComponent): ditto.
5390 * javax/swing/JSplitPane.java
5391 (remove): Use getComponent.
5392 * javax/swing/SwingUtilities.java
5393 (convertPoint): Implement.
5394 * javax/swing/plaf/basic/BasicButtonUI.java
5395 (paintButtonNormal): Check opaqueness before
5397 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5399 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5401 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5403 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5405 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5406 Change InternalFrame and Desktop colors.
5408 2004-06-09 David Jee <djee@redhat.com>
5410 * java/awt/Container.java
5411 (remove): Do not set component to invisible.
5413 2004-06-09 Michael Koch <konqueror@gmx.de>
5415 * javax/swing/tree/DefaultMutableTreeNode.java
5416 (getLeafCount): Renamed enum to e.
5418 2004-06-09 Michael Koch <konqueror@gmx.de>
5420 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5421 (positionForMouseEvent): Removed redundant semicolon.
5422 (continueDrag): Use method arguments.
5424 2004-06-09 Michael Koch <konqueror@gmx.de>
5426 * javax/swing/border/TitledBorder.java,
5427 javax/swing/filechooser/FileSystemView.java,
5428 javax/swing/plaf/basic/BasicButtonListener.java,
5429 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5430 javax/swing/plaf/basic/BasicLabelUI.java,
5431 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5432 javax/swing/plaf/basic/BasicScrollBarUI.java,
5433 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5434 javax/swing/plaf/basic/BasicSliderUI.java,
5435 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5436 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5437 javax/swing/table/JTableHeader.java,
5438 javax/swing/text/AbstractDocument.java,
5439 javax/swing/text/DefaultCaret.java,
5440 javax/swing/text/StyledEditorKit.java,
5441 javax/swing/tree/DefaultTreeCellEditor.java:
5442 Reworked import statements.
5444 2004-06-08 Graydon Hoare <graydon@redhat.com>
5446 * javax/swing/Box.java: Temporarily comment out code
5447 broken due to visibility bug.
5449 2004-06-09 Michael Koch <konqueror@gmx.de>
5451 * javax/swing/ImageIcon.java
5452 (ImageIcon): Added missing constructor.
5454 2004-06-08 Michael Koch <konqueror@gmx.de>
5456 * javax/swing/JToggleButton.java
5457 (JToggleButton): New constructor.
5458 (getAccessibleContext): Moved documentation into javadoc.
5459 (getUIClassID): Likewise.
5461 2004-06-08 Michael Koch <konqueror@gmx.de>
5463 * javax/swing/AbstractButton.java
5464 (getDisabledIcon): Create disabled icon if none exists yet.
5466 2004-06-08 Michael Koch <konqueror@gmx.de>
5468 * javax/swing/plaf/basic/BasicLookAndFeel.java
5469 (initClassDefaults): Added FormattedTextFieldUI.
5470 (loadResourceBundle): Renamed enum to e.
5472 2004-06-08 Michael Koch <konqueror@gmx.de>
5474 * javax/swing/plaf/basic/BasicButtonUI.java
5475 (paintIcon): Simplified.
5476 (paintText): Paint disabled button correctly.
5478 2004-06-08 Michael Koch <konqueror@gmx.de>
5480 * javax/swing/JComponent.java
5481 (createToolTip): Use official JToolTip API.
5483 2004-06-08 Michael Koch <konqueror@gmx.de>
5485 * javax/swing/JToolTip.java
5486 (JToolTip): No arguments in API.
5487 (setTipText): New method.
5489 2004-06-08 Michael Koch <konqueror@gmx.de>
5491 * javax/swing/SwingUtilities.java
5492 (isLeftMouseButton): New method.
5493 (isMiddleMouseButton): New method.
5494 (isRightMouseButton): New method.
5496 2004-06-08 Michael Koch <konqueror@gmx.de>
5498 * javax/swing/AbstractButton.java,
5499 javax/swing/CellRendererPane.java,
5500 javax/swing/JCheckBoxMenuItem.java,
5501 javax/swing/JColorChooser.java,
5502 javax/swing/JComboBox.java,
5503 javax/swing/JComponent.java,
5504 javax/swing/JDesktopPane.java,
5505 javax/swing/JFileChooser.java,
5506 javax/swing/JMenu.java,
5507 javax/swing/JMenuItem.java,
5508 javax/swing/JOptionPane.java,
5509 javax/swing/JPasswordField.java,
5510 javax/swing/JPopupMenu.java,
5511 javax/swing/JProgressBar.java,
5512 javax/swing/JRadioButtonMenuItem.java,
5513 javax/swing/JScrollBar.java,
5514 javax/swing/JSeparator.java,
5515 javax/swing/JSlider.java,
5516 javax/swing/JSplitPane.java,
5517 javax/swing/JTabbedPane.java,
5518 javax/swing/JTextField.java,
5519 javax/swing/JToolBar.java,
5520 javax/swing/text/JTextComponent.java:
5521 Fixed all constructors of accessibility classes.
5523 2004-06-08 Michael Koch <konqueror@gmx.de>
5525 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5528 2004-06-08 Michael Koch <konqueror@gmx.de>
5530 * javax/swing/Box.java
5531 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5532 (AccessibleBoxFiller.serialVersionUID): New member variable.
5533 * javax/swing/DefaultButtonModel.java
5534 (stateMask): Made protected.
5535 (listenerList): Likewise.
5536 (changeEvent): Likewise.
5538 (mnemonic): Likewise.
5539 (actionCommand): Likewise.
5540 (getListeners): New method.
5541 (getActionListeners): New method.
5542 (getItemListeners): New method.
5543 (getChangeListeners): New method.
5544 (fireItemStateChanged): Simplified.
5545 (fireActionPerformed): Simplified.
5546 (fireStateChanged): Simplified.
5547 * javax/swing/JFrame.java
5548 (JFrame): Implements WindowContants.
5549 (HIDE_ON_CLOSE): Removed.
5550 (EXIT_ON_CLOSE): Removed.
5551 (DISPOSE_ON_CLOSE): Removed.
5552 (DO_NOTHING_ON_CLOSE): Removed.
5553 (processWindowEvent): Exit with code 0.
5554 (setDefaultCloseOperation): Do security check before setting value.
5555 * javax/swing/JOptionPane.java
5556 (message): Initialize only in constructor.
5557 * javax/swing/JToolTip.java: Removed unused imports.
5558 * javax/swing/JViewport.java
5559 (serialVersionUID): New member variable.
5560 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5561 (BLIT_SCROLL_MODE): Likewise.
5562 (BACKINGSTORE_SCROLL_MODE): Likewise.
5563 (scrollUnderway): Made protected.
5564 (isViewSizeSet): Likewise.
5565 * javax/swing/ListModel.java: Fixed javadoc.
5566 * javax/swing/Popup.java: Likewise.
5567 * javax/swing/RepaintManager.java
5568 (paintDirtyRegions): Don't use internal classes of
5569 java.util.AbstractMap.
5570 * javax/swing/ScrollPaneConstants.java: Reindented.
5571 * javax/swing/ScrollPaneLayout.java
5572 (viewport): Made protected.
5573 (verticalScrollBar): Made protected, renamed to vsb.
5574 (horizontalScrollBar): Made protected, renamed to hsb.
5575 (rowHeader): Made protected, renamed to rowHead.
5576 (columnHeader): Made protected, renamed to colHead.
5577 (lowerLeft): Made protected.
5578 (lowerRight): Made protected.
5579 (upperLeft): Made protected.
5580 (upperRight): Made protected.
5581 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5582 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5584 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5586 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5587 LOADING if flags has SOMEBITS set.
5589 2004-06-07 Michael Koch <konqueror@gmx.de>
5591 * javax/swing/AbstractButton.java: Reorganized imports.
5592 * javax/swing/ActionMap.java: Likewise.
5593 * javax/swing/DefaultButtonModel.java: Likewise.
5594 * javax/swing/DefaultListModel.java: Likewise.
5595 * javax/swing/ImageIcon.java: Likewise.
5596 (serialVersionUID): New member variable.
5597 * javax/swing/JComboBox.java: Reorganized imports.
5598 * javax/swing/JComponent.java: Likewise.
5599 (ui): Made protected.
5600 (listenerList): Made protected.
5601 (TOOL_TIP_TEXT_KEY): New constant.
5602 (scrollRectToVisible): Removed redundant null check.
5603 * javax/swing/JFrame.java: Reorganized imports.
5604 * javax/swing/JInternalFrame.java: Reorganized imports.
5605 * javax/swing/JProgressBar.java: Likewise.
5606 * javax/swing/JRootPane.java: Likewise.
5607 * javax/swing/JScrollBar.java: Likewise.
5608 * javax/swing/JSeparator.java: Likewise.
5609 * javax/swing/JSlider.java: Likewise.
5610 * javax/swing/JTabbedPane.java: Likewise.
5611 * javax/swing/JTextField.java: Likewise.
5612 * javax/swing/JToolBar.java: Likewise.
5613 * javax/swing/JTree.java: Likewise.
5614 * javax/swing/JViewport.java: Likewise.
5615 * javax/swing/JWindow.java: Likewise.
5616 * javax/swing/KeyStroke.java: Likewise.
5617 * javax/swing/LookAndFeel.java: Likewise.
5618 * javax/swing/MenuSelectionManager.java: Likewise.
5619 * javax/swing/SwingUtilities.java: Likewise.
5620 * javax/swing/Timer.java: Likewise.
5621 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5622 * javax/swing/JList.java
5623 (HORIZONTAL_WRAP): Made final, fixed value.
5624 (VERTICAL): Likewise.
5625 (VERTICAL_WRAP): Likewise.
5627 2004-06-07 Michael Koch <konqueror@gmx.de>
5629 * javax/swing/AbstractButton.java
5630 (serialVersionUID): New member variable.
5631 (AccessibleAbstractButton.serialVersionUID): Likewise.
5632 (AbstractButton): Made public.
5633 * javax/swing/Box.java
5634 (AccessibleBox.serialVersionUID): New member variable.
5635 (Filler.serialVersionUID): Likewise.
5636 * javax/swing/DefaultListSelectionModel.java
5637 (serialVersionUID): Likewise.
5638 * javax/swing/JApplet.java
5639 (serialVersionUID): Likewise.
5640 * javax/swing/JCheckBox.java
5641 (serialVersionUID): Likewise.
5642 * javax/swing/JCheckBoxMenuItem.java
5643 (serialVersionUID): Likewise.
5644 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5645 * javax/swing/JColorChooser.java
5646 (serialVersionUID): Likewise.
5647 (AccessibleJColorChooser.serialVersionUID): Likewise.
5648 * javax/swing/JComponent.java
5649 (serialVersionUID): Made private.
5650 (AccessibleJComponent.serialVersionUID): New member variable.
5651 * javax/swing/JDesktopPane.java
5652 (serialVersionUID): Likewise.
5653 * javax/swing/JDialog.java
5654 (serialVersionUID): Likewise.
5655 * javax/swing/JFormattedTextField.java
5656 (serialVersionUID): Fixed value.
5657 * javax/swing/JFrame.java
5658 (serialVersionUID): New member variable.
5659 (getDefaultCloseOpertation): Made public.
5660 * javax/swing/JLayeredPane.java
5661 (serialVersionUID): Likewise.
5662 (LAYER_PROPERTY): Made final, fixed value.
5663 (JLayeredPane): Made public.
5664 * javax/swing/JMenu.java
5665 (AccessibleJMenu.serialVersionUID): New member variable.
5666 (WinListener.serialVersionUID): Likewise.
5667 * javax/swing/JMenuBar.java
5668 (serialVersionUID): Likewise.
5669 (getComponentAtIndex): Added @deprecated tag.
5670 * javax/swing/JMenuItem.java
5671 (serialVersionUID): New member variable.
5672 (AccessibleJMenuItem.serialVersionUID): Likewise.
5673 * javax/swing/JOptionPane.java
5674 (serialVersionUID): Likewise.
5675 (AccessibleJOptionPane.serialVersionUID): Likewise.
5676 * javax/swing/JPopupMenu.java
5677 (serialVersionUID): Likewise.
5678 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5679 (getPopupMenuListeners): New method.
5680 (getComponentAtIndex): Added @deprecated tag.
5681 * javax/swing/JProgressBar.java
5682 (serialVersionUID): New member variable.
5683 (AccessibleJProgressBar.serialVersionUID): Likewise.
5684 * javax/swing/JRadioButton.java
5685 (serialVersionUID): Likewise.
5686 * javax/swing/JRadioButtonMenuItem.java
5687 (serialVersionUID): Likewise.
5688 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5689 * javax/swing/JScrollBar.java
5690 (serialVersionUID): Likewise.
5691 (AccessibleJScrollBar.serialVersionUID): Likewise.
5692 * javax/swing/JSeparator.java
5693 (serialVersionUID): Likewise.
5694 (AccessibleJSeparator.serialVersionUID): Likewise.
5695 * javax/swing/JSlider.java: Fixed javadocs.
5696 (AccessibleJSlider.serialVersionUID): New member variable.
5697 * javax/swing/JSplitPane.java: Added copyright statement.
5698 (serialVersionUID): New member variable.
5699 (AccessibleJSplitPane.serialVersionUID): Likewise.
5700 * javax/swing/JTabbedPane.java
5701 (serialVersionUID): Likewise.
5702 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5703 (ModelListener.serialVersionUID): Likewise.
5704 (ModelListener.ModelListener): New constructor.
5705 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5706 (WRAP_TAB_LAYOUT): Likewise.
5707 * javax/swing/JTable.java
5708 (serialVersionUID): New member variable.
5709 * javax/swing/JToggleButton.java
5710 (serialVersionUID): Likewise.
5711 (ToggleButtonModel): Made static.
5712 (ToggleButtonModel.serialVersionUID): New member variable.
5713 * javax/swing/JToolTip.java
5714 (serialVersionUID): Likewise.
5715 * javax/swing/JTree.java
5716 (serialVersionUID): Likewise.
5717 * javax/swing/JWindow.java
5718 (serialVersionUID): Likewise.
5719 * javax/swing/Timer.java
5720 (serialVersionUID): Likewise.
5722 2004-06-06 Michael Koch <konqueror@gmx.de>
5724 * javax/swing/SwingConstants.java
5725 (NEXT): New constant.
5726 (PREVIOUS): Likewise.
5727 * javax/swing/UIManager.java
5728 (LookAndFeel): Made public.
5729 (LookAndFeel.getClassName): Likewise.
5730 (LookAndFeel.getName): Likewise.
5732 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5734 * javax/swing/JCheckBoxMenuItem.java:
5736 * javax/swing/JMenu.java: Likewise.
5737 * javax/swing/JMenuBar.java: Likewise.
5738 * javax/swing/JMenuItem.java: Likewise.
5739 * javax/swing/JPopupMenu.java: Likewise.
5740 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5741 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5742 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5743 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5744 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5745 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5746 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5748 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5750 * javax/swing/plaf/basic/BasicMenuUI.java:
5751 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5752 Call getPath() from super class instead.
5754 2004-05-31 David Jee <djee@redhat.com>
5756 * java/awt/Container.java
5757 (remove): Set component visibility to false after removing it.
5759 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5761 * java/awt/Component.java (getForeground): Return SystemColor if
5763 (getBackground): Likewise.
5765 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5766 (item_highlighted): New function.
5767 (connectSignals): Set item_highlighted as list's select
5770 * java/applet/Applet.java: Revert changes from 2004-04-29,
5771 2004-03-15 and 2004-03-14.
5773 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5774 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5777 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5778 "Dialog" as the default font.
5779 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5781 * java/awt/Component.java (getFont): Return "Dialog" font by
5783 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5784 Multiply size argument to pango_font_description_set_size by the
5785 DPI conversion factor rather than by PANGO_SCALE.
5786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5787 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5788 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5789 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5790 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5791 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5792 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5793 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5794 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5795 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5796 Divide baseline y coordinate by DPI conversion factor rather
5797 than by PANGO_SCALE.
5798 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5799 (area_prepared): Fix typo.
5800 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5801 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5802 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5803 (dpi_conversion_factor): New global variable.
5804 (init_dpi_conversion_factor): New function to calculate and
5805 track DPI conversion factor.
5806 (dpi_changed_cb): New callback.
5807 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5809 2004-05-27 David Jee <djee@redhat.com>
5811 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5812 (getGraphics): Return a new GdkGraphics instance.
5813 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5814 (getGraphics): Call super.getGraphics().
5816 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5818 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5819 (setNativeBounds): Clamp width and height values to >= 0.
5821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5822 (find_fg_color_widget): Handle GtkOptionMenu specially.
5824 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5825 (pre_event_handler): Only post configure events to visible
5828 2004-05-26 David Jee <djee@redhat.com>
5830 * java/awt/BorderLayout.java
5831 (layoutContainer): Fix size calculations.
5833 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5836 (window_wm_protocols_filter): Remove function.
5837 (create): Remove filter that removes WM_TAKE_FOCUS client
5840 2004-06-17 Anthony Green <green@redhat.com>
5842 * java/util/zip/ZipFile.java (getInputStream): Return null if
5845 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5846 directory contents to the class path.
5848 2004-06-15 Andrew Haley <aph@redhat.com>
5850 * java/lang/natSystem.cc (getenv0): Don't assume environment
5851 variable is Latin 1 coded.
5853 2004-06-14 Andreas Jaeger <aj@suse.de>
5855 * configure.in: Support --enable-version-specific-runtime-libs.
5856 * configure: Regenerated.
5858 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5860 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5861 to pass ClassLoader argument.
5862 * java/util/GregorianCalendar.java: Likewise.
5863 * java/util/Currency.java: Likewise.
5864 * java/text/BreakIterator.java: Likewise.
5865 * java/text/Collator.java: Likewise.
5866 * java/text/DateFormat.java: Likewise.
5867 * java/text/DateFormatSymbols.java: Likewise.
5868 * java/text/DecimalFormatSymbols.java: Likewise.
5869 * java/text/NumberFormat.java: Likewise.
5870 * java/awt/Window.java: Likewise.
5872 2004-06-14 Andrew Haley <aph@redhat.com>
5874 * java/lang/System.java: (getenv0): New method.
5875 (getenv): Add security check. Do the right thing.
5876 * java/lang/natSystem.cc (getenv0): New method.
5878 2004-06-12 Mark Wielaard <mark@klomp.org>
5880 * javax/swing/RepaintManager.java
5881 (paintDirtyRegions): Use entrySet(), not values().
5883 2004-06-10 Mark Wielaard <mark@klomp.org>
5885 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5888 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5890 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5891 when we already know the answer.
5892 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5893 (setStartRule,setEndRule): Don't take abs of day number.
5894 (getOffset): Clarify docs. Add argument checks.
5895 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5896 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5899 2004-06-10 Tom Tromey <tromey@redhat.com>
5901 * interpret.cc (run): Handle wide fload.
5903 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5905 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5907 2004-06-05 Michael Koch <konqueror@gmx.de>
5909 * javax/swing/SwingConstants.java
5910 (NEXT): New constant.
5911 (PREVIOUS): Likewise.
5913 2004-06-05 Michael Koch <konqueror@gmx.de>
5915 * javax/swing/UIManager.java
5916 (LookAndFeel): Made public.
5917 (LookAndFeel.getName): Likewise.
5918 (LookAndFeel.getClassName): Likewise.
5920 2004-06-03 Michael Koch <konqueror@gmx.de>
5922 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5923 (requestFocus): Revert last changes.
5924 (gtkRequestFocus): Removed.
5925 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5926 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5928 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5929 Reverted last patch.
5930 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5931 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5932 Reverted comment change.
5934 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5936 * javax/swing/JCheckBoxMenuItem.java:
5938 * javax/swing/JMenu.java: Likewise.
5939 * javax/swing/JMenuBar.java: Likewise.
5940 * javax/swing/JMenuItem.java: Likewise.
5941 * javax/swing/JPopupMenu.java: Likewise.
5942 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5943 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5944 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5945 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5946 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5947 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5948 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5950 2004-06-01 Tom Tromey <tromey@redhat.com>
5952 * java/io/ObjectStreamField.java: Cleaned up imports.
5954 2004-06-01 Michael Koch <konqueror@gmx.de>
5956 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5958 2004-06-01 Mark Wielaard <mark@klomp.org>
5960 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5962 2004-06-01 Michael Koch <konqueror@gmx.de>
5964 * java/security/Security.java
5965 (insertProviderAt): Use equals() instead of ==.
5966 (removeProvicer): Likewise.
5967 (getProvider): Likewise.
5968 * java/security/Signature.java
5969 (sign): Don't set state to UNINITIALIZED.
5972 2004-06-01 Mark Wielaard <mark@klomp.org>
5974 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5975 Implement by calling gtkRequestFocus.
5976 (gtkRequestFocus): New native method.
5977 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5978 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5980 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5982 (filter_expose_event_handler):
5984 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5985 (menu_pos): Mark static.
5987 2004-06-01 Michael Koch <konqueror@gmx.de>
5989 * java/text/CollationElementIterator.java,
5990 java/text/CollationKey.java,
5991 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5992 * testsuite/libjava.mauve/xfails: Removed all
5993 java.text.CollationElementIterator tests.
5995 2004-06-01 Michael Koch <konqueror@gmx.de>
5997 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5999 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
6000 Java 1.5 keyword usage.
6002 2004-05-31 Olga Rodimina <rodimina@redhat.com>
6004 * javax/swing/plaf/basic/BasicMenuUI.java:
6005 (MouseEntered): Do not call getPath() from MenuSelectionManager.
6006 Call getPath() from super class instead.
6008 2004-05-31 Michael Koch <konqueror@gmx.de>
6010 * java/io/SequenceInputStream.java:
6011 Rename enum to e because enum is a keyword in Java 1.5.
6013 2004-05-31 Michael Koch <konqueror@gmx.de>
6015 * gnu/java/rmi/rmic/CompilerProcess.java:
6016 Fixed javadoc to by XHTML compliant.
6018 2004-05-30 Mark Wielaard <mark@klomp.org>
6020 * java/awt/Toolkit.java (loadSystemColors): Implement.
6022 2004-05-30 Michael Koch <konqueror@gmx.de>
6024 * java/lang/System.java: Reordered imports.
6026 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
6028 * java/text/DecimalFormat.java
6029 (parse): Fixed parsing of decimal strings. Number of maximum
6030 digits to be read should now work.
6031 * java/text/SimpleDateFormat.java
6032 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
6033 formatter. This fixes DateFormatTest.
6035 2004-05-30 Michael Koch <konqueror@gmx.de>
6037 * java/nio/Buffer.java
6038 (limit): Fixed off by one error.
6039 * java/nio/CharBuffer.java
6040 (wrap): Fixed arguments, added javadocs.
6042 2004-05-30 Michael Koch <konqueror@gmx.de>
6044 * gnu/java/beans/BeanInfoEmbryo.java,
6045 java/awt/im/InputContext.java,
6046 javax/swing/tree/DefaultMutableTreeNode.java:
6047 Rename enum to e because enum is a keyword in Java 1.5.
6049 2004-05-30 Michael Koch <konqueror@gmx.de>
6051 * gnu/java/math/MPN.java,
6052 java/awt/geom/Arc2D.java:
6053 Fixed javadocs all over.
6055 2004-05-30 Michael Koch <konqueror@gmx.de>
6057 * java/awt/DefaultKeyboardFocusManager.java
6058 (dispatchEvent): Call method to get key event dispatchers.
6059 (dispatchKeyEvent): Call method to get key event post processors.
6060 * javax/swing/JComponent.java
6061 (listenerList): Made protected.
6062 * javax/swing/JOptionPane.java
6063 (message): Don't initialize.
6064 (JOptionPane): Set message text.
6065 * javax/swing/JPopupMenu.java
6066 (show): Fixed typo in argument name.
6067 * javax/swing/RepaintManager.java
6068 (paintDirtyRegions): Use public API of java.util.Map.
6069 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
6070 (positionForMouseEvent): Removed redundant ';'.
6071 (continueDrag): Use method arguments.
6073 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
6075 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
6078 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
6080 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
6082 * gnu/gcj/RawDataManaged.java: New file.
6083 * java/lang/Thread.java (data): Declare as RawDataManaged.
6084 * java/lang/natThread.cc (init_native): Cast natThread data to
6085 RawDataManaged, not jobject.
6086 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6087 * Makefile.in: Rebuilt.
6089 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6091 * java/util/SimpleTimeZone.java: Reverting my last change until I
6092 can fix it properly.
6094 2004-05-27 Michael Koch <konqueror@gmx.de>
6096 * javax/swing/JPopupMenu.java
6097 (isVisible): Do not use visible directly.
6098 (setVisible): Likewise.
6099 * javax/swing/JWindow.java
6100 (JWindow): call accessible constructor.
6101 * javax/swing/RepaintManager.java
6102 (paintDirtyRegions): Use public methods to obtain iterator.
6104 2004-05-25 David Jee <djee@redhat.com>
6106 * java/awt/Container.java
6107 (remove): Set component's parent to null only after we removed the
6108 component from its parent's layout manager.
6110 2004-05-25 David Jee <djee@redhat.com>
6112 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6113 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6115 * gnu/java/awt/peer/gtk/GtkListPeer.java
6116 (getSize): Change native method declaration.
6117 (minimumSize): Pass visible row count into getSize().
6118 (preferredSize): Likewise.
6119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6120 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6121 natural size. Use visible row count to determine the final height
6124 2004-05-21 Graydon Hoare <graydon@redhat.com>
6126 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6127 (setClip): Minor correction to order of operations.
6129 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6130 * javax/swing/ScrollPaneLayout.java: Likewise.
6131 * javax/swing/JViewPort.java: Likewise.
6132 * javax/swing/ViewportLayout.java: Likewise.
6134 * javax/swing/JComponent.java: Rewrite.
6135 * javax/swing/RepaintManager.java: Likewise.
6137 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6138 * javax/swing/JList.java
6139 (setSelectedIndices):
6140 (getSelectedIndices):
6141 (getSelectedValues): New functions.
6142 (getPreferredScrollableViewportSize): Return preferred size.
6143 (getScrollableUnitIncrement):
6144 (getScrollableBlockIncrement): Initial implementations.
6145 * javax/swing/JRootPane.java: Clean up slightly.
6150 (isValidateRoot): Add overrides from JComponent.
6151 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6152 * javax/swing/UIManager.java (getDimension): Return the dimension.
6154 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6155 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6156 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6157 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6158 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6159 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6160 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6161 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6162 Likewise, and set background.
6163 * javax/swing/plaf/basic/BasicListUI.java:
6164 Likewise, and improve a bit.
6165 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6166 Likewise, and adjust calculations.
6167 * javax/swing/plaf/basic/BasicViewportUI.java:
6168 Likewise, and improve a bit.
6169 * javax/swing/plaf/basic/BasicLookAndFeel.java
6170 (Button.margin): Shrink.
6172 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6173 Hack to set horizontal always, workaround pango.
6175 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6176 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6177 Synchronize more often, check cairo status after ops,
6178 handle changes to cairo pattern API, check for disposal.
6180 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6182 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6183 (BasicMenuItemUI): Create propertyChangeListener.
6184 (getPath):Implemented.
6185 (installListeners): Add propertyChangeListener to menuItem.
6186 (uninstallListeners): Remove propertyChangeListener from menuItem.
6187 (update): Implemented.
6188 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6189 (mouseEntered): Take insets of popup menu into account when
6190 calculating position of popup menu.
6192 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6194 * Makefile.am: Added new file.
6195 * Makefile.in: Regenerate.
6196 * javax/swing/JMenuBar.java:
6197 Started implementation.
6198 * javax/swing/JPopupMenu.java:
6199 (setVisible): Fixed location of lightweight/mediumweight
6201 (show): Fixed location of PopupMenu.
6202 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6203 New file. UI Delegate for JMenuBar.
6204 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6205 (mouseEntered): Corrected position of the submenu.
6207 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6209 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6210 to _gtk_accel_group_attach.
6211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6214 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6215 package access. Don't override setFont.
6216 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6217 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6218 gtkWidgetRequestFocus package access.
6219 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6221 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6222 Give gtkWidgetRequestFocus package access.
6223 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6224 gtkWidgetRequestFocus package access. Don't override setFont.
6225 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6227 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6228 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6230 (gtkSetFont): Likewise.
6231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6233 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6234 (gtkSetFont): Whitespace fix.
6236 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6237 (gtkWidgetSetUsize): Remove method.
6239 2004-05-18 David Jee <djee@redhat.com>
6241 * java/awt/image/MemoryImageSource.java
6242 (newPixels(int,int,int,int,boolean)): Set only the specified
6243 rectangle of pixels.
6244 (newPixels(byte[],ColorModel,int,int)): Implement.
6245 (newPixels(int[],ColorModel,int,int)): Implement.
6247 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6249 * Makefile.am: Added new file.
6250 * Makefile.in: Regenerate.
6251 * javax/swing/JMenu.java: Started
6253 * javax/swing/JPopupMenu.java:
6254 (insert): If specified index is -1, then
6255 add component at the end.
6256 (isPopupTrigger): Reimplemented.
6257 (JPopupMenu.LightWeightPopup): setBounds
6258 of the lightWeightPopup before adding it
6260 (javax/swing/plaf/basic/BasicIconFactory.java):
6261 (getMenuArrowIcon): Implemented.
6262 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6263 (getPreferredSize): Add size of the arrow icon
6264 if this menu item is instance of JMenu.
6265 (paintMenuItem): Paint arrow icon if this
6266 menu item is a submenu.
6267 * javax/swing/plaf/basic/BasicMenuUI.java:
6268 New File. UI Delegate for JMenu.
6270 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6272 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6273 Post KEY_TYPED events.
6274 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6275 (generates_key_typed_event): Remove function.
6277 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6279 * javax/swing/JRootPane.java
6280 (JRootPane.RootLayout): Reimplemented to
6281 set bounds of contentPane and menuBar.
6282 (setJMenuBar): Add menu bar to the layered pane.
6283 (createLayeredPane): Set layout of layeredPane
6285 * javax/swing/JLayeredPane.java:
6286 (addImpl): Calculate index of the component in the
6287 layeredPane according to the specified position within
6290 2004-05-17 David Jee <djee@redhat.com>
6292 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6293 (setPixels): Change color model to the default model after
6295 * java/awt/image/MemoryImageSource.java
6296 (newPixels): Set only the specified rectangle of pixels.
6298 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6300 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6301 -l-java-beans -l-javax-accessibility -l-javax-swing.
6303 * java/awt/AWTEvent.java (toString): Print source's name rather
6304 than the source itself.
6306 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6308 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6310 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6311 (gdk_color_to_java_color): New function.
6312 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6314 2004-05-12 David Jee <djee@redhat.com>
6316 * java/awt/image/RGBImageFilter.java:
6317 Initialize origmodel as null.
6318 (makeColor): Fix pixel component order.
6319 (filterRGBPixels): Fix pixel iteration.
6320 (setPixels): Add extra checks for index color model. Convert pixels
6321 to default color model if necessary.
6322 (convertColorModelToDefault): New override method for byte pixels.
6323 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6324 (makeColorbyDefaultCM): New override method for byte pixels.
6325 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6326 (makeColor): Fix pixel component order.
6328 2004-05-11 Kim Ho <kho@redhat.com>
6330 * javax/swing/Box.java:
6331 Comment out more parts of Box.Filler.
6333 2004-05-11 Kim Ho <kho@redhat.com>
6335 * javax/swing/Box.java:
6336 Remove reference to AccessibleAWTComponent so
6339 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6341 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6342 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6343 implementation of list peer to use GtkTreeView instead of
6344 deprecated GtkCList.
6346 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6348 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6349 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6350 (handleEvent): Remove keyChar argument to
6351 gtkWidgetDispatchKeyEvent calls.
6352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6355 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6356 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6359 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6361 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6362 (gtkWidgetRequestFocus): Mark protected.
6363 (GtkComponentPeer): Only set the peer's bounds if its component
6365 * java/awt/Component.java (static): Set the default keyboard
6367 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6368 requestFocusInWindow(temporary)): Don't request focus if the
6369 component is not showing. Get tree lock before traversing
6370 component hierarchy.
6371 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6372 Only set the global focus owner if it is not a Window.
6373 (processKeyEvent): Consume keystrokes associated with the focus
6374 traversal keystroke.
6375 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6376 downFocusCycle): Call requestFocusInWindow instead of
6378 * java/awt/EventDispatchThread.java (run): Move setting of
6379 default keyboard focus manager to Component.java.
6380 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6381 (awt_keycode_to_keysym): New function.
6382 (gtkWidgetDispatchKeyEvent): Finish implementation.
6383 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6384 (pre_event_handler): Add FIXME comment.
6386 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6387 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6388 (gtkWidgetRequestFocus): New method.
6389 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6390 disable Tab and Shift-Tab keystrokes.
6391 (addNotify, appendText, insertText, replaceText): Simplify peer
6393 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6394 (connectSignals): Remove connections to "commit" signals.
6395 Remove C++-style comments.
6397 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6398 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6399 (handleEvent): Activate GTK button when the space bar key is
6401 (gtkActivate): New method.
6403 2004-05-06 David Jee <djee@redhat.com>
6405 * java/awt/image/CropImageFilter.java
6406 (setPixels): Implement for byte array pixels.
6407 * java/awt/image/ReplicateScaleFilter.java
6408 (setPixels): Implement for byte array pixels.
6409 (replicatePixels): Overload for byte array pixels.
6411 2004-05-06 Kim Ho <kho@redhat.com>
6413 * javax/swing/Box.java:
6414 (getAccessibleContext): Return an instance of the
6417 2004-05-05 David Jee <djee@redhat.com>
6419 * gnu/java/awt/peer/gtk/GdkGraphics.java
6420 (drawImage): When component is null, use SystemColor.window as
6421 the default bgcolor.
6422 * gnu/java/awt/peer/gtk/GtkImage.java
6423 (setPixels): We can avoid iterating through the pixel rows only
6425 * java/awt/Image.java
6426 (getScaledInstance): Partially implement.
6427 * java/awt/image/CropImageFilter.java
6428 (setProperties): Fix "filter" property.
6429 (setPixels): Implement.
6430 * java/awt/image/ReplicateScaleFilter.java
6431 (setDimensions): Use scaled dimensions.
6432 (setPixels): Implement.
6433 (replicatePixels): New method.
6435 2004-05-05 David Jee <djee@redhat.com>
6437 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6438 (convertPixels): If either pixels or model is null, return null.
6439 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6440 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6441 is null, do nothing and return.
6443 2004-05-03 Kim Ho <kho@redhat.com>
6445 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6446 (getGraphics): Like GtkFramePeer, the Graphics
6447 object needs to be translate to account for
6449 (postMouseEvent): New method. Account for
6451 (postExposeEvent): ditto.
6452 * javax/swing/Box.java: Stubbed.
6453 * javax/swing/JDialog.java: Ran through jalopy
6455 (JDialog): Call SwingUtilities' getOwnerFrame
6457 (setLayout): Check isRootPaneCheckingEnabled
6458 * javax/swing/JOptionPane.java: Re-implemented.
6459 * javax/swing/SwingUtilities.java:
6460 (getOwnerFrame): Static method to grab a default
6461 owner frame for Dialogs that don't specify owners.
6462 * javax/swing/event/SwingPropertyChangeSupport.java:
6463 (firePropertyChange): Fix early exit condition.
6464 * javax/swing/plaf/basic/BasicLabelUI.java:
6465 (paint): Avoid painting text if it is null
6467 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6470 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6472 * Makefile.am: Added new file.
6473 * Makefile.in: Regenerate.
6474 * javax/swing/JPopupMenu.java:
6475 Started implementation.
6476 * javax/swing/JWindow.java
6477 (JWindow): call super() if parent for window
6479 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6480 New File. UI Delegate for JPopupMenu.
6482 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6484 * javax/swing/JApplet.java: Indicated that JApplet
6485 implements RootPaneContainer and made method of this
6487 * javax/swing/JFrame.java: Ditto.
6488 * javax/swing/JWindow.java: Ditto.
6490 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6493 (nativeSetBounds): Call gdk_window_move in addition to
6496 * java/applet/Applet.java (preferredSize): Call parent's
6497 preferredSize if the applet stub is null.
6498 (minimumSize): Likewise for parent's minimumSize.
6500 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6502 * javax/swing/JMenuItem.java
6503 (createActionPropertyChangeListener): Implemented.
6504 (processMouseEvent): Ditto.
6505 (fireMenuDragMouseEntered): Ditto.
6506 (fireMenuDragMouseExited): Ditto.
6507 (fireMenuDragMouseDragged): Ditto.
6508 (fireMenuDragMouseReleased): Ditto.
6509 (menuSelectionChanged): Ditto.
6510 (getSubElements): Ditto.
6511 (getComponent): Ditto.
6512 (addMenuDragMouseListener): Ditto.
6513 (removeMenuDragMouseListener):Ditto.
6514 (addMenuKeyListener): Ditto.
6515 (removeMenuKeyListener): Ditto.
6516 * javax/swing/plaf/basic/BasicMenuItemUI.java
6517 (doClick): Imlemented.
6518 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6519 Don't handle mouse events here. Pass them to
6520 MenuSelectionManager.
6522 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6523 Used correct version of jalopy configuration
6524 file to fix style in the files below.
6526 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6528 * javax/swing/JCheckBoxMenuItem.java:
6529 Fixed style and removed unnecessary comments.
6530 * javax/swing/JMenuItem.java: Ditto.
6531 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6532 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6533 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6534 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6536 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6538 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6541 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6543 * java/awt/ContainerOrderFocusTraversalPolicy.java
6544 (getComponentAfter): Start from current component and work up
6545 the component hierarchy until an acceptable component is found.
6546 Synchronize on tree lock.
6547 (getComponentBefore): Likewise.
6549 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6551 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6552 focus-related debugging messages.
6553 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6554 * java/awt/EventDispatchThread.java: Likewise.
6555 * java/awt/KeyboardFocusManager.java: Likewise.
6556 * java/awt/Window.java: Likewise.
6557 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6558 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6561 new C++-style comments to C-style comments.
6562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6564 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6565 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6566 (handleEvent): Dispatch key press and key release events to
6568 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6569 (gtkWidgetRequestFocus): New method.
6570 (gtkWidgetDispatchKeyEvent): Likewise.
6571 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6572 requestFocusInWindow, requestFocusInWindow(boolean),
6573 getFocusCycleRootAncestor, nextFocus, transferFocus,
6574 transferFocusBackward, transferFocusUpCycle, hasFocus,
6575 isFocusOwner): Implement and document focus-handling methods.
6576 (setFocusTraversalKeys): Inherit focus traversal keys when
6577 keystrokes argument is null. Fix focus-handling documentation
6579 * java/awt/Container.java (setFocusTraversalKeys,
6580 getFocusTraversalKeys, areFocusTraversalKeysSet,
6581 isFocusCycleRoot, setFocusTraversalPolicy,
6582 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6583 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6584 Implement and document focus-handling methods.
6585 (transferFocusBackward): Remove method.
6586 (readObject, writeObject): Implement and document serialization
6588 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6590 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6592 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6594 * java/awt/EventDispatchThread.java (run): Set default keyboard
6595 focus manager. Attempt to dispatch each event to the keyboard
6596 focus manager before normal dispatch.
6597 * java/awt/KeyboardFocusManager.java: Implement and partially
6599 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6600 (show): Focus initial component when window is shown for the
6602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6603 (pre_event_handler): Replace complex key press and key release
6604 logic with simple callbacks into GtkComponentPeer.
6605 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6607 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6609 * javax/swing/MenuSelectionManager.java
6610 (componentForPoint): Added new method.
6611 (defaultManager): New Method. Implemented.
6612 (getSelectedPath): Ditto.
6613 (isComponentPartOfCurrentMenu): Ditto.
6614 (processKeyEvent): Added new method.
6615 (processMouseEvent): New Method. Implemented.
6616 (setSelectedPath): Ditto.
6619 2004-04-19 Kim Ho <kho@redhat.com>
6621 * java/awt/Container.java:
6622 (remove): Set the component's parent to null.
6623 (getComponentAt): Implement.
6624 * javax/swing/JComponent.java:
6625 (JComponent): Initialize defaultLocale
6626 (getDefaultLocale): Implement.
6627 (setDefaultLocale): ditto.
6628 * javax/swing/JSlider.java:
6629 (JSlider): Fix calculation of value.
6630 * javax/swing/JSplitPane.java: Implement.
6631 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6632 Change SplitPane's default divider size.
6633 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6634 (paint): Remove unused code.
6635 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6636 Added comments and ran through jalopy.
6637 (setBasicSplitPaneUI): Get reference to hidden divider
6638 and set up one touch buttons if necessary.
6639 (setBorder): Fire propertyChangeEvent only if
6640 borders are different.
6641 (getPreferredSize): Defer to layout manager.
6642 (propertyChange): Implement.
6643 (oneTouchExpandableChanged): ditto.
6644 (createLeftOneTouchButton): Use BasicArrowButton.
6645 (createRightOneTouchButton): ditto.
6646 (moveDividerTo): New method. Moves the divider
6647 to a set location based on the last divider location.
6648 (BasicSplitPaneDivider::MouseHandler): Implement.
6649 (BasicSplitPaneDivider::OneTouchButton): Removed.
6650 (BasicSplitPaneDivider::DragController): Implement.
6651 (BasicSplitPaneDivider::VerticalDragController):
6653 (BasicSplitPaneDivider::DividerLayout): ditto.
6654 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6655 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6656 (calculateLayoutInfo): Don't show component if it's
6658 (paintTab): Fix title paint logic.
6660 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6663 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6664 (setStartRule,setEndRule): Don't take abs of day number.
6665 (getOffset): Clarify docs. Add argument checks.
6666 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6667 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6669 * testsuite/libjava.mauve/xfails
6670 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6672 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6674 Layout interfaces during preparation, not initialization.
6675 * java/lang/natClass.cc (initializeClass): Move
6676 _Jv_LayoutInterfaceMethods call...
6677 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6679 2004-05-19 Anthony Green <green@localhost.localdomain>
6681 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6683 * Makefile.in: Rebuilt.
6684 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6685 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6686 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6687 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6688 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6689 gnu/javax/rmi/CORBA/DelegateFactory.java,
6690 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6691 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6692 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6693 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6694 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6695 gnu/javax/rmi/PortableServer.java: Remove files.
6697 2004-05-19 Anthony Green <green@redhat.com>
6699 * Makefile.am: Define JAVA_EXT_DIRS.
6700 * Makefile.in: Rebuilt.
6701 * java/lang/natRuntime.cc (insertSystemProperties): Set
6702 java.ext.dirs property.
6704 2004-05-16 Mark Wielaard <mark@klomp.org>
6706 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6708 2004-05-15 Mark Wielaard <mark@klomp.org>
6710 * doc/cni.sgml: Removed, merged into gcj.texi.
6712 2004-05-15 Mark Wielaard <mark@klomp.org>
6714 * Makefile.am (ordinary_java_source_files): Add new javax.print
6716 * Makefile.in: Regenerated.
6718 2004-05-15 Michael Koch <konqueror@gmx.de>
6720 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6721 javax/print/attribute/standard/DateTimeAtCreation.java,
6722 javax/print/attribute/standard/DateTimeAtProcessing.java,
6723 javax/print/attribute/standard/DocumentName.java,
6724 javax/print/attribute/standard/JobHoldUntil.java,
6725 javax/print/attribute/standard/JobImpressionsCompleted.java,
6726 javax/print/attribute/standard/JobMessageFromOperator.java,
6727 javax/print/attribute/standard/JobName.java,
6728 javax/print/attribute/standard/JobOriginatingUserName.java,
6729 javax/print/attribute/standard/JobPriority.java,
6730 javax/print/attribute/standard/JobPrioritySupported.java,
6731 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6732 javax/print/attribute/standard/OutputDeviceAssigned.java,
6733 javax/print/attribute/standard/PrinterInfo.java,
6734 javax/print/attribute/standard/PrinterLocation.java,
6735 javax/print/attribute/standard/PrinterMakeAndModel.java,
6736 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6737 javax/print/attribute/standard/PrinterName.java,
6738 javax/print/attribute/standard/QueuedJobCount.java,
6739 javax/print/attribute/standard/RequestingUserName.java:
6740 Fixed javadocs all over.
6742 2004-05-15 Michael Koch <konqueror@gmx.de>
6744 * javax/print/DocFlavor.java,
6745 javax/print/attribute/standard/ColorSupported.java,
6746 javax/print/attribute/standard/Compression.java,
6747 javax/print/attribute/standard/CopiesSupported.java,
6748 javax/print/attribute/standard/Fidelity.java,
6749 javax/print/attribute/standard/Finishings.java,
6750 javax/print/attribute/standard/JobImpressionsSupported.java,
6751 javax/print/attribute/standard/JobKOctetsSupported.java,
6752 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6753 javax/print/attribute/standard/JobSheets.java,
6754 javax/print/attribute/standard/JobState.java,
6755 javax/print/attribute/standard/JobStateReason.java,
6756 javax/print/attribute/standard/JobStateReasons.java,
6757 javax/print/attribute/standard/Media.java,
6758 javax/print/attribute/standard/MediaSizeName.java,
6759 javax/print/attribute/standard/MultipleDocumentHandling.java,
6760 javax/print/attribute/standard/NumberUpSupported.java,
6761 javax/print/attribute/standard/OrientationRequested.java,
6762 javax/print/attribute/standard/PDLOverrideSupported.java,
6763 javax/print/attribute/standard/PageRanges.java,
6764 javax/print/attribute/standard/PresentationDirection.java,
6765 javax/print/attribute/standard/PrintQuality.java,
6766 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6767 javax/print/attribute/standard/PrinterMoreInfo.java,
6768 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6769 javax/print/attribute/standard/PrinterResolution.java,
6770 javax/print/attribute/standard/PrinterState.java,
6771 javax/print/attribute/standard/PrinterStateReason.java,
6772 javax/print/attribute/standard/PrinterStateReasons.java,
6773 javax/print/attribute/standard/PrinterURI.java,
6774 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6775 javax/print/attribute/standard/Severity.java,
6776 javax/print/attribute/standard/SheetCollate.java,
6777 javax/print/attribute/standard/Sides.java:
6778 Added serialVersionUID and removed final keyword where it doenst
6781 2004-05-15 Michael Koch <konqueror@gmx.de>
6783 * javax/print/PrintServiceLookup.java: New file.
6785 2004-05-15 Michael Koch <konqueror@gmx.de>
6787 * javax/print/DocFlavor.java:
6788 Implemented all flavor classes.
6790 2004-05-15 Michael Koch <konqueror@gmx.de>
6792 * javax/print/attribute/standard/ColorSupported.java,
6793 javax/print/attribute/standard/Compression.java,
6794 javax/print/attribute/standard/CopiesSupported.java,
6795 javax/print/attribute/standard/Fidelity.java,
6796 javax/print/attribute/standard/Finishings.java,
6797 javax/print/attribute/standard/JobImpressionsSupported.java,
6798 javax/print/attribute/standard/JobKOctetsSupported.java,
6799 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6800 javax/print/attribute/standard/JobSheets.java,
6801 javax/print/attribute/standard/JobState.java,
6802 javax/print/attribute/standard/JobStateReason.java,
6803 javax/print/attribute/standard/JobStateReasons.java,
6804 javax/print/attribute/standard/Media.java,
6805 javax/print/attribute/standard/MediaSizeName.java,
6806 javax/print/attribute/standard/MultipleDocumentHandling.java,
6807 javax/print/attribute/standard/NumberUpSupported.java,
6808 javax/print/attribute/standard/OrientationRequested.java,
6809 javax/print/attribute/standard/PDLOverrideSupported.java,
6810 javax/print/attribute/standard/PageRanges.java,
6811 javax/print/attribute/standard/PresentationDirection.java,
6812 javax/print/attribute/standard/PrintQuality.java,
6813 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6814 javax/print/attribute/standard/PrinterMoreInfo.java,
6815 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6816 javax/print/attribute/standard/PrinterResolution.java,
6817 javax/print/attribute/standard/PrinterState.java,
6818 javax/print/attribute/standard/PrinterStateReason.java,
6819 javax/print/attribute/standard/PrinterStateReasons.java,
6820 javax/print/attribute/standard/PrinterURI.java,
6821 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6822 javax/print/attribute/standard/Severity.java,
6823 javax/print/attribute/standard/SheetCollate.java,
6824 javax/print/attribute/standard/Sides.java: New files.
6826 2004-05-15 Michael Koch <konqueror@gmx.de>
6828 * javax/print/Doc.java
6829 (getPrintData): Throws IOException.
6830 (getReaderForText): Likewise.
6831 (getStreamForBytes): Likewise.
6832 * javax/print/DocFlavor.java:
6833 Fixed filename in copyright.
6834 (serialVersionUID): New field.
6835 * javax/print/ServiceUIFactory.java:
6836 Made all constants final.
6837 * javax/print/AttributeException.java
6838 javax/print/MultiDoc.java
6839 javax/print/MultiDocPrintJob.java
6840 javax/print/MultiDocPrintService.java
6841 javax/print/StreamPrintService.java
6842 javax/print/URIException.java: New files.
6843 * javax/print/Makefile.am
6844 (EXTRA_DIST): Added all new files.
6846 2004-05-15 Michael Koch <konqueror@gmx.de>
6848 * javax/print/attribute/standard/Copies.java,
6849 javax/print/attribute/standard/DateTimeAtCompleted.java,
6850 javax/print/attribute/standard/DateTimeAtCreation.java,
6851 javax/print/attribute/standard/DateTimeAtProcessing.java,
6852 javax/print/attribute/standard/DocumentName.java,
6853 javax/print/attribute/standard/JobHoldUntil.java,
6854 javax/print/attribute/standard/JobImpressions.java,
6855 javax/print/attribute/standard/JobImpressionsCompleted.java,
6856 javax/print/attribute/standard/JobKOctets.java,
6857 javax/print/attribute/standard/JobKOctetsProcessed.java,
6858 javax/print/attribute/standard/JobMediaSheets.java,
6859 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6860 javax/print/attribute/standard/JobMessageFromOperator.java,
6861 javax/print/attribute/standard/JobName.java,
6862 javax/print/attribute/standard/JobOriginatingUserName.java,
6863 javax/print/attribute/standard/JobPriority.java,
6864 javax/print/attribute/standard/JobPrioritySupported.java,
6865 javax/print/attribute/standard/NumberOfDocuments.java,
6866 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6867 javax/print/attribute/standard/NumberUp.java,
6868 javax/print/attribute/standard/OutputDeviceAssigned.java,
6869 javax/print/attribute/standard/PagesPerMinute.java,
6870 javax/print/attribute/standard/PagesPerMinuteColor.java:
6871 Fixed @return tag all over.
6873 2004-05-15 Michael Koch <konqueror@gmx.de>
6875 * javax/print/attribute/AttributeSetUtilities.java
6876 (verifyCategoryForValue): Fixed typo in javadoc.
6877 * javax/print/attribute/HashAttributeSet.java
6878 (containsKey): Fixed @return tag.
6879 (comtainsValue): Likewise.
6881 * javax/print/attribute/IntegerSyntax.java
6883 * javax/print/attribute/ResolutionSyntax.java
6885 (getCrossFeedResolution): Removed unused code.
6886 (getFeedResolution): Likewise.
6887 * javax/print/attribute/SetOfIntegerSyntax.java
6888 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6889 (equals): Fixed @return tag.
6890 * javax/print/attribute/TextSyntax.java
6891 (TextSyntax): Take locale into account.
6892 (hashCode): Better implementation.
6894 2004-05-15 Michael Koch <konqueror@gmx.de>
6896 * javax/print/CancelablePrintJob.java,
6897 javax/print/Doc.java,
6898 javax/print/DocFlavor.java,
6899 javax/print/DocPrintJob.java,
6900 javax/print/FlavorException.java,
6901 javax/print/PrintException.java,
6902 javax/print/PrintService.java,
6903 javax/print/ServiceUIFactory.java: New files.
6905 2004-05-15 Mark Wielaard <mark@klomp.org>
6907 * gnu/regexp/CharIndexedReader.java: Removed.
6908 * gnu/regexp/REFilterReader.java: Likewise.
6909 * gnu/regexp/RETokenLookAhead.java: Likewise.
6910 * Makefile.am (ordinary_java_source_files): Remove above classes.
6911 * Makefile.in: Regenerated.
6913 2004-05-14 Tom Tromey <tromey@redhat.com>
6915 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6916 not `XGraphicsConfiguration.XOffScreenImage'.
6918 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6920 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6922 2004-05-14 Steven Augart <augart@watson.ibm.com>
6924 * include/jni.h (_Jv_func): Removed.
6925 (struct JNINativeInterface): Use `void *' for reserved slots.
6926 (struct JNIInvokeInterface): Likewise.
6928 2004-05-11 Michael Koch <konqueror@gmx.de>
6930 * gnu/java/net/natPlainSocketImplPosix.cc
6931 (read): Fixed typo in expression.
6933 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6935 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6936 ld_library_additions. Adjust all calls to libjava_invoke to match
6939 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6940 path to cxxflagslist.
6941 Pass path of libstdc++ to libjava_invoke.
6943 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6944 libjava_invoke arguments.
6946 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6948 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6951 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6953 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6954 main binary against the JNI shared library.
6956 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6958 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6959 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6960 (SimpleTimeZone): Tweak docs. Add new variation.
6961 (setStartRule,setEndRule): Add new variations. Use
6962 startTimeMode and endTimeMode.
6964 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6966 * java/util/Calendar.java (getActualMinimum,
6967 getActualMaximum): Remove abstract. Implement.
6969 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6971 Run the jni tests using the interpreter.
6972 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6973 options_cxx to shared lib compile command.
6974 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6975 they are used to link the shared lib, not the main binary.
6976 Use libjava_invoke to run gij.
6978 2004-05-06 Michael Koch <konqueror@gmx.de>
6980 * java/util/logging/Level.java
6981 (parse): Use == instead of String.equals().
6983 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6985 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6986 verify_field_signature and verify_method_signature, not
6987 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6988 (_Jv_ClassReader::handleField): Likewise.
6989 (_Jv_ClassReader::handleMethod): Likewise.
6991 2004-05-06 Michael Koch <konqueror@gmx.de>
6993 * javax/swing/table/TableColumn.java:
6996 2004-05-06 Michael Koch <konqueror@gmx.de>
6998 * javax/imageio/spi/ImageReaderWriterSpi.java
6999 (ImageReaderWriterSpi): Made it public.
7000 * javax/imageio/stream/ImageInputStream.java:
7003 2004-05-06 Michael Koch <konqueror@gmx.de>
7005 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7008 2004-05-06 Michael Koch <konqueror@gmx.de>
7010 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
7011 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
7013 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
7014 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
7015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7016 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
7017 their own source file.
7018 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7019 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
7020 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
7021 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
7022 (create): Define variable on top of function.
7023 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
7024 (menu_pos): Prototyped.
7025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7026 (setTitle): Removed.
7027 * jni/gtk-peer/gthread-jni.c
7028 (gdk_threads_wake): Removed.
7029 * Makefile.am (gtk_c_source_files): Added new files
7030 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
7031 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
7032 * Makefile.in: Regenerated.
7034 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
7036 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
7039 2004-05-05 Mark Wielaard <mark@klomp.org>
7041 * javax/swing/AbstractButton.java: Replace special HTML entities with
7043 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
7044 * javax/swing/DefaultButtonModel.java: Likewise.
7045 * javax/swing/DefaultListModel.java: Likewise.
7046 * javax/swing/JList.java: Likewise.
7047 * javax/swing/JSlider.java: Likewise.
7048 * javax/swing/ListModel.java: Likewise.
7049 * javax/swing/Popup.java: Likewise.
7050 * javax/swing/SwingUtilities.java: Likewise.
7052 2004-05-05 Michael Koch <konqueror@gmx.de>
7054 * javax/swing/AbstractButton.java,
7055 javax/swing/ActionMap.java,
7056 javax/swing/DefaultButtonModel.java,
7057 javax/swing/DefaultListModel.java,
7058 javax/swing/ImageIcon.java,
7059 javax/swing/JComboBox.java,
7060 javax/swing/JComponent.java,
7061 javax/swing/JFrame.java,
7062 javax/swing/JInternalFrame.java,
7063 javax/swing/JMenuBar.java,
7064 javax/swing/JMenuItem.java,
7065 javax/swing/JOptionPane.java,
7066 javax/swing/JProgressBar.java,
7067 javax/swing/JRootPane.java,
7068 javax/swing/JScrollBar.java,
7069 javax/swing/JScrollPane.java,
7070 javax/swing/JSeparator.java,
7071 javax/swing/JSlider.java,
7072 javax/swing/JTabbedPane.java,
7073 javax/swing/JTable.java,
7074 javax/swing/JTextField.java,
7075 javax/swing/JToolBar.java,
7076 javax/swing/JToolTip.java,
7077 javax/swing/JTree.java,
7078 javax/swing/JViewport.java,
7079 javax/swing/JWindow.java,
7080 javax/swing/KeyStroke.java,
7081 javax/swing/LookAndFeel.java,
7082 javax/swing/SwingUtilities.java,
7083 javax/swing/Timer.java,
7084 javax/swing/ToolTipManager.java,
7085 javax/swing/UIDefaults.java,
7086 javax/swing/border/TitledBorder.java,
7087 javax/swing/filechooser/FileSystemView.java,
7088 javax/swing/plaf/basic/BasicButtonListener.java,
7089 javax/swing/plaf/basic/BasicButtonUI.java,
7090 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7091 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7092 javax/swing/plaf/basic/BasicLabelUI.java,
7093 javax/swing/plaf/basic/BasicMenuItemUI.java,
7094 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7095 javax/swing/plaf/basic/BasicRootPaneUI.java,
7096 javax/swing/plaf/basic/BasicScrollBarUI.java,
7097 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7098 javax/swing/plaf/basic/BasicSliderUI.java,
7099 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7100 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7101 javax/swing/table/JTableHeader.java,
7102 javax/swing/text/AbstractDocument.java,
7103 javax/swing/text/DefaultCaret.java,
7104 javax/swing/text/StyledEditorKit.java,
7105 javax/swing/tree/DefaultTreeCellEditor.java:
7108 2004-05-05 Michael Koch <konqueror@gmx.de>
7110 * java/util/prefs/AbstractPreferences.java
7111 (AbstractPreferences): Added parenthesis for clarity.
7112 Closes classpath bug #7940.
7114 2004-05-05 Tom Tromey <tromey@redhat.com>
7116 * javax/naming/CompoundName.java (endsWith): Look at correct
7117 element of source name.
7119 2004-05-05 Mark Wielaard <mark@klomp.org>
7121 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7122 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7124 2004-05-05 Tom Tromey <tromey@redhat.com>
7126 * java/io/BufferedReader.java (skip): Removed unused
7129 2004-05-05 Michael Koch <konqueror@gmx.de>
7131 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7133 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7135 * java/text/AttributedString.java,
7136 java/text/AttributedStringIterator.java,
7137 java/text/Collator.java,
7138 java/text/DecimalFormatSymbols.java,
7139 java/text/NumberFormat.java,
7140 java/text/RuleBasedCollator.java:
7143 2004-05-05 Tom Tromey <tromey@redhat.com>
7145 * java/text/Format.java: Cleaned up imports.
7146 * java/text/DecimalFormat.java: Cleaned up imports.
7147 * java/security/SecureRandom.java: Cleaned up imports.
7148 (SecureRandom): Removed unused variable.
7149 * java/security/UnresolvedPermission.java: Cleaned up imports.
7150 * java/util/Date.java (parse): Removed unused variable.
7151 * java/util/ResourceBundle.java: Cleaned up imports.
7152 (getBundle): Removed unused variable.
7153 (tryBundle): Likewise.
7154 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7156 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7158 * java/text/SimpleDateFormat.java:
7159 (formatWithAttribute): New method. It implements
7160 the formatting process with attributes.
7161 (format): Use formatWithAttribute.
7162 (formatToCharacterIterator): New method. Use
7163 formatWithAttribute.
7165 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7167 * java/text/MessageFormat.java:
7168 (class Field): New class.
7169 (formatToCharacterIterator): New method.
7170 (format): Use formatInternal now.
7171 (formatInternal): New method. String formatter should
7172 be done here (with attributes). Attributes merging supported.
7173 (parse): More documentation.
7174 (getFormatsByArgumentIndex): New method.
7175 (setFormatByArgumentIndex): New method.
7176 (setFormatsByArgumentIndex): New method.
7178 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7180 * java/text/DecimalFormat.java
7181 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7182 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7183 (parse): Fixed handling of exponentiation notation and grouping.
7185 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7187 * java/text/DecimalFormat.java
7188 (scanFix): Build attribute array. Fixed error reporting.
7189 (applyPatternWithSymbols): Store attributes for the prefix and
7191 (formatInternal): New method. Changed the way the string is
7192 computed. Implemented attributes. Cleant up rounding in
7193 exponential notation.
7194 (format): Use formatInternal.
7195 (formatToCharacterIterator): New method.
7196 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7197 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7198 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7201 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7203 * java/security/interfaces/DSAKeyPairGenerator.java,
7204 java/security/interfaces/DSAPrivateKey.java,
7205 java/security/interfaces/DSAPublicKey.java,
7206 java/security/interfaces/RSAPrivateKey.java,
7207 java/security/interfaces/RSAPublicKey.java:
7210 2004-05-04 Michael Koch <konqueror@gmx.de>
7212 * java/nio/ByteBuffer.java,
7213 java/nio/CharBuffer.java,
7214 java/nio/DoubleBuffer.java,
7215 java/nio/FloatBuffer.java,
7216 java/nio/IntBuffer.java,
7217 java/nio/LongBuffer.java,
7218 java/nio/ShortBuffer.java:
7219 (compareTo): Fixed bogus implementation in all buffer classes.
7221 2004-05-04 Ingo Proetel <proetel@aicas.com>
7223 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7224 32 bit pixels not 8 bit pixels.
7225 (isCompatibleRaster): Added javadoc comment.
7227 2004-05-04 Ingo Proetel <proetel@aicas.com>
7229 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7232 2004-05-04 Ingo Proetel <proetel@aicas.com>
7234 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7235 (getColorModel): Return the actual color model.
7236 (getRaster): Implemented.
7237 (ColorRaster): New inner class.
7238 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7240 * java/awt/Color.java (<init>): Make exception more verbose.
7241 (createContext): Use ColorModel when creating a PaintContext.
7243 2004-05-04 Michael Koch <konqueror@gmx.de>
7245 * gnu/java/text/CharacterBreakIterator.java
7246 (previous): Removed unused variable.
7248 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7250 * gnu/java/text/FormatBuffer.java,
7251 gnu/java/text/AttributedFormatBuffer.java,
7252 gnu/java/text/StringFormatBuffer.java: New classes to implement
7253 attributed iterators in java.text.
7254 * gnu/java/text/FormatCharacterIterator.java: Moved
7255 from java/text as it is an internal class.
7256 * java/text/FormatCharacterIterator.java: Removed.
7257 * java/text/Format.java:
7258 Import gnu.java.text.FormatCharacterIterator.
7259 * Makefile.am (java_source_files): Added new files.
7260 * Makefile.in: Regenerated.
7263 2004-05-04 Mark Wielaard <mark@klomp.org>
7265 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7267 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7269 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7270 * Makefile.in: Rebuilt.
7272 2004-05-03 Mark Wielaard <mark@klomp.org>
7274 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7275 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7277 (set(String, String, int, String, String, String, String, String)):
7278 Assign this.file to path or path + "?" + query.
7279 * java/util/Arrays.java: Call static methods staticly.
7280 * java/util/zip/ZipEntry.java: Likewise.
7281 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7282 dir to this.direction.
7283 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7284 Assign static field only once.
7285 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7287 2004-05-03 Mark Wielaard <mark@klomp.org>
7289 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7290 unused variables hScrollbarHeight and vScrollbarWidth.
7291 (preferredSize): Likewise.
7292 * gnu/java/security/provider/DSAParameters.java (engineToString):
7293 Removed unused call to System.getProperty("line.seperator");
7294 * java/security/Security.java (loadProviders): Return result.
7296 2004-05-03 Tom Tromey <tromey@redhat.com>
7298 * java/net/URLStreamHandler.java (toExternalForm): Removed
7301 * java/math/BigDecimal.java (divide): Removed unused variable.
7302 * java/lang/Throwable.java: Cleaned up imports.
7303 * java/lang/ClassLoader.java: Cleaned up imports.
7304 * java/io/FilePermission.java (implies): Removed unused
7306 * java/awt/TextComponent.java: Removed unused import.
7307 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7308 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7309 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7310 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7312 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7313 * gnu/java/text/CharacterBreakIterator.java: Removed
7315 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7317 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7318 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7320 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7321 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7322 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7323 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7324 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7325 (lookupProviders): Removed unused variable.
7326 (loadNextServiceProvider): Likewise.
7327 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7329 2004-05-03 Michael Koch <konqueror@gmx.de>
7331 Fixes PR libgcj/14695:
7332 * java/net/NetworkInterface.java
7333 (getByName): Return null when no interface was found.
7335 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7336 Tom Tromey <tromey@redhat.com>
7338 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7339 additional option "-Wmissing-prototypes" for compiling C sources.
7340 Print actual filename for pass/fail rather than $name.c.
7341 * testsuite/libjava.jni/PR15133.java: New testcase file.
7342 * testsuite/libjava.jni/PR15133.c: Likewise.
7343 * testsuite/libjava.jni/PR15133.out: Likewise.
7345 2004-04-30 Roger Sayle <roger@eyesopen.com>
7347 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7350 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7352 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7353 limit the maximum heap size to avoid unnecessary thrashing.
7355 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7357 * java/text/CollationElementIterator.java (reset): Reset
7358 lookahead variables.
7360 2004-04-23 Mark Wielaard <mark@klomp.org>
7362 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7364 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7366 * java/sql/DriverManager.java:
7369 2004-04-23 Michael Koch <konqueror@gmx.de>
7372 (hashcode): Don't initialize with default value explicitely.
7373 (getContent): Removed redundant "final" keyword.
7374 (openStream): Likewise.
7375 (getURLStreamHandler): Fixed coding style.
7376 * java/net/URLConnection.java
7377 (defaultAllowUserInteraction): Don't initialize with default value
7379 (connected): Likewise.
7380 (doOutput): Likewise.
7381 (ifModifiedSince): Likewise.
7382 (dateformats_initialized): Likewise.
7383 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7385 2004-04-23 Michael Koch <konqueror@gmx.de>
7387 * gnu/java/nio/channels/FileChannelImpl.java
7388 (SET, CUR): Unused, removed.
7389 (read): Implement here directly.
7390 (implRead): Removed.
7391 (write): Implement here directly.
7392 (implWrite): Removed.
7394 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7396 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7397 javax/rmi/CORBA/Stub.java,
7398 javax/rmi/CORBA/Util.java,
7399 javax/rmi/CORBA/ValueHandler.java,
7400 javax/rmi/CORBA/ValueHandler.java,
7401 javax/rmi/PortableRemoteObject.java:
7404 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7406 * java/util/jar/JarFile.java,
7407 java/util/jar/JarInputStream.java,
7408 java/util/jar/JarOutputStream.java,
7409 java/util/jar/Manifest.java:
7412 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7414 * java/util/ArrayList.java,
7415 java/util/Calendar.java,
7416 java/util/Currency.java,
7417 java/util/HashMap.java,
7418 java/util/HashSet.java,
7419 java/util/Hashtable.java,
7420 java/util/LinkedList.java,
7421 java/util/Properties.java,
7422 java/util/PropertyPermission.java,
7423 java/util/TimeZone.java,
7424 java/util/TreeMap.java,
7425 java/util/TreeSet.java,
7426 java/util/Vector.java,
7427 java/util/WeakHashMap.java:
7430 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7432 * java/util/logging/FileHandler.java,
7433 java/util/logging/Formatter.java,
7434 java/util/logging/Handler.java,
7435 java/util/logging/Logger.java,
7436 java/util/logging/SimpleFormatter.java,
7437 java/util/logging/XMLFormatter.java:
7440 2004-04-22 Mark Wielaard <mark@klomp.org>
7442 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7443 -Wno-long-long flags variable.
7444 (gtk_c_files): Use PEDANTIC_CFLAGS.
7445 * Makefile.in: Regenerated.
7447 2004-04-22 Mark Wielaard <mark@klomp.org>
7449 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7450 Changed C++ comments into C comments.
7451 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7454 2004-04-22 Michael Koch <konqueror@gmx.de>
7456 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7457 Merged copyright year with GNU classpath.
7459 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7461 * javax/security/auth/x500/X500Principal.java:
7464 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7466 * javax/swing/JSlider.java:
7467 Fixed HTML tags in comments.
7469 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7471 * javax/accessibility/AccessibleText.java:
7474 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7476 * java/net/URLStreamHandler.java
7477 (parseURL): Convert the file path to using '/' instead of native
7480 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7483 (userInfo): New field.
7484 (URL): Set authority to the right value.
7485 (setURL): Fixed authority and file initialization.
7486 * java/net/URLStreamHandler.java
7487 (parseURL): Take care of the query tag. Build authority.
7488 (toExternalForm): Fixed URL building using authority.
7490 2004-04-22 Michael Koch <konqueror@gmx.de>
7492 * java/net/Socket.java
7493 (impl): Made package-private.
7494 * java/net/ServerSocket.java
7495 (implAccept): Access Socket.impl field directly.
7497 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7499 * java/util/prefs/Preferences.java,
7500 java/util/prefs/InvalidPreferencesFormatException.java,
7501 java/util/prefs/BackingStoreException.java,
7502 java/util/prefs/AbstractPreferences.java:
7505 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7507 * java/util/regex/Matcher.java,
7508 java/util/regex/Pattern.java:
7511 2004-04-22 Michael Koch <konqueror@gmx.de>
7513 * java/nio/charset/IllegalCharsetNameException.java
7514 (charsetName): Made private.
7515 (IllegalCharsetNameException): Added @param tag to javadoc.
7516 (getCharsetName): Added @return tag to javadoc.
7517 * java/nio/charset/MalformedInputException.java
7518 (MalformedInputException): Added @param tag to javadoc.
7519 (getInputLength): Revised method description, added @return tag.
7520 (getMessage): Added @return tag.
7522 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7524 * java/awt/Font.java (deriveFont): Implement missing variants.
7525 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7528 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7530 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7531 Set method->index values for interface methods to their itable index.
7532 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7534 2004-04-21 Michael Koch <konqueror@gmx.de>
7536 * java/nio/DirectByteBufferImpl.java
7537 (shiftDown): Made static, give address as argument and
7538 provide a convenience method that overwrites shiftDown in
7539 ByteBufferImpl and calls the native shiftDown.
7540 * java/nio/MappedByteBufferImpl.java
7541 (): Use optimized method in DirectByteBufferImpl.
7542 * java/nio/natDirectByteBufferImpl.cc
7543 (shiftDown): Changed method signature. Removed usage of array_offset.
7545 2004-04-21 Michael Koch <konqueror@gmx.de>
7547 * gnu/java/net/natPlainSocketImplPosix.cc
7548 (SocketInputStream::read): Make sure returned data is a byte value.
7550 2004-04-21 Michael Koch <konqueror@gmx.de>
7552 * gnu/classpath/ServiceFactory.java,
7553 gnu/classpath/ServiceProviderLoadingAction.java,
7554 javax/imageio/ImageReader.java,
7555 javax/imageio/ImageTranscoder.java,
7556 javax/imageio/ImageWriter.java,
7557 javax/imageio/package.html,
7558 javax/imageio/spi/IIOServiceProvider.java,
7559 javax/imageio/spi/ImageInputStreamSpi.java,
7560 javax/imageio/spi/ImageOutputStreamSpi.java,
7561 javax/imageio/spi/ImageReaderWriterSpi.java,
7562 javax/imageio/spi/ImageTranscoderSpi.java,
7563 javax/imageio/spi/RegisterableService.java,
7564 javax/imageio/spi/ServiceRegistry.java,
7565 javax/imageio/spi/package.html,
7566 javax/imageio/stream/IIOByteBuffer.java,
7567 javax/imageio/stream/ImageInputStream.java,
7568 javax/imageio/stream/ImageOutputStream.java,
7569 javax/imageio/stream/package.html:
7572 (ordinary_java_source_files): Added
7573 gnu/classpath/ServiceFactory.java and
7574 gnu/classpath/ServiceProviderLoadingAction.java.
7575 (javax_source_files): Added
7576 javax/imageio/ImageReader.java,
7577 javax/imageio/ImageTranscoder.java,
7578 javax/imageio/ImageWriter.java,
7579 javax/imageio/spi/IIOServiceProvider.java,
7580 javax/imageio/spi/ImageInputStreamSpi.java,
7581 javax/imageio/spi/ImageOutputStreamSpi.java,
7582 javax/imageio/spi/ImageReaderWriterSpi.java,
7583 javax/imageio/spi/ImageTranscoderSpi.java,
7584 javax/imageio/spi/RegisterableService.java,
7585 javax/imageio/spi/ServiceRegistry.java,
7586 javax/imageio/stream/IIOByteBuffer.java,
7587 javax/imageio/stream/ImageInputStream.java and
7588 javax/imageio/stream/ImageOutputStream.java.
7589 * Makefile.in: Regenerated.
7591 2004-04-21 Michael Koch <konqueror@gmx.de>
7593 * java/util/Properties.java
7594 (load): Fix wrongly merged fix.
7596 2004-04-21 Mark Wielaard <mark@klomp.org>
7598 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7599 malloc and free buf.
7601 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7603 * javax/naming/AuthenticationException.java,
7604 javax/naming/AuthenticationNotSupportedException.java,
7605 javax/naming/CannotProceedException.java,
7606 javax/naming/CommunicationException.java,
7607 javax/naming/CompoundName.java,
7608 javax/naming/ConfigurationException.java,
7609 javax/naming/ContextNotEmptyException.java,
7610 javax/naming/InitialContext.java,
7611 javax/naming/InsufficientResourcesException.java,
7612 javax/naming/InterruptedNamingException.java,
7613 javax/naming/LimitExceededException.java,
7614 javax/naming/LinkException.java,
7615 javax/naming/LinkLoopException.java,
7616 javax/naming/LinkRef.java,
7617 javax/naming/MalformedLinkException.java,
7618 javax/naming/Name.java,
7619 javax/naming/NameAlreadyBoundException.java,
7620 javax/naming/NameNotFoundException.java,
7621 javax/naming/NamingSecurityException.java,
7622 javax/naming/NoInitialContextException.java,
7623 javax/naming/NoPermissionException.java,
7624 javax/naming/NotContextException.java,
7625 javax/naming/PartialResultException.java,
7626 javax/naming/ReferralException.java,
7627 javax/naming/ServiceUnavailableException.java,
7628 javax/naming/SizeLimitExceededException.java,
7629 javax/naming/TimeLimitExceededException.java,
7630 javax/naming/directory/Attribute.java,
7631 javax/naming/directory/Attributes.java,
7632 javax/naming/directory/SearchResult.java,
7633 javax/naming/event/NamingExceptionEvent.java,
7634 javax/naming/spi/ResolveResult.java:
7637 2004-04-21 Mark Wielaard <mark@klomp.org>
7639 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7640 Changed C++ comments into C comments. Removed commented out code.
7641 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7643 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7645 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7647 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7649 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7651 * native/jni/gtk-peer/gthread-jni.c:
7654 2004-04-21 Mark Wielaard <mark@klomp.org>
7656 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7657 static fields defined in interface.
7658 * javax/awt/JDialog.java: Likewise.
7659 (JDialog): Make constructors public.
7660 (getDefaultCloseOperation): Make public.
7661 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7662 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7663 * javax/swing/JViewport.java (JViewport): Make constructor public.
7665 2004-04-21 Michael Koch <konqueror@gmx.de>
7667 * java/util/Map.java
7668 (Entry): Removed redundant "static" modifier.
7669 * java/text/AttributedCharacterIterator.java:
7670 Updated copyright year.
7672 2004-04-20 Michael Koch <konqueror@gmx.de>
7674 * javax/naming/directory/SearchControls.java:
7675 Don't explicitely extend java.lang.Object.
7676 * javax/naming/spi/DirStateFactory.java:
7677 Merged copyright year with GNU classpath.
7679 2004-04-20 Michael Koch <konqueror@gmx.de>
7681 * java/nio/channels/Channels.java:
7682 Merged coding style with GNU classpath.
7684 2004-04-20 Michael Koch <konqueror@gmx.de>
7686 * java/net/ServerSocket.java
7687 Merged coding style from GNU classpath.
7689 2004-04-20 Michael Koch <konqueror@gmx.de>
7691 * java/io/BufferedWriter.java:
7692 Reordered variables to be at top of the class.
7693 (localFlush): Removed redundant final keyword.
7695 2004-04-20 Ingo Proetel <proetel@aicas.com>
7697 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7699 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7701 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7702 for percent and permill check.
7704 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7706 * java/text/FieldPosition.java
7707 (FieldPosition) Constructor now behaves as it should according
7708 to the java documentation.
7710 2004-04-20 Mark Wielaard <mark@klomp.org>
7712 * java/util/Properties.java: Use the word umlaut, not ä in api
7715 2004-04-20 Michael Koch <konqueror@gmx.de>
7717 * java/nio/Buffer.java,
7718 java/nio/channels/AlreadyConnectedException.java,
7719 java/nio/channels/AsynchronousCloseException.java,
7720 java/nio/channels/ByteChannel.java,
7721 java/nio/channels/CancelledKeyException.java,
7722 java/nio/channels/Channel.java,
7723 java/nio/channels/Channels.java,
7724 java/nio/channels/ClosedByInterruptException.java,
7725 java/nio/channels/ClosedChannelException.java,
7726 java/nio/channels/ClosedSelectorException.java,
7727 java/nio/channels/ConnectionPendingException.java,
7728 java/nio/channels/DatagramChannel.java,
7729 java/nio/channels/FileChannel.java,
7730 java/nio/channels/FileLock.java,
7731 java/nio/channels/FileLockInterruptionException.java,
7732 java/nio/channels/GatheringByteChannel.java,
7733 java/nio/channels/IllegalBlockingModeException.java,
7734 java/nio/channels/IllegalSelectorException.java,
7735 java/nio/channels/InterruptibleChannel.java,
7736 java/nio/channels/NoConnectionPendingException.java,
7737 java/nio/channels/NonReadableChannelException.java,
7738 java/nio/channels/NonWritableChannelException.java,
7739 java/nio/channels/NotYetBoundException.java,
7740 java/nio/channels/NotYetConnectedException.java,
7741 java/nio/channels/OverlappingFileLockException.java,
7742 java/nio/channels/Pipe.java,
7743 java/nio/channels/ReadableByteChannel.java,
7744 java/nio/channels/ScatteringByteChannel.java,
7745 java/nio/channels/SelectableChannel.java,
7746 java/nio/channels/SelectionKey.java,
7747 java/nio/channels/Selector.java,
7748 java/nio/channels/ServerSocketChannel.java,
7749 java/nio/channels/SocketChannel.java,
7750 java/nio/channels/UnresolvedAddressException.java,
7751 java/nio/channels/UnsupportedAddressTypeException.java,
7752 java/nio/channels/WritableByteChannel.java,
7753 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7754 java/nio/channels/spi/AbstractSelectableChannel.java,
7755 java/nio/channels/spi/AbstractSelectionKey.java,
7756 java/nio/channels/spi/AbstractSelector.java,
7757 java/nio/channels/spi/SelectorProvider.java,
7758 java/nio/charset/spi/CharsetProvider.java:
7759 Fixed javadocs and jalopied all over java.nio.
7761 2004-04-20 Michael Koch <konqueror@gmx.de>
7763 * java/nio/ByteBufferImpl.java,
7764 java/nio/CharBufferImpl.java,
7765 java/nio/DirectByteBufferImpl.java,
7766 java/nio/DoubleBufferImpl.java,
7767 java/nio/DoubleViewBufferImpl.java,
7768 java/nio/FloatBufferImpl.java,
7769 java/nio/FloatViewBufferImpl.java,
7770 java/nio/IntBufferImpl.java,
7771 java/nio/IntViewBufferImpl.java,
7772 java/nio/LongBufferImpl.java,
7773 java/nio/LongViewBufferImpl.java,
7774 java/nio/MappedByteBufferImpl.java,
7775 java/nio/ShortBufferImpl.java,
7776 java/nio/ShortViewBufferImpl.java:
7777 Made sure all classes are final and removed final keyword from all
7780 2004-04-20 Michael Koch <konqueror@gmx.de>
7782 * java/rmi/MarshalledObject.java,
7783 java/rmi/Naming.java,
7784 java/rmi/RemoteException.java,
7785 java/rmi/activation/ActivationException.java,
7786 java/rmi/server/ServerCloneException.java,
7787 java/security/AccessController.java,
7788 java/security/AlgorithmParameterGenerator.java,
7789 java/security/AlgorithmParameters.java,
7790 java/security/CodeSource.java,
7791 java/security/Identity.java,
7792 java/security/IdentityScope.java,
7793 java/security/KeyPairGenerator.java,
7794 java/security/KeyStore.java,
7795 java/security/Security.java,
7796 java/security/Signature.java,
7797 java/security/SignatureSpi.java,
7798 java/security/SignedObject.java,
7799 java/security/spec/DSAParameterSpec.java,
7800 java/security/spec/DSAPrivateKeySpec.java,
7801 java/security/spec/DSAPublicKeySpec.java,
7802 java/sql/Array.java,
7803 java/sql/DatabaseMetaData.java,
7804 java/sql/ResultSet.java,
7805 java/text/ChoiceFormat.java,
7806 java/text/CollationElementIterator.java,
7807 java/text/CollationKey.java,
7808 java/text/Collator.java,
7809 java/text/DateFormat.java,
7810 java/text/DateFormatSymbols.java,
7811 java/text/DecimalFormatSymbols.java,
7812 java/text/Format.java,
7813 java/text/ParsePosition.java,
7814 java/text/RuleBasedCollator.java,
7815 java/text/SimpleDateFormat.java,
7816 java/text/StringCharacterIterator.java,
7817 java/util/Collections.java,
7818 java/util/PropertyResourceBundle.java,
7819 java/util/ResourceBundle.java,
7820 java/util/StringTokenizer.java,
7821 java/util/jar/Attributes.java,
7822 java/util/logging/ConsoleHandler.java,
7823 java/util/logging/LogManager.java,
7824 java/util/logging/MemoryHandler.java,
7825 java/util/logging/SocketHandler.java,
7826 javax/naming/NamingException.java:
7827 Fixed javadoc, coding style and argument names all over.
7829 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7831 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7832 constructor. (valid) Added null check.
7834 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7836 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7837 * java/io/FileOutputStream.java
7838 (FileOutputStream) Reorganized constructors. Constructors now
7839 check whether the given path is directory.
7841 2004-04-20 Michael Koch <konqueror@gmx.de>
7843 * java/net/Authenticator.java,
7844 java/net/BindException.java,
7845 java/net/ConnectException.java,
7846 java/net/ContentHandler.java,
7847 java/net/ContentHandlerFactory.java,
7848 java/net/DatagramPacket.java,
7849 java/net/DatagramSocket.java,
7850 java/net/DatagramSocketImpl.java,
7851 java/net/DatagramSocketImplFactory.java,
7852 java/net/FileNameMap.java,
7853 java/net/HttpURLConnection.java,
7854 java/net/Inet4Address.java,
7855 java/net/Inet6Address.java,
7856 java/net/InetAddress.java,
7857 java/net/InetSocketAddress.java,
7858 java/net/JarURLConnection.java,
7859 java/net/MalformedURLException.java,
7860 java/net/MulticastSocket.java,
7861 java/net/NetPermission.java,
7862 java/net/NetworkInterface.java,
7863 java/net/NoRouteToHostException.java,
7864 java/net/PasswordAuthentication.java,
7865 java/net/PortUnreachableException.java,
7866 java/net/ProtocolException.java,
7867 java/net/ServerSocket.java,
7868 java/net/Socket.java,
7869 java/net/SocketAddress.java,
7870 java/net/SocketException.java,
7871 java/net/SocketImpl.java,
7872 java/net/SocketImplFactory.java,
7873 java/net/SocketOptions.java,
7874 java/net/SocketPermission.java,
7875 java/net/SocketTimeoutException.java,
7877 java/net/URISyntaxException.java,
7879 java/net/URLClassLoader.java,
7880 java/net/URLConnection.java,
7881 java/net/URLDecoder.java,
7882 java/net/URLEncoder.java,
7883 java/net/URLStreamHandler.java,
7884 java/net/URLStreamHandlerFactory.java,
7885 java/net/UnknownHostException.java,
7886 java/net/UnknownServiceException.java:
7887 Fixed javadocs, coding style and argument names all over.
7889 2004-04-20 Michael Koch <konqueror@gmx.de>
7891 * java/lang/Byte.java,
7892 java/lang/CharSequence.java,
7893 java/lang/ClassLoader.java,
7894 java/lang/Compiler.java,
7895 java/lang/Double.java,
7896 java/lang/Float.java,
7897 java/lang/Integer.java,
7898 java/lang/Long.java,
7899 java/lang/Math.java,
7900 java/lang/Number.java,
7901 java/lang/Package.java,
7902 java/lang/Runtime.java,
7903 java/lang/RuntimePermission.java,
7904 java/lang/SecurityManager.java,
7905 java/lang/Short.java,
7906 java/lang/StringBuffer.java,
7907 java/lang/System.java,
7908 java/lang/ThreadGroup.java,
7909 java/lang/Throwable.java,
7910 java/lang/reflect/InvocationHandler.java,
7911 java/lang/reflect/Proxy.java:
7912 Fixed javadocs, coding style and argument names all over.
7914 2004-04-20 Michael Koch <konqueror@gmx.de>
7916 * java/io/BufferedWriter.java,
7917 java/io/ByteArrayInputStream.java,
7918 java/io/CharArrayWriter.java,
7919 java/io/DataInput.java,
7920 java/io/DataInputStream.java,
7922 java/io/FilterInputStream.java,
7923 java/io/InputStream.java,
7924 java/io/InputStreamReader.java,
7925 java/io/ObjectInputStream.java,
7926 java/io/ObjectStreamClass.java,
7927 java/io/PipedInputStream.java,
7928 java/io/PipedReader.java,
7929 java/io/PushbackInputStream.java,
7930 java/io/PushbackReader.java,
7931 java/io/RandomAccessFile.java,
7932 java/io/SerializablePermission.java,
7933 java/io/StreamTokenizer.java,
7934 java/io/StringWriter.java,
7935 java/io/WriteAbortedException.java,
7936 java/io/Writer.java:
7937 Fixed javadocs all over, rename arguments to match javadocs,
7940 2004-04-20 Ingo Proetel <proetel@aicas.com>
7942 * java/awt/FontMetrics.java:
7943 (charsWidth): fixed accumulation of total_width
7944 (getWidth): simple default implementation
7945 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7946 in Rectangle constructor.
7947 * java/awt/image/Raster.java (toString): Added method.
7948 * java/awt/image/SampleModel.java (<init>): Added error cause
7949 information to thrown exception.
7950 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7952 (setDataElements): New method.
7953 (setPixels): New method.
7954 (toString): New method.
7956 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7958 * java/awt/image/ComponentColorModel.java
7959 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7960 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7961 Mauve tests on this method. Improved documentation.
7963 2004-04-20 Michael Koch <konqueror@gmx.de>
7965 * javax/swing/JLayeredPane.java,
7966 javax/swing/plaf/BorderUIResource.java,
7967 javax/swing/plaf/ComponentUI.java,
7968 javax/swing/undo/CompoundEdit.java,
7969 javax/swing/undo/StateEdit.java:
7970 Fixed HTML tags in javadocs all over.
7972 2004-04-20 Michael Koch <konqueror@gmx.de>
7974 * javax/print/attribute/EnumSyntax.java
7975 (getOffset): Made protected.
7976 * javax/print/attribute/HashAttributeSet.java
7977 (HashAttributeSet): Likewise.
7978 * javax/print/attribute/ResolutionSyntax.java
7979 (getFeedResolution): Fixed typo in exception name.
7980 (getCrossFeedResolution): Likewise.
7981 * javax/print/attribute/SetOfIntegerSyntax.java
7982 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7983 * javax/print/attribute/TextSyntax.java
7984 (TextSyntax): Handle locale correctly.
7985 (hashCode): Calc better hashcode value.
7986 (equals): Fixed @return tag.
7987 (toString): New method.
7989 2004-04-20 Michael Koch <konqueror@gmx.de>
7991 * gnu/java/nio/FileLockImpl.java
7992 (static): Removed, not needed anymore.
7993 * gnu/java/nio/channels/FileChannelImpl.java
7994 (FileChannelImpl): Made final.
7995 (mode): Made private.
7996 (READ, WRITE, APPEND): Made public.
7997 (EXCL, SYNC, DSYNC): Likewise.
7998 (static): Load native JNI library, when needed.
7999 (length): Unused, removed.
8000 (available): Made public.
8001 (implPosition): Throws IOException.
8003 (implTruncate): Likewise.
8007 2004-04-20 Michael Koch <konqueror@gmx.de>
8009 * java/awt/AWTPermission.java,
8010 java/awt/Component.java,
8011 java/awt/ComponentOrientation.java,,
8012 java/awt/Dialog.java,
8013 java/awt/FontMetrics.java,
8014 java/awt/Graphics.java,
8015 java/awt/datatransfer/DataFlavor.java,
8016 java/beans/Introspector.java,
8017 java/beans/PropertyEditor.java,
8018 java/beans/PropertyEditorManager.java,
8019 java/beans/beancontext/BeanContextServiceProvider.java:
8020 Fixed HTML tags in javadocs all over.
8022 2004-04-20 Mark Wielaard <mark@klomp.org>
8024 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
8025 MissingResourceException is thrown.
8026 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
8027 null when a MissingResourceException is thrown. Should never happen.
8029 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
8031 * java/awt/image/DataBufferShort.java,
8032 java/awt/image/DataBufferFloat.java,
8033 java/awt/image/DataBufferDouble.java,
8034 java/awt/image/PixelInterleavedSampleModel.java: New files.
8035 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
8036 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
8038 2004-04-20 Michael Koch <konqueror@gmx.de>
8040 * Makefile.am (java_source_files): Added
8041 java/awt/image/DataBufferDouble.java,
8042 java/awt/image/DataBufferFloat.java,
8043 java/awt/image/DataBufferShort.java and
8044 java/awt/image/PixelInterleavedSampleModel.java.
8045 * Makefile.in: Regenerated.
8047 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
8049 * gcj/cni.h (JvAllocObject): Remove these obsolete,
8050 undocumented CNI calls.
8051 * include/java-interp.h (_Jv_InterpClass): No longer
8052 extends java.lang.Class.
8053 * java/lang/Class.h (Class): Add new field `aux_info'.
8054 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
8055 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
8056 Use Class->aux_info instead.
8057 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
8058 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
8059 Use Class->aux_info instead.
8060 * java/io/natObjectInputStream.cc (allocateObject): Use
8062 * java/lang/natClass.cc (newInstance): Likewise.
8063 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
8064 * java/lang/natObject.cc (clone): Likewise.
8065 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
8066 * java/lang/natVMClassLoader.cc (defineClass): Don't use
8067 JvAllocObject. Allocate klass->aux_info here for interpreted
8070 2004-04-17 Mark Wielaard <mark@klomp.org>
8072 * javax/swing/JToggleButton.java (ToggleButtonModel):
8073 Make public static inner class.
8074 * javax/swing/JTabbedPane.java (setComponentAt):
8075 Call Page.setComponent().
8076 (SCROLL_TAB_LAYOUT): Make public, value is 1.
8077 (WRAP_TAB_LAYOUT): Make public, value is 0.
8078 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
8079 Make private static inner class.
8081 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
8083 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
8084 arguments to match new signature. Remove FIXME comments.
8086 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8088 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8090 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8093 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8095 * Makefile.am: Added new file.
8096 * Makefile.in: Regenerate.
8097 * javax/swing/ImageIcon.java:
8098 (ImageIcon(file)): set description of the icon
8100 * javax/swing/JCheckBoxMenuItem.java:
8101 Mostly Implemented. Work in progress.
8102 * javax/swing/JRadioButtonMenuItem.java:
8103 Reimplement constructors to use JToggleButtonModel.
8104 * javax/swing/plaf/basic/BasicIconFactory.java:
8105 (getCheckBoxMenuItemIcon): return check box
8107 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8108 paint menu item selected only when it is armed and
8111 2004-04-02 David Jee <djee@redhat.com>
8113 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8114 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8115 * java/awt/Component.java
8116 (add): Set the parent of the popup as this component.
8117 * java/awt/PopupMenu.java
8118 (addNotify): Create popup menu when peer is null.
8119 (show): Call addNotify() if peer is null.
8120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8121 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8122 argument for gtk_menu_popup() as zero. This causes the popup menu to
8123 respond to any mouse button.
8125 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8127 * Makefile.am: Added new file.
8128 * Makefile.in: Regenerate.
8129 * javax/swing/JRadioButtonMenuItem.java:
8131 * javax/swing/plaf/basic/BasicIconFactory.java:
8132 (getRadioButtonMenuItemIcon): Return
8134 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8135 (getPreferredSize): Add size of checkIcon if it
8137 (installDefaults): Don't initialize checkIcon.
8138 It's value will be set in subclasses.
8139 (uninstallDefaults): remove uninstallation of
8141 (paint): Moved code to paintMenuItem().
8142 (paintMenuItem): Implemented.
8143 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8144 UI delegate for JRadioButtonMenuItem.
8146 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8148 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8149 Corrected position of the accelerator.
8151 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8153 * Makefile.am: Added new file.
8154 * Makefile.in: Regenerate.
8155 * javax/swing/JMenuItem.java: Partly
8156 implemented. Work in progress
8157 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8158 Changed default value of acceleratorDelimiter.
8159 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8160 New class. Partly implemented.
8162 2004-03-26 Mark Wielaard <mark@klomp.org>
8164 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8165 (item_activate): Declare label before use.
8166 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8167 (gtkSetFont): Removed unused variable label.
8168 (addExposeFilter): Declare variables before use.
8169 (removeExposeFilter): Likewise.
8170 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8171 (ok_clicked): Declare str_fileName before use.
8173 2004-03-26 David Jee <djee@redhat.com>
8175 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8176 (addSeparator): Remove.
8177 * java/awt/Menu.java
8178 (separator): Remove static final MenuItem field.
8179 (separatorLabel): New static final String field.
8180 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8181 Use separatorLabel to denote that it is a separator.
8182 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8183 of reusing the static separator instance, because a MenuItem instance
8184 can't be added more than once without being cloned.
8185 * java/awt/peer/MenuPeer.java
8186 (addSeparator): Remove from interface.
8188 2004-03-26 David Jee <djee@redhat.com>
8190 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8191 (connectSignals): New native method declaration.
8192 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8193 * java/awt/MenuItem.java
8194 (getActionCommand): Return the label if the action command is not set.
8195 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8196 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8197 gtk_menu_shell_append().
8198 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8199 (item_activate): Fix argument type.
8200 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8202 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8204 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8205 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8206 given. Add the menu widget's top-level GtkWindow to the global window
8207 group, so it can grab the pointer.
8208 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8209 gtk_menu_shell_append().
8211 2004-03-23 Graydon Hoare <graydon@redhat.com>
8213 * java/text/AttributedString.java
8214 (addAttribute): Fix off-by-one.
8215 (getIterator): Likewise.
8216 * java/text/AttributedStringIterator.java
8217 (getRunLimit): Correct logic.
8218 (getRunStart): Likewise.
8219 (getAttribute): Fix inequality.
8220 (getAttributes): Likewise.
8221 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8223 2004-03-23 Kim Ho <kho@redhat.com>
8225 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8226 (calculateSizes): Return real width and height.
8228 2004-03-23 Kim Ho <kho@redhat.com>
8230 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8231 (calculateTabRects): Set the selectedRun before
8232 trying to rotate tabs.
8234 2004-03-23 Kim Ho <kho@redhat.com>
8236 * Makefile.am: New file
8237 * Makefile.in: Regenerate
8238 * java/awt/Graphics.java: (drawRect):
8239 Draw to the correct point.
8240 * javax/swing/DefaultSingleSelectionModel.java
8241 (isSelected): Return true if the selected index
8243 * javax/swing/JLabel.java: Do not change mnemonic
8244 index if text is null.
8245 * javax/swing/JProgressBar.java: Use JComponent's
8247 * javax/swing/JScrollBar.java: Ditto.
8248 * javax/swing/JSlider.java: Ditto.
8249 * javax/swing/JTabbedPane.java: Reimplement.
8250 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8251 Add defaults for TabbedPane.
8252 * javax/swing/plaf/basic/BasicArrowButton.java:
8254 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8255 (paintDeterminate): Don't paint String if it's
8257 (paintIndeterminate): ditto.
8258 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8261 2004-03-19 Michael Koch <konqueror@gmx.de>
8263 * java/awt/image/AffineTransformOp.java
8264 (AffineTransformOp): Made public.
8265 * javax/swing/JComponent.java
8266 (listenerList): Made protected.
8267 (accessibleContext): Likewise.
8268 * javax/swing/JList.java
8269 (valueChanged): Dont use internal fields of ListSelectionEvent.
8270 * javax/swing/JViewport.java
8271 (getView): Dont use internal fields of Component.
8272 (addImpl): Likewise.
8273 * javax/swing/Timer.java
8274 (isRunning): Made public.
8277 * javax/swing/UIDefaults.java
8278 (getInt): Made public.
8279 * javax/swing/plaf/basic/BasicListUI.java
8280 (mousePressed): Dont use internal fields of MouseEvent.
8281 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8282 * javax/swing/plaf/basic/BasicScrollBarUI.java
8283 (arrowIcon): Made static.
8284 * javax/swing/plaf/basic/BasicViewportUI.java
8285 (stateChanged): Dont use internal field on ChangeEvent.
8286 * javax/swing/text/JTextComponent.java
8287 (getUI): Call UIManager.getUI().
8288 (updateUI): Use getUI().
8290 2004-03-19 Graydon Hoare <graydon@redhat.com>
8292 * javax/swing/JComponent.java: Turn off double buffer by default.
8293 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8295 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8296 Use cairo to copy areas.
8297 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8298 Initialize and set clip region.
8300 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8302 * java/applet/Applet.java (preferredSize): Override deprecated
8303 variant of getPreferredSize.
8304 (minimumSize): Override deprecated variant of getMinimumSize.
8306 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8308 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8309 (drawImage(img,xform,bgcolor,obs)): New Method.
8310 Helper function that every drawImage method will
8312 (drawRaster): Added new parameter, bgcolor. All
8313 transparent pixels are changed to bgcolor before
8315 (drawRenderedImage): Fixed to use changed drawRaster().
8316 (drawImage(image,xform,obs): Fixed to use new helper function
8317 (drawImage(image,op,x,y)): Ditto.
8318 (drawImage (img,x,y,observer)): Ditto.
8319 ((PainterThread) bgcolor): New Field.
8320 ((PainterThread) (setPixels)): Changed all transparent pixels
8322 (drawImage(img,x,y,width,height,bgcolor,observer)):
8323 Fixed FIXME - all the transparent pixels are
8324 changed to the specified bgcolor.
8325 (drawImage(img, x, y, width, height, observer): Changed to
8327 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8328 Fixed FIXME- changed all transparent pixels to bgcolor.
8329 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8330 Changed to use function above.
8332 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8334 * java/applet/Applet.java (dimensions): New field.
8335 (getDimensions): New method.
8336 (getPreferredSize): Call getDimensions.
8337 (getMinimumSize): Likewise.
8339 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8341 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8342 * jni/classpath/jnilink.c: Likewise.
8344 * java/applet/Applet.java (getPreferredSize): New method.
8345 (getMinimumSize): New method.
8347 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8349 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8350 (_Jv_AllocObjectNoFinalizer): Likewise.
8351 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8352 (_Jv_AllocPtrFreeObject): Likewise.
8353 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8354 directly even in the JVMPI case.
8355 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8356 _Jv_AllocObject calls.
8357 * gcj/javaprims.h: Update prototypes.
8358 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8359 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8360 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8362 2004-04-14 Andrew Haley <aph@redhat.com>
8363 Bryce McKinlay <mckinlay@redhat.com>
8365 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8366 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8367 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8369 * testsuite/libjava.lang/InvokeInterface.java: New file.
8370 * testsuite/libjava.lang/InvokeInterface.out: New file.
8372 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8374 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8376 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8377 StackTraceElement directly.
8378 (newElement): New native helper method to create StackTraceElement
8379 bypassing Java access control.
8380 (createStackTraceElement): Use newElement() instead of directly
8381 calling StackTraceElement's constructor.
8382 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8384 2004-04-01 Michael Koch <konqueror@gmx.de>
8386 * java/lang/SecurityManager.java
8387 (checkAwtEventQueueAccess): Implemented.
8389 2004-04-01 Gary Benson <gbenson@redhat.com>
8391 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8392 (_Jv_SearchMethodInClass): Likewise.
8394 2004-03-26 Peter Moon <peterm@miraculum.com>
8396 * java/text/NumberFormat.java: Fix spelling of setCurrency
8399 2004-03-21 Anthony Green <green@redhat.com>
8401 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8402 recursion when searching for the system ClassLoader.
8404 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8406 * java/net/ServerSocket.java
8407 (accept): Close the socket when error occured.
8409 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8411 * java/net/URI.java (parseURI): Added unquoting.
8412 (unquote): New method.
8413 (quoteAuthority): Implemented.
8414 (quote(String,String)): New method.
8415 (quotePath): Implemented.
8416 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8417 (getSchemeSpecificPart): Removed FIXME comment.
8418 (getRawAuthority): Return new rawAuthority field.
8419 (getAuthority): Removed FIXME comment.
8420 (getRawUserInfo): Return new rawUserInfo field.
8421 (getUserInfo): Removed FIXME comment.
8422 (getRawPath): Return new rawPath field.
8423 (getPath): Removed FIXME comment.
8424 (getRawQuery): Return new rawQuery field.
8425 (getQuery): Removed FIXME comment.
8426 (getRawFragment): Return new rawFragment field.
8427 (getFragment): Removed FIXME comment.
8429 2004-03-20 Michael Koch <konqueror@gmx.de>
8431 * java/net/URLConnection.java: Merged copyright year with classpath.
8433 2004-03-20 Norbert Frese <postfach@nfrese.net>
8435 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8436 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8437 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8439 (getObjectInputStream): Return object reference, throw IOException if null.
8440 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8441 (getObjectOutputStream): Return object reference, throw IOException if null.
8442 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8443 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8444 (UnicastConnectionManager): Throw RemoteException if port is not available.
8445 (getInstance): Throw RemoteException.
8446 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8447 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8448 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8449 Collect Exceptions which are returned by a rmi-call and fix void returns.
8450 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8451 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8452 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8453 (dispatch): Answer ping messages which are sent by other java implementions.
8454 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8455 for every rmi-message and fix void return problems.
8456 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8457 (UnicastServerRef): Throw RemoteException.
8458 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8459 In some situations it is necessary to export a subclass of the class which has the _Stub.
8460 For instance when the class with has the _Stub is abstract.
8461 (findStubSkelClass): New method which looks for the class which has the _Stub.
8462 (getClientHost): Implementated.
8463 * gcc/libjava/java/rmi/server/RemoteServer.java
8464 (getClientHost): Implementated.
8465 * gcc/libjava/Makefile.am (rmi_java_source_files):
8466 Added gnu/java/rmi/server/RMIIncomingThread.java.
8467 * Makefile.in: Regenerated.
8469 2004-03-20 Michael Koch <konqueror@gmx.de>
8471 * java/net/InetAddress.java
8472 (getLocalHostname): Added javadoc.
8474 2004-03-19 Per Bothner <per@bothner.com>
8476 * configure.in: FILE variable overrides FLATFORM when linking
8477 natFileChannelXXX.cc.
8479 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8480 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8482 2004-03-19 Per Bothner <per@bothner.com>
8484 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8485 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8486 * Makefile.am: Update accordingly.
8487 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8488 as aliases for UnicodeLittle and UnicodeBig.
8490 2004-03-20 Mark Wielaard <mark@klomp.org>
8492 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8493 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8494 Don't access ws when it is null.
8495 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8498 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8500 * java/lang/ThreadGroup.java (list): Changed print to println.
8502 2004-03-19 Mark Wielaard <mark@klomp.org>
8504 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
8507 2004-02-10 Randolph Chung <tausq@debian.org>
8509 * configure.in: Build java for hppa target.
8510 * configure: Regenerate.
8511 * libjava/configure.host (hppa-*): Add target.
8512 * libjava/sysdeps/pa/lock.h: New file.
8514 2004-03-19 Mark Wielaard <mark@klomp.org>
8516 Reported by Stephen Crawley
8517 * java/io/FilePermission.java (implies): Use String.length() -1 to
8518 access last char of String.
8520 2004-03-19 Michael Koch <konqueror@gmx.de>
8522 * java/awt/image/AffineTransformOp.java
8523 (AffineTransformOp): Made public.
8524 * javax/swing/JComponent.java
8525 (listenerList): Made protected.
8526 (accessibleContext): Likewise.
8527 * javax/swing/JList.java
8528 (valueChanged): Dont use internal fields of ListSelectionEvent.
8529 * javax/swing/JViewport.java
8530 (getView): Dont use internal fields of Component.
8531 (addImpl): Likewise.
8532 * javax/swing/Timer.java
8533 (isRunning): Made public.
8536 * javax/swing/UIDefaults.java
8537 (getInt): Made public.
8538 * javax/swing/plaf/basic/BasicListUI.java
8539 (mousePressed): Dont use internal fields of MouseEvent.
8540 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8541 * javax/swing/plaf/basic/BasicScrollBarUI.java
8542 (arrowIcon): Made static.
8543 * javax/swing/plaf/basic/BasicViewportUI.java
8544 (stateChanged): Dont use internal field on ChangeEvent.
8545 * javax/swing/text/JTextComponent.java
8546 (getUI): Call UIManager.getUI().
8547 (updateUI): Use getUI().
8549 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8551 * verify.cc: Undef PC.
8553 2004-03-18 Michael Koch <konqueror@gmx.de>
8555 * java/nio/channels/spi/AbstractSelectableChannel.java
8556 (keys): Initialize at declaration.
8557 (locate): keys cant be null.
8559 (addSelectionKey): New method.
8560 (removeSelectionKey): New method.
8561 * java/nio/channels/spi/AbstractSelectionKey.java
8562 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8563 * java/nio/channels/spi/AbstractSelector.java
8564 (provider): Javadoc added.
8565 (cancelledKeys): Javadoc added.
8566 (cancelKey): Javadoc added, add key to cancelledKeys.
8567 (deregister): Implemented.
8569 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8571 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8572 MAP_FAILED to void *.
8574 2004-03-12 Graydon Hoare <graydon@redhat.com>
8576 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8577 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8578 * javax/swing/JList.java (ListListener): Revalidate on changes.
8579 * javax/swing/JScrollPane.java: Reimplement.
8580 * javax/swing/JViewport.java: Reimplement.
8581 * javax/swing/ScrollPaneLayout.java: Reimplement.
8582 * javax/swing/ViewportLayout.java: Tidy up.
8583 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8584 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8585 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8586 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8589 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8592 (window_wm_protocols_filter): New function.
8593 (window_focus_in_cb): Remove function.
8594 (window_focus_out_cb): Likewise.
8595 (window_focus_or_active_state_change_cb): New function.
8596 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8597 (connectSignals): Don't attach handlers to focus-in-event or
8598 focus-out-event signals. Handle notify signal.
8600 2004-03-11 David Jee <djee@redhat.com>
8602 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8603 (gtkSetLabel): New native method declaration.
8604 (setLabel): Use gtkSetLabel.
8605 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8606 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8608 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8610 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8611 black when color argument is null.
8613 2004-03-10 Kim Ho <kho@redhat.com>
8615 * java/awt/Container.java: Remove check
8618 2004-03-10 Kim Ho <kho@redhat.com>
8620 * java/awt/Container.java: (visitChild):
8621 Remove candidate clip. Use the component
8623 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8624 (handleEvent): Use the PaintEvent's clip.
8626 2004-03-10 Kim Ho <kho@redhat.com>
8628 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8629 (handleEvent): Don't set the clip for the
8632 2004-03-09 Graydon Hoare <graydon@redhat.com>
8634 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8635 Fix double <-> fixed macros, reset font transform.
8636 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8639 2004-03-09Â Kim Ho <kho@redhat.com>
8641 * java/awt/Container.java: (visitChild): Move
8642 the x and y coordinate of the component rectangle
8643 to correct position.
8644 (handleEvent): Forward drag events to the pressed
8646 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8648 (ArrowButtonListener::mousePressed): Stop the
8650 (mouseDragged): Implement.
8651 (TrackListener::mousePressed): Only react if
8652 the press doesn't occur on the thumb, otherwise
8653 just set the offset.
8654 (TrackListener::mouseReleased): Unset the isAdjusting
8656 (createIncreaseIcon): Switch icon.
8657 (createDecreaseIcon): Switch icon.
8658 (calculatePreferredSize): Use width.
8659 (getThumbBounds): Use the top as the lower value.
8660 (layoutVScrollBar): Switch the button locations.
8661 (paintIncreaseHighlight): Paint correct side of thumb.
8662 (paintDecreaseHighlight): ditto.
8663 (valueForYPosition): Use top as the lower value.
8664 * javax/swing/plaf/basic/BasicSliderUI.java:
8666 (mouseDragged): Implement.
8667 (mousePressed): Only react when the thumb isn't
8668 pressed, otherwise just set offset.
8669 (mouseReleased): Handle a release of the thumb.
8670 (scrollDueToClickInTrack): Stop the timer first.
8671 * javax/swing/JProgressBar.java:
8672 (setString): Fix change condition.
8673 * javax/swing/JSeparator.java:
8676 2004-03-08 David Jee <djee@redhat.com>
8678 * java/awt/image/AffineTransformOp.java:
8679 (filter): Use Graphics2D interface instead of directly using the
8682 2004-03-05 David Jee <djee@redhat.com>
8684 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8685 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8686 * java/awt/Container.java
8687 (acquireComponentForMouseEvent): Fixed.
8688 (handleEvent): Fixed.
8689 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8690 (state_to_awt_mods_with_button_states): New method.
8691 (pre_event_handler): Fixed mouse event generation.
8693 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8695 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8696 (GdkGraphics2D (BufferedImage)): Initialize
8697 pixmap associated with specified BufferedImage.
8698 (setPaint): Changed implementation of Texture
8699 Paint to use AffineTransformOp.
8700 * java/awt/image/AffineTransformOp.java
8701 (createCompatibleDestRaster): Throw RasterFormatException
8702 if resulting width or height of raster is 0.
8704 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8706 * java/awt/image/AffineTransformOp.java:
8707 Removed unnecessary field interpolationType.
8708 Formatted some of the lines to be consistent with
8710 (AffineTransformOp): Create new RenderingHints
8711 containing specified interpolation type.
8712 (createCompatibleDestImage): Implemented.
8713 (createCompatibleDestRaster): Implemented.
8714 (filter): Implemented.
8715 (getBounds2D(BufferedImage)): Implemented.
8716 (getBounds2D(Raster)): Implemented.
8717 (getInterpolationType): Get interpolation value from
8720 2004-03-04 David Jee <djee@redhat.com>
8722 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8723 (setFont): Check if child peers are null.
8725 2004-03-04 Graydon Hoare <graydon@redhat.com>
8727 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8729 (libjava_arguments): Add new libraries to argument list.
8731 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8733 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8734 * Makefile.in: Re-generated.
8735 * java/awt/image/AffineTransformOp.java: New Class.
8737 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8739 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8740 (setPaint): Interpret correctly TexturePaint's
8742 (drawImage): Fixed scale factors of the affine
8745 2004-02-27 David Jee <djee@redhat.com>
8747 * gnu/java/awt/peer/gtk/GdkGraphics.java
8748 (GdkGraphics(Component)): Inherit font from component.
8749 (drawString): Use font style.
8750 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8751 (gtkSetFont): New native method declaration.
8752 (setFont): New method.
8753 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8754 (gtkSetFont): New native method declaration.
8755 (setFont): Call new native method gtkSetFont.
8756 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8757 (setFont): For all child components who do not their fonts set,
8758 set their peers' fonts with this container's font.
8759 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8760 Move all native method declarations to the top for readability.
8761 (gtkSetFont): New native method declaration.
8762 (setFont): New method.
8763 * java/awt/Component.java
8764 (setFont): Invalidate after setting the font.
8765 * java/awt/Container.java
8766 (invalidateTree): New method.
8767 (setFont): Invalidate the container tree after setting the font.
8768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8769 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8770 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8771 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8772 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8773 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8774 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8775 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8777 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8779 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8780 (updateBufferedImage): New helper function.
8781 Updates BufferedImage in memory if it was changed.
8782 (draw): changed to update BufferedImage in memory after
8783 this drawing operation
8785 (draw3DRect): Ditto.
8786 (fill3DRect): Ditto.
8788 (drawRaster): Ditto.
8789 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8790 no affine transformation.
8791 (drawGlyphVector): Ditto.
8793 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8795 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8796 (isBufferedImageGraphics): New Helper function.
8797 Returns true if this graphics2d can be used to draw
8798 into buffered image and false otherwise.
8799 (updateImagePixels): New Helper function.
8800 Updates pixels in the BufferedImage.
8801 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8802 (getImagePixels): New function. Returns pixels
8803 of the buffered image associated with
8806 2004-02-26 David Jee <djee@redhat.com>
8808 * java/awt/BorderLayout.java
8809 (layoutContainer): Fix width and height calculations to ensure
8810 that they're non-negative.
8811 * java/awt/Component.java
8812 (setBackground): If c is null, inherit from closest ancestor whose
8813 background color is set.
8815 2004-02-26 Kim Ho <kho@redhat.com>
8817 * Makefile.am: Add new files.
8818 * Makefile.in: Re-generate.
8819 * javax/swing/JProgressBar.java:
8820 (JProgressBar(int, int int)): Throw
8821 IllegalArgumentException if orientation is
8823 (JProgressBar(BoundedRangeModel)): Create
8824 ChangeListener and register it. UpdateUI.
8825 (getChangeListeners): Implement.
8826 (setModel): Reset ChangeListener.
8827 * javax/swing/JScrollBar.java: Implement.
8828 * javax/swing/JSeparator.java: Implement.
8829 * javax/swing/JSlider.java:
8830 (JSlider(int, int, int, int)): Throw
8831 IllegalArgumentException if orientation
8833 (getChangeListeners): Fix method name.
8834 * javax/swing/SwingUtilities.java:
8835 (layoutCompoundLabel): If there is no text,
8836 set the text rectangle dimensions to 0.
8837 * javax/swing/plaf/basic/BasicButtonUI.java:
8838 (paint): If there is no text, don't paint it.
8839 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8841 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8843 * javax/swing/plaf/basic/BasicSliderUI.java:
8844 (propertyChange): If the model changes, change
8845 the listeners accordingly.
8847 2004-02-25 Graydon Hoare <graydon@redhat.com>
8849 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8850 * javax/swing/JList.java: Reimplement.
8851 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8852 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8853 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8854 * javax/swing/ListModel.java: Javadoc.
8855 * javax/swing/ListSelectionModel.java: Add missing methods.
8856 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8857 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8858 * javax/swing/ListModel.java: Javadoc and corrections.
8859 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8861 2004-02-25 David Jee <djee@redhat.com>
8863 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8864 (GtkFontPeer): Change default size to 12.
8865 * gnu/java/awt/peer/gtk/GtkToolkit.java
8866 (getFontPeer): Change default size to 12.
8867 (getClasspathFontPeer): Likewise. Set default name to "Default".
8868 * java/awt/Font.java
8869 (Font(Map)): Call Font(String,Map).
8870 (Font(String,Map)): If attrs is null, initialize it as an empty
8871 HashMap, which will ensure that the Font will get default attributes.
8873 2004-02-25 David Jee <djee@redhat.com>
8875 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8876 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8877 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8878 * gnu/java/awt/peer/gtk/GtkToolkit.java
8879 (getFontPeer(String,int)): Call the new overload method with size 1.
8880 (getFontPeer(String,int,int)): New method. Overloaded with size
8882 (getClasspathFontPeer): Set the size of the font.
8884 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8886 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8887 (bimage): New field.
8888 (GdkGraphics2D): New Constructor. Constructs Graphics
8889 object that can be used to draw into the Buffered Image.
8890 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8891 (GdkGraphicsEnvironment): Fixed to include public
8893 (createGraphics): Implemented.
8894 * gnu/java/awt/peer/gtk/GtkToolkit.java
8895 (getLocalGraphicsEnvironment): Implemented.
8896 * java/awt/GraphicsEnvironment.java:
8897 (getLocalGraphicsEnvironment): Implemented.
8898 * java/awt/image/BufferedImage.java:
8899 (createGraphics): Implemented.
8901 2004-02-24 David Jee <djee@redhat.com>
8903 * java/awt/Component.java
8904 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8905 * java/awt/Container.java
8906 (addNotifyContainerChildren): Fix event enabling.
8908 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8910 * Makefile.am: Added
8911 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8912 * Makefile.in: Re-generated.
8913 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8916 2004-02-19 Kim Ho <kho@redhat.com>
8918 * Makefile.am: Add BasicProgressBarUI
8919 * Makefile.in: Regenerate.
8920 * javax/swing/JProgressBar.java:
8922 * javax/swing/plaf/basic/BasicLookAndFeel.java
8923 Add constants for JProgressBar.
8924 * javax/swing/plaf/basic/BasicProgressBarUI.java
8926 * javax/swing/plaf/basic/BasicSliderUI.java
8928 (calculateGeometry): New method
8929 (paint): Remove unnecessary size calculations.
8931 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8933 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8934 (drawRaster): Fixed small error that caused
8935 imageToUser transformation to be set incorrectly.
8936 (toString): Implemented.
8938 2004-02-18 David Jee <djee@redhat.com>
8940 * java/awt/CardLayout.java
8941 (addLayoutComponent): Show the first component added as the default.
8942 (removeLayoutComponent): After removing, show the next component.
8943 (gotoComponent): If there is only one component, show it and return.
8945 2004-02-18 Kim Ho <kho@redhat.com>
8947 * javax/swing/JSlider.java: Re-order
8949 * javax/swing/JLabel.java: Re-order
8951 * javax/swing/JComponent.java:
8952 (addPropertyChangeListener):
8954 (removePropertyChangeListener):
8956 (firePropertyChangeEvent):
8959 2004-02-17 David Jee <djee@redhat.com>
8961 * java/awt/Component.java
8962 (show): Dispatch ComponentEvent via system event queue.
8966 (reshape): Likewise.
8967 * java/awt/Window.java
8968 (setBoundsCallback): Likewise.
8970 2004-02-17 David Jee <djee@redhat.com>
8972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8973 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8974 Use gtk_widget_set_size_request() instead of the deprecated
8975 gtk_widget_set_usize().
8977 2004-02-17 Kim Ho <kho@redhat.com>
8979 * javax/swing/JSlider.java: Fix comments and
8980 make property strings constants.
8981 (createStandardLabels): Use the labels
8982 preferred size as bounds.
8983 * javax/swing/plaf/basic/BasicSliderUI.java
8985 (ScrollHandler::actionPerformed): Don't
8986 calculate the timer stop value. Let the
8987 MouseListeners find the stop location.
8988 (getPreferredHorizontalSize): Re-implement.
8989 (getPreferredVerticalSize): ditto.
8990 (getMinimumHorizontalSize): ditto.
8991 (getMinimumVerticalSize): ditto.
8992 (getPreferredSize): ditto.
8993 (getMinimumSize): ditto.
8994 (getMaximumSize): ditto.
8995 (paintTicks): Use doubles to find the
8997 (paintHorizontalLabel):Â Use preferredSize
8998 as initial width and height.
8999 (paintVerticalLabel): ditto.
9001 2004-02-17 Kim Ho <kho@redhat.com>
9003 * javax/swing/JLabel.java: Changed
9004 property strings to constants.
9005 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
9007 (setText): Change mnemonic index if
9009 (setDisplayedMnemonicIndex): Fire property
9011 (getDisplayedMnemonicIndex): Remove check
9014 2004-02-17 Olga Rodimina <rodimina@redhat.com>
9016 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9017 (drawImage(img,xform,obs)): Invert xform before
9018 passing the xform to cairo.
9019 (drawImage(img,x,y,bgcolor,obs)): Implemented.
9020 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
9022 (drawImage (img,x,y,w,h,obs)): Implemented.
9023 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
9024 bgcolor,obs)): Partly implemented.
9025 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
9027 * java/awt/image/BufferedImage.java:
9028 (copyData): if dest is null, create raster with same
9029 dimensions as the current image.
9031 2004-02-16 Graydon Hoare <graydon@redhat.com>
9033 * javax/swing/plaf/basic/BasicLabelUI.java
9034 (getPreferredSize): Use layoutCL.
9035 * javax/swing/plaf/basic/BasicGraphicsUtils.java
9036 (getPreferredButtonSize): Start with empty view rect, layout using
9037 component's preferred alignment.
9038 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
9041 2004-02-16 David Jee <djee@redhat.com>
9043 * java/awt/Component.java
9044 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
9045 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
9046 (move): Erase old bounds and repaint new bounds. Dispatch
9047 COMPONENT_MOVED ComponentEvent.
9048 (resize): Erase old bounds and repaint new bounds. Dispatch
9049 COMPONENT_RESIZED ComponentEvent.
9050 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9052 * java/awt/Window.java
9053 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
9056 2004-02-16 Olga Rodimina <rodimina@redhat.com>
9058 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
9059 (setRenderingHint): Added implementation of
9060 Interpolation rendering hints.
9061 (setRenderingHints): Ditto.
9062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
9063 (drawPixels): fixed to allow user to choose type
9064 of filtering that should be used when displaying images.
9065 (cairoSurfaceSetFilter): New method. Sets filter type for
9066 interpolation of pixel values.
9068 2004-02-16 David Jee <djee@redhat.com>
9070 * java/awt/GridBagLayout.java
9071 (calcCellSizes): Rows or columns with zero sizes should still be
9072 considered for extra space distribution.
9074 2004-02-16 Kim Ho <kho@redhat.com>
9076 * javax/swing/JLabel.java: Re-implement.
9077 * javax/swing/plaf/basic/BasicLabelUI.java
9079 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9082 2004-02-16 Kim Ho <kho@redhat.com>
9084 * javax/swing/JSlider.java: Fix indentation and comments.
9085 (setModel): Remove null check to conform with Sun's.
9086 (setOrientation): Throw exception if not
9087 HORIZONTAL or VERTICAL.
9088 (getInverted): Use private variable instead of
9089 ComponentOrientation.
9090 (setInverted): ditto.
9091 * javax/swing/plaf/basic/BasicSliderUI.java:
9092 Fix indentation and comments.
9093 (propertyChange): Remove check for inverted slider, handle
9095 (getMinimumSize): Return preferred size.
9096 (getMaximumSize): ditto.
9097 (calculateFocusRect): Don't relocate rectangle.
9098 (drawInverted): Return XOR of the slider's inversion and
9099 the component's orientation.
9100 (paint): Update leftToRightCache
9102 2004-02-13 David Jee <djee@redhat.com>
9104 * java/awt/GridBagLayout.java
9105 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9106 code to helper methods.
9107 (sortBySpan): New helper method.
9108 (distributeSizeAndWeight): Likewise.
9109 (calcCellWeights): Likewise.
9110 (calcCellSizes): Add comments.
9112 2004-02-13 David Jee <djee@redhat.com>
9114 * java/awt/Component.java
9115 (show): Only do something if component is invisible at the moment.
9116 (hide): Only do something if component is visible at the moment.
9117 (reshape): If lightweight, erase old bounds and repaint new bounds.
9119 2004-02-13 Kim Ho <kho@redhat.com>
9121 * Makefile.am: Updated for new file.
9122 * Makefile.in: Regenerated.
9123 * javax/swing/JSlider.java: Reimplement.
9124 * javax/swing/SwingUtilities.java
9125 (layoutCompoundLabel): Use icon height
9127 (paintComponent): Implement.
9128 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9129 Add JSlider defaults.
9130 * javax/swing/plaf/basic/BasicSliderUI.java:
9131 Implement. New file.
9133 2004-03-17 Michael Koch <konqueror@gmx.de>
9135 * gnu/java/net/PlainDatagramSocketImpl.java
9136 (RECEIVE_LOCK): New member field.
9137 (SEND_LOCK): New member field.
9138 (send0): New method.
9139 (send): Synchronize on SEND_LOCK.
9140 (receive0): New method.
9141 (receive): Synchronize on RECEIVE_LOCK.
9142 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9143 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9144 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9145 (send0): Renamed from send.
9146 (receive0): Renamed from receive.
9147 2004-03-17 Michael Koch <konqueror@gmx.de>
9149 * gnu/java/net/natPlainSocketImplPosix.cc
9150 (write): Just call write(jbyteArray, offset, len).
9151 (read): Just call read(jbyteArray, offset, len).
9153 2004-03-16 Michael Koch <konqueror@gmx.de>
9155 * javax/swing/JTabbedPane.java
9156 (serialVersionUID): New field.
9158 2004-03-16 Norbert Frese <postfach@nfrese.net>
9160 * java/net/InetAddress.java
9161 (getByName): Handle hostname == "" case.
9163 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9165 Reported by: Adam Heath <doogie@debian.org>
9166 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9169 2004-03-15 Michael Koch <konqueror@gmx.de>
9171 * java/util/Locale.java: Reverting my last patch
9172 and add a comment why the original version was okay.
9174 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9176 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9177 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9178 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9179 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9181 2004-03-12 Michael Koch <konqueror@gmx.de>
9183 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9185 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9187 * java/net/URI.java (toURL): Implemented.
9189 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9192 (URI_REGEXP) updated to contain scheme specific part.
9193 (SCHEME_SPEC_PART_GROUP) new constant.
9194 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9195 updated to make room for SCHEME_SPEC_PART_GROUP.
9196 (parseURI) parse scheme specific part.
9197 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9198 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9199 getQuery, getFragment) implemented.
9201 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9203 * libraries/javalib/java/net/URI.java
9204 partially implemented using java.util.regex.
9205 (URI_REGEXP) new constant. Used to parse URIs.
9206 (SCHEME_GROUP) new constant representing index of scheme group
9208 (AUTHORITY_GROUP) new constant representing index of authority
9209 group in parsed URI.
9210 (PATH_GROUP) new constant representing index of path group in
9212 (QUERY_GROUP) new constant representing index of query group in
9214 (FRAGMENT_GROUP) new constant representing index of fragment
9215 group in parsed URI.
9216 (getURIGroup) new static utility method.
9217 (parseURI) implemented.
9218 (quote) stub for new static utility method.
9219 (quoteAuthority) stub for new static utility method.
9220 (quoteHost) stub for new static utility method.
9221 (quotePath) stub for new static utility method.
9222 (quoteUserInfo) stub for new static utility method.
9224 (create) don't throw URISyntaxException. Implemented.
9225 (toString) implemented.
9227 2004-03-12 Michael Koch <konqueror@gmx.de>
9229 * java/net/HttpURLConnection.java
9230 (getResponseCode): Fix another typo in javadoc.
9232 2004-03-11 Michael Koch <konqueror@gmx.de>
9234 * java/util/logging/Level.java
9235 (parse): Use String.equals() instead of ==.
9237 2004-03-11 Michael Koch <konqueror@gmx.de>
9239 * gnu/java/net/protocol/jar/Connection.java
9240 (getContentLength): New method.
9242 2004-03-11 Michael Koch <konqueror@gmx.de>
9244 * gnu/java/net/PlainSocketImpl.java:
9245 Reformated to merge better with classpath's version.
9247 2004-03-11 Michael Koch <konqueror@gmx.de>
9249 * java/util/Locale.java
9250 (getISO3Language): Use String.equals() instead of ==.
9251 (getISO3Country): Likewise.
9253 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9255 * java/text/AttributedString.java
9256 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9257 Use HashMap instead of Hashtable since value can be null, and
9258 you can not store a null value in a Hashtable.
9260 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9262 * java/text/AttributedStringIterator.java
9263 (getAllAttributesKey): Return only keys concerned
9264 by the current iterator.
9265 (getAttributes): Use strict inequality for
9268 2004-03-11 Michael Koch <konqueror@gmx.de>
9270 * java/net/HttpURLConnection.java:
9271 Fixed typo in javadoc.
9273 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9275 * java/io/BufferedInputStream.java (marktarget): New field for max
9277 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9278 (mark): Use new fields.
9280 (read(byte[],int,int)): Likewise.
9284 2004-03-11 Mark Wielaard <mark@klomp.org>
9286 * java/beans/BeanDescriptor.java (BeanDescriptor):
9287 Set the FeatureDescriptor programmatic name.
9289 2004-03-11 Michael Koch <konqueror@gmx.de>
9291 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9292 This file was was just copied form java/io/natFileDescriptorEcos.cc
9293 and never changed to compile correctly.
9295 2004-03-11 Michael Koch <konqueror@gmx.de>
9297 * gnu/java/nio/PipeImpl.java
9298 (SourceChannelImpl): Made final.
9299 (read): Implemented.
9300 (SinkChannelImpl): Made final.
9301 (write): Implemented.
9303 2004-03-11 Michael Koch <konqueror@gmx.de>
9305 * gnu/java/net/PlainDatagramSocketImpl.java:
9306 Reformated to match classpath's version more.
9308 2004-03-11 Michael Koch <konqueror@gmx.de>
9310 * gnu/java/awt/peer/ClasspathFontPeer.java:
9311 Fixed javadoc to be correct xhtml.
9312 * gnu/java/awt/peer/gtk/GtkArgList.java
9313 (add): Use Boolean.valueOf() instead of new Boolean().
9315 2004-03-09 Michael Koch <konqueror@gmx.de>
9317 * java/lang/Thread.java
9318 (runnable): Moved around.
9319 (daemon): Renamed from daemon_flag.
9320 (contextClassLoader): Renamed from context_class_loader.
9321 (Thread): Reordered constructors.
9322 (activeCount): Use group directly.
9323 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9324 (holdsLock): Reworked javadoc.
9325 (setDaemon): Reworked.
9326 * java/lang/natThread.cc
9329 2004-03-08 Anthony Green <green@redhat.com>
9331 * Makefile.am: Build property resource files into libgcj.
9332 * Makefile.in: Rebuilt.
9333 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9334 java/util/regex/PatternSyntaxException.java,
9335 gnu/regexp/CharIndexed.java,
9336 gnu/regexp/CharIndexedCharArray.java,
9337 gnu/regexp/CharIndexedInputStream.java,
9338 gnu/regexp/CharIndexedReader.java,
9339 gnu/regexp/CharIndexedString.java,
9340 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9341 gnu/regexp/REException.java,
9342 gnu/regexp/REFilterInputStream.java,
9343 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9344 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9345 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9346 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9347 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9348 gnu/regexp/RETokenLookAhead.java,
9349 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9350 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9351 gnu/regexp/RETokenStart.java,
9352 gnu/regexp/RETokenWordBoundary.java,
9353 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9355 2004-03-03 Per Bothner <per@bothner.com>
9357 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9358 Optimize when argument is a FileChannelImpl.
9359 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9361 * java/nio/channels/natChannels.cc: New file for new native methods.
9362 * Makefile.am: Update accordingly.
9364 2004-03-02 Jan Hubicka <jh@suse.cz>
9366 * configure.host: Pass -fno-omit-frame-pointer for i386.
9367 * configure.in: Likewise.
9368 * configure: Regenerate.
9370 2004-03-01 Per Bothner <per@bothner.com>
9372 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9374 2004-02-29 Per Bothner <per@bothner.com>
9376 * java/nio/channels/FileChannelImpl.java: Moved to package
9377 gnu/java/nio/channels, since we need to refer to it from java.io.
9378 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9379 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9380 from java/nio/channels. Don't depend on FileDescriptor.
9381 (in, out, err): New static fields.
9383 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9384 from FileDescriptor.
9385 (by): Removed MappedByteBuffer field.
9386 (map): New working implementation.
9387 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9388 some code "ported" from natFileDescriptoPosix.cc.
9389 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9390 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9391 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9392 Remove native methods.
9393 * Makefile.am, configure.in: Updated accordingly.
9395 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9396 (ch): New FileChannelImpl field. Update constructor to match.
9397 (releaseImpl): Remove native method. Instead ...
9398 (release): Call unlock on channel.
9399 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9401 * java/io/natFileDescriptorEcos.cc: Remove file.
9402 * java/io/natFileDescriptorPosix.cc: Remove file.
9403 * java/io/natFileDescriptorWin32.cc: Remove file.
9404 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9405 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9406 (<init>(FileChannelImpl)): New package-private constructor.
9407 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9408 (available, close, read, skip): Implement using FileChannelImpl.
9409 (getFD): Allocate FileDescriptor if needed.
9410 (getChannel): Is now trivial.
9411 * java/io/FileOutputStream.java: Corresponding changes.
9412 * java/io/RandomAccessFile.java: Corresponding changes.
9414 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9415 unmapImpl): New dummy methods, to be overridden by subclass.
9416 (finalize, isLoaded, load, force): New methods.
9417 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9418 Now works, at least for read mapping.
9420 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9421 streams using FileChannelImpl, not FileDescriptor.
9422 * java/lang/natWin32Process.cc (startProcess): Likewise.
9424 2004-02-28 Michael Koch <konqueror@gmx.de>
9426 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9429 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9431 * java/io/ObjectInputStream.java
9432 (readClassDescriptor): Keep elements of the mapping non null.
9433 (checkTypeConsistency): New method.
9434 (readFields): Fixed main loop and base logic. Small reindentation.
9435 * java/io/ObjectStreamField.java
9436 (lookupField): New method to update the field reference.
9437 (checkFieldType): New method.
9438 * java/io/ObjectStreamClass.java
9439 (setClass, setFields): Call lookupField when building the field
9440 database. Check the real field type.
9442 2004-02-28 Michael Koch <konqueror@gmx.de>
9444 * java/nio/ByteOrder.java
9445 (nativeOrder): Use equals() to compare strings.
9447 2004-02-26 Michael Koch <konqueror@gmx.de>
9449 * gnu/java/nio/FileLockImpl.java
9450 (finalize): Made protected.
9451 * java/nio/channels/FileChannel.java
9452 (MapMode.READ_ONLY): Made final.
9453 (MapMode.READ_WRITE): Made final.
9454 (MapMode.PRIVATE): Made final.
9455 * java/nio/channels/SocketChannel.java
9456 (open): Simplified code.
9457 * java/nio/channels/spi/AbstractSelectableChannel.java
9458 (registered): Unused, removed.
9459 (keyFor): Check channel is open, only locate key
9460 and not add a new one.
9461 (register): Don't delete attachments.
9463 2004-02-26 Michael Koch <konqueror@gmx.de>
9465 * gnu/java/awt/ComponentDataBlitOp.java
9466 (INSTANCE): Made final.
9467 * gnu/java/awt/image/ImageDecoder.java:
9469 (cm): Unused, removed.
9471 2004-02-26 Michael Koch <konqueror@gmx.de>
9473 * gnu/java/nio/DatagramChannelImpl.java
9474 (send): Check if target address is resolved.
9476 2004-02-26 Michael Koch <konqueror@gmx.de>
9478 * Makefile.am: Generate and install headers for inner classes in
9479 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9480 * Makefile.in: Regenerated.
9482 2004-02-24 Anthony Green <green@redhat.com>
9484 * java/lang/StringBuffer.java: No need to NULL out remainder of
9485 buffer since ensureCapacity_unsynchronized will have done this for
9488 2004-02-20 Michael Koch <konqueror@gmx.de>
9490 * gnu/java/net/protocol/jar/Handler.java
9491 (): Removed unneeded check for file != null. java.net.URL.getFile()
9492 returns an empty string but never null.
9494 2004-02-20 Michael Koch <konqueror@gmx.de>
9496 * gnu/gcj/convert/Convert.java
9497 (main): Use equals() to compare strings.
9499 2004-02-20 Michael Koch <konqueror@gmx.de>
9501 * javax/swing/AbstractButton.java: Made several constants final.
9502 (getRolloverSelectedIcon): Made public.
9503 (getSelectedIcon): Made public.
9505 2004-02-16 Per Bothner <per@bothner.com>
9507 * java/nio/CharBufferImpl.java: Inline super constructor.
9508 * java/nio/DoubleBufferImpl.java: Likewise.
9509 * java/nio/FloatBufferImpl.java: Likewise.
9510 * java/nio/IntBufferImpl.java: Likewise.
9511 * java/nio/LongBufferImpl.java: Likewise.
9512 * java/nio/ShortBufferImpl.java: Likewise.
9513 * java/nio/CharBuffer.java: Remove unused constructor.
9514 * java/nio/DoubleBuffer.java: Likewise.
9515 * java/nio/FloatBuffer.java: Likewise.
9516 * java/nio/IntBuffer.java: Likewise.
9517 * java/nio/LongBuffer.java: Likewise.
9518 * java/nio/ShortBuffer.java: Likewise.
9519 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9520 Fix buggy call to super constructor.
9521 * java/nio/DoubleViewBufferImpl.java: Likewise.
9522 * java/nio/FloatViewBufferImpl.java: Likewise.
9523 * java/nio/IntViewBufferImpl.java: Likewise.
9524 * java/nio/LongViewBufferImpl.java: Likewise.
9525 * java/nio/ShortViewBufferImpl.java: Likewise.
9527 * java/nio/ByteBuffer.java (endian): Make non-private so other
9528 java.nio classes can inherit it.
9529 (<init>): Don't bother clearing array_offset.
9530 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9531 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9532 Remove redundant test.
9534 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9535 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9536 Use new XxxViewBufferImpl constructors.
9537 * java/nio/MappedByteBufferImpl.java: Likewise.
9538 * java/nio/DirectByteBufferImpl.java: Likewise.
9540 * java/nio/ByteBufferImpl.java: Remove one constructor.
9541 Inline super in remaining constructor.
9542 * java/nio/ByteBuffer.java: Remove unused constructor.
9544 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9546 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9547 * java/nio/DirectByteBufferImpl.java (owner): New field.
9548 (offset): Remove unused field.
9549 (<init>): Modify one and add another constructor. Change callers.
9550 (allocateDirect): Removed - not used.
9551 (getImpl, putImpl): Make static and pass address explicitly,
9552 to make them useful for MappedByteBufferImpl.
9553 (get, put): Check for underflow. Modify for new getImpl.
9554 (getImpl): New native method where target is array.
9555 (get(byte[],int,int)): Use the above.
9556 (adjustAddress): New static native method.
9557 (slice, duplicate, asReadOnly): New implementations.
9558 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9559 adjustAddress): New or updated native methods.
9561 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9563 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9564 overflow of fieldmapping.
9566 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9568 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9570 2004-02-14 Per Bothner <per@bothner.com>
9572 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9573 Set closed before calling implCloseChannel, as in the spec.
9575 2004-02-09 Graydon Hoare <graydon@redhat.com>
9577 * javax/swing/ToggleButtonModel.java: Remove dead class.
9578 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9579 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9580 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9581 * Makefile.am: Update for new and removed files.
9582 * Makefile.in: Regenerate.
9584 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9585 * javax/swing/AbstractButton.java
9586 (AbstractButton): Initialize fields correctly in ctor.
9587 * javax/swing/JCheckbox.java
9588 (JCheckBox): Override painting flags.
9589 * javax/swing/DefaultButtonModel.java: Conform to sun.
9590 * javax/swing/JComponent.java (paint): Fill with background color
9592 (processComponentKeyEvent)
9595 (processMouseMotionEvent): Remove event-consuming empty methods.
9596 (getUIClassID): Return "ComponentUI" not "JComponent"
9597 * javax/swing/JFrame.java: Remove some debugging chatter.
9598 (JFrame): Subscribe to window events.
9599 * javax/swing/JRadioButton.java
9600 (JRadioButton): Override painting flags.
9601 * javax/swing/JRootPane.java
9602 (JRootPane): Set background from UIDefaults.
9603 * javax/swing/JToggleButton.java
9604 (ToggleButtonModel): New inner class.
9605 (JToggleButton): Override layout alighment.
9606 * javax/swing/SwingUtilities.java:
9607 (getLocalBounds): Return width and height, not x and y.
9608 (calculateInnerArea): Use local bounds, not bounds.
9609 (layoutCompoundLabel): Provide overridden form.
9610 (layoutCompoundLabel): Correct bugs.
9611 * javax/swing/UIDefaults.java: Correct comment.
9612 * javax/swing/plaf/basic/BasicButtonUI.java:
9613 Move most logic into defaults, external listener.
9614 (paintIcon): Implement icon painting.
9615 (paint): Fix state painting to conform to changes in model.
9616 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9617 Remove most dead/wrong methods.
9618 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9619 * javax/swing/plaf/basic/BasicIconFactory.java:
9620 (DummyIcon): New class.
9621 (getMenuItemCheckIcon)
9622 (getMenuItemArrowIcon)
9624 (getCheckBoxMenuItemIcon)
9625 (getRadioButtonMenuItemIcon)
9626 (createEmptyFrameIcon): Return DummyIcons, not null.
9627 (getCheckBoxIcon): Implement an icon that looks like sun's.
9628 (getRadioButtonIcon): Implement an icon that looks like sun's.
9629 * javax/swing/plaf/basic/BasicLookAndFeel.java
9630 (initComponentDefaults): Fix impossible values, add some missing.
9631 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9632 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9633 Remove most dead/wrong methods.
9635 (getDefaultIcon): New method.
9636 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9637 Remove most dead/wrong methods.
9638 * javax/swing/plaf/metal/MetalLookAndFeel.java
9639 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9640 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9641 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9642 Implement "clearing" as drawing, when on pixmap drawables.
9644 * javax/swing/JButton.java (getUIClassID):
9645 * javax/swing/JCheckBox.java (getUIClassID):
9646 * javax/swing/JEditorPane.java (getUIClassID):
9647 * javax/swing/JLabel.java (getUIClassID):
9648 * javax/swing/JList.java (getUIClassID):
9649 * javax/swing/JOptionPane.java (getUIClassID):
9650 * javax/swing/JPanel.java (getUIClassID):
9651 * javax/swing/JPasswordField.java (uiClassID):
9652 * javax/swing/JRadioButton.java (getUIClassID):
9653 * javax/swing/JRootPane.java (getUIClassID):
9654 * javax/swing/JScrollPane.java (getUIClassID):
9655 * javax/swing/JTabbedPane.java (getUIClassID):
9656 * javax/swing/JToggleButton.java (getUIClassID):
9657 * javax/swing/JTree.java (getUIClassID):
9658 * javax/swing/JViewport.java (getUIClassID):
9659 * javax/swing/text/JTextComponent.java (getUIClassID):
9660 Return "fooUI" not "Jfoo"
9662 2004-02-11 Michael Koch <konqueror@gmx.de>
9664 * java/net/DatagramSocket.java
9665 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9667 (setBroadcast): Likewise.
9668 * java/net/MulticastSocket.java
9669 (setLoopbackMode): Likewise.
9670 * java/net/ServerSocket.java
9671 (setReuseAddress): Likewise.
9672 * java/net/Socket.java
9673 (setTcpNoDelay): Likewise.
9674 (setSoLinger): Likewise.
9675 (setOOBInline): Likewise.
9676 (setKeepAlive): Likewise.
9677 (setReuseAddress): Likewise.
9678 * java/net/URLConnection.java
9679 (setContentHandler): Replace == with equals().
9680 * java/net/URLStreamHandler.java
9681 (hostSEquals): Fix checking host addresses.
9682 (toExternalForm): Dont check protocol for null. We know already its
9685 2004-02-10 David Jee <djee@redhat.com>
9687 * java/awt/BorderLayout.java
9688 (calcCompSize): Invisible components get zero dimensions.
9689 * java/awt/Button.java
9690 (setLabel): Set actionCommand.
9691 * java/awt/Component.java
9692 (show): Invalidate component and parent container.
9695 2004-02-10 David Jee <djee@redhat.com>
9697 * java/awt/GridBagLayout.java
9698 (GridBagLayout): New private field, internalcomptable.
9699 (lookupInternalConstraints): New method.
9700 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9701 (GetLayoutInfo): Reimplement.
9702 (calcCellSizes): Ignore rows/columns with size 0.
9704 2004-02-10 Michael Koch <konqueror@gmx.de>
9706 * gnu/java/awt/EmbeddedWindow.java
9707 (setHandle): Use java.awt.Component.getPeer() instead of
9708 java.awt.Component.peer directly.
9710 2004-02-10 David Jee <djee@redhat.com>
9712 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9713 (gtkSetLabel): New native method definition.
9714 (setLabel): Use gtkSetLabel.
9715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9716 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9718 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9720 * include/powerpc-signal.h: Revert 2004-01-21 change.
9721 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9722 from syscall for ppc32 versions.
9724 2004-02-08 Per Bothner <per@bothner.com>
9726 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9727 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9728 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9729 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9730 Pass ByteOrder parameter to most methods, since the underlying
9731 ByteBuffer's order isn't always what we should use.
9732 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9733 * java/nio/DirectByteBufferImpl.java: Likewise.
9734 Use ByteBufferHelper methods.
9735 * java/nio/MappedByteBufferImpl.java: Likewise.
9736 (compact): Use shiftDown.
9737 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9738 (get, put): Use ByteBufferHelper.
9739 (compact): Use new shiftDown method.
9740 (duplicate(boolean)): New helper method.
9741 (duplicate, asReadOnlyBuffer): Use it.
9742 (order): Return endian field.
9743 * java/nio/DoubleViewBufferImpl.java: Likewise.
9744 * java/nio/FloatViewBufferImpl.java: Likewise.
9745 * java/nio/IntViewBufferImpl.java: Likewise.
9746 * java/nio/LongViewBufferImpl.java: Likewise.
9747 * java/nio/ShortViewBufferImpl.java: Likewise.
9748 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9749 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9750 (compact): Re-implement using shiftDown.
9752 2004-02-08 Andreas Jaeger <aj@suse.de>
9754 * include/x86_64-signal.h: Fix typo.
9756 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9758 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9760 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9762 2004-02-06 Michael Koch <konqueror@gmx.de>
9764 * java/io/ObjectInputStream.java
9765 (currentClassLoader): Reverted to old version of this method.
9767 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9769 * java/io/ObjectInputStream.java: Made all calls
9770 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9771 use cached info from ObjectStreamClass. (readClassDescriptor):
9772 Cache more information in ObjectStreamClass. (processResolution,
9773 readFields): Use cached info from ObjectStreamClass.
9774 (newObject): Throw exception instead of returning null for failure.
9775 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9776 setCharField, setDoubleField, setFloatField, setIntField,
9777 setLongField, setShortField, setObjectField, readObjectParams):
9778 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9780 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9781 (setClass): Added call to cacheMethods() (findMethod): New method.
9782 (cacheMethods): New method. (ObjectStreamClass): Added call to
9783 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9784 AccessController.doPrivileged to invoke setAccessible.
9785 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9786 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9788 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9789 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9790 isPrimitive): Made safe for cases where type == null.
9791 (setBooleanField, setByteField, setCharField, setShortField,
9792 setIntField, setLongField, setFloatField, setDoubleField,
9793 setObjectField): New methods.
9795 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9797 * java/awt/Component.java (getFont): Return a default font
9800 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9801 (Scrollbar (int, int, int, int, int)): Make default page
9803 (setValues): Only call peer.setValues if one of the values has
9805 (generateName): New method.
9806 (getUniqueLong): New method.
9807 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9808 (range_scrollbar): Remove structure.
9809 (post_adjustment_event): Remove function.
9810 (post_change_event): Accept jobject argument.
9811 (create): Cast jints to gdoubles. Round scrollbar values to the
9812 nearest integer. Clamp min, max and value settings.
9813 (connectJObject): Connect hook to widget->window.
9814 (connectSignals): Remove range_scrollbar structure variables.
9815 Remove "move-slider" connection. Pass global peer reference to
9816 "value-changed" callback.
9817 (setLineIncrement): Cast jint value to gdouble.
9818 (setPageIncrement): Likewise.
9819 (setValues): Likewise. Clamp min, max and value settings.
9821 2004-02-05 Michael Koch <konqueror@gmx.de>
9823 * javax/swing/AbstractCellEditor.java
9824 (getCellEditorValue): Removed.
9825 * javax/swing/Box.java: Reformated.
9826 (serialVersionUID): New field.
9827 * javax/swing/ButtonGroup.java:
9828 Removed some weird whitespace.
9829 * javax/swing/CellEditor.java: Reformated.
9830 * javax/swing/CellRendererPane.java
9831 (serialVersionUID): New field.
9832 (AccessibleCellRendererPaneserialVersionUID): New field.
9833 * javax/swing/DefaultListModel.java
9834 (serialVersionUID): New field.
9835 * javax/swing/JEditorPane.java
9836 (serialVersionUID): New field.
9837 (setPage): Throws IOException.
9838 (addHyperlinkListener): Implemented.
9839 (removeHyperlinkListener): Implemented.
9840 (getHyperlinkListener): New method.
9841 * javax/swing/JFileChooser.java
9842 (serialVersionUID): New field.
9843 (AccessibleJFileChooser.serialVersionUID): New field.
9844 (addActionListener): Implemented.
9845 (removeActionListener): Implemented.
9846 (getActionListeners): New method.
9847 * javax/swing/JFormattedTextField.java
9848 (serialVersionUID): New field.
9849 (AbstractFormatter.serialVersionUID): New field.
9850 (clone): Throws CloneNotSupportedException
9851 (setEditValid): Add missing argument.
9852 (stringToValue): Throws ParseExcpetion.
9853 (valueToString): Throws ParseException.
9854 (commitEdit): Throws ParseException.
9855 * javax/swing/JLabel.java
9856 (serialVersionUID): New field.
9857 * javax/swing/JList.java
9858 (serialVersionUID): New field.
9859 (addListSelectionListener): Reformated.
9860 (removeListSelectionListener): Reformated.
9861 (getListSelectionListeners): New method.
9862 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9864 (serialVersionUID): New field.
9865 * javax/swing/table/AbstractTableModel.java
9866 (getValueAt): Removed.
9867 (getColumnCount): Removed.
9868 (getRowCount): Removed.
9870 2004-02-05 Michael Koch <konqueror@gmx.de>
9872 * java/awt/datatransfer/DataFlavor.java
9873 (imageFlavor): Javadoc added.
9874 (javaJVMLocalObjectType): Fixed.
9876 2004-02-05 Michael Koch <konqueror@gmx.de>
9878 * java/lang/Thread.java
9879 (Thread): Reordered.
9880 (setContextClassLoader): Fixed javadoc comment.
9881 (setPriority): Reordered.
9883 (initialize_native): Reordered.
9884 (gen_name): Reordered.
9886 2004-02-05 Michael Koch <konqueror@gmx.de>
9888 * java/lang/Thread.java: Reordered fields, reformated much code,
9889 no functional changes, some variables renamed, javadoc comments
9892 2004-02-05 Michael Koch <konqueror@gmx.de>
9894 * java/util/zip/Deflater.java,
9895 java/util/zip/DeflaterOutputStream.java,
9896 java/util/zip/GZIPInputStream.java:
9897 Reformated and javadoc comments merged from classpath.
9899 2004-02-05 Michael Koch <konqueror@gmx.de>
9901 * gnu/java/nio/NIOServerSocket.java
9902 (impl): Unused, removed.
9903 * gnu/java/nio/SocketChannelImpl.java
9904 (finnishConnect): Don't throw NoConnectionPendingException if not
9905 connected or no connection pending.
9907 2004-02-02 Graydon Hoare <graydon@redhat.com>
9909 * javax/swing/SwingUtilities.java: Many new functions.
9910 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9911 * javax/swing/basic/BasicGraphicsUtils.java
9912 (getPreferredButtonSize): Start layout from top-left corner.
9914 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9916 * java/awt/geom/AffineTransform.java:
9917 Corrected comments on the field definitions for
9919 (shear): Fixed few errors that caused shear
9920 transformation to be performed incorrectly.
9921 (createInverse): Fixed to return correct
9922 inverse of the given matrix.
9924 2004-02-03 Tom Tromey <tromey@redhat.com>
9926 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9927 PATH or LD_LIBRARY_PATH is not set in parent environment.
9929 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9931 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9932 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9933 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9934 java/awt/Component.java, java/awt/Container.java,
9935 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9936 java/awt/LayoutManager2.java, java/awt/List.java,
9937 java/awt/Menu.java, java/awt/MenuBar.java,
9938 java/awt/MenuItem.java, java/awt/Polygon.java,
9939 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9940 java/awt/Scrollbar.java, java/awt/TextArea.java,
9941 java/awt/TextField.java,
9942 java/awt/image/renderable/RenderContext.java,
9943 javax/swing/JApplet.java: Fix handling of alias methods, where a
9944 method has been deprecated in favour of a new one with the same
9945 funtion but a different name. Put the method implementation in
9946 the deprecated method and have the new method call the
9947 deprecated one. Make all other code call the new method.
9949 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9951 * gnu/java/nio/DatagramChannelImpl.java
9952 (inChannelOperation): New field.
9953 (isInChannelOperation): New accessor.
9954 (setInChannelOperation): New modifier.
9955 (receive): Use capacity() - position() of destination
9956 buffer instead of remaining(). Set and reset our "in
9957 channel operation indicator" before and after delegating
9958 the receive to our datagram socket. Removed testing code.
9959 Update destination buffer's current position if it is
9960 backed by a byte array (hasArray() is true).
9961 (send): Set and reset our "in channel operation indicator"
9962 before and after delegating the send to our datagram socket.
9963 Removed testing code. Update source buffer's current position
9964 if it is backed by a byte array (hasArray() is true).
9965 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9966 Use capacity() - position() of destination buffer instead
9968 * java/net/DatagramSocket.java (receive): Don't throw an
9969 IllegalBlockingModeException if we have a non-blocking
9970 channel which initiated this operation.
9973 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9975 * configure.in: Add pkgconfig check for glib and gthread.
9976 * configure: Regenerate.
9978 2004-02-01 Michael Koch <konqueror@gmx.de>
9980 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9982 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9983 * verify.cc (debug_print): Mark 'fmt' unused.
9985 2004-01-30 Michael Koch <konqueror@gmx.de>
9987 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9988 * configure: Regenerated.
9989 * glib-2.0.m4: Removed.
9990 * gtk-2.0.m4: Removed.
9991 * libart.m4: Removed.
9994 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9996 * gnu/java/net/PlainSocketImpl.java
9997 (inChannelOperation): New field.
9998 (isInChannelOperation): New accessor.
9999 (setInChannelOperation): New modifier.
10000 * gnu/java/nio/ServerSocketChannelImpl.java
10001 (accept): Set and reset our server socket's PlainSocketImpl's
10002 "in channel operation" indicator before and after delegating
10003 the accept to our server socket.
10004 * gnu/java/nio/SocketChannelImpl.java
10005 (connect): Set and reset our socket's PlainSocketImpl's "in channel
10006 operation" indicator before and after delegating the operation to
10010 * java/net/ServerSocket.java (implAccept): Don't throw an
10011 IllegalBlockingModeException if we have a non-blocking
10012 channel which initiated this accept operation.
10013 * java/net/Socket.java (connect): Don't throw an
10014 IllegalBlockingModeException if we have a non-blocking
10015 channel which initiated this connect operation.
10016 * java/nio/channels/spi/AbstractSelectableChannel.java
10017 (configureBlocking): Only call implConfigureBlocking() if
10018 the desired blocking mode is different from our current one.
10020 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
10022 * java/io/BufferedReader.java (sbuf): New field.
10023 (readLine): Use String.valueOf instead of new String() as per
10024 Per Bothner's suggestion. Use instance sbuf field instead of a
10025 local StringBuffer instance.
10026 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
10027 caller's buffer to refill().
10028 (read(void)): Pass our internal work buffer to refill if our
10029 input queue is empty.
10030 (refill): Changed return type to int. Use the specified buffer
10031 instead of our work buffer as per Bryce McKinlay's suggestion.
10032 Return the number of characters read or -1 for EOF.
10034 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10036 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
10038 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10040 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
10041 * Makefile.in: Re-generated.
10042 * gnu/awt/xlib/XFontPeer.java: New file.
10043 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
10044 (setClip): Commented out debug printout.
10045 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
10046 (getFontPeer): Return XFontPeer.
10047 (getLocalGraphicsEnvironment): New method.
10048 (getClasspathFontPeer): New method.
10049 (createFont): New method.
10051 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
10053 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
10056 2004-01-29 Kim Ho <kho@redhat.com>
10058 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10059 (gtkLayoutSetVisible): New method
10060 (setMenuBar): Hide layout before setting MenuBar
10061 and reshow it after.
10062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10063 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
10065 2004-01-28 Michael Koch <konqueror@gmx.de>
10067 * gnu/java/lang/ClassHelper.java
10068 (getPackagePortion): Removed.
10070 2004-01-28 Michael Koch <konqueror@gmx.de>
10072 * javax/swing/JComponent.java
10073 (listenerList): Initalize globally.
10074 (ancestor_list): Removed.
10075 (veto_list): Removed.
10076 (change_list): Removed.
10077 (get_veto_list): Removed.
10078 (get_change_list): Removed.
10079 (get_ancestor_list): Removed.
10080 (removeAncestorListener): Reimplemented.
10081 (removePropertyChangeListener): Likewise.
10082 (removeVetoableChangeListener): Likewise.
10083 (addAncestorListener): Likewise.
10084 (addPropertyChangeListener): Likewise.
10085 (addVetoableChangeListener): Likewise.
10086 (getListeners): New method.
10087 (getAncestorListeners): Likewise.
10088 (getVetoableChangeListeners): Likewise.
10089 (fireVetoableChange): Throws PropertyVetoException.
10090 * javax/swing/JEditorPane.java
10091 (JEditorPane): Throws IOException.
10093 2004-01-28 David Jee <djee@redhat.com>
10095 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10096 (create): Set the default foreground color to
10097 java.awt.SystemColor.windowText.
10099 2004-01-27 Michael Koch <konqueror@gmx.de>
10101 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10102 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10103 Reindented to merge with classpath.
10105 2004-01-27 David Jee <djee@redhat.com>
10107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10108 (addExposeFilter): Handle GtkFramePeer separately.
10109 (removeExposeFilter): Likewise.
10111 2004-01-27 Michael Koch <konqueror@gmx.de>
10113 * gnu/java/net/protocol/http/Connection.java
10114 (getOutputStream): Fixed typo.
10116 2004-01-27 Michael Koch <konqueror@gmx.de>
10118 * java/lang/Class.java
10119 (getConstructor): Removed SecurityException from throws clause.
10120 (_getConstructors): Likewise.
10121 (getConstructors): Likewise.
10122 (getDeclaredConstructor): Likewise.
10123 (getDeclaredClasses): Likewise.
10124 (getDeclaredConstructors): Likewise.
10125 (getDeclaredField): Likewise.
10126 (getDeclaredMethod): Likewise.
10127 (getDeclaredMethods): Likewise.
10128 (getField): Likewise.
10129 (getMethod): Likewise.
10130 (getMethods): Likewise.
10132 2004-01-27 Kim Ho <kho@redhat.com>
10134 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10135 (removeMenuBarPeer): Remove MenuBarPeer argument.
10136 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10137 (dispose): Call native method.
10138 * java/awt/Frame.java (setMenuBar): Create and remove
10139 MenuBar peers only if the Frame has a peer.
10140 (addNotify): Create the MenuBar peer if one exists.
10141 (removeNotify): Remove MenuBar peer if one exists.
10142 * java/awt/Menu.java: Fix imports.
10143 (addNotify): Don't use full class name.
10144 (removeNotify): Call removeNotify on all children.
10145 * java/awt/MenuBar.java (removeNotify): Call
10146 removeNotify on all children.
10147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10148 (removeMenuBarPeer): Remove MenuBarPeer argument.
10149 Iterate through children to find the Frame's MenuBar.
10150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10152 (dispose): Remove references to the MenuComponent.
10154 2004-01-27 Michael Koch <konqueror@gmx.de>
10156 * javax/swing/AbstractCellEditor.java: Reformated.
10157 * javax/swing/DefaultListSelectionModel.java
10158 (listenerList): Made protected.
10159 (addListSelectionListener): Javadoc added.
10160 (removeListSelectionListener): Likewise.
10161 (getListeners): Likewise.
10162 (getListSelectionListeners): Likewise.
10163 * javax/swing/JComboBox.java: Merged copyright year.
10164 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10166 2004-01-26 Andrew Haley <aph@redhat.com>
10168 * javax/swing/table/JTableHeader.java: Extend JComponent
10170 2004-01-26 Kim Ho <kho@redhat.com>
10172 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10175 2004-01-26 Kim Ho <kho@redhat.com>
10177 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10179 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10180 height and let the Layout Managers readjust anything that
10182 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10183 (moveLayout): New method. Shift everything in the Gtk
10184 layout in the Y direction by an offset.
10186 2004-01-26 David Jee <djee@redhat.com>
10188 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10189 (handleEvent): Implemented. Handles PaintEvents.
10190 (paint): Implemented. Use GTK native methods to queue updates
10191 for this heavyweight peer.
10192 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10193 (handleEvent): Removed.
10194 * java/awt/Component.java
10195 (paint): Implemented. Explictly paint the heavyweight peer.
10196 (update): Clear the background for heavyweight components.
10197 (paintAll): No need to call peer.paint() anymore.
10198 (processEvent): Don't process PaintEvents here. It's now done in
10199 the peer's handleEvent().
10200 (processPaintEvent): Removed.
10201 * java/awt/Container.java
10202 (paint): No need to call super.paint(). Visit heavyweight
10204 (update): Don't clear the background here. It's done in
10205 Component.update().
10206 (visitChildren): Added check to not recurse into Containers.
10207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10208 (filter_expose_event_handler): New method. Filter unwanted
10209 expose events while painting heavyweight peers.
10210 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10211 New method. Connect filter and block pre_event_handler.
10212 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10213 New method. Disconnect filter and unblock pre_event_handler.
10214 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10215 New method. Invalidate and update given area.
10216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10217 (pre_event_handler): Add checks for unwanted expose events.
10219 2004-01-26 David Jee <djee@redhat.com>
10221 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10222 (find_bg_color_widget): For GtkButton, return its child.
10224 2004-01-26 Kim Ho <kho@redhat.com>
10226 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10228 (setMenuBar): Grab MenuBar height and change insets.
10229 (setBounds): Account for MenuBar height.
10230 (postInsetsChangedEvent): Ditto.
10231 (postSizeAllocateEvent): Remove.
10232 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10233 (menubar_resize_cb): Remove
10234 (setMenuBarPeer): Remove callback.
10235 (getMenuBarHeight): Use size requisition instead of
10238 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10240 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10241 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10243 (setColumns): Remove FIXME -- peer will retrieve number of
10244 columns by calling getColumns.
10245 (setRows): Likewise for number of rows.
10246 (next_text_number): New field.
10247 (paramString): Fix param string.
10248 (generateName): New method.
10249 (getUniqueLong): New method.
10251 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10253 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10254 image observer of image loading status.
10255 (getImage (String)): Start image production.
10256 (getImage (URL)): Likewise.
10258 2004-01-25 Michael Koch <konqueror@gmx.de>
10260 * java/lang/Class.java: Imports reworked, reformated.
10261 (Class): Javadoc added.
10262 (forName): Likewise.
10263 (getClasses): Likewise.
10264 (getClassLoader): Likewise.
10265 (getComponentType): Likewise.
10266 (getConstructor): Likewise.
10267 (getConstructors): Likewise.
10268 (getDeclaredConstructor): Likewise.
10269 (getDeclaredClasses): Likewise.
10270 (getDeclaredConstructors): Likewise.
10271 (getDeclaredField): Likewise.
10272 (getDeclaredMethod): Likewise.
10273 (getDeclaredMethods): Likewise.
10274 (getDeclaringClass): Likewise.
10275 (getField): Likewise.
10276 (getInterfaces): Likewise.
10277 (getMethod): Likewise.
10278 (getMethods): Likewise.
10279 (getModifiers): Likewise.
10280 (getName): Likewise.
10281 (getResource): Likewise.
10282 (getResourceAsStream): Likewise.
10283 (getSigners): Likewise.
10284 (setSigners): Likewise.
10285 (getSuperclass): Likewise.
10286 (isArray): Likewise.
10287 (isAssignableFrom): Likewise.
10288 (isInstance): Likewise.
10289 (isInterface): Likewise.
10290 (isPrimitive): Likewise.
10291 (newInstance): Likewise.
10292 (getProtectionDomain): Likewise.
10293 (toString): Likewise.
10295 (initializeClass): Likewise.
10296 (finalize): Likewise.
10298 2004-01-24 Michael Koch <konqueror@gmx.de>
10300 * gnu/java/net/protocol/jar/Connection.java
10301 (hdrHash): Removed.
10303 (gotHeaders): Removed.
10304 (getHeaderField): Removed.
10305 (getHeaderFields): Removed.
10306 (getHeaderFieldKey): Removed.
10308 (getField): Removed.
10309 (getHeaders): Removed.
10311 2004-01-24 Michael Koch <konqueror@gmx.de>
10313 * Makefile.am: Added library version to gtk peer lib.
10314 * Makefile.in: Regenerated.
10316 2004-01-24 Michael Koch <konqueror@gmx.de>
10318 * java/util/zip/InflaterInputStream.java: Merged class documentation
10321 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10323 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10324 header. For __powerpc64__ provide the default-signal.h definitions
10326 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10327 instead of the dummy definitions.
10328 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10329 (powerpc64*-*): Remove with_libffi_default.
10330 Only add -mminimal-toc for 64-bit compilations.
10331 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10332 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10333 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10334 * configure: Rebuilt.
10336 2004-01-23 Michael Koch <konqueror@gmx.de>
10338 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10340 2004-01-23 Michael Koch <konqueror@gmx.de>
10342 * java/lang/VMClassLoader.java: Reworked imports.
10344 2004-01-23 Michael Koch <konqueror@gmx.de>
10346 * javax/swing/AbstractAction.java: Reformated.
10348 2004-01-23 Michael Koch <konqueror@gmx.de>
10350 * java/text/CollationElementIterator.java:
10351 (setText): New method.
10353 2004-01-23 Michael Koch <konqueror@gmx.de>
10355 * gnu/java/nio/FileLockImpl.java:
10356 Fixed filename in copyright.
10357 (released): Removed.
10358 (finalize): New method.
10359 * gnu/java/nio/natFileLockImpl.cc
10360 (releaseImpl): Implemented.
10361 * java/nio/channels/FileChannelImpl.java:
10363 (lock): Implemented.
10364 (lockImpl): New method.
10365 (tryLock): Implemented.
10366 (tryLockImpl): New method.
10367 * java/nio/channels/natFileChannelImpl.cc
10368 (lockImpl): New method.
10369 (tryLockImpl): New method.
10371 2004-01-23 Michael Koch <konqueror@gmx.de>
10373 * java/io/FileDescriptor.java
10374 (lock): New method.
10375 (tryLock): New method.
10376 (unlock): New method.
10377 * java/io/natFileDescriptorEcos.cc
10378 (lock): New method.
10379 (tryLock): New method.
10380 (unlock): New method.
10381 * java/io/natFileDescriptorPosix.cc
10382 (lock): New method.
10383 (tryLock): New method.
10384 (unlock): New method.
10385 * java/io/natFileDescriptorWin32.cc
10386 (lock): New method.
10387 (tryLock): New method.
10388 (unlock): New method.
10390 2004-01-23 Michael Koch <konqueror@gmx.de>
10392 * java/io/FileDescriptor.java
10393 (sync): Moved around, added javadoc.
10398 (setLength): Likewise.
10400 (getLength): Likewise.
10401 (getFilePointer): Likewise.
10403 (available): Likewise.
10404 (finalize): Likewise.
10406 2004-01-23 Michael Koch <konqueror@gmx.de>
10408 * javax/swing/AbstractAction.java: Reformated.
10409 (getPropertyChangeListeners): New method.
10410 * javax/swing/AbstractCellEditor.java: Reformated.
10411 (getCellEditorListeners): New method.
10412 * javax/swing/DefaultListSelectionModel.java
10413 (listenerList): New field.
10414 (listeners): Removed.
10415 (get_listeners): Removed.
10416 (addListSelectionListener): Rewritten.
10417 (removeListSelectionListener): Rewritten.
10418 (getListSelectionListeners): New method.
10419 (getListeners): New method.
10420 * javax/swing/JComboBox.java: Imports reworked.
10421 (addActionListener): Implemented.
10422 (removeActionListener): Implemented.
10423 (addItemListener): Implemented.
10424 (removeItemListener): Implemented.
10425 (addPopupMenuListener): Implemented.
10426 (removePopupMenuListener): Implemented.
10427 (getActionListeners): New method.
10428 (getItemListeners): New method.
10429 (getPopupMenuListeners): New method.
10431 2004-01-23 Michael Koch <konqueror@gmx.de>
10433 * gnu/java/net/protocol/http/Connection.java
10434 (connect): Don't initialize bufferedOutputStream if not needed.
10435 (sendRequest): Set property for content length if content is present.
10436 Write content only if present.
10437 (getOutputStream): Check if already connected, dont connect,
10438 initalize bufferedOutputStream if needed.
10440 2004-01-23 Michael Koch <konqueror@gmx.de>
10442 * java/io/FileDescriptor.java
10443 (in, out, err): Added javadoc.
10444 (static): Merged loading code.
10445 (fd, position): Moved around.
10447 2004-01-23 Michael Koch <konqueror@gmx.de>
10449 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10452 2004-01-23 Michael Koch <konqueror@gmx.de>
10454 * java/lang/Class.java,
10455 java/lang/Object.java,
10456 java/lang/Thread.java: Merged copyright with classpath.
10458 2004-01-23 Michael Koch <konqueror@gmx.de>
10460 * java/io/FileDescriptor.java: Merged copyright with classpath to
10461 start merging this class.
10463 2004-01-22 Tom Tromey <tromey@redhat.com>
10466 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10467 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10468 * testsuite/libjava.lang/pr13107_3.java: New file.
10469 * testsuite/libjava.lang/pr13107_3.out: New file.
10470 * testsuite/libjava.lang/pr13107_2.java: New file.
10471 * testsuite/libjava.lang/pr13107_2.out: New file.
10472 * testsuite/libjava.lang/pr13107.java: New file.
10473 * testsuite/libjava.lang/pr13107.out: New file.
10474 * verify.cc (jsr_ptrs): Removed.
10475 (entry_points): Likewise.
10476 (struct subr_info): Likewise.
10477 (struct subr_entry_info): Likewise.
10478 (type_val::unused_by_subroutine_type): Likewise.
10479 (type::merge): Don't handle unused_by_subroutine_type.
10480 (type::print): Likewise.
10481 (state::flags): Removed.
10482 (state::subroutine): Likewise.
10483 (state::seen_subrs): Likewise.
10484 (state::NO_STACK): Likewise.
10485 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10486 (state): Updated all methods.
10487 (state::clean_subrs): Removed.
10488 (state::state): Removed `ret_semantics' flag.
10489 (state::copy): Likewise.
10490 (state::add_subr): Removed.
10491 (state::enter_subroutine): Likewise.
10492 (type::set_return_address): New method.
10493 (handle_jsr_insn): Set return address on the type. Always
10494 invalidate PC after call.
10495 (check_nonrecursive_call): Removed.
10496 (~_Jv_BytecodeVerifier): Updated.
10497 (branch_prepass): Removed special handling of jsr.
10498 (note_branch_target): Likewise.
10499 (get_subroutine): Removed.
10500 (state::merge): Don't merge subroutines and don't handle
10501 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10502 (state::note_variable): Removed.
10503 (state::is_unmerged_ret_state): Likewise.
10504 (state::print): Updated.
10505 (set_variable): Likewise.
10506 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10507 and jsr_semantics arguments. Updated for new reverification
10509 (pop_jump): Rewrote.
10510 (construct_primitive_array_type): Updated.
10511 (state::next): Removed.
10512 (INVALID_STATE): New define.
10513 (state::INVALID): Removed.
10514 (state::NO_NEXT): New value.
10515 (state::pc, state::next): New fields.
10516 (state::get_pc): New method.
10517 (next_verify_pc): Removed.
10518 (next_verify_state): New field.
10519 (verify_instructions_0): Always check for falling off end.
10520 (linked): New type.
10521 (linked_utf8): Removed.
10522 (states): Changed type.
10523 (type::state_mergeable_p): New method.
10524 (state::state_mergeable_p): Likewise.
10525 (handle_ret_insn): Removed most code.
10526 (state::reverify): New method.
10527 (add_new_state): Likewise.
10528 (state::set_pc): Likewise.
10530 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10533 * testsuite/libjava.compile/PR13733.java: New file.
10534 * testsuite/libjava.compile/PR13733.xfail: New file.
10536 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10537 Michael Koch <konqueror@gmx.de>
10539 * javax/swing/table/DefaultTableCellRenderer.java
10540 (DefaultTableCellRenderer): Added javadoc for the class and for
10541 the constructor, Border instance, create an EmptyBorder.
10542 (UIResource): Removed the comment at the end of the class
10543 (setForeground): New method.
10544 (setBackground): New method.
10545 (updateUI): New method.
10546 (getTableCellRendererComponent): Rewritten with the help of
10547 dvholten and Stephane Meslin-Weber.
10548 (validate): New method.
10549 (repaint): New method.
10550 (firePropertyChange): New method.
10551 (setValue): New method.
10553 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10555 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10556 (connectJObject): Replace printf calls with g_assert statements.
10557 Move property-notify-event signal connection to ...
10558 (connectSignals): Connect property-notify-event signal. Iterate
10559 through the vbox's children to find layout.
10561 2004-01-22 Graydon Hoare <graydon@redhat.com>
10563 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10564 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10565 Predicate static initialization on GtkToolkit.useGraphics2D().
10566 * java/awt/Component.java (processPaintEvent): Consume event.
10567 * javax/swing/AbstractButton.java: Reimplement, document.
10568 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10569 * javax/swing/JComponent.java (paint): Use double buffer.
10570 (listenerList): Enable member.
10571 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10572 * javax/swing/JToggleButton.java
10573 (JToggleButton): Modify model constructor.
10574 * javax/swing/SwingUtilities.java
10575 (layoutCompoundLabel): Adjust arithmetic.
10576 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10577 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10578 (getPreferredButtonSize): Include margins in calculation.
10579 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10580 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10581 Receive up events from subordinate layout component.
10583 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10585 * java/awt/Component.java (show): Set visible to true before
10588 2004-01-21 Kim Ho <kho@redhat.com>
10590 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10592 (removeMenuBarPeer): Make package private.
10593 (setMenuBarPeer): Make package private.
10594 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10595 (menubar_resize_cb): Mark attributes unused.
10596 (getMenuBarHeight): ditto.
10598 2004-01-21 David Jee <djee@redhat.com>
10600 * java/awt/Container.java
10601 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10602 dispatching MOUSE_ENTERED event twice. Translate the point for
10603 the mouse event target before dispatching the event.
10605 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10607 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10608 lib_org_w3c_dom_la_LDFLAGS): New.
10609 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10610 * Makefile.in: Rebuilt.
10612 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10614 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10615 Calculate proper offsets for heavyweight components packed in
10616 lightweight containers.
10618 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10619 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10620 (native create): Add width parameter.
10621 (create): Calculate text entry width based on current font's
10622 metrics and number of columns. Set TextField's font if not
10623 already set. Call native create.
10624 (gtkEntryGetBorderWidth): New native method.
10625 (gtkEntryGetSize): Remove method.
10626 (getMinimumSize): Call minimumSize.
10627 (getPreferredSize): Call preferredSize.
10628 (minimumSize): Calculate minimum size based on backing
10629 GtkEntry's borders, font metrics and number of columns.
10630 (preferredSize): Likewise for preferred size.
10631 (get_border_width): New static function.
10633 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10634 Override GtkWindowPeer's setResizable method to account for menu
10635 bar height when setting the frame's size.
10637 2004-01-19 Matthias Klose <doko@debian.org>
10639 * libtool-version: Increased `current' to 6.
10641 2004-01-19 Kim Ho <kho@redhat.com>
10643 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10644 (connectJObject): Iterate through the vbox's children to find layout.
10646 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10648 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10649 isDispatchThread method to replace wrong test condition.
10651 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10653 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10654 events to the queue out of order by acquiring locks in the proper
10655 order and not by releasing one before acquiring the other.
10657 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10659 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10660 visible so that dialog can be reused.
10662 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10664 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10665 events may be handled by any queue in the stack.
10667 2004-01-19 Kim Ho <kho@redhat.com>
10669 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10670 MenuBarPeer parameter.
10671 (removeMenuBarPeer): New native method.
10672 (setMenuBar): Call remove if menu bar is null. Adjust insets
10674 (postSizeAllocateEvent): New method. Called when menu bar size is
10675 allocated. Adjust insets and redo layout.
10676 (GtkFramePeer): Set menu bar during frame creation.
10677 (postConfigureEvent): Adjust position and size to accomodate
10679 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10680 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10681 (addNotify): Create the peer if it doesn't exist and call addNotify
10682 for the menu's items.
10683 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10684 * java/awt/MenuItem.java (addNotify): Create the peer if it
10686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10687 (removeMenuBarPeer): New method. Remove menu bar on the current
10689 (setMenuBarPeer): Add the menu bar to the current frame and the
10690 callback for size-allocate events on the menu bar.
10691 (getMenuBarHeight): Add menu bar parameter.
10692 (menubar_resize_cb): New callback method for postSizeAllocate events.
10694 Also: Fix indentation on last ChangeLog entry.
10696 2004-01-16 Kim Ho <kho@redhat.com>
10698 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10699 (gtkWidgetGetDimensions): Remove.
10700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10701 (gtkWidgetGetDimensions): Remove.
10703 2004-01-16 Tom Tromey <tromey@redhat.com>
10705 * java/awt/Container.java: Typo and indentation fixes.
10707 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10708 * java/lang/natVMClassLoader.cc: ...here. New file.
10709 * Makefile.in: Rebuilt.
10710 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10712 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10715 Discard GDK_ENTER_NOTIFY related to ungrabs.
10717 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10719 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10720 is called for an intermediate queue.
10722 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10724 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10725 (window_property_changed_cb): Set id_set.
10727 2004-01-16 Kim Ho <kho@redhat.com>
10729 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10730 it is a FileDialog and has dimensions of 0 by 0, then the initial
10731 size is set to size request plus insets.
10732 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10733 (gtkWidgetGetDimensions): Override method.
10734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10735 (gtkWidgetGetDimensions): Override method. Returns size request plus
10738 2004-01-16 Andrew Haley <aph@redhat.com>
10740 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10741 * sysdep/i386/locks.h: Likewise.
10743 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10745 * java/awt/EventDispatchThread.java (run): Stop running when
10747 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10748 Reset the queue after transferring its contents.
10749 (push): Start a new dispatch thread if none is running.
10751 2004-01-16Â Olga Rodimina <rodimina@redhat.com>
10753 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10754 (doPolygon): set fill rule of polygon to
10755 WIND_EVEN_ODD by default.
10757 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10759 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10760 Implemented rendering hints related methods.
10761 (getDefaultHints): New helper method. Returns
10762 default rendering hints.
10763 (walkPath): changed to normalize path if
10764 the KEY_STROKE_CONTROL key is in "normalize" mode.
10765 (draw3DRect): changed coordinates of rectangle by +0.5
10766 if in "normalize" mode.
10768 2004-01-15 Tom Tromey <tromey@redhat.com>
10770 * Makefile.in: Rebuilt.
10771 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10772 (%.lo: %.java) Filter out StackTrace.lo.
10774 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10776 * configure.in: Add in AC_PREREQ(2.13)
10777 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10780 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10781 Tom Tromey <tromey@redhat.com>
10784 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10785 array to superclass.
10786 (init): Changed interface; add URLs here.
10787 (initialize): New static method.
10788 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10789 (_Jv_RunMain): ... not here.
10791 2004-01-14 Michael Koch <konqueror@gmx.de>
10793 * java/text/MessageFormat.java:
10794 Added descriptions to exceptions.
10795 This fixes PR libgcj/2429.
10797 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10799 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10800 (push): Make sure push is performed at the top of the thread stack.
10802 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10804 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10805 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10806 (native create): Add width and height parameters. Set text
10807 view's size request according to new parameters.
10808 (create): Calculate text view size based on current font's
10809 metrics and number of rows and columns. Set TextArea's font if
10810 not already set. Call native create.
10811 (getMinimumSize): Call minimumSize.
10812 (getPreferredSize): Call preferredSize.
10813 (getHScrollbarHeight): New method.
10814 (getVScrollbarWidth): New method.
10815 (minimumSize): Calculate minimum size based on scrollbar
10816 visibility, scrollbar sizes, font metrics and number of rows and
10818 (preferredSize): Likewise for preferred size.
10819 (gtkTextGetSize): Remove method.
10821 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10823 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10824 (initializeInsets): Remove method.
10825 (GtkComponentPeer): Initialize insets field. Remove call to
10827 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10829 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10831 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10832 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10833 (latestInsets): Remove field.
10834 (native create): Add insets parameter. Call
10835 window_get_frame_extents. Set the window's default size and
10836 size request based on its frame extents.
10837 (create): Initialize insets.
10838 (postInsetsChangedEvent): New method.
10839 (postConfigureEvent): Remove parameters top, left, bottom,
10840 right. Remove insets-related logic.
10841 (connectJObject): Handle property-notify-event.
10842 (window_get_frame_extents, request_frame_extents,
10843 property_notify_predicate, window_property_changed_cb): New
10845 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10846 (pre_event_handler): Remove insets-related logic for configure
10848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10849 Update postConfigureEvent signature.
10851 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10853 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10854 to handle Window "Closing" events.
10856 2004-01-13 David Jee <djee@redhat.com>
10858 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10859 (setBackground): New method. Children with no explicitly-set
10860 background will be repainted with the parent container's new
10863 2004-01-13 David Jee <djee@redhat.com>
10865 * Makefile.am: Add BitwiseXORComposite.java.
10866 * Makefile.in: Regenerated.
10867 * gcj/Makefile.in: Regenerated.
10868 * include/Makefile.in: Regenerated.
10869 * testsuite/Makefile.in: Regenerated.
10871 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10873 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10874 not show modal dialogs twice and so that it allows showing a modal
10875 dialog from another modal dialog.
10877 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10879 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10880 and run secondary dispatch thread to process event queue while this
10883 2004-01-12 Graydon Hoare <graydon@redhat.com>
10885 * gnu/java/awt/gtk/GdkGraphics2D.java
10886 (static): Check GtkToolkit before initializing static state.
10887 (Graphics2D): Don't construct transform with 0.5 unit offset.
10889 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10891 * gnu/java/awt/BitwiseXORComposite.java: Add.
10892 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10893 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10894 (BitwiseXORComposite): Remove inner class.
10896 2004-01-11 Michael Koch <konqueror@gmx.de>
10898 * gnu/java/lang/reflect/TypeSignature.java
10899 (getEncodingOfClass): Documentation fixed.
10900 (getClassForEncoding): Give class loader to Class.forName().
10901 Documentation fixed.
10903 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10905 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10907 2004-01-11 Michael Koch <konqueror@gmx.de>
10909 * javax/swing/undo/StateEditable.java
10910 (RCSID): Removed redundant modifiers.
10912 2004-01-10 Michael Koch <konqueror@gmx.de>
10914 * javax/print/attribute/EnumSyntax.java
10915 (getStringTable): Made protected.
10916 (getEnumValueTable): Likewise.
10917 * javax/print/attribute/standard/JobKOctetsProcessed.java
10918 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10919 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10920 (JobMediaSheetsCompleted): Made class final.
10921 * javax/print/attribute/standard/OutputDeviceAssigned.java
10922 (getName): Fixed typo.
10923 * javax/print/attribute/standard/RequestingUserName.java
10924 (serialVersionUID): Fixed value.
10926 2004-01-10 Michael Koch <konqueror@gmx.de>
10928 * javax/swing/plaf/basic/BasicButtonUI.java,
10929 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10930 javax/swing/plaf/basic/BasicListUI.java,
10931 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10932 javax/swing/plaf/basic/BasicPanelUI.java,
10933 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10934 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10935 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10936 javax/swing/plaf/basic/BasicViewportUI.java:
10937 Fixed import statements.
10939 2004-01-10 Michael Koch <konqueror@gmx.de>
10941 * gnu/java/awt/image/ImageDecoder.java
10942 (produce): Made public.
10943 * gnu/java/awt/peer/GLightweightPeer.java,
10944 gnu/java/awt/peer/gtk/GtkToolkit.java:
10947 2004-01-10 Michael Koch <konqueror@gmx.de>
10949 * javax/swing/JRadioButtonMenuItem.java,
10950 javax/swing/JSeparator.java,
10951 javax/swing/JSplitPane.java,
10952 javax/swing/JTextPane.java,
10953 javax/swing/JToolBar.java,
10954 javax/swing/ListCellRenderer.java,
10955 javax/swing/ListModel.java,
10956 javax/swing/MenuElement.java,
10957 javax/swing/OverlayLayout.java,
10958 javax/swing/ProgressMonitor.java,
10959 javax/swing/ProgressMonitorInputStream.java,
10960 javax/swing/Renderer.java,
10961 javax/swing/RootPaneContainer.java,
10962 javax/swing/Scrollable.java,
10963 javax/swing/SingleSelectionModel.java,
10964 javax/swing/ToolTipManager.java,
10965 javax/swing/ViewportLayout.java,
10966 javax/swing/event/DocumentEvent.java,
10967 javax/swing/event/SwingPropertyChangeSupport.java,
10968 javax/swing/event/TreeSelectionEvent.java,
10969 javax/swing/event/UndoableEditEvent.java,
10970 javax/swing/text/AbstractDocument.java,
10971 javax/swing/text/AttributeSet.java,
10972 javax/swing/text/Caret.java,
10973 javax/swing/text/ComponentView.java,
10974 javax/swing/text/DefaultCaret.java,
10975 javax/swing/text/DefaultEditorKit.java,
10976 javax/swing/text/Document.java,
10977 javax/swing/text/EditorKit.java,
10978 javax/swing/text/GapContent.java,
10979 javax/swing/text/Keymap.java,
10980 javax/swing/text/MutableAttributeSet.java,
10981 javax/swing/text/PlainEditorKit.java,
10982 javax/swing/text/Segment.java,
10983 javax/swing/text/Style.java,
10984 javax/swing/text/StyledDocument.java,
10985 javax/swing/text/StyledEditorKit.java,
10986 javax/swing/text/TextAction.java,
10987 javax/swing/text/View.java: Fixed import statements.
10989 2004-01-08 Graydon Hoare <graydon@redhat.com>
10991 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10992 djee@redhat.com's recent inverse ordering of Container elements.
10994 2004-01-09 Michael Koch <konqueror@gmx.de>
10996 * gnu/java/lang/ArrayHelper.java
10997 (equalsArray): Removed.
10999 2004-01-09 Andrew Haley <aph@redhat.com>
11001 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
11002 a Utf8Const field before looking at its class.
11004 2004-01-09 Michael Koch <konqueror@gmx.de>
11006 * javax/print/attribute/standard/DocumentName.java,
11007 javax/print/attribute/standard/JobHoldUntil.java,
11008 javax/print/attribute/standard/JobMessageFromOperator.java,
11009 javax/print/attribute/standard/JobName.java,
11010 javax/print/attribute/standard/JobOriginatingUserName.java,
11011 javax/print/attribute/standard/OutputDeviceAssigned.java,
11012 javax/print/attribute/standard/PrinterInfo.java,
11013 javax/print/attribute/standard/PrinterLocation.java,
11014 javax/print/attribute/standard/PrinterMakeAndModel.java,
11015 javax/print/attribute/standard/PrinterMessageFromOperator.java,
11016 javax/print/attribute/standard/PrinterName.java,
11017 javax/print/attribute/standard/RequestingUserName.java: New files.
11018 * Makefile.am (javax_source_files): Added new files.
11019 * Makefile.in: Regenerated.
11021 2004-01-09 Michael Koch <konqueror@gmx.de>
11023 * javax/swing/AbstractAction.java,
11024 javax/swing/AbstractSet.java,
11025 javax/swing/Action.java,
11026 javax/swing/ActionMap.java,
11027 javax/swing/BoundedRangeModel.java,
11028 javax/swing/ButtonModel.java,
11029 javax/swing/CellEditor.java,
11030 javax/swing/CellRendererPane.java,
11031 javax/swing/ComboBoxEditor.java,
11032 javax/swing/DebugGraphics.java,
11033 javax/swing/DefaultCellEditor.java,
11034 javax/swing/DefaultCellRenderer.java,
11035 javax/swing/DefaultComboBoxModel.java,
11036 javax/swing/DefaultDesktopManager.java,
11037 javax/swing/DefaultFocusManager.java,
11038 javax/swing/DefaultListCellRenderer.java,
11039 javax/swing/Icon.java,
11040 javax/swing/JButton.java,
11041 javax/swing/JCheckBoxMenuItem.java,
11042 javax/swing/JDesktopPane.java,
11043 javax/swing/JEditorPane.java,
11044 javax/swing/JMenu.java,
11045 javax/swing/JPanel.java,
11046 javax/swing/JPasswordField.java,
11047 javax/swing/JPopupMenu.java,
11048 javax/swing/JProgressBar.java: Reworked imports.
11050 2004-01-09 Michael Koch <konqueror@gmx.de>
11052 * java/awt/geom/PathIterator.java
11053 (WIND_EVEN_ODD): Removed redundant modifiers.
11054 (WIND_NON_ZERO): Likewise.
11055 (SEG_MOVETO): Likewise.
11056 (SEG_LINETO): Likewise.
11057 (SEG_QUADTO): Likewise.
11058 (SEG_CUBICTO): Likewise.
11059 (SEG_CLOSE): Likewise.
11060 * java/awt/image/SinglePixelPackedSampleModel.java:
11061 Removed redundant semicolon.
11062 * java/io/ObjectInputStream.java
11063 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
11064 * java/util/logging/Filter.java
11065 (isLoggable): Removed redundant modifier.
11066 * java/util/logging/LogManager.java:
11067 Removed redundant semicolon.
11068 * java/util/logging/XMLFormatter.java
11069 (format): Removed unused variable "key".
11071 2004-01-08 Fernando Nasser <fnasser@redhat.com>
11073 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
11074 New name for the former setFile native method.
11075 (setFile): New method.
11076 (setDirectory): Implemented.
11077 (connectSignals): New native method.
11078 (setFilenameFilter): Improve comment.
11079 (getGraphics): Comment.
11080 (gtkHideFileDialog): New method.
11081 (gtkDisposeFileDialog): New method.
11082 (gtkSetFilename): New method.
11083 * java/awt/Dialog.java (show): Block on modal dialogs, but only
11084 for FileDialog for now.
11085 (hide): New method.
11086 (dispose): New method.
11087 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11088 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11089 deprecated creation functions. Make dialog modal. Add it to the
11091 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11093 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11095 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11097 (window_closed): New function.
11098 (ok_clicked): New function.
11099 (cancel_clicked): New function.
11101 2004-01-08 Michael Koch <konqueror@gmx.de>
11103 * javax/swing/JLayeredPane.java: Revert changes to standard
11104 boilerplate, reworked imports.
11106 2004-01-07 Tom Tromey <tromey@redhat.com>
11109 * verify.cc (state::merge): Copy changed locals out of subroutine
11111 (state::FLAG_CHANGED): New const.
11112 (state::FLAG_UNUSED): Likewise.
11113 (state::local_changed): Removed. Updated all users.
11114 (state::flags): New field.
11115 (state::merge): Added jsr_semantics argument, more logic.
11116 (push_jump_merge): Added jsr_semantics argument.
11117 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11118 merging through the jsr instruction.
11120 2004-01-07 Tom Tromey <tromey@redhat.com>
11122 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11125 2004-01-07 Graydon Hoare <graydon@redhat.com>
11127 * java/awt/Container.java (LightweightDispatcher): Implement.
11128 (visitChild): Reuse graphics object.
11129 (dispatchEventImpl): Optionally dispatch to lightweight.
11130 (addNotifyContainerChildren): Build LightweightDispatcher.
11132 2004-01-07 David Jee <djee@redhat.com>
11134 * java/awt/Container.java
11135 (update): Clear only the clipped region, instead of clearing the
11137 (visitChildren): Visit children in descending order.
11139 2004-01-07 Michael Koch <konqueror@gmx.de>
11141 * java/lang/reflect/Array.java: Merged documentation with classpath.
11143 2004-01-07 Michael Koch <konqueror@gmx.de>
11145 * java/text/CollationElementIterator.java
11146 (textIndex): Renamed from index.
11147 * java/text/CollationKey.java
11148 (collator): New member.
11149 (CollationKey): New argument for parent collator.
11150 (equals): Check for same collator, source string and key array.
11151 * java/text/RuleBasedCollator.java:
11153 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11155 (getCollationElementIterator): Rewritten.
11156 (getCollationKey): Added new argument to CollationKey constructor.
11158 2004-01-07 Michael Koch <konqueror@gmx.de>
11160 * gnu/java/nio/DatagramChannelImpl.java
11161 (blocking): Removed.
11162 (DatagramChannelImpl): Call configureBlocking().
11163 (implConfigureBlocking): Dont initialize blocking.
11164 * gnu/java/nio/ServerSocketChannelImpl.java
11165 (blocking): Removed.
11166 (ServerSocketChannelImpl): Call configureBlocking().
11167 (implConfigureBlocking): Dont initialize blocking.
11168 * gnu/java/nio/SocketChannelImpl.java
11169 (blocking): Removed.
11170 (SocketChannelImpl): Call configureBlocking().
11171 (implConfigureBlocking): Dont initialize blocking.
11172 (connect): Use isBlocking().
11173 * java/nio/channels/spi/AbstractSelectableChannel.java
11174 (configureBlocking): Use blockingLock() instead of LOCK.
11175 Set blocking after successfully called implConfigureBlocking().
11176 (register): Use blockingLock() instead of LOCK.
11178 2004-01-07 Michael Koch <konqueror@gmx.de>
11180 * java/net/ServerSocket.java (isBound): Fixed documentation.
11182 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11184 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11185 (changeEvent): Create event object on demand.
11186 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11187 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11188 fireStateChanged): Re-written.
11189 * javax/swing/event/EventListenerList.java: Reformatted, document
11191 (toString): Implemented.
11192 (getListeners): Re-written.
11193 (remove): Re-written.
11195 (NO_LISTENERS): New singleton field.
11196 (listenerList): Declare as transient; document.
11197 (serialVersionUID): Document.
11198 (getListenerCount(Class)): More efficient implementation,
11199 also accepts null argument. Improve Javadoc.
11200 (getListenerCount()): Remove unnecessary cast; docfix.
11201 * javax/swing/undo/UndoableEditSupport.java:
11202 Re-format, document.
11203 (UndoableEditSupport): Set realSource field. Improve documentation.
11204 (_postEdit): Iterate over cloned listener vector.
11205 (toString): Don't emit realSource.
11206 (beginUpdate, endUpdate): Support nested updates.
11207 (postEdit): Use compound edit if present.
11209 2004-01-06 Graydon Hoare <graydon@redhat.com>
11211 * java/awt/Container.java (swapComponents): Add forgotten
11212 function, required for JLayeredPane change.
11214 2004-01-06 Michael Koch <konqueror@gmx.de>
11216 * java/text/CollationElementIterator.java: Reformated.
11217 (CollationElementIterator): Changed order of arguments.
11218 * java/text/RuleBasedCollator.java
11219 (RuleBasedCollator): Merged class documentation.
11220 (CollationElement): Added documentation.
11221 (compare): Reformated, renamed arguments.
11222 (equals): Likewise.
11223 (getCollationElementIterator): Likewise.
11224 (getCollationKey): Likewise.
11226 2004-01-06 Graydon Hoare <graydon@redhat.com>
11228 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11230 2004-01-06 Michael Koch <konqueror@gmx.de>
11232 * gnu/java/net/protocol/file/Connection.java:
11233 Reformated copyright.
11234 (hdrHash): Removed.
11236 (gotHeaders): Removed.
11237 (getHeaderField): Removed.
11238 (getHeaderField): Removed.
11239 (getHeaderFieldKey): Removed.
11241 (getField): Removed.
11242 (getHeaders): Removed.
11244 2004-01-06 Michael Koch <konqueror@gmx.de>
11246 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11247 javax/print/attribute/standard/DateTimeAtCreation.java,
11248 javax/print/attribute/standard/DateTimeAtProcessing.java,
11249 javax/print/attribute/standard/JobImpressionsCompleted.java,
11250 javax/print/attribute/standard/JobKOctets.java,
11251 javax/print/attribute/standard/JobKOctetsProcessed.java,
11252 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11253 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11254 * Makefile.am (javax_source_files): Added new files.
11255 * Makefile.in: Regenerated.
11257 2004-01-06 Michael Koch <konqueror@gmx.de>
11259 * java/net/URLConnection.java
11260 (contentHandler): Removed.
11262 (getHeaderFields): Return an empty map instead of null.
11263 (getContent): Connect if needed, renamed "cType" to "type" and
11264 "contentHandler" to "ch" and made it a local variable.
11265 (getPermission): Don't use package in class name.
11266 (setDefaultRequestProperty): Fixed typo in documentation.
11267 (initializeDateFormats): Made locale a local variable.
11269 2004-01-06 Michael Koch <konqueror@gmx.de>
11271 * java/lang/Package.java
11272 (getPackage): Get the current class loader directly.
11273 * java/lang/SecurityManager.java
11274 (currentLoadedClass): Dont iterate over class contexts.
11275 (classLoaderDepth): Don't check class loaders if everything is allowed.
11277 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11280 (pre_event_handler): Set all insets to 0 when a Configure event
11281 is received for a GtkPlug.
11282 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11283 Make handle long, not int.
11284 (EmbeddedWindow()): New constructor.
11285 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11287 (setHandle): New method.
11288 (getHandle): Return long, not int.
11289 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11291 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11292 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11293 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11294 argument to GdkNativeWindow.
11295 (construct): New method.
11296 (embed): New method.
11298 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11299 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11300 (create(int, int)): New method.
11301 (create): Call new create method.
11302 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11304 (childResized): Remove native implementation. Implement in
11306 (getHScrollbarHeight, getVScrollbarWidth): Call
11307 gtk_widget_size_request to get scrollbar dimensions.
11308 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11309 call getVScrollbarWidth and getHScrollbarHeight when vertical
11310 and horizontal scrollbars respectively are needed.
11311 (doLayout): Enlarge child if it is smaller than the viewport.
11313 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11315 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11316 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11317 argument as per spec.
11319 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11321 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11323 (remove): Ditto. Also, Check for valid argument.
11324 (removeAll): Use peer interface method.
11325 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11326 native add function.
11327 (nativeRemove): New name for native remove function.
11328 (getHistory): New native function.
11329 (constructor): Generate ItemEvent.
11330 (add): Ditto, if selection is changed.
11331 (remove): Ditto, ditto.
11332 (removeAll): Add implementation.
11333 (handleEvent): Remove. Dead code.
11334 (choicePostItemEvent): Add comment.
11335 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11336 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11337 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11338 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11339 comments and fix condition to change selection.
11340 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11341 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11342 remove all capability.
11343 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11344 (item_activate): Add cast to remove compiler warning.
11346 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11348 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11349 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11350 (getPreferredSize): Call preferredSize.
11351 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11352 (getMinimumSize): Call minimumSize.
11353 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11354 (gtkWidgetGetDimensions): Return the peer widget's current size
11356 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11357 natural size request.
11359 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11361 Thanks to Brian Gough <bjg@network-theory.com>
11362 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11363 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11365 2004-01-04 Matthias Klose <doko@debian.org>
11367 * aclocal.m4: Rebuilt using "aclocal -I .".
11368 * configure: Rebuilt.
11370 2004-01-03 Per Bothner <per@bothner.com>
11372 * java/util/Date.java (parse): Fix a number of problems.
11373 (skipParens): Remove no-longer-needed method.