PlainDatagramSocketImpl.java: Reworked import statements.
[gcc.git] / libjava / ChangeLog
1 2004-10-18 Michael Koch <konqueror@gmx.de>
2
3 * gnu/java/net/PlainDatagramSocketImpl.java:
4 Reworked import statements.
5 * gnu/java/security/provider/DSAParameters.java:
6 Fixed copyrigth years.
7 * java/net/JarURLConnection.java:
8 Fixed HTML in @author tags.
9
10
11 2004-10-18 Michael Koch <konqueror@gmx.de>
12
13 * java/rmi/activation/ActivationSystem.java
14 (SYSTEM_PORT): Initialize with correct port number.
15
16 2004-10-18 Michael Koch <konqueror@gmx.de>
17
18 * java/lang/reflect/Proxy.java: Improved javadocs.
19
20 2004-10-18 Michael Koch <konqueror@gmx.de>
21
22 * java/lang/reflect/AccessibleObject.java
23 (checkPermission): Removed redundant final modifier.
24 (secureSetAccessible): Likewise.
25 * java/lang/reflect/Proxy.java:
26 Reworked import statements.
27 (generate): Removed redundant final modifier.
28 * java/lang/reflect/ReflectPermission.java:
29 Reorder package declaration and import statement.
30
31 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
32
33 * java/lang/reflect/Proxy.java
34 (count): Removed useless initializer.
35
36 2004-10-17 Michael Koch <konqueror@gmx.de>
37
38 * java/net/BindException.java,
39 java/net/ConnectException.java,
40 java/net/ContentHandler.java,
41 java/net/ContentHandlerFactory.java,
42 java/net/DatagramPacket.java,
43 java/net/DatagramSocket.java,
44 java/net/DatagramSocketImpl.java,
45 java/net/DatagramSocketImplFactory.java,
46 java/net/FileNameMap.java,
47 java/net/HttpURLConnection.java,
48 java/net/MalformedURLException.java,
49 java/net/MulticastSocket.java,
50 java/net/NetworkInterface.java,
51 java/net/NoRouteToHostException.java,
52 java/net/PasswordAuthentication.java,
53 java/net/PortUnreachableException.java,
54 java/net/ProtocolException.java,
55 java/net/ServerSocket.java,
56 java/net/Socket.java,
57 java/net/SocketException.java,
58 java/net/SocketImpl.java,
59 java/net/SocketImplFactory.java,
60 java/net/SocketOptions.java,
61 java/net/SocketPermission.java,
62 java/net/SocketTimeoutException.java,
63 java/net/URI.java,
64 java/net/URISyntaxException.java,
65 java/net/URL.java,
66 java/net/URLDecoder.java,
67 java/net/URLEncoder.java,
68 java/net/URLStreamHandler.java,
69 java/net/URLStreamHandlerFactory.java,
70 java/net/UnknownHostException.java,
71 java/net/UnknownServiceException.java:
72 Big import statement and @author tag cleanup.
73
74 2004-10-17 Michael Koch <konqueror@gmx.de>
75
76 * gnu/java/security/OID.java,
77 gnu/java/security/provider/DSAParameters.java,
78 gnu/java/security/provider/DSASignature.java,
79 gnu/java/security/x509/X500DistinguishedName.java,
80 gnu/java/security/x509/X509CRL.java:
81 Import statements cleaned up.
82
83 2004-10-16 Michael Koch <konqueror@gmx.de>
84
85 * gnu/java/nio/NIODatagramSocket.java,
86 gnu/java/nio/ServerSocketChannelImpl.java:
87 Reorganized import statements.
88
89 2004-10-16 Michael Koch <konqueror@gmx.de>
90
91 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
92 gnu/java/rmi/rmic/RMIC.java,
93 gnu/java/rmi/server/RMIHashes.java,
94 gnu/java/rmi/server/RMIObjectInputStream.java,
95 gnu/java/rmi/server/RMIObjectOutputStream.java,
96 gnu/java/rmi/server/UnicastConnection.java,
97 gnu/java/rmi/server/UnicastConnectionManager.java,
98 gnu/java/rmi/server/UnicastRemoteCall.java,
99 gnu/java/rmi/server/UnicastServer.java,
100 gnu/java/rmi/server/UnicastServerRef.java,
101 java/rmi/MarshalledObject.java,
102 java/rmi/Naming.java,
103 java/rmi/RMISecurityManager.java,
104 java/rmi/Remote.java,
105 java/rmi/activation/Activatable.java,
106 java/rmi/activation/ActivationDesc.java,
107 java/rmi/activation/ActivationGroup.java,
108 java/rmi/activation/ActivationGroupDesc.java,
109 java/rmi/activation/ActivationGroupID.java,
110 java/rmi/activation/ActivationID.java,
111 java/rmi/activation/ActivationInstantiator.java,
112 java/rmi/activation/ActivationMonitor.java,
113 java/rmi/activation/ActivationSystem.java,
114 java/rmi/activation/Activator.java,
115 java/rmi/dgc/DGC.java,
116 java/rmi/dgc/Lease.java,
117 java/rmi/dgc/VMID.java,
118 java/rmi/registry/LocateRegistry.java,
119 java/rmi/registry/Registry.java,
120 java/rmi/registry/RegistryHandler.java,
121 java/rmi/server/LoaderHandler.java,
122 java/rmi/server/LogStream.java,
123 java/rmi/server/ObjID.java,
124 java/rmi/server/Operation.java,
125 java/rmi/server/RMIClassLoader.java,
126 java/rmi/server/RMIClassLoaderSpi.java,
127 java/rmi/server/RMIClientSocketFactory.java,
128 java/rmi/server/RMIFailureHandler.java,
129 java/rmi/server/RMIServerSocketFactory.java,
130 java/rmi/server/RMISocketFactory.java,
131 java/rmi/server/RemoteCall.java,
132 java/rmi/server/RemoteObject.java,
133 java/rmi/server/RemoteRef.java,
134 java/rmi/server/RemoteServer.java,
135 java/rmi/server/RemoteStub.java,
136 java/rmi/server/ServerRef.java,
137 java/rmi/server/Skeleton.java,
138 java/rmi/server/SkeletonMismatchException.java,
139 java/rmi/server/UID.java,
140 java/rmi/server/UnicastRemoteObject.java,
141 java/rmi/server/Unreferenced.java:
142 File headers and import statements cleaned up.
143
144 2004-10-16 Michael Koch <konqueror@gmx.de>
145
146 * libjava/gnu/java/nio/charset/UTF_16.java,
147 libjava/gnu/java/nio/charset/UTF_16BE.java,
148 libjava/gnu/java/nio/charset/UTF_16LE.java,
149 libjava/java/nio/ByteOrder.java,
150 libjava/java/nio/MappedByteBuffer.java,
151 libjava/java/nio/channels/Channels.java,
152 libjava/java/nio/channels/spi/SelectorProvider.java,
153 libjava/java/nio/charset/Charset.java:
154 Cleanup.
155
156 2004-10-16 Michael Koch <konqueror@gmx.de>
157
158 * gnu/java/nio/charset/UTF_16Encoder.java
159 (UTF_16Encoder): Fixed maxBytesPerChar handling.
160
161 2004-10-16 Michael Koch <konqueror@gmx.de>
162
163 * java/math/BigDecimal.java, java/math/BigInteger.java:
164 Reorganized import statements, removed redundant and
165 reorganized modifiers.
166
167 2004-10-16 Michael Koch <konqueror@gmx.de>
168
169 * gnu/java/beans/ExplicitBeanInfo.java:
170 Explicitely import java.awt.Image.
171 (getIcon): Fixed off-by-one error.
172
173 2004-10-15 Andrew Haley <aph@redhat.com>
174
175 * Makefile.am (nat_files, xlib_nat_files): New.
176 * Makefile.in: Regenerate.
177
178 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
179
180 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
181 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
182
183 2004-10-13 Andrew Haley <aph@redhat.com>
184
185 * interpret.cc (_Jv_InterpMethod::run): Initialize
186 _Jv_StartOfInterpreter.
187 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
188 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
189 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
190 _Unwind_FindEnclosingFunction to discover whether PC is within the
191 interpreter.
192
193 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
194
195 PR libgcj/17903:
196 * testsuite/libjava.lang/md5test.java: New file.
197 * testsuite/libjava.lang/md5test.out: Likewise.
198 * testsuite/libjava.lang/shatest.java: Likewise.
199 * testsuite/libjava.lang/shatest.out: Likewise.
200
201 2004-10-11 Richard Henderson <rth@redhat.com>
202
203 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
204 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
205
206 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
207
208 * java/util/Calendar.java (set): Invalidate DST_OFFSET
209 field as a DST boundary may have been crossed.
210 * java/util/GregorianCalendar.java (add): Throw
211 IllegalArgumentException on attempt to add to DST_OFFSET or
212 ZONE_OFFSET fields. Update javadoc.
213
214 2004-10-09 Michael Koch <konqueror@gmx.de>
215
216 * java/io/CharArrayWriter.java
217 (resize): Removed redundant 'final' modifier.
218 * java/io/DataInputStream.java
219 (readFully): Throw IndexOutOfBoundsException of len < 0.
220 * java/io/FileDescriptor.java,
221 java/io/FileInputStream.java,
222 java/io/FileOutputStream.java,
223 java/io/ObjectOutputStream.java,
224 java/io/ObjectStreamClass.java,
225 java/io/PipedInputStream.java,
226 java/io/RandomAccessFile.java:
227 Reorganized import statements.
228
229 2004-10-09 Michael Koch <konqueror@gmx.de>
230
231 * gnu/java/rmi/rmic/RMIC.java,
232 gnu/java/rmi/server/RMIHashes.java,
233 gnu/java/rmi/server/RMIObjectInputStream.java,
234 gnu/java/rmi/server/UnicastConnection.java,
235 gnu/java/rmi/server/UnicastConnectionManager.java,
236 gnu/java/rmi/server/UnicastRemoteCall.java,
237 gnu/java/rmi/server/UnicastServerRef.java:
238 Reworked import statements and fixed file headers.
239
240 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
241
242 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
243 emission rule.
244 * configure: Rebuilt.
245
246 2004-09-30 Tom Tromey <tromey@redhat.com>
247
248 * java/text/MessageFormat.java (Field): Constructor now
249 protected.
250
251 2004-09-30 Tom Tromey <tromey@redhat.com>
252
253 * javax/crypto/MacSpi.java: Fixed typo.
254
255 2004-09-30 Michael Koch <konqueror@gmx.de>
256
257 * java/net/InetAddress.java: Reformatted.
258 (loopback): Initialize with Inet4Address object.
259 (static): Initialize ANY_IF with Inet4Address object.
260 (InetAddress): Removed unused package-private constructor.
261
262 2004-09-30 Michael Koch <konqueror@gmx.de>
263
264 * java/beans/Beans.java,
265 java/beans/EventHandler.java,
266 java/beans/EventSetDescriptor.java,
267 java/beans/Introspector.java,
268 java/beans/PropertyEditorManager.java,
269 java/beans/beancontext/BeanContext.java,
270 java/beans/beancontext/BeanContextChild.java,
271 java/beans/beancontext/BeanContextChildSupport.java,
272 java/beans/beancontext/BeanContextMembershipEvent.java:
273 Reordered import statements and removed redundant modifiers.
274
275 2004-09-29 Tom Tromey <tromey@redhat.com>
276
277 PR libgcj/17715:
278 * Makefile.in: Rebuilt.
279 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
280 files.
281 (all_property_files): New macro.
282
283 * Makefile.in: Rebuilt.
284 * Makefile.am (ordinary_java_source_files): Re-sorted.
285 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
286
287 2004-09-28 Tom Tromey <tromey@redhat.com>
288
289 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
290
291 PR libgcj/17222:
292 * Makefile.am (libgcj.la): Restored.
293 * Makefile.in: Rebuilt.
294
295 2004-09-28 Michael Koch <konqueror@gmx.de>
296
297 * java/net/URLConnection.java: Reformatted.
298 * java/net/URLClassLoader.java: Reformatted.
299 (getContent): Reordered return of content.
300 (getContentHandler): Don't check for null explicitely.
301
302 2004-09-27 Michael Koch <konqueror@gmx.de>
303
304 * java/io/BufferedInputStream.java
305 (BufferedInputStream): Added Jeroen Frijters to authors.
306 (count): Don't explicitely initialize with default value.
307 (pos): Likewise.
308 (marklimit): Likewise.
309 (read): Changed boolean expression to match GNU classpath' version.
310 (reset): Add proper message to exception.
311 (skip): Check for closed stream.
312 (refill): Likewise.
313
314 2004-09-26 Per Bothner <per@bothner.com>
315
316 * prims.cc (unblock_signal): Annotate signum with __unused__ to
317 avoid warnings in the non-POSIX_VERSION case.
318 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
319 so place it inside an #if block.
320 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
321 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
322 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
323 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
324
325 2004-09-26 Per Bothner <per@bothner.com>
326
327 * prims.cc (process_gcj_properties): Optimization.
328
329 2004-09-26 Per Bothner <per@bothner.com>
330
331 * java/util/Collections.java (sort): Copy from array in forwards
332 order, rather than reverse order which may be much less efficient.
333
334 2004-09-26 Mark Wielaard <mark@klomp.org>
335
336 * java/lang/System.java (properties): Make package private.
337 * java/lang/Throwable.java (StaticData.nl): Initialize through
338 directly accessing System.properties.getProperty().
339
340 * java/lang/Throwable.java (nl): Remove static field.
341 (StaticData): New private static inner class.
342 (stackTraceStringBuffer): Use StaticData.nl.
343
344 2004-09-26 Casey Marshall <csm@gnu.org>
345
346 * java/security/ProtectionDomain.java
347 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
348 `true'.
349
350 * java/security/SecureClassLoader.java
351 (defineClass): make protection domain dynamically bound.
352 (getPermissions): call `getCurrentPolicy' to avoid permission
353 check.
354
355 2004-09-25 Mark Wielaard <mark@klomp.org>
356
357 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
358 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
359 * Makefile.in: Regenerated.
360
361 * gcj/javaprims.h: Regenerated.
362
363 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
364 (getDefaultTimeZone): Make package private. Check that GMToffset
365 contains at least one digit.
366 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
367 VMTimeZone.
368 * util/VMTimeZone.java: New file with above methods.
369
370 * java/util/natTimeZone.cc: Removed (renamed).
371 * java/util/natVMTimeZone.cc: Added (renamed).
372
373 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
374
375 * java/util/TimeZone.java
376 (getDefaultTimeZone): Fixed test to distinguish between hours and
377 minutes in specified timezone.
378
379 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
380
381 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
382 handling of default package. (generate): Removed confused comments
383 and code about making Method and Field accessible.
384
385 2004-09-25 Tom Tromey <tromey@redhat.com>
386
387 PR java/17500:
388 * testsuite/libjava.compile/pr17500.java: New file.
389
390 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
391 Mark Wielaard <mark@klomp.org>
392
393 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
394 * gnu/regexp/RETokenLookAhead.java: New file.
395
396 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
397 * Makefile.in: Regenerated.
398
399 2004-09-25 Michael Koch <konqueror@gmx.de>
400
401 * java/io/ObjectStreamField.java:
402 Removed unused import statement.
403
404 2004-09-24 Tom Tromey <tromey@redhat.com>
405
406 PR java/15656:
407 * testsuite/libjava.compile/pr15656.xfail: New file.
408 * testsuite/libjava.compile/pr15656.java: new file.
409
410 PR java/16789:
411 * testsuite/libjava.lang/pr16789.out: New file.
412 * testsuite/libjava.lang/pr16789.java: New file.
413
414 2004-09-24 Andrew Haley <aph@redhat.com>
415
416 PR java/16927
417 * testsuite/libjava.compile/AssertBug.java: New file.
418
419 2004-09-24 Casey Marshall <csm@gnu.org>
420
421 * java/util/PropertyPermissionCollection.java
422 (implies): avoid infinite loop.
423
424 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
425
426 * javax/security/auth/PrivateCredentialPermission.java
427 (PrivateCredentialPermission): added serialization UID
428
429
430 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
431
432 * gnu/java/rmi/server/UnicastServer.java
433 (incomingMessageCall): Added code to handle Errors.
434 * gnu/java/rmi/server/UnicastServerRef.java
435 (incomingMessageCall): Added code to handle Errors.
436
437
438 2004-09-24 Tom Tromey <tromey@redhat.com>
439
440 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
441 (definedPackages): Likewise.
442
443 2004-09-24 Michael Koch <konqueror@gmx.de>
444
445 * java/io/ObjectInputStream.java:
446 Re-ordered imports.
447
448 2004-09-24 Casey Marshall <csm@gnu.org>
449
450 * java/io/ObjectInputStream.java (callReadMethod): re-throw
451 `ClassNotFoundException'.
452
453 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
454
455 * java/io/ObjectInputStream.java (readObject): Delegate instantation
456 of Externalizable classes to ObjectStreamClass.
457 * java/io/ObjectStreamClass.java (newInstance): New method to
458 instantiate Externalizable (while ignoring the accessibility of
459 the constructor). (constructor): New field to cache the constructor.
460
461 2004-09-24 Mark Wielaard <mark@klomp.org>
462
463 * java/net/URL.java (systemClassLoader): New static field.
464 (getURLStreamHandler): Always use system/application classloader
465 for finding URLStreamhandler. Remove unecessary instanceof checks.
466
467 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
468
469 * java/net/URL.java
470 (set): This method now matches the behaviour of the JDK.
471 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
472
473 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
474
475 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
476
477 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
478
479 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
480 Don't set authority if host isn't specified.
481
482 2004-09-24 Michael Koch <konqueror@gmx.de>
483
484 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
485 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
486 * gnu/java/nio/VMPipe.java,
487 gnu/java/nio/VMSelector.java:
488 New files.
489 * gnu/java/nio/natPipeImplEcos.cc,
490 gnu/java/nio/natPipeImplPosix.cc,
491 gnu/java/nio/natPipeImplWin32.cc:
492 Ported to VMPipe.
493 * gnu/java/nio/natSelectorImplEcos.cc,
494 gnu/java/nio/natSelectorImplPosix.cc,
495 gnu/java/nio/natSelectorImplWin32.cc:
496 Ported to VMSelector.
497 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
498 gnu/java/nio/VMSelector.java.
499 * Makefile.in: Regenerated.
500
501 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
502
503 * java/lang/StackTraceElement.java
504 (className): Renamed field to declaringClass to be compatible
505 with Sun serialization format.
506
507 2004-09-23 Michael Koch <konqueror@gmx.de>
508
509 * java/applet/AppletContext.java,
510 java/applet/Applet.java,
511 java/applet/AppletStub.java,
512 java/applet/AudioClip.java:
513 Jalopied and checkstyle clean.
514
515 2004-09-23 Mark Wielaard <mark@klomp.org>
516
517 * java/util/Collections.java
518 (binarySearch(List, Object, Comparator)): Explicitly
519 reverse direction in list iterator.
520 (rotate): Just return when list is empty.
521
522 2004-09-23 Tom Tromey <tromey@redhat.com>
523
524 PR java/17329:
525 * testsuite/libjava.compile/pr17329.java: New file.
526
527 PR java/17380:
528 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
529 9.2-implicit-7.
530
531 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
532
533 * Makefile.am: Run aclocal with -I ../config
534 * acinclude.m4: Delete macros picked up from ../config and tidy.
535 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
536 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
537 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
538
539 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
540
541 * aclocal.m4: Regenerate with aclocal 1.9.2.
542 * configure: Regenerate.
543 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
544 * include/Makefile.in, testsuite/Makefile.in: Likewise.
545
546 2004-09-22 David Daney <ddaney@avtrex.com>
547
548 PR libgcj/17623
549 * java/net/URL.java (URL): Copy userInfo from context.
550 (getUserInfo): Return cached userInfo if present.
551
552 2004-09-22 Tom Tromey <tromey@redhat.com>
553
554 PR libgcj/6182:
555 * mauve-libgcj: Enable java.lang.Character tests.
556
557 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
558
559 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
560 dependencies.
561 (lib_org_ietf_jgss_la_LIBADD): Likewise.
562 * Makefile.in: Regenerated.
563
564 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
565
566 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
567 * configure: Regenerate.
568 * include/config.h.in: Likewise.
569 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
571 macro to gtkpeer.h.
572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
573 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
574 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
575 architectures.
576 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
577 Likewise.
578
579 2004-09-22 Tom Tromey <tromey@redhat.com>
580
581 PR libgcj/14446:
582 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
583 when comparing CRCs.
584 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
585 field.
586 (read()): New overload.
587
588 2004-09-21 Tom Tromey <tromey@redhat.com>
589
590 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
591 Indentation fix.
592
593 2004-09-21 Michael Koch <konqueror@gmx.de>
594
595 * java/net/Socket.java
596 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
597
598 2004-09-21 Casey Marshall <csm@gnu.org>
599
600 * javax/crypto/MacSpi.java (clone): Provide meaningful
601 implementation.
602
603 2004-09-21 Tom Tromey <tromey@redhat.com>
604
605 PR libgcj/16869:
606 * Makefile.in: Rebuilt.
607 * Makefile.am (MOSTLYCLEANFILES): Removed.
608 (mostlyclean-local): Remove header files.
609
610 2004-09-21 Casey Marshall <csm@gnu.org>
611
612 * java/security/cert/X509CRLSelector.java:
613 (match): remove unreachable try-catch clauses.
614 Reported by: Dalibor Topic <robilad@kaffe.org>
615
616 2004-09-21 Mark Wielaard <mark@klomp.org>
617
618 * java/util/TreeMap.java (root): Don't initialize.
619 (TreeMap(Comparator)): Call fabricateTree(0).
620 (fabricateTree): Initialize root and size when count is 0.
621
622 2004-09-21 Sven de Marothy <sven@physto.se>
623
624 * java/nio/ByteBuffer.java (hashCode): Implemented.
625 * java/nio/CharBuffer.java: Likewise.
626 * java/nio/DoubleBuffer.java: Likewise.
627 * java/nio/FloatBuffer.java: Likewise.
628 * java/nio/LongBuffer.java: Likewise.
629 * java/nio/IntBuffer.java: Likewise.
630 * java/nio/ShortBuffer.java: Likewise.
631
632 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
633
634 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
635
636 2004-09-21 Michael Koch <konqueror@gmx.de>
637
638 * javax/net/ssl/SSLServerSocket.java:
639 Removed comment about "Do not edit this file, it's generated.".
640
641 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
642
643 Import the big Crypto/Jessie/Security merge from Classpath.
644
645 * Makefile.am: Add imported files.
646 * Makefile.in: Regenerate.
647
648 2004-08-14 Casey Marshall <csm@gnu.org>
649
650 The Big Crypto Merge of 2004.
651
652 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
653 Crypto's version.
654
655 Files imported from GNU Crypto.
656 * javax/crypto/BadPaddingException.java
657 * javax/crypto/Cipher.java
658 * javax/crypto/CipherInputStream.java
659 * javax/crypto/CipherOutputStream.java
660 * javax/crypto/CipherSpi.java
661 * javax/crypto/EncryptedPrivateKeyInfo.java
662 * javax/crypto/ExemptionMechanism.java
663 * javax/crypto/ExemptionMechanismException.java
664 * javax/crypto/ExemptionMechanismSpi.java
665 * javax/crypto/IllegalBlockSizeException.java
666 * javax/crypto/KeyAgreement.java
667 * javax/crypto/KeyAgreementSpi.java
668 * javax/crypto/KeyGenerator.java
669 * javax/crypto/KeyGeneratorSpi.java
670 * javax/crypto/Mac.java
671 * javax/crypto/MacSpi.java
672 * javax/crypto/Makefile.am
673 * javax/crypto/NoSuchPaddingException.java
674 * javax/crypto/NullCipher.java
675 * javax/crypto/NullCipherImpl.java
676 * javax/crypto/SealedObject.java
677 * javax/crypto/SecretKey.java
678 * javax/crypto/SecretKeyFactory.java
679 * javax/crypto/SecretKeyFactorySpi.java
680 * javax/crypto/ShortBufferException.java
681 * javax/crypto/interfaces/DHKey.java
682 * javax/crypto/interfaces/DHPrivateKey.java
683 * javax/crypto/interfaces/DHPublicKey.java
684 * javax/crypto/interfaces/PBEKey.java
685 * javax/crypto/spec/DESKeySpec.java
686 * javax/crypto/spec/DESedeKeySpec.java
687 * javax/crypto/spec/DHGenParameterSpec.java
688 * javax/crypto/spec/DHParameterSpec.java
689 * javax/crypto/spec/DHPrivateKeySpec.java
690 * javax/crypto/spec/DHPublicKeySpec.java
691 * javax/crypto/spec/IvParameterSpec.java
692 * javax/crypto/spec/PBEKeySpec.java
693 * javax/crypto/spec/PBEParameterSpec.java
694 * javax/crypto/spec/RC2ParameterSpec.java
695 * javax/crypto/spec/RC5ParameterSpec.java
696 * javax/crypto/spec/SecretKeySpec.java
697 * javax/security/auth/AuthPermission.java
698 * javax/security/auth/DestroyFailedException.java
699 * javax/security/auth/Destroyable.java
700 * javax/security/auth/Policy.java
701 * javax/security/auth/PrivateCredentialPermission.java
702 * javax/security/auth/RefreshFailedException.java
703 * javax/security/auth/Refreshable.java
704 * javax/security/auth/Subject.java
705 * javax/security/auth/SubjectDomainCombiner.java
706 * javax/security/auth/callback/Callback.java
707 * javax/security/auth/callback/CallbackHandler.java
708 * javax/security/auth/callback/ChoiceCallback.java
709 * javax/security/auth/callback/ConfirmationCallback.java
710 * javax/security/auth/callback/LanguageCallback.java
711 * javax/security/auth/callback/NameCallback.java
712 * javax/security/auth/callback/PasswordCallback.java
713 * javax/security/auth/callback/TextInputCallback.java
714 * javax/security/auth/callback/TextOutputCallback.java
715 * javax/security/auth/callback/UnsupportedCallbackException.java
716 * javax/security/auth/login/AccountExpiredException.java
717 * javax/security/auth/login/AppConfigurationEntry.java
718 * javax/security/auth/login/Configuration.java
719 * javax/security/auth/login/CredentialExpiredException.java
720 * javax/security/auth/login/FailedLoginException.java
721 * javax/security/auth/login/LoginContext.java
722 * javax/security/auth/login/LoginException.java
723 * javax/security/auth/login/NullConfiguration.java
724 * javax/security/auth/x500/X500PrivateCredential.java
725 * javax/security/sasl/AuthenticationException.java
726 * javax/security/sasl/AuthorizeCallback.java
727 * javax/security/sasl/RealmCallback.java
728 * javax/security/sasl/RealmChoiceCallback.java
729 * javax/security/sasl/Sasl.java
730 * javax/security/sasl/SaslClient.java
731 * javax/security/sasl/SaslClientFactory.java
732 * javax/security/sasl/SaslException.java
733 * javax/security/sasl/SaslServer.java
734 * javax/security/sasl/SaslServerFactory.java
735 * org/ietf/jgss/ChannelBinding.java
736 * org/ietf/jgss/GSSContext.java
737 * org/ietf/jgss/GSSCredential.java
738 * org/ietf/jgss/GSSException.java
739 * org/ietf/jgss/GSSManager.java
740 * org/ietf/jgss/GSSName.java
741 * org/ietf/jgss/MessageProp.java
742 * org/ietf/jgss/Oid.java
743 * org/ietf/jgss/MessagesBundle.properties
744
745 Files imported from Jessie <http://www.nongnu.org/jessie/>
746 * javax/net/ServerSocketFactory.java
747 * javax/net/SocketFactory.java
748 * javax/net/VanillaServerSocketFactory.java
749 * javax/net/VanillaSocketFactory.java
750 * javax/net/ssl/HandshakeCompletedEvent.java
751 * javax/net/ssl/HandshakeCompletedListener.java
752 * javax/net/ssl/HostnameVerifier.java
753 * javax/net/ssl/HttpsURLConnection.java
754 * javax/net/ssl/KeyManager.java
755 * javax/net/ssl/KeyManagerFactory.java
756 * javax/net/ssl/KeyManagerFactorySpi.java
757 * javax/net/ssl/ManagerFactoryParameters.java
758 * javax/net/ssl/SSLContext.java
759 * javax/net/ssl/SSLContextSpi.java
760 * javax/net/ssl/SSLException.java
761 * javax/net/ssl/SSLHandshakeException.java
762 * javax/net/ssl/SSLKeyException.java
763 * javax/net/ssl/SSLPeerUnverifiedException.java
764 * javax/net/ssl/SSLPermission.java
765 * javax/net/ssl/SSLProtocolException.java
766 * javax/net/ssl/SSLServerSocket.java
767 * javax/net/ssl/SSLServerSocketFactory.java
768 * javax/net/ssl/SSLSession.java
769 * javax/net/ssl/SSLSessionBindingEvent.java
770 * javax/net/ssl/SSLSessionBindingListener.java
771 * javax/net/ssl/SSLSessionContext.java
772 * javax/net/ssl/SSLSocket.java
773 * javax/net/ssl/SSLSocketFactory.java
774 * javax/net/ssl/TrivialHostnameVerifier.java
775 * javax/net/ssl/TrustManager.java
776 * javax/net/ssl/TrustManagerFactory.java
777 * javax/net/ssl/TrustManagerFactorySpi.java
778 * javax/net/ssl/X509KeyManager.java
779 * javax/net/ssl/X509TrustManager.java
780 * javax/security/cert/Certificate.java
781 * javax/security/cert/CertificateEncodingException.java
782 * javax/security/cert/CertificateException.java
783 * javax/security/cert/CertificateExpiredException.java
784 * javax/security/cert/CertificateNotYetValidException.java
785 * javax/security/cert/CertificateParsingException.java
786 * javax/security/cert/X509CertBridge.java
787 * javax/security/cert/X509Certificate.java
788
789 2004-08-20 Casey Marshall <csm@gnu.org>
790
791 * java/security/cert/X509CRLSelector.java: New file.
792 * java/security/cert/X509CertSelector.java: New file.
793
794 2004-09-15 Michael Koch <konqueror@gmx.de>
795
796 * gnu/java/net/protocol/file/Handler.java
797 (openConnection): Don't throw exception if host part for file: URI is
798 present. setURL() keeps file: protocol if ftp: protocol is not
799 available.
800
801 2004-09-14 Richard Henderson <rth@redhat.com>
802
803 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
804 value of sigsuspend.
805
806 2004-09-12 Tom Tromey <tromey@redhat.com>
807
808 * javax/naming/CompoundName.java (CompoundName): Don't check for
809 separator in "flat" case.
810
811 2004-09-12 Michael Koch <konqueror@gmx.de>
812
813 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
814 AM_CONFIG_HEADER by AC_CONFIG_FILES.
815 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
816 Regenerate.
817
818 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
819
820 PR libgcj/14751
821 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
822 handle in newly-allocated _Jv_Thread_t.
823 (_Jv_ThreadDestroyData): Close thread handle.
824 (_Jv_ThreadStart): Remove obsolete comment.
825 Store handle of newly-created thread in _Jv_Thread_t.
826 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
827 before including <windows.h>
828 #define _Jv_HaveCondDestroy
829
830 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
831
832 * java/lang/natThread.cc (finalize_native): Destroy
833 join conditional variable and mutex if these destroy
834 operations are supported.
835
836 2004-09-10 Dalibor Topic <robilad@kaffe.org>
837
838 * gnu/java/net/protocol/file/Connection.java (permission): New field.
839 (DEFAULT_PERMISSION): New constant.
840 (Connection): Create a FilePermission with permission to read file.
841
842 2004-09-10 Michael Koch <konqueror@gmx.de>
843
844 * gnu/java/net/protocol/file/Connection.java
845 (getLastModified): Moved around.
846 (getPermission): Return stored permission.
847
848 2004-09-10 Michael Koch <konqueror@gmx.de>
849
850 * Makefile.in: Regenerate.
851
852 2004-09-10 Michael Koch <konqueror@gmx.de>
853
854 * Makefile.am: Reverted accidently commited stuff.
855 * configure: Regenerated.
856
857 2004-09-10 Michael Koch <konqueror@gmx.de>
858
859 * gnu/java/net/protocol/file/Connection.java
860 (lineSeparator): Made non-final.
861 (static): Removed.
862 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
863 instead of StringBufferInputStream.
864
865 2004-09-10 Michael Koch <konqueror@gmx.de>
866
867 * gnu/java/net/protocol/file/Connection.java
868 (connect): Handle file is a directory case.
869
870 2004-09-10 Michael Koch <konqueror@gmx.de>
871
872 * Makefile.am
873 (xlib_includes): Removed.
874 (AM_CPPFLAGS): Renamed from INCLUDES.
875 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
876 * Makefile.in: Regenerate.
877
878 2004-09-09 Michael Koch <konqueror@gmx.de>
879
880 * java/security/ProtectionDomain.java,
881 * java/util/PropertyPermissionCollection.java:
882 Fixed javadocs all over.
883
884 2004-09-09 Sven de Marothy <sven@physto.se>
885
886 Patch from David Gilbert <david.gilbert@object-refinery.com>
887 * java/lang/Comparable.java: Fixed documentation errors.
888 * java/util/Arrays.java: Likewise.
889
890 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
891
892 * java/net/Inet4Address.java
893 (Inet4Address): Added comment to serialization UID.
894 * java/text/Format.java
895 (Format): Added comment to serialization UID.
896
897 2004-09-09 Michael Koch <konqueror@gmx.de>
898
899 * java/lang/System.java
900 (err): Fixed javadoci to point to setErr() and not setOut().
901
902 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
903
904 (normalizePath): Added special case for windows systems.
905
906 2004-09-09 Michael Koch <konqueror@gmx.de>
907
908 * java/io/File.java
909 (dupSeparator): Made private.
910 (File(URI)): New constructor.
911 (getParentFile): Fixed javadoc.
912 (createTempFile): Reformated.
913 (setReadOnly): Added comment.
914 (deleteOnExit): Merged javadoc with classpath version.
915
916 2004-09-09 Michael Koch <konqueror@gmx.de>
917
918 * Makefile.am: Don't try to include deps.mk.
919 * Makefile.in: Regenerated.
920
921 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
922
923 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
924 .d files.
925 * configure: Rebuilt.
926
927 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
928
929 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
930 Changed pfn from static local to local.
931
932 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
933 H.J. Lu <hongjiu.lu@intel.com>
934
935 PR libgcj/17290
936 * Makefile.am (GCJCOMPILE): Remove definition.
937 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
938 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
939 * Makefile.in: Rebuilt.
940
941 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
942
943 * configure.ac (enable-gc-debug): Update help for new syntax.
944 * configure: Regenerate.
945
946 2004-09-03 David Daney <ddaney@avtrex.com>
947
948 * include/mips-signal.h: Update copyright.
949
950 2004-09-03 David Daney <ddaney@avtrex.com>
951
952 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
953 * include/mips-signal.h: Added HANDLE_FPE support.
954
955 2004-08-31 Michael Koch <konqueror@gmx.de>
956
957 * javax/swing/plaf/basic/BasicTextAreaUI.java
958 (create): New method.
959 * javax/swing/text/DefaultHighlighter.java
960 (DefaultHighlightPainter.debugRect): Removed.
961 * javax/swing/text/StyleContext.java
962 (DEFAULT_STYLE): New field.
963
964 2004-08-31 Michael Koch <konqueror@gmx.de>
965
966 * javax/swing/plaf/basic/BasicLookAndFeel.java
967 (initComponentDefaults): Add keybindings for selection.backward and
968 selection-forward for text components.
969 * javax/swing/plaf/basic/BasicTextUI.java
970 (paintSafely): Paint highlight only when something is actually
971 selected.
972 * javax/swing/text/DefaultCaret.java
973 (handleHighlight): New method.
974 (setSelectionVisible): Don't do anything when nothing changes.
975 Handle highlight.
976 (moveDot): Reimplemented. Handle highlight.
977 (setDot): Set mark too. Handle highlight.
978 (getSelectionPainter): New method.
979 * javax/swing/text/DefaultEditorKit.java
980 (defaultActions): Added new actions for text selection.
981 * javax/swing/text/DefaultHighlighter.java
982 (DefaultHighlightPainter): New inner class.
983 (DefaultPainter): New field.
984 (paint): Implemented.
985 * javax/swing/text/PlainView.java
986 (paint): Don't draw background here again.
987 * javax/swing/text/Utilities.java
988 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
989 (drawTabbedText): Likewise.
990
991 2004-08-31 Graydon Hoare <graydon@redhat.com>
992
993 * javax/swing/JComponent.java
994 (resetKeyboardActions): Add null checks.
995
996 2004-08-31 Graydon Hoare <graydon@redhat.com>
997
998 * javax/swing/DefaultButtonModel.java:
999 Skip group notification when no group is set.
1000
1001 2004-08-31 Graydon Hoare <graydon@redhat.com>
1002
1003 * javax/swing/JColorChooser.java:
1004 Make a couple inner classes static, for jikes.
1005
1006 2004-08-31 Michael Koch <konqueror@gmx.de>
1007
1008 * javax/swing/plaf/basic/BasicTextUI.java
1009 (RottView.modelToView): New method.
1010 (UpdateHandler): Renamed from EventHandler.
1011 (updateHandler): Renamed from eventHandler.
1012 (modelToView): Implemented.
1013 * javax/swing/text/AbstractDocument.java
1014 (BranchElement.getElement): Return null for non-existing indeces.
1015 (BranchElement.getElementIndex): Return 0 in some corner cases.
1016 * javax/swing/text/FieldView.java
1017 (modelToView): New method.
1018 * javax/swing/text/PlainView.java
1019 (modelToView): Made public.
1020
1021 2004-08-31 Kim Ho <kho@redhat.com>
1022
1023 * Makefile.am: New files.
1024 * Makefile.in: Regenerate.
1025 * gcj/Makefile.in: Regenerate.
1026 * include/Makefile.in: Regenerate.
1027 * java/awt/Color.java: Fix documentation.
1028 (RGBtoHSB): Use floats for conversions.
1029 * javax/swing/ButtonGroup.java: Run Jalopy.
1030 (setSelected): Reimplement.
1031 * javax/swing/DefaultButtonModel.java: Run Jalopy.
1032 (changeState): Let ButtonGroup know that the button
1033 is changing state.
1034 * javax/swing/JColorChooser.java: Implement.
1035 * javax/swing/JLabel.java: Run Jalopy.
1036 * javax/swing/JSpinner.java: Run Jalopy.
1037 (setValue): New method.
1038 * javax/swing/JTabbedPane.java: Run Jalopy.
1039 (removeTabAt): Call correct remove method.
1040 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
1041 (getPreviousValue): Compare minimum value.
1042 * javax/swing/Timer.java: Run Jalopy.
1043 (run): Comment out println.
1044 * javax/swing/ToolTipManager.java:
1045 (mouseMoved): Get new tooltip text for location.
1046 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
1047 Jalopy and Javadoc.
1048 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
1049 Implement.
1050 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
1051 Run Jalopy.
1052 (setSelectedColor): Fire ChangeEvent.
1053 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
1054 New file. Implement.
1055 * javax/swing/colorchooser/DefaultPreviewPanel.java:
1056 Ditto.
1057 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
1058 Ditto.
1059 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
1060 Ditto.
1061 * javax/swing/plaf/basic/BasicArrowButton.java:
1062 (getArrow): Fix size of upward pointing button.
1063 * javax/swing/plaf/basic/BasicColorChooserUI.java:
1064 Implement.
1065 * javax/swing/plaf/basic/BasicSliderUI.java:
1066 (getWidthOfWidestLabel): Use preferred dimensions.
1067 (getHeightOfTallestLabel): Ditto.
1068 * javax/swing/plaf/basic/BasicSpinnerUI.java:
1069 Run Jalopy.
1070 (mousePressed): Disable changes to spinner if it is not enabled.
1071 * testsuite/Makefile.in: Regenerate.
1072
1073
1074 2004-08-31 Michael Koch <konqueror@gmx.de>
1075
1076 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
1077 javax/swing/plaf/basic/BasicTableUI.java:
1078 Added copyright notice.
1079
1080 2004-08-31 Olga Rodimina <rodimina@redhat.com>
1081
1082 * Makefile.am: Added new files.
1083 * Makefile.in: Regenerate.
1084 * javax/swing/ComboBoxEditor.java: Added javadocs.
1085 * javax/swing/ComboBoxModel.java: Likewise.
1086 * javax/swing/DefaultComboBoxModel.java: Implemented.
1087 * javax/swing/DefaultListCellRenderer.java: Added javadocs
1088 and ran through jalopy to fix formatting style.
1089 (getListCellRendererComponent): Use appropriate border
1090 if renderer has focus and use noFocusBorder when it doesn't.
1091 * javax/swing/JComboBox.java: Implemented.
1092 * javax/swing/JList.java:
1093 (locationToIndex): New Method. Implemented.
1094 (indexToLocation): New Method.
1095 * javax/swing/JPopupMenu.java:
1096 (visible): New field.
1097 (isVisible): Changed to use new field above.
1098 (setVisible): Likewise.
1099 * javax/swing/MutableComboBoxModel.java: Added javadocs.
1100 * javax/swing/plaf/basic/BasicArrowButton.java:
1101 (shadow): Changed default color to Color.gray.
1102 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1103 UI delegate for JComboBox.
1104 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1105 Popup menu containing list of JComboBox's items.
1106 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
1107 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
1108 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
1109 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
1110 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
1111 (popupMenuWillBecomeVisible): Set selected path to the first
1112 element only if it is of type MenuElement. Also fix formatting
1113 style.
1114 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
1115 methods signatures.
1116
1117 2004-08-31 Michael Koch <konqueror@gmx.de>
1118
1119 * javax/swing/text/AbstractDocument.java
1120 (createBranchElement): Use new constructor of BranchElement.
1121 (createLeafElement): Renamed arguments.
1122 (getRootElements): Implemented.
1123 (BranchElement.start): Removed.
1124 (BranchElement.end): Likewise.
1125 (BranchElement.BranchElement): Fixed arguments.
1126 (BranchElement.getEndOffset): Reimplemented.
1127 (BranchElement.getStartOffset): Likewis.
1128 * javax/swing/text/DefaultCaret.java
1129 (paint): Draw simple vertical line as caret instead of a rectangle.
1130 * javax/swing/text/JTextComponent.java
1131 (setText): Use doc directly.
1132 * javax/swing/text/PlainView.java
1133 (nextTabStop): Implemented.
1134 * javax/swing/text/Utilities.java
1135 (drawTabbedText): nextTabStop() returns an absolute x position.
1136 (getTabbedTextWidth): Likewise.
1137
1138 2004-08-31 Graydon Hoare <graydon@redhat.com>
1139
1140 * java/awt/Component.java
1141 (isFocusTraversable): Predicate on isLightweight()
1142 (setFocusable): Set isFocusTraversableOverridden.
1143 (requestFocus): Predicate peer dispatch on !isLightweight()
1144 (requestFocusInWindow): Likewise.
1145 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
1146 * java/awt/Container.java
1147 (dispatchEventImpl): Predicate on event mask.
1148 (LightweightDispatcher): Remove focus machinery.
1149 * java/awt/DefaultFocusTraversalPolicy.java
1150 (accept): Expand predicate to include isFocusable().
1151 * java/awt/DefaultKeyboardFocusManager.java:
1152 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
1153 * java/awt/KeyboardFocusManager.java
1154 (redispatchEvent): Synchronize on event to prevent feedback.
1155 * javax/swing/AbstractButton.java
1156 (ButtonFocusListener): Remove class.
1157 (init): Set focusPainted, focusable.
1158 * javax/swing/ActionMap.java (get): Check parent for null.
1159 * javax/swing/InputMap.java (get): Likewise.
1160 * javax/swing/JComponent.java
1161 (inputMap_whenFocused): New InputMap.
1162 (inputMap_whenAncestorOfFocused): Likewise.
1163 (inputMap_whenInFocusedWindow): Likewise.
1164 (getActionForKeyStroke): Rewrite.
1165 (getConditionForKeystroke): Likewise.
1166 (ActionListenerProxy): New private class.
1167 (setInputMap): Implement.
1168 (getInputMap): Likewise.
1169 (setActionMap): Likewise.
1170 (getActionMap): Likewise.
1171 (processComponentKeyEvent): New empty method.
1172 (processKeyEvent): Implement.
1173 (processKeyBinding): Likewise.
1174 (resetKeyboardActions): Rewrite.
1175 * javax/swing/KeyStroke.java: Rewrite.
1176 * javax/swing/SwingUtilities.java
1177 (notifyAction): Implement.
1178 (replaceUIActionMap): Likewise.
1179 (replaceUIInputMap): Likewise.
1180 * javax/swing/plaf/basic/BasicButtonListener.java
1181 (focusGained): Implement.
1182 (focusLost): Repaint if focusPainted().
1183 (installKeyboardActions): Install pressed / released actions.
1184 (uninstallKeyboardActions): Implement.
1185 * javax/swing/plaf/basic/BasicButtonUI.java
1186 (focusColor): New field.
1187 (installDefaults): Load focus color, install input map.
1188 (installKeyboardActions): Implement.
1189 (uninstallKeyboardActions): Likewise.
1190 (paintFocus): Rewrite.
1191 * javax/swing/plaf/basic/BasicLookAndFeel.java
1192 (Button.focus): New default, midPurple.
1193 * javax/swing/plaf/basic/BasicTextUI.java
1194 (kit): Make static.
1195 (installUI): Get doc from kit, load defaults.
1196 (getKeymapName): Implement.
1197 (createKeymap): Likewise.
1198 (installKeyboardActions): Likewise.
1199 (getInputMap): Likewise.
1200 (getActionMap): Likewise.
1201 (createActionMap): Likewise.
1202 * javax/swing/text/AbstractDocument.java
1203 (getStartPosition): Implement.
1204 (getEndPosition): Likewise.
1205 * javax/swing/text/DefaultEditorKit.java
1206 (CopyAction): New class.
1207 (CutAction): Likewise.
1208 (DefaultKeyTypedAction): Likewise.
1209 (InsertBreakAction): Likewise.
1210 (InsertContentAction): Likewise.
1211 (InsertTabAction): Likewise.
1212 (PasteAction): Likewise.
1213 (defaultActions): New static table.
1214 (createCaret): Implement.
1215 (getActions): Likewise.
1216 * javax/swing/text/JTextComponent.java
1217 (KeymapWrapper): New private class.
1218 (KeymapActionMap): Likewise.
1219 (DefaultKeymap): New class.
1220 (keymaps): New static table.
1221 (keymap): New field.
1222 (getKeymap): Implement.
1223 (removeKeymap): Likewise.
1224 (addKeymap): Likewise.
1225 (setKeymap): Likewise.
1226 (loadKeymap): Likewise.
1227 (getActions): Likewise.
1228 (margin): New field.
1229 (JTextComponent): Build and install default keymap.
1230 * javax/swing/text/TextAction.java
1231 (textAction): Call super properly.
1232 (getTextComponent): Implement.
1233 * javax/swing/text/Utilities.java
1234 (drawTabbedText): Adjust position by ascent.
1235
1236 2004-08-31 David Jee <djee@redhat.com>
1237
1238 PR AWT/17156
1239
1240 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
1241 (setEnabled): Make it a native method.
1242 * java/awt/DefaultKeyboardFocusManager.java
1243 (postProcessKeyEvent): Only post event if the menu item
1244 is active.
1245 * java/awt/MenuItem.java:
1246 Private field 'enabled' should be true by default.
1247 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
1248 (setEnabled): New function.
1249
1250 2004-08-31 David Jee <djee@redhat.com>
1251
1252 PR AWT/17059
1253
1254 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
1255 (nativeSetHelpMenu): New native method declaration.
1256 (addHelpMenu): Call nativeSetHelpMenu().
1257 (addMenu): Remove.
1258 * java/awt/MenuBar.java
1259 (setHelpMenu): Call addNotify() on the new help menu.
1260 (add): Call addNotify() on the new menu.
1261 (addNotify): Set the help menu if one exists.
1262 * java/awt/peer/MenuBarPeer.java
1263 (addMenu): Remove.
1264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
1265 (nativeSetHelpMenu): New method.
1266
1267 2004-08-31 Graydon Hoare <graydon@redhat.com>
1268
1269 * Makefile.am: Add new files.
1270 * Makefile.in: Regenerate.
1271 * javax/swing/Box.java: Fix setting of layout in ctor.
1272 * javax/swing/JScrollPane.java: Scroll headers as well.
1273 * javax/swing/JTable.java: Reimplement.
1274 * javax/swing/JViewPort.java: Only add non-null children.
1275 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
1276 * javax/swing/Timer.java: Fix stopping null waker.
1277 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
1278 * javax/swing/plaf/basic/BasicTableUI.java: New file.
1279 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
1280 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
1281 * javax/swing/table/DefaultTableModel.java: Clean up.
1282 * javax/swing/table/JTableHeader.java: Implement.
1283
1284 2004-08-31 Mark Wielaard <mark@klomp.org>
1285
1286 * javax/swing/JSpinner.java (getChangeListeners): Remove double
1287 semi-colon.
1288
1289 2004-08-31 Mark Wielaard <mark@klomp.org>
1290
1291 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
1292 Declare variables at top of functions/block.
1293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
1294
1295 2004-08-31 Mark Wielaard <mark@klomp.org>
1296
1297 * java/lang/Rectangle.java (intersects): Check r.width and r.height
1298 first.
1299
1300 2004-08-31 Michael Koch <konqueror@gmx.de>
1301
1302 * javax/swing/text/PlainView.java
1303 (selectedColor): New field.
1304 (unselectedColor): Likewise.
1305 (font): Likewise.
1306 (updateMetrics): New method.
1307 (lineToRect): Likewise.
1308 (modelToView): Likewise.
1309 (drawSelectedText): Use color from JTextComponent ad draw with
1310 Utilities class.
1311 (drawUnselectedText): Likewise.
1312 (paint): Initialize helper fields.
1313 * javax/swing/text/View.java
1314 (getChildAllocation): New method.
1315 (getViewIndex): Likewise.
1316 (getToolTipText): Likewise.
1317
1318 2004-08-31 Michael Koch <konqueror@gmx.de>
1319
1320 * javax/swing/text/Utilities.java
1321 (drawTabbedText): Reimplemented.
1322 (getTabbedTextWidth): Likewise.
1323
1324 2004-08-31 Michael Koch <konqueror@gmx.de>
1325
1326 * javax/swing/plaf/basic/BasicTextUI.java
1327 (installDefaults): Install caret and highlighter.
1328 (modelToView): Use Bias.Forward when calling sibling.
1329 * javax/swing/text/AbstractDocument.java
1330 (ElementEdit): Implements DocumentEvent.ElementChange.
1331 (ElementEdit.ElementEdit): New method.
1332 (ElementEdit.getChildrenAdded): Likewise.
1333 (ElementEdit.getChildrenRemoved): Likewise.
1334 (ElementEdit.getElement): Likewise.
1335 (ElementEdit.getIndex): Likewise.
1336 * javax/swing/text/DefaultCaret.java
1337 (color): Removed.
1338 (textComponent): Renamed from parent, made private.
1339 (selectionVisible): Renamed from vis_sel, made private.
1340 (blinkRate): Renamed from blink, made private.
1341 (magicCaretPosition): Renamed from magic, made private.
1342 (visible): Renamed from vis, made private.
1343 (dot): Made private.
1344 (mark): Likewise.
1345 (deinstall): Remove as MouseMotionListener.
1346 (install): Initialize textComponent first. Add as MouseMotionListener.
1347 (paint): Reimplemented.
1348 * javax/swing/text/JTextComponent.java
1349 (setCaret): Deinstall old caret, install new one and fire property
1350 change after setting property.
1351 (setHighlighter): Deinstall old highlighter, install new one and fire
1352 property change after setting property.
1353 (setCaretColor): Fire property change after setting property.
1354 (setDisabledTextColor): Likewise.
1355 (setSelectedTextColor): Likewise.
1356 (setSelectionColor): Likewise.
1357 (modelToView): New method.
1358
1359 2004-08-31 Michael Koch <konqueror@gmx.de>
1360
1361 * javax/swing/text/AbstractDocument.java
1362 (getText): Simplified.
1363 * javax/swing/text/Segment.java
1364 (current): New field.
1365 (current): Reimplemented.
1366 (first): Likewise.
1367 (getIndex): Likewise.
1368 (last): Likewise.
1369 (next): Likewise.
1370 (previous): Likewise.
1371 (setIndex): Likewise.
1372
1373 2004-08-31 Michael Koch <konqueror@gmx.de>
1374
1375 * javax/swing/plaf/basic/BasicButtonUI.java
1376 (defaultTextIconGap): Made protected.
1377 (defaultTextShiftOffset): Likewise.
1378 (textShiftOffset): New field.
1379 (clearTextShiftOffset): New method.
1380 (getTextShiftOffset): Likewise.
1381 (setTextShiftOffset): Likewise.
1382
1383 2004-08-31 Michael Koch <konqueror@gmx.de>
1384
1385 * javax/swing/plaf/basic/BasicTextUI.java
1386 (installUI): Add eventHandler as property listener.
1387 (uninstallUI): remove eventHandler as propert listener.
1388 (installDefaults): Added comment.
1389 (installListeners): Likewise.
1390 (installKeyboardActions): Likewise.
1391 (uninstallDefaults): Likewise.
1392 (uninstallListeners): Likewise.
1393 (uninstallKeyboardActions): Likewise.
1394
1395 2004-08-31 Michael Koch <konqueror@gmx.de>
1396
1397 * javax/swing/text/AbstractDocument.java:
1398 Fixed some typos in comments.
1399 (insertString): Reimplemented.
1400 (remove): Likewise.
1401 (replace): New method.
1402 (children): Dont use fully qualified class name.
1403 (DefaultDocumentEvent.offset): Renamed from off.
1404 (DefaultDocumentEvent.length): Renamed from len.
1405 (DefaultDocumentEvent.type): New field.
1406 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
1407 (DefaultDocumentEvent.getType): Implemented.
1408
1409 2004-08-31 Michael Koch <konqueror@gmx.de>
1410
1411 * javax/swing/plaf/basic/BasicTextUI.java
1412 (RootView.textComponent): Removed.
1413 (RootView.RootView): Don't initialize textComponent.
1414 (RootView.getViewFactory): New method.
1415 (EventHandler): New inner class.
1416 (rootView): Initialize at instance creation.
1417 (eventHandler): New field.
1418 (installUI): Don't create view hierarchy directly,
1419 call modelChanged() instead.
1420 (modelChanged): New method.
1421 * javax/swing/text/JTextComponent.java
1422 (setDocument): Fire property change event.
1423
1424 2004-08-31 Michael Koch <konqueror@gmx.de>
1425
1426 * javax/swing/plaf/basic/BasicTextUI.java
1427 (RootView.paint): Removed debug output.
1428 (paintSafely): Draw highlighter before text.
1429 (paintBackground): Use background color of text component.
1430 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
1431 Reformatted.
1432
1433 2004-08-31 Michael Koch <konqueror@gmx.de>
1434
1435 * javax/swing/plaf/basic/BasicToolBarUI.java
1436 (BasicToolBarUI): Fixed arguments for constructor.
1437 (createUI): Fixed creation of object.
1438
1439 2004-08-31 Michael Koch <konqueror@gmx.de>
1440
1441 * javax/swing/DefaultListSelectionModel.java
1442 (fireValueChanged): Renamed from fireSelectionValueChanged,
1443 made protected.
1444
1445 2004-08-31 Michael Koch <konqueror@gmx.de>
1446
1447 * javax/swing/text/TabSet.java
1448 (TabSet): Implements java.io.Serializable.
1449 * javax/swing/text/TabStop.java
1450 (TabStop): Implements java.io.Serializable.
1451 (TabStop): Made public.
1452
1453 2004-08-31 Michael Koch <konqueror@gmx.de>
1454
1455 * javax/swing/JComponent.java
1456 (setUI): Fire PropertyChange.
1457 * javax/swing/JLabel.java
1458 (text): Renamed from labelText.
1459 (horizontalAlignment): New default vlaue.
1460 (icon): Renamed from activeIcon.
1461 (displayedMnemonic): Renamed from mnemonicKey, added default value.
1462 (displayedMnemonicIndex): Renamed from underlineChar.
1463 (setDisplayedMnemonic): Reimplemented.
1464 * javax/swing/JRadioButton.java
1465 (JRadioButton): New constructors.
1466 * javax/swing/JTextField.java
1467 (JTextField): Throw exception if colums < 0, initialitialz
1468 this.columns directly and initialize document with text conditionally.
1469
1470 2004-08-31 Michael Koch <konqueror@gmx.de>
1471
1472 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
1473 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
1474 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
1475 * javax/swing/text/FieldView.java
1476 (paint): Just call super method for now.
1477 * Makefile.am: Added new files.
1478 * Makefile.in: Regenerated.
1479
1480 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
1481
1482 * javax/swing/AbstractSpinnerModel.java,
1483 javax/swing/JSpinner.java,
1484 javax/swing/SpinnerNumberModel.java,
1485 javax/swing/plaf/basic/BasicSpinnerUI.java:
1486 New files.
1487 * javax/swing/plaf/basic/BasicLookAndFeel.java
1488 (initClassDefaults): Added defaults for BasicSpinnerUI.
1489
1490 2004-08-31 Michael Koch <konqueror@gmx.de>
1491
1492 * Makefile.am: Added new files.
1493 * Makefile.in: Regenerated.
1494
1495 2004-08-31 Michael Koch <konqueror@gmx.de>
1496
1497 * javax/swing/TransferHandler.java,
1498 javax/swing/plaf/basic/ComboPopup.java: New files
1499 * Makefile.am: Added javax/swing/TransferHandler.java and
1500 javax/swing/plaf/basic/ComboPopup.java
1501 * Makefile.in: Regenerated.
1502
1503 2004-08-31 Roman Kennke <roman@ontographics.com>
1504
1505 * javax/swing/text/Utilities.java: New file.
1506
1507 2004-08-31 Michael Koch <konqueror@gmx.de>
1508
1509 * Makefile.am: Added javax/swing/text/Utilities.java.
1510 * Makefile.in: Regenerated.
1511
1512 2004-08-31 Graydon Hoare <graydon@redhat.com>
1513
1514 * javax/swing/text/SimpleAttributeSet.java: New file.
1515 * javax/swing/text/StyleConstants.java: New file.
1516 * javax/swing/text/StyleContext.java: New file.
1517 * javax/swing/text/TabSet.java: New file.
1518 * javax/swing/text/TabStop.java: New file.
1519 * javax/swing/text/AbstactDocument.java:
1520 (AbstractElement): Implement attribute support.
1521 * javax/swing/text/AttributeSet.java
1522 (NameAttribute): New static field.
1523 (ResolveAttribute): New static field.
1524 * Makefile.am: Update for new files.
1525 * Makefile.in: Regenerate.
1526
1527 2004-08-31 Craig Black <craig.black@aonix.com>
1528
1529 * gnu/java/awt/peer/gtk/GdkGraphics.java
1530 (drawImage): Add support for scaling pixmaps.
1531 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1532 (copyAndScalePixmap): New native method.
1533
1534 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1535
1536 PR AWT/16121
1537 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
1538 type-punning compiler warnings using unions.
1539 (throw): Replace bzero with memset.
1540
1541 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
1542 Thomas Fitzsimmons <fitzsim@redhat.com>
1543
1544 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
1545 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
1546 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
1547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1548 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
1549
1550 2004-08-31 Mark Wielaard <mark@klomp.org>
1551
1552 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
1553 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
1554 and stdlib.h, not gtkpeer.h.
1555 (*vm): New static variable.
1556 (areaPreparedID): Make static.
1557 (areaUpdatedID): Likewise.
1558 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
1559 (area_prepared): Likewise.
1560 (area_updated): Likewise.
1561 (closed): Likewise.
1562 (initStaticState): Initialize *vm javaVM.
1563 (pumpBytes): Use given env, not global gdk_env.
1564
1565 2004-08-31 Mark Wielaard <mark@klomp.org>
1566
1567 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
1568 comments.
1569
1570 2004-08-31 Sven de Marothy <sven@physto.se>
1571
1572 * java/awt/geom/CubicCurve2D.java: Reindent.
1573 (contains): Implemented.
1574 (intersects): Implemented.
1575 * java/awt/geom/QuadCurve2D.java: Likewise.
1576 * java/awt/geom/GeneralPath.java: Reindent and document.
1577 Fully (re)implemented using separate xpoints and ypoints
1578 float[] coords.
1579 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
1580
1581 2004-08-31 Michael Koch <konqueror@gmx.de>
1582
1583 * javax/swing/JMenuItem.java
1584 (getMenuDragMouseListeners): New method.
1585 (getMenuKeyListeners): Likewise.
1586
1587 2004-08-31 Michael Koch <konqueror@gmx.de>
1588
1589 * javax/swing/AbstractButton.java
1590 (model): Made protected.
1591 (actionListener): Likewise.
1592 (changeListener): Likewise.
1593 (itemListener): Likewise.
1594 (multiClickThreshhold): New field.
1595 (getActionListeners): New method.
1596 (getChangeListeners): Likewise.
1597 (getItemListeners): Likewise.
1598 (fireItemStateChanged): Simplified implementation.
1599 (fireActionPerformed): Likewise.
1600 (fireStateChanged): Likewise.
1601 (getMultiClickThreshhold): New method.
1602 (setMultiClickThreshhold): Likewise.
1603
1604 2004-08-31 Tom Tromey <tromey@redhat.com>
1605
1606 * java/awt/image/Kernel.java (clone): Use super.clone().
1607
1608 2004-08-31 David Jee <djee@redhat.com>
1609
1610 PR AWT/16682
1611 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1612 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1613 (nativeSetIconImageFromData): New native method declaration.
1614 (setIconImage): Handle images not produced from GdkPixbufDecoder.
1615 * gnu/java/awt/peer/gtk/GtkImage.java
1616 (getPixelCache): New method.
1617 (getColorModel): New method.
1618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1619 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
1620 (free_pixbuf_data): New helper function.
1621 (nativeSetIconImageFromData): New function.
1622
1623 2004-08-31 Graydon Hoare <graydon@redhat.com>
1624
1625 PR SWING/16576
1626 * javax/swing/JLayeredPane.java
1627 (setLayer): Permit changing layer after addition.
1628 (setPosition): Permit over-length positions.
1629 (layerToRange): Compare intValue()s.
1630 * javax/swing/Box.java (createHorizontalBox): Implement.
1631 (createRigidArea): Likewise.
1632 (createVerticalBox): Likewise.
1633
1634 2004-08-31 Kim Ho <kho@redhat.com>
1635
1636 * java/awt/Component.java:
1637 (processMouseEvent): Consume event after
1638 listeners process it.
1639 (processMouseMotionEvent): ditto.
1640 (processMouseWheelEvent): ditto.
1641 * java/awt/Container.java:
1642 (acquireComponentForMouseEvent):
1643 Do not dispatch to events that have been
1644 removed from the Container.
1645 (handleEvent): Consume the MouseEvents.
1646 * javax/swing/RepaintManager.java:
1647 (paintDirtyRegions): Do not add to list of
1648 damaged areas if the component has no root.
1649
1650 2004-08-31 Michael Koch <konqueror@gmx.de>
1651
1652 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
1653
1654 2004-08-31 Mark Wielaard <mark@klomp.org>
1655
1656 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
1657 null when a MissingResourceException is thrown. Should never happen.
1658
1659 2004-08-31 Mark Wielaard <mark@klomp.org>
1660
1661 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
1662 when argument is null.
1663
1664 2004-08-31 Mark Wielaard <mark@klomp.org>
1665
1666 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1667 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
1668 Define hid at start of function.
1669 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
1670 Likewise.
1671
1672 2004-08-31 Mark Wielaard <mark@klomp.org>
1673
1674 * gnu/java/awt/EmbeddedWindow.java: Reindent.
1675 * javax/swing/JButton.java: Reindent.
1676 * javax/swing/JCheckBox.java: Reindent.
1677
1678 2004-08-31 Mark Wielaard <mark@klomp.org>
1679
1680 * Makefile.am (gtk_c_source_files): Added
1681 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
1682 (gtk_awt_peer_sources): Added
1683 gnu/java/awt/peer/gtk/GThreadMutex.java and
1684 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
1685 * Makefile.in: Regenerated.
1686
1687 2004-08-31 Archie Cobbs <archie@dellroad.org>
1688
1689 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
1690
1691 2004-08-31 Steven Augart <augart@watson.ibm.com>
1692
1693 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
1694 Added jfieldID, jmethodID.
1695
1696 2004-08-31 Mark Wielaard <mark@klomp.org>
1697
1698 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1699 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
1700 gdk_env before calling any gdk or gtk function.
1701
1702 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
1703 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
1704 (run): Set gtkInitCalled.
1705
1706 2004-08-31 Steven Augart <augart@watson.ibm.com>
1707
1708 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
1709 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
1710
1711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1712 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
1713 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
1714 init_glib_threads.
1715 (init_glib_threads): New function.
1716
1717 2004-08-31 Mark Wielaard <mark@klomp.org>
1718
1719 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
1720 PRIORITY when not already defined in header file.
1721
1722 2004-08-31 Mark Wielaard <mark@klomp.org>
1723
1724 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
1725 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
1726
1727 2004-08-31 Steven Augart <augart@watson.ibm.com>
1728
1729 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
1730 Implemented missing functions for GTK2.
1731 Added error handling.
1732 Renamed static functions out of the g_ namespace.
1733 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
1734 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
1735 Rewrote global-reference code.
1736 Eliminated cascading errors.
1737 (mutex_trylock_jni_impl) Fully implemented.
1738 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
1739 resolution.
1740 (setup_cache) New function.
1741 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
1742 bug where they were not unlocking the GMutex associated with the
1743 condition variable during the wait on that condition variable.
1744
1745 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
1746 native/jni/gtk-peer/gthread-jni.c,
1747 native/jni/gtk-peer/gthread-jni.h
1748 (g_thread_jni_functions): Renamed to ...
1749 (portable_native_sync_jni_functions): this name.
1750 (gdk_vm): Renamed to...
1751 (the_vm): this name.
1752
1753 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
1754 (gdk_vm): Removed duplicate definition.
1755 (gtkInit): Removed stray message to stdout.
1756 (gtkInit): Use g_malloc and g_free instead of malloc and free.
1757 (gtkInit): Fix a const assignment bug.
1758 (gtkInit): Simplified code.
1759
1760 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1761 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
1762 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
1763 gnu/java/awt/peer/gtk/GThreadMutex.java:
1764 New files.
1765
1766 2004-08-31 Mark Wielaard <mark@klomp.org>
1767
1768 * javax/swing/Box.java: Put FIXME comment above class declaration.
1769 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
1770 * javax/swing/JCheckBox.java: Likewise.
1771 * javax/swing/JDialog.java: Likewise.
1772 * javax/swing/JRadioButton.java: Likewise.
1773 * javax/swing/JToggleButton.java: Likewise.
1774 * javax/swing/UIManager.java: Likewise.
1775 * javax/swing/border/TitledBorder.java: Likewise.
1776 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
1777 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
1778 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
1779 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
1780 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
1781 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
1782 * javax/swing/text/JTextComponent.java: Likewise.
1783
1784 2004-08-31 David Jee <djee@redhat.com>
1785
1786 PR AWT/16682
1787 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1788 (setIconImage): Add a FIXME for unhandled cases.
1789
1790 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1791
1792 PR AWT/16040
1793 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
1794 getModifiers. Replace old button masks with new ones.
1795 * gnu/awt/xlib/XEventLoop.java: Likewise.
1796 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
1797 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1798 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
1799 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
1800 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
1801 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
1802 * java/awt/Component.java: Replace old modifier masks with new
1803 ones.
1804 * java/awt/Container.java: Call getModifiersEx, not
1805 getModifiers.
1806 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
1807 old modifier masks.
1808 * javax/swing/JMenuItem.java: Replace old button masks with new
1809 ones.
1810 * javax/swing/KeyStroke.java: Call getModifiersEx, not
1811 getModifiers.
1812 * javax/swing/SwingUtilities.java: Likewise.
1813 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
1814 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
1815 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
1816 mask macros with new ones.
1817 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
1818 macros with new ones representing new masks.
1819
1820 2004-08-31 Craig Black <craig.black@aonix.com>
1821
1822 * gnu/java/awt/peer/gtk/GdkGraphics.java
1823 (drawRoundRect): Implemented.
1824 (fillRoundRect): Implemented.
1825 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1826 (drawRoundRect): Reimplemented to match GdkGraphics.
1827 (fillRoundRect): Reimplemented to match GdkGraphics.
1828
1829 2004-08-31 Mark Wielaard <mark@klomp.org>
1830
1831 * Makefile.in: Regenerated.
1832
1833 2004-08-31 Michael Koch <konqueror@gmx.de>
1834
1835 * gnu/java/awt/EmbeddedWindow.java
1836 (addNotify): Use AccessController to allow execution of privileged
1837 code.
1838
1839 2004-08-31 Michael Koch <konqueror@gmx.de>
1840
1841 * gnu/java/awt/EmbeddedWindow.java
1842 (static): Removed.
1843 (addNotify): Set peer via reflection.
1844 (setWindowPeer): Removed.
1845 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
1846 * Makefile.am (nat_source_files):
1847 Removed gnu/java/awt/natEmbeddedWindow.cc.
1848
1849 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1850
1851 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
1852 and gnu/java/security/action/SetAccessibleAction.java.
1853
1854 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1855
1856 * gnu/java/security/action/GetPropertyAction.java (setParameters):
1857 Renamed from 'setName'. New 2-argument form with default value.
1858 (run): Pass default 'value' parameter to System.getProperty().
1859 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
1860 typos.
1861
1862 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
1863
1864 * gnu/java/security/action/GetPropertyAction.java: New class.
1865 * gnu/java/security/action/SetAccessibleAction.java: New class.
1866
1867 2004-08-31 David Jee <djee@redhat.com>
1868
1869 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1870 (setIconImage): Check if image is null.
1871
1872 2004-08-31 David Jee <djee@redhat.com>
1873
1874 * gnu/java/awt/peer/gtk/GtkFramePeer.java
1875 (create): Set the icon image.
1876 (nativeSetIconImage): New native method declaration.
1877 (setIconImage): Implement.
1878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1879 (nativeSetIconImage): New function.
1880
1881 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1882
1883 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
1884 (filenameFilterCallback): Declare local variable accepted before use.
1885
1886 2004-08-31 Dalibor Topic <robilad@kaffe.org>
1887
1888 * gnu/java/awt/ComponentDataBlitOp.java:
1889 Cleaned up imports.
1890
1891 2004-08-31 Tom Tromey <tromey@redhat.com>
1892
1893 * gnu/java/awt/peer/GLightweightPeer.java,
1894 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1895 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1896 javax/swing/JScrollPane.java: Removed
1897 redundant imports.
1898
1899 2004-08-31 David Jee <djee@redhat.com>
1900
1901 * java/awt/DefaultKeyboardFocusManager.java
1902 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
1903 event. Fix shift modifier checking.
1904 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
1905 (accel_attach): Remove.
1906 (setupAccelGroup): Remove calls to accel_attach.
1907
1908 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1909
1910 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
1911 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
1912
1913 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
1914 GtkArgList.java.
1915 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
1916 * Makefile.in: Regenerate.
1917 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1918 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
1919 (create(String)): New method.
1920 (create): Call new create method.
1921 (getArgs): Remove method.
1922 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1923 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
1924 (nativeCreate): Rename to create.
1925 (gtkSetLabel): Rename to gtkButtonSetLabel.
1926 (gtkToggleButtonSetActive): New method.
1927 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
1928 (setState): Replace set call with gtkToggleButtonSetActive.
1929 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
1930 (getArgs): Remove method.
1931 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1932 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
1933 (gtkWidgetSetSensitive): New method.
1934 (gtkWidgetSetParent): Likewise.
1935 (GtkComponentPeer): Call setParent, setComponentBounds and
1936 setVisibleAndEnabled.
1937 (setParent): New method.
1938 (setComponentBounds): New method.
1939 (setVisibleAndEnabled): New method.
1940 (setEnabled): Call gtkWidgetSetSensitive.
1941 (getArgs): Remove method.
1942 Remove all set methods.
1943 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
1944 gtkWindowSetModal, setTitle and setResizable.
1945 (getArgs): Remove method.
1946 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
1947 (setComponentBounds): New method.
1948 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
1949 Replace set call with gtkWindowSetResizable.
1950 (getArgs): Remove method.
1951 (create): Call setTitle and setResizable.
1952 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1953 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
1954 (gtkWindowSetTitle): New method.
1955 (gtkWindowSetResizable): New method.
1956 (gtkWindowSetModal): New method.
1957 (setParent): New method.
1958 (setVisibleAndEnabled): New method.
1959 (getArgs): Remove method.
1960 (setTitle): Call gtkWindowSetTitle.
1961 (setResizable): Call gtkWindowSetResizable.
1962 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
1963 and off locking instrumentation.
1964
1965 2004-08-31 Kim Ho <kho@redhat.com>
1966
1967 * Makefile.am: Add new file.
1968 * Makefile.in: Regenerate.
1969 * gcj/Makefile.in: Regenerate
1970 * include/Makefile.in:
1971 * java/awt/Container.java:
1972 (acquireComponentForMouseEvent): Respect
1973 the event mask when looking for candidate.
1974 * javax/swing/JComponent.java:
1975 Remove toolTip field.
1976 (createToolTip): Create a tooltip on demand.
1977 (setToolTipText): Register with the ToolTipManager.
1978 (getToolTipText(MouseEvent)): Return getToolTipText().
1979 * javax/swing/JToolTip.java: Implement.
1980 * javax/swing/Timer.java: Jalopy.
1981 (restart): Call stop, then start.
1982 (stop): Interrupt the timer rather than wait for
1983 the timer to come to a stop naturally.
1984 * javax/swing/ToolTipManager.java: Implement.
1985 * javax/swing/plaf/basic/BasicLookAndFeel.java:
1986 Change ToolTip.background color.
1987 * javax/swing/plaf/basic/BasicToolTipUI.java:
1988 Implement.
1989 * testsuite/Makefile.in: Regenerate
1990
1991 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
1992
1993 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
1994 constructor param comments.
1995
1996 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
1997
1998 * java/awt/Component.java: Document AWT 1.0 event handler
1999 methods.
2000
2001 2004-08-31 Roman Kennke <roman@ontographics.com>
2002
2003 * javax/swing/Box.java:
2004 (createGlue): Implemented
2005 (createHorizontalGlue): Implemented
2006 (createHorizontalStrut): Implemented
2007 (createVerticalGlue): Implemented
2008 (createVerticalStrut): Implemented
2009
2010 2004-08-31 David Jee <djee@redhat.com>
2011
2012 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
2013 (GtkChoicePeer): Do not automatically select first item.
2014 (getHistory): Remove.
2015 (nativeGetSelected): New method.
2016 (nativeRemoveAll): New method.
2017 (add): Use nativeGetSelected() instead of getHistory().
2018 (remove): Likewise.
2019 (removeAll): Call nativeRemoveAll().
2020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
2021 (create): Migrate to GtkComboBox.
2022 (append): Likewise.
2023 (nativeAdd): Likewise.
2024 (nativeRemove): Likewise.
2025 (select): Likewise.
2026 (nativeRemoveAll): New method.
2027 (nativeGetSelected): New method.
2028 (selection_changed): New method.
2029 (getHistory): Remove.
2030 (item_activate): Remove.
2031 (item_removed): Remove.
2032 (connect_choice_item_selectable_hook): Remove.
2033
2034 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2035
2036 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
2037 variable in setEditable call.
2038
2039 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
2040 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
2041 (gtkWidgetSetBackground): New method.
2042 (gtkWidgetSetForeground): Likewise.
2043 (create): Set peer's editable state based on awtComponent's.
2044
2045 * java/awt/Button.java (Button()): Use empty string rather than
2046 null in no-label constructor.
2047
2048 2004-08-31 Roman Kennke <roman@ontographics.com>
2049
2050 * javax/swing/BoxLayout.java: Reimplement.
2051
2052 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
2053
2054 * gnu/java/awt/peer/gtk/GdkGraphics.java,
2055 gnu_java_awt_peer_gtk_GdkGraphics.c
2056 (initState(GtkComponentPeer)): Don't return array of colour
2057 values.
2058 (GdkGraphics(int,int)): Set default font to size 12.
2059 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
2060 component's foreground colour.
2061 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
2062 gnu_java_awt_peer_gtk_GdkGraphics2D.c
2063 (initState(GtkComponentPeer)): Don't return array of colour
2064 values.
2065 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
2066 colours to component's colours.
2067 (current_colors_of_widget): Remove function.
2068 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
2069 Return a new graphics object.
2070 * java/awt/Font.java (toString): Fix format.
2071 * java/awt/Graphics.java (toString): Likewise.
2072
2073 2004-08-31 Craig Black <craig.black@aonix.com>
2074
2075 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
2076 (addTearOff): New function.
2077 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
2078 New native method.
2079 (init): Call addTearOff() when menu.isTearOff().
2080
2081 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
2082
2083 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2084 Default implementation.
2085 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2086 Implement using GdkPixbufDecoder.
2087
2088 2004-08-31 David Jee <djee@redhat.com>
2089
2090 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
2091 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
2092 setting the size of GtkFileDialogPeers.
2093 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2094 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
2095 use their default sizes rather than their natural requisitions.
2096
2097 2004-08-31 Michael Koch <konqueror@gmx.de>
2098
2099 * javax/swing/JFormattedTextField.java
2100 (JFormattedTextField): Implemented.
2101 * javax/swing/text/DefaultEditorKit.java
2102 (BeepAction): New inner class.
2103 * javax/swing/text/Segment.java
2104 (partialReturn): New field.
2105 (setPartialReturn): New method.
2106 (isPartialReturn): Likewise.
2107 * javax/swing/text/View.java
2108 (createFragment): Fixed typo.
2109 (getStartOffset): New method.
2110 (getEndOffset): Likewise.
2111
2112 2004-08-31 Michael Koch <konqueror@gmx.de>
2113
2114 * javax/swing/table/DefaultTableColumnModel.java
2115 (serialVersionUID): Made private.
2116 (listenerList): Initialize.
2117 (changeEvent): Initialize.
2118 * javax/swing/table/JTableHeader.java
2119 (JTableHeader): New constructors.
2120 (createDefaultColumnModel): New method.
2121 * javax/swing/table/TableColumn.java
2122 (setHeaderRenderer): Simplified code.
2123 (setCellRenderer): Likewise.
2124 (setWidth): Likewise.
2125
2126 2004-08-31 Tom Tromey <tromey@redhat.com>
2127
2128 * java/text/AttributedString.java (AttributedString): Use
2129 ArrayList to build array of attribute ranges. Don't use
2130 `attribs' before it is set.
2131
2132 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2133
2134 * HACKING: Remove reference to special automake. No longer needed.
2135
2136 2004-08-30 Tom Tromey <tromey@redhat.com>
2137
2138 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
2139 return result from `add'.
2140
2141 2004-08-30 Tom Tromey <tromey@redhat.com>
2142
2143 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
2144
2145 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
2146
2147 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
2148
2149 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
2150
2151 * java/io/File.java File(String,String): Fixed handling of empty
2152 path.
2153
2154 2004-08-30 Casey Marshall <csm@gnu.org>
2155
2156 Author e-mail updated for all files.
2157 * gnu/java/security/OID.java (equals): Test if the aurgment is an
2158 instance of OID.
2159 (compareTo): Use `equals'.
2160 * gnu/java/security/der/BitString.java (equals): Test if the
2161 argument is an instance of BitString.
2162 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
2163 class final. Made fields private.
2164 (<init>): New constructor.
2165 (skip): New method.
2166 (makeString): Made static; don't use NIO.
2167 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
2168 * gnu/java/security/der/DERWriter.java: Fixed imports.
2169 (writeString): Don't use NIO.
2170 (toIso88591, toUtf16Be, toUtf8): New methods.
2171 * gnu/java/security/der/DERValue.java: Formatting changes only.
2172 * gnu/java/security/der/DER.java: Likewise.
2173
2174 2004-08-30 Tom Tromey <tromey@redhat.com>
2175
2176 * java/nio/CharBuffer.java (put): Fix typo.
2177 * java/nio/DoubleBuffer.java (put): Fix typo.
2178 * java/nio/FloatBuffer.java (put): Fix typo.
2179 * java/nio/IntBuffer.java (put): Fix typo.
2180 * java/nio/LongBuffer.java (put): Fix typo.
2181 * java/nio/ShortBuffer.java (put): Fix typo.
2182
2183 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
2184
2185 * java/nio/ByteBuffer.java (put): Fix typo.
2186
2187 2004-08-30 Casey Marshall <csm@gnu.org>
2188
2189 * java/security/DummyKeyPairGenerator.java (clone): Removed
2190 useless instanceof check.
2191 * java/security/DummyMessageDigest.java (clone): Likewise.
2192 * java/security/DummySignature.java (clone): Likewise.
2193 * java/security/MessageDigest.java (clone): Remove useless
2194 instanceof check.
2195 * java/security/MessageDigestSpi.java (clone): Likewise.
2196 * java/security/Signature.java (clone): Provide meaningful
2197 implementation.
2198 * java/security/SignatureSpi.java (clone): Likewise.
2199
2200 2004-08-29 Mark Wielaard <mark@klomp.org>
2201
2202 * java/util/Arrays.java
2203 (sort(byte[], int, int)): Check fromIndex < 0.
2204 (sort(char[], int, int)): Likewise.
2205 (sort(short[], int, int)): Likewise.
2206 (sort(int[], int, int)): Likewise.
2207 (sort(long[], int, int)): Likewise.
2208 (sort(float[], int, int)): Likewise.
2209 (sort(double[], int, int)): Likewise.
2210 (sort(Object[], int, int, Comparator)): Likewise.
2211 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
2212 (qsort(char[], int, int)): Likewise.
2213 (qsort(short[], int, int)): Likewise.
2214 (qsort(int[], int, int)): Likewise.
2215 (qsort(long[], int, int)): Likewise.
2216 (qsort(float[], int, int)): Likewise.
2217 (qsort(double[], int, int)): Likewise.
2218
2219 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
2220
2221 * java/util/AbstractCollection.java, java/util/AbstractList.java,
2222 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
2223 java/util/ArrayList.java, java/util/Arrays.java,
2224 java/util/BitSet.java, java/util/Calendar.java,
2225 java/util/Collection.java, java/util/ListIterator.java,
2226 java/util/Map.java, java/util/SortedSet.java:
2227 Added additional exceptions to documentation, along
2228 with some additions and corrections.
2229
2230 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
2231
2232 * configure.ac: Handle --enable-gc-debug.
2233 * configure: Regenerate.
2234 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
2235 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
2236 Rearrange include file order.
2237 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
2238 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
2239 (disable_gc_mutex): Delete along with all references.
2240 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
2241 adjust for debug header size.
2242 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
2243 debug case.
2244 (_Jv_AllocArray): Declare min_heap_addr only if needed.
2245 (gcj_describe_type_fn): New.
2246 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
2247 Register gcj_describe_type_fn.
2248 * include/boehm-gc.h:
2249 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
2250 Don't define, but declare, for debug case.
2251 * java/lang/natObject.cc:
2252 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
2253
2254 2004-08-26 Mark Wielaard <mark@klomp.org>
2255
2256 Fixes PR libgcj/17002:
2257 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
2258 a TimeZoneId string and then try to convert that to a TimeZone with
2259 getDefaultSystemTimeZone(String).
2260 (timezones0): Changed type from Hashtable to HashMap.
2261 (timezones): Create HashMap, not Hashtable.
2262 (getDefaultTimeZone): New method, rewritten from CNI version.
2263 (readTimeZoneFile): New method.
2264 (readtzFile): Likewise.
2265 (skipFully): Likewise.
2266 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
2267 getDefaultTimeZoneId and rewritten.
2268 (getDefaultTimeZoneId): Rewritten in java.
2269
2270 2004-08-25 David Daney <daney@avtrex.com>
2271
2272 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
2273 * Makefile.in: Regenerated.
2274
2275 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
2276
2277 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
2278 only if jvmpi is enabled.
2279 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
2280 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
2281 (_Jv_AllocString): Likewise.
2282 (_Jv_AllocPtrFreeObject): Likewise.
2283
2284 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
2285
2286 * defineclass.cc: Include <stdio.h>.
2287 * java/lang/natClassLoader.cc: Include <stdio.h>.
2288
2289 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
2290 Michael Koch <konqueror@gmx.de>
2291
2292 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
2293 * Makefile.in: Regenerated.
2294
2295 2004-08-20 Michael Koch <konqueror@gmx.de>
2296
2297 * configure.ac: Replaced all AC_TRY_COMPILE macros with
2298 AC_COMPILE_IFELSE macros.
2299
2300 2004-08-20 Michael Koch <konqueror@gmx.de>
2301
2302 * configure.in: Renamed to configure.ac.
2303 * configure.ac: New file.
2304 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
2305 include/config.h.in, testsuite/Makefile.in: Regenerated.
2306
2307 2004-08-20 Michael Koch <konqueror@gmx.de>
2308
2309 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
2310 * aclocal.m4, configure: Regenerated.
2311
2312 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
2313 Michael Koch <konqueror@gmx.de>
2314
2315 * configure.in, Makefile.am: Ported to automake 1.9.
2316 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
2317 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
2318 Regenerated.
2319
2320 2004-08-19 Tom Tromey <tromey@redhat.com>
2321
2322 * java/net/DatagramSocket.java: Fixed typo.
2323
2324 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2325
2326 PR libgcj/17081
2327 * java/net/URI.java (string): New field. Make all other fields
2328 transient.
2329 (readObject): Implemented.
2330 (writeObject): Implemented.
2331 (URI): Set 'string'.
2332
2333 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
2334
2335 PR libgcj/17079
2336 * java/util/logging/Handler.java (isLoggable): Accept record if its
2337 log level equals the threshold level. From Robin Green.
2338
2339 2004-08-18 David Daney <ddaney@avtrex.com>
2340
2341 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
2342 instead of sigwait.
2343
2344 2004-08-17 Michael Koch <konqueror@gmx.de>
2345
2346 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
2347 * Makefile.in: Regenerated.
2348
2349 2004-08-16 Tom Tromey <tromey@redhat.com>
2350
2351 PR java/8473:
2352 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
2353
2354 2004-08-16 Michael Koch <konqueror@gmx.de>
2355
2356 * Makefile.am
2357 (math_c_files): Renamed from c_files.
2358 (math_c_source_files): Renamed from c_source_files.
2359 * Makefile.in,
2360 gcj/Makefile.in,
2361 include/Makefile.in,
2362 testsuite/Makefile.in: Regenerated.
2363
2364 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
2365
2366 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
2367 to avoid autoconf warning.
2368 * configure: Rebuilt.
2369
2370 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
2371
2372 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
2373 localhostAddress to loopbackAddress.
2374 * java/net/natInetAddressWin32.cc (lookup): Likewise.
2375
2376 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2377
2378 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
2379 boehm-gc's include dirs.
2380 * configure: Rebuilt.
2381 * include/boehm-gc.h: Include gc_config.h.
2382
2383 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2384
2385 * java/net/InetAddress.java (loopbackAddress): Renamed from
2386 localhostAddress.
2387 (getByName): Return loopback address for null hostname, without
2388 security check. Use lookup(), not getAllByName.
2389 (getAllByName): Return loopback address for null hostname, without
2390 security check.
2391 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
2392 check here.
2393
2394 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
2395
2396 PR libgcj/17020
2397 Reported by Robin Green.
2398 * defineclass.cc (handleField): Don't throw exception on unrecognised
2399 modifier. Add FIXME comments for spec compliance.
2400 (handleMethod): Likewise.
2401
2402 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
2403
2404 PR libgcj/16662
2405 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
2406 (Almost everywhere): add LOG calls, fix, add comments.
2407 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
2408 Add explicit check for LOCKED bit in slow case (PR 16662).
2409 (_Jv_MonitorExit): Add casts in debug-only code.
2410 Always release LOCKED bit before throwing exception.
2411 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
2412 isn't. Handle easy cases without lock acquisition.
2413 (Object::wait): Use NotifyAll for lock inflation.
2414
2415 2004-08-12 David Daney <ddaney@avtrex.com>
2416
2417 * testsuite/libjava.lang/Process_1.java: New test.
2418 * testsuite/libjava.lang/Process_2.java: New test.
2419 * testsuite/libjava.lang/Process_3.java: New test.
2420 * testsuite/libjava.lang/Process_4.java: New test.
2421 * testsuite/libjava.lang/Process_5.java: New test.
2422 * testsuite/libjava.lang/Process_6.java: New test.
2423 * testsuite/libjava.lang/Process_1.out: Expected result.
2424 * testsuite/libjava.lang/Process_2.out: Expected result.
2425 * testsuite/libjava.lang/Process_3.out: Expected result.
2426 * testsuite/libjava.lang/Process_4.out: Expected result.
2427 * testsuite/libjava.lang/Process_5.out: Expected result.
2428 * testsuite/libjava.lang/Process_6.out: Expected result.
2429
2430 2004-08-12 David Daney <ddaney@avtrex.com>
2431
2432 PR libgcj/11801
2433 * java/lang/PosixProcess.java: Rewrote.
2434 * java/lang/natPosixProcess.cc: Rewrote.
2435 * java/lang/Runtime.java (execInternal): Declare throws IOException.
2436 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
2437 * posix-threads.cc (block_sigchld) New function.
2438 (_Jv_ThreadRegister) Use it.
2439 (_Jv_ThreadStart) Use it.
2440 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
2441 * Makefile.am: ... to specify extra native headers.
2442 * configure: Regenerated.
2443 * include/config.h: Regenerated.
2444 * Makefile.in: Regenerated.
2445 * gcj/Makefile.in: Regenerated.
2446 * include/Makefile.in: Regenerated.
2447 * testsuite/Makefile.in: Regenerated.
2448
2449 2004-08-12 Diego Novillo <dnovillo@redhat.com>
2450
2451 PR tree-optimization/16867
2452 * testsuite/libjava.lang/PR16867.java: New test.
2453
2454 2004-08-09 Per Bothner <per@bothner.com>
2455
2456 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
2457 with private fields and access methods.
2458 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
2459 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
2460 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
2461 ( _Jv_makeUtf8Const): Rewrite using new constructors.
2462 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
2463 * defineclass.cc: Use new _Utf8Const access/convenience methods.
2464 * jni.cc: Likewise.
2465 * resolve.cc: Likewise.
2466 * gcj/field.h: Likewise.
2467 * include/jvm.h: Likewise.
2468 * java/lang/Class.h: Likewise.
2469 * java/lang/natClass.cc: Likwise.
2470 * java/lang/natClassLoader.cc: Likewise
2471 * java/lang/reflect/natMethod.cc: Likewise
2472 * verify.cc: Likewise.
2473 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
2474 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
2475
2476 2004-08-10 Andrew Haley <aph@redhat.com>
2477
2478 * testsuite/libjava.lang/err14.java: New file.
2479 * testsuite/libjava.lang/err14.out: New file.
2480
2481 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
2482
2483 * Makefile.am: Fix missing rename from x_nat_headers to
2484 xlib_nat_headers.
2485 * Makefile.in: Regenerated.
2486
2487 2004-08-04 Andrew Haley <aph@redhat.com>
2488
2489 * java/security/BasicPermission.java: Don't check wildcards.
2490
2491 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2492 Michael Koch <konqueror@gmx.de>
2493
2494 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
2495 * configure.in: Replaced all usages of AC_LINK_FILES by
2496 AC_CONFIG_LINKS.
2497 * aclocal.m4,
2498 configure: Regenerated.
2499
2500 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
2501 Michael Koch <konqueror@gmx.de>
2502
2503 * acconfig.h: Removed.
2504 * Makefile.am: Rename variables for xlib peer to include xlib and
2505 gtk_c_headers to gtk_jni_headers.
2506 * Makefile.in: Regenerated.
2507
2508 2004-08-04 Andrew Haley <aph@redhat.com>
2509
2510 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
2511 debugging.
2512
2513 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
2514
2515 * configure.in: Eliminate uses of changequote (mostly by quoting []).
2516 Replace most top level 'dnl' comments with '#' comments, conforming
2517 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
2518 help strings.
2519 * configure: Rebuilt.
2520
2521 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
2522
2523 * acinclude.m4: Include no-executables.m4.
2524 * aclocal.m4: Rebuild.
2525 * configure.in: Convert to the autoconf 2.59 version of
2526 of the no-executables hack, and also of the nonstandard CXX
2527 hack and the multilibbed CC and CXX hack. Change prerequisite
2528 to autoconf 2.59.
2529 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
2530 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
2531 testsuite/Makefile.in: Regenerate.
2532
2533 2004-08-03 Tom Tromey <tromey@redhat.com>
2534
2535 * jni.cc: Reindented.
2536
2537 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2538
2539 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
2540
2541 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
2542
2543 * testsuite/libjava.compile/PR16701.java: New test.
2544
2545 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
2546
2547 * java/util/Collection.java, java/util/List.java,
2548 java/util/Map.java, java/util/Set.java,
2549 java/util/SortedMap.java, java/util/SortedSet.java:
2550 Added additional exceptions to documentation.
2551
2552 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
2553
2554 PR libgcj/16814
2555 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
2556 * configure. Regenerate.
2557 * include/win32.h: Explicitly include winsock2.h
2558 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
2559 Winsock api.
2560
2561 2004-07-30 Michael Koch <konqueror@gmx.de>
2562
2563 * java/util/zip/GZIPInputStream.java
2564 (GZIPInputStream): Increase buffer size to 4k.
2565 * java/util/zip/GZIPOutputStream.java
2566 (GZIPOutputStream): Likewise.
2567 * java/util/zip/Inflater.java
2568 (setInput): Merged formating with GNU classpath.
2569 * java/util/zip/InflaterInputStream.java
2570 (InflaterInputStream): Increase buffer size to 4k.
2571 (fill): Throw exception if stream ends early.
2572 (read): Merged endless-loop with GNU classpath.
2573 (skip): Increase buffer size to 2k.
2574
2575 2004-07-30 Michael Koch <konqueror@gmx.de>
2576
2577 * gnu/java/awt/EmbeddedWindow.java
2578 (addNotify): Use AccessController to allow execution of privileged
2579 code.
2580
2581 2004-07-29 Michael Koch <konqueror@gmx.de>
2582
2583 * gnu/java/lang/MainThread.java:
2584 Explicitely import used classes.
2585 (args): Make it type String[].
2586
2587 2004-07-29 Dalibor Topic <robilad@kaffe.org>
2588
2589 * gnu/java/awt/ComponentDataBlitOp.java,
2590 gnu/java/beans/ExplicitBeanInfo.java,
2591 gnu/java/beans/IntrospectionIncubator.java,
2592 gnu/java/beans/editors/ColorEditor.java,
2593 gnu/java/beans/editors/FontEditor.java,
2594 gnu/java/beans/editors/NativeBooleanEditor.java,
2595 gnu/java/beans/editors/NativeByteEditor.java,
2596 gnu/java/beans/editors/NativeDoubleEditor.java,
2597 gnu/java/beans/editors/NativeFloatEditor.java,
2598 gnu/java/beans/editors/NativeIntEditor.java,
2599 gnu/java/beans/editors/NativeLongEditor.java,
2600 gnu/java/beans/editors/NativeShortEditor.java,
2601 gnu/java/beans/editors/StringEditor.java,
2602 gnu/java/io/ClassLoaderObjectInputStream.java,
2603 gnu/java/io/decode/Decoder.java,
2604 gnu/java/io/encode/Encoder.java,
2605 gnu/java/lang/ClassHelper.java,
2606 gnu/java/locale/Calendar.java,
2607 gnu/java/locale/Calendar_de.java,
2608 gnu/java/locale/Calendar_en.java,
2609 gnu/java/locale/Calendar_nl.java,
2610 gnu/java/locale/LocaleInformation_de.java,
2611 gnu/java/locale/LocaleInformation_en.java,
2612 gnu/java/locale/LocaleInformation_nl.java:
2613 Cleaned up imports.
2614
2615 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2616
2617 * README: Remove obsolete info. Update bug URL.
2618 * THANKS: Updated.
2619 * NEWS: Updated with news up to GCC 3.4 release.
2620
2621 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2622
2623 * gnu/java/security/action/GetPropertyAction.java (setParameters):
2624 Renamed from 'setName'. New 2-argument form with default value.
2625 (run): Pass default 'value' parameter to System.getProperty().
2626 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
2627 typos.
2628 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
2629 not 'setName'.
2630
2631 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
2632
2633 * configure.in: Check for minimum GTK version 2.4 requirement.
2634 * configure: Rebuilt.
2635
2636 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2637
2638 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
2639 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
2640 Reduce sleep time.
2641 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
2642 compiler bug.
2643 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
2644 address. Reduce sleep times. Synchronize with target threads before
2645 attempting to interrupt them. Don't try to calibrate yeild count,
2646 instead, always loop for a fixed time.
2647 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
2648 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
2649 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
2650 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
2651 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
2652 * testsuite/libjava.lang/pr179.java: Likewise.
2653 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
2654 time. Remove upper bounds check on sleep time.
2655
2656 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2657
2658 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
2659 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
2660
2661 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
2662
2663 * java/io/File.java (toURI): Throw RuntimeException, not
2664 InternalError.
2665 * java/lang/Runtime.java (exit): Qualify static sleep() call with
2666 class name, not instance.
2667
2668 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
2669
2670 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
2671 and gnu/java/security/action/SetAccessibleAction.java.
2672 * Makefile.in: Rebuilt.
2673
2674 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2675
2676 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
2677 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
2678 _Jv_InitPrimClass.
2679 (DECLARE_PRIM_TYPE): Don't declare array vtables.
2680 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
2681 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
2682
2683 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
2684
2685 * Makefile.am: Replace jar, rmic and rmiregistry references with
2686 gjar, grmic and grmiregistry.
2687 * configure.in: Likewise.
2688 * Makefile.in: Regenerate.
2689 * configure: Likewise.
2690 * gcj/Makefile.in: Likewise.
2691 * include/Makefile.in: Likewise.
2692 * testsuite/Makefile.in: Likewise.
2693
2694 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2695
2696 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
2697 for privileged getProperty calls.
2698 * java/io/ObjectOutputStream.java (getField): No longer static. Use
2699 SetAccessibleAction instead of anonymous class for doPrivileged call.
2700 (getMethod): Likewise.
2701 (setAccessible): New field. PrivilegedAction object to use when
2702 calling setAccessible.
2703 * java/io/ObjectStreamClass.java (calculateOffsets): Use
2704 SetAccessibleAction instead of anonymous class for diPrivileged call.
2705 (setFields): Likewise.
2706 (getClassUID): Likewise.
2707 (findMethod): Likewise.
2708 * gnu/java/security/action/GetPropertyAction.java: New class.
2709 * gnu/java/security/action/SetAccessibleAction.java: New class.
2710
2711 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2712
2713 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
2714 for final fields.
2715 * testsuite/libjava.lang/Serialization.java: New test.
2716 * testsuite/libjava.lang/Serialization.out: New.
2717
2718 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
2719
2720 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
2721 missed in last commit.
2722
2723 2004-07-23 Mark Wielaard <mark@klomp.org>
2724
2725 * java/lang/System.java (static): Set http.agent system property when
2726 not yet set.
2727 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
2728 from system property inside AccessController.doPrivileged() call.
2729 (proxyPort): Made package private.
2730 (proxyInUse): Likewise.
2731 (proxyHost): Likewise.
2732 (userAgent): Likewise.
2733
2734 2004-07-23 Mark Wielaard <mark@klomp.org>
2735
2736 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
2737 implementation.
2738
2739 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
2740
2741 * Makefile.am (ordinary_java_source_files): Add
2742 DefaultContentHandlerFactory.java.
2743 * Makefile.in: Rebuilt.
2744 * java/net/URLConnection.java (defaultFactory): New field.
2745 (getContent):
2746 (getContentHandler): Renamed from 'setContentHandler'. Try
2747 defaultFactory after user-set factory, if any. Search for content
2748 handler implementations in gnu.java.net.content, not gnu.gcj.content.
2749 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
2750 Implemented.
2751 (getLastModified): Implemented.
2752 (getPermission): Create file permission here, instead of in
2753 constructor.
2754 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
2755 Implemented.
2756 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
2757 Implemented.
2758 (getLastModified): Implemented.
2759 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
2760 Default implementation.
2761 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
2762 Implement using GdkPixbufDecoder.
2763
2764 2004-07-21 Michael Koch <konqueror@gmx.de>
2765
2766 * javax/swing/JTextArea.java
2767 (setLineWrap): Fire property change event after new value is set.
2768 (setTabSize): Likewise.
2769
2770 2004-07-21 Michael Koch <konqueror@gmx.de>
2771
2772 * javax/swing/JTable.java
2773 (autoCreateColumnsFromModel): New field.
2774 (autoResizeMode): Likewise.
2775 (cellEditor): Likewise.
2776 (cellSelectionEnabled): Likewise.
2777 (columnModel): Likewise.
2778 (dataModel): Likewise.
2779 (defaultEditorsByColumnClass): Likewise.
2780 (defaultRenderersByColumnClass): Likewise.
2781 (editingColumn): Likewise.
2782 (editingRow): Likewise.
2783 (gridColor): Likewise.
2784 (preferredViewportSize): Likewise.
2785 (rowHeight): Likewise.
2786 (rowMargin): Likewise.
2787 (rowSelectionAllowed): Likewise.
2788 (selectionBackground): Likewise.
2789 (selectionForeground): Likewise.
2790 (selectionModel): Likewise.
2791 (showHorizontalLines): Likewise.
2792 (showVerticalLines): Likewise.
2793 (tableHeader): Likewise.
2794 (JTable): Implemented.
2795 (getColumnModel): Likewise.
2796 (getSelectedRow): Likewise.
2797 (getSelectionModel): Likewise.
2798 (setModel): Likewise.
2799 (setSelectionModel): Likewise.
2800 (createScrollPaneForTable): New method.
2801 (createDefaultDataModel): Likewise.
2802 (createDefaultListSelectionModel): Likewise.
2803 (getModel): Likewise.
2804 (getTableHeader): Likewise.
2805 (setTableHeader): Likewise.
2806 (getColumnSelectionAllowed): Likewise.
2807 (setColumnSelectionAllowed): Likewise.
2808 (getRowSelectionAllowed): Likewise.
2809 (setRowSelectionAllowed): Likewise.
2810 (getAutoResizeMode): Likewise.
2811 (setAutoResizeMode): Likewise.
2812 (getColumnCount): Likewise.
2813 (getRowCount): Likewise.
2814 (getCellRenderer): Likewise.
2815 * javax/swing/JTree.java
2816 (cellRenderer): New field.
2817 (editable): Likewise.
2818 (rootVisible): Likewise.
2819 (showsRootHandles): Likewise.
2820 (getModel): New method.
2821 (setModel): Likewise.
2822 (isEditable): Likewise.
2823 (setEditable): Likewise.
2824 (isRootVisbile): Likewise.
2825 (setRootVisible): Likewise.
2826 (getShowsRootHandles): Likewise.
2827 (setShowRootHandles): Likewise.
2828 (getCellRenderer): Likewise.
2829 (setCellRenderer): Likewise.
2830
2831 2004-07-21 Michael Koch <konqueror@gmx.de>
2832
2833 * javax/swing/JFormattedTextField.java
2834 (setDocument): Implemented.
2835 * javax/swing/JRootPane.java:
2836 Fixed javadocs.
2837 * javax/swing/JTable.java
2838 (getDefaultRenderer): New method.
2839 * javax/swing/JTextField.java
2840 (setFont): Likewise.
2841 (getPreferredSize): Likewise.
2842 * javax/swing/JToggleButton.java
2843 (getAccessibleContext): Fix javadoc.
2844 * javax/swing/JTree.java:
2845 Add some javadocs.
2846 * javax/swing/JViewport.java:
2847 Likewise.
2848
2849 2004-07-21 David Jee <djee@redhat.com>
2850
2851 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
2852 Collect all native method declaration at the top.
2853 (create): Set the filename filter if necessary.
2854 (setDirectory): Call nativeSetDirectory().
2855 (setFilenameFilter): Implement.
2856 (filenameFilterCallback): New method.
2857 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2858 (create): Configure dialog to show hidden files.
2859 (filenameFilterCallback): New function.
2860 (nativeSetFilenameFilter): New function.
2861 (nativeSetDirectory): New function.
2862
2863 2004-07-21 Kim Ho <kho@redhat.com>
2864
2865 * javax/swing/plaf/basic/BasicSliderUI.java:
2866 Ran Jalopy.
2867 (paintTrack): Fill the track before painting
2868 the borders.
2869
2870 2004-07-21 Graydon Hoare <graydon@redhat.com>
2871
2872 patch from Roman Kennke <roman@ontographics.com>
2873 * javax/swing/Spring.java: New file.
2874 * javax/swing/SpringLayout.java: New file.
2875 * Makefile.am: Add new files.
2876 * Makefile.in: Regenerate.
2877
2878 2004-07-21 Graydon Hoare <graydon@redhat.com>
2879
2880 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
2881 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
2882 * javax/swing/ScrollPaneLayout.java: Likewise.
2883
2884 2004-07-21 Kim Ho <kho@redhat.com>
2885
2886 * javax/swing/DefaultDesktopManager.java:
2887 (findMinimum): Removed.
2888 (resizeFrame): Trust the UI to pass valid
2889 bounds.
2890 * javax/swing/JOptionPane.java:
2891 Implemented showInternalXXXDialog methods.
2892 (startModal): New method.
2893 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
2894 (BorderListener::mouseDragged): Verify that the new
2895 bounds are valid before passing them to the DesktopManager.
2896 (preferredLayoutSize): Delegate
2897 to getSize.
2898 (minimumLayoutSize): Ditto.
2899 (getSize): New method.
2900 (GlassPaneDispatcher): Reimplemented by copying
2901 a stripped down LightweightDispatcher from Container.
2902 (getMinimumSize): Call minimumLayoutSize.
2903 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
2904 Ran Jalopy.
2905 (mousePressed): Add ability to properly close
2906 JInternalFrames.
2907 * javax/swing/plaf/basic/BasicToolBarUI.java:
2908 (DragWindow): Set owner for DragWindow.
2909
2910 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2911
2912 * java/awt/image/ShortLookupTable.java: New file.
2913 * java/awt/image/ByteLookupTable.java: New file.
2914 * Makefile.am: Added new files.
2915 * Makefile.in: Regenerated.
2916
2917 2004-07-21 David Jee <djee@redhat.com>
2918
2919 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
2920 (create(GtkContainerPeer)): New native method.
2921 (create()): Call native create(), passing in the parent frame
2922 as the paramter. Natively set the current file and directory.
2923 (setFile): Construct an absolute filename before passing it to
2924 the native peer.
2925 (nativeGetDirectory): New method.
2926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2927 (window_closed): Removed.
2928 (ok_clicked): Likewise.
2929 (cancel_clicked): Likewise.
2930 (handle_response): New method.
2931 (create): Use GtkFileChooserDialog.
2932 (connectSignals): Connect to handle_response.
2933 (nativeGetDirectory): New method.
2934 (nativeSetFile): Use GtkFileChooserDialog.
2935
2936 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2937
2938 * java/awt/image/LookupTable.java: New file.
2939 * Makefile.am: Added new file.
2940 * Makefile.in: Regenerated.
2941
2942 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
2943
2944 * java/awt/image/Kernel.java: New file.
2945 * Makefile.am: Added new file.
2946 * Makefile.in: Regenerated.
2947
2948 2004-07-21 Olga Rodimina <rodimina@redhat.com>
2949
2950 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
2951 * javax/swing/JMenu.java: Likewise.
2952 * javax/swing/JMenuBar.java: Likewise.
2953 (MARGIN_CHANGED_PROPERTY): New property.
2954 (setMargin): Implemented.
2955 * javax/swing/JMenuItem.java: Fixed javadocs.
2956 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
2957 (LABEL_CHANGED_PROPERTY): New property.
2958 (add): changed to use createActionComponent.
2959 (createActionComponent): Implemented.
2960 (setLabel): Fire PropertyChangeEvent if label property
2961 changes.
2962 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
2963 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
2964 (ContainerHandler): Repaint if margin property has changed.
2965 * javax/swing/plaf/basic/BasicMenuItemUI.java:
2966 (installUI): Call installComponents().
2967 (uninstallUI): Call uinstallComponents().
2968 * javax/swing/plaf/basic/BasicMenuUI.java:
2969 Fixed javadocs.
2970 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
2971 Likewise.
2972
2973 2004-07-21 Kim Ho <kho@redhat.com>
2974
2975 * javax/swing/plaf/basic/BasicToolBarUI.java:
2976 (DragWindow): Use the right constructor.
2977
2978 2004-07-21 Kim Ho <kho@redhat.com>
2979
2980 * javax/swing/JToolBar.java:
2981 (layoutContainer): Use getComponents.
2982 * javax/swing/plaf/basic/BasicToolBarUI.java:
2983 (DragWindow): Don't use SwingUtilities'
2984 getOwnerFrame
2985 (ToolBarDialog): ditto.
2986
2987 2004-07-21 Kim Ho <kho@redhat.com>
2988
2989 * javax/swing/JRootPane.java:
2990 Ran jalopy.
2991 (layoutContainer): Set the glasspane's size to
2992 be the same as the content pane.
2993 (createGlassPane): Set opaque property to false.
2994
2995 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
2996
2997 * java/awt/Component.java (requestFocus()): Don't handle Panels
2998 specially.
2999 (requestFocus(boolean)): Likewise.
3000 (requestFocusInWindow(boolean)): Likewise.
3001 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
3002 Set GTK_CAN_FOCUS flag.
3003
3004 2004-07-21 Kim Ho <kho@redhat.com>
3005
3006 * Makefile.am: Added new file.
3007 * Makefile.in: Regenerated.
3008 * gcj/Makefile.in: Regenerated.
3009 * include/Makefile.in: Regenerated.
3010 * javax/swing/AbstractButton.java:
3011 Add rollOverEnabled property.
3012 (setRolloverEnabled): Use new property.
3013 (isRolloverEnabled): Use new property.
3014 * javax/swing/JTabbedPane.java:
3015 (setComponent): Remove useless JTabbedPane.this.
3016 * javax/swing/JToolBar.java: Finish implementation.
3017 * javax/swing/plaf/basic/BasicArrowButton.java:
3018 (paint): Moved border painting to a border.
3019 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3020 Change JToolBar look and feel defaults.
3021 * javax/swing/plaf/basic/BasicOptionPaneUI.java
3022 (actionPerformed): Return Integer index instead of name.
3023 (addButtonComponents): Check to see if component is
3024 JButton last.
3025 (createMessageArea): Don't use components that are not
3026 completed yet.
3027 (getIconForType): Use temporary icons.
3028 * javax/swing/plaf/basic/BasicSliderUI.java:
3029 (mousePressed): Do not return if it's on thumb.
3030 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
3031 (paintMinorTickForVertSlider): ditto.
3032 (paintMajorTickForHorizSlider): ditto.
3033 (paintMajorTickForVertSlider): ditto.
3034 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
3035 Add a border around the SplitPaneDivider.
3036 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
3037 Remove comments.
3038 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
3039 New file. Implemented.
3040 * javax/swing/plaf/basic/BasicToolBarUI.java:
3041 Implemented.
3042 * testsuite/Makefile.in: Regenerated.
3043
3044 2004-07-21 Graydon Hoare <graydon@redhat.com>
3045
3046 * javax/swing/Timer.java (run): Queue events each time cycle.
3047
3048 2004-07-21 David Jee <djee@redhat.com>
3049
3050 * gnu/java/awt/peer/gtk/GtkImagePainter.java
3051 (imageComplete): Call image.imageComplete().
3052 * java/awt/image/MemoryImageSource.java:
3053 Reimplement consumers as a Vector instead of a Hashtable. This is
3054 because enumeration on a Hashtable is not thread-safe.
3055 (addConsumer): Adapt to Vector consumers.
3056 (isConsumer): Adapt to Vector consumers.
3057 (removeConsumer): Adapt to Vector consumers.
3058 (startProduction): Adapt to Vector consumers. Call imageComplete()
3059 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
3060 (newPixels): Adapt to Vector consumers.
3061 (sendPicture): Set the color model of the image consumer.
3062 (newPixels(IIII)): Adapt to Vector consumers.
3063 (newPixels(IIIIB)): Adapt to Vector consumers.
3064
3065 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3066
3067 * java/awt/Component.java (deliverEvent): Implement.
3068 (postEvent): Implement.
3069 (handleEvent): Implement.
3070 (translateEvent): New method.
3071 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
3072 * java/awt/Container.java (deliverEvent): Implement.
3073 * java/awt/Event.java (paramString): Fix formatting.
3074 * java/awt/Font.java (toString): Likewise.
3075 * java/awt/Window.java (postEvent): Implement.
3076
3077 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3078
3079 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3080 Set window's focus owner upon receiving a FOCUS_LOST event.
3081 * java/awt/Window.java (Window()): Refocus the previously
3082 focused component within the window when the window regains the
3083 top-level focus.
3084 (setFocusOwner): New method.
3085 * java/awt/Component.java (requestFocus): Add FIXME.
3086
3087 * libgcj.pc.in: Remove library flags.
3088
3089 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3090
3091 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
3092 MOUSE_PRESSED event.
3093 * java/awt/Component.java (requestFocus()): Handle Panel
3094 specially. Post FOCUS_LOST event on opposite component.
3095 (requestFocus(boolean)): Likewise.
3096 (requestFocusInWindow(boolean)): Likewise.
3097 (paramString): Reorder dimension fields.
3098 * java/awt/Container.java (paramString): Fix string format.
3099 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
3100 Handle FOCUS_LOST events. Don't handle Windows specially. Only
3101 process key events if the focus owner is non-null.
3102 (dispatchKeyEvent): Likewise.
3103 * java/awt/Frame.java (paramString): Fix formatting.
3104 (generateName): New method.
3105 (getUniqueLong): Likewise.
3106 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
3107 the temporary focus owner is null. If so, return the permanent
3108 focus owner.
3109 * java/awt/Panel.java (generateName): New method.
3110 (getUniqueLong): Likewise.
3111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
3112 signal handling to make callbacks more specific.
3113
3114 2004-07-21 Michael Koch <konqueror@gmx.de>
3115
3116 * javax/swing/text/Position.java
3117 (Bias): Implemented.
3118
3119 2004-07-21 Michael Koch <konqueror@gmx.de>
3120
3121 * javax/swing/LookAndFeel.java
3122 (provideErrorFeedback): New method.
3123
3124 2004-07-21 Michael Koch <konqueror@gmx.de>
3125
3126 * javax/swing/JTextArea.java
3127 (tabSize): New field.
3128 (getTabSize): New method.
3129 (setTabSize): Likewise.
3130
3131 2004-07-21 Michael Koch <konqueror@gmx.de>
3132
3133 * javax/swing/ActionMap.java:
3134 Fixed javadocs all over.
3135 (serialVersionUID): Made private.
3136 (parent): Don't explicitely initialize with default value.
3137 (get): SImplified.
3138 (keys): Reimplemented.
3139 (allKeys): Likewise.
3140 (convertSet): Removed.
3141 * javax/swing/ComponentInputMap.java:
3142 Fixed javadocs all over.
3143 (ComponentInputMap): Implemented.
3144 (put): Likewise.
3145 (clear): Likewise.
3146 (remove): Likewise.
3147 (SetParent): Likewise.
3148 (getComponent): Likewise.
3149 * javax/swing/InputMap.java:
3150 Fixed javadocs all over.
3151 (serialVersionUID): Made private.
3152 (parent): Don't explicitely initialize with default value.
3153 (get): SImplified.
3154 (keys): Reimplemented.
3155 (allKeys): Likewise.
3156 (convertSet): Removed.
3157
3158 2004-07-21 Michael Koch <konqueror@gmx.de>
3159
3160 * javax/swing/ActionMap.java,
3161 javax/swing/ComponentInputMap.java,
3162 javax/swing/InputMap.java,
3163 javax/swing/table/DefaultTableColumnModel.java,
3164 javax/swing/table/TableColumn.java,
3165 javax/swing/table/TableColumnModel.java,
3166 javax/swing/table/TableModel.java,
3167 javax/swing/text/AbstractDocument.java,
3168 javax/swing/text/TextAction.java:
3169 Reformated.
3170
3171 2004-07-21 Graydon Hoare <graydon@redhat.com>
3172
3173 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
3174 Make method non-static.
3175 * javax/swing/AbstractButton.java:
3176 Rename fields to match property names where possible.
3177 (iconTextGap): New property.
3178 * javax/swing/JCheckBox.java: Match AbstractButton changes.
3179 (init) New method, call from after various constructors.
3180 * javax/swing/JComponent.java (revalidate):
3181 Invalidate before queueing repair.
3182 * javax/swing/JList.java (getPreferredScrollableViewportSize):
3183 Reimplement in terms of visibleRowCount property.
3184 * javax/swing/JMenuButton.java: Match AbstractButton changes.
3185 * javax/swing/JScrollPane.java (createScrollListener):
3186 Remove tracing chatter.
3187 * javax/swing/JToggleButton.java: Match AbstractButton changes.
3188 * javax/swing/RepaintManager.java (addInvalidComponent):
3189 Don't invalidate.
3190 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
3191 calculations.
3192 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
3193 Mimic sun behavior on top left/right positioning.
3194 * javax/swing/ViewportLayout.java (preferredLayoutSize):
3195 Remove mistaken use of preferredScrollableViewportSize here.
3196 (layoutContainer): Use view's preferred size as basis.
3197 * javax/swing/plaf/basic/BasicButtonUI.java:
3198 Set, get, and use textIconGap property.
3199 (paint) Paint text returned from layout (with ellipsis).
3200 * javax/swing/plaf/basic/BasicListUI.java:
3201 Remove tracing chatter, correct various minor calculations.
3202 (getCellBounds): Update layout state before calculating.
3203 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
3204 Use margin default similar to sun's.
3205 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
3206 (createIncreaseIcon): Center icon, minimize margins.
3207 (createDecreaseIcon): Likewise.
3208 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
3209 Implement.
3210 (installUI): Call it.
3211 (uninstallDefaults): Implement.
3212 (uninstallUI): Call it.
3213 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
3214 Call existing Window constructor.
3215 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
3216 Set clip before painting.
3217
3218 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3219
3220 * javax/swing/JMenuItem.java:
3221 (processMouseEvent): Reimplemented to deal with
3222 mouse drag events.
3223 (createMenuDragMouseEvent): New private helper method.
3224 Creates MenuDragMouseEvent.
3225 * javax/swing/MenuSelectionManager.java
3226 (componentForPoint): Implemented.
3227 (isComponentPartOfCurrentMenu): Made public.
3228 (processMouseEvent): Reimplemented to deal with
3229 mouse drag events.
3230 (setSelectedPath): Corrected small mistake that caused
3231 path to be set incorrectly.
3232 (getPath): If given component is JMenu then also add this
3233 menu's popup menu to the selected path.
3234 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3235 (getPath): Ditto.
3236 (getPreferredSize): Call getPreferredMenuItemSize().
3237 (getPreferredItemSize): Moved code from getPreferredSize to here.
3238 (installListeners): Install MouseMotionListeners.
3239 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
3240 if mouse wasn't released in the bounds of this menu item.
3241 (MenuDragMouseHandler): Implemented.
3242 * javax/swing/plaf/basic/BasicMenuUI.java:
3243 (installListeners): Install MouseMotionListener and
3244 MenuDrageMouseListener.
3245 (MenuDragMouseHandler): Implemented.
3246 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3247 (uninstallListeners): Implemented.
3248
3249 2004-07-21 Michael Koch <konqueror@gmx.de>
3250
3251 * javax/swing/JCheckBox.java: Reformated.
3252 (JCheckBox): Fixed all constructors.
3253 (isBorderPaintedFlat): New method.
3254 (setBorderPaintedFlat): New method.
3255 * javax/swing/JEditorPane.java
3256 (createEditorKitForContentType): Made public.
3257 (scrollToReference): Likewise.
3258 * javax/swing/JTextArea.java
3259 (setLineWrap): Fire property change.
3260 * javax/swing/JToggleButton.java
3261 (JToggleButton): New constructor.
3262 (JToggleButton): Simplified.
3263 * javax/swing/text/AttributeSet.java
3264 (FontAttribute): Renamed from FontCharacterAttribute.
3265 * javax/swing/text/JTextComponent.java
3266 (KeyBinBinding): Added javadoc.
3267 (JTextComponent): Likewise.
3268 (getAccessibleContext): Fixed javadoc.
3269 * javax/swing/text/View.java
3270 (View): Added javadoc.
3271 * javax/swing/text/TabableView.java: New file.
3272 * Makefile.am: Added javax/swing/text/TabableView.java.
3273 * Makefile.in: Regenerated.
3274
3275 2004-07-21 Graydon Hoare <graydon@redhat.com>
3276
3277 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
3278 * gnu/java/awt/peer/gtk/GtkToolkit.java
3279 (GtkErrorImage): New helper class.
3280 (bufferedImageOrError): New helper method.
3281 (createImage): Use it.
3282
3283 2004-07-21 David Jee <djee@redhat.com>
3284
3285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
3286 (setCaretPosition): Scroll the text view so the new caret position
3287 is visible on screen.
3288
3289 2004-07-21 David Jee <djee@redhat.com>
3290
3291 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
3292 (setBounds): Do not validate awtComponent here.
3293 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
3294 (getPreferredSize): New method.
3295 * java/awt/ScrollPane.java
3296 (ScrollPane): Set default size to 100x100.
3297 (addNotify): If child is not a Panel, wrap it with a new Panel.
3298 (paramString): Implement.
3299
3300 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3301
3302 * javax/swing/JMenu.java:
3303 (setSelected): Display popup menu only if this menu
3304 is showing on the screen.
3305 * javax/swing/JPopupMenu.java:
3306 (processMouseEvent): Added comment.
3307 (processKeyEvent): Likewise.
3308 * javax/swing/MenuSelectionManager.java:
3309 (clearSelectedPath): Only fireStateChanged() after
3310 selected path was changed, not before.
3311 (setSelectedPath): Likewise.
3312 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3313 (paintMenuItem): Corrected position of menu item's
3314 icon.
3315 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3316 (installUI): Correct setDefaultLightWeightPopupEnabled call.
3317 (popupMenuCanceled): Reimplemented.
3318 (popupMenuWillBecomeVisible): Select first menu item by default
3319 when displaying free floating popup menus.
3320 (TopWindowListener): Reimplemented.
3321
3322 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3323
3324 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
3325 Panel from being painted twice when it is first shown.
3326
3327 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3328
3329 * java/awt/Window.java: Reverted changes from my
3330 previous patch for creating window without an owner.
3331 * javax/swing/SwingUtilities.java:
3332 (SwingUtilities.OwnerFrame): made static.
3333 (OwnerFrame.setVisible): New method. Overridden with
3334 empty implementation.
3335 (OwnerFrame.isShowing): New method. Ovverridden
3336 to return always true.
3337
3338 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3339
3340 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3341 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3342 (GtkComponentPeer): Remove temporary try/catch block.
3343 (setVisible): Call show and hide.
3344 (show): Make native.
3345 (hide): Likewise.
3346 (getArgs): Don't add "visible" argument.
3347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3348 (property_notify_predicate): Return Bool instead of int.
3349 (find_layout): New function.
3350 (connectJObject): Call find_layout.
3351 (connectSignals): Likewise.
3352 (moveLayout): Likewise.
3353 (gtkLayoutSetVisible): Likewise.
3354
3355 2004-07-21 Mark Wielaard <mark@klomp.org>
3356
3357 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
3358 on notifier object before calling notifyAll().
3359
3360 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3361
3362 * java/awt/Window.java: Changed constructors to use new
3363 method that is described below. Constructors call this
3364 methods only if newly created window should have an owner.
3365 (setWindowOwner): New method. Implementation for
3366 this method is moved from this(owner,configuration).
3367 * javax/swing/JWindow.java:
3368 (JWindow): Reimplement to use SwingUtilities.ownerFrame
3369 instead of owner.
3370 * javax/swing/SwingUtilities.java:
3371 (ownerFrame): Change type of this field to OwnerFrame.
3372 (getOwnerFrame): Changed to return object of type OwnerFrame.
3373 (SwingUtilities.OwnerFrame): New class. Represents owner
3374 of a Window that is not provided with one.
3375
3376 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3377
3378 * javax/swing/AbstractButton.java:
3379 (configurePropertiesFromAction): Set action command
3380 to button's text by default if action command is not
3381 explicitely specified.
3382 * javax/swing/JMenu.java: Remove unnecessary listener
3383 and methods relevant to it.
3384 (setSelected): Reimplemented.
3385 (menuSelectionChanged): Moved most part of implementation to
3386 setSelected() and call it instead.
3387 * javax/swing/JMenuItem.java:
3388 (init): Comment out statement that sets paint_border to false.
3389 (configurePropertiesFromAction): Do not set accelerator
3390 for JMenu.
3391 (menuSelectionChanged): Change selected index in the selection
3392 model of menu item's parent.
3393 * javax/swing/JPopupMenu.java:
3394 (remove): Set constraints.fill field to GridBagConstraints.BOTH
3395 instead of GridBagConstraints.HORIZONTAL.
3396 (insert): Likewise.
3397 (createActionChangeListener): Implemented.
3398 (setVisible): Correct location of HeavyWeightMenu and
3399 don't firePopupMenuCanceled().
3400 (menuSelectionChanged): Implemented.
3401 (ActionChangeListener): New Listener. Implemented.
3402 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3403 (BasicMenuBarUI.ContainerHandler): Implemented.
3404 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3405 (paintMenuItem): Uncommented out code that paints
3406 icon, now that icons are working properly.
3407 (PropertyChangeListener): Implemented.
3408 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
3409 Added javadocs.
3410 (topWindowListener): New field.
3411 (Constructor): initialize topWindowListener.
3412 (BasicPopupMenuUI.TopWindowListener): Implemented.
3413 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
3414 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
3415 Implemented.
3416
3417 2004-07-21 Michael Koch <konqueror@gmx.de>
3418
3419 * javax/swing/plaf/basic/BasicButtonUI.java
3420 (paintFocus): Fixed method signature.
3421 (paintButtonPressed): Likewise.
3422 (paintButtonNormal): Likewise.
3423 (paintText): New method.
3424 * javax/swing/plaf/basic/BasicLabelUI.java
3425 (paint): Re-indented.
3426 * javax/swing/plaf/basic/BasicTextUI.java
3427 (installUI): Set parent textComponent to opaque.
3428 * javax/swing/text/DefaultHighlighter.java
3429 (checkPositions): New helper method.
3430 (addHighlight): Throws BadLocationException, check positions.
3431 (changeHighlight): Likewise.
3432 * javax/swing/text/EditorKit.java
3433 (EditorKit): Implements Serializable.
3434 * javax/swing/text/JTextComponent.java
3435 (getUI): Added javadoc.
3436 (setUI): Likewise.
3437 (upadteUI): Added javadoc, don't revalidate and repaint.
3438
3439 2004-07-21 David Jee <djee@redhat.com>
3440
3441 * java/awt/GridBagLayout.java
3442 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
3443 * javax/swing/AbstractButton.java
3444 (setText): Reindent.
3445 * javax/swing/RepaintManager.java
3446 (addInvalidComponent): Find the first ancestor that isValidateRoot().
3447
3448 2004-07-21 Michael Koch <konqueror@gmx.de>
3449
3450 * javax/swing/JFormattedTextField.java
3451 (value): New field.
3452 (JFormattedTextField): Implemented.
3453 (getValue): Likewise.
3454 (setValue): Likewise.
3455 * javax/swing/LookAndFeel.java
3456 (getSupportsWindowDecorations): New method.
3457 * javax/swing/UIDefaults.java:
3458 Use java.beans.PropertyChangeSupport instead of doing all ourself.
3459 (addPropertyChangeListener): Made public.
3460 (addResourceBundle): Likewise.
3461 (removeResourceBundle): Likewise.
3462 (setDefaultLocale): Likewise.
3463 * javax/swing/plaf/basic/BasicRootPaneUI.java
3464 (BasicRootPaneUI): Implements PropertyChangeListener.
3465 (propertyChange): New method.
3466 * javax/swing/plaf/basic/BasicTextUI.java
3467 (BasicHighlighter): New inner class.
3468 (createHighlighter): New method.
3469 * javax/swing/plaf/basic/BasicToolBarUI.java
3470 (DragWindow): Extends java.awt.Window.
3471 * javax/swing/text/JTextComponent.java
3472 (getDocument): Removed debug output.
3473 * javax/swing/plaf/basic/BasicTextFieldUI.java,
3474 javax/swing/text/DefaultHighlighter.java,
3475 javax/swing/text/FieldView.java,
3476 javax/swing/text/PlainView.java: New files.
3477 * Makefile.am: Added new files.
3478 * Makefile.in: Regenerated.
3479
3480 2004-07-21 Michael Koch <konqueror@gmx.de>
3481
3482 * javax/swing/JEditorPane.java
3483 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
3484 (createEditorKitForContentType): Likewise.
3485 * javax/swing/text/DefaultEditorKit.java
3486 (serialVersionUID): Added constant field.
3487 (EndOfLineStringPropery): Fixed typo.
3488 (DefaultEditorKit): New constructor.
3489 * javax/swing/text/Segment.java:
3490 Import java.text.CharacterIterator.
3491 * javax/swing/text/CharacterIterator.java,
3492 javax/swing/text/PlainEditorKit.java: Removed.
3493 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
3494 javax/swing/text/PlainEditorKit.java.
3495 * Makefile.in: Regenerated.
3496
3497 2004-07-21 Michael Koch <konqueror@gmx.de>
3498
3499 * javax/swing/JButton.java,
3500 javax/swing/text/DefaultEditorKit.java,
3501 javax/swing/text/EditorKit.java,
3502 javax/swing/text/Segment.java,
3503 javax/swing/text/StyledEditorKit.java:
3504 Reformatted.
3505
3506 2004-07-21 Michael Koch <konqueror@gmx.de>
3507
3508 * javax/swing/ImageIcon.java
3509 (file): Removed.
3510 (description): Renamed from descr.
3511 (ImageIcon): Added missing constructors.
3512 (setParent): Removed.
3513 (setImageObserver): New method.
3514 (getImageObserver): New method.
3515 (paintIcon): Handle observer = null.
3516 * javax/swing/JButton.java
3517 (removeNotify): Fixed javadoc.
3518 (updateUI): Simplified.
3519 * javax/swing/JRootPane.java
3520 (serialVersionUID): New constant field.
3521 * javax/swing/UIManager.java:
3522 Fixed javadocs all over.
3523 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
3524 * javax/swing/text/AbstractDocument.java
3525 (createPosition): Throws BadLocationException.
3526 (getText): Likewise.
3527 (remove): Likewise.
3528 * javax/swing/text/ComponentView.java
3529 (modelToView): Likewise.
3530 * javax/swing/text/DefaultEditorKit.java:
3531 Made all public methods public.
3532 (read): Throws BadLocationException and IOException.
3533 (write): Likewise.
3534 * javax/swing/text/EditorKit.java:
3535 Made all public methods public.
3536 (serialVersionUID): New constant field.
3537 (clone): New method.
3538 (read): Throws BadLocationException and IOException.
3539 (write): Likewise.
3540 * javax/swing/text/Segment.java
3541 (array): Made public.
3542 (count): Likewise.
3543 (offset): Likewise.
3544 (Segment): New constructors.
3545 (clone): Reimplemented.
3546 * javax/swing/text/StyledEditorKit.java
3547 (serialVersionUID): New constant field.
3548
3549 2004-07-21 Graydon Hoare <graydon@redhat.com>
3550
3551 * java/awt/image/BufferedImage.java
3552 (getSource): Implement.
3553 * javax/swing/ImageIcon.java
3554 (ImageIcon): Implement ctor.
3555 * javax/swing/ScrollPaneLayout.java
3556 (preferredLayoutSize): Be more careful about nulls.
3557
3558 2004-07-21 Michael Koch <konqueror@gmx.de>
3559
3560 * javax/swing/text/AttributeSet.java
3561 (CharacterAttribute): New interface
3562 (ColorAttribute): Likewise.
3563 (FontCharacterAttribute): Likewise.
3564 (ParagraphAttribute): Likewise.
3565 * javax/swing/text/DefaultCaret.java
3566 (moveCaret): New method.
3567 (positionCaret): Likewise.
3568 (repaint): Made protected.
3569 * javax/swing/text/JTextComponent.java
3570 (KeyBinding): Made it static.
3571 * javax/swing/text/View.java
3572 (getContainer): Honor parent == null.
3573
3574 2004-07-21 Michael Koch <konqueror@gmx.de>
3575
3576 * javax/swing/text/AbstractDocument.java:
3577 Reformatted.
3578
3579 2004-07-21 Michael Koch <konqueror@gmx.de>
3580
3581 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3582 Import javax.swing.UIManager explicitely.
3583 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3584 (ScrollingButton): Made it static.
3585
3586 2004-07-21 Michael Koch <konqueror@gmx.de>
3587
3588 * javax/swing/UIDefaults.java
3589 (ActiveValue): Made public.
3590 (LazyValue): Likewise.
3591 * javax/swing/plaf/basic/BasicTextUI.java
3592 (RootView): Reintroduced.
3593 (view): Removed.
3594 (rootView): New field.
3595 (installUI): Create document if needed, initialize rootView.
3596 (uninstallUI): Hanle rootView.
3597 (paint): Likewise.
3598 (getRootView): Likewise.
3599 (setView): Likewise.
3600 * javax/swing/text/DefaultCaret.java:
3601 Renamed all "evt" variables to "event".
3602
3603 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3604
3605 * libgcj.spec.in: Add -l-java-util-logging.
3606
3607 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
3608
3609 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
3610 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
3611 gtk-xft-dpi can no calculate the right value.
3612 (dpi_changed_cb): Mark *pspec as unsused.
3613
3614 2004-07-21 David Jee <djee@redhat.com>
3615
3616 * java/awt/Component.java
3617 (move): Delegate to setBounds().
3618 (resize): Likewise.
3619 (reshape): Fix so it repaints parent and self only when necessary.
3620
3621 2004-07-21 David Jee <djee@redhat.com>
3622
3623 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3624 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3625 (GtkComponentPeer): Revert previous patch from 2004-06-22.
3626 (setVisible): Likewise.
3627 (show): Likewise.
3628 (hide): Likewise.
3629 (getArgs): Likewise.
3630 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3631 (property_notify_predicate): Likewise.
3632 (find_layout): Likewise.
3633 (connectJObject): Likewise.
3634 (connectSignals): Likewise.
3635 (moveLayout): Likewise.
3636 (gtkLayoutSetVisible): Likewise.
3637
3638 2004-07-21 Graydon Hoare <graydon@redhat.com>
3639
3640 * Makefile.am
3641 (jv_convert_LDADD):
3642 (gij_LDADD):
3643 (rmic_LDADD):
3644 (rmiregistry_LDADD): Add lib-java-util-logging.la
3645 * Makefile.in: Regenerate.
3646
3647 2004-07-21 Michael Koch <konqueror@gmx.de>
3648
3649 * javax/swing/text/AbstractDocument.java
3650 (replace): Dont use protected method of java.util.Vector directly.
3651
3652 2004-07-21 Michael Koch <konqueror@gmx.de>
3653
3654 * javax/swing/plaf/basic/BasicTextUI.java
3655 (installUI): Call specialized install methods.
3656 (installDefaults): New method.
3657 (installListeners): Likewise.
3658 (installKeyboardActions): Likewise.
3659 (uninstallUI): Likewise.
3660 (uninstallDefaults): New method.
3661 (uninstallListeners): Likewise.
3662 (uninstallKeyboardActions): Likewise.
3663 (getPropertyPrefix): New abstract method.
3664 (paint): Made final, just call paintSafely().
3665 (paintSavely): New method.
3666 (paintBackground): Likewise.
3667 (getVisibleEditorRect): Likewise.
3668 * javax/swing/text/LayeredHighlighter.java,
3669 javax/swing/text/TabExpander.java: New files.
3670 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
3671 and javax/swing/text/TabExpander.java.
3672 * Makefile.in: Regenerated.
3673
3674 2004-07-21 Michael Koch <konqueror@gmx.de>
3675
3676 * javax/swing/plaf/basic/BasicTextUI.java
3677 (BasicTextUI): Made abstract.
3678 (BasicCaret): New inner class.
3679 (view): Don't explicitely initialize with "null".
3680 (textComponent): New field.
3681 (textColor): Removed.
3682 (disabledTextColor): Removed.
3683 (normalBackgroundColor): Removed.
3684 (RootView): Removed commented out inner class.
3685 (createUI): Removed.
3686 (createCaret): New method.
3687 (getComponent): Likewise.
3688 (installUI): Initialize textComponent only.
3689 (getPreferredSize): Use installed JTextComponent.
3690 (setView): New method.
3691 (create): Likewise.
3692 * javax/swing/text/JTextComponent.java
3693 (highlighter): New field.
3694 (caretColor): Likewise.
3695 (disabledTextColor): Likewise.
3696 (seletedTextColor): Likewise.
3697 (selectionColor): Likewise.
3698 (setUI): New method.
3699 (getCaretColor): Likewise.
3700 (setCaretColor): Likewise.
3701 (getDisabledColor): Likewise.
3702 (setDisabledColor): Likewise.
3703 (getSelectedTextColor): Likewise.
3704 (setSelectedTextColor): Likewise.
3705 (getSelectionColor): Likewise.
3706 (setSelectionColor): Likewise.
3707 (getHighlighter): Likewise.
3708 (setHighlighter): Likewise.
3709 (replaceSelection): Likewise.
3710
3711 2004-07-21 Michael Koch <konqueror@gmx.de>
3712
3713 * javax/swing/plaf/basic/BasicScrollPaneUI.java
3714 (BasicScrollPaneUI): Implements ScrollPaneConstants.
3715 * javax/swing/plaf/basic/BasicToolBarUI.java
3716 (BasicToolBarUI): Implements SwingConstants.
3717
3718 2004-07-21 Michael Koch <konqueror@gmx.de>
3719
3720 * javax/swing/JPopupMenu.java: Removed CVS tags.
3721 * javax/swing/UIDefaults.java: Reformatted.
3722 * javax/swing/plaf/basic/BasicRootPaneUI.java:
3723 Explicitely import used classes.
3724
3725 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
3726
3727 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
3728 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
3729 (GtkComponentPeer): Remove temporary try/catch block.
3730 (setVisible): Call show and hide.
3731 (show): Make native.
3732 (hide): Likewise.
3733 (getArgs): Don't add "visible" argument.
3734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
3735 (property_notify_predicate): Return Bool instead of int.
3736 (find_layout): New function.
3737 (connectJObject): Call find_layout.
3738 (connectSignals): Likewise.
3739 (moveLayout): Likewise.
3740 (gtkLayoutSetVisible): Likewise.
3741
3742 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3743
3744 * javax/swing/AbstractButton.java:
3745 (setDisplayedMnemonicIndex): Check if button
3746 text is not null before checking its length.
3747 * javax/swing/JMenuItem.java:
3748 (processMouseEvent): Disarm menu item if mouse has
3749 exited it.
3750 * javax/swing/plaf/basic/BasicMenuUI.java:
3751 (MouseInputHandler.mouseEntered): Do not raise
3752 popup menu if this menu is already selected.
3753 (MouseInputHandler.mousePressed): Do not fire
3754 MenuEvents.
3755 (MenuHandler): Implemented.
3756
3757 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3758
3759 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
3760 (getSelectedObjects): Implemented.
3761 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
3762 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
3763 Added javadoc for few methods.
3764 (processMouseEvent): Made public.
3765 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
3766 (processMouseEvent): Likewise.
3767
3768 2004-07-21 Olga Rodimina <rodimina@redhat.com>
3769
3770 * javax/swing/AbstractButton.java:
3771 (init): Set display mnemonic index to -1.
3772 (setMnemonic(char)): Use setMnemonic(int).
3773 (setMnemonic(int)): Set display mnemonic index.
3774 (getDisplayedMnemonicIndex): Change method signature
3775 by removing 'index' parameter.
3776 * javax/swing/plaf/basic/BasicLookAndFeel.java:
3777 Added default for Menu.selectionBackground.
3778 * javax/swing/plaf/basic/BasicMenuItemUI.java:
3779 (paintMenuItem): Change background color of the selected
3780 menu item.
3781 (paintText): Paint differently when menu item is disabled.
3782 Also paint mnemonic if it appears in the menu item's label.
3783 (paintAccelerator): Paint accelerator differently
3784 if menu item is disabled.
3785 * javax/swing/plaf/basic/BasicMenuUI.java:
3786 (installDefaults): Install defaults for
3787 selectionForeground and selectionBackground.
3788 (uninstallDefaults): Uninstall defauls for
3789 selectionForeground and selectionBackground.
3790
3791 2004-07-21 Michael Koch <konqueror@gmx.de>
3792
3793 * javax/swing/text/AbstractDocument.java
3794 (BranchElement): Implemented.
3795 (LeafElement): Implemented.
3796 * javax/swing/text/DefaultCaret.java:
3797 Import used classes.
3798 (serialVersionUID): New constant.
3799 * javax/swing/text/JTextComponent.java
3800 (AccessibleJTextComponent): Removed dead declaration.
3801 (caretPos): Removed.
3802 (setCaret): New method.
3803 * javax/swing/text/PlainDocument.java
3804 (rootElement): New field.
3805 (PlainDocument): Initialize rootElement.
3806 (createDefaultRoot): New method.
3807 (getDefaultRootElement): Implemented.
3808 * javax/swing/text/View.java: Reformatted.
3809 * javax/swing/text/ViewFactory.java
3810 (create): Added javadoc.
3811
3812 2004-07-21 Michael Koch <konqueror@gmx.de>
3813
3814 * javax/swing/ToolTipManager.java: Reformatted.
3815
3816 2004-07-21 Rodimina Olga <rodimina@redhat.com>
3817
3818 * javax/swing/AbstractButton.java
3819 (changeEvent): New field.
3820 (fireItemStateChanged): Change source of the event
3821 to 'this' before firing it to button listeners.
3822 (fireActionPerformed): Likewise.
3823 (fireStateChanged): Likewise.
3824 (createActionListener): Do not set source
3825 of the event to AbstractButton.
3826 * javax/swing/plaf/basic/BasicMenuBarUI.java:
3827 (ContainerHandler.componentAdded): Removed
3828 print out statement.
3829 (ContainerHandler.componentRemoved): Likewise.
3830
3831 2004-07-21 Michael Koch <konqueror@gmx.de>
3832
3833 * javax/swing/text/Highlighter.java: New file.
3834 * Makefile.am: Added javax/swing/text/Highlighter.java.
3835 * Makefile.in: Regenerated.
3836
3837 2004-07-21 Michael Koch <konqueror@gmx.de>
3838
3839 * javax/swing/ToolTipManager.java
3840 (stillInsideTimerAction): Fixed constructor arguments.
3841 (outsideTimerAction): Likewise.
3842 (insideTimerAction): Likewise.
3843
3844 2004-07-21 Michael Koch <konqueror@gmx.de>
3845
3846 * javax/swing/JButton.java: Reformatted.
3847 * javax/swing/JFormattedTextField.java
3848 (getUIClassID): Implemented.
3849 * javax/swing/JRootPane.java
3850 (serialVersionUID): New constant.
3851 * javax/swing/JTextField.java
3852 (align): New field.
3853 (JTextField): Simplified.
3854 (getUIClassID): New method.
3855 (getActionListeners): Added @since tag.
3856 (setColumns): Invalidate layout and repaint.
3857 (getHorizontalAlignment): New method.
3858 (setHorizontalAlignment): New method.
3859 (selectAll): Removed.
3860 * javax/swing/SwingUtilities.java
3861 (getAncestorOfClass): Removed redundant @see tag.
3862 (isLeftMouseButton): Fixed implementation.
3863 (isMiddleMouseButton): Likewise.
3864 (isRightMouseButton): Likewise.
3865 * javax/swing/text/AbstractDocument.java
3866 (AttributeContext.addAttribute): New method.
3867 (AttributeContext.addAttributes): New method.
3868 (AttributeContext.getEmptySet): New method.
3869 (AttributeContext.reclaim): New method.
3870 (AttributeContext.removeAttribute): New method.
3871 (AttributeContext.removeAttributes): New method.
3872 * javax/swing/text/Document.java
3873 (createPosition): Throws BadLocationException.
3874 (getText): Likewise.
3875 (remove): Likewise.
3876 * javax/swing/text/JTextComponent.java
3877 (getText): Return null if no document is set. Catch
3878 BadLocationException.
3879 (getUI): Return ui.
3880 (updateUI): Simplified.
3881
3882 2004-07-21 Michael Koch <konqueror@gmx.de>
3883
3884 * javax/swing/JButton.java
3885 (removeNotify): Fixed javadoc.
3886 (updateUI): Simplified.
3887
3888 2004-07-21 David Jee <djee@redhat.com>
3889
3890 * gnu/java/awt/image/ImageDecoder.java
3891 (startProduction): Only add consumer if it's not added yet.
3892 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
3893 (GdkPixbufDecoder): Don't call initState() here.
3894 (produce): Call initState() here, to ensure area_prepared and
3895 area_updated signals are properly connected.
3896 * gnu/java/awt/peer/gtk/GtkImage.java
3897 (setColorModel): Use equals() to compare ColorModel objects.
3898 (setPixels): Likewise.
3899 * java/awt/image/ColorModel.java
3900 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
3901 * java/awt/image/RGBImageFilter.java
3902 (setColorModel): Set consumer's color model.
3903 (setPixels): Use equals() to compare ColorModel objects.
3904
3905 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
3906
3907 * java/net/URLConnection.java (position): New field.
3908 (dateFormat1, dateFormat2, dateFormat3): Removed.
3909 (dateFormats): New field.
3910 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
3911 each time instead of re-allocating.
3912 (initializeDateFormats): Initialize 'dateFormats'.
3913
3914 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3915
3916 PR libgcj/16591
3917 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
3918 is defined.
3919
3920 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3921
3922 * java/net/Socket.java (getImpl): Now private. Remove comment.
3923
3924 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
3925
3926 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
3927 of chained Writer when calling super-constructor.
3928 * java/io/FilterWriter.java (FilterWriter): Likewise.
3929 * java/io/PrintWriter.java (PrintWriter): Likewise.
3930
3931 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
3932
3933 * prims.cc (process_gcj_properties): Don't increment i within LHS
3934 of assignment.
3935
3936 2004-07-19 Per Bothner <per@bothner.com>
3937
3938 Print -verbose:message on "loading", not initialization.
3939 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
3940 * defineclass.cc (_Jv_ClassReader::parse): Print message if
3941 gcj::verbose_class_flag.
3942 * java/lang/natClass.cc (initializeClass): Don't print message here.
3943 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
3944 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
3945 (_Jv_PrepareCompiledClass): Likewise.
3946
3947 2004-07-18 Matthias Klose <doko@debian.org>
3948
3949 * configure.in: Substitute target_noncanonical.
3950 * configure: Regenerate
3951
3952 2004-07-17 Michael Koch <konqueror@gmx.de>
3953
3954 * java/lang/String.java: Fixed javadocs all over.
3955
3956 2004-07-17 Mark Wielaard <mark@klomp.org>
3957
3958 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
3959 when size is smaller.
3960 * java/io/RandomAccessFile.java (setLength): Use truncate for
3961 shrinking the file and seek plus write for expanding the file.
3962
3963 2004-07-17 Michael Koch <konqueror@gmx.de>
3964
3965 * gnu/java/nio/channels/natFileChannelPosix.cc
3966 (implTruncate): Always save current position. Only reposition file
3967 pointer to where we started if not beyond new lenght. Reposition file
3968 pointer to file length if it points beyond the end of file.
3969
3970 2004-07-17 Mark Wielaard <mark@klomp.org>
3971
3972 * javax/swing/Box.java: Put FIXME comment above class declaration.
3973 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
3974 * javax/swing/JCheckBox.java: Likewise.
3975 * javax/swing/JDialog.java: Likewise.
3976 * javax/swing/JRadioButton.java: Likewise.
3977 * javax/swing/JToggleButton.java: Likewise.
3978 * javax/swing/UIManager.java: Likewise.
3979 * javax/swing/border/TitledBorder.java: Likewise.
3980 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
3981 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
3982 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
3983 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
3984 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
3985 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
3986 * javax/swing/text/JTextComponent.java: Likewise.
3987
3988 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
3989
3990 * java/net/DatagramPacket.java (setAddress): Removed check for
3991 null address.
3992
3993 2004-07-17 Michael Koch <konqueror@gmx.de>
3994
3995 * java/net/DatagramSocket.java
3996 (getLocalAddress): Check if socket is bound or not.
3997 * java/net/Socket.java
3998 (getLocalAddrss): Check if socket is bound or not.
3999 (getPort): Return -1 when not connected. Dont check getImpl() for
4000 null.
4001 (setReuseAddress): Check if socket is closed.
4002 (isConnected): Check if getImpl() returns null.
4003
4004 2004-07-17 Mark Wielaard <mark@klomp.org>
4005
4006 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
4007 on notifier object before calling notifyAll().
4008
4009 2004-07-17 Michael Koch <konqueror@gmx.de>
4010
4011 * gnu/java/nio/channels/FileChannelImpl.java
4012 (finalize): Added javadoc.
4013
4014 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
4015
4016 * java/text/CollationElementIterator.java
4017 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
4018 (setText): Use ArrayList instead of Vector.
4019
4020 2004-07-17 Michael Koch <konqueror@gmx.de>
4021
4022 * java/nio/ByteOrder.java
4023 (static): Removed. Not needed.
4024 Thanks to Patrick Reali for noticing.
4025 * java/nio/charset/CharsetDecoder.java
4026 (decode): Fix for classpath bug #9177: Reset state before flipping.
4027
4028 2004-07-17 Michael Koch <konqueror@gmx.de>
4029
4030 * java/security/Security.java: Fixed javadocs all over.
4031
4032 2004-07-17 Michael Koch <konqueror@gmx.de>
4033
4034 * gnu/java/awt/EmbeddedWindow.java
4035 (static): Removed.
4036 (addNotify): Set peer via reflection.
4037 (setWindowPeer): Removed.
4038 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
4039 * Makefile.am (nat_source_files):
4040 Removed gnu/java/awt/natEmbeddedWindow.cc.
4041 * Makefile.in: Regenerated.
4042
4043 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
4044
4045 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
4046 assignment.
4047 * configure: Regenerated.
4048
4049 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
4050
4051 * configure.in: Use build_noncanonical rather than build_alias.
4052 * configure: Rebuild.
4053
4054 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
4055 by logic refactoring. Move default definition of NATIVE closer
4056 to first alternate definition.
4057 * configure: Regenerate.
4058
4059 * Makefile.am: Set ZIP and GCJH directly using autoconf.
4060 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
4061 gcj/Makefile.in: Regenerate.
4062 * configure.in: Set ZIP and GCJH. Remove redundant condition
4063 in AM_CONDITIONAL(NATIVE,...)
4064 * configure: Regenerate.
4065
4066 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
4067
4068 * configure.in: Use target_noncanonical rather than
4069 target_alias for forward-compatibility with autoconf 2.59.
4070 * configure: Regenerate.
4071 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
4072 testsuite/Makefile.am: Substitute target_noncanonical.
4073 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4074 testsuite/Makefile.in: Regenerate.
4075
4076 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
4077 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
4078 * acinclude.m4: Include acx.m4.
4079 * aclocal.m4: Regenerate.
4080 * configure: Regenerate.
4081
4082 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
4083
4084 PR libgcj/16574
4085 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
4086 (decimalFormat): New static variable.
4087 (sbuf): Likewise.
4088 (getTime): New. Override Date.getTime().
4089 (toString): Synchronize. Use decimalFormat to format nanos value
4090 correctly. Truncate extra zeros.
4091 (before): Compare getNanos() only if getTime() is equal.
4092 (after): Likewise.
4093
4094 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
4095
4096 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
4097 * configure.in: ...here.
4098 * aclocal.m4: Regenerate.
4099 * configure: Regenerate.
4100
4101 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
4102 * configure: Rebuilt with autoconf 2.13.
4103 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4104 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
4105
4106 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
4107
4108 PR libgcj/16204
4109 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
4110 large file support.
4111 * Makefile.in: Rebuilt.
4112 * testsuite/libjava.lang/LargeFile.java: New test case.
4113 * testsuite/libjava.lang/LargeFile.out: New file.
4114
4115 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4116
4117 * java/beans/EventHandler.java: Remove debugging statements.
4118
4119 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
4120
4121 * java/beans/EventHandler.java: New file.
4122 * Makefile.am (awt_java_source_files): Add EventHandler.java.
4123 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
4124 testsuite/Makefile.in: Regenerate.
4125
4126 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
4127
4128 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
4129 flag to the gcj_setup.
4130 (gcj_jacks_run): Check tclsh version and launch jacks directly with
4131 the tclsh.
4132 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
4133 deprecation flag change. 58 XFAILS removed.
4134
4135 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
4136
4137 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
4138 -fno-use-divide-subroutine.
4139 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
4140 (HANDLE_FPE): Define.
4141 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
4142 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4143 (HANDLE_DIVIDE_OVERFLOW): Define.
4144
4145 2004-07-14 Michael Koch <konqueror@gmx.de>
4146 Matthias Klose <doko@debian.org>
4147
4148 * java/awt/im/InputContext.java: Initialize in, line.
4149
4150 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
4151
4152 * interpret.cc (run): Correctly access libffi return values of
4153 integral smaller-than-int type; these are implicitly promoted.
4154
4155 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
4156
4157 PR libgcj/7587
4158 * interpret.cc (compile_mutex): New.
4159 (_Jv_InitInterpreter): New. Initialize compile_mutex.
4160 (run): Lock compile_mutex before calling compile() if compilation is
4161 required.
4162 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
4163 * include/java-interp.h (_Jv_InitInterpreter): Declare.
4164
4165 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
4166
4167 PR libgcj/15713
4168 * include/jvm.h (_Jv_value): New union type.
4169 * gcj/field.h (_Jv_Field): Add new _addr union field variants
4170 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
4171 union members.
4172
4173 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
4174
4175 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
4176 * gnu/awt/xlib/XOffScreenImage.java
4177 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
4178 constructor argument. Add constructor using ImageProducer.
4179 (getSource): Implement.
4180 (imageComplete): New method.
4181 (setColorModel): New method.
4182 (setDimensions): New method.
4183 (setHints): New method.
4184 (setPixels): New method.
4185 (setProperties): New method.
4186 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
4187 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
4188
4189 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
4190
4191 PR libgcj/16478
4192 * prims.cc (_Jv_CreateJavaVM): Fix comment.
4193 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
4194 (finalizerReady): Now native.
4195 (run): Likewise.
4196 (runFinalizers): Removed.
4197 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
4198 a primitive lock, and don't hold it while running the finalizers.
4199 (runFinalizers): Implement. Don't aquire any Java lock.
4200 (finalizerReady): Use lock primitives to signal finalizer thread.
4201
4202 2004-07-11 Mark Wielaard <mark@klomp.org>
4203
4204 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
4205 * java/net/URLStreamHandler.java (parseURL): When url file part
4206 doesn't contain a '/' just ignore context.
4207
4208 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
4209
4210 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
4211 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
4212 (MAKE_THROW_FRAME): Do not modify PSW address.
4213 (INIT_SEGV): Install SIGINFO-style signal handler.
4214 (INIT_FPE): Likewise.
4215
4216 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4217
4218 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
4219 status. 21 xfail's removed, 1 added.
4220
4221 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
4222
4223 * gcj/javaprims.h: Regenerate CNI namespace definitions.
4224
4225 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
4226
4227 * java/text/MessageFormat.java
4228 (formatInternal): Append "{n}" if argument n is unavailable.
4229 (format(Object, StringBuffer, FieldPosition)): This
4230 should be equivalent to format(Object[],
4231 StringBuffer, FieldPosition).
4232
4233 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4234
4235 * java.util.Calendar.java (cache): New private static field. Cached
4236 mappings of locales->calendar classes.
4237 (ctorArgTypes): New private static field. Singleton argument for
4238 calendar class constructor lookup.
4239 (getInstance): Cache Locale->Calendar class mappings using HashMap.
4240 Optimize by bypassing reflection instantiation for the
4241 GregorianCalendar case.
4242
4243 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4244
4245 * java/util/Calendar.java: Use getSystemClassLoader as argument for
4246 ResourceBundle.getBundle() calls.
4247 * java/util/GregorianCalendar.java: Likewise.
4248 * java/util/Currency.java: Likewise.
4249 * java/text/BreakIterator.java: Likewise.
4250 * java/text/Collator.java: Likewise.
4251 * java/text/DateFormat.java: Likewise.
4252 * java/text/DateFormatSymbols.java: Likewise.
4253 * java/text/DecimalFormatSymbols.java: Likewise.
4254 * java/text/NumberFormat.java: Likewise.
4255 * java/awt/Window.java: Likewise.
4256
4257 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4258
4259 * java/util/ResourceBundle.java (bundleCache): Renamed from
4260 resourceBundleCache. Update comments.
4261 (getObject): Don't catch MissingResourceException.
4262 (getBundle(String)): Remove 'final'. Use system classloader if
4263 getCallingClassLoader returned null.
4264 (getBundle(String, Locale)): Likewise.
4265 (BundleKey): New private class. HashMap key for bundle cache lookup.
4266 (lookupKey): New. Singleton instance of BundleKey.
4267 (nullEntry): New. Cache entry to represent failed lookups.
4268 (getBundle(String, Locale, ClassLoader)): Re-written to use new
4269 caching strategy, no-allocation lookup, and new tryBundle methods.
4270 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
4271 name using given classloader.
4272 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
4273 baseName for given Locale and attempt to load bundle.
4274
4275 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4276
4277 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
4278 illegal protected method calls.
4279
4280 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
4281
4282 Fix or remove some bogus test cases.
4283 * testsuite/libjava.compile/pr10459_2.java: Removed.
4284 * testsuite/libjava.compile/pr10459.java: Test using its own method,
4285 not Object.clone().
4286 * testsuite/libjava.compile/inner_data.java: Test against its own
4287 protected field.
4288
4289 2004-07-09 Michael Koch <konqueror@gmx.de>
4290
4291 * scripts/unicode-muncher.pl: Updated to version 2.1
4292 from GNU classpath. Added some clarifications on where to find the
4293 needed files from www.unicode.org.
4294 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
4295 gnu/gcj/convert/UnicodeData-3.0.0.txt:
4296 Removed, these can directly be downloaded from www.unicode.org if
4297 needed.
4298 * gnu/java/lang/CharData.java: Regenerated.
4299 * include/java-chartables.h: Regenerated.
4300 * Makefile.am (ordinary_java_source_files):
4301 Removed gnu/java/lang/CharData.java.
4302 * Makefile.in: Regenerated.
4303
4304 2004-07-09 Michael Koch <konqueror@gmx.de>
4305
4306 * java/security/AccessControlContext.java,
4307 java/security/SecureClassLoader.java:
4308 Fixed javadocs.
4309
4310 2004-07-09 Michael Koch <konqueror@gmx.de>
4311
4312 * java/io/ObjectInputStream.java (readFields): Use long datatype
4313 when shifting byte values more then 24 bits left.
4314
4315 2004-07-09 Michael Koch <konqueror@gmx.de>
4316
4317 * java/util/zip/DeflaterOutputStream.java,
4318 java/util/zip/GZIPInputStream.java,
4319 java/util/zip/GZIPOutputStream.java,
4320 java/util/zip/InflaterInputStream.java:
4321 Reformatted. Added javadocs. Reordered all stuff.
4322 Renamed variables to be more clear.
4323
4324 2004-07-09 Michael Koch <konqueror@gmx.de>
4325
4326 * javax/imageio/IIOException.java,
4327 javax/imageio/event/IIOReadProgressListener.java,
4328 javax/imageio/event/IIOReadUpdateListener.java,
4329 javax/imageio/event/IIOReadWarningListener.java,
4330 javax/imageio/event/IIOWriteProgressListener.java,
4331 javax/imageio/event/IIOWriteWarningListener.java:
4332 New files.
4333 * Makefile.am: Added new files.
4334 * Makefile.in: Regenerated.
4335
4336 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
4337
4338 * java/text/RuleBasedCollator.java
4339 (mergeRules): Use ArrayList instead of Vector.
4340 (subParseString): likewise.
4341 (parseString): likewise.
4342 (buildCollationVector): likewise.
4343 (getCollationKey): likewise.
4344
4345 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4346
4347 * java/text/DateFormat.java (parse):
4348 Improved javadoc. Improved exception message.
4349
4350 2004-07-09 Mark Wielaard <mark@klomp.org>
4351
4352 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
4353 interrupted() method to clear interupt flag of our Thread.
4354
4355 2004-07-09 Dalibor Topic <robilad@kaffe.org>
4356
4357 * java/nio/Buffer.java,
4358 java/nio/ByteBuffer.java,
4359 java/nio/ByteBufferHelper.java,
4360 java/nio/ByteBufferImpl.java,
4361 java/nio/CharBuffer.java,
4362 java/nio/CharBufferImpl.java,
4363 java/nio/CharViewBufferImpl.java,
4364 java/nio/DirectByteBufferImpl.java,
4365 java/nio/DoubleBuffer.java,
4366 java/nio/DoubleBufferImpl.java,
4367 java/nio/DoubleViewBufferImpl.java,
4368 java/nio/FloatBuffer.java,
4369 java/nio/FloatBufferImpl.java,
4370 java/nio/FloatViewBufferImpl.java,
4371 java/nio/IntBuffer.java,
4372 java/nio/IntBufferImpl.java,
4373 java/nio/IntViewBufferImpl.java,
4374 java/nio/LongBuffer.java,
4375 java/nio/LongBufferImpl.java,
4376 java/nio/LongViewBufferImpl.java,
4377 java/nio/MappedByteBufferImpl.java,
4378 java/nio/ShortBuffer.java,
4379 java/nio/ShortBufferImpl.java,
4380 java/nio/ShortViewBufferImpl.java:
4381 Fixed javadocs all over. Improved input error
4382 checking.
4383
4384 * java/nio/Buffer.java
4385 (checkForUnderflow, checkForOverflow, checkIndex,
4386 checkIfReadOnly, checkArraySize): New helper methods
4387 for error checking.
4388
4389 * java/nio/ByteBufferHelper.java
4390 (checkRemainingForRead, checkRemainingForWrite,
4391 checkAvailableForRead, checkAvailableForWrite): Removed
4392 no longer needed methods.
4393
4394 2004-07-09 Michael Koch <konqueror@gmx.de>
4395
4396 * gnu/regexp/CharIndexedInputStream.java:
4397 Reordered imports to match classpath.
4398
4399 2004-07-09 Michael Koch <konqueror@gmx.de>
4400
4401 * gnu/java/awt/EmbeddedWindow.java:
4402 Load native library for setWindowPeer method.
4403
4404 2004-07-08 Randolph Chung <tausq@debian.org>
4405
4406 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
4407 * configure: Regenerate.
4408 * configure.host: Set can_unwind_signal for hppa*-linux.
4409 * include/pa-signal.h: New file.
4410
4411 2004-07-07 Per Bothner <per@bothner.com>
4412
4413 * Makefile.am: Add rules to build libgij from just gij.cc.
4414
4415 * include/jvm.h (namespace jcj): Declare verbose_class_flag
4416 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
4417 (initializeClass): If verbose_class_flag, print message.
4418 * gij.cc (main): Handle -verbose:class flag.
4419
4420 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
4421
4422 * configure.host: Enable hash synchronization on Darwin.
4423 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
4424 ';', since this is a comment on Darwin.
4425 (compare_and_swap_release): Likewise.
4426
4427 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
4428
4429 * java/net/URLStreamHandler.java (parseURL): Canonicalize
4430 file portion of URL in addition to spec for file: protocol.
4431
4432 2004-07-05 Anthony Green <green@redhat.com>
4433
4434 * java/io/File.java (toURI): Merge from Classpath.
4435
4436 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4437
4438 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
4439 before passing to URL constructor. Rethrow any MalformedURLException
4440 as a RuntimeException. Catch MalformedURLException specifically, not
4441 all exceptions.
4442
4443 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
4444
4445 * java/util/Locale.java (readObject): Intern strings read from object
4446 stream.
4447
4448 2004-07-04 Michael Koch <konqueror@gmx.de>
4449
4450 * gnu/gcj/runtime/FirstThread.java,
4451 gnu/gcj/runtime/natFirstThread.cc: Removed.
4452 * gnu/java/lang/MainThread.java,
4453 gnu/java/lang/natMainThread.cc: New files.
4454 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
4455 * Makefile.am: Added new files and removed deleted ones.
4456 * Makefile.in: Regenerated.
4457
4458 2004-07-03 Mark Wielaard <mark@klomp.org>
4459 Anthony Green <green@redhat.com>
4460
4461 * java/net/URL.java (getFile): Clarify return value doc.
4462 (getPath): Return null if file is empty - not empty String.
4463 (set): Convert protocol to lower case before doing anything.
4464 Only change the protocol handler if it's different.
4465
4466 2004-07-03 Anthony Green <green@redhat.com>
4467
4468 * java/net/URL.java (URL): Convert protocol to lower case before
4469 doing anything, so we getURLStreamHandler() with the proper value.
4470
4471 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
4472
4473 * java/util/Locale.java (hashcode): Made transient.
4474 (hashCode): No longer synchronized.
4475 (equals): Remove comment.
4476 (writeObject): No longer synchronized. Implement using writeObject
4477 calls instead of tweaking hashCode field. Update doc.
4478 (readObject): Implement using readObject calls.
4479
4480 2004-06-26 Geoffrey Keating <geoffk@apple.com>
4481 Andreas Tobler <a.tobler@schweiz.ch>
4482
4483 * configure.host (powerpc-*-darwin*): New case, define
4484 can_unwind_signal.
4485 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
4486 * configure: Regenerate.
4487 * include/darwin-signal.h: New.
4488
4489 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
4490
4491 * java/beans/Statement.java (doExecute): Fix formatting.
4492
4493 2004-06-29 Per Bothner <per@bothner.com>
4494
4495 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
4496 etc etc): Remove needless parenthesis, which causes __stdcall__
4497 attribute on MinGW to get ignored.
4498
4499 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
4500
4501 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
4502
4503 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
4504
4505 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
4506
4507 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
4508
4509 * java/beans/Expression.java: New file.
4510 * java/beans/Statement.java: New file.
4511 * Makefile.am: Added new files.
4512 * Makefile.in: Re-generate.
4513
4514 2004-06-27 Mark Wielaard <mark@klomp.org>
4515
4516 * java/io/FilePermission.java (usingPerms): Removed.
4517 (actionsString): Made final.
4518 (cachePerms): Renamed to checkPerms.
4519 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
4520 on action String.
4521 (FilePermission): Check arguments, call checkPerms().
4522 (equals): Remove cachePerms() call.
4523 (implies): Likewise.
4524
4525 2004-06-27 Mark Wielaard <mark@klomp.org>
4526
4527 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
4528 final field.
4529 (sendRequest): Use new field in user-agent http agent.
4530
4531 2004-06-27 Mark Wielaard <mark@klomp.org>
4532
4533 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
4534 when argument is null.
4535
4536 2004-06-26 Mark Wielaard <mark@klomp.org>
4537
4538 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
4539 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
4540 GetMethodID call.
4541 (cancel_clicked): Likewise.
4542
4543 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
4544
4545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
4546 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
4547 can not calculate the right value.
4548 (dpi_changed_cb): Likewise. Mark *pspec as unused.
4549
4550 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
4551
4552 * testsuite/libjava.jacks/jacks.xfail: Remove
4553 15.9.1-qualified-concrete-20.
4554
4555 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4556
4557 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
4558 encoding name to iconv.
4559 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4560
4561 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
4562
4563 PR libgcj/16134:
4564 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
4565 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
4566 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
4567
4568 2004-06-21 Andrew Haley <aph@redhat.com>
4569
4570 * java/io/ObjectOutputStream.java: Add DEBUG statements
4571 everywhere.
4572 (dumpElementln): New method.
4573 (depth): New field.
4574 * java/io/ObjectInputStream.java
4575 (currentClassLoader): Make native.
4576 (callersClassLoader): New field.
4577 (depth): New field.
4578 (readObject): ENDBLOCKDATA is generated if the class has a write
4579 method, not if it has a read method.
4580 (readObject): Save and restore this.currentObject and
4581 this.currentObjectStreamClass around calls to callReadMethod().
4582 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
4583 method.
4584
4585 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
4586
4587 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
4588 darwin.
4589
4590 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4591
4592 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
4593 if desired, before the default class loader is initialised.
4594 Call INIT_SEGV only if HANDLE_SEGV is defined.
4595
4596 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4597
4598 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
4599 directory only if it actually exists.
4600
4601 2004-06-18 Graydon Hoare <graydon@redhat.com>
4602
4603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
4604 Fix up non-ansi comments.
4605
4606 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
4607
4608 * javax/swing/text/AbstractDocument.java: Adding missing import
4609 for javax.swing.event.EventListenerList.
4610 * javax/swing/text/DefaultCaret.java: Likewise.
4611
4612 2004-06-17 Michael Koch <konqueror@gmx.de>
4613
4614 * javax/swing/JToolBar.java
4615 (name): Removed.
4616 (JToolBar): Use Component.setName(String) instead of doing it all
4617 alone.
4618 * javax/swing/Timer.java
4619 (queueEvent): Added missing modifier.
4620
4621 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
4622
4623 * Makefile.am: Added new file.
4624 * Makefile.in: Re-generate.
4625 * javax/swing/JMenu.java:
4626 (insertSeparator): Implemented.
4627 * javax/swing/JPopupMenu.java:
4628 (JPopupMenu.Separator): Implemented.
4629 * javax/swing/MenuSelectionManager.java:
4630 (processMouseEvent): Use java.awt.Component
4631 for event source instead of javax.swing.JComponent.
4632 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
4633 New File. Implemented.
4634
4635 2004-06-16 David Jee <djee@redhat.com>
4636
4637 * java/awt/GridBagLayout.java
4638 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
4639 Make sure pos_x and pos_y are never negative.
4640
4641 2004-04-16 Andrew Overholt <overholt@redhat.com>
4642
4643 * Makefile.am: Add new file.
4644 * Makefile.in: Re-generate.
4645 * javax/swing/JToolBar.java
4646 Partially implemented.
4647 * javax/swing/plaf/basic/BasicToolBarUI.java
4648 New file. Partially implemented.
4649
4650 2004-06-16 Graydon Hoare <graydon@redhat.com>
4651
4652 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
4653 (setComposite): Accept AlphaComposite arguments.
4654 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
4655 (createBufferedImage): Add new overloads.
4656 * gnu/java/awt/peer/gtk/GtkToolkit.java
4657 (createImage): Use GdkPixbufDecoder.createBufferedImage
4658 when useGraphics2D() is true.
4659 (getImage): Delegate to createImage.
4660 * javax/swing/JList.java
4661 (isSelectionEmpty):
4662 (getFirstVisibleIndex):
4663 (getLastVisibleIndex):
4664 (setSelectedValue):
4665 (ensureIndexIsVisible): New methods.
4666 * javax/swing/Timer.java: Reimplement.
4667
4668 2004-06-16 Michael Koch <konqueror@gmx.de>
4669
4670 * javax/swing/text/AbstractDocument.java
4671 (AbstracElement): Made public, implements java.io.Serializable.
4672 (AttributeContext): Made public.
4673 (BranchElement): Likewise.
4674 (Content): Likewise.
4675 (DefaultDocumentEvent): Made public, extends
4676 javax.swing.undo.CompoundEdit.
4677 (ElementEdit): Made public, extends
4678 javax.swing.undo.AbstractUndoableEdit.
4679 (LeafElement): Made public.
4680 (LeafElement.LeafElement): Made public.
4681
4682 2004-06-16 Michael Koch <konqueror@gmx.de>
4683
4684 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
4685 methods (that were obviously never be intended to get included hi this
4686 class. Added some methods too.
4687
4688 2004-06-16 Michael Koch <konqueror@gmx.de>
4689
4690 * javax/swing/text/PlainDocument.java
4691 (serialVersionUID): New constant.
4692 (lineLimitAttribute): Likewise.
4693 (tabSizeAttribute): Likewise.
4694 (tabSize): New field.
4695 (PlainDocument): Made public.
4696 (PlainDocument): New constructor.
4697
4698 2004-06-16 Michael Koch <konqueror@gmx.de>
4699
4700 * javax/swing/text/AbstractDocument.java
4701 (insertString): Throws BadLocationException.
4702 * javax/swing/text/Document.java
4703 (insertString): Likewise.
4704 * javax/swing/text/JTextComponent.java:
4705 Javadocs and comments cleaned up.
4706
4707 2004-06-16 Michael Koch <konqueror@gmx.de>
4708
4709 * javax/swing/event/UndoableEditListener.java: Reformatted.
4710 * javax/swing/text/AbstractDocument.java
4711 (AbstractDocument): Implements java.io.Serializable.
4712 (doc_list): Removed.
4713 (undo_list): Removed.
4714 (AbstractElement.serialVerionUID): New field.
4715 (BranchElement.serialVerionUID): Likewise.
4716 (DefaultDocumentEvent.serialVerionUID): Likewise.
4717 (ElementEdit.serialVerionUID): Likewise.
4718 (LeafElement.serialVerionUID): Likewise.
4719 (serialVerionUID): Likewise.
4720 (BAD_LOCATION): New constant.
4721 (BidiElementName): Likewise.
4722 (ContentElementName): Likewise.
4723 (ParagraphElementName): Likewise.
4724 (SectionElementName): Likewise.
4725 (ElementNameAttribute): Likewise.
4726 (AbstractDocument): Made protected.
4727 (AbstractDocument): New construtor.
4728 (listenerList): New field.
4729 (fireChangedUpdate): Implemented.
4730 (fireInsertUpdate): Likewise.
4731 (fireRemoveUpdate): Likewise.
4732 (fireUndoableEditUpdate): Likewise.
4733 (getListeners): Likewise.
4734 (addDocumentListener): Likewise.
4735 (removeDocumentListener): Likewise.
4736 (addUndoableEditListener): Likewise.
4737 (removeUndoableEditListener): Likewise.
4738 (getDocumentListeners): New method.
4739 (getUndoableEditListeners): Likewise.
4740 (getAsynchronousLoadPriority): Made public.
4741 (getBidiRootElement): Likewise.
4742 (setAsynchronousLoadPriority): Likewise.
4743 (setDocumentProperties): Likewise.
4744 * javax/swing/text/BadLocationException.java
4745 (serialVerionUID): New field.
4746 * javax/swing/text/DefaultCaret.java
4747 (changeEvent): New field.
4748 (listenerList): Likewise.
4749 (changes): Removed.
4750 (addChangeListener): Reimplemented.
4751 (removeChangeListener): Likewise.
4752 (getListeners): New method.
4753 (getChangeListeners): Likwise.
4754 (getComponent): Likewise.
4755 * javax/swing/text/GapContent.java
4756 (GapContent): Implements java.io.Serializable.
4757 (serialVerionUID): New field.
4758
4759 2004-06-16 Michael Koch <konqueror@gmx.de>
4760
4761 * javax/swing/JTree.java
4762 (treeModel): New field.
4763 (JTree): New constructors, one existing one made public.
4764 (createTreeModel): New method.
4765 (addTreeExpansionListener): Likewise.
4766 (removeTreeExpansionListener): Likewise.
4767 (getTreeExpansionListeners): Likewise.
4768 (fireTreeCollapsed): Likewise.
4769 (fireTreeExpanded): Likewise.
4770 (addTreeSelectionListener): Likewise.
4771 (removeTreeSelectionListener): Likewise.
4772 (getTreeSelectionListeners): Likewise.
4773 (fireValueChanged): Likewise.
4774 (addTreeWillExpandListener): Likewise.
4775 (removeTreeWillExpandListener): Likewise.
4776 (getTreeWillExpandListeners): Likewise.
4777 (fireTreeWillCollapse): Likewise.
4778 (fireTreeWillExpand): Likewise.
4779
4780 2004-06-16 Michael Koch <konqueror@gmx.de>
4781
4782 * javax/swing/JTree.java: Reformatted.
4783
4784 2004-06-16 Michael Koch <konqueror@gmx.de>
4785
4786 * javax/swing/JTextArea.java: New file.
4787 * javax/swing/JTextField.java
4788 (actions): Removed.
4789 (notifyAction): New constant.
4790 (columns): New field.
4791 (JTextField): New constructors.
4792 (createDefaultModel): New method.
4793 (addActionListener): Reimplmemented.
4794 (removeActionListener): Reimplemented.
4795 (getActionListeners): New method.
4796 (fireActionPerformed): New method.
4797 (getColumns): New method.
4798 (setColumne): New method.
4799 * javax/swing/text/JTextComponent.java
4800 (AccessibleJTextComponent.serialVersionUID): New field.
4801 (serialVersionUID): Likewise.
4802 (DEFAULT_KEYMAP): Likewise.
4803 (FOCUS_ACCELERATOR_KEY): Likewise.
4804 (doc): Made private.
4805 (icon_gap): Likewise.
4806 (icon): Likewise.
4807 (align): Likewise.
4808 (JTextComponent): Some constructors removed.
4809 (getScrollableTracksViewportHeight): New method.
4810 (getScrollableTracksViewportWidth): Likewise.
4811 * Makefile.am: Added javax/swing/JTextArea.java.
4812 * Makefile.in: Regenerated.
4813
4814 2004-06-15 Graydon Hoare <graydon@redhat.com>
4815
4816 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
4817 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
4818 * javax/swing/JViewport.java
4819 (getExtentSize): Return size rather than preferred size.
4820 (toViewCoordinates): New methods.
4821 (getViewSize): Return size rather than preferred size.
4822 (setViewSize): Note view size as set.
4823 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
4824 * javax/swing/plaf/basic/BasicScrollBarUI.java
4825 (getPreferredSize): Don't redo layout.
4826 * javax/swing/plaf/basic/BasicViewportUI.java
4827 (paint): Translate image properly and eat exceptions.
4828
4829 2004-06-15 Kim Ho <kho@redhat.com>
4830
4831 * javax/swing/JTabbedPane.java
4832 (setComponent): Remove old component and
4833 add new component.
4834 (setSelectedIndex): Don't operate on the
4835 components if they're null. Don't set index
4836 on the model if the index is the same.
4837 (insertTab): Don't add or hide the component
4838 if it's null. Repaint the container.
4839 * javax/swing/plaf/basic/BasicLookAndFeel.java
4840 Change colors for TabbedPane.
4841 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
4842 (mousePressed): Re-layout and paint the component.
4843 (layoutContainer): Don't set location on the view.
4844 (ScrollingViewport::paint): Remove.
4845
4846 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
4847
4848 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
4849 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
4850
4851 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
4852 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
4853 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
4854 critical region.
4855 (drawLine): Call gdk_flush before leaving GDK critical region.
4856 (fillRect): Likewise.
4857 (drawRect): Likewise.
4858 (copyArea): Likewise.
4859 (copyPixmap): Likewise.
4860 (clearRect): Likewise.
4861 (drawArc): Likewise.
4862 (drawPolyline): Likewise.
4863 (drawPolygon): Likewise.
4864 (fillPolygon): Likewise.
4865 (fillArc): Likewise.
4866 (drawOval): Likewise.
4867 (fillOval): Likewise.
4868
4869 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
4870 style parameter.
4871 (GdkFontMetrics): Add style argument to initState call.
4872 (stringWidth(String,int,int,String)): Add style parameter.
4873 (stringWidth(String)): Add style argument to stringWidth call.
4874 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
4875 (initState): Set pango font style and weight based on AWT style
4876 parameter. Pass default GTK language to
4877 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
4878 simply dividing by PANGO_SCALE.
4879 (stringWidth): Set pango font style and weight based on AWT style
4880 parameter.
4881
4882 * java/awt/Button.java (next_button_number): New field.
4883 (paramString): Change output.
4884 (generateName): New method.
4885 (getUniqueLong): New method.
4886
4887 2004-06-14 Kim Ho <kho@redhat.com>
4888
4889 * javax/swing/JTabbedPane.java:
4890 (setComponentAt): Set the component, not
4891 the enabled status.
4892 * javax/swing/plaf/basic/BasicDesktopIconUI.java
4893 (actionPerformed): Let deiconize catch exception.
4894
4895 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4896
4897 * javax/swing/JPopupMenu.java:
4898 (setVisible): Corrected location of a
4899 heavyweight popup menu.
4900
4901 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4902
4903 * javax/swing/MenuSelectionManager.java:
4904 Ran through jalopy to fix formatting style.
4905
4906 2004-06-14 Olga Rodimina <rodimina@redhat.com>
4907
4908 * javax/swing/JLayeredPane.java:
4909 (remove): Revalidate and repaint layered pane after
4910 the component was removed.
4911 javax/swing/JMenu.java:
4912 (setVisible): Display popup menu at the user location,
4913 if one was set by the user.
4914 (setMenuLocation): Reimplemented. Fixed javadoc.
4915 * javax/swing/JMenuBar.java: Added javadoc.
4916 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
4917 (MODEL_CHANGED_PROPERTY): New Property.
4918 (isSelected): Implemented.
4919 (setBorderPainted): Fire PropertyChangeEvent
4920 if paintBorder property changes.
4921 (setSelected): Implemented.
4922 (setSelectionModel): Implemented.
4923 * javax/swing/JPopupMenu.java: Added Javadoc
4924 (pack): Implemented.
4925 (setVisible): Reimplemented.
4926 (show): Fixed location.
4927 (JPopupMenu.LigthWeightPopup): Reimplemented to use
4928 Container instead of JPanel.
4929 * javax/swing/MenuSelectionManager.java: Added Javadocs.
4930 (clearSelectedPath): Reimplemented to clear selectedPath
4931 in reverse order.
4932 (processMouseEvent): Reimplemented.
4933 (setSelectedPath): Fire stateChange event indicating that
4934 selected menu path has changed.
4935 (getPath): Change to use ArrayList instead of Vector.
4936 * javax/swing/plaf/basic/BasicMenuBarUI.java:
4937 (installUI): call installKeyboardActions().
4938 (uninstallUI): call uninstallKeyboardActions().
4939
4940 2004-06-13 Michael Koch <konqueror@gmx.de>
4941
4942 * javax/swing/text/DefaultCaret.java,
4943 javax/swing/text/BadLocationException.java:
4944 Reformatted.
4945
4946 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
4947
4948 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
4949 DEFAULT_COLS): New variables.
4950 (create): Don't allow 0 rows or 0 columns. Instead, set the
4951 values to DEFAULT_ROWS or DEFAULT_COLS.
4952 (getMinimumSize): Likewise.
4953 (getPreferredSize): Likewise.
4954 (minimumSize): Likewise.
4955 (preferredSize): Likewise.
4956 (create): Set peer's editable state.
4957 * java/awt/TextArea.java (TextArea()): Set rows and columns to
4958 zero. Update javadocs.
4959 (TextArea(String)): Likewise.
4960 (TextArea(int,int)): Fix javadocs.
4961 (TextArea(String,int,int,int)): Only throw exception if one of
4962 rows or columns is zero. Fix javadocs.
4963
4964 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
4965
4966 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
4967 addition to Components.
4968
4969 * java/awt/MenuItem.java (dispatchEventImpl): If the event
4970 wasn't consumed by normal processing, send it to the parent
4971 menu.
4972
4973 * gnu/java/awt/peer/gtk/GtkImagePainter.java
4974 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
4975 translation.
4976
4977 2004-06-11 David Jee <djee@redhat.com>
4978
4979 * java/awt/MediaTracker.java
4980 (addImage(Image,int)): Call imageUpdate() to udpate image status.
4981 (addImage(Image,int,int,int)): Likewise.
4982
4983 2004-06-11 Michael Koch <konqueror@gmx.de>
4984
4985 * javax/swing/text/AbstractDocument.java,
4986 javax/swing/text/Document.java,
4987 javax/swing/text/GapContent.java,
4988 javax/swing/text/JTextComponent.java,
4989 javax/swing/text/PlainDocument.java:
4990 Reformatted.
4991
4992 2004-06-11 Michael Koch <konqueror@gmx.de>
4993
4994 * javax/swing/JRootPane.java
4995 (AccessibleJRootPane.serialVersionUID): New field.
4996 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
4997 (AccessibleJRootPane.getAccessibleRole): New method.
4998 (RootLayout): Implements Serializable.
4999 (RootLayout.serialVersionUID): New field.
5000 (RootLayout.RootLayout): New constructor.
5001 (setJMenuBar): Made public.
5002 (getJMenuBar): Likewise.
5003 (JRootPane): Likewise.
5004 (createContentPane): Likewise.
5005 (createGlassPane): Likewise.
5006 (createLayeredPane): Likewise.
5007
5008 2004-06-11 Michael Koch <konqueror@gmx.de>
5009
5010 * javax/swing/SwingUtilities.java
5011 (isLeftMouseButton): Fixed javadoc.
5012 (isMiddleMouseButton): Likewise.
5013 (isRightMouseButton): Likewise.
5014
5015 2004-06-11 Michael Koch <konqueror@gmx.de>
5016
5017 * javax/swing/JScrollPane.java
5018 (serialVersionUID): New field.
5019 (columnHeader): Made protected.
5020 (rowHeader): Likewise.
5021 (lowerLeft): Likewise.
5022 (lowerRight): Likewise.
5023 (upperLeft): Likewise.
5024 (upperRight): Likewise.
5025 (horizontalScrollBar): Likewise.
5026 (horizontalScrollBarPolicy): Likewise.
5027 (verticalScrollBar): Likewise.
5028 (verticalScrollBarPolicy): Likewise.
5029 (viewport): Likewise.
5030
5031 2004-06-11 Michael Koch <konqueror@gmx.de>
5032
5033 * javax/swing/LookAndFeel.java: Fixed javadocs.
5034
5035 2004-06-11 Michael Koch <konqueror@gmx.de>
5036
5037 * javax/swing/JEditorPane.java: Fixed javadocs.
5038 (JEditorPane): Removed redundant call to to this().
5039 (fireHyperlinkUpdate): Implemented.
5040
5041 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5042
5043 * javax/swing/JMenu.java: Fixed file name
5044 in the file comment.
5045
5046 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5047
5048 * javax/swing/JMenu.java: Added javadoc.
5049 (JMenu): Added MenuChangeListener to listen to
5050 ChangeEvents occuring in menu's model.
5051 (insert): Throw IllegalArgumentException if
5052 index is less than 0
5053 (setSelected): Reimplement.
5054 (setPopupMenuVisible): Call menu's model isEnabled()
5055 (setDelay): Throw IllegalArgumentException if
5056 given amount of delay is less than 0.
5057 (createActionComponent): Implemented.
5058 (createActionChangeListener): Implemented.
5059 (addSeparator): Implemented.
5060 (getItem): Throw IllegalArgumentException if index is
5061 less than 0.
5062 (getItemCount): Implemented.
5063 (fireMenuSelected): Changed to use menuEvent.
5064 (fireMenuDeselected): Likewise.
5065 (fireMenuCanceled): Likewise.
5066 (setAccelerator): Changed to throw an error if this
5067 method is used.
5068 (doClick): Implemented.
5069 (JMenu.ActionChangedListener): New inner class to handle
5070 PropertyChangeEvents occuring in the actions associated with menu.
5071 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
5072 (BasicMenuUI): Added PropertyChangeListener to the menu.
5073 (createChangeListener): Implemented.
5074 (createMenuDragMouseListener): Likewise.
5075 (createMenuKeyListener): Likewise.
5076 (createPropertyChangeListener): Likewise.
5077 (uninstallListeners): Likewise.
5078 (BasicMenuUI.MouseInputHandler): Reimplemented.
5079 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
5080 (BasicMenuUI.ChangeHandler): Likewise.
5081 (BasicMenuUI.MenuDragMouseHandler): Likewise.
5082 (BasicMenuUI.MenuKeyHandler): Likewise.
5083
5084 2004-06-10 David Jee <djee@redhat.com>
5085
5086 * java/awt/MediaTracker.java
5087 (imageUpdate): Only do notifyAll() if the image is complete.
5088
5089 2004-06-10 Olga Rodimina <rodimina@redhat.com>
5090
5091 * javax/swing/JApplet.java:
5092 (getJMenuBar): Made public.
5093 (setJMenuBar): Likewise.
5094 * javax/swing/JFrame.java:
5095 (getJMenuBar): Made public.
5096 (setJMenuBar): Likewise.
5097 * javax/swing/JWindow.java:
5098 (getJMenuBar): Removed.
5099 (setJMenuBar): Removed.
5100
5101 2004-06-10 Michael Koch <konqueror@gmx.de>
5102
5103 * javax/swing/JEditorPane.java
5104 (createEditorKitForContentType): Fixed visibility.
5105 (fireHyperlinkUpdate): Likewise.
5106 (getContentType): Likewise.
5107 (getEditorKit): Likewise.
5108 (getEditorKitForContentType): Likewise.
5109 (getPage): Likewise.
5110 (read): Likewise.
5111 (registerEditorKitForContentTyoe): Likewise.
5112 (replaceSelection): Likewise.
5113 (setContentType): Likewise.
5114 (setEditorKit): Likewise.
5115 (setPage): Likewise.
5116
5117 2004-06-10 Michael Koch <konqueror@gmx.de>
5118
5119 * javax/swing/Timer.java
5120 (Timer): New constructor.
5121 * javax/swing/plaf/basic/BasicProgressBarUI.java
5122 (animationTimer): Don't initialize at construction.
5123 (startAnimationTimer): Added since tag.
5124 (stopAnimationTimer): Likewise.
5125 (installUI): Use new Timer constructor.
5126 * javax/swing/plaf/basic/BasicScrollBarUI.java
5127 (installUI): Likewise.
5128 * javax/swing/plaf/basic/BasicSliderUI.java
5129 (installUI): Likewise.
5130
5131 2004-06-10 Michael Koch <konqueror@gmx.de>
5132
5133 * javax/swing/ButtonGroup.java
5134 (serialVersionUID): Made private.
5135 (buttons): Renamed from v, added javadoc.
5136 (sel): Added javadoc.
5137 (ButtonGroup): Likewise.
5138 (add): Likewise.
5139 (remove): Likewise.
5140 (getElements): Likewise.
5141 (getSelection): Likewise.
5142 (setSelected): Likewise.
5143 (isSelected): Likewise.
5144 (getButtonCount): Likewise.
5145
5146 2004-06-10 Michael Koch <konqueror@gmx.de>
5147
5148 * javax/swing/ButtonGroup.java,
5149 javax/swing/ImageIcon.java,
5150 javax/swing/JEditorPane.java,
5151 javax/swing/JRootPane.java,
5152 javax/swing/JTextField.java,
5153 javax/swing/LookAndFeel.java,
5154 javax/swing/plaf/basic/BasicTextUI.java:
5155 Reindented.
5156
5157 2004-06-10 Michael Koch <konqueror@gmx.de>
5158
5159 * javax/swing/text/Style.java: Added javadocs.
5160
5161 2004-06-10 Michael Koch <konqueror@gmx.de>
5162
5163 * javax/swing/JComponent.java
5164 (fireVetoableChange): Removed redundant cast.
5165 * javax/swing/JLabel.java
5166 (getDisabledIcon): Save icon for next call.
5167
5168 2004-06-10 Michael Koch <konqueror@gmx.de>
5169
5170 * javax/swing/KeyStroke.java
5171 (getKeyStroke(char,boolean)): Marked deprecated.
5172
5173 2004-06-10 Michael Koch <konqueror@gmx.de>
5174
5175 * javax/swing/DefaultCellEditor.java,
5176 javax/swing/GrayFilter.java,
5177 javax/swing/event/DocumentEvent.java,
5178 javax/swing/text/JTextComponent.java,
5179 javax/swing/text/MutableAttributeSet.java:
5180 Reindented.
5181
5182 2004-06-10 Michael Koch <konqueror@gmx.de>
5183
5184 * javax/swing/plaf/BorderUIResource.java:
5185 Added serialVersionUID all over.
5186
5187 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
5188
5189 * javax/swing/undo/UndoManager.java: Re-written from scratch.
5190
5191 2004-06-10 Michael Koch <konqueror@gmx.de>
5192
5193 * javax/swing/table/DefaultTableCellRenderer.java
5194 (noFocusBorder): Initialize directly.
5195
5196 2004-06-10 Michael Koch <konqueror@gmx.de>
5197
5198 * javax/swing/plaf/basic/BasicArrowButton.java
5199 (setDirection): Use method argument.
5200
5201 2004-06-10 Michael Koch <konqueror@gmx.de>
5202
5203 * javax/swing/plaf/BorderUIResource.java,
5204 javax/swing/plaf/ComponentUI.java,
5205 javax/swing/undo/CompoundEdit.java,
5206 javax/swing/undo/StateEdit.java:
5207 Fixed javadocs all over.
5208
5209 2004-06-10 Michael Koch <konqueror@gmx.de>
5210
5211 * javax/swing/DefaultButtonModel.java
5212 (ARMED): Made public final, fixed value.
5213 (ENABLED): Likewise.
5214 (PRESSED): Likewise.
5215 (ROLLOVER): Likewise.
5216 (SELECTED): Likewise.
5217 (stateMask): Initialize directly.
5218 (listenerList): Likewise.
5219 (mnemonic): Likewise.
5220 (fireStateChanged): Removed argument, use changeEvent as event.
5221 All places where this method is called are fixed too.
5222 (getActionCommant): Fixed javadoc.
5223 (setGroup): Fixed javadoc.
5224 (getGroup): New method.
5225
5226 2004-06-09 Olga Rodimina <rodimina@redhat.com>
5227
5228 * javax/swing/AbstractButton.java
5229 (AbstractButton): Use init() to initialize the button.
5230 (init): New Method. Initializes AbstractButton.
5231 * javax/swing/JMenuItem.java: Documented.
5232 (JMenuItem): Reimplemented.
5233 (init): Implemented.
5234 (setEnabled): Changed to call super.setEnabled()
5235 (processMouseEvent): Reimplemented.
5236 (fireMenuKeyPressed): Implemented.
5237 (fireMenuKeyReleased): Implemented.
5238 (fireMenuKeyTyped): Implemented.
5239 (menuSelectionChanged): disarm the model if the menu item was
5240 deselected.
5241 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
5242 (getPath): Change to use ArrayList instead of Vector.
5243 (getPreferredSize): Renamed variable.
5244 (paintMenuItem): Paint margin area of menu item.
5245 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
5246 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
5247 menu item's bounds before clearing the selection.
5248
5249 2004-06-09 David Jee <djee@redhat.com>
5250
5251 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
5252 (GtkTextComponentPeer): Set caret position to 0.
5253 * java/awt/TextComponent.java
5254 (setText): Set caret position to 0.
5255 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5256 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
5257 Handle GtkScrolledWindow separately. Fix signal handler blocking.
5258 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
5259 Likewise.
5260 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5261 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
5262 visible.
5263
5264 2004-06-09 Kim Ho <kho@redhat.com>
5265
5266 * Makefile.am: New files
5267 * Makefile.in: Regenerated
5268 * java/awt/Container.java
5269 (getComponentAt): Removed.
5270 * javax/swing/AbstractAction.java
5271 (ENABLED_PROPERTY): New property.
5272 (putValue): Fire PropertyChangeEvents.
5273 (setEnabled): ditto.
5274 (firePropertyChange): Javadoc and implement
5275 convenience method.
5276 * javax/swing/AbstractButton.java
5277 (setAction): Don't create PropertyChangeListener
5278 if new Action is null.
5279 (setIcon): Don't set icon till after comparing
5280 it.
5281 (configurePropertiesFromAction): Check mnemonic
5282 key before calling intValue().
5283 (createActionPropertyChangeListener): Check
5284 properties rather than bulk change.
5285 * javax/swing/DefaultDesktopManager.java:
5286 Implement.
5287 * javax/swing/DesktopManager.java:
5288 Jalopy and javadoc.
5289 * javax/swing/JComponent.java
5290 (fireVetoableChange): Implement.
5291 (paintImmediately): Use root component.
5292 * javax/swing/JDesktopPane.java: Implement
5293 * javax/swing/JInternalFrame.java: Implement
5294 * javax/swing/JLabel.java
5295 (getDisabledIcon): Return grayscaled icon if
5296 no disabled icon specified.
5297 * javax/swing/JMenuBar.java
5298 (getComponentAtIndex): Use getComponent
5299 * javax/swing/JOptionPane.java
5300 (getDesktopPaneForComponent): Use SwingUtilities'
5301 getAncestorOfClass
5302 (getFrameForComponent): ditto.
5303 * javax/swing/JSplitPane.java
5304 (remove): Use getComponent.
5305 * javax/swing/SwingUtilities.java
5306 (convertPoint): Implement.
5307 * javax/swing/plaf/basic/BasicButtonUI.java
5308 (paintButtonNormal): Check opaqueness before
5309 filling background.
5310 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
5311 Implement
5312 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
5313 Implement.
5314 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
5315 Implement.
5316 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
5317 Implement.
5318 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5319 Change InternalFrame and Desktop colors.
5320
5321 2004-06-09 David Jee <djee@redhat.com>
5322
5323 * java/awt/Container.java
5324 (remove): Do not set component to invisible.
5325
5326 2004-06-09 Michael Koch <konqueror@gmx.de>
5327
5328 * javax/swing/tree/DefaultMutableTreeNode.java
5329 (getLeafCount): Renamed enum to e.
5330
5331 2004-06-09 Michael Koch <konqueror@gmx.de>
5332
5333 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5334 (positionForMouseEvent): Removed redundant semicolon.
5335 (continueDrag): Use method arguments.
5336
5337 2004-06-09 Michael Koch <konqueror@gmx.de>
5338
5339 * javax/swing/border/TitledBorder.java,
5340 javax/swing/filechooser/FileSystemView.java,
5341 javax/swing/plaf/basic/BasicButtonListener.java,
5342 javax/swing/plaf/basic/BasicGraphicsUtils.java,
5343 javax/swing/plaf/basic/BasicLabelUI.java,
5344 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5345 javax/swing/plaf/basic/BasicScrollBarUI.java,
5346 javax/swing/plaf/basic/BasicScrollPaneUI.java,
5347 javax/swing/plaf/basic/BasicSliderUI.java,
5348 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5349 javax/swing/plaf/basic/BasicToggleButtonUI.java,
5350 javax/swing/table/JTableHeader.java,
5351 javax/swing/text/AbstractDocument.java,
5352 javax/swing/text/DefaultCaret.java,
5353 javax/swing/text/StyledEditorKit.java,
5354 javax/swing/tree/DefaultTreeCellEditor.java:
5355 Reworked import statements.
5356
5357 2004-06-08 Graydon Hoare <graydon@redhat.com>
5358
5359 * javax/swing/Box.java: Temporarily comment out code
5360 broken due to visibility bug.
5361
5362 2004-06-09 Michael Koch <konqueror@gmx.de>
5363
5364 * javax/swing/ImageIcon.java
5365 (ImageIcon): Added missing constructor.
5366
5367 2004-06-08 Michael Koch <konqueror@gmx.de>
5368
5369 * javax/swing/JToggleButton.java
5370 (JToggleButton): New constructor.
5371 (getAccessibleContext): Moved documentation into javadoc.
5372 (getUIClassID): Likewise.
5373
5374 2004-06-08 Michael Koch <konqueror@gmx.de>
5375
5376 * javax/swing/AbstractButton.java
5377 (getDisabledIcon): Create disabled icon if none exists yet.
5378
5379 2004-06-08 Michael Koch <konqueror@gmx.de>
5380
5381 * javax/swing/plaf/basic/BasicLookAndFeel.java
5382 (initClassDefaults): Added FormattedTextFieldUI.
5383 (loadResourceBundle): Renamed enum to e.
5384
5385 2004-06-08 Michael Koch <konqueror@gmx.de>
5386
5387 * javax/swing/plaf/basic/BasicButtonUI.java
5388 (paintIcon): Simplified.
5389 (paintText): Paint disabled button correctly.
5390
5391 2004-06-08 Michael Koch <konqueror@gmx.de>
5392
5393 * javax/swing/JComponent.java
5394 (createToolTip): Use official JToolTip API.
5395
5396 2004-06-08 Michael Koch <konqueror@gmx.de>
5397
5398 * javax/swing/JToolTip.java
5399 (JToolTip): No arguments in API.
5400 (setTipText): New method.
5401
5402 2004-06-08 Michael Koch <konqueror@gmx.de>
5403
5404 * javax/swing/SwingUtilities.java
5405 (isLeftMouseButton): New method.
5406 (isMiddleMouseButton): New method.
5407 (isRightMouseButton): New method.
5408
5409 2004-06-08 Michael Koch <konqueror@gmx.de>
5410
5411 * javax/swing/AbstractButton.java,
5412 javax/swing/CellRendererPane.java,
5413 javax/swing/JCheckBoxMenuItem.java,
5414 javax/swing/JColorChooser.java,
5415 javax/swing/JComboBox.java,
5416 javax/swing/JComponent.java,
5417 javax/swing/JDesktopPane.java,
5418 javax/swing/JFileChooser.java,
5419 javax/swing/JMenu.java,
5420 javax/swing/JMenuItem.java,
5421 javax/swing/JOptionPane.java,
5422 javax/swing/JPasswordField.java,
5423 javax/swing/JPopupMenu.java,
5424 javax/swing/JProgressBar.java,
5425 javax/swing/JRadioButtonMenuItem.java,
5426 javax/swing/JScrollBar.java,
5427 javax/swing/JSeparator.java,
5428 javax/swing/JSlider.java,
5429 javax/swing/JSplitPane.java,
5430 javax/swing/JTabbedPane.java,
5431 javax/swing/JTextField.java,
5432 javax/swing/JToolBar.java,
5433 javax/swing/text/JTextComponent.java:
5434 Fixed all constructors of accessibility classes.
5435
5436 2004-06-08 Michael Koch <konqueror@gmx.de>
5437
5438 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
5439 over.
5440
5441 2004-06-08 Michael Koch <konqueror@gmx.de>
5442
5443 * javax/swing/Box.java
5444 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
5445 (AccessibleBoxFiller.serialVersionUID): New member variable.
5446 * javax/swing/DefaultButtonModel.java
5447 (stateMask): Made protected.
5448 (listenerList): Likewise.
5449 (changeEvent): Likewise.
5450 (group): Likewise.
5451 (mnemonic): Likewise.
5452 (actionCommand): Likewise.
5453 (getListeners): New method.
5454 (getActionListeners): New method.
5455 (getItemListeners): New method.
5456 (getChangeListeners): New method.
5457 (fireItemStateChanged): Simplified.
5458 (fireActionPerformed): Simplified.
5459 (fireStateChanged): Simplified.
5460 * javax/swing/JFrame.java
5461 (JFrame): Implements WindowContants.
5462 (HIDE_ON_CLOSE): Removed.
5463 (EXIT_ON_CLOSE): Removed.
5464 (DISPOSE_ON_CLOSE): Removed.
5465 (DO_NOTHING_ON_CLOSE): Removed.
5466 (processWindowEvent): Exit with code 0.
5467 (setDefaultCloseOperation): Do security check before setting value.
5468 * javax/swing/JOptionPane.java
5469 (message): Initialize only in constructor.
5470 * javax/swing/JToolTip.java: Removed unused imports.
5471 * javax/swing/JViewport.java
5472 (serialVersionUID): New member variable.
5473 (SIMPLE_SCROLL_MODE): Made final, fixed value.
5474 (BLIT_SCROLL_MODE): Likewise.
5475 (BACKINGSTORE_SCROLL_MODE): Likewise.
5476 (scrollUnderway): Made protected.
5477 (isViewSizeSet): Likewise.
5478 * javax/swing/ListModel.java: Fixed javadoc.
5479 * javax/swing/Popup.java: Likewise.
5480 * javax/swing/RepaintManager.java
5481 (paintDirtyRegions): Don't use internal classes of
5482 java.util.AbstractMap.
5483 * javax/swing/ScrollPaneConstants.java: Reindented.
5484 * javax/swing/ScrollPaneLayout.java
5485 (viewport): Made protected.
5486 (verticalScrollBar): Made protected, renamed to vsb.
5487 (horizontalScrollBar): Made protected, renamed to hsb.
5488 (rowHeader): Made protected, renamed to rowHead.
5489 (columnHeader): Made protected, renamed to colHead.
5490 (lowerLeft): Made protected.
5491 (lowerRight): Made protected.
5492 (upperLeft): Made protected.
5493 (upperRight): Made protected.
5494 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
5495 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
5496
5497 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
5498
5499 * java/awt/MediaTracker.java (imageUpdate): Only set status to
5500 LOADING if flags has SOMEBITS set.
5501
5502 2004-06-07 Michael Koch <konqueror@gmx.de>
5503
5504 * javax/swing/AbstractButton.java: Reorganized imports.
5505 * javax/swing/ActionMap.java: Likewise.
5506 * javax/swing/DefaultButtonModel.java: Likewise.
5507 * javax/swing/DefaultListModel.java: Likewise.
5508 * javax/swing/ImageIcon.java: Likewise.
5509 (serialVersionUID): New member variable.
5510 * javax/swing/JComboBox.java: Reorganized imports.
5511 * javax/swing/JComponent.java: Likewise.
5512 (ui): Made protected.
5513 (listenerList): Made protected.
5514 (TOOL_TIP_TEXT_KEY): New constant.
5515 (scrollRectToVisible): Removed redundant null check.
5516 * javax/swing/JFrame.java: Reorganized imports.
5517 * javax/swing/JInternalFrame.java: Reorganized imports.
5518 * javax/swing/JProgressBar.java: Likewise.
5519 * javax/swing/JRootPane.java: Likewise.
5520 * javax/swing/JScrollBar.java: Likewise.
5521 * javax/swing/JSeparator.java: Likewise.
5522 * javax/swing/JSlider.java: Likewise.
5523 * javax/swing/JTabbedPane.java: Likewise.
5524 * javax/swing/JTextField.java: Likewise.
5525 * javax/swing/JToolBar.java: Likewise.
5526 * javax/swing/JTree.java: Likewise.
5527 * javax/swing/JViewport.java: Likewise.
5528 * javax/swing/JWindow.java: Likewise.
5529 * javax/swing/KeyStroke.java: Likewise.
5530 * javax/swing/LookAndFeel.java: Likewise.
5531 * javax/swing/MenuSelectionManager.java: Likewise.
5532 * javax/swing/SwingUtilities.java: Likewise.
5533 * javax/swing/Timer.java: Likewise.
5534 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
5535 * javax/swing/JList.java
5536 (HORIZONTAL_WRAP): Made final, fixed value.
5537 (VERTICAL): Likewise.
5538 (VERTICAL_WRAP): Likewise.
5539
5540 2004-06-07 Michael Koch <konqueror@gmx.de>
5541
5542 * javax/swing/AbstractButton.java
5543 (serialVersionUID): New member variable.
5544 (AccessibleAbstractButton.serialVersionUID): Likewise.
5545 (AbstractButton): Made public.
5546 * javax/swing/Box.java
5547 (AccessibleBox.serialVersionUID): New member variable.
5548 (Filler.serialVersionUID): Likewise.
5549 * javax/swing/DefaultListSelectionModel.java
5550 (serialVersionUID): Likewise.
5551 * javax/swing/JApplet.java
5552 (serialVersionUID): Likewise.
5553 * javax/swing/JCheckBox.java
5554 (serialVersionUID): Likewise.
5555 * javax/swing/JCheckBoxMenuItem.java
5556 (serialVersionUID): Likewise.
5557 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
5558 * javax/swing/JColorChooser.java
5559 (serialVersionUID): Likewise.
5560 (AccessibleJColorChooser.serialVersionUID): Likewise.
5561 * javax/swing/JComponent.java
5562 (serialVersionUID): Made private.
5563 (AccessibleJComponent.serialVersionUID): New member variable.
5564 * javax/swing/JDesktopPane.java
5565 (serialVersionUID): Likewise.
5566 * javax/swing/JDialog.java
5567 (serialVersionUID): Likewise.
5568 * javax/swing/JFormattedTextField.java
5569 (serialVersionUID): Fixed value.
5570 * javax/swing/JFrame.java
5571 (serialVersionUID): New member variable.
5572 (getDefaultCloseOpertation): Made public.
5573 * javax/swing/JLayeredPane.java
5574 (serialVersionUID): Likewise.
5575 (LAYER_PROPERTY): Made final, fixed value.
5576 (JLayeredPane): Made public.
5577 * javax/swing/JMenu.java
5578 (AccessibleJMenu.serialVersionUID): New member variable.
5579 (WinListener.serialVersionUID): Likewise.
5580 * javax/swing/JMenuBar.java
5581 (serialVersionUID): Likewise.
5582 (getComponentAtIndex): Added @deprecated tag.
5583 * javax/swing/JMenuItem.java
5584 (serialVersionUID): New member variable.
5585 (AccessibleJMenuItem.serialVersionUID): Likewise.
5586 * javax/swing/JOptionPane.java
5587 (serialVersionUID): Likewise.
5588 (AccessibleJOptionPane.serialVersionUID): Likewise.
5589 * javax/swing/JPopupMenu.java
5590 (serialVersionUID): Likewise.
5591 (AccessibleJPopupMenu.serialVersionUID): Likewise.
5592 (getPopupMenuListeners): New method.
5593 (getComponentAtIndex): Added @deprecated tag.
5594 * javax/swing/JProgressBar.java
5595 (serialVersionUID): New member variable.
5596 (AccessibleJProgressBar.serialVersionUID): Likewise.
5597 * javax/swing/JRadioButton.java
5598 (serialVersionUID): Likewise.
5599 * javax/swing/JRadioButtonMenuItem.java
5600 (serialVersionUID): Likewise.
5601 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
5602 * javax/swing/JScrollBar.java
5603 (serialVersionUID): Likewise.
5604 (AccessibleJScrollBar.serialVersionUID): Likewise.
5605 * javax/swing/JSeparator.java
5606 (serialVersionUID): Likewise.
5607 (AccessibleJSeparator.serialVersionUID): Likewise.
5608 * javax/swing/JSlider.java: Fixed javadocs.
5609 (AccessibleJSlider.serialVersionUID): New member variable.
5610 * javax/swing/JSplitPane.java: Added copyright statement.
5611 (serialVersionUID): New member variable.
5612 (AccessibleJSplitPane.serialVersionUID): Likewise.
5613 * javax/swing/JTabbedPane.java
5614 (serialVersionUID): Likewise.
5615 (AccessibleJTabbedPane.serialVersionUID): Likewise.
5616 (ModelListener.serialVersionUID): Likewise.
5617 (ModelListener.ModelListener): New constructor.
5618 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
5619 (WRAP_TAB_LAYOUT): Likewise.
5620 * javax/swing/JTable.java
5621 (serialVersionUID): New member variable.
5622 * javax/swing/JToggleButton.java
5623 (serialVersionUID): Likewise.
5624 (ToggleButtonModel): Made static.
5625 (ToggleButtonModel.serialVersionUID): New member variable.
5626 * javax/swing/JToolTip.java
5627 (serialVersionUID): Likewise.
5628 * javax/swing/JTree.java
5629 (serialVersionUID): Likewise.
5630 * javax/swing/JWindow.java
5631 (serialVersionUID): Likewise.
5632 * javax/swing/Timer.java
5633 (serialVersionUID): Likewise.
5634
5635 2004-06-06 Michael Koch <konqueror@gmx.de>
5636
5637 * javax/swing/SwingConstants.java
5638 (NEXT): New constant.
5639 (PREVIOUS): Likewise.
5640 * javax/swing/UIManager.java
5641 (LookAndFeel): Made public.
5642 (LookAndFeel.getClassName): Likewise.
5643 (LookAndFeel.getName): Likewise.
5644
5645 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5646
5647 * javax/swing/JCheckBoxMenuItem.java:
5648 Removed CVS tags.
5649 * javax/swing/JMenu.java: Likewise.
5650 * javax/swing/JMenuBar.java: Likewise.
5651 * javax/swing/JMenuItem.java: Likewise.
5652 * javax/swing/JPopupMenu.java: Likewise.
5653 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5654 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5655 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5656 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5657 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5658 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5659 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5660
5661 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5662
5663 * javax/swing/plaf/basic/BasicMenuUI.java:
5664 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5665 Call getPath() from super class instead.
5666
5667 2004-05-31 David Jee <djee@redhat.com>
5668
5669 * java/awt/Container.java
5670 (remove): Set component visibility to false after removing it.
5671
5672 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
5673
5674 * java/awt/Component.java (getForeground): Return SystemColor if
5675 parent is null.
5676 (getBackground): Likewise.
5677
5678 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
5679 (item_highlighted): New function.
5680 (connectSignals): Set item_highlighted as list's select
5681 function.
5682
5683 * java/applet/Applet.java: Revert changes from 2004-04-29,
5684 2004-03-15 and 2004-03-14.
5685
5686 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5687 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
5688 factor.
5689
5690 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
5691 "Dialog" as the default font.
5692 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
5693 Likewise.
5694 * java/awt/Component.java (getFont): Return "Dialog" font by
5695 default.
5696 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
5697 Multiply size argument to pango_font_description_set_size by the
5698 DPI conversion factor rather than by PANGO_SCALE.
5699 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
5700 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
5701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
5702 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
5703 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
5704 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
5705 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
5706 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
5707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
5708 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
5709 Divide baseline y coordinate by DPI conversion factor rather
5710 than by PANGO_SCALE.
5711 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5712 (area_prepared): Fix typo.
5713 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5714 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
5715 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5716 (dpi_conversion_factor): New global variable.
5717 (init_dpi_conversion_factor): New function to calculate and
5718 track DPI conversion factor.
5719 (dpi_changed_cb): New callback.
5720 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
5721
5722 2004-05-27 David Jee <djee@redhat.com>
5723
5724 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5725 (getGraphics): Return a new GdkGraphics instance.
5726 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
5727 (getGraphics): Call super.getGraphics().
5728
5729 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5730
5731 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5732 (setNativeBounds): Clamp width and height values to >= 0.
5733
5734 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5735 (find_fg_color_widget): Handle GtkOptionMenu specially.
5736
5737 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5738 (pre_event_handler): Only post configure events to visible
5739 top-level windows.
5740
5741 2004-05-26 David Jee <djee@redhat.com>
5742
5743 * java/awt/BorderLayout.java
5744 (layoutContainer): Fix size calculations.
5745
5746 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
5747
5748 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5749 (window_wm_protocols_filter): Remove function.
5750 (create): Remove filter that removes WM_TAKE_FOCUS client
5751 messages.
5752
5753 2004-06-17 Anthony Green <green@redhat.com>
5754
5755 * java/util/zip/ZipFile.java (getInputStream): Return null if
5756 entry not found.
5757
5758 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
5759 directory contents to the class path.
5760
5761 2004-06-15 Andrew Haley <aph@redhat.com>
5762
5763 * java/lang/natSystem.cc (getenv0): Don't assume environment
5764 variable is Latin 1 coded.
5765
5766 2004-06-14 Andreas Jaeger <aj@suse.de>
5767
5768 * configure.in: Support --enable-version-specific-runtime-libs.
5769 * configure: Regenerated.
5770
5771 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
5772
5773 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
5774 to pass ClassLoader argument.
5775 * java/util/GregorianCalendar.java: Likewise.
5776 * java/util/Currency.java: Likewise.
5777 * java/text/BreakIterator.java: Likewise.
5778 * java/text/Collator.java: Likewise.
5779 * java/text/DateFormat.java: Likewise.
5780 * java/text/DateFormatSymbols.java: Likewise.
5781 * java/text/DecimalFormatSymbols.java: Likewise.
5782 * java/text/NumberFormat.java: Likewise.
5783 * java/awt/Window.java: Likewise.
5784
5785 2004-06-14 Andrew Haley <aph@redhat.com>
5786
5787 * java/lang/System.java: (getenv0): New method.
5788 (getenv): Add security check. Do the right thing.
5789 * java/lang/natSystem.cc (getenv0): New method.
5790
5791 2004-06-12 Mark Wielaard <mark@klomp.org>
5792
5793 * javax/swing/RepaintManager.java
5794 (paintDirtyRegions): Use entrySet(), not values().
5795
5796 2004-06-10 Mark Wielaard <mark@klomp.org>
5797
5798 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
5799 NoSuchMethodError.
5800
5801 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
5802
5803 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
5804 when we already know the answer.
5805 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
5806 (setStartRule,setEndRule): Don't take abs of day number.
5807 (getOffset): Clarify docs. Add argument checks.
5808 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
5809 (equals,hasSameRules,toString,readObject): Use startTimeMode and
5810 endTimeMode.
5811
5812 2004-06-10 Tom Tromey <tromey@redhat.com>
5813
5814 * interpret.cc (run): Handle wide fload.
5815
5816 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
5817
5818 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
5819
5820 2004-06-05 Michael Koch <konqueror@gmx.de>
5821
5822 * javax/swing/SwingConstants.java
5823 (NEXT): New constant.
5824 (PREVIOUS): Likewise.
5825
5826 2004-06-05 Michael Koch <konqueror@gmx.de>
5827
5828 * javax/swing/UIManager.java
5829 (LookAndFeel): Made public.
5830 (LookAndFeel.getName): Likewise.
5831 (LookAndFeel.getClassName): Likewise.
5832
5833 2004-06-03 Michael Koch <konqueror@gmx.de>
5834
5835 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5836 (requestFocus): Revert last changes.
5837 (gtkRequestFocus): Removed.
5838 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5839 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5840 Renamed to ...
5841 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
5842 Reverted last patch.
5843 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5844 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
5845 Reverted comment change.
5846
5847 2004-06-02 Olga Rodimina <rodimina@redhat.com>
5848
5849 * javax/swing/JCheckBoxMenuItem.java:
5850 Removed CVS tags.
5851 * javax/swing/JMenu.java: Likewise.
5852 * javax/swing/JMenuBar.java: Likewise.
5853 * javax/swing/JMenuItem.java: Likewise.
5854 * javax/swing/JPopupMenu.java: Likewise.
5855 * javax/swing/JRadioButtonMenuItem.java: Likewise.
5856 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
5857 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
5858 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
5859 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
5860 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
5861 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
5862
5863 2004-06-01 Tom Tromey <tromey@redhat.com>
5864
5865 * java/io/ObjectStreamField.java: Cleaned up imports.
5866
5867 2004-06-01 Michael Koch <konqueror@gmx.de>
5868
5869 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
5870
5871 2004-06-01 Mark Wielaard <mark@klomp.org>
5872
5873 * java/io/Writer.java (Writer(Object)): Fixed API doc.
5874
5875 2004-06-01 Michael Koch <konqueror@gmx.de>
5876
5877 * java/security/Security.java
5878 (insertProviderAt): Use equals() instead of ==.
5879 (removeProvicer): Likewise.
5880 (getProvider): Likewise.
5881 * java/security/Signature.java
5882 (sign): Don't set state to UNINITIALIZED.
5883 (verify): Likewise.
5884
5885 2004-06-01 Mark Wielaard <mark@klomp.org>
5886
5887 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
5888 Implement by calling gtkRequestFocus.
5889 (gtkRequestFocus): New native method.
5890 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5891 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
5892 Renamed to ...
5893 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
5894 New function name.
5895 (filter_expose_event_handler):
5896 Mark static.
5897 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
5898 (menu_pos): Mark static.
5899
5900 2004-06-01 Michael Koch <konqueror@gmx.de>
5901
5902 * java/text/CollationElementIterator.java,
5903 java/text/CollationKey.java,
5904 java/text/RuleBasedCollator.java: New versions from GNU classpath.
5905 * testsuite/libjava.mauve/xfails: Removed all
5906 java.text.CollationElementIterator tests.
5907
5908 2004-06-01 Michael Koch <konqueror@gmx.de>
5909
5910 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
5911 version.
5912 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
5913 Java 1.5 keyword usage.
5914
5915 2004-05-31 Olga Rodimina <rodimina@redhat.com>
5916
5917 * javax/swing/plaf/basic/BasicMenuUI.java:
5918 (MouseEntered): Do not call getPath() from MenuSelectionManager.
5919 Call getPath() from super class instead.
5920
5921 2004-05-31 Michael Koch <konqueror@gmx.de>
5922
5923 * java/io/SequenceInputStream.java:
5924 Rename enum to e because enum is a keyword in Java 1.5.
5925
5926 2004-05-31 Michael Koch <konqueror@gmx.de>
5927
5928 * gnu/java/rmi/rmic/CompilerProcess.java:
5929 Fixed javadoc to by XHTML compliant.
5930
5931 2004-05-30 Mark Wielaard <mark@klomp.org>
5932
5933 * java/awt/Toolkit.java (loadSystemColors): Implement.
5934
5935 2004-05-30 Michael Koch <konqueror@gmx.de>
5936
5937 * java/lang/System.java: Reordered imports.
5938
5939 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
5940
5941 * java/text/DecimalFormat.java
5942 (parse): Fixed parsing of decimal strings. Number of maximum
5943 digits to be read should now work.
5944 * java/text/SimpleDateFormat.java
5945 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
5946 formatter. This fixes DateFormatTest.
5947
5948 2004-05-30 Michael Koch <konqueror@gmx.de>
5949
5950 * java/nio/Buffer.java
5951 (limit): Fixed off by one error.
5952 * java/nio/CharBuffer.java
5953 (wrap): Fixed arguments, added javadocs.
5954
5955 2004-05-30 Michael Koch <konqueror@gmx.de>
5956
5957 * gnu/java/beans/BeanInfoEmbryo.java,
5958 java/awt/im/InputContext.java,
5959 javax/swing/tree/DefaultMutableTreeNode.java:
5960 Rename enum to e because enum is a keyword in Java 1.5.
5961
5962 2004-05-30 Michael Koch <konqueror@gmx.de>
5963
5964 * gnu/java/math/MPN.java,
5965 java/awt/geom/Arc2D.java:
5966 Fixed javadocs all over.
5967
5968 2004-05-30 Michael Koch <konqueror@gmx.de>
5969
5970 * java/awt/DefaultKeyboardFocusManager.java
5971 (dispatchEvent): Call method to get key event dispatchers.
5972 (dispatchKeyEvent): Call method to get key event post processors.
5973 * javax/swing/JComponent.java
5974 (listenerList): Made protected.
5975 * javax/swing/JOptionPane.java
5976 (message): Don't initialize.
5977 (JOptionPane): Set message text.
5978 * javax/swing/JPopupMenu.java
5979 (show): Fixed typo in argument name.
5980 * javax/swing/RepaintManager.java
5981 (paintDirtyRegions): Use public API of java.util.Map.
5982 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
5983 (positionForMouseEvent): Removed redundant ';'.
5984 (continueDrag): Use method arguments.
5985
5986 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
5987
5988 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
5989 results.
5990
5991 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
5992
5993 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
5994 _Jv_AllocBytes.
5995 * gnu/gcj/RawDataManaged.java: New file.
5996 * java/lang/Thread.java (data): Declare as RawDataManaged.
5997 * java/lang/natThread.cc (init_native): Cast natThread data to
5998 RawDataManaged, not jobject.
5999 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
6000 * Makefile.in: Rebuilt.
6001
6002 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
6003
6004 * java/util/SimpleTimeZone.java: Reverting my last change until I
6005 can fix it properly.
6006
6007 2004-05-27 Michael Koch <konqueror@gmx.de>
6008
6009 * javax/swing/JPopupMenu.java
6010 (isVisible): Do not use visible directly.
6011 (setVisible): Likewise.
6012 * javax/swing/JWindow.java
6013 (JWindow): call accessible constructor.
6014 * javax/swing/RepaintManager.java
6015 (paintDirtyRegions): Use public methods to obtain iterator.
6016
6017 2004-05-25 David Jee <djee@redhat.com>
6018
6019 * java/awt/Container.java
6020 (remove): Set component's parent to null only after we removed the
6021 component from its parent's layout manager.
6022
6023 2004-05-25 David Jee <djee@redhat.com>
6024
6025 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6026 (GtkComponentPeer): Set bounds regardless of whether awtComponent
6027 is valid.
6028 * gnu/java/awt/peer/gtk/GtkListPeer.java
6029 (getSize): Change native method declaration.
6030 (minimumSize): Pass visible row count into getSize().
6031 (preferredSize): Likewise.
6032 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6033 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
6034 natural size. Use visible row count to determine the final height
6035 value to return.
6036
6037 2004-05-21 Graydon Hoare <graydon@redhat.com>
6038
6039 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6040 (setClip): Minor correction to order of operations.
6041
6042 * javax/swing/JScrollPane.java: Extend sketchy implementation.
6043 * javax/swing/ScrollPaneLayout.java: Likewise.
6044 * javax/swing/JViewPort.java: Likewise.
6045 * javax/swing/ViewportLayout.java: Likewise.
6046
6047 * javax/swing/JComponent.java: Rewrite.
6048 * javax/swing/RepaintManager.java: Likewise.
6049
6050 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
6051 * javax/swing/JList.java
6052 (setSelectedIndices):
6053 (getSelectedIndices):
6054 (getSelectedValues): New functions.
6055 (getPreferredScrollableViewportSize): Return preferred size.
6056 (getScrollableUnitIncrement):
6057 (getScrollableBlockIncrement): Initial implementations.
6058 * javax/swing/JRootPane.java: Clean up slightly.
6059 (getUI):
6060 (setUI):
6061 (updateUI):
6062 (getUIClassID):
6063 (isValidateRoot): Add overrides from JComponent.
6064 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
6065 * javax/swing/UIManager.java (getDimension): Return the dimension.
6066
6067 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
6068 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
6069 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
6070 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
6071 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
6072 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
6073 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
6074 * javax/swing/plaf/basic/BasicRootPaneUI.java:
6075 Likewise, and set background.
6076 * javax/swing/plaf/basic/BasicListUI.java:
6077 Likewise, and improve a bit.
6078 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6079 Likewise, and adjust calculations.
6080 * javax/swing/plaf/basic/BasicViewportUI.java:
6081 Likewise, and improve a bit.
6082 * javax/swing/plaf/basic/BasicLookAndFeel.java
6083 (Button.margin): Shrink.
6084
6085 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
6086 Hack to set horizontal always, workaround pango.
6087
6088 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
6089 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
6090 Synchronize more often, check cairo status after ops,
6091 handle changes to cairo pattern API, check for disposal.
6092
6093 2004-05-21 Olga Rodimina <rodimina@redhat.com>
6094
6095 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6096 (BasicMenuItemUI): Create propertyChangeListener.
6097 (getPath):Implemented.
6098 (installListeners): Add propertyChangeListener to menuItem.
6099 (uninstallListeners): Remove propertyChangeListener from menuItem.
6100 (update): Implemented.
6101 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6102 (mouseEntered): Take insets of popup menu into account when
6103 calculating position of popup menu.
6104
6105 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6106
6107 * Makefile.am: Added new file.
6108 * Makefile.in: Regenerate.
6109 * javax/swing/JMenuBar.java:
6110 Started implementation.
6111 * javax/swing/JPopupMenu.java:
6112 (setVisible): Fixed location of lightweight/mediumweight
6113 popup menu.
6114 (show): Fixed location of PopupMenu.
6115 * javax/swing/plaf/basic/BasicMenuBarUI.java:
6116 New file. UI Delegate for JMenuBar.
6117 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
6118 (mouseEntered): Corrected position of the submenu.
6119
6120 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
6121
6122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
6123 to _gtk_accel_group_attach.
6124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
6125 Likewise.
6126
6127 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
6128 package access. Don't override setFont.
6129 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
6130 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
6131 gtkWidgetRequestFocus package access.
6132 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
6133 setFont.
6134 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
6135 Give gtkWidgetRequestFocus package access.
6136 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
6137 gtkWidgetRequestFocus package access. Don't override setFont.
6138 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
6139 setFont.
6140 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6141 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
6142 region.
6143 (gtkSetFont): Likewise.
6144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
6145 Implement.
6146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6147 (gtkSetFont): Whitespace fix.
6148
6149 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6150 (gtkWidgetSetUsize): Remove method.
6151
6152 2004-05-18 David Jee <djee@redhat.com>
6153
6154 * java/awt/image/MemoryImageSource.java
6155 (newPixels(int,int,int,int,boolean)): Set only the specified
6156 rectangle of pixels.
6157 (newPixels(byte[],ColorModel,int,int)): Implement.
6158 (newPixels(int[],ColorModel,int,int)): Implement.
6159
6160 2004-05-18 Olga Rodimina <rodimina@redhat.com>
6161
6162 * Makefile.am: Added new file.
6163 * Makefile.in: Regenerate.
6164 * javax/swing/JMenu.java: Started
6165 implementation.
6166 * javax/swing/JPopupMenu.java:
6167 (insert): If specified index is -1, then
6168 add component at the end.
6169 (isPopupTrigger): Reimplemented.
6170 (JPopupMenu.LightWeightPopup): setBounds
6171 of the lightWeightPopup before adding it
6172 to the layeredPane.
6173 (javax/swing/plaf/basic/BasicIconFactory.java):
6174 (getMenuArrowIcon): Implemented.
6175 * javax/swing/plaf/basic/BasicMenuItemUI.java:
6176 (getPreferredSize): Add size of the arrow icon
6177 if this menu item is instance of JMenu.
6178 (paintMenuItem): Paint arrow icon if this
6179 menu item is a submenu.
6180 * javax/swing/plaf/basic/BasicMenuUI.java:
6181 New File. UI Delegate for JMenu.
6182
6183 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
6184
6185 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
6186 Post KEY_TYPED events.
6187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6188 (generates_key_typed_event): Remove function.
6189
6190 2004-05-17 Olga Rodimina <rodimina@redhat.com>
6191
6192 * javax/swing/JRootPane.java
6193 (JRootPane.RootLayout): Reimplemented to
6194 set bounds of contentPane and menuBar.
6195 (setJMenuBar): Add menu bar to the layered pane.
6196 (createLayeredPane): Set layout of layeredPane
6197 to null.
6198 * javax/swing/JLayeredPane.java:
6199 (addImpl): Calculate index of the component in the
6200 layeredPane according to the specified position within
6201 the layer.
6202
6203 2004-05-17 David Jee <djee@redhat.com>
6204
6205 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6206 (setPixels): Change color model to the default model after
6207 converting pixels.
6208 * java/awt/image/MemoryImageSource.java
6209 (newPixels): Set only the specified rectangle of pixels.
6210
6211 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
6212
6213 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
6214 -l-java-beans -l-javax-accessibility -l-javax-swing.
6215
6216 * java/awt/AWTEvent.java (toString): Print source's name rather
6217 than the source itself.
6218
6219 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
6220
6221 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
6222 native.
6223 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
6224 (gdk_color_to_java_color): New function.
6225 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
6226
6227 2004-05-12 David Jee <djee@redhat.com>
6228
6229 * java/awt/image/RGBImageFilter.java:
6230 Initialize origmodel as null.
6231 (makeColor): Fix pixel component order.
6232 (filterRGBPixels): Fix pixel iteration.
6233 (setPixels): Add extra checks for index color model. Convert pixels
6234 to default color model if necessary.
6235 (convertColorModelToDefault): New override method for byte pixels.
6236 (convertColorModelToDefault): For int pixels, fix pixel iteration.
6237 (makeColorbyDefaultCM): New override method for byte pixels.
6238 (makeColorbyDefaultCM): For int pixel, add color model as argument.
6239 (makeColor): Fix pixel component order.
6240
6241 2004-05-11 Kim Ho <kho@redhat.com>
6242
6243 * javax/swing/Box.java:
6244 Comment out more parts of Box.Filler.
6245
6246 2004-05-11 Kim Ho <kho@redhat.com>
6247
6248 * javax/swing/Box.java:
6249 Remove reference to AccessibleAWTComponent so
6250 it compiles again.
6251
6252 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
6253
6254 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6255 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
6256 implementation of list peer to use GtkTreeView instead of
6257 deprecated GtkCList.
6258
6259 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
6260
6261 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6262 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
6263 (handleEvent): Remove keyChar argument to
6264 gtkWidgetDispatchKeyEvent calls.
6265 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
6266 compiler warnings.
6267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6268 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
6269 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
6270 Likewise.
6271
6272 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
6273
6274 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6275 (gtkWidgetRequestFocus): Mark protected.
6276 (GtkComponentPeer): Only set the peer's bounds if its component
6277 is valid.
6278 * java/awt/Component.java (static): Set the default keyboard
6279 focus manager.
6280 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
6281 requestFocusInWindow(temporary)): Don't request focus if the
6282 component is not showing. Get tree lock before traversing
6283 component hierarchy.
6284 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
6285 Only set the global focus owner if it is not a Window.
6286 (processKeyEvent): Consume keystrokes associated with the focus
6287 traversal keystroke.
6288 (focusPreviousComponent, focusNextComponent, upFocusCycle,
6289 downFocusCycle): Call requestFocusInWindow instead of
6290 requestFocus.
6291 * java/awt/EventDispatchThread.java (run): Move setting of
6292 default keyboard focus manager to Component.java.
6293 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6294 (awt_keycode_to_keysym): New function.
6295 (gtkWidgetDispatchKeyEvent): Finish implementation.
6296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6297 (pre_event_handler): Add FIXME comment.
6298
6299 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
6300 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
6301 (gtkWidgetRequestFocus): New method.
6302 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
6303 disable Tab and Shift-Tab keystrokes.
6304 (addNotify, appendText, insertText, replaceText): Simplify peer
6305 retrieval code.
6306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
6307 (connectSignals): Remove connections to "commit" signals.
6308 Remove C++-style comments.
6309
6310 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6311 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6312 (handleEvent): Activate GTK button when the space bar key is
6313 pressed.
6314 (gtkActivate): New method.
6315
6316 2004-05-06 David Jee <djee@redhat.com>
6317
6318 * java/awt/image/CropImageFilter.java
6319 (setPixels): Implement for byte array pixels.
6320 * java/awt/image/ReplicateScaleFilter.java
6321 (setPixels): Implement for byte array pixels.
6322 (replicatePixels): Overload for byte array pixels.
6323
6324 2004-05-06 Kim Ho <kho@redhat.com>
6325
6326 * javax/swing/Box.java:
6327 (getAccessibleContext): Return an instance of the
6328 correct class.
6329
6330 2004-05-05 David Jee <djee@redhat.com>
6331
6332 * gnu/java/awt/peer/gtk/GdkGraphics.java
6333 (drawImage): When component is null, use SystemColor.window as
6334 the default bgcolor.
6335 * gnu/java/awt/peer/gtk/GtkImage.java
6336 (setPixels): We can avoid iterating through the pixel rows only
6337 when height is 1.
6338 * java/awt/Image.java
6339 (getScaledInstance): Partially implement.
6340 * java/awt/image/CropImageFilter.java
6341 (setProperties): Fix "filter" property.
6342 (setPixels): Implement.
6343 * java/awt/image/ReplicateScaleFilter.java
6344 (setDimensions): Use scaled dimensions.
6345 (setPixels): Implement.
6346 (replicatePixels): New method.
6347
6348 2004-05-05 David Jee <djee@redhat.com>
6349
6350 * gnu/java/awt/peer/gtk/GtkImagePainter.java
6351 (convertPixels): If either pixels or model is null, return null.
6352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
6353 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
6354 is null, do nothing and return.
6355
6356 2004-05-03 Kim Ho <kho@redhat.com>
6357
6358 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
6359 (getGraphics): Like GtkFramePeer, the Graphics
6360 object needs to be translate to account for
6361 window decorations.
6362 (postMouseEvent): New method. Account for
6363 translation.
6364 (postExposeEvent): ditto.
6365 * javax/swing/Box.java: Stubbed.
6366 * javax/swing/JDialog.java: Ran through jalopy
6367 to fix indentation.
6368 (JDialog): Call SwingUtilities' getOwnerFrame
6369 for null owners.
6370 (setLayout): Check isRootPaneCheckingEnabled
6371 * javax/swing/JOptionPane.java: Re-implemented.
6372 * javax/swing/SwingUtilities.java:
6373 (getOwnerFrame): Static method to grab a default
6374 owner frame for Dialogs that don't specify owners.
6375 * javax/swing/event/SwingPropertyChangeSupport.java:
6376 (firePropertyChange): Fix early exit condition.
6377 * javax/swing/plaf/basic/BasicLabelUI.java:
6378 (paint): Avoid painting text if it is null
6379 or empty.
6380 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
6381 Implement.
6382
6383 2004-05-03 Olga Rodimina <rodimina@redhat.com>
6384
6385 * Makefile.am: Added new file.
6386 * Makefile.in: Regenerate.
6387 * javax/swing/JPopupMenu.java:
6388 Started implementation.
6389 * javax/swing/JWindow.java
6390 (JWindow): call super() if parent for window
6391 is not specified.
6392 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
6393 New File. UI Delegate for JPopupMenu.
6394
6395 2004-04-30 Olga Rodimina <rodimina@redhat.com>
6396
6397 * javax/swing/JApplet.java: Indicated that JApplet
6398 implements RootPaneContainer and made method of this
6399 interface public.
6400 * javax/swing/JFrame.java: Ditto.
6401 * javax/swing/JWindow.java: Ditto.
6402
6403 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
6404
6405 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6406 (nativeSetBounds): Call gdk_window_move in addition to
6407 gtk_window_move.
6408
6409 * java/applet/Applet.java (preferredSize): Call parent's
6410 preferredSize if the applet stub is null.
6411 (minimumSize): Likewise for parent's minimumSize.
6412
6413 2004-04-27 Olga Rodimina <rodimina@redhat.com>
6414
6415 * javax/swing/JMenuItem.java
6416 (createActionPropertyChangeListener): Implemented.
6417 (processMouseEvent): Ditto.
6418 (fireMenuDragMouseEntered): Ditto.
6419 (fireMenuDragMouseExited): Ditto.
6420 (fireMenuDragMouseDragged): Ditto.
6421 (fireMenuDragMouseReleased): Ditto.
6422 (menuSelectionChanged): Ditto.
6423 (getSubElements): Ditto.
6424 (getComponent): Ditto.
6425 (addMenuDragMouseListener): Ditto.
6426 (removeMenuDragMouseListener):Ditto.
6427 (addMenuKeyListener): Ditto.
6428 (removeMenuKeyListener): Ditto.
6429 * javax/swing/plaf/basic/BasicMenuItemUI.java
6430 (doClick): Imlemented.
6431 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
6432 Don't handle mouse events here. Pass them to
6433 MenuSelectionManager.
6434
6435 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6436 Used correct version of jalopy configuration
6437 file to fix style in the files below.
6438
6439 2004-04-26 Olga Rodimina <rodimina@redhat.com>
6440
6441 * javax/swing/JCheckBoxMenuItem.java:
6442 Fixed style and removed unnecessary comments.
6443 * javax/swing/JMenuItem.java: Ditto.
6444 * javax/swing/JRadioButtonMenuItem.java: Ditto.
6445 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
6446 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
6447 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
6448
6449 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
6450
6451 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
6452 C-style.
6453
6454 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
6455
6456 * java/awt/ContainerOrderFocusTraversalPolicy.java
6457 (getComponentAfter): Start from current component and work up
6458 the component hierarchy until an acceptable component is found.
6459 Synchronize on tree lock.
6460 (getComponentBefore): Likewise.
6461
6462 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
6463
6464 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
6465 focus-related debugging messages.
6466 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
6467 * java/awt/EventDispatchThread.java: Likewise.
6468 * java/awt/KeyboardFocusManager.java: Likewise.
6469 * java/awt/Window.java: Likewise.
6470 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
6471 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6472
6473 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
6474 new C++-style comments to C-style comments.
6475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
6476
6477 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6478 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6479 (handleEvent): Dispatch key press and key release events to
6480 backing widget.
6481 (requestFocus): Post a FOCUS_GAINED event to the event queue.
6482 (gtkWidgetRequestFocus): New method.
6483 (gtkWidgetDispatchKeyEvent): Likewise.
6484 * java/awt/Component.java (requestFocus, requestFocus(boolean),
6485 requestFocusInWindow, requestFocusInWindow(boolean),
6486 getFocusCycleRootAncestor, nextFocus, transferFocus,
6487 transferFocusBackward, transferFocusUpCycle, hasFocus,
6488 isFocusOwner): Implement and document focus-handling methods.
6489 (setFocusTraversalKeys): Inherit focus traversal keys when
6490 keystrokes argument is null. Fix focus-handling documentation
6491 throughout class.
6492 * java/awt/Container.java (setFocusTraversalKeys,
6493 getFocusTraversalKeys, areFocusTraversalKeysSet,
6494 isFocusCycleRoot, setFocusTraversalPolicy,
6495 getFocusTraversalPolicy, isFocusTraversalPolicySet,
6496 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
6497 Implement and document focus-handling methods.
6498 (transferFocusBackward): Remove method.
6499 (readObject, writeObject): Implement and document serialization
6500 methods.
6501 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
6502 and document.
6503 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
6504 document.
6505 * java/awt/DefaultKeyboardFocusManager.java: Implement and
6506 partially document.
6507 * java/awt/EventDispatchThread.java (run): Set default keyboard
6508 focus manager. Attempt to dispatch each event to the keyboard
6509 focus manager before normal dispatch.
6510 * java/awt/KeyboardFocusManager.java: Implement and partially
6511 document.
6512 * java/awt/Window.java (Window): Set focusCycleRoot to true.
6513 (show): Focus initial component when window is shown for the
6514 first time.
6515 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6516 (pre_event_handler): Replace complex key press and key release
6517 logic with simple callbacks into GtkComponentPeer.
6518 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
6519
6520 2004-04-21 Olga Rodimina <rodimina@redhat.com>
6521
6522 * javax/swing/MenuSelectionManager.java
6523 (componentForPoint): Added new method.
6524 (defaultManager): New Method. Implemented.
6525 (getSelectedPath): Ditto.
6526 (isComponentPartOfCurrentMenu): Ditto.
6527 (processKeyEvent): Added new method.
6528 (processMouseEvent): New Method. Implemented.
6529 (setSelectedPath): Ditto.
6530 (getPath): Ditto.
6531
6532 2004-04-19 Kim Ho <kho@redhat.com>
6533
6534 * java/awt/Container.java:
6535 (remove): Set the component's parent to null.
6536 (getComponentAt): Implement.
6537 * javax/swing/JComponent.java:
6538 (JComponent): Initialize defaultLocale
6539 (getDefaultLocale): Implement.
6540 (setDefaultLocale): ditto.
6541 * javax/swing/JSlider.java:
6542 (JSlider): Fix calculation of value.
6543 * javax/swing/JSplitPane.java: Implement.
6544 * javax/swing/plaf/basic/BasicLookAndFeel.java:
6545 Change SplitPane's default divider size.
6546 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6547 (paint): Remove unused code.
6548 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6549 Added comments and ran through jalopy.
6550 (setBasicSplitPaneUI): Get reference to hidden divider
6551 and set up one touch buttons if necessary.
6552 (setBorder): Fire propertyChangeEvent only if
6553 borders are different.
6554 (getPreferredSize): Defer to layout manager.
6555 (propertyChange): Implement.
6556 (oneTouchExpandableChanged): ditto.
6557 (createLeftOneTouchButton): Use BasicArrowButton.
6558 (createRightOneTouchButton): ditto.
6559 (moveDividerTo): New method. Moves the divider
6560 to a set location based on the last divider location.
6561 (BasicSplitPaneDivider::MouseHandler): Implement.
6562 (BasicSplitPaneDivider::OneTouchButton): Removed.
6563 (BasicSplitPaneDivider::DragController): Implement.
6564 (BasicSplitPaneDivider::VerticalDragController):
6565 ditto.
6566 (BasicSplitPaneDivider::DividerLayout): ditto.
6567 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
6568 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
6569 (calculateLayoutInfo): Don't show component if it's
6570 null.
6571 (paintTab): Fix title paint logic.
6572
6573 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
6574
6575 PR libgcj/8321
6576 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
6577 (setStartRule,setEndRule): Don't take abs of day number.
6578 (getOffset): Clarify docs. Add argument checks.
6579 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
6580 (equals,hasSameRules,toString,readObject): Use startTimeMode and
6581 endTimeMode.
6582 * testsuite/libjava.mauve/xfails
6583 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
6584
6585 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
6586
6587 Layout interfaces during preparation, not initialization.
6588 * java/lang/natClass.cc (initializeClass): Move
6589 _Jv_LayoutInterfaceMethods call...
6590 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
6591
6592 2004-05-19 Anthony Green <green@localhost.localdomain>
6593
6594 * Makefile.am (awt_java_source_files): Remove javax.rmi and
6595 gnu.javax.rmi code.
6596 * Makefile.in: Rebuilt.
6597 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
6598 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
6599 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
6600 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
6601 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
6602 gnu/javax/rmi/CORBA/DelegateFactory.java,
6603 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
6604 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
6605 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
6606 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
6607 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
6608 gnu/javax/rmi/PortableServer.java: Remove files.
6609
6610 2004-05-19 Anthony Green <green@redhat.com>
6611
6612 * Makefile.am: Define JAVA_EXT_DIRS.
6613 * Makefile.in: Rebuilt.
6614 * java/lang/natRuntime.cc (insertSystemProperties): Set
6615 java.ext.dirs property.
6616
6617 2004-05-16 Mark Wielaard <mark@klomp.org>
6618
6619 * java/io/Writer.java (Writer(Object)): Check for null lock object.
6620
6621 2004-05-15 Mark Wielaard <mark@klomp.org>
6622
6623 * doc/cni.sgml: Removed, merged into gcj.texi.
6624
6625 2004-05-15 Mark Wielaard <mark@klomp.org>
6626
6627 * Makefile.am (ordinary_java_source_files): Add new javax.print
6628 classes.
6629 * Makefile.in: Regenerated.
6630
6631 2004-05-15 Michael Koch <konqueror@gmx.de>
6632
6633 * javax/print/attribute/standard/DateTimeAtCompleted.java,
6634 javax/print/attribute/standard/DateTimeAtCreation.java,
6635 javax/print/attribute/standard/DateTimeAtProcessing.java,
6636 javax/print/attribute/standard/DocumentName.java,
6637 javax/print/attribute/standard/JobHoldUntil.java,
6638 javax/print/attribute/standard/JobImpressionsCompleted.java,
6639 javax/print/attribute/standard/JobMessageFromOperator.java,
6640 javax/print/attribute/standard/JobName.java,
6641 javax/print/attribute/standard/JobOriginatingUserName.java,
6642 javax/print/attribute/standard/JobPriority.java,
6643 javax/print/attribute/standard/JobPrioritySupported.java,
6644 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6645 javax/print/attribute/standard/OutputDeviceAssigned.java,
6646 javax/print/attribute/standard/PrinterInfo.java,
6647 javax/print/attribute/standard/PrinterLocation.java,
6648 javax/print/attribute/standard/PrinterMakeAndModel.java,
6649 javax/print/attribute/standard/PrinterMessageFromOperator.java,
6650 javax/print/attribute/standard/PrinterName.java,
6651 javax/print/attribute/standard/QueuedJobCount.java,
6652 javax/print/attribute/standard/RequestingUserName.java:
6653 Fixed javadocs all over.
6654
6655 2004-05-15 Michael Koch <konqueror@gmx.de>
6656
6657 * javax/print/DocFlavor.java,
6658 javax/print/attribute/standard/ColorSupported.java,
6659 javax/print/attribute/standard/Compression.java,
6660 javax/print/attribute/standard/CopiesSupported.java,
6661 javax/print/attribute/standard/Fidelity.java,
6662 javax/print/attribute/standard/Finishings.java,
6663 javax/print/attribute/standard/JobImpressionsSupported.java,
6664 javax/print/attribute/standard/JobKOctetsSupported.java,
6665 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6666 javax/print/attribute/standard/JobSheets.java,
6667 javax/print/attribute/standard/JobState.java,
6668 javax/print/attribute/standard/JobStateReason.java,
6669 javax/print/attribute/standard/JobStateReasons.java,
6670 javax/print/attribute/standard/Media.java,
6671 javax/print/attribute/standard/MediaSizeName.java,
6672 javax/print/attribute/standard/MultipleDocumentHandling.java,
6673 javax/print/attribute/standard/NumberUpSupported.java,
6674 javax/print/attribute/standard/OrientationRequested.java,
6675 javax/print/attribute/standard/PDLOverrideSupported.java,
6676 javax/print/attribute/standard/PageRanges.java,
6677 javax/print/attribute/standard/PresentationDirection.java,
6678 javax/print/attribute/standard/PrintQuality.java,
6679 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6680 javax/print/attribute/standard/PrinterMoreInfo.java,
6681 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6682 javax/print/attribute/standard/PrinterResolution.java,
6683 javax/print/attribute/standard/PrinterState.java,
6684 javax/print/attribute/standard/PrinterStateReason.java,
6685 javax/print/attribute/standard/PrinterStateReasons.java,
6686 javax/print/attribute/standard/PrinterURI.java,
6687 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6688 javax/print/attribute/standard/Severity.java,
6689 javax/print/attribute/standard/SheetCollate.java,
6690 javax/print/attribute/standard/Sides.java:
6691 Added serialVersionUID and removed final keyword where it doenst
6692 belong.
6693
6694 2004-05-15 Michael Koch <konqueror@gmx.de>
6695
6696 * javax/print/PrintServiceLookup.java: New file.
6697
6698 2004-05-15 Michael Koch <konqueror@gmx.de>
6699
6700 * javax/print/DocFlavor.java:
6701 Implemented all flavor classes.
6702
6703 2004-05-15 Michael Koch <konqueror@gmx.de>
6704
6705 * javax/print/attribute/standard/ColorSupported.java,
6706 javax/print/attribute/standard/Compression.java,
6707 javax/print/attribute/standard/CopiesSupported.java,
6708 javax/print/attribute/standard/Fidelity.java,
6709 javax/print/attribute/standard/Finishings.java,
6710 javax/print/attribute/standard/JobImpressionsSupported.java,
6711 javax/print/attribute/standard/JobKOctetsSupported.java,
6712 javax/print/attribute/standard/JobMediaSheetsSupported.java,
6713 javax/print/attribute/standard/JobSheets.java,
6714 javax/print/attribute/standard/JobState.java,
6715 javax/print/attribute/standard/JobStateReason.java,
6716 javax/print/attribute/standard/JobStateReasons.java,
6717 javax/print/attribute/standard/Media.java,
6718 javax/print/attribute/standard/MediaSizeName.java,
6719 javax/print/attribute/standard/MultipleDocumentHandling.java,
6720 javax/print/attribute/standard/NumberUpSupported.java,
6721 javax/print/attribute/standard/OrientationRequested.java,
6722 javax/print/attribute/standard/PDLOverrideSupported.java,
6723 javax/print/attribute/standard/PageRanges.java,
6724 javax/print/attribute/standard/PresentationDirection.java,
6725 javax/print/attribute/standard/PrintQuality.java,
6726 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
6727 javax/print/attribute/standard/PrinterMoreInfo.java,
6728 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
6729 javax/print/attribute/standard/PrinterResolution.java,
6730 javax/print/attribute/standard/PrinterState.java,
6731 javax/print/attribute/standard/PrinterStateReason.java,
6732 javax/print/attribute/standard/PrinterStateReasons.java,
6733 javax/print/attribute/standard/PrinterURI.java,
6734 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
6735 javax/print/attribute/standard/Severity.java,
6736 javax/print/attribute/standard/SheetCollate.java,
6737 javax/print/attribute/standard/Sides.java: New files.
6738
6739 2004-05-15 Michael Koch <konqueror@gmx.de>
6740
6741 * javax/print/Doc.java
6742 (getPrintData): Throws IOException.
6743 (getReaderForText): Likewise.
6744 (getStreamForBytes): Likewise.
6745 * javax/print/DocFlavor.java:
6746 Fixed filename in copyright.
6747 (serialVersionUID): New field.
6748 * javax/print/ServiceUIFactory.java:
6749 Made all constants final.
6750 * javax/print/AttributeException.java
6751 javax/print/MultiDoc.java
6752 javax/print/MultiDocPrintJob.java
6753 javax/print/MultiDocPrintService.java
6754 javax/print/StreamPrintService.java
6755 javax/print/URIException.java: New files.
6756 * javax/print/Makefile.am
6757 (EXTRA_DIST): Added all new files.
6758
6759 2004-05-15 Michael Koch <konqueror@gmx.de>
6760
6761 * javax/print/attribute/standard/Copies.java,
6762 javax/print/attribute/standard/DateTimeAtCompleted.java,
6763 javax/print/attribute/standard/DateTimeAtCreation.java,
6764 javax/print/attribute/standard/DateTimeAtProcessing.java,
6765 javax/print/attribute/standard/DocumentName.java,
6766 javax/print/attribute/standard/JobHoldUntil.java,
6767 javax/print/attribute/standard/JobImpressions.java,
6768 javax/print/attribute/standard/JobImpressionsCompleted.java,
6769 javax/print/attribute/standard/JobKOctets.java,
6770 javax/print/attribute/standard/JobKOctetsProcessed.java,
6771 javax/print/attribute/standard/JobMediaSheets.java,
6772 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
6773 javax/print/attribute/standard/JobMessageFromOperator.java,
6774 javax/print/attribute/standard/JobName.java,
6775 javax/print/attribute/standard/JobOriginatingUserName.java,
6776 javax/print/attribute/standard/JobPriority.java,
6777 javax/print/attribute/standard/JobPrioritySupported.java,
6778 javax/print/attribute/standard/NumberOfDocuments.java,
6779 javax/print/attribute/standard/NumberOfInterveningJobs.java,
6780 javax/print/attribute/standard/NumberUp.java,
6781 javax/print/attribute/standard/OutputDeviceAssigned.java,
6782 javax/print/attribute/standard/PagesPerMinute.java,
6783 javax/print/attribute/standard/PagesPerMinuteColor.java:
6784 Fixed @return tag all over.
6785
6786 2004-05-15 Michael Koch <konqueror@gmx.de>
6787
6788 * javax/print/attribute/AttributeSetUtilities.java
6789 (verifyCategoryForValue): Fixed typo in javadoc.
6790 * javax/print/attribute/HashAttributeSet.java
6791 (containsKey): Fixed @return tag.
6792 (comtainsValue): Likewise.
6793 (equals): Likewise.
6794 * javax/print/attribute/IntegerSyntax.java
6795 (equals): Likewise.
6796 * javax/print/attribute/ResolutionSyntax.java
6797 (equals): Likewise.
6798 (getCrossFeedResolution): Removed unused code.
6799 (getFeedResolution): Likewise.
6800 * javax/print/attribute/SetOfIntegerSyntax.java
6801 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
6802 (equals): Fixed @return tag.
6803 * javax/print/attribute/TextSyntax.java
6804 (TextSyntax): Take locale into account.
6805 (hashCode): Better implementation.
6806
6807 2004-05-15 Michael Koch <konqueror@gmx.de>
6808
6809 * javax/print/CancelablePrintJob.java,
6810 javax/print/Doc.java,
6811 javax/print/DocFlavor.java,
6812 javax/print/DocPrintJob.java,
6813 javax/print/FlavorException.java,
6814 javax/print/PrintException.java,
6815 javax/print/PrintService.java,
6816 javax/print/ServiceUIFactory.java: New files.
6817
6818 2004-05-15 Mark Wielaard <mark@klomp.org>
6819
6820 * gnu/regexp/CharIndexedReader.java: Removed.
6821 * gnu/regexp/REFilterReader.java: Likewise.
6822 * gnu/regexp/RETokenLookAhead.java: Likewise.
6823 * Makefile.am (ordinary_java_source_files): Remove above classes.
6824 * Makefile.in: Regenerated.
6825
6826 2004-05-14 Tom Tromey <tromey@redhat.com>
6827
6828 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
6829 not `XGraphicsConfiguration.XOffScreenImage'.
6830
6831 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
6832
6833 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
6834
6835 2004-05-14 Steven Augart <augart@watson.ibm.com>
6836
6837 * include/jni.h (_Jv_func): Removed.
6838 (struct JNINativeInterface): Use `void *' for reserved slots.
6839 (struct JNIInvokeInterface): Likewise.
6840
6841 2004-05-11 Michael Koch <konqueror@gmx.de>
6842
6843 * gnu/java/net/natPlainSocketImplPosix.cc
6844 (read): Fixed typo in expression.
6845
6846 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
6847
6848 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
6849 ld_library_additions. Adjust all calls to libjava_invoke to match
6850 the new argument.
6851
6852 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
6853 path to cxxflagslist.
6854 Pass path of libstdc++ to libjava_invoke.
6855
6856 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
6857 libjava_invoke arguments.
6858
6859 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
6860
6861 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
6862 reality.
6863
6864 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
6865
6866 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
6867 main binary against the JNI shared library.
6868
6869 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6870
6871 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
6872 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
6873 (SimpleTimeZone): Tweak docs. Add new variation.
6874 (setStartRule,setEndRule): Add new variations. Use
6875 startTimeMode and endTimeMode.
6876
6877 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
6878
6879 * java/util/Calendar.java (getActualMinimum,
6880 getActualMaximum): Remove abstract. Implement.
6881
6882 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6883
6884 Run the jni tests using the interpreter.
6885 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
6886 options_cxx to shared lib compile command.
6887 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
6888 they are used to link the shared lib, not the main binary.
6889 Use libjava_invoke to run gij.
6890
6891 2004-05-06 Michael Koch <konqueror@gmx.de>
6892
6893 * java/util/logging/Level.java
6894 (parse): Use == instead of String.equals().
6895
6896 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
6897
6898 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
6899 verify_field_signature and verify_method_signature, not
6900 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
6901 (_Jv_ClassReader::handleField): Likewise.
6902 (_Jv_ClassReader::handleMethod): Likewise.
6903
6904 2004-05-06 Michael Koch <konqueror@gmx.de>
6905
6906 * javax/swing/table/TableColumn.java:
6907 Reformated.
6908
6909 2004-05-06 Michael Koch <konqueror@gmx.de>
6910
6911 * javax/imageio/spi/ImageReaderWriterSpi.java
6912 (ImageReaderWriterSpi): Made it public.
6913 * javax/imageio/stream/ImageInputStream.java:
6914 Clean up imports.
6915
6916 2004-05-06 Michael Koch <konqueror@gmx.de>
6917
6918 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6919 Removed empty line.
6920
6921 2004-05-06 Michael Koch <konqueror@gmx.de>
6922
6923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
6924 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
6925 New files.
6926 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
6927 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
6928 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
6929 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
6930 their own source file.
6931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
6932 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
6933 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
6934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
6935 (create): Define variable on top of function.
6936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
6937 (menu_pos): Prototyped.
6938 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6939 (setTitle): Removed.
6940 * jni/gtk-peer/gthread-jni.c
6941 (gdk_threads_wake): Removed.
6942 * Makefile.am (gtk_c_source_files): Added new files
6943 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
6944 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
6945 * Makefile.in: Regenerated.
6946
6947 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
6948
6949 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
6950 call.
6951
6952 2004-05-05 Mark Wielaard <mark@klomp.org>
6953
6954 * javax/swing/AbstractButton.java: Replace special HTML entities with
6955 ASCII equivalent.
6956 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
6957 * javax/swing/DefaultButtonModel.java: Likewise.
6958 * javax/swing/DefaultListModel.java: Likewise.
6959 * javax/swing/JList.java: Likewise.
6960 * javax/swing/JSlider.java: Likewise.
6961 * javax/swing/ListModel.java: Likewise.
6962 * javax/swing/Popup.java: Likewise.
6963 * javax/swing/SwingUtilities.java: Likewise.
6964
6965 2004-05-05 Michael Koch <konqueror@gmx.de>
6966
6967 * javax/swing/AbstractButton.java,
6968 javax/swing/ActionMap.java,
6969 javax/swing/DefaultButtonModel.java,
6970 javax/swing/DefaultListModel.java,
6971 javax/swing/ImageIcon.java,
6972 javax/swing/JComboBox.java,
6973 javax/swing/JComponent.java,
6974 javax/swing/JFrame.java,
6975 javax/swing/JInternalFrame.java,
6976 javax/swing/JMenuBar.java,
6977 javax/swing/JMenuItem.java,
6978 javax/swing/JOptionPane.java,
6979 javax/swing/JProgressBar.java,
6980 javax/swing/JRootPane.java,
6981 javax/swing/JScrollBar.java,
6982 javax/swing/JScrollPane.java,
6983 javax/swing/JSeparator.java,
6984 javax/swing/JSlider.java,
6985 javax/swing/JTabbedPane.java,
6986 javax/swing/JTable.java,
6987 javax/swing/JTextField.java,
6988 javax/swing/JToolBar.java,
6989 javax/swing/JToolTip.java,
6990 javax/swing/JTree.java,
6991 javax/swing/JViewport.java,
6992 javax/swing/JWindow.java,
6993 javax/swing/KeyStroke.java,
6994 javax/swing/LookAndFeel.java,
6995 javax/swing/SwingUtilities.java,
6996 javax/swing/Timer.java,
6997 javax/swing/ToolTipManager.java,
6998 javax/swing/UIDefaults.java,
6999 javax/swing/border/TitledBorder.java,
7000 javax/swing/filechooser/FileSystemView.java,
7001 javax/swing/plaf/basic/BasicButtonListener.java,
7002 javax/swing/plaf/basic/BasicButtonUI.java,
7003 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
7004 javax/swing/plaf/basic/BasicGraphicsUtils.java,
7005 javax/swing/plaf/basic/BasicLabelUI.java,
7006 javax/swing/plaf/basic/BasicMenuItemUI.java,
7007 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
7008 javax/swing/plaf/basic/BasicRootPaneUI.java,
7009 javax/swing/plaf/basic/BasicScrollBarUI.java,
7010 javax/swing/plaf/basic/BasicScrollPaneUI.java,
7011 javax/swing/plaf/basic/BasicSliderUI.java,
7012 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
7013 javax/swing/plaf/basic/BasicToggleButtonUI.java,
7014 javax/swing/table/JTableHeader.java,
7015 javax/swing/text/AbstractDocument.java,
7016 javax/swing/text/DefaultCaret.java,
7017 javax/swing/text/StyledEditorKit.java,
7018 javax/swing/tree/DefaultTreeCellEditor.java:
7019 Cleaned up imports.
7020
7021 2004-05-05 Michael Koch <konqueror@gmx.de>
7022
7023 * java/util/prefs/AbstractPreferences.java
7024 (AbstractPreferences): Added parenthesis for clarity.
7025 Closes classpath bug #7940.
7026
7027 2004-05-05 Tom Tromey <tromey@redhat.com>
7028
7029 * javax/naming/CompoundName.java (endsWith): Look at correct
7030 element of source name.
7031
7032 2004-05-05 Mark Wielaard <mark@klomp.org>
7033
7034 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
7035 * java/util/HashMap.java (rehash): Add entry at start of bucket.
7036
7037 2004-05-05 Tom Tromey <tromey@redhat.com>
7038
7039 * java/io/BufferedReader.java (skip): Removed unused
7040 variable.
7041
7042 2004-05-05 Michael Koch <konqueror@gmx.de>
7043
7044 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
7045
7046 2004-05-05 Dalibor Topic <robilad@kaffe.org>
7047
7048 * java/text/AttributedString.java,
7049 java/text/AttributedStringIterator.java,
7050 java/text/Collator.java,
7051 java/text/DecimalFormatSymbols.java,
7052 java/text/NumberFormat.java,
7053 java/text/RuleBasedCollator.java:
7054 Cleaned up imports.
7055
7056 2004-05-05 Tom Tromey <tromey@redhat.com>
7057
7058 * java/text/Format.java: Cleaned up imports.
7059 * java/text/DecimalFormat.java: Cleaned up imports.
7060 * java/security/SecureRandom.java: Cleaned up imports.
7061 (SecureRandom): Removed unused variable.
7062 * java/security/UnresolvedPermission.java: Cleaned up imports.
7063 * java/util/Date.java (parse): Removed unused variable.
7064 * java/util/ResourceBundle.java: Cleaned up imports.
7065 (getBundle): Removed unused variable.
7066 (tryBundle): Likewise.
7067 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
7068
7069 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7070
7071 * java/text/SimpleDateFormat.java:
7072 (formatWithAttribute): New method. It implements
7073 the formatting process with attributes.
7074 (format): Use formatWithAttribute.
7075 (formatToCharacterIterator): New method. Use
7076 formatWithAttribute.
7077
7078 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7079
7080 * java/text/MessageFormat.java:
7081 (class Field): New class.
7082 (formatToCharacterIterator): New method.
7083 (format): Use formatInternal now.
7084 (formatInternal): New method. String formatter should
7085 be done here (with attributes). Attributes merging supported.
7086 (parse): More documentation.
7087 (getFormatsByArgumentIndex): New method.
7088 (setFormatByArgumentIndex): New method.
7089 (setFormatsByArgumentIndex): New method.
7090
7091 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7092
7093 * java/text/DecimalFormat.java
7094 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
7095 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
7096 (parse): Fixed handling of exponentiation notation and grouping.
7097
7098 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
7099
7100 * java/text/DecimalFormat.java
7101 (scanFix): Build attribute array. Fixed error reporting.
7102 (applyPatternWithSymbols): Store attributes for the prefix and
7103 suffix.
7104 (formatInternal): New method. Changed the way the string is
7105 computed. Implemented attributes. Cleant up rounding in
7106 exponential notation.
7107 (format): Use formatInternal.
7108 (formatToCharacterIterator): New method.
7109 (exponentRound, negativePrefixRanges, positivePrefixRanges,
7110 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
7111 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
7112 New fields.
7113
7114 2004-05-04 Dalibor Topic <robilad@kaffe.org>
7115
7116 * java/security/interfaces/DSAKeyPairGenerator.java,
7117 java/security/interfaces/DSAPrivateKey.java,
7118 java/security/interfaces/DSAPublicKey.java,
7119 java/security/interfaces/RSAPrivateKey.java,
7120 java/security/interfaces/RSAPublicKey.java:
7121 Cleaned up imports.
7122
7123 2004-05-04 Michael Koch <konqueror@gmx.de>
7124
7125 * java/nio/ByteBuffer.java,
7126 java/nio/CharBuffer.java,
7127 java/nio/DoubleBuffer.java,
7128 java/nio/FloatBuffer.java,
7129 java/nio/IntBuffer.java,
7130 java/nio/LongBuffer.java,
7131 java/nio/ShortBuffer.java:
7132 (compareTo): Fixed bogus implementation in all buffer classes.
7133
7134 2004-05-04 Ingo Proetel <proetel@aicas.com>
7135
7136 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
7137 32 bit pixels not 8 bit pixels.
7138 (isCompatibleRaster): Added javadoc comment.
7139
7140 2004-05-04 Ingo Proetel <proetel@aicas.com>
7141
7142 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
7143 scanline stride.
7144
7145 2004-05-04 Ingo Proetel <proetel@aicas.com>
7146
7147 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
7148 (getColorModel): Return the actual color model.
7149 (getRaster): Implemented.
7150 (ColorRaster): New inner class.
7151 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
7152 a PaintContext.
7153 * java/awt/Color.java (<init>): Make exception more verbose.
7154 (createContext): Use ColorModel when creating a PaintContext.
7155
7156 2004-05-04 Michael Koch <konqueror@gmx.de>
7157
7158 * gnu/java/text/CharacterBreakIterator.java
7159 (previous): Removed unused variable.
7160
7161 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
7162
7163 * gnu/java/text/FormatBuffer.java,
7164 gnu/java/text/AttributedFormatBuffer.java,
7165 gnu/java/text/StringFormatBuffer.java: New classes to implement
7166 attributed iterators in java.text.
7167 * gnu/java/text/FormatCharacterIterator.java: Moved
7168 from java/text as it is an internal class.
7169 * java/text/FormatCharacterIterator.java: Removed.
7170 * java/text/Format.java:
7171 Import gnu.java.text.FormatCharacterIterator.
7172 * Makefile.am (java_source_files): Added new files.
7173 * Makefile.in: Regenerated.
7174
7175
7176 2004-05-04 Mark Wielaard <mark@klomp.org>
7177
7178 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
7179
7180 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
7181
7182 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
7183 * Makefile.in: Rebuilt.
7184
7185 2004-05-03 Mark Wielaard <mark@klomp.org>
7186
7187 * gnu/java/security/der/DERReader.java: Call static methods staticly.
7188 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
7189 * java/net/URL.java
7190 (set(String, String, int, String, String, String, String, String)):
7191 Assign this.file to path or path + "?" + query.
7192 * java/util/Arrays.java: Call static methods staticly.
7193 * java/util/zip/ZipEntry.java: Likewise.
7194 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
7195 dir to this.direction.
7196 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
7197 Assign static field only once.
7198 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
7199
7200 2004-05-03 Mark Wielaard <mark@klomp.org>
7201
7202 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
7203 unused variables hScrollbarHeight and vScrollbarWidth.
7204 (preferredSize): Likewise.
7205 * gnu/java/security/provider/DSAParameters.java (engineToString):
7206 Removed unused call to System.getProperty("line.seperator");
7207 * java/security/Security.java (loadProviders): Return result.
7208
7209 2004-05-03 Tom Tromey <tromey@redhat.com>
7210
7211 * java/net/URLStreamHandler.java (toExternalForm): Removed
7212 unused variables.
7213 unused constructor.
7214 * java/math/BigDecimal.java (divide): Removed unused variable.
7215 * java/lang/Throwable.java: Cleaned up imports.
7216 * java/lang/ClassLoader.java: Cleaned up imports.
7217 * java/io/FilePermission.java (implies): Removed unused
7218 variable.
7219 * java/awt/TextComponent.java: Removed unused import.
7220 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
7221 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
7222 * gnu/java/text/WordBreakIterator.java: Removed unused import.
7223 * gnu/java/text/SentenceBreakIterator.java: Removed unused
7224 import.
7225 * gnu/java/text/LineBreakIterator.java: Removed unused import.
7226 * gnu/java/text/CharacterBreakIterator.java: Removed
7227 unused import.
7228 * gnu/java/security/provider/DSAKeyPairGenerator.java:
7229 Cleaned up imports.
7230 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
7231 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
7232 unused method.
7233 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
7234 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
7235 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
7236 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
7237 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
7238 (lookupProviders): Removed unused variable.
7239 (loadNextServiceProvider): Likewise.
7240 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
7241
7242 2004-05-03 Michael Koch <konqueror@gmx.de>
7243
7244 Fixes PR libgcj/14695:
7245 * java/net/NetworkInterface.java
7246 (getByName): Return null when no interface was found.
7247
7248 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
7249 Tom Tromey <tromey@redhat.com>
7250
7251 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
7252 additional option "-Wmissing-prototypes" for compiling C sources.
7253 Print actual filename for pass/fail rather than $name.c.
7254 * testsuite/libjava.jni/PR15133.java: New testcase file.
7255 * testsuite/libjava.jni/PR15133.c: Likewise.
7256 * testsuite/libjava.jni/PR15133.out: Likewise.
7257
7258 2004-04-30 Roger Sayle <roger@eyesopen.com>
7259
7260 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
7261 ceil and floor.
7262
7263 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
7264
7265 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
7266 limit the maximum heap size to avoid unnecessary thrashing.
7267
7268 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
7269
7270 * java/text/CollationElementIterator.java (reset): Reset
7271 lookahead variables.
7272
7273 2004-04-23 Mark Wielaard <mark@klomp.org>
7274
7275 * jni/classpath/jcl.c: Changed C++ comments into C comments.
7276
7277 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7278
7279 * java/sql/DriverManager.java:
7280 Cleaned up imports.
7281
7282 2004-04-23 Michael Koch <konqueror@gmx.de>
7283
7284 * java/net/URL.java
7285 (hashcode): Don't initialize with default value explicitely.
7286 (getContent): Removed redundant "final" keyword.
7287 (openStream): Likewise.
7288 (getURLStreamHandler): Fixed coding style.
7289 * java/net/URLConnection.java
7290 (defaultAllowUserInteraction): Don't initialize with default value
7291 explicitely.
7292 (connected): Likewise.
7293 (doOutput): Likewise.
7294 (ifModifiedSince): Likewise.
7295 (dateformats_initialized): Likewise.
7296 (setURLStreamHander): Use StreamTokenizer where it belongs to.
7297
7298 2004-04-23 Michael Koch <konqueror@gmx.de>
7299
7300 * gnu/java/nio/channels/FileChannelImpl.java
7301 (SET, CUR): Unused, removed.
7302 (read): Implement here directly.
7303 (implRead): Removed.
7304 (write): Implement here directly.
7305 (implWrite): Removed.
7306
7307 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7308
7309 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
7310 javax/rmi/CORBA/Stub.java,
7311 javax/rmi/CORBA/Util.java,
7312 javax/rmi/CORBA/ValueHandler.java,
7313 javax/rmi/CORBA/ValueHandler.java,
7314 javax/rmi/PortableRemoteObject.java:
7315 Cleaned up imports.
7316
7317 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7318
7319 * java/util/jar/JarFile.java,
7320 java/util/jar/JarInputStream.java,
7321 java/util/jar/JarOutputStream.java,
7322 java/util/jar/Manifest.java:
7323 Cleaned up imports.
7324
7325 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7326
7327 * java/util/ArrayList.java,
7328 java/util/Calendar.java,
7329 java/util/Currency.java,
7330 java/util/HashMap.java,
7331 java/util/HashSet.java,
7332 java/util/Hashtable.java,
7333 java/util/LinkedList.java,
7334 java/util/Properties.java,
7335 java/util/PropertyPermission.java,
7336 java/util/TimeZone.java,
7337 java/util/TreeMap.java,
7338 java/util/TreeSet.java,
7339 java/util/Vector.java,
7340 java/util/WeakHashMap.java:
7341 Cleaned up imports.
7342
7343 2004-04-23 Dalibor Topic <robilad@kaffe.org>
7344
7345 * java/util/logging/FileHandler.java,
7346 java/util/logging/Formatter.java,
7347 java/util/logging/Handler.java,
7348 java/util/logging/Logger.java,
7349 java/util/logging/SimpleFormatter.java,
7350 java/util/logging/XMLFormatter.java:
7351 Cleaned up imports.
7352
7353 2004-04-22 Mark Wielaard <mark@klomp.org>
7354
7355 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
7356 -Wno-long-long flags variable.
7357 (gtk_c_files): Use PEDANTIC_CFLAGS.
7358 * Makefile.in: Regenerated.
7359
7360 2004-04-22 Mark Wielaard <mark@klomp.org>
7361
7362 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7363 Changed C++ comments into C comments.
7364 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
7365 Likewise.
7366
7367 2004-04-22 Michael Koch <konqueror@gmx.de>
7368
7369 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
7370 Merged copyright year with GNU classpath.
7371
7372 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7373
7374 * javax/security/auth/x500/X500Principal.java:
7375 Cleaned up imports.
7376
7377 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7378
7379 * javax/swing/JSlider.java:
7380 Fixed HTML tags in comments.
7381
7382 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7383
7384 * javax/accessibility/AccessibleText.java:
7385 Cleaned up imports.
7386
7387 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
7388
7389 * java/net/URLStreamHandler.java
7390 (parseURL): Convert the file path to using '/' instead of native
7391 file separator.
7392
7393 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
7394
7395 * java/net/URL.java
7396 (userInfo): New field.
7397 (URL): Set authority to the right value.
7398 (setURL): Fixed authority and file initialization.
7399 * java/net/URLStreamHandler.java
7400 (parseURL): Take care of the query tag. Build authority.
7401 (toExternalForm): Fixed URL building using authority.
7402
7403 2004-04-22 Michael Koch <konqueror@gmx.de>
7404
7405 * java/net/Socket.java
7406 (impl): Made package-private.
7407 * java/net/ServerSocket.java
7408 (implAccept): Access Socket.impl field directly.
7409
7410 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7411
7412 * java/util/prefs/Preferences.java,
7413 java/util/prefs/InvalidPreferencesFormatException.java,
7414 java/util/prefs/BackingStoreException.java,
7415 java/util/prefs/AbstractPreferences.java:
7416 Cleaned up imports.
7417
7418 2004-04-22 Dalibor Topic <robilad@kaffe.org>
7419
7420 * java/util/regex/Matcher.java,
7421 java/util/regex/Pattern.java:
7422 Cleaned up imports.
7423
7424 2004-04-22 Michael Koch <konqueror@gmx.de>
7425
7426 * java/nio/charset/IllegalCharsetNameException.java
7427 (charsetName): Made private.
7428 (IllegalCharsetNameException): Added @param tag to javadoc.
7429 (getCharsetName): Added @return tag to javadoc.
7430 * java/nio/charset/MalformedInputException.java
7431 (MalformedInputException): Added @param tag to javadoc.
7432 (getInputLength): Revised method description, added @return tag.
7433 (getMessage): Added @return tag.
7434
7435 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
7436
7437 * java/awt/Font.java (deriveFont): Implement missing variants.
7438 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
7439 missing variants.
7440
7441 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
7442
7443 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
7444 Set method->index values for interface methods to their itable index.
7445 (initializeClass): Call _Jv_LayoutInterfaceMethods.
7446
7447 2004-04-21 Michael Koch <konqueror@gmx.de>
7448
7449 * java/nio/DirectByteBufferImpl.java
7450 (shiftDown): Made static, give address as argument and
7451 provide a convenience method that overwrites shiftDown in
7452 ByteBufferImpl and calls the native shiftDown.
7453 * java/nio/MappedByteBufferImpl.java
7454 (): Use optimized method in DirectByteBufferImpl.
7455 * java/nio/natDirectByteBufferImpl.cc
7456 (shiftDown): Changed method signature. Removed usage of array_offset.
7457
7458 2004-04-21 Michael Koch <konqueror@gmx.de>
7459
7460 * gnu/java/net/natPlainSocketImplPosix.cc
7461 (SocketInputStream::read): Make sure returned data is a byte value.
7462
7463 2004-04-21 Michael Koch <konqueror@gmx.de>
7464
7465 * gnu/classpath/ServiceFactory.java,
7466 gnu/classpath/ServiceProviderLoadingAction.java,
7467 javax/imageio/ImageReader.java,
7468 javax/imageio/ImageTranscoder.java,
7469 javax/imageio/ImageWriter.java,
7470 javax/imageio/package.html,
7471 javax/imageio/spi/IIOServiceProvider.java,
7472 javax/imageio/spi/ImageInputStreamSpi.java,
7473 javax/imageio/spi/ImageOutputStreamSpi.java,
7474 javax/imageio/spi/ImageReaderWriterSpi.java,
7475 javax/imageio/spi/ImageTranscoderSpi.java,
7476 javax/imageio/spi/RegisterableService.java,
7477 javax/imageio/spi/ServiceRegistry.java,
7478 javax/imageio/spi/package.html,
7479 javax/imageio/stream/IIOByteBuffer.java,
7480 javax/imageio/stream/ImageInputStream.java,
7481 javax/imageio/stream/ImageOutputStream.java,
7482 javax/imageio/stream/package.html:
7483 New files.
7484 * Makefile.am
7485 (ordinary_java_source_files): Added
7486 gnu/classpath/ServiceFactory.java and
7487 gnu/classpath/ServiceProviderLoadingAction.java.
7488 (javax_source_files): Added
7489 javax/imageio/ImageReader.java,
7490 javax/imageio/ImageTranscoder.java,
7491 javax/imageio/ImageWriter.java,
7492 javax/imageio/spi/IIOServiceProvider.java,
7493 javax/imageio/spi/ImageInputStreamSpi.java,
7494 javax/imageio/spi/ImageOutputStreamSpi.java,
7495 javax/imageio/spi/ImageReaderWriterSpi.java,
7496 javax/imageio/spi/ImageTranscoderSpi.java,
7497 javax/imageio/spi/RegisterableService.java,
7498 javax/imageio/spi/ServiceRegistry.java,
7499 javax/imageio/stream/IIOByteBuffer.java,
7500 javax/imageio/stream/ImageInputStream.java and
7501 javax/imageio/stream/ImageOutputStream.java.
7502 * Makefile.in: Regenerated.
7503
7504 2004-04-21 Michael Koch <konqueror@gmx.de>
7505
7506 * java/util/Properties.java
7507 (load): Fix wrongly merged fix.
7508
7509 2004-04-21 Mark Wielaard <mark@klomp.org>
7510
7511 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
7512 malloc and free buf.
7513
7514 2004-04-21 Dalibor Topic <robilad@kaffe.org>
7515
7516 * javax/naming/AuthenticationException.java,
7517 javax/naming/AuthenticationNotSupportedException.java,
7518 javax/naming/CannotProceedException.java,
7519 javax/naming/CommunicationException.java,
7520 javax/naming/CompoundName.java,
7521 javax/naming/ConfigurationException.java,
7522 javax/naming/ContextNotEmptyException.java,
7523 javax/naming/InitialContext.java,
7524 javax/naming/InsufficientResourcesException.java,
7525 javax/naming/InterruptedNamingException.java,
7526 javax/naming/LimitExceededException.java,
7527 javax/naming/LinkException.java,
7528 javax/naming/LinkLoopException.java,
7529 javax/naming/LinkRef.java,
7530 javax/naming/MalformedLinkException.java,
7531 javax/naming/Name.java,
7532 javax/naming/NameAlreadyBoundException.java,
7533 javax/naming/NameNotFoundException.java,
7534 javax/naming/NamingSecurityException.java,
7535 javax/naming/NoInitialContextException.java,
7536 javax/naming/NoPermissionException.java,
7537 javax/naming/NotContextException.java,
7538 javax/naming/PartialResultException.java,
7539 javax/naming/ReferralException.java,
7540 javax/naming/ServiceUnavailableException.java,
7541 javax/naming/SizeLimitExceededException.java,
7542 javax/naming/TimeLimitExceededException.java,
7543 javax/naming/directory/Attribute.java,
7544 javax/naming/directory/Attributes.java,
7545 javax/naming/directory/SearchResult.java,
7546 javax/naming/event/NamingExceptionEvent.java,
7547 javax/naming/spi/ResolveResult.java:
7548 Cleaned up imports.
7549
7550 2004-04-21 Mark Wielaard <mark@klomp.org>
7551
7552 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
7553 Changed C++ comments into C comments. Removed commented out code.
7554 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
7555 Likewise.
7556 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
7557 Likewise.
7558 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
7559 Likewise.
7560 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
7561 Likewise.
7562 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
7563 Likewise.
7564 * native/jni/gtk-peer/gthread-jni.c:
7565 Likewise.
7566
7567 2004-04-21 Mark Wielaard <mark@klomp.org>
7568
7569 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
7570 static fields defined in interface.
7571 * javax/awt/JDialog.java: Likewise.
7572 (JDialog): Make constructors public.
7573 (getDefaultCloseOperation): Make public.
7574 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
7575 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
7576 * javax/swing/JViewport.java (JViewport): Make constructor public.
7577
7578 2004-04-21 Michael Koch <konqueror@gmx.de>
7579
7580 * java/util/Map.java
7581 (Entry): Removed redundant "static" modifier.
7582 * java/text/AttributedCharacterIterator.java:
7583 Updated copyright year.
7584
7585 2004-04-20 Michael Koch <konqueror@gmx.de>
7586
7587 * javax/naming/directory/SearchControls.java:
7588 Don't explicitely extend java.lang.Object.
7589 * javax/naming/spi/DirStateFactory.java:
7590 Merged copyright year with GNU classpath.
7591
7592 2004-04-20 Michael Koch <konqueror@gmx.de>
7593
7594 * java/nio/channels/Channels.java:
7595 Merged coding style with GNU classpath.
7596
7597 2004-04-20 Michael Koch <konqueror@gmx.de>
7598
7599 * java/net/ServerSocket.java
7600 Merged coding style from GNU classpath.
7601
7602 2004-04-20 Michael Koch <konqueror@gmx.de>
7603
7604 * java/io/BufferedWriter.java:
7605 Reordered variables to be at top of the class.
7606 (localFlush): Removed redundant final keyword.
7607
7608 2004-04-20 Ingo Proetel <proetel@aicas.com>
7609
7610 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
7611
7612 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7613
7614 * java/text/DecimalFormat.java (scanFix): Removed suffix check
7615 for percent and permill check.
7616
7617 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7618
7619 * java/text/FieldPosition.java
7620 (FieldPosition) Constructor now behaves as it should according
7621 to the java documentation.
7622
7623 2004-04-20 Mark Wielaard <mark@klomp.org>
7624
7625 * java/util/Properties.java: Use the word umlaut, not &auml; in api
7626 documentation.
7627
7628 2004-04-20 Michael Koch <konqueror@gmx.de>
7629
7630 * java/nio/Buffer.java,
7631 java/nio/channels/AlreadyConnectedException.java,
7632 java/nio/channels/AsynchronousCloseException.java,
7633 java/nio/channels/ByteChannel.java,
7634 java/nio/channels/CancelledKeyException.java,
7635 java/nio/channels/Channel.java,
7636 java/nio/channels/Channels.java,
7637 java/nio/channels/ClosedByInterruptException.java,
7638 java/nio/channels/ClosedChannelException.java,
7639 java/nio/channels/ClosedSelectorException.java,
7640 java/nio/channels/ConnectionPendingException.java,
7641 java/nio/channels/DatagramChannel.java,
7642 java/nio/channels/FileChannel.java,
7643 java/nio/channels/FileLock.java,
7644 java/nio/channels/FileLockInterruptionException.java,
7645 java/nio/channels/GatheringByteChannel.java,
7646 java/nio/channels/IllegalBlockingModeException.java,
7647 java/nio/channels/IllegalSelectorException.java,
7648 java/nio/channels/InterruptibleChannel.java,
7649 java/nio/channels/NoConnectionPendingException.java,
7650 java/nio/channels/NonReadableChannelException.java,
7651 java/nio/channels/NonWritableChannelException.java,
7652 java/nio/channels/NotYetBoundException.java,
7653 java/nio/channels/NotYetConnectedException.java,
7654 java/nio/channels/OverlappingFileLockException.java,
7655 java/nio/channels/Pipe.java,
7656 java/nio/channels/ReadableByteChannel.java,
7657 java/nio/channels/ScatteringByteChannel.java,
7658 java/nio/channels/SelectableChannel.java,
7659 java/nio/channels/SelectionKey.java,
7660 java/nio/channels/Selector.java,
7661 java/nio/channels/ServerSocketChannel.java,
7662 java/nio/channels/SocketChannel.java,
7663 java/nio/channels/UnresolvedAddressException.java,
7664 java/nio/channels/UnsupportedAddressTypeException.java,
7665 java/nio/channels/WritableByteChannel.java,
7666 java/nio/channels/spi/AbstractInterruptibleChannel.java,
7667 java/nio/channels/spi/AbstractSelectableChannel.java,
7668 java/nio/channels/spi/AbstractSelectionKey.java,
7669 java/nio/channels/spi/AbstractSelector.java,
7670 java/nio/channels/spi/SelectorProvider.java,
7671 java/nio/charset/spi/CharsetProvider.java:
7672 Fixed javadocs and jalopied all over java.nio.
7673
7674 2004-04-20 Michael Koch <konqueror@gmx.de>
7675
7676 * java/nio/ByteBufferImpl.java,
7677 java/nio/CharBufferImpl.java,
7678 java/nio/DirectByteBufferImpl.java,
7679 java/nio/DoubleBufferImpl.java,
7680 java/nio/DoubleViewBufferImpl.java,
7681 java/nio/FloatBufferImpl.java,
7682 java/nio/FloatViewBufferImpl.java,
7683 java/nio/IntBufferImpl.java,
7684 java/nio/IntViewBufferImpl.java,
7685 java/nio/LongBufferImpl.java,
7686 java/nio/LongViewBufferImpl.java,
7687 java/nio/MappedByteBufferImpl.java,
7688 java/nio/ShortBufferImpl.java,
7689 java/nio/ShortViewBufferImpl.java:
7690 Made sure all classes are final and removed final keyword from all
7691 methods.
7692
7693 2004-04-20 Michael Koch <konqueror@gmx.de>
7694
7695 * java/rmi/MarshalledObject.java,
7696 java/rmi/Naming.java,
7697 java/rmi/RemoteException.java,
7698 java/rmi/activation/ActivationException.java,
7699 java/rmi/server/ServerCloneException.java,
7700 java/security/AccessController.java,
7701 java/security/AlgorithmParameterGenerator.java,
7702 java/security/AlgorithmParameters.java,
7703 java/security/CodeSource.java,
7704 java/security/Identity.java,
7705 java/security/IdentityScope.java,
7706 java/security/KeyPairGenerator.java,
7707 java/security/KeyStore.java,
7708 java/security/Security.java,
7709 java/security/Signature.java,
7710 java/security/SignatureSpi.java,
7711 java/security/SignedObject.java,
7712 java/security/spec/DSAParameterSpec.java,
7713 java/security/spec/DSAPrivateKeySpec.java,
7714 java/security/spec/DSAPublicKeySpec.java,
7715 java/sql/Array.java,
7716 java/sql/DatabaseMetaData.java,
7717 java/sql/ResultSet.java,
7718 java/text/ChoiceFormat.java,
7719 java/text/CollationElementIterator.java,
7720 java/text/CollationKey.java,
7721 java/text/Collator.java,
7722 java/text/DateFormat.java,
7723 java/text/DateFormatSymbols.java,
7724 java/text/DecimalFormatSymbols.java,
7725 java/text/Format.java,
7726 java/text/ParsePosition.java,
7727 java/text/RuleBasedCollator.java,
7728 java/text/SimpleDateFormat.java,
7729 java/text/StringCharacterIterator.java,
7730 java/util/Collections.java,
7731 java/util/PropertyResourceBundle.java,
7732 java/util/ResourceBundle.java,
7733 java/util/StringTokenizer.java,
7734 java/util/jar/Attributes.java,
7735 java/util/logging/ConsoleHandler.java,
7736 java/util/logging/LogManager.java,
7737 java/util/logging/MemoryHandler.java,
7738 java/util/logging/SocketHandler.java,
7739 javax/naming/NamingException.java:
7740 Fixed javadoc, coding style and argument names all over.
7741
7742 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
7743
7744 * java/io/FileDescriptor.java: (FileDescriptor) Added public
7745 constructor. (valid) Added null check.
7746
7747 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
7748
7749 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
7750 * java/io/FileOutputStream.java
7751 (FileOutputStream) Reorganized constructors. Constructors now
7752 check whether the given path is directory.
7753
7754 2004-04-20 Michael Koch <konqueror@gmx.de>
7755
7756 * java/net/Authenticator.java,
7757 java/net/BindException.java,
7758 java/net/ConnectException.java,
7759 java/net/ContentHandler.java,
7760 java/net/ContentHandlerFactory.java,
7761 java/net/DatagramPacket.java,
7762 java/net/DatagramSocket.java,
7763 java/net/DatagramSocketImpl.java,
7764 java/net/DatagramSocketImplFactory.java,
7765 java/net/FileNameMap.java,
7766 java/net/HttpURLConnection.java,
7767 java/net/Inet4Address.java,
7768 java/net/Inet6Address.java,
7769 java/net/InetAddress.java,
7770 java/net/InetSocketAddress.java,
7771 java/net/JarURLConnection.java,
7772 java/net/MalformedURLException.java,
7773 java/net/MulticastSocket.java,
7774 java/net/NetPermission.java,
7775 java/net/NetworkInterface.java,
7776 java/net/NoRouteToHostException.java,
7777 java/net/PasswordAuthentication.java,
7778 java/net/PortUnreachableException.java,
7779 java/net/ProtocolException.java,
7780 java/net/ServerSocket.java,
7781 java/net/Socket.java,
7782 java/net/SocketAddress.java,
7783 java/net/SocketException.java,
7784 java/net/SocketImpl.java,
7785 java/net/SocketImplFactory.java,
7786 java/net/SocketOptions.java,
7787 java/net/SocketPermission.java,
7788 java/net/SocketTimeoutException.java,
7789 java/net/URI.java,
7790 java/net/URISyntaxException.java,
7791 java/net/URL.java,
7792 java/net/URLClassLoader.java,
7793 java/net/URLConnection.java,
7794 java/net/URLDecoder.java,
7795 java/net/URLEncoder.java,
7796 java/net/URLStreamHandler.java,
7797 java/net/URLStreamHandlerFactory.java,
7798 java/net/UnknownHostException.java,
7799 java/net/UnknownServiceException.java:
7800 Fixed javadocs, coding style and argument names all over.
7801
7802 2004-04-20 Michael Koch <konqueror@gmx.de>
7803
7804 * java/lang/Byte.java,
7805 java/lang/CharSequence.java,
7806 java/lang/ClassLoader.java,
7807 java/lang/Compiler.java,
7808 java/lang/Double.java,
7809 java/lang/Float.java,
7810 java/lang/Integer.java,
7811 java/lang/Long.java,
7812 java/lang/Math.java,
7813 java/lang/Number.java,
7814 java/lang/Package.java,
7815 java/lang/Runtime.java,
7816 java/lang/RuntimePermission.java,
7817 java/lang/SecurityManager.java,
7818 java/lang/Short.java,
7819 java/lang/StringBuffer.java,
7820 java/lang/System.java,
7821 java/lang/ThreadGroup.java,
7822 java/lang/Throwable.java,
7823 java/lang/reflect/InvocationHandler.java,
7824 java/lang/reflect/Proxy.java:
7825 Fixed javadocs, coding style and argument names all over.
7826
7827 2004-04-20 Michael Koch <konqueror@gmx.de>
7828
7829 * java/io/BufferedWriter.java,
7830 java/io/ByteArrayInputStream.java,
7831 java/io/CharArrayWriter.java,
7832 java/io/DataInput.java,
7833 java/io/DataInputStream.java,
7834 java/io/File.java,
7835 java/io/FilterInputStream.java,
7836 java/io/InputStream.java,
7837 java/io/InputStreamReader.java,
7838 java/io/ObjectInputStream.java,
7839 java/io/ObjectStreamClass.java,
7840 java/io/PipedInputStream.java,
7841 java/io/PipedReader.java,
7842 java/io/PushbackInputStream.java,
7843 java/io/PushbackReader.java,
7844 java/io/RandomAccessFile.java,
7845 java/io/SerializablePermission.java,
7846 java/io/StreamTokenizer.java,
7847 java/io/StringWriter.java,
7848 java/io/WriteAbortedException.java,
7849 java/io/Writer.java:
7850 Fixed javadocs all over, rename arguments to match javadocs,
7851 fixed coding style.
7852
7853 2004-04-20 Ingo Proetel <proetel@aicas.com>
7854
7855 * java/awt/FontMetrics.java:
7856 (charsWidth): fixed accumulation of total_width
7857 (getWidth): simple default implementation
7858 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
7859 in Rectangle constructor.
7860 * java/awt/image/Raster.java (toString): Added method.
7861 * java/awt/image/SampleModel.java (<init>): Added error cause
7862 information to thrown exception.
7863 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
7864 New method.
7865 (setDataElements): New method.
7866 (setPixels): New method.
7867 (toString): New method.
7868
7869 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7870
7871 * java/awt/image/ComponentColorModel.java
7872 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
7873 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
7874 Mauve tests on this method. Improved documentation.
7875
7876 2004-04-20 Michael Koch <konqueror@gmx.de>
7877
7878 * javax/swing/JLayeredPane.java,
7879 javax/swing/plaf/BorderUIResource.java,
7880 javax/swing/plaf/ComponentUI.java,
7881 javax/swing/undo/CompoundEdit.java,
7882 javax/swing/undo/StateEdit.java:
7883 Fixed HTML tags in javadocs all over.
7884
7885 2004-04-20 Michael Koch <konqueror@gmx.de>
7886
7887 * javax/print/attribute/EnumSyntax.java
7888 (getOffset): Made protected.
7889 * javax/print/attribute/HashAttributeSet.java
7890 (HashAttributeSet): Likewise.
7891 * javax/print/attribute/ResolutionSyntax.java
7892 (getFeedResolution): Fixed typo in exception name.
7893 (getCrossFeedResolution): Likewise.
7894 * javax/print/attribute/SetOfIntegerSyntax.java
7895 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
7896 * javax/print/attribute/TextSyntax.java
7897 (TextSyntax): Handle locale correctly.
7898 (hashCode): Calc better hashcode value.
7899 (equals): Fixed @return tag.
7900 (toString): New method.
7901
7902 2004-04-20 Michael Koch <konqueror@gmx.de>
7903
7904 * gnu/java/nio/FileLockImpl.java
7905 (static): Removed, not needed anymore.
7906 * gnu/java/nio/channels/FileChannelImpl.java
7907 (FileChannelImpl): Made final.
7908 (mode): Made private.
7909 (READ, WRITE, APPEND): Made public.
7910 (EXCL, SYNC, DSYNC): Likewise.
7911 (static): Load native JNI library, when needed.
7912 (length): Unused, removed.
7913 (available): Made public.
7914 (implPosition): Throws IOException.
7915 (seek): Likewise.
7916 (implTruncate): Likewise.
7917 (unlock): Likewise.
7918 (lock): Likewise.
7919
7920 2004-04-20 Michael Koch <konqueror@gmx.de>
7921
7922 * java/awt/AWTPermission.java,
7923 java/awt/Component.java,
7924 java/awt/ComponentOrientation.java,,
7925 java/awt/Dialog.java,
7926 java/awt/FontMetrics.java,
7927 java/awt/Graphics.java,
7928 java/awt/datatransfer/DataFlavor.java,
7929 java/beans/Introspector.java,
7930 java/beans/PropertyEditor.java,
7931 java/beans/PropertyEditorManager.java,
7932 java/beans/beancontext/BeanContextServiceProvider.java:
7933 Fixed HTML tags in javadocs all over.
7934
7935 2004-04-20 Mark Wielaard <mark@klomp.org>
7936
7937 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
7938 MissingResourceException is thrown.
7939 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
7940 null when a MissingResourceException is thrown. Should never happen.
7941
7942 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
7943
7944 * java/awt/image/DataBufferShort.java,
7945 java/awt/image/DataBufferFloat.java,
7946 java/awt/image/DataBufferDouble.java,
7947 java/awt/image/PixelInterleavedSampleModel.java: New files.
7948 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
7949 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
7950
7951 2004-04-20 Michael Koch <konqueror@gmx.de>
7952
7953 * Makefile.am (java_source_files): Added
7954 java/awt/image/DataBufferDouble.java,
7955 java/awt/image/DataBufferFloat.java,
7956 java/awt/image/DataBufferShort.java and
7957 java/awt/image/PixelInterleavedSampleModel.java.
7958 * Makefile.in: Regenerated.
7959
7960 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
7961
7962 * gcj/cni.h (JvAllocObject): Remove these obsolete,
7963 undocumented CNI calls.
7964 * include/java-interp.h (_Jv_InterpClass): No longer
7965 extends java.lang.Class.
7966 * java/lang/Class.h (Class): Add new field `aux_info'.
7967 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
7968 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
7969 Use Class->aux_info instead.
7970 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
7971 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
7972 Use Class->aux_info instead.
7973 * java/io/natObjectInputStream.cc (allocateObject): Use
7974 _Jv_AllocObject.
7975 * java/lang/natClass.cc (newInstance): Likewise.
7976 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
7977 * java/lang/natObject.cc (clone): Likewise.
7978 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
7979 * java/lang/natVMClassLoader.cc (defineClass): Don't use
7980 JvAllocObject. Allocate klass->aux_info here for interpreted
7981 class.
7982
7983 2004-04-17 Mark Wielaard <mark@klomp.org>
7984
7985 * javax/swing/JToggleButton.java (ToggleButtonModel):
7986 Make public static inner class.
7987 * javax/swing/JTabbedPane.java (setComponentAt):
7988 Call Page.setComponent().
7989 (SCROLL_TAB_LAYOUT): Make public, value is 1.
7990 (WRAP_TAB_LAYOUT): Make public, value is 0.
7991 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
7992 Make private static inner class.
7993
7994 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
7995
7996 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
7997 arguments to match new signature. Remove FIXME comments.
7998
7999 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
8000
8001 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
8002 Remove method.
8003 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
8004 unused code.
8005
8006 2004-04-02 Olga Rodimina <rodimina@redhat.com>
8007
8008 * Makefile.am: Added new file.
8009 * Makefile.in: Regenerate.
8010 * javax/swing/ImageIcon.java:
8011 (ImageIcon(file)): set description of the icon
8012 to the file name
8013 * javax/swing/JCheckBoxMenuItem.java:
8014 Mostly Implemented. Work in progress.
8015 * javax/swing/JRadioButtonMenuItem.java:
8016 Reimplement constructors to use JToggleButtonModel.
8017 * javax/swing/plaf/basic/BasicIconFactory.java:
8018 (getCheckBoxMenuItemIcon): return check box
8019 icon.
8020 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8021 paint menu item selected only when it is armed and
8022 pressed.
8023
8024 2004-04-02 David Jee <djee@redhat.com>
8025
8026 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8027 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
8028 * java/awt/Component.java
8029 (add): Set the parent of the popup as this component.
8030 * java/awt/PopupMenu.java
8031 (addNotify): Create popup menu when peer is null.
8032 (show): Call addNotify() if peer is null.
8033 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
8034 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
8035 argument for gtk_menu_popup() as zero. This causes the popup menu to
8036 respond to any mouse button.
8037
8038 2004-03-31 Olga Rodimina <rodimina@redhat.com>
8039
8040 * Makefile.am: Added new file.
8041 * Makefile.in: Regenerate.
8042 * javax/swing/JRadioButtonMenuItem.java:
8043 Implemented.
8044 * javax/swing/plaf/basic/BasicIconFactory.java:
8045 (getRadioButtonMenuItemIcon): Return
8046 radio button icon.
8047 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8048 (getPreferredSize): Add size of checkIcon if it
8049 exists.
8050 (installDefaults): Don't initialize checkIcon.
8051 It's value will be set in subclasses.
8052 (uninstallDefaults): remove uninstallation of
8053 checkIcon.
8054 (paint): Moved code to paintMenuItem().
8055 (paintMenuItem): Implemented.
8056 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
8057 UI delegate for JRadioButtonMenuItem.
8058
8059 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8060
8061 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8062 Corrected position of the accelerator.
8063
8064 2004-03-29 Olga Rodimina <rodimina@redhat.com>
8065
8066 * Makefile.am: Added new file.
8067 * Makefile.in: Regenerate.
8068 * javax/swing/JMenuItem.java: Partly
8069 implemented. Work in progress
8070 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8071 Changed default value of acceleratorDelimiter.
8072 * javax/swing/plaf/basic/BasicMenuItemUI.java:
8073 New class. Partly implemented.
8074
8075 2004-03-26 Mark Wielaard <mark@klomp.org>
8076
8077 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
8078 (item_activate): Declare label before use.
8079 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8080 (gtkSetFont): Removed unused variable label.
8081 (addExposeFilter): Declare variables before use.
8082 (removeExposeFilter): Likewise.
8083 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
8084 (ok_clicked): Declare str_fileName before use.
8085
8086 2004-03-26 David Jee <djee@redhat.com>
8087
8088 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
8089 (addSeparator): Remove.
8090 * java/awt/Menu.java
8091 (separator): Remove static final MenuItem field.
8092 (separatorLabel): New static final String field.
8093 (addSeparator): Do not use peer method; use add(MenuItem) instead.
8094 Use separatorLabel to denote that it is a separator.
8095 (insertSeparator): Create a new MenuItem with separatorLabel, instead
8096 of reusing the static separator instance, because a MenuItem instance
8097 can't be added more than once without being cloned.
8098 * java/awt/peer/MenuPeer.java
8099 (addSeparator): Remove from interface.
8100
8101 2004-03-26 David Jee <djee@redhat.com>
8102
8103 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
8104 (connectSignals): New native method declaration.
8105 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
8106 * java/awt/MenuItem.java
8107 (getActionCommand): Return the label if the action command is not set.
8108 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
8109 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
8110 gtk_menu_shell_append().
8111 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
8112 (item_activate): Fix argument type.
8113 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
8114 signal here.
8115 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
8116 method.
8117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
8118 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
8119 given. Add the menu widget's top-level GtkWindow to the global window
8120 group, so it can grab the pointer.
8121 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
8122 gtk_menu_shell_append().
8123
8124 2004-03-23 Graydon Hoare <graydon@redhat.com>
8125
8126 * java/text/AttributedString.java
8127 (addAttribute): Fix off-by-one.
8128 (getIterator): Likewise.
8129 * java/text/AttributedStringIterator.java
8130 (getRunLimit): Correct logic.
8131 (getRunStart): Likewise.
8132 (getAttribute): Fix inequality.
8133 (getAttributes): Likewise.
8134 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
8135
8136 2004-03-23 Kim Ho <kho@redhat.com>
8137
8138 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8139 (calculateSizes): Return real width and height.
8140
8141 2004-03-23 Kim Ho <kho@redhat.com>
8142
8143 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
8144 (calculateTabRects): Set the selectedRun before
8145 trying to rotate tabs.
8146
8147 2004-03-23 Kim Ho <kho@redhat.com>
8148
8149 * Makefile.am: New file
8150 * Makefile.in: Regenerate
8151 * java/awt/Graphics.java: (drawRect):
8152 Draw to the correct point.
8153 * javax/swing/DefaultSingleSelectionModel.java
8154 (isSelected): Return true if the selected index
8155 is not -1.
8156 * javax/swing/JLabel.java: Do not change mnemonic
8157 index if text is null.
8158 * javax/swing/JProgressBar.java: Use JComponent's
8159 EventListenerList.
8160 * javax/swing/JScrollBar.java: Ditto.
8161 * javax/swing/JSlider.java: Ditto.
8162 * javax/swing/JTabbedPane.java: Reimplement.
8163 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8164 Add defaults for TabbedPane.
8165 * javax/swing/plaf/basic/BasicArrowButton.java:
8166 Implement
8167 * javax/swing/plaf/basic/BasicProgressBarUI.java:
8168 (paintDeterminate): Don't paint String if it's
8169 empty.
8170 (paintIndeterminate): ditto.
8171 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
8172 Reimplement.
8173
8174 2004-03-19 Michael Koch <konqueror@gmx.de>
8175
8176 * java/awt/image/AffineTransformOp.java
8177 (AffineTransformOp): Made public.
8178 * javax/swing/JComponent.java
8179 (listenerList): Made protected.
8180 (accessibleContext): Likewise.
8181 * javax/swing/JList.java
8182 (valueChanged): Dont use internal fields of ListSelectionEvent.
8183 * javax/swing/JViewport.java
8184 (getView): Dont use internal fields of Component.
8185 (addImpl): Likewise.
8186 * javax/swing/Timer.java
8187 (isRunning): Made public.
8188 (start): Likewise.
8189 (stop): Likewise.
8190 * javax/swing/UIDefaults.java
8191 (getInt): Made public.
8192 * javax/swing/plaf/basic/BasicListUI.java
8193 (mousePressed): Dont use internal fields of MouseEvent.
8194 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8195 * javax/swing/plaf/basic/BasicScrollBarUI.java
8196 (arrowIcon): Made static.
8197 * javax/swing/plaf/basic/BasicViewportUI.java
8198 (stateChanged): Dont use internal field on ChangeEvent.
8199 * javax/swing/text/JTextComponent.java
8200 (getUI): Call UIManager.getUI().
8201 (updateUI): Use getUI().
8202
8203 2004-03-19 Graydon Hoare <graydon@redhat.com>
8204
8205 * javax/swing/JComponent.java: Turn off double buffer by default.
8206 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
8207 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8208 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
8209 Use cairo to copy areas.
8210 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
8211 Initialize and set clip region.
8212
8213 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
8214
8215 * java/applet/Applet.java (preferredSize): Override deprecated
8216 variant of getPreferredSize.
8217 (minimumSize): Override deprecated variant of getMinimumSize.
8218
8219 2004-03-15 Olga Rodimina <rodimina@redhat.com>
8220
8221 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8222 (drawImage(img,xform,bgcolor,obs)): New Method.
8223 Helper function that every drawImage method will
8224 use.
8225 (drawRaster): Added new parameter, bgcolor. All
8226 transparent pixels are changed to bgcolor before
8227 image is drawn.
8228 (drawRenderedImage): Fixed to use changed drawRaster().
8229 (drawImage(image,xform,obs): Fixed to use new helper function
8230 (drawImage(image,op,x,y)): Ditto.
8231 (drawImage (img,x,y,observer)): Ditto.
8232 ((PainterThread) bgcolor): New Field.
8233 ((PainterThread) (setPixels)): Changed all transparent pixels
8234 to bgcolor.
8235 (drawImage(img,x,y,width,height,bgcolor,observer)):
8236 Fixed FIXME - all the transparent pixels are
8237 changed to the specified bgcolor.
8238 (drawImage(img, x, y, width, height, observer): Changed to
8239 use function above.
8240 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
8241 Fixed FIXME- changed all transparent pixels to bgcolor.
8242 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
8243 Changed to use function above.
8244
8245 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
8246
8247 * java/applet/Applet.java (dimensions): New field.
8248 (getDimensions): New method.
8249 (getPreferredSize): Call getDimensions.
8250 (getMinimumSize): Likewise.
8251
8252 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
8253
8254 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
8255 * jni/classpath/jnilink.c: Likewise.
8256
8257 * java/applet/Applet.java (getPreferredSize): New method.
8258 (getMinimumSize): New method.
8259
8260 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
8261
8262 * prims.cc (_Jv_AllocObject): Remove `size' argument.
8263 (_Jv_AllocObjectNoFinalizer): Likewise.
8264 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8265 (_Jv_AllocPtrFreeObject): Likewise.
8266 (_Jv_AllocString): Moved from natString.cc. Call collector interface
8267 directly even in the JVMPI case.
8268 * gcj/cni.h (JvAllocObject): Remove `size' argument from
8269 _Jv_AllocObject calls.
8270 * gcj/javaprims.h: Update prototypes.
8271 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
8272 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
8273 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
8274
8275 2004-04-14 Andrew Haley <aph@redhat.com>
8276 Bryce McKinlay <mckinlay@redhat.com>
8277
8278 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8279 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
8280 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
8281
8282 * testsuite/libjava.lang/InvokeInterface.java: New file.
8283 * testsuite/libjava.lang/InvokeInterface.out: New file.
8284
8285 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
8286
8287 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
8288 modified lookup().
8289 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
8290 StackTraceElement directly.
8291 (newElement): New native helper method to create StackTraceElement
8292 bypassing Java access control.
8293 (createStackTraceElement): Use newElement() instead of directly
8294 calling StackTraceElement's constructor.
8295 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
8296
8297 2004-04-01 Michael Koch <konqueror@gmx.de>
8298
8299 * java/lang/SecurityManager.java
8300 (checkAwtEventQueueAccess): Implemented.
8301
8302 2004-04-01 Gary Benson <gbenson@redhat.com>
8303
8304 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
8305 (_Jv_SearchMethodInClass): Likewise.
8306
8307 2004-03-26 Peter Moon <peterm@miraculum.com>
8308
8309 * java/text/NumberFormat.java: Fix spelling of setCurrency
8310 method.
8311
8312 2004-03-21 Anthony Green <green@redhat.com>
8313
8314 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
8315 recursion when searching for the system ClassLoader.
8316
8317 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
8318
8319 * java/net/ServerSocket.java
8320 (accept): Close the socket when error occured.
8321
8322 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
8323
8324 * java/net/URI.java (parseURI): Added unquoting.
8325 (unquote): New method.
8326 (quoteAuthority): Implemented.
8327 (quote(String,String)): New method.
8328 (quotePath): Implemented.
8329 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
8330 (getSchemeSpecificPart): Removed FIXME comment.
8331 (getRawAuthority): Return new rawAuthority field.
8332 (getAuthority): Removed FIXME comment.
8333 (getRawUserInfo): Return new rawUserInfo field.
8334 (getUserInfo): Removed FIXME comment.
8335 (getRawPath): Return new rawPath field.
8336 (getPath): Removed FIXME comment.
8337 (getRawQuery): Return new rawQuery field.
8338 (getQuery): Removed FIXME comment.
8339 (getRawFragment): Return new rawFragment field.
8340 (getFragment): Removed FIXME comment.
8341
8342 2004-03-20 Michael Koch <konqueror@gmx.de>
8343
8344 * java/net/URLConnection.java: Merged copyright year with classpath.
8345
8346 2004-03-20 Norbert Frese <postfach@nfrese.net>
8347
8348 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
8349 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
8350 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
8351 rmi-message.
8352 (getObjectInputStream): Return object reference, throw IOException if null.
8353 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
8354 (getObjectOutputStream): Return object reference, throw IOException if null.
8355 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
8356 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
8357 (UnicastConnectionManager): Throw RemoteException if port is not available.
8358 (getInstance): Throw RemoteException.
8359 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
8360 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
8361 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8362 Collect Exceptions which are returned by a rmi-call and fix void returns.
8363 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
8364 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
8365 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
8366 (dispatch): Answer ping messages which are sent by other java implementions.
8367 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
8368 for every rmi-message and fix void return problems.
8369 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
8370 (UnicastServerRef): Throw RemoteException.
8371 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
8372 In some situations it is necessary to export a subclass of the class which has the _Stub.
8373 For instance when the class with has the _Stub is abstract.
8374 (findStubSkelClass): New method which looks for the class which has the _Stub.
8375 (getClientHost): Implementated.
8376 * gcc/libjava/java/rmi/server/RemoteServer.java
8377 (getClientHost): Implementated.
8378 * gcc/libjava/Makefile.am (rmi_java_source_files):
8379 Added gnu/java/rmi/server/RMIIncomingThread.java.
8380 * Makefile.in: Regenerated.
8381
8382 2004-03-20 Michael Koch <konqueror@gmx.de>
8383
8384 * java/net/InetAddress.java
8385 (getLocalHostname): Added javadoc.
8386
8387 2004-03-19 Per Bothner <per@bothner.com>
8388
8389 * configure.in: FILE variable overrides FLATFORM when linking
8390 natFileChannelXXX.cc.
8391
8392 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
8393 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
8394
8395 2004-03-19 Per Bothner <per@bothner.com>
8396
8397 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
8398 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
8399 * Makefile.am: Update accordingly.
8400 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
8401 as aliases for UnicodeLittle and UnicodeBig.
8402
8403 2004-03-20 Mark Wielaard <mark@klomp.org>
8404
8405 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
8406 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
8407 Don't access ws when it is null.
8408 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
8409 Likewise.
8410
8411 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
8412
8413 * java/lang/ThreadGroup.java (list): Changed print to println.
8414
8415 2004-03-19 Mark Wielaard <mark@klomp.org>
8416
8417 * java/io/BufferedReader.java: Use &lt;=, not &lt;&eq; to make gjdoc
8418 happy.
8419
8420 2004-02-10 Randolph Chung <tausq@debian.org>
8421
8422 * configure.in: Build java for hppa target.
8423 * configure: Regenerate.
8424 * libjava/configure.host (hppa-*): Add target.
8425 * libjava/sysdeps/pa/lock.h: New file.
8426
8427 2004-03-19 Mark Wielaard <mark@klomp.org>
8428
8429 Reported by Stephen Crawley
8430 * java/io/FilePermission.java (implies): Use String.length() -1 to
8431 access last char of String.
8432
8433 2004-03-19 Michael Koch <konqueror@gmx.de>
8434
8435 * java/awt/image/AffineTransformOp.java
8436 (AffineTransformOp): Made public.
8437 * javax/swing/JComponent.java
8438 (listenerList): Made protected.
8439 (accessibleContext): Likewise.
8440 * javax/swing/JList.java
8441 (valueChanged): Dont use internal fields of ListSelectionEvent.
8442 * javax/swing/JViewport.java
8443 (getView): Dont use internal fields of Component.
8444 (addImpl): Likewise.
8445 * javax/swing/Timer.java
8446 (isRunning): Made public.
8447 (start): Likewise.
8448 (stop): Likewise.
8449 * javax/swing/UIDefaults.java
8450 (getInt): Made public.
8451 * javax/swing/plaf/basic/BasicListUI.java
8452 (mousePressed): Dont use internal fields of MouseEvent.
8453 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
8454 * javax/swing/plaf/basic/BasicScrollBarUI.java
8455 (arrowIcon): Made static.
8456 * javax/swing/plaf/basic/BasicViewportUI.java
8457 (stateChanged): Dont use internal field on ChangeEvent.
8458 * javax/swing/text/JTextComponent.java
8459 (getUI): Call UIManager.getUI().
8460 (updateUI): Use getUI().
8461
8462 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8463
8464 * verify.cc: Undef PC.
8465
8466 2004-03-18 Michael Koch <konqueror@gmx.de>
8467
8468 * java/nio/channels/spi/AbstractSelectableChannel.java
8469 (keys): Initialize at declaration.
8470 (locate): keys cant be null.
8471 (add): Removed.
8472 (addSelectionKey): New method.
8473 (removeSelectionKey): New method.
8474 * java/nio/channels/spi/AbstractSelectionKey.java
8475 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
8476 * java/nio/channels/spi/AbstractSelector.java
8477 (provider): Javadoc added.
8478 (cancelledKeys): Javadoc added.
8479 (cancelKey): Javadoc added, add key to cancelledKeys.
8480 (deregister): Implemented.
8481
8482 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
8483
8484 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
8485 MAP_FAILED to void *.
8486
8487 2004-03-12 Graydon Hoare <graydon@redhat.com>
8488
8489 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
8490 * javax/swing/JComponent.java (paint): Use persistent double buffer.
8491 * javax/swing/JList.java (ListListener): Revalidate on changes.
8492 * javax/swing/JScrollPane.java: Reimplement.
8493 * javax/swing/JViewport.java: Reimplement.
8494 * javax/swing/ScrollPaneLayout.java: Reimplement.
8495 * javax/swing/ViewportLayout.java: Tidy up.
8496 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
8497 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
8498 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
8499 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
8500 backing store only.
8501
8502 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
8503
8504 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
8505 (window_wm_protocols_filter): New function.
8506 (window_focus_in_cb): Remove function.
8507 (window_focus_out_cb): Likewise.
8508 (window_focus_or_active_state_change_cb): New function.
8509 (create): Add filter that removes WM_TAKE_FOCUS client messages.
8510 (connectSignals): Don't attach handlers to focus-in-event or
8511 focus-out-event signals. Handle notify signal.
8512
8513 2004-03-11 David Jee <djee@redhat.com>
8514
8515 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8516 (gtkSetLabel): New native method declaration.
8517 (setLabel): Use gtkSetLabel.
8518 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8519 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
8520
8521 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
8522
8523 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
8524 black when color argument is null.
8525
8526 2004-03-10 Kim Ho <kho@redhat.com>
8527
8528 * java/awt/Container.java: Remove check
8529 for drag events.
8530
8531 2004-03-10 Kim Ho <kho@redhat.com>
8532
8533 * java/awt/Container.java: (visitChild):
8534 Remove candidate clip. Use the component
8535 clip to intersect.
8536 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8537 (handleEvent): Use the PaintEvent's clip.
8538
8539 2004-03-10 Kim Ho <kho@redhat.com>
8540
8541 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
8542 (handleEvent): Don't set the clip for the
8543 Graphics object.
8544
8545 2004-03-09 Graydon Hoare <graydon@redhat.com>
8546
8547 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
8548 Fix double <-> fixed macros, reset font transform.
8549 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
8550 Likewise.
8551
8552 2004-03-09  Kim Ho <kho@redhat.com>
8553
8554 * java/awt/Container.java: (visitChild): Move
8555 the x and y coordinate of the component rectangle
8556 to correct position.
8557 (handleEvent): Forward drag events to the pressed
8558 component.
8559 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8560 Fix comments.
8561 (ArrowButtonListener::mousePressed): Stop the
8562 existing timer.
8563 (mouseDragged): Implement.
8564 (TrackListener::mousePressed): Only react if
8565 the press doesn't occur on the thumb, otherwise
8566 just set the offset.
8567 (TrackListener::mouseReleased): Unset the isAdjusting
8568 value.
8569 (createIncreaseIcon): Switch icon.
8570 (createDecreaseIcon): Switch icon.
8571 (calculatePreferredSize): Use width.
8572 (getThumbBounds): Use the top as the lower value.
8573 (layoutVScrollBar): Switch the button locations.
8574 (paintIncreaseHighlight): Paint correct side of thumb.
8575 (paintDecreaseHighlight): ditto.
8576 (valueForYPosition): Use top as the lower value.
8577 * javax/swing/plaf/basic/BasicSliderUI.java:
8578 Fix comments.
8579 (mouseDragged): Implement.
8580 (mousePressed): Only react when the thumb isn't
8581 pressed, otherwise just set offset.
8582 (mouseReleased): Handle a release of the thumb.
8583 (scrollDueToClickInTrack): Stop the timer first.
8584 * javax/swing/JProgressBar.java:
8585 (setString): Fix change condition.
8586 * javax/swing/JSeparator.java:
8587 Remove println's.
8588
8589 2004-03-08 David Jee <djee@redhat.com>
8590
8591 * java/awt/image/AffineTransformOp.java:
8592 (filter): Use Graphics2D interface instead of directly using the
8593 GdkGraphics2D peer.
8594
8595 2004-03-05 David Jee <djee@redhat.com>
8596
8597 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
8598 (handleEvent): Action events are generated upon MOUSE_RELEASED.
8599 * java/awt/Container.java
8600 (acquireComponentForMouseEvent): Fixed.
8601 (handleEvent): Fixed.
8602 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
8603 (state_to_awt_mods_with_button_states): New method.
8604 (pre_event_handler): Fixed mouse event generation.
8605
8606 2004-03-05 Olga Rodimina <rodimina@redhat.com>
8607
8608 gnu/java/awt/peer/gtk/GdkGraphics2D.java
8609 (GdkGraphics2D (BufferedImage)): Initialize
8610 pixmap associated with specified BufferedImage.
8611 (setPaint): Changed implementation of Texture
8612 Paint to use AffineTransformOp.
8613 * java/awt/image/AffineTransformOp.java
8614 (createCompatibleDestRaster): Throw RasterFormatException
8615 if resulting width or height of raster is 0.
8616
8617 2004-03-04 Olga Rodimina <rodimina@redhat.com>
8618
8619 * java/awt/image/AffineTransformOp.java:
8620 Removed unnecessary field interpolationType.
8621 Formatted some of the lines to be consistent with
8622 the GNU style.
8623 (AffineTransformOp): Create new RenderingHints
8624 containing specified interpolation type.
8625 (createCompatibleDestImage): Implemented.
8626 (createCompatibleDestRaster): Implemented.
8627 (filter): Implemented.
8628 (getBounds2D(BufferedImage)): Implemented.
8629 (getBounds2D(Raster)): Implemented.
8630 (getInterpolationType): Get interpolation value from
8631 rendering hints.
8632
8633 2004-03-04 David Jee <djee@redhat.com>
8634
8635 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8636 (setFont): Check if child peers are null.
8637
8638 2004-03-04 Graydon Hoare <graydon@redhat.com>
8639
8640 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
8641 .libs in -L option.
8642 (libjava_arguments): Add new libraries to argument list.
8643
8644 2004-03-02 Olga Rodimina <rodimina@redhat.com>
8645
8646 * Makefile.am: Added java/awt/image/AffineTransformOp.java
8647 * Makefile.in: Re-generated.
8648 * java/awt/image/AffineTransformOp.java: New Class.
8649
8650 2004-03-01 Olga Rodimina <rodimina@redhat.com>
8651
8652 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8653 (setPaint): Interpret correctly TexturePaint's
8654 anchor rectangle.
8655 (drawImage): Fixed scale factors of the affine
8656 transform.
8657
8658 2004-02-27 David Jee <djee@redhat.com>
8659
8660 * gnu/java/awt/peer/gtk/GdkGraphics.java
8661 (GdkGraphics(Component)): Inherit font from component.
8662 (drawString): Use font style.
8663 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
8664 (gtkSetFont): New native method declaration.
8665 (setFont): New method.
8666 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
8667 (gtkSetFont): New native method declaration.
8668 (setFont): Call new native method gtkSetFont.
8669 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
8670 (setFont): For all child components who do not their fonts set,
8671 set their peers' fonts with this container's font.
8672 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
8673 Move all native method declarations to the top for readability.
8674 (gtkSetFont): New native method declaration.
8675 (setFont): New method.
8676 * java/awt/Component.java
8677 (setFont): Invalidate after setting the font.
8678 * java/awt/Container.java
8679 (invalidateTree): New method.
8680 (setFont): Invalidate the container tree after setting the font.
8681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
8682 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
8683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
8684 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
8685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8686 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
8687 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
8688 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
8689
8690 2004-02-27 Olga Rodimina <rodimina@redhat.com>
8691
8692 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8693 (updateBufferedImage): New helper function.
8694 Updates BufferedImage in memory if it was changed.
8695 (draw): changed to update BufferedImage in memory after
8696 this drawing operation
8697 (fill): Ditto.
8698 (draw3DRect): Ditto.
8699 (fill3DRect): Ditto.
8700 (clearRect): Ditto.
8701 (drawRaster): Ditto.
8702 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
8703 no affine transformation.
8704 (drawGlyphVector): Ditto.
8705
8706 2004-02-26 Olga Rodimina <rodimina@redhat.com>
8707
8708 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8709 (isBufferedImageGraphics): New Helper function.
8710 Returns true if this graphics2d can be used to draw
8711 into buffered image and false otherwise.
8712 (updateImagePixels): New Helper function.
8713 Updates pixels in the BufferedImage.
8714 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
8715 (getImagePixels): New function. Returns pixels
8716 of the buffered image associated with
8717 this Graphics2D.
8718
8719 2004-02-26 David Jee <djee@redhat.com>
8720
8721 * java/awt/BorderLayout.java
8722 (layoutContainer): Fix width and height calculations to ensure
8723 that they're non-negative.
8724 * java/awt/Component.java
8725 (setBackground): If c is null, inherit from closest ancestor whose
8726 background color is set.
8727
8728 2004-02-26  Kim Ho  <kho@redhat.com>
8729
8730 * Makefile.am: Add new files.
8731 * Makefile.in: Re-generate.
8732 * javax/swing/JProgressBar.java:
8733 (JProgressBar(int, int int)): Throw
8734 IllegalArgumentException if orientation is
8735 invalid.
8736 (JProgressBar(BoundedRangeModel)): Create
8737 ChangeListener and register it. UpdateUI.
8738 (getChangeListeners): Implement.
8739 (setModel): Reset ChangeListener.
8740 * javax/swing/JScrollBar.java: Implement.
8741 * javax/swing/JSeparator.java: Implement.
8742 * javax/swing/JSlider.java:
8743 (JSlider(int, int, int, int)): Throw
8744 IllegalArgumentException if orientation
8745 is invalid.
8746 (getChangeListeners): Fix method name.
8747 * javax/swing/SwingUtilities.java:
8748 (layoutCompoundLabel): If there is no text,
8749 set the text rectangle dimensions to 0.
8750 * javax/swing/plaf/basic/BasicButtonUI.java:
8751 (paint): If there is no text, don't paint it.
8752 * javax/swing/plaf/basic/BasicScrollBarUI.java:
8753 Implement.
8754 * javax/swing/plaf/basic/BasicSeparatorUI.java:
8755 Implement.
8756 * javax/swing/plaf/basic/BasicSliderUI.java:
8757 (propertyChange): If the model changes, change
8758 the listeners accordingly.
8759
8760 2004-02-25 Graydon Hoare <graydon@redhat.com>
8761
8762 * javax/swing/AbstractButton.java: Add "final" qualifiers.
8763 * javax/swing/JList.java: Reimplement.
8764 * javax/swing/DefaultListSelectionModel.java: Reimplement.
8765 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
8766 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
8767 * javax/swing/ListModel.java: Javadoc.
8768 * javax/swing/ListSelectionModel.java: Add missing methods.
8769 * javax/swing/AbstractListModel.java: Javadoc and corrections.
8770 * javax/swing/DefaultListModel.java: Javadoc and corrections.
8771 * javax/swing/ListModel.java: Javadoc and corrections.
8772 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
8773
8774 2004-02-25 David Jee <djee@redhat.com>
8775
8776 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8777 (GtkFontPeer): Change default size to 12.
8778 * gnu/java/awt/peer/gtk/GtkToolkit.java
8779 (getFontPeer): Change default size to 12.
8780 (getClasspathFontPeer): Likewise. Set default name to "Default".
8781 * java/awt/Font.java
8782 (Font(Map)): Call Font(String,Map).
8783 (Font(String,Map)): If attrs is null, initialize it as an empty
8784 HashMap, which will ensure that the Font will get default attributes.
8785
8786 2004-02-25 David Jee <djee@redhat.com>
8787
8788 * gnu/java/awt/peer/gtk/GtkFontPeer.java
8789 (GtkFontPeer(String,int)): Call the new constructor with size 1.
8790 (GtkFontPeer(String,int,int)): New constructor with size attribute.
8791 * gnu/java/awt/peer/gtk/GtkToolkit.java
8792 (getFontPeer(String,int)): Call the new overload method with size 1.
8793 (getFontPeer(String,int,int)): New method. Overloaded with size
8794 attribute.
8795 (getClasspathFontPeer): Set the size of the font.
8796
8797 2004-02-24 Olga Rodimina <rodimina@redhat.com>
8798
8799 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8800 (bimage): New field.
8801 (GdkGraphics2D): New Constructor. Constructs Graphics
8802 object that can be used to draw into the Buffered Image.
8803 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8804 (GdkGraphicsEnvironment): Fixed to include public
8805 keyword.
8806 (createGraphics): Implemented.
8807 * gnu/java/awt/peer/gtk/GtkToolkit.java
8808 (getLocalGraphicsEnvironment): Implemented.
8809 * java/awt/GraphicsEnvironment.java:
8810 (getLocalGraphicsEnvironment): Implemented.
8811 * java/awt/image/BufferedImage.java:
8812 (createGraphics): Implemented.
8813
8814 2004-02-24 David Jee <djee@redhat.com>
8815
8816 * java/awt/Component.java
8817 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
8818 * java/awt/Container.java
8819 (addNotifyContainerChildren): Fix event enabling.
8820
8821 2004-02-23 Olga Rodimina <rodimina@redhat.com>
8822
8823 * Makefile.am: Added
8824 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
8825 * Makefile.in: Re-generated.
8826 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
8827 New Class.
8828
8829 2004-02-19 Kim Ho <kho@redhat.com>
8830
8831 * Makefile.am: Add BasicProgressBarUI
8832 * Makefile.in: Regenerate.
8833 * javax/swing/JProgressBar.java:
8834 Re-implement.
8835 * javax/swing/plaf/basic/BasicLookAndFeel.java
8836 Add constants for JProgressBar.
8837 * javax/swing/plaf/basic/BasicProgressBarUI.java
8838 Implement.
8839 * javax/swing/plaf/basic/BasicSliderUI.java
8840 Change comments.
8841 (calculateGeometry): New method
8842 (paint): Remove unnecessary size calculations.
8843
8844 2004-02-18 Olga Rodimina <rodimina@redhat.com>
8845
8846 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
8847 (drawRaster): Fixed small error that caused
8848 imageToUser transformation to be set incorrectly.
8849 (toString): Implemented.
8850
8851 2004-02-18 David Jee <djee@redhat.com>
8852
8853 * java/awt/CardLayout.java
8854 (addLayoutComponent): Show the first component added as the default.
8855 (removeLayoutComponent): After removing, show the next component.
8856 (gotoComponent): If there is only one component, show it and return.
8857
8858 2004-02-18 Kim Ho <kho@redhat.com>
8859
8860 * javax/swing/JSlider.java: Re-order
8861 modifiers.
8862 * javax/swing/JLabel.java: Re-order
8863 modifiers.
8864 * javax/swing/JComponent.java:
8865 (addPropertyChangeListener):
8866 Implement.
8867 (removePropertyChangeListener):
8868 ditto.
8869 (firePropertyChangeEvent):
8870 ditto.
8871
8872 2004-02-17 David Jee <djee@redhat.com>
8873
8874 * java/awt/Component.java
8875 (show): Dispatch ComponentEvent via system event queue.
8876 (hide): Likewise.
8877 (move): Likewise.
8878 (resize): Likewise.
8879 (reshape): Likewise.
8880 * java/awt/Window.java
8881 (setBoundsCallback): Likewise.
8882
8883 2004-02-17 David Jee <djee@redhat.com>
8884
8885 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
8886 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
8887 Use gtk_widget_set_size_request() instead of the deprecated
8888 gtk_widget_set_usize().
8889
8890 2004-02-17 Kim Ho <kho@redhat.com>
8891
8892 * javax/swing/JSlider.java: Fix comments and
8893 make property strings constants.
8894 (createStandardLabels): Use the labels
8895 preferred size as bounds.
8896 * javax/swing/plaf/basic/BasicSliderUI.java
8897 Fix comments.
8898 (ScrollHandler::actionPerformed): Don't
8899 calculate the timer stop value. Let the
8900 MouseListeners find the stop location.
8901 (getPreferredHorizontalSize): Re-implement.
8902 (getPreferredVerticalSize): ditto.
8903 (getMinimumHorizontalSize): ditto.
8904 (getMinimumVerticalSize): ditto.
8905 (getPreferredSize): ditto.
8906 (getMinimumSize): ditto.
8907 (getMaximumSize): ditto.
8908 (paintTicks): Use doubles to find the
8909 tick location.
8910 (paintHorizontalLabel):  Use preferredSize
8911 as initial width and height.
8912 (paintVerticalLabel): ditto.
8913
8914 2004-02-17 Kim Ho <kho@redhat.com>
8915
8916 * javax/swing/JLabel.java: Changed
8917 property strings to constants.
8918 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
8919 New property.
8920 (setText): Change mnemonic index if
8921 text is too short.
8922 (setDisplayedMnemonicIndex): Fire property
8923 change event.
8924 (getDisplayedMnemonicIndex): Remove check
8925 against short text.
8926
8927 2004-02-17 Olga Rodimina <rodimina@redhat.com>
8928
8929 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8930 (drawImage(img,xform,obs)): Invert xform before
8931 passing the xform to cairo.
8932 (drawImage(img,x,y,bgcolor,obs)): Implemented.
8933 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
8934 implemented.
8935 (drawImage (img,x,y,w,h,obs)): Implemented.
8936 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
8937 bgcolor,obs)): Partly implemented.
8938 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
8939 Implemented.
8940 * java/awt/image/BufferedImage.java:
8941 (copyData): if dest is null, create raster with same
8942 dimensions as the current image.
8943
8944 2004-02-16 Graydon Hoare <graydon@redhat.com>
8945
8946 * javax/swing/plaf/basic/BasicLabelUI.java
8947 (getPreferredSize): Use layoutCL.
8948 * javax/swing/plaf/basic/BasicGraphicsUtils.java
8949 (getPreferredButtonSize): Start with empty view rect, layout using
8950 component's preferred alignment.
8951 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
8952 List defaults.
8953
8954 2004-02-16 David Jee <djee@redhat.com>
8955
8956 * java/awt/Component.java
8957 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
8958 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
8959 (move): Erase old bounds and repaint new bounds. Dispatch
8960 COMPONENT_MOVED ComponentEvent.
8961 (resize): Erase old bounds and repaint new bounds. Dispatch
8962 COMPONENT_RESIZED ComponentEvent.
8963 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8964 ComponentEvents.
8965 * java/awt/Window.java
8966 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
8967 ComponentEvents.
8968
8969 2004-02-16 Olga Rodimina <rodimina@redhat.com>
8970
8971 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
8972 (setRenderingHint): Added implementation of
8973 Interpolation rendering hints.
8974 (setRenderingHints): Ditto.
8975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
8976 (drawPixels): fixed to allow user to choose type
8977 of filtering that should be used when displaying images.
8978 (cairoSurfaceSetFilter): New method. Sets filter type for
8979 interpolation of pixel values.
8980
8981 2004-02-16 David Jee <djee@redhat.com>
8982
8983 * java/awt/GridBagLayout.java
8984 (calcCellSizes): Rows or columns with zero sizes should still be
8985 considered for extra space distribution.
8986
8987 2004-02-16 Kim Ho <kho@redhat.com>
8988
8989 * javax/swing/JLabel.java: Re-implement.
8990 * javax/swing/plaf/basic/BasicLabelUI.java
8991 Re-implement.
8992 * javax/swing/plaf/basic/BasicLookAndFeel.java:
8993 Added constant.
8994
8995 2004-02-16  Kim Ho  <kho@redhat.com>
8996
8997 * javax/swing/JSlider.java: Fix indentation and comments.
8998 (setModel): Remove null check to conform with Sun's.
8999 (setOrientation): Throw exception if not
9000 HORIZONTAL or VERTICAL.
9001 (getInverted): Use private variable instead of
9002 ComponentOrientation.
9003 (setInverted): ditto.
9004 * javax/swing/plaf/basic/BasicSliderUI.java:
9005 Fix indentation and comments.
9006 (propertyChange): Remove check for inverted slider, handle
9007 in main paint.
9008 (getMinimumSize): Return preferred size.
9009 (getMaximumSize): ditto.
9010 (calculateFocusRect): Don't relocate rectangle.
9011 (drawInverted): Return XOR of the slider's inversion and
9012 the component's orientation.
9013 (paint): Update leftToRightCache
9014
9015 2004-02-13 David Jee <djee@redhat.com>
9016
9017 * java/awt/GridBagLayout.java
9018 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
9019 code to helper methods.
9020 (sortBySpan): New helper method.
9021 (distributeSizeAndWeight): Likewise.
9022 (calcCellWeights): Likewise.
9023 (calcCellSizes): Add comments.
9024
9025 2004-02-13 David Jee <djee@redhat.com>
9026
9027 * java/awt/Component.java
9028 (show): Only do something if component is invisible at the moment.
9029 (hide): Only do something if component is visible at the moment.
9030 (reshape): If lightweight, erase old bounds and repaint new bounds.
9031
9032 2004-02-13  Kim Ho  <kho@redhat.com>
9033
9034 * Makefile.am: Updated for new file.
9035 * Makefile.in: Regenerated.
9036 * javax/swing/JSlider.java: Reimplement.
9037 * javax/swing/SwingUtilities.java
9038 (layoutCompoundLabel): Use icon height
9039 instead of width.
9040 (paintComponent): Implement.
9041 * javax/swing/plaf/basic/BasicLookAndFeel.java:
9042 Add JSlider defaults.
9043 * javax/swing/plaf/basic/BasicSliderUI.java:
9044 Implement. New file.
9045
9046 2004-03-17 Michael Koch <konqueror@gmx.de>
9047
9048 * gnu/java/net/PlainDatagramSocketImpl.java
9049 (RECEIVE_LOCK): New member field.
9050 (SEND_LOCK): New member field.
9051 (send0): New method.
9052 (send): Synchronize on SEND_LOCK.
9053 (receive0): New method.
9054 (receive): Synchronize on RECEIVE_LOCK.
9055 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
9056 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
9057 gnu/java/net/natPlainDatagramSocketImplWin32.cc
9058 (send0): Renamed from send.
9059 (receive0): Renamed from receive.
9060 2004-03-17 Michael Koch <konqueror@gmx.de>
9061
9062 * gnu/java/net/natPlainSocketImplPosix.cc
9063 (write): Just call write(jbyteArray, offset, len).
9064 (read): Just call read(jbyteArray, offset, len).
9065
9066 2004-03-16 Michael Koch <konqueror@gmx.de>
9067
9068 * javax/swing/JTabbedPane.java
9069 (serialVersionUID): New field.
9070
9071 2004-03-16 Norbert Frese <postfach@nfrese.net>
9072
9073 * java/net/InetAddress.java
9074 (getByName): Handle hostname == "" case.
9075
9076 2004-03-16 Dalibor Topic <robilad@kaffe.org>
9077
9078 Reported by: Adam Heath <doogie@debian.org>
9079 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
9080 class loader.
9081
9082 2004-03-15 Michael Koch <konqueror@gmx.de>
9083
9084 * java/util/Locale.java: Reverting my last patch
9085 and add a comment why the original version was okay.
9086
9087 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
9088
9089 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
9090 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
9091 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
9092 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
9093
9094 2004-03-12 Michael Koch <konqueror@gmx.de>
9095
9096 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
9097
9098 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9099
9100 * java/net/URI.java (toURL): Implemented.
9101
9102 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
9103
9104 * java/net/URI.java
9105 (URI_REGEXP) updated to contain scheme specific part.
9106 (SCHEME_SPEC_PART_GROUP) new constant.
9107 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
9108 updated to make room for SCHEME_SPEC_PART_GROUP.
9109 (parseURI) parse scheme specific part.
9110 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
9111 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
9112 getQuery, getFragment) implemented.
9113
9114 2004-03-12 Dalibor Topic <robilad@kaffe.org>
9115
9116 * libraries/javalib/java/net/URI.java
9117 partially implemented using java.util.regex.
9118 (URI_REGEXP) new constant. Used to parse URIs.
9119 (SCHEME_GROUP) new constant representing index of scheme group
9120 in parsed URI.
9121 (AUTHORITY_GROUP) new constant representing index of authority
9122 group in parsed URI.
9123 (PATH_GROUP) new constant representing index of path group in
9124 parsed URI.
9125 (QUERY_GROUP) new constant representing index of query group in
9126 parsed URI.
9127 (FRAGMENT_GROUP) new constant representing index of fragment
9128 group in parsed URI.
9129 (getURIGroup) new static utility method.
9130 (parseURI) implemented.
9131 (quote) stub for new static utility method.
9132 (quoteAuthority) stub for new static utility method.
9133 (quoteHost) stub for new static utility method.
9134 (quotePath) stub for new static utility method.
9135 (quoteUserInfo) stub for new static utility method.
9136 (URI) implemented.
9137 (create) don't throw URISyntaxException. Implemented.
9138 (toString) implemented.
9139
9140 2004-03-12 Michael Koch <konqueror@gmx.de>
9141
9142 * java/net/HttpURLConnection.java
9143 (getResponseCode): Fix another typo in javadoc.
9144
9145 2004-03-11 Michael Koch <konqueror@gmx.de>
9146
9147 * java/util/logging/Level.java
9148 (parse): Use String.equals() instead of ==.
9149
9150 2004-03-11 Michael Koch <konqueror@gmx.de>
9151
9152 * gnu/java/net/protocol/jar/Connection.java
9153 (getContentLength): New method.
9154
9155 2004-03-11 Michael Koch <konqueror@gmx.de>
9156
9157 * gnu/java/net/PlainSocketImpl.java:
9158 Reformated to merge better with classpath's version.
9159
9160 2004-03-11 Michael Koch <konqueror@gmx.de>
9161
9162 * java/util/Locale.java
9163 (getISO3Language): Use String.equals() instead of ==.
9164 (getISO3Country): Likewise.
9165
9166 2004-03-11 Dalibor Topic <robilad@kaffe.org>
9167
9168 * java/text/AttributedString.java
9169 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
9170 Use HashMap instead of Hashtable since value can be null, and
9171 you can not store a null value in a Hashtable.
9172
9173 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9174
9175 * java/text/AttributedStringIterator.java
9176 (getAllAttributesKey): Return only keys concerned
9177 by the current iterator.
9178 (getAttributes): Use strict inequality for
9179 end_index.
9180
9181 2004-03-11 Michael Koch <konqueror@gmx.de>
9182
9183 * java/net/HttpURLConnection.java:
9184 Fixed typo in javadoc.
9185
9186 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
9187
9188 * java/io/BufferedInputStream.java (marktarget): New field for max
9189 mark limit.
9190 (CHUNKSIZE): New constant for incremental mark buffer allocation.
9191 (mark): Use new fields.
9192 (read): Likewise.
9193 (read(byte[],int,int)): Likewise.
9194 (skip): Likewise.
9195 (refill): Likewise.
9196
9197 2004-03-11 Mark Wielaard <mark@klomp.org>
9198
9199 * java/beans/BeanDescriptor.java (BeanDescriptor):
9200 Set the FeatureDescriptor programmatic name.
9201
9202 2004-03-11 Michael Koch <konqueror@gmx.de>
9203
9204 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
9205 This file was was just copied form java/io/natFileDescriptorEcos.cc
9206 and never changed to compile correctly.
9207
9208 2004-03-11 Michael Koch <konqueror@gmx.de>
9209
9210 * gnu/java/nio/PipeImpl.java
9211 (SourceChannelImpl): Made final.
9212 (read): Implemented.
9213 (SinkChannelImpl): Made final.
9214 (write): Implemented.
9215
9216 2004-03-11 Michael Koch <konqueror@gmx.de>
9217
9218 * gnu/java/net/PlainDatagramSocketImpl.java:
9219 Reformated to match classpath's version more.
9220
9221 2004-03-11 Michael Koch <konqueror@gmx.de>
9222
9223 * gnu/java/awt/peer/ClasspathFontPeer.java:
9224 Fixed javadoc to be correct xhtml.
9225 * gnu/java/awt/peer/gtk/GtkArgList.java
9226 (add): Use Boolean.valueOf() instead of new Boolean().
9227
9228 2004-03-09 Michael Koch <konqueror@gmx.de>
9229
9230 * java/lang/Thread.java
9231 (runnable): Moved around.
9232 (daemon): Renamed from daemon_flag.
9233 (contextClassLoader): Renamed from context_class_loader.
9234 (Thread): Reordered constructors.
9235 (activeCount): Use group directly.
9236 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
9237 (holdsLock): Reworked javadoc.
9238 (setDaemon): Reworked.
9239 * java/lang/natThread.cc
9240 (destroy): Removed.
9241
9242 2004-03-08 Anthony Green <green@redhat.com>
9243
9244 * Makefile.am: Build property resource files into libgcj.
9245 * Makefile.in: Rebuilt.
9246 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
9247 java/util/regex/PatternSyntaxException.java,
9248 gnu/regexp/CharIndexed.java,
9249 gnu/regexp/CharIndexedCharArray.java,
9250 gnu/regexp/CharIndexedInputStream.java,
9251 gnu/regexp/CharIndexedReader.java,
9252 gnu/regexp/CharIndexedString.java,
9253 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
9254 gnu/regexp/REException.java,
9255 gnu/regexp/REFilterInputStream.java,
9256 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
9257 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
9258 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
9259 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
9260 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
9261 gnu/regexp/RETokenLookAhead.java,
9262 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
9263 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
9264 gnu/regexp/RETokenStart.java,
9265 gnu/regexp/RETokenWordBoundary.java,
9266 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
9267
9268 2004-03-03 Per Bothner <per@bothner.com>
9269
9270 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
9271 Optimize when argument is a FileChannelImpl.
9272 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
9273 New native methods.
9274 * java/nio/channels/natChannels.cc: New file for new native methods.
9275 * Makefile.am: Update accordingly.
9276
9277 2004-03-02 Jan Hubicka <jh@suse.cz>
9278
9279 * configure.host: Pass -fno-omit-frame-pointer for i386.
9280 * configure.in: Likewise.
9281 * configure: Regenerate.
9282
9283 2004-03-01 Per Bothner <per@bothner.com>
9284
9285 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
9286
9287 2004-02-29 Per Bothner <per@bothner.com>
9288
9289 * java/nio/channels/FileChannelImpl.java: Moved to package
9290 gnu/java/nio/channels, since we need to refer to it from java.io.
9291 * java/nio/channels/natFileChannelImpl.cc: Removed file.
9292 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
9293 from java/nio/channels. Don't depend on FileDescriptor.
9294 (in, out, err): New static fields.
9295 (mode): New field.
9296 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
9297 from FileDescriptor.
9298 (by): Removed MappedByteBuffer field.
9299 (map): New working implementation.
9300 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
9301 some code "ported" from natFileDescriptoPosix.cc.
9302 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
9303 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
9304 * java/io/FileDescriptor.java: Implement on top of FileChannel.
9305 Remove native methods.
9306 * Makefile.am, configure.in: Updated accordingly.
9307
9308 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
9309 (ch): New FileChannelImpl field. Update constructor to match.
9310 (releaseImpl): Remove native method. Instead ...
9311 (release): Call unlock on channel.
9312 * gnu/java/nio/natFileLockImpl.cc: Removed file.
9313
9314 * java/io/natFileDescriptorEcos.cc: Remove file.
9315 * java/io/natFileDescriptorPosix.cc: Remove file.
9316 * java/io/natFileDescriptorWin32.cc: Remove file.
9317 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
9318 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
9319 (<init>(FileChannelImpl)): New package-private constructor.
9320 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
9321 (available, close, read, skip): Implement using FileChannelImpl.
9322 (getFD): Allocate FileDescriptor if needed.
9323 (getChannel): Is now trivial.
9324 * java/io/FileOutputStream.java: Corresponding changes.
9325 * java/io/RandomAccessFile.java: Corresponding changes.
9326
9327 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
9328 unmapImpl): New dummy methods, to be overridden by subclass.
9329 (finalize, isLoaded, load, force): New methods.
9330 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
9331 Now works, at least for read mapping.
9332
9333 * java/lang/natPosixProcess.cc (startProcess): Implement standard
9334 streams using FileChannelImpl, not FileDescriptor.
9335 * java/lang/natWin32Process.cc (startProcess): Likewise.
9336
9337 2004-02-28 Michael Koch <konqueror@gmx.de>
9338
9339 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
9340 wrong code.
9341
9342 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
9343
9344 * java/io/ObjectInputStream.java
9345 (readClassDescriptor): Keep elements of the mapping non null.
9346 (checkTypeConsistency): New method.
9347 (readFields): Fixed main loop and base logic. Small reindentation.
9348 * java/io/ObjectStreamField.java
9349 (lookupField): New method to update the field reference.
9350 (checkFieldType): New method.
9351 * java/io/ObjectStreamClass.java
9352 (setClass, setFields): Call lookupField when building the field
9353 database. Check the real field type.
9354
9355 2004-02-28 Michael Koch <konqueror@gmx.de>
9356
9357 * java/nio/ByteOrder.java
9358 (nativeOrder): Use equals() to compare strings.
9359
9360 2004-02-26 Michael Koch <konqueror@gmx.de>
9361
9362 * gnu/java/nio/FileLockImpl.java
9363 (finalize): Made protected.
9364 * java/nio/channels/FileChannel.java
9365 (MapMode.READ_ONLY): Made final.
9366 (MapMode.READ_WRITE): Made final.
9367 (MapMode.PRIVATE): Made final.
9368 * java/nio/channels/SocketChannel.java
9369 (open): Simplified code.
9370 * java/nio/channels/spi/AbstractSelectableChannel.java
9371 (registered): Unused, removed.
9372 (keyFor): Check channel is open, only locate key
9373 and not add a new one.
9374 (register): Don't delete attachments.
9375
9376 2004-02-26 Michael Koch <konqueror@gmx.de>
9377
9378 * gnu/java/awt/ComponentDataBlitOp.java
9379 (INSTANCE): Made final.
9380 * gnu/java/awt/image/ImageDecoder.java:
9381 Reworked imports.
9382 (cm): Unused, removed.
9383
9384 2004-02-26 Michael Koch <konqueror@gmx.de>
9385
9386 * gnu/java/nio/DatagramChannelImpl.java
9387 (send): Check if target address is resolved.
9388
9389 2004-02-26 Michael Koch <konqueror@gmx.de>
9390
9391 * Makefile.am: Generate and install headers for inner classes in
9392 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
9393 * Makefile.in: Regenerated.
9394
9395 2004-02-24 Anthony Green <green@redhat.com>
9396
9397 * java/lang/StringBuffer.java: No need to NULL out remainder of
9398 buffer since ensureCapacity_unsynchronized will have done this for
9399 us.
9400
9401 2004-02-20 Michael Koch <konqueror@gmx.de>
9402
9403 * gnu/java/net/protocol/jar/Handler.java
9404 (): Removed unneeded check for file != null. java.net.URL.getFile()
9405 returns an empty string but never null.
9406
9407 2004-02-20 Michael Koch <konqueror@gmx.de>
9408
9409 * gnu/gcj/convert/Convert.java
9410 (main): Use equals() to compare strings.
9411
9412 2004-02-20 Michael Koch <konqueror@gmx.de>
9413
9414 * javax/swing/AbstractButton.java: Made several constants final.
9415 (getRolloverSelectedIcon): Made public.
9416 (getSelectedIcon): Made public.
9417
9418 2004-02-16 Per Bothner <per@bothner.com>
9419
9420 * java/nio/CharBufferImpl.java: Inline super constructor.
9421 * java/nio/DoubleBufferImpl.java: Likewise.
9422 * java/nio/FloatBufferImpl.java: Likewise.
9423 * java/nio/IntBufferImpl.java: Likewise.
9424 * java/nio/LongBufferImpl.java: Likewise.
9425 * java/nio/ShortBufferImpl.java: Likewise.
9426 * java/nio/CharBuffer.java: Remove unused constructor.
9427 * java/nio/DoubleBuffer.java: Likewise.
9428 * java/nio/FloatBuffer.java: Likewise.
9429 * java/nio/IntBuffer.java: Likewise.
9430 * java/nio/LongBuffer.java: Likewise.
9431 * java/nio/ShortBuffer.java: Likewise.
9432 * java/nio/CharViewBufferImpl.java: New convenience constructor.
9433 Fix buggy call to super constructor.
9434 * java/nio/DoubleViewBufferImpl.java: Likewise.
9435 * java/nio/FloatViewBufferImpl.java: Likewise.
9436 * java/nio/IntViewBufferImpl.java: Likewise.
9437 * java/nio/LongViewBufferImpl.java: Likewise.
9438 * java/nio/ShortViewBufferImpl.java: Likewise.
9439
9440 * java/nio/ByteBuffer.java (endian): Make non-private so other
9441 java.nio classes can inherit it.
9442 (<init>): Don't bother clearing array_offset.
9443 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
9444 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
9445 Remove redundant test.
9446
9447 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
9448 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
9449 Use new XxxViewBufferImpl constructors.
9450 * java/nio/MappedByteBufferImpl.java: Likewise.
9451 * java/nio/DirectByteBufferImpl.java: Likewise.
9452
9453 * java/nio/ByteBufferImpl.java: Remove one constructor.
9454 Inline super in remaining constructor.
9455 * java/nio/ByteBuffer.java: Remove unused constructor.
9456
9457 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
9458
9459 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
9460 * java/nio/DirectByteBufferImpl.java (owner): New field.
9461 (offset): Remove unused field.
9462 (<init>): Modify one and add another constructor. Change callers.
9463 (allocateDirect): Removed - not used.
9464 (getImpl, putImpl): Make static and pass address explicitly,
9465 to make them useful for MappedByteBufferImpl.
9466 (get, put): Check for underflow. Modify for new getImpl.
9467 (getImpl): New native method where target is array.
9468 (get(byte[],int,int)): Use the above.
9469 (adjustAddress): New static native method.
9470 (slice, duplicate, asReadOnly): New implementations.
9471 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
9472 adjustAddress): New or updated native methods.
9473
9474 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
9475
9476 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
9477 overflow of fieldmapping.
9478
9479 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
9480
9481 * javax/swing/undo/UndoManager.java: Re-written from scratch.
9482
9483 2004-02-14 Per Bothner <per@bothner.com>
9484
9485 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
9486 Set closed before calling implCloseChannel, as in the spec.
9487
9488 2004-02-09 Graydon Hoare <graydon@redhat.com>
9489
9490 * javax/swing/ToggleButtonModel.java: Remove dead class.
9491 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
9492 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
9493 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
9494 * Makefile.am: Update for new and removed files.
9495 * Makefile.in: Regenerate.
9496
9497 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
9498 * javax/swing/AbstractButton.java
9499 (AbstractButton): Initialize fields correctly in ctor.
9500 * javax/swing/JCheckbox.java
9501 (JCheckBox): Override painting flags.
9502 * javax/swing/DefaultButtonModel.java: Conform to sun.
9503 * javax/swing/JComponent.java (paint): Fill with background color
9504 if available.
9505 (processComponentKeyEvent)
9506 (processFocusEvent)
9507 (processKeyEvent)
9508 (processMouseMotionEvent): Remove event-consuming empty methods.
9509 (getUIClassID): Return "ComponentUI" not "JComponent"
9510 * javax/swing/JFrame.java: Remove some debugging chatter.
9511 (JFrame): Subscribe to window events.
9512 * javax/swing/JRadioButton.java
9513 (JRadioButton): Override painting flags.
9514 * javax/swing/JRootPane.java
9515 (JRootPane): Set background from UIDefaults.
9516 * javax/swing/JToggleButton.java
9517 (ToggleButtonModel): New inner class.
9518 (JToggleButton): Override layout alighment.
9519 * javax/swing/SwingUtilities.java:
9520 (getLocalBounds): Return width and height, not x and y.
9521 (calculateInnerArea): Use local bounds, not bounds.
9522 (layoutCompoundLabel): Provide overridden form.
9523 (layoutCompoundLabel): Correct bugs.
9524 * javax/swing/UIDefaults.java: Correct comment.
9525 * javax/swing/plaf/basic/BasicButtonUI.java:
9526 Move most logic into defaults, external listener.
9527 (paintIcon): Implement icon painting.
9528 (paint): Fix state painting to conform to changes in model.
9529 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
9530 Remove most dead/wrong methods.
9531 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
9532 * javax/swing/plaf/basic/BasicIconFactory.java:
9533 (DummyIcon): New class.
9534 (getMenuItemCheckIcon)
9535 (getMenuItemArrowIcon)
9536 (getMenuArrowIcon)
9537 (getCheckBoxMenuItemIcon)
9538 (getRadioButtonMenuItemIcon)
9539 (createEmptyFrameIcon): Return DummyIcons, not null.
9540 (getCheckBoxIcon): Implement an icon that looks like sun's.
9541 (getRadioButtonIcon): Implement an icon that looks like sun's.
9542 * javax/swing/plaf/basic/BasicLookAndFeel.java
9543 (initComponentDefaults): Fix impossible values, add some missing.
9544 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
9545 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
9546 Remove most dead/wrong methods.
9547 (icon): New field.
9548 (getDefaultIcon): New method.
9549 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
9550 Remove most dead/wrong methods.
9551 * javax/swing/plaf/metal/MetalLookAndFeel.java
9552 (getDefaults): Return super.getDefaults(), not BasicDefaults.
9553 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
9554 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
9555 Implement "clearing" as drawing, when on pixmap drawables.
9556
9557 * javax/swing/JButton.java (getUIClassID):
9558 * javax/swing/JCheckBox.java (getUIClassID):
9559 * javax/swing/JEditorPane.java (getUIClassID):
9560 * javax/swing/JLabel.java (getUIClassID):
9561 * javax/swing/JList.java (getUIClassID):
9562 * javax/swing/JOptionPane.java (getUIClassID):
9563 * javax/swing/JPanel.java (getUIClassID):
9564 * javax/swing/JPasswordField.java (uiClassID):
9565 * javax/swing/JRadioButton.java (getUIClassID):
9566 * javax/swing/JRootPane.java (getUIClassID):
9567 * javax/swing/JScrollPane.java (getUIClassID):
9568 * javax/swing/JTabbedPane.java (getUIClassID):
9569 * javax/swing/JToggleButton.java (getUIClassID):
9570 * javax/swing/JTree.java (getUIClassID):
9571 * javax/swing/JViewport.java (getUIClassID):
9572 * javax/swing/text/JTextComponent.java (getUIClassID):
9573 Return "fooUI" not "Jfoo"
9574
9575 2004-02-11 Michael Koch <konqueror@gmx.de>
9576
9577 * java/net/DatagramSocket.java
9578 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
9579 Boolean object.
9580 (setBroadcast): Likewise.
9581 * java/net/MulticastSocket.java
9582 (setLoopbackMode): Likewise.
9583 * java/net/ServerSocket.java
9584 (setReuseAddress): Likewise.
9585 * java/net/Socket.java
9586 (setTcpNoDelay): Likewise.
9587 (setSoLinger): Likewise.
9588 (setOOBInline): Likewise.
9589 (setKeepAlive): Likewise.
9590 (setReuseAddress): Likewise.
9591 * java/net/URLConnection.java
9592 (setContentHandler): Replace == with equals().
9593 * java/net/URLStreamHandler.java
9594 (hostSEquals): Fix checking host addresses.
9595 (toExternalForm): Dont check protocol for null. We know already its
9596 not null.
9597
9598 2004-02-10 David Jee <djee@redhat.com>
9599
9600 * java/awt/BorderLayout.java
9601 (calcCompSize): Invisible components get zero dimensions.
9602 * java/awt/Button.java
9603 (setLabel): Set actionCommand.
9604 * java/awt/Component.java
9605 (show): Invalidate component and parent container.
9606 (hide): Likewise.
9607
9608 2004-02-10 David Jee <djee@redhat.com>
9609
9610 * java/awt/GridBagLayout.java
9611 (GridBagLayout): New private field, internalcomptable.
9612 (lookupInternalConstraints): New method.
9613 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
9614 (GetLayoutInfo): Reimplement.
9615 (calcCellSizes): Ignore rows/columns with size 0.
9616
9617 2004-02-10 Michael Koch <konqueror@gmx.de>
9618
9619 * gnu/java/awt/EmbeddedWindow.java
9620 (setHandle): Use java.awt.Component.getPeer() instead of
9621 java.awt.Component.peer directly.
9622
9623 2004-02-10 David Jee <djee@redhat.com>
9624
9625 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
9626 (gtkSetLabel): New native method definition.
9627 (setLabel): Use gtkSetLabel.
9628 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
9629 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
9630
9631 2004-02-10 Alan Modra <amodra@bigpond.net.au>
9632
9633 * include/powerpc-signal.h: Revert 2004-01-21 change.
9634 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
9635 from syscall for ppc32 versions.
9636
9637 2004-02-08 Per Bothner <per@bothner.com>
9638
9639 * java/nio/ByteBuffer.java (shiftDown): New helper method.
9640 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
9641 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
9642 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
9643 Pass ByteOrder parameter to most methods, since the underlying
9644 ByteBuffer's order isn't always what we should use.
9645 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
9646 * java/nio/DirectByteBufferImpl.java: Likewise.
9647 Use ByteBufferHelper methods.
9648 * java/nio/MappedByteBufferImpl.java: Likewise.
9649 (compact): Use shiftDown.
9650 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
9651 (get, put): Use ByteBufferHelper.
9652 (compact): Use new shiftDown method.
9653 (duplicate(boolean)): New helper method.
9654 (duplicate, asReadOnlyBuffer): Use it.
9655 (order): Return endian field.
9656 * java/nio/DoubleViewBufferImpl.java: Likewise.
9657 * java/nio/FloatViewBufferImpl.java: Likewise.
9658 * java/nio/IntViewBufferImpl.java: Likewise.
9659 * java/nio/LongViewBufferImpl.java: Likewise.
9660 * java/nio/ShortViewBufferImpl.java: Likewise.
9661 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
9662 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
9663 (compact): Re-implement using shiftDown.
9664
9665 2004-02-08 Andreas Jaeger <aj@suse.de>
9666
9667 * include/x86_64-signal.h: Fix typo.
9668
9669 2004-02-08 Diego Novillo <dnovillo@redhat.com>
9670
9671 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
9672 qualifier to _regs.
9673 (HANDLE_DIVIDE_OVERFLOW): Likewise.
9674
9675 2004-02-06 Michael Koch <konqueror@gmx.de>
9676
9677 * java/io/ObjectInputStream.java
9678 (currentClassLoader): Reverted to old version of this method.
9679
9680 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
9681
9682 * java/io/ObjectInputStream.java: Made all calls
9683 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
9684 use cached info from ObjectStreamClass. (readClassDescriptor):
9685 Cache more information in ObjectStreamClass. (processResolution,
9686 readFields): Use cached info from ObjectStreamClass.
9687 (newObject): Throw exception instead of returning null for failure.
9688 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
9689 setCharField, setDoubleField, setFloatField, setIntField,
9690 setLongField, setShortField, setObjectField, readObjectParams):
9691 Removed. (dumpElement, dumpElementln): Removed dump flag condition
9692 check.
9693 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
9694 (setClass): Added call to cacheMethods() (findMethod): New method.
9695 (cacheMethods): New method. (ObjectStreamClass): Added call to
9696 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
9697 AccessController.doPrivileged to invoke setAccessible.
9698 (readObjectMethod, readResolveMethod, realClassIsSerializable,
9699 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
9700 New fields.
9701 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
9702 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
9703 isPrimitive): Made safe for cases where type == null.
9704 (setBooleanField, setByteField, setCharField, setShortField,
9705 setIntField, setLongField, setFloatField, setDoubleField,
9706 setObjectField): New methods.
9707
9708 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
9709
9710 * java/awt/Component.java (getFont): Return a default font
9711 instead of null.
9712
9713 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
9714 (Scrollbar (int, int, int, int, int)): Make default page
9715 increment 10.
9716 (setValues): Only call peer.setValues if one of the values has
9717 changed.
9718 (generateName): New method.
9719 (getUniqueLong): New method.
9720 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
9721 (range_scrollbar): Remove structure.
9722 (post_adjustment_event): Remove function.
9723 (post_change_event): Accept jobject argument.
9724 (create): Cast jints to gdoubles. Round scrollbar values to the
9725 nearest integer. Clamp min, max and value settings.
9726 (connectJObject): Connect hook to widget->window.
9727 (connectSignals): Remove range_scrollbar structure variables.
9728 Remove "move-slider" connection. Pass global peer reference to
9729 "value-changed" callback.
9730 (setLineIncrement): Cast jint value to gdouble.
9731 (setPageIncrement): Likewise.
9732 (setValues): Likewise. Clamp min, max and value settings.
9733
9734 2004-02-05 Michael Koch <konqueror@gmx.de>
9735
9736 * javax/swing/AbstractCellEditor.java
9737 (getCellEditorValue): Removed.
9738 * javax/swing/Box.java: Reformated.
9739 (serialVersionUID): New field.
9740 * javax/swing/ButtonGroup.java:
9741 Removed some weird whitespace.
9742 * javax/swing/CellEditor.java: Reformated.
9743 * javax/swing/CellRendererPane.java
9744 (serialVersionUID): New field.
9745 (AccessibleCellRendererPaneserialVersionUID): New field.
9746 * javax/swing/DefaultListModel.java
9747 (serialVersionUID): New field.
9748 * javax/swing/JEditorPane.java
9749 (serialVersionUID): New field.
9750 (setPage): Throws IOException.
9751 (addHyperlinkListener): Implemented.
9752 (removeHyperlinkListener): Implemented.
9753 (getHyperlinkListener): New method.
9754 * javax/swing/JFileChooser.java
9755 (serialVersionUID): New field.
9756 (AccessibleJFileChooser.serialVersionUID): New field.
9757 (addActionListener): Implemented.
9758 (removeActionListener): Implemented.
9759 (getActionListeners): New method.
9760 * javax/swing/JFormattedTextField.java
9761 (serialVersionUID): New field.
9762 (AbstractFormatter.serialVersionUID): New field.
9763 (clone): Throws CloneNotSupportedException
9764 (setEditValid): Add missing argument.
9765 (stringToValue): Throws ParseExcpetion.
9766 (valueToString): Throws ParseException.
9767 (commitEdit): Throws ParseException.
9768 * javax/swing/JLabel.java
9769 (serialVersionUID): New field.
9770 * javax/swing/JList.java
9771 (serialVersionUID): New field.
9772 (addListSelectionListener): Reformated.
9773 (removeListSelectionListener): Reformated.
9774 (getListSelectionListeners): New method.
9775 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
9776 Reformated.
9777 (serialVersionUID): New field.
9778 * javax/swing/table/AbstractTableModel.java
9779 (getValueAt): Removed.
9780 (getColumnCount): Removed.
9781 (getRowCount): Removed.
9782
9783 2004-02-05 Michael Koch <konqueror@gmx.de>
9784
9785 * java/awt/datatransfer/DataFlavor.java
9786 (imageFlavor): Javadoc added.
9787 (javaJVMLocalObjectType): Fixed.
9788
9789 2004-02-05 Michael Koch <konqueror@gmx.de>
9790
9791 * java/lang/Thread.java
9792 (Thread): Reordered.
9793 (setContextClassLoader): Fixed javadoc comment.
9794 (setPriority): Reordered.
9795 (yield): Reordered.
9796 (initialize_native): Reordered.
9797 (gen_name): Reordered.
9798
9799 2004-02-05 Michael Koch <konqueror@gmx.de>
9800
9801 * java/lang/Thread.java: Reordered fields, reformated much code,
9802 no functional changes, some variables renamed, javadoc comments
9803 merged.
9804
9805 2004-02-05 Michael Koch <konqueror@gmx.de>
9806
9807 * java/util/zip/Deflater.java,
9808 java/util/zip/DeflaterOutputStream.java,
9809 java/util/zip/GZIPInputStream.java:
9810 Reformated and javadoc comments merged from classpath.
9811
9812 2004-02-05 Michael Koch <konqueror@gmx.de>
9813
9814 * gnu/java/nio/NIOServerSocket.java
9815 (impl): Unused, removed.
9816 * gnu/java/nio/SocketChannelImpl.java
9817 (finnishConnect): Don't throw NoConnectionPendingException if not
9818 connected or no connection pending.
9819
9820 2004-02-02 Graydon Hoare <graydon@redhat.com>
9821
9822 * javax/swing/SwingUtilities.java: Many new functions.
9823 * java/awt/Container.java (LightweightDispatcher): Reimplement.
9824 * javax/swing/basic/BasicGraphicsUtils.java
9825 (getPreferredButtonSize): Start layout from top-left corner.
9826
9827 2004-02-04 Olga Rodimina <rodimina@redhat.com>
9828
9829 * java/awt/geom/AffineTransform.java:
9830 Corrected comments on the field definitions for
9831 m11 and m10.
9832 (shear): Fixed few errors that caused shear
9833 transformation to be performed incorrectly.
9834 (createInverse): Fixed to return correct
9835 inverse of the given matrix.
9836
9837 2004-02-03 Tom Tromey <tromey@redhat.com>
9838
9839 * java/lang/natPosixProcess.cc (startProcess): Handle case where
9840 PATH or LD_LIBRARY_PATH is not set in parent environment.
9841
9842 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
9843
9844 * gnu/java/awt/peer/gtk/GtkListPeer.java,
9845 java/awt/BorderLayout.java, java/awt/CardLayout.java,
9846 java/awt/CheckboxGroup.java, java/awt/Choice.java,
9847 java/awt/Component.java, java/awt/Container.java,
9848 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
9849 java/awt/LayoutManager2.java, java/awt/List.java,
9850 java/awt/Menu.java, java/awt/MenuBar.java,
9851 java/awt/MenuItem.java, java/awt/Polygon.java,
9852 java/awt/Rectangle.java, java/awt/ScrollPane.java,
9853 java/awt/Scrollbar.java, java/awt/TextArea.java,
9854 java/awt/TextField.java,
9855 java/awt/image/renderable/RenderContext.java,
9856 javax/swing/JApplet.java: Fix handling of alias methods, where a
9857 method has been deprecated in favour of a new one with the same
9858 funtion but a different name. Put the method implementation in
9859 the deprecated method and have the new method call the
9860 deprecated one. Make all other code call the new method.
9861
9862 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
9863
9864 * gnu/java/nio/DatagramChannelImpl.java
9865 (inChannelOperation): New field.
9866 (isInChannelOperation): New accessor.
9867 (setInChannelOperation): New modifier.
9868 (receive): Use capacity() - position() of destination
9869 buffer instead of remaining(). Set and reset our "in
9870 channel operation indicator" before and after delegating
9871 the receive to our datagram socket. Removed testing code.
9872 Update destination buffer's current position if it is
9873 backed by a byte array (hasArray() is true).
9874 (send): Set and reset our "in channel operation indicator"
9875 before and after delegating the send to our datagram socket.
9876 Removed testing code. Update source buffer's current position
9877 if it is backed by a byte array (hasArray() is true).
9878 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
9879 Use capacity() - position() of destination buffer instead
9880 of remaining().
9881 * java/net/DatagramSocket.java (receive): Don't throw an
9882 IllegalBlockingModeException if we have a non-blocking
9883 channel which initiated this operation.
9884 (send): Likewise.
9885
9886 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
9887
9888 * configure.in: Add pkgconfig check for glib and gthread.
9889 * configure: Regenerate.
9890
9891 2004-02-01 Michael Koch <konqueror@gmx.de>
9892
9893 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
9894 arguments.
9895 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
9896 * verify.cc (debug_print): Mark 'fmt' unused.
9897
9898 2004-01-30 Michael Koch <konqueror@gmx.de>
9899
9900 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
9901 * configure: Regenerated.
9902 * glib-2.0.m4: Removed.
9903 * gtk-2.0.m4: Removed.
9904 * libart.m4: Removed.
9905 * pkg.m4: New file.
9906
9907 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
9908
9909 * gnu/java/net/PlainSocketImpl.java
9910 (inChannelOperation): New field.
9911 (isInChannelOperation): New accessor.
9912 (setInChannelOperation): New modifier.
9913 * gnu/java/nio/ServerSocketChannelImpl.java
9914 (accept): Set and reset our server socket's PlainSocketImpl's
9915 "in channel operation" indicator before and after delegating
9916 the accept to our server socket.
9917 * gnu/java/nio/SocketChannelImpl.java
9918 (connect): Set and reset our socket's PlainSocketImpl's "in channel
9919 operation" indicator before and after delegating the operation to
9920 our socket.
9921 (read): Likewise.
9922 (write): Likewise.
9923 * java/net/ServerSocket.java (implAccept): Don't throw an
9924 IllegalBlockingModeException if we have a non-blocking
9925 channel which initiated this accept operation.
9926 * java/net/Socket.java (connect): Don't throw an
9927 IllegalBlockingModeException if we have a non-blocking
9928 channel which initiated this connect operation.
9929 * java/nio/channels/spi/AbstractSelectableChannel.java
9930 (configureBlocking): Only call implConfigureBlocking() if
9931 the desired blocking mode is different from our current one.
9932
9933 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
9934
9935 * java/io/BufferedReader.java (sbuf): New field.
9936 (readLine): Use String.valueOf instead of new String() as per
9937 Per Bothner's suggestion. Use instance sbuf field instead of a
9938 local StringBuffer instance.
9939 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
9940 caller's buffer to refill().
9941 (read(void)): Pass our internal work buffer to refill if our
9942 input queue is empty.
9943 (refill): Changed return type to int. Use the specified buffer
9944 instead of our work buffer as per Bryce McKinlay's suggestion.
9945 Return the number of characters read or -1 for EOF.
9946
9947 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9948
9949 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
9950
9951 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9952
9953 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
9954 * Makefile.in: Re-generated.
9955 * gnu/awt/xlib/XFontPeer.java: New file.
9956 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
9957 (setClip): Commented out debug printout.
9958 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
9959 (getFontPeer): Return XFontPeer.
9960 (getLocalGraphicsEnvironment): New method.
9961 (getClasspathFontPeer): New method.
9962 (createFont): New method.
9963
9964 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
9965
9966 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
9967 return null.
9968
9969 2004-01-29 Kim Ho <kho@redhat.com>
9970
9971 * gnu/java/awt/peer/gtk/GtkFramePeer.java
9972 (gtkLayoutSetVisible): New method
9973 (setMenuBar): Hide layout before setting MenuBar
9974 and reshow it after.
9975 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
9976 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
9977
9978 2004-01-28 Michael Koch <konqueror@gmx.de>
9979
9980 * gnu/java/lang/ClassHelper.java
9981 (getPackagePortion): Removed.
9982
9983 2004-01-28 Michael Koch <konqueror@gmx.de>
9984
9985 * javax/swing/JComponent.java
9986 (listenerList): Initalize globally.
9987 (ancestor_list): Removed.
9988 (veto_list): Removed.
9989 (change_list): Removed.
9990 (get_veto_list): Removed.
9991 (get_change_list): Removed.
9992 (get_ancestor_list): Removed.
9993 (removeAncestorListener): Reimplemented.
9994 (removePropertyChangeListener): Likewise.
9995 (removeVetoableChangeListener): Likewise.
9996 (addAncestorListener): Likewise.
9997 (addPropertyChangeListener): Likewise.
9998 (addVetoableChangeListener): Likewise.
9999 (getListeners): New method.
10000 (getAncestorListeners): Likewise.
10001 (getVetoableChangeListeners): Likewise.
10002 (fireVetoableChange): Throws PropertyVetoException.
10003 * javax/swing/JEditorPane.java
10004 (JEditorPane): Throws IOException.
10005
10006 2004-01-28 David Jee <djee@redhat.com>
10007
10008 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10009 (create): Set the default foreground color to
10010 java.awt.SystemColor.windowText.
10011
10012 2004-01-27 Michael Koch <konqueror@gmx.de>
10013
10014 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
10015 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10016 Reindented to merge with classpath.
10017
10018 2004-01-27 David Jee <djee@redhat.com>
10019
10020 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10021 (addExposeFilter): Handle GtkFramePeer separately.
10022 (removeExposeFilter): Likewise.
10023
10024 2004-01-27 Michael Koch <konqueror@gmx.de>
10025
10026 * gnu/java/net/protocol/http/Connection.java
10027 (getOutputStream): Fixed typo.
10028
10029 2004-01-27 Michael Koch <konqueror@gmx.de>
10030
10031 * java/lang/Class.java
10032 (getConstructor): Removed SecurityException from throws clause.
10033 (_getConstructors): Likewise.
10034 (getConstructors): Likewise.
10035 (getDeclaredConstructor): Likewise.
10036 (getDeclaredClasses): Likewise.
10037 (getDeclaredConstructors): Likewise.
10038 (getDeclaredField): Likewise.
10039 (getDeclaredMethod): Likewise.
10040 (getDeclaredMethods): Likewise.
10041 (getField): Likewise.
10042 (getMethod): Likewise.
10043 (getMethods): Likewise.
10044
10045 2004-01-27 Kim Ho <kho@redhat.com>
10046
10047 * gnu/java/awt/peer/gtk/GtkFramePeer.java
10048 (removeMenuBarPeer): Remove MenuBarPeer argument.
10049 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
10050 (dispose): Call native method.
10051 * java/awt/Frame.java (setMenuBar): Create and remove
10052 MenuBar peers only if the Frame has a peer.
10053 (addNotify): Create the MenuBar peer if one exists.
10054 (removeNotify): Remove MenuBar peer if one exists.
10055 * java/awt/Menu.java: Fix imports.
10056 (addNotify): Don't use full class name.
10057 (removeNotify): Call removeNotify on all children.
10058 * java/awt/MenuBar.java (removeNotify): Call
10059 removeNotify on all children.
10060 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10061 (removeMenuBarPeer): Remove MenuBarPeer argument.
10062 Iterate through children to find the Frame's MenuBar.
10063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
10064 New file.
10065 (dispose): Remove references to the MenuComponent.
10066
10067 2004-01-27 Michael Koch <konqueror@gmx.de>
10068
10069 * javax/swing/AbstractCellEditor.java: Reformated.
10070 * javax/swing/DefaultListSelectionModel.java
10071 (listenerList): Made protected.
10072 (addListSelectionListener): Javadoc added.
10073 (removeListSelectionListener): Likewise.
10074 (getListeners): Likewise.
10075 (getListSelectionListeners): Likewise.
10076 * javax/swing/JComboBox.java: Merged copyright year.
10077 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
10078
10079 2004-01-26 Andrew Haley <aph@redhat.com>
10080
10081 * javax/swing/table/JTableHeader.java: Extend JComponent
10082
10083 2004-01-26 Kim Ho <kho@redhat.com>
10084
10085 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
10086 Fix spacing.
10087
10088 2004-01-26 Kim Ho <kho@redhat.com>
10089
10090 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
10091 method.
10092 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
10093 height and let the Layout Managers readjust anything that
10094 needs to move.
10095 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10096 (moveLayout): New method. Shift everything in the Gtk
10097 layout in the Y direction by an offset.
10098
10099 2004-01-26 David Jee <djee@redhat.com>
10100
10101 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10102 (handleEvent): Implemented. Handles PaintEvents.
10103 (paint): Implemented. Use GTK native methods to queue updates
10104 for this heavyweight peer.
10105 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10106 (handleEvent): Removed.
10107 * java/awt/Component.java
10108 (paint): Implemented. Explictly paint the heavyweight peer.
10109 (update): Clear the background for heavyweight components.
10110 (paintAll): No need to call peer.paint() anymore.
10111 (processEvent): Don't process PaintEvents here. It's now done in
10112 the peer's handleEvent().
10113 (processPaintEvent): Removed.
10114 * java/awt/Container.java
10115 (paint): No need to call super.paint(). Visit heavyweight
10116 children as well.
10117 (update): Don't clear the background here. It's done in
10118 Component.update().
10119 (visitChildren): Added check to not recurse into Containers.
10120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10121 (filter_expose_event_handler): New method. Filter unwanted
10122 expose events while painting heavyweight peers.
10123 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
10124 New method. Connect filter and block pre_event_handler.
10125 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
10126 New method. Disconnect filter and unblock pre_event_handler.
10127 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
10128 New method. Invalidate and update given area.
10129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10130 (pre_event_handler): Add checks for unwanted expose events.
10131
10132 2004-01-26 David Jee <djee@redhat.com>
10133
10134 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
10135 (find_bg_color_widget): For GtkButton, return its child.
10136
10137 2004-01-26 Kim Ho <kho@redhat.com>
10138
10139 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
10140 private.
10141 (setMenuBar): Grab MenuBar height and change insets.
10142 (setBounds): Account for MenuBar height.
10143 (postInsetsChangedEvent): Ditto.
10144 (postSizeAllocateEvent): Remove.
10145 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10146 (menubar_resize_cb): Remove
10147 (setMenuBarPeer): Remove callback.
10148 (getMenuBarHeight): Use size requisition instead of
10149 allocation.
10150
10151 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10152
10153 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
10154 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
10155 when peer is null.
10156 (setColumns): Remove FIXME -- peer will retrieve number of
10157 columns by calling getColumns.
10158 (setRows): Likewise for number of rows.
10159 (next_text_number): New field.
10160 (paramString): Fix param string.
10161 (generateName): New method.
10162 (getUniqueLong): New method.
10163
10164 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
10165
10166 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
10167 image observer of image loading status.
10168 (getImage (String)): Start image production.
10169 (getImage (URL)): Likewise.
10170
10171 2004-01-25 Michael Koch <konqueror@gmx.de>
10172
10173 * java/lang/Class.java: Imports reworked, reformated.
10174 (Class): Javadoc added.
10175 (forName): Likewise.
10176 (getClasses): Likewise.
10177 (getClassLoader): Likewise.
10178 (getComponentType): Likewise.
10179 (getConstructor): Likewise.
10180 (getConstructors): Likewise.
10181 (getDeclaredConstructor): Likewise.
10182 (getDeclaredClasses): Likewise.
10183 (getDeclaredConstructors): Likewise.
10184 (getDeclaredField): Likewise.
10185 (getDeclaredMethod): Likewise.
10186 (getDeclaredMethods): Likewise.
10187 (getDeclaringClass): Likewise.
10188 (getField): Likewise.
10189 (getInterfaces): Likewise.
10190 (getMethod): Likewise.
10191 (getMethods): Likewise.
10192 (getModifiers): Likewise.
10193 (getName): Likewise.
10194 (getResource): Likewise.
10195 (getResourceAsStream): Likewise.
10196 (getSigners): Likewise.
10197 (setSigners): Likewise.
10198 (getSuperclass): Likewise.
10199 (isArray): Likewise.
10200 (isAssignableFrom): Likewise.
10201 (isInstance): Likewise.
10202 (isInterface): Likewise.
10203 (isPrimitive): Likewise.
10204 (newInstance): Likewise.
10205 (getProtectionDomain): Likewise.
10206 (toString): Likewise.
10207 (Class): Moved.
10208 (initializeClass): Likewise.
10209 (finalize): Likewise.
10210
10211 2004-01-24 Michael Koch <konqueror@gmx.de>
10212
10213 * gnu/java/net/protocol/jar/Connection.java
10214 (hdrHash): Removed.
10215 (hdrVec): Removed.
10216 (gotHeaders): Removed.
10217 (getHeaderField): Removed.
10218 (getHeaderFields): Removed.
10219 (getHeaderFieldKey): Removed.
10220 (getKey): Removed.
10221 (getField): Removed.
10222 (getHeaders): Removed.
10223
10224 2004-01-24 Michael Koch <konqueror@gmx.de>
10225
10226 * Makefile.am: Added library version to gtk peer lib.
10227 * Makefile.in: Regenerated.
10228
10229 2004-01-24 Michael Koch <konqueror@gmx.de>
10230
10231 * java/util/zip/InflaterInputStream.java: Merged class documentation
10232 with classpath.
10233
10234 2004-01-21 Jakub Jelinek <jakub@redhat.com>
10235
10236 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
10237 header. For __powerpc64__ provide the default-signal.h definitions
10238 for now.
10239 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
10240 instead of the dummy definitions.
10241 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
10242 (powerpc64*-*): Remove with_libffi_default.
10243 Only add -mminimal-toc for 64-bit compilations.
10244 * configure.in: Use powerpc-signal.h on powerpc64 as well.
10245 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
10246 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
10247 * configure: Rebuilt.
10248
10249 2004-01-23 Michael Koch <konqueror@gmx.de>
10250
10251 * gnu/java/nio/FileLockImpl.java: Compile fixes.
10252
10253 2004-01-23 Michael Koch <konqueror@gmx.de>
10254
10255 * java/lang/VMClassLoader.java: Reworked imports.
10256
10257 2004-01-23 Michael Koch <konqueror@gmx.de>
10258
10259 * javax/swing/AbstractAction.java: Reformated.
10260
10261 2004-01-23 Michael Koch <konqueror@gmx.de>
10262
10263 * java/text/CollationElementIterator.java:
10264 (setText): New method.
10265
10266 2004-01-23 Michael Koch <konqueror@gmx.de>
10267
10268 * gnu/java/nio/FileLockImpl.java:
10269 Fixed filename in copyright.
10270 (released): Removed.
10271 (finalize): New method.
10272 * gnu/java/nio/natFileLockImpl.cc
10273 (releaseImpl): Implemented.
10274 * java/nio/channels/FileChannelImpl.java:
10275 Reworked imports.
10276 (lock): Implemented.
10277 (lockImpl): New method.
10278 (tryLock): Implemented.
10279 (tryLockImpl): New method.
10280 * java/nio/channels/natFileChannelImpl.cc
10281 (lockImpl): New method.
10282 (tryLockImpl): New method.
10283
10284 2004-01-23 Michael Koch <konqueror@gmx.de>
10285
10286 * java/io/FileDescriptor.java
10287 (lock): New method.
10288 (tryLock): New method.
10289 (unlock): New method.
10290 * java/io/natFileDescriptorEcos.cc
10291 (lock): New method.
10292 (tryLock): New method.
10293 (unlock): New method.
10294 * java/io/natFileDescriptorPosix.cc
10295 (lock): New method.
10296 (tryLock): New method.
10297 (unlock): New method.
10298 * java/io/natFileDescriptorWin32.cc
10299 (lock): New method.
10300 (tryLock): New method.
10301 (unlock): New method.
10302
10303 2004-01-23 Michael Koch <konqueror@gmx.de>
10304
10305 * java/io/FileDescriptor.java
10306 (sync): Moved around, added javadoc.
10307 (valid): Likewise.
10308 (open): Likewise.
10309 (write): Likewise.
10310 (close): Likewise.
10311 (setLength): Likewise.
10312 (seek): Likewise.
10313 (getLength): Likewise.
10314 (getFilePointer): Likewise.
10315 (read): Likewise.
10316 (available): Likewise.
10317 (finalize): Likewise.
10318
10319 2004-01-23 Michael Koch <konqueror@gmx.de>
10320
10321 * javax/swing/AbstractAction.java: Reformated.
10322 (getPropertyChangeListeners): New method.
10323 * javax/swing/AbstractCellEditor.java: Reformated.
10324 (getCellEditorListeners): New method.
10325 * javax/swing/DefaultListSelectionModel.java
10326 (listenerList): New field.
10327 (listeners): Removed.
10328 (get_listeners): Removed.
10329 (addListSelectionListener): Rewritten.
10330 (removeListSelectionListener): Rewritten.
10331 (getListSelectionListeners): New method.
10332 (getListeners): New method.
10333 * javax/swing/JComboBox.java: Imports reworked.
10334 (addActionListener): Implemented.
10335 (removeActionListener): Implemented.
10336 (addItemListener): Implemented.
10337 (removeItemListener): Implemented.
10338 (addPopupMenuListener): Implemented.
10339 (removePopupMenuListener): Implemented.
10340 (getActionListeners): New method.
10341 (getItemListeners): New method.
10342 (getPopupMenuListeners): New method.
10343
10344 2004-01-23 Michael Koch <konqueror@gmx.de>
10345
10346 * gnu/java/net/protocol/http/Connection.java
10347 (connect): Don't initialize bufferedOutputStream if not needed.
10348 (sendRequest): Set property for content length if content is present.
10349 Write content only if present.
10350 (getOutputStream): Check if already connected, dont connect,
10351 initalize bufferedOutputStream if needed.
10352
10353 2004-01-23 Michael Koch <konqueror@gmx.de>
10354
10355 * java/io/FileDescriptor.java
10356 (in, out, err): Added javadoc.
10357 (static): Merged loading code.
10358 (fd, position): Moved around.
10359
10360 2004-01-23 Michael Koch <konqueror@gmx.de>
10361
10362 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
10363 New file.
10364
10365 2004-01-23 Michael Koch <konqueror@gmx.de>
10366
10367 * java/lang/Class.java,
10368 java/lang/Object.java,
10369 java/lang/Thread.java: Merged copyright with classpath.
10370
10371 2004-01-23 Michael Koch <konqueror@gmx.de>
10372
10373 * java/io/FileDescriptor.java: Merged copyright with classpath to
10374 start merging this class.
10375
10376 2004-01-22 Tom Tromey <tromey@redhat.com>
10377
10378 PR libgcj/13107:
10379 * testsuite/libjava.lang/pr13107_2.xfail: New file.
10380 * testsuite/libjava.lang/pr13107_3.xfail: New file.
10381 * testsuite/libjava.lang/pr13107_3.java: New file.
10382 * testsuite/libjava.lang/pr13107_3.out: New file.
10383 * testsuite/libjava.lang/pr13107_2.java: New file.
10384 * testsuite/libjava.lang/pr13107_2.out: New file.
10385 * testsuite/libjava.lang/pr13107.java: New file.
10386 * testsuite/libjava.lang/pr13107.out: New file.
10387 * verify.cc (jsr_ptrs): Removed.
10388 (entry_points): Likewise.
10389 (struct subr_info): Likewise.
10390 (struct subr_entry_info): Likewise.
10391 (type_val::unused_by_subroutine_type): Likewise.
10392 (type::merge): Don't handle unused_by_subroutine_type.
10393 (type::print): Likewise.
10394 (state::flags): Removed.
10395 (state::subroutine): Likewise.
10396 (state::seen_subrs): Likewise.
10397 (state::NO_STACK): Likewise.
10398 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
10399 (state): Updated all methods.
10400 (state::clean_subrs): Removed.
10401 (state::state): Removed `ret_semantics' flag.
10402 (state::copy): Likewise.
10403 (state::add_subr): Removed.
10404 (state::enter_subroutine): Likewise.
10405 (type::set_return_address): New method.
10406 (handle_jsr_insn): Set return address on the type. Always
10407 invalidate PC after call.
10408 (check_nonrecursive_call): Removed.
10409 (~_Jv_BytecodeVerifier): Updated.
10410 (branch_prepass): Removed special handling of jsr.
10411 (note_branch_target): Likewise.
10412 (get_subroutine): Removed.
10413 (state::merge): Don't merge subroutines and don't handle
10414 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
10415 (state::note_variable): Removed.
10416 (state::is_unmerged_ret_state): Likewise.
10417 (state::print): Updated.
10418 (set_variable): Likewise.
10419 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
10420 and jsr_semantics arguments. Updated for new reverification
10421 list.
10422 (pop_jump): Rewrote.
10423 (construct_primitive_array_type): Updated.
10424 (state::next): Removed.
10425 (INVALID_STATE): New define.
10426 (state::INVALID): Removed.
10427 (state::NO_NEXT): New value.
10428 (state::pc, state::next): New fields.
10429 (state::get_pc): New method.
10430 (next_verify_pc): Removed.
10431 (next_verify_state): New field.
10432 (verify_instructions_0): Always check for falling off end.
10433 (linked): New type.
10434 (linked_utf8): Removed.
10435 (states): Changed type.
10436 (type::state_mergeable_p): New method.
10437 (state::state_mergeable_p): Likewise.
10438 (handle_ret_insn): Removed most code.
10439 (state::reverify): New method.
10440 (add_new_state): Likewise.
10441 (state::set_pc): Likewise.
10442
10443 2004-01-22 Jeff Sturm <jsturm@one-point.com>
10444
10445 PR java/13733
10446 * testsuite/libjava.compile/PR13733.java: New file.
10447 * testsuite/libjava.compile/PR13733.xfail: New file.
10448
10449 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
10450 Michael Koch <konqueror@gmx.de>
10451
10452 * javax/swing/table/DefaultTableCellRenderer.java
10453 (DefaultTableCellRenderer): Added javadoc for the class and for
10454 the constructor, Border instance, create an EmptyBorder.
10455 (UIResource): Removed the comment at the end of the class
10456 (setForeground): New method.
10457 (setBackground): New method.
10458 (updateUI): New method.
10459 (getTableCellRendererComponent): Rewritten with the help of
10460 dvholten and Stephane Meslin-Weber.
10461 (validate): New method.
10462 (repaint): New method.
10463 (firePropertyChange): New method.
10464 (setValue): New method.
10465
10466 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
10467
10468 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10469 (connectJObject): Replace printf calls with g_assert statements.
10470 Move property-notify-event signal connection to ...
10471 (connectSignals): Connect property-notify-event signal. Iterate
10472 through the vbox's children to find layout.
10473
10474 2004-01-22 Graydon Hoare <graydon@redhat.com>
10475
10476 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
10477 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
10478 Predicate static initialization on GtkToolkit.useGraphics2D().
10479 * java/awt/Component.java (processPaintEvent): Consume event.
10480 * javax/swing/AbstractButton.java: Reimplement, document.
10481 * javax/swing/DefaultButtonModel.java: Reimplement, document.
10482 * javax/swing/JComponent.java (paint): Use double buffer.
10483 (listenerList): Enable member.
10484 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
10485 * javax/swing/JToggleButton.java
10486 (JToggleButton): Modify model constructor.
10487 * javax/swing/SwingUtilities.java
10488 (layoutCompoundLabel): Adjust arithmetic.
10489 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
10490 * javax/swing/plaf/basic/BasicGraphicsUtils.java
10491 (getPreferredButtonSize): Include margins in calculation.
10492 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10493 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
10494 Receive up events from subordinate layout component.
10495
10496 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
10497
10498 * java/awt/Component.java (show): Set visible to true before
10499 showing the peer.
10500
10501 2004-01-21 Kim Ho <kho@redhat.com>
10502
10503 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
10504 Fix comments.
10505 (removeMenuBarPeer): Make package private.
10506 (setMenuBarPeer): Make package private.
10507 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10508 (menubar_resize_cb): Mark attributes unused.
10509 (getMenuBarHeight): ditto.
10510
10511 2004-01-21 David Jee <djee@redhat.com>
10512
10513 * java/awt/Container.java
10514 (LightweightDispatcher.handleEvent): Add an extra check to avoid
10515 dispatching MOUSE_ENTERED event twice. Translate the point for
10516 the mouse event target before dispatching the event.
10517
10518 2004-01-20 Jakub Jelinek <jakub@redhat.com>
10519
10520 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
10521 lib_org_w3c_dom_la_LDFLAGS): New.
10522 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
10523 * Makefile.in: Rebuilt.
10524
10525 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
10526
10527 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
10528 Calculate proper offsets for heavyweight components packed in
10529 lightweight containers.
10530
10531 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
10532 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
10533 (native create): Add width parameter.
10534 (create): Calculate text entry width based on current font's
10535 metrics and number of columns. Set TextField's font if not
10536 already set. Call native create.
10537 (gtkEntryGetBorderWidth): New native method.
10538 (gtkEntryGetSize): Remove method.
10539 (getMinimumSize): Call minimumSize.
10540 (getPreferredSize): Call preferredSize.
10541 (minimumSize): Calculate minimum size based on backing
10542 GtkEntry's borders, font metrics and number of columns.
10543 (preferredSize): Likewise for preferred size.
10544 (get_border_width): New static function.
10545
10546 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
10547 Override GtkWindowPeer's setResizable method to account for menu
10548 bar height when setting the frame's size.
10549
10550 2004-01-19 Matthias Klose <doko@debian.org>
10551
10552 * libtool-version: Increased `current' to 6.
10553
10554 2004-01-19 Kim Ho <kho@redhat.com>
10555
10556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10557 (connectJObject): Iterate through the vbox's children to find layout.
10558
10559 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10560
10561 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
10562 isDispatchThread method to replace wrong test condition.
10563
10564 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10565
10566 * java/awt/EventQueue.java (pop): Prevent racing condition to add
10567 events to the queue out of order by acquiring locks in the proper
10568 order and not by releasing one before acquiring the other.
10569
10570 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10571
10572 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
10573 visible so that dialog can be reused.
10574
10575 2004-01-19 Fernando Nasser <fnasser@redhat.com>
10576
10577 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
10578 events may be handled by any queue in the stack.
10579
10580 2004-01-19 Kim Ho <kho@redhat.com>
10581
10582 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
10583 MenuBarPeer parameter.
10584 (removeMenuBarPeer): New native method.
10585 (setMenuBar): Call remove if menu bar is null. Adjust insets
10586 appropriately.
10587 (postSizeAllocateEvent): New method. Called when menu bar size is
10588 allocated. Adjust insets and redo layout.
10589 (GtkFramePeer): Set menu bar during frame creation.
10590 (postConfigureEvent): Adjust position and size to accomodate
10591 menu bar.
10592 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
10593 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
10594 (addNotify): Create the peer if it doesn't exist and call addNotify
10595 for the menu's items.
10596 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
10597 * java/awt/MenuItem.java (addNotify): Create the peer if it
10598 doesn't exist.
10599 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10600 (removeMenuBarPeer): New method. Remove menu bar on the current
10601 frame.
10602 (setMenuBarPeer): Add the menu bar to the current frame and the
10603 callback for size-allocate events on the menu bar.
10604 (getMenuBarHeight): Add menu bar parameter.
10605 (menubar_resize_cb): New callback method for postSizeAllocate events.
10606
10607 Also: Fix indentation on last ChangeLog entry.
10608
10609 2004-01-16 Kim Ho <kho@redhat.com>
10610
10611 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10612 (gtkWidgetGetDimensions): Remove.
10613 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10614 (gtkWidgetGetDimensions): Remove.
10615
10616 2004-01-16 Tom Tromey <tromey@redhat.com>
10617
10618 * java/awt/Container.java: Typo and indentation fixes.
10619
10620 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
10621 * java/lang/natVMClassLoader.cc: ...here. New file.
10622 * Makefile.in: Rebuilt.
10623 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
10624
10625 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10626
10627 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
10628 Discard GDK_ENTER_NOTIFY related to ungrabs.
10629
10630 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10631
10632 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
10633 is called for an intermediate queue.
10634
10635 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
10636
10637 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10638 (window_property_changed_cb): Set id_set.
10639
10640 2004-01-16 Kim Ho <kho@redhat.com>
10641
10642 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
10643 it is a FileDialog and has dimensions of 0 by 0, then the initial
10644 size is set to size request plus insets.
10645 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
10646 (gtkWidgetGetDimensions): Override method.
10647 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10648 (gtkWidgetGetDimensions): Override method. Returns size request plus
10649 insets.
10650
10651 2004-01-16 Andrew Haley <aph@redhat.com>
10652
10653 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
10654 * sysdep/i386/locks.h: Likewise.
10655
10656 2004-01-16 Fernando Nasser <fnasser@redhat.com>
10657
10658 * java/awt/EventDispatchThread.java (run): Stop running when
10659 interrupted.
10660 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
10661 Reset the queue after transferring its contents.
10662 (push): Start a new dispatch thread if none is running.
10663
10664 2004-01-16  Olga Rodimina <rodimina@redhat.com>
10665
10666 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10667 (doPolygon): set fill rule of polygon to
10668 WIND_EVEN_ODD by default.
10669
10670 2004-01-15 Olga Rodimina <rodimina@redhat.com>
10671
10672 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
10673 Implemented rendering hints related methods.
10674 (getDefaultHints): New helper method. Returns
10675 default rendering hints.
10676 (walkPath): changed to normalize path if
10677 the KEY_STROKE_CONTROL key is in "normalize" mode.
10678 (draw3DRect): changed coordinates of rectangle by +0.5
10679 if in "normalize" mode.
10680
10681 2004-01-15 Tom Tromey <tromey@redhat.com>
10682
10683 * Makefile.in: Rebuilt.
10684 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
10685 (%.lo: %.java) Filter out StackTrace.lo.
10686
10687 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
10688
10689 * configure.in: Add in AC_PREREQ(2.13)
10690 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
10691 FIXME comment.
10692
10693 2004-01-14 Nathan Bryant <nbryant@optonline.net>
10694 Tom Tromey <tromey@redhat.com>
10695
10696 PR libgcj/12001:
10697 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
10698 array to superclass.
10699 (init): Changed interface; add URLs here.
10700 (initialize): New static method.
10701 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
10702 (_Jv_RunMain): ... not here.
10703
10704 2004-01-14 Michael Koch <konqueror@gmx.de>
10705
10706 * java/text/MessageFormat.java:
10707 Added descriptions to exceptions.
10708 This fixes PR libgcj/2429.
10709
10710 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10711
10712 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
10713 (push): Make sure push is performed at the top of the thread stack.
10714
10715 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10716
10717 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
10718 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
10719 (native create): Add width and height parameters. Set text
10720 view's size request according to new parameters.
10721 (create): Calculate text view size based on current font's
10722 metrics and number of rows and columns. Set TextArea's font if
10723 not already set. Call native create.
10724 (getMinimumSize): Call minimumSize.
10725 (getPreferredSize): Call preferredSize.
10726 (getHScrollbarHeight): New method.
10727 (getVScrollbarWidth): New method.
10728 (minimumSize): Calculate minimum size based on scrollbar
10729 visibility, scrollbar sizes, font metrics and number of rows and
10730 columns.
10731 (preferredSize): Likewise for preferred size.
10732 (gtkTextGetSize): Remove method.
10733
10734 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
10735
10736 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
10737 (initializeInsets): Remove method.
10738 (GtkComponentPeer): Initialize insets field. Remove call to
10739 initializeInsets.
10740 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
10741 Remove method.
10742 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
10743 Remove method.
10744 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
10745 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
10746 (latestInsets): Remove field.
10747 (native create): Add insets parameter. Call
10748 window_get_frame_extents. Set the window's default size and
10749 size request based on its frame extents.
10750 (create): Initialize insets.
10751 (postInsetsChangedEvent): New method.
10752 (postConfigureEvent): Remove parameters top, left, bottom,
10753 right. Remove insets-related logic.
10754 (connectJObject): Handle property-notify-event.
10755 (window_get_frame_extents, request_frame_extents,
10756 property_notify_predicate, window_property_changed_cb): New
10757 static functions.
10758 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
10759 (pre_event_handler): Remove insets-related logic for configure
10760 events.
10761 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
10762 Update postConfigureEvent signature.
10763
10764 2004-01-13 Fernando Nasser <fnasser@redhat.com>
10765
10766 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
10767 to handle Window "Closing" events.
10768
10769 2004-01-13  David Jee  <djee@redhat.com>
10770
10771 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
10772 (setBackground): New method. Children with no explicitly-set
10773 background will be repainted with the parent container's new
10774 background color.
10775
10776 2004-01-13  David Jee  <djee@redhat.com>
10777
10778 * Makefile.am: Add BitwiseXORComposite.java.
10779 * Makefile.in: Regenerated.
10780 * gcj/Makefile.in: Regenerated.
10781 * include/Makefile.in: Regenerated.
10782 * testsuite/Makefile.in: Regenerated.
10783
10784 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10785
10786 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
10787 not show modal dialogs twice and so that it allows showing a modal
10788 dialog from another modal dialog.
10789
10790 2004-01-12 Fernando Nasser <fnasser@redhat.com>
10791
10792 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
10793 and run secondary dispatch thread to process event queue while this
10794 thread is blocked.
10795
10796 2004-01-12 Graydon Hoare <graydon@redhat.com>
10797
10798 * gnu/java/awt/gtk/GdkGraphics2D.java
10799 (static): Check GtkToolkit before initializing static state.
10800 (Graphics2D): Don't construct transform with 0.5 unit offset.
10801
10802 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
10803
10804 * gnu/java/awt/BitwiseXORComposite.java: Add.
10805 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
10806 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
10807 (BitwiseXORComposite): Remove inner class.
10808
10809 2004-01-11 Michael Koch <konqueror@gmx.de>
10810
10811 * gnu/java/lang/reflect/TypeSignature.java
10812 (getEncodingOfClass): Documentation fixed.
10813 (getClassForEncoding): Give class loader to Class.forName().
10814 Documentation fixed.
10815
10816 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
10817
10818 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
10819
10820 2004-01-11 Michael Koch <konqueror@gmx.de>
10821
10822 * javax/swing/undo/StateEditable.java
10823 (RCSID): Removed redundant modifiers.
10824
10825 2004-01-10 Michael Koch <konqueror@gmx.de>
10826
10827 * javax/print/attribute/EnumSyntax.java
10828 (getStringTable): Made protected.
10829 (getEnumValueTable): Likewise.
10830 * javax/print/attribute/standard/JobKOctetsProcessed.java
10831 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
10832 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
10833 (JobMediaSheetsCompleted): Made class final.
10834 * javax/print/attribute/standard/OutputDeviceAssigned.java
10835 (getName): Fixed typo.
10836 * javax/print/attribute/standard/RequestingUserName.java
10837 (serialVersionUID): Fixed value.
10838
10839 2004-01-10 Michael Koch <konqueror@gmx.de>
10840
10841 * javax/swing/plaf/basic/BasicButtonUI.java,
10842 javax/swing/plaf/basic/BasicCheckBoxUI.java,
10843 javax/swing/plaf/basic/BasicListUI.java,
10844 javax/swing/plaf/basic/BasicOptionPaneUI.java,
10845 javax/swing/plaf/basic/BasicPanelUI.java,
10846 javax/swing/plaf/basic/BasicRadioButtonUI.java,
10847 javax/swing/plaf/basic/BasicScrollPaneUI.java,
10848 javax/swing/plaf/basic/BasicToggleButtonUI.java,
10849 javax/swing/plaf/basic/BasicViewportUI.java:
10850 Fixed import statements.
10851
10852 2004-01-10 Michael Koch <konqueror@gmx.de>
10853
10854 * gnu/java/awt/image/ImageDecoder.java
10855 (produce): Made public.
10856 * gnu/java/awt/peer/GLightweightPeer.java,
10857 gnu/java/awt/peer/gtk/GtkToolkit.java:
10858 Reformated.
10859
10860 2004-01-10 Michael Koch <konqueror@gmx.de>
10861
10862 * javax/swing/JRadioButtonMenuItem.java,
10863 javax/swing/JSeparator.java,
10864 javax/swing/JSplitPane.java,
10865 javax/swing/JTextPane.java,
10866 javax/swing/JToolBar.java,
10867 javax/swing/ListCellRenderer.java,
10868 javax/swing/ListModel.java,
10869 javax/swing/MenuElement.java,
10870 javax/swing/OverlayLayout.java,
10871 javax/swing/ProgressMonitor.java,
10872 javax/swing/ProgressMonitorInputStream.java,
10873 javax/swing/Renderer.java,
10874 javax/swing/RootPaneContainer.java,
10875 javax/swing/Scrollable.java,
10876 javax/swing/SingleSelectionModel.java,
10877 javax/swing/ToolTipManager.java,
10878 javax/swing/ViewportLayout.java,
10879 javax/swing/event/DocumentEvent.java,
10880 javax/swing/event/SwingPropertyChangeSupport.java,
10881 javax/swing/event/TreeSelectionEvent.java,
10882 javax/swing/event/UndoableEditEvent.java,
10883 javax/swing/text/AbstractDocument.java,
10884 javax/swing/text/AttributeSet.java,
10885 javax/swing/text/Caret.java,
10886 javax/swing/text/ComponentView.java,
10887 javax/swing/text/DefaultCaret.java,
10888 javax/swing/text/DefaultEditorKit.java,
10889 javax/swing/text/Document.java,
10890 javax/swing/text/EditorKit.java,
10891 javax/swing/text/GapContent.java,
10892 javax/swing/text/Keymap.java,
10893 javax/swing/text/MutableAttributeSet.java,
10894 javax/swing/text/PlainEditorKit.java,
10895 javax/swing/text/Segment.java,
10896 javax/swing/text/Style.java,
10897 javax/swing/text/StyledDocument.java,
10898 javax/swing/text/StyledEditorKit.java,
10899 javax/swing/text/TextAction.java,
10900 javax/swing/text/View.java: Fixed import statements.
10901
10902 2004-01-08 Graydon Hoare <graydon@redhat.com>
10903
10904 * javax/swing/JLayeredPane.java: Rewrite to accomodate
10905 djee@redhat.com's recent inverse ordering of Container elements.
10906
10907 2004-01-09 Michael Koch <konqueror@gmx.de>
10908
10909 * gnu/java/lang/ArrayHelper.java
10910 (equalsArray): Removed.
10911
10912 2004-01-09 Andrew Haley <aph@redhat.com>
10913
10914 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
10915 a Utf8Const field before looking at its class.
10916
10917 2004-01-09 Michael Koch <konqueror@gmx.de>
10918
10919 * javax/print/attribute/standard/DocumentName.java,
10920 javax/print/attribute/standard/JobHoldUntil.java,
10921 javax/print/attribute/standard/JobMessageFromOperator.java,
10922 javax/print/attribute/standard/JobName.java,
10923 javax/print/attribute/standard/JobOriginatingUserName.java,
10924 javax/print/attribute/standard/OutputDeviceAssigned.java,
10925 javax/print/attribute/standard/PrinterInfo.java,
10926 javax/print/attribute/standard/PrinterLocation.java,
10927 javax/print/attribute/standard/PrinterMakeAndModel.java,
10928 javax/print/attribute/standard/PrinterMessageFromOperator.java,
10929 javax/print/attribute/standard/PrinterName.java,
10930 javax/print/attribute/standard/RequestingUserName.java: New files.
10931 * Makefile.am (javax_source_files): Added new files.
10932 * Makefile.in: Regenerated.
10933
10934 2004-01-09 Michael Koch <konqueror@gmx.de>
10935
10936 * javax/swing/AbstractAction.java,
10937 javax/swing/AbstractSet.java,
10938 javax/swing/Action.java,
10939 javax/swing/ActionMap.java,
10940 javax/swing/BoundedRangeModel.java,
10941 javax/swing/ButtonModel.java,
10942 javax/swing/CellEditor.java,
10943 javax/swing/CellRendererPane.java,
10944 javax/swing/ComboBoxEditor.java,
10945 javax/swing/DebugGraphics.java,
10946 javax/swing/DefaultCellEditor.java,
10947 javax/swing/DefaultCellRenderer.java,
10948 javax/swing/DefaultComboBoxModel.java,
10949 javax/swing/DefaultDesktopManager.java,
10950 javax/swing/DefaultFocusManager.java,
10951 javax/swing/DefaultListCellRenderer.java,
10952 javax/swing/Icon.java,
10953 javax/swing/JButton.java,
10954 javax/swing/JCheckBoxMenuItem.java,
10955 javax/swing/JDesktopPane.java,
10956 javax/swing/JEditorPane.java,
10957 javax/swing/JMenu.java,
10958 javax/swing/JPanel.java,
10959 javax/swing/JPasswordField.java,
10960 javax/swing/JPopupMenu.java,
10961 javax/swing/JProgressBar.java: Reworked imports.
10962
10963 2004-01-09 Michael Koch <konqueror@gmx.de>
10964
10965 * java/awt/geom/PathIterator.java
10966 (WIND_EVEN_ODD): Removed redundant modifiers.
10967 (WIND_NON_ZERO): Likewise.
10968 (SEG_MOVETO): Likewise.
10969 (SEG_LINETO): Likewise.
10970 (SEG_QUADTO): Likewise.
10971 (SEG_CUBICTO): Likewise.
10972 (SEG_CLOSE): Likewise.
10973 * java/awt/image/SinglePixelPackedSampleModel.java:
10974 Removed redundant semicolon.
10975 * java/io/ObjectInputStream.java
10976 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
10977 * java/util/logging/Filter.java
10978 (isLoggable): Removed redundant modifier.
10979 * java/util/logging/LogManager.java:
10980 Removed redundant semicolon.
10981 * java/util/logging/XMLFormatter.java
10982 (format): Removed unused variable "key".
10983
10984 2004-01-08 Fernando Nasser <fnasser@redhat.com>
10985
10986 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
10987 New name for the former setFile native method.
10988 (setFile): New method.
10989 (setDirectory): Implemented.
10990 (connectSignals): New native method.
10991 (setFilenameFilter): Improve comment.
10992 (getGraphics): Comment.
10993 (gtkHideFileDialog): New method.
10994 (gtkDisposeFileDialog): New method.
10995 (gtkSetFilename): New method.
10996 * java/awt/Dialog.java (show): Block on modal dialogs, but only
10997 for FileDialog for now.
10998 (hide): New method.
10999 (dispose): New method.
11000 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11001 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
11002 deprecated creation functions. Make dialog modal. Add it to the
11003 window group.
11004 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
11005 function.
11006 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
11007 Rename to...
11008 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
11009 name.
11010 (window_closed): New function.
11011 (ok_clicked): New function.
11012 (cancel_clicked): New function.
11013
11014 2004-01-08 Michael Koch <konqueror@gmx.de>
11015
11016 * javax/swing/JLayeredPane.java: Revert changes to standard
11017 boilerplate, reworked imports.
11018
11019 2004-01-07 Tom Tromey <tromey@redhat.com>
11020
11021 PR libgcj/13439:
11022 * verify.cc (state::merge): Copy changed locals out of subroutine
11023 in NO_STACK case.
11024 (state::FLAG_CHANGED): New const.
11025 (state::FLAG_UNUSED): Likewise.
11026 (state::local_changed): Removed. Updated all users.
11027 (state::flags): New field.
11028 (state::merge): Added jsr_semantics argument, more logic.
11029 (push_jump_merge): Added jsr_semantics argument.
11030 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
11031 merging through the jsr instruction.
11032
11033 2004-01-07 Tom Tromey <tromey@redhat.com>
11034
11035 * scripts/MakeDefaultMimeTypes.java: Use \n, not
11036 backslash-newline.
11037
11038 2004-01-07 Graydon Hoare <graydon@redhat.com>
11039
11040 * java/awt/Container.java (LightweightDispatcher): Implement.
11041 (visitChild): Reuse graphics object.
11042 (dispatchEventImpl): Optionally dispatch to lightweight.
11043 (addNotifyContainerChildren): Build LightweightDispatcher.
11044
11045 2004-01-07 David Jee <djee@redhat.com>
11046
11047 * java/awt/Container.java
11048 (update): Clear only the clipped region, instead of clearing the
11049 entire Container.
11050 (visitChildren): Visit children in descending order.
11051
11052 2004-01-07 Michael Koch <konqueror@gmx.de>
11053
11054 * java/lang/reflect/Array.java: Merged documentation with classpath.
11055
11056 2004-01-07 Michael Koch <konqueror@gmx.de>
11057
11058 * java/text/CollationElementIterator.java
11059 (textIndex): Renamed from index.
11060 * java/text/CollationKey.java
11061 (collator): New member.
11062 (CollationKey): New argument for parent collator.
11063 (equals): Check for same collator, source string and key array.
11064 * java/text/RuleBasedCollator.java:
11065 Reformated.
11066 (RuleBasedCollator): Don't re-initialize frenchAccents with default
11067 value.
11068 (getCollationElementIterator): Rewritten.
11069 (getCollationKey): Added new argument to CollationKey constructor.
11070
11071 2004-01-07 Michael Koch <konqueror@gmx.de>
11072
11073 * gnu/java/nio/DatagramChannelImpl.java
11074 (blocking): Removed.
11075 (DatagramChannelImpl): Call configureBlocking().
11076 (implConfigureBlocking): Dont initialize blocking.
11077 * gnu/java/nio/ServerSocketChannelImpl.java
11078 (blocking): Removed.
11079 (ServerSocketChannelImpl): Call configureBlocking().
11080 (implConfigureBlocking): Dont initialize blocking.
11081 * gnu/java/nio/SocketChannelImpl.java
11082 (blocking): Removed.
11083 (SocketChannelImpl): Call configureBlocking().
11084 (implConfigureBlocking): Dont initialize blocking.
11085 (connect): Use isBlocking().
11086 * java/nio/channels/spi/AbstractSelectableChannel.java
11087 (configureBlocking): Use blockingLock() instead of LOCK.
11088 Set blocking after successfully called implConfigureBlocking().
11089 (register): Use blockingLock() instead of LOCK.
11090
11091 2004-01-07 Michael Koch <konqueror@gmx.de>
11092
11093 * java/net/ServerSocket.java (isBound): Fixed documentation.
11094
11095 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
11096
11097 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
11098 (changeEvent): Create event object on demand.
11099 (DefaultBoundedRangeModel, toString, setValue, setExtent,
11100 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
11101 fireStateChanged): Re-written.
11102 * javax/swing/event/EventListenerList.java: Reformatted, document
11103 typical usage.
11104 (toString): Implemented.
11105 (getListeners): Re-written.
11106 (remove): Re-written.
11107 (add): Re-written.
11108 (NO_LISTENERS): New singleton field.
11109 (listenerList): Declare as transient; document.
11110 (serialVersionUID): Document.
11111 (getListenerCount(Class)): More efficient implementation,
11112 also accepts null argument. Improve Javadoc.
11113 (getListenerCount()): Remove unnecessary cast; docfix.
11114 * javax/swing/undo/UndoableEditSupport.java:
11115 Re-format, document.
11116 (UndoableEditSupport): Set realSource field. Improve documentation.
11117 (_postEdit): Iterate over cloned listener vector.
11118 (toString): Don't emit realSource.
11119 (beginUpdate, endUpdate): Support nested updates.
11120 (postEdit): Use compound edit if present.
11121
11122 2004-01-06 Graydon Hoare <graydon@redhat.com>
11123
11124 * java/awt/Container.java (swapComponents): Add forgotten
11125 function, required for JLayeredPane change.
11126
11127 2004-01-06 Michael Koch <konqueror@gmx.de>
11128
11129 * java/text/CollationElementIterator.java: Reformated.
11130 (CollationElementIterator): Changed order of arguments.
11131 * java/text/RuleBasedCollator.java
11132 (RuleBasedCollator): Merged class documentation.
11133 (CollationElement): Added documentation.
11134 (compare): Reformated, renamed arguments.
11135 (equals): Likewise.
11136 (getCollationElementIterator): Likewise.
11137 (getCollationKey): Likewise.
11138
11139 2004-01-06 Graydon Hoare <graydon@redhat.com>
11140
11141 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
11142
11143 2004-01-06 Michael Koch <konqueror@gmx.de>
11144
11145 * gnu/java/net/protocol/file/Connection.java:
11146 Reformated copyright.
11147 (hdrHash): Removed.
11148 (hdrVec): Removed.
11149 (gotHeaders): Removed.
11150 (getHeaderField): Removed.
11151 (getHeaderField): Removed.
11152 (getHeaderFieldKey): Removed.
11153 (getKey): Removed.
11154 (getField): Removed.
11155 (getHeaders): Removed.
11156
11157 2004-01-06 Michael Koch <konqueror@gmx.de>
11158
11159 * javax/print/attribute/standard/DateTimeAtCompleted.java,
11160 javax/print/attribute/standard/DateTimeAtCreation.java,
11161 javax/print/attribute/standard/DateTimeAtProcessing.java,
11162 javax/print/attribute/standard/JobImpressionsCompleted.java,
11163 javax/print/attribute/standard/JobKOctets.java,
11164 javax/print/attribute/standard/JobKOctetsProcessed.java,
11165 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
11166 javax/print/attribute/standard/JobPrioritySupported.java: New files.
11167 * Makefile.am (javax_source_files): Added new files.
11168 * Makefile.in: Regenerated.
11169
11170 2004-01-06 Michael Koch <konqueror@gmx.de>
11171
11172 * java/net/URLConnection.java
11173 (contentHandler): Removed.
11174 (locale): Removed.
11175 (getHeaderFields): Return an empty map instead of null.
11176 (getContent): Connect if needed, renamed "cType" to "type" and
11177 "contentHandler" to "ch" and made it a local variable.
11178 (getPermission): Don't use package in class name.
11179 (setDefaultRequestProperty): Fixed typo in documentation.
11180 (initializeDateFormats): Made locale a local variable.
11181
11182 2004-01-06 Michael Koch <konqueror@gmx.de>
11183
11184 * java/lang/Package.java
11185 (getPackage): Get the current class loader directly.
11186 * java/lang/SecurityManager.java
11187 (currentLoadedClass): Dont iterate over class contexts.
11188 (classLoaderDepth): Don't check class loaders if everything is allowed.
11189
11190 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11191
11192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
11193 (pre_event_handler): Set all insets to 0 when a Configure event
11194 is received for a GtkPlug.
11195 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
11196 Make handle long, not int.
11197 (EmbeddedWindow()): New constructor.
11198 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
11199 long, not int.
11200 (setHandle): New method.
11201 (getHandle): Return long, not int.
11202 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
11203 declaration.
11204 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
11205 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
11206 (create(long)): Take long parameter, not int. Cast gtk_plug_new
11207 argument to GdkNativeWindow.
11208 (construct): New method.
11209 (embed): New method.
11210
11211 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
11212 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
11213 (create(int, int)): New method.
11214 (create): Call new create method.
11215 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
11216 methods.
11217 (childResized): Remove native implementation. Implement in
11218 Java.
11219 (getHScrollbarHeight, getVScrollbarWidth): Call
11220 gtk_widget_size_request to get scrollbar dimensions.
11221 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
11222 call getVScrollbarWidth and getHScrollbarHeight when vertical
11223 and horizontal scrollbars respectively are needed.
11224 (doLayout): Enlarge child if it is smaller than the viewport.
11225
11226 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11227
11228 * java/awt/Dialog.java (constructor): Accept null title as per spec.
11229 * java/awt/FileDialog.java (constructor): Throw exception on invalid
11230 argument as per spec.
11231
11232 2004-01-05 Fernando Nasser <fnasser@redhat.com>
11233
11234 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
11235 (insert): Ditto.
11236 (remove): Ditto. Also, Check for valid argument.
11237 (removeAll): Use peer interface method.
11238 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
11239 native add function.
11240 (nativeRemove): New name for native remove function.
11241 (getHistory): New native function.
11242 (constructor): Generate ItemEvent.
11243 (add): Ditto, if selection is changed.
11244 (remove): Ditto, ditto.
11245 (removeAll): Add implementation.
11246 (handleEvent): Remove. Dead code.
11247 (choicePostItemEvent): Add comment.
11248 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11249 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
11250 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
11251 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
11252 comments and fix condition to change selection.
11253 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
11254 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
11255 remove all capability.
11256 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
11257 (item_activate): Add cast to remove compiler warning.
11258
11259 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
11260
11261 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11262 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11263 (getPreferredSize): Call preferredSize.
11264 (preferredSize): Call gtkWidgetGetPreferredDimensions.
11265 (getMinimumSize): Call minimumSize.
11266 (minimumSize): Call gtkWidgetGetPreferredDimensions.
11267 (gtkWidgetGetDimensions): Return the peer widget's current size
11268 request.
11269 (gtkWidgetGetPreferredDimensions): Return the peer widget's
11270 natural size request.
11271
11272 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
11273
11274 Thanks to Brian Gough <bjg@network-theory.com>
11275 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
11276 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
11277
11278 2004-01-04 Matthias Klose <doko@debian.org>
11279
11280 * aclocal.m4: Rebuilt using "aclocal -I .".
11281 * configure: Rebuilt.
11282
11283 2004-01-03 Per Bothner <per@bothner.com>
11284
11285 * java/util/Date.java (parse): Fix a number of problems.
11286 (skipParens): Remove no-longer-needed method.
11287