1 2005-03-09 Andreas Tobler <a.tobler@schweiz.ch>
3 * java/lang/fdlibm.h: Merge an AIX define from GNU Classpath.
5 * java/lang/mprec.h: Remove commented headers. Fix comment to match
6 the file in GNU Classpath style.
8 2005-03-09 Tom Tromey <tromey@redhat.com>
10 * java/net/URLClassLoader.java (addURLImpl): Reset 'thisString'.
11 (toString): Synchronize.
13 2005-03-08 Bryce McKinlay <mckinlay@redhat.com>
15 * testsuite/libjava.lang/pr13107_2.xfail: Remove xfail.
16 * testsuite/libjava.lang/pr13107_3.xfail: Likewise.
18 2005-03-07 Tom Tromey <tromey@redhat.com>
20 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Recognize '-f'.
21 (usage): Document '-f'.
23 2005-03-07 Tom Tromey <tromey@redhat.com>
25 * java/lang/VMCompiler.java (md5Digest): New field.
26 (compileClass): Clone md5Digest instead of looking up a new one.
28 2005-03-07 Tom Tromey <tromey@redhat.com>
31 * include/jvm.h (_Jv_Linker::find_field_helper): Updated.
32 * link.cc (find_field_helper): Added 'type' argument.
33 (find_field): Updated.
35 2005-04-07 Scott Gilbertson <scottg@mantatest.com>
36 * gnu/gcj/xlib/natXAnyEvent.cc (loadNext): Added timeout.
37 * gnu/awt/xlib/XCanvasPeer.java (setBackground): Removed
38 throw UnsupportedOperationException, fixed comments.
39 (setFont, setForeground): Fixed comments.
40 * gnu/awt/xlib/XEventLoop.java (postNextEvent): Changed
41 return type to boolean.
42 (getNextEvent): Fixed javadocs.
43 * gnu/awt/xlib/XToolkit.java (interrupted): Removed field.
44 (nativeQueueEmpty): Removed unused code.
45 (iterateNativeQueue): Removed outer loop.
47 2005-03-06 Roger Sayle <roger@eyesopen.com>
50 * Makefile.am (libgcj0_convenience.la): Revert last change.
51 * Makefile.in: Regenerate.
53 2005-03-05 Anthony Green <green@redhat.com>
55 * jni/gtk-peer/gtk_jawt.c (classpath_jawt_get_drawable,
56 classpath_jawt_lock, classpath_jawt_unlock): New functions.
57 * jawt.c (_Jv_AWTLock, _Jv_AWTUnlock): New functions.
58 (_Jv_GetDrawingSurface): Set visualID.
59 (_Jv_FreeDrawingSurfaceInfo): Clear visualID.
60 (JAWT_GetAWT): Set Lock and Unlock.
61 * include/jawt_md.h (struct _JAWT_X11DrawingSurfaceInfo): Add
63 * include/jawt.h (JAWT_VERSION_1_4, JAWT_LOCK_ERROR,
64 JAWT_LOCK_CLIP_CHANGED, JAWT_LOCK_BOUNDS_CHANGED,
65 JAWT_LOCK_SURFACE_CHANGED): New macros.
66 (struct _JAWT): Add Lock and Unlock.
68 2005-03-05 Roger Sayle <roger@eyesopen.com>
69 Alexandre Oliva <aoliva@redhat.com>
70 Kelley Cook <kcook@gcc.gnu.org>
73 * Makefile.am (libgcj0_convenience.la): New rule to create a file
74 of the object files to link to avoid exceeding the command line
75 length limits on some platforms.
76 (clean-local): Clean up objectlist files.
77 * Makefile.in: Regenerate.
79 2005-03-05 Andreas Tobler <a.tobler@schweiz.ch>
81 * java/lang/dtoa.c (_dtoa_r): Initialize variables ilim, ilim1 and
82 spec_case. Initialize pointer mlo.
84 * java/lang/strtod.c (_strtod_r): Initialize pointers bb, bd, ds and
87 * java/lang/e_asin.c (__ieee754_asin): Initialize variable t.
89 * java/lang/e_exp.c (__ieee754_exp): Initialize variables hi, lo
92 * java/lang/e_rem_pio2.c (__ieee754_rem_pio2): Initialize
93 uninitialized variable z.
95 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (mcastGrp): Ifdef
96 possible unused variables.
98 * gnu/java/nio/natPipeImplPosix.cc (init): Remove self.
100 * jawt.c: Include <stdlib.h> to fix implict declaration of malloc.
102 2005-03-03 Thomas Fitzsimmons <fitzsim@redhat.com>
105 * testsuite/libjava.jni/jni.exp
106 (gcj_jni_invocation_compile_c_to_binary): Add -I. -I.. to compile
108 (gcj_jni_invocation_test_one): Add -L../.libs to cxx flags.
110 2005-02-23 David Daney <ddaney@avtrex.com>
112 * configure.host: Don't use -mxgot for MIPS builds.
114 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
117 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
119 (ZIP, GCJH): Replace it with ../$(host_subdir).
120 (built_gcc_dir): Add $(host_subdir).
121 * configure: Regenerate.
122 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
123 gcj/Makefile.in, external/Makefile.in, external/sax/Makefile.in,
124 external/w3c_dom/Makefile.in: Regenerate.
126 2005-02-24 David Gilbert <david.gilbert@object-refinery.com>
128 * java/awt/font/TextAttribute.java: changed names to lower case;
129 (readResolve): implemented.
130 Added doc comments all over.
132 2005-02-23 Thomas Fitzsimmons <fitzsim@redhat.com>
135 * jni.cc (JNI_CreateJavaVM): Check JNI version. Cast args to
136 JvVMInitArgs. Pass args to _Jv_CreateJavaVM and check return
137 value. Move argument parsing code to prims.cc.
138 * prims.cc (no_properties): Remove.
139 (_Jv_Compiler_Properties): Initialize to NULL.
140 (_Jv_Properties_Count): Initialize to 0.
141 (parse_verbose_args): New function.
142 (parse_init_args): New function.
143 (_Jv_CreateJavaVM): Call parse_init_args.
144 (_Jv_RunMain): Check return value of _Jv_CreateJavaVM.
145 * gcj/cni.h (JvVMOption): New struct.
146 (JvVMInitArgs): Likewise.
147 (JvCreateJavaVM): Declare vm_args as JvVMInitArgs* rather than
149 * libjava/gcj/javaprims.h (_Jv_VMOption): New struct.
150 (_Jv_VMInitArgs): Likewise.
151 * include/java-props.h (_Jv_Properties_Count): Declare.
152 * java/lang/natRuntime.cc (insertSystemProperties): Use
153 _Jv_Properties_Count in for loop exit condition.
154 * testsuite/libjava.jni/jni.exp
155 (gcj_invocation_compile_c_to_binary): New procedure.
156 (gcj_invocation_test_one): Likewise.
157 (gcj_jni_run): Run JNI invocation API tests.
158 * testsuite/libjava.jni/invocation/PR16923.c,
159 testsuite/libjava.jni/invocation/PR16923.java,
160 testsuite/libjava.jni/invocation/PR16923.out: New test.
162 2005-02-23 Michael Koch <konqueror@gmx.de>
164 * Makefile.am: Added new file gnu/java/nio/ChannelReader.java.
165 * Makefile.in: Regenerated.
167 2005-02-23 Robert Schuster <thebohemian@gmx.net>
169 * gnu/java/nio/ChannelReader: Fixed comments.
171 2005-02-23 Robert Schuster <thebohemian@gmx.net>
173 * java/nio/channels/Channels: Added FIXMEs about
174 stub method implementation.
175 (newReader): Implemented.
176 * gnu/java/nio/ChannelReader: New class.
178 2005-02-23 Michael Koch <konqueror@gmx.de>
180 * java/text/SimpleDateFormat.java:
181 Removed unused import.
183 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
186 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X_CFLAGS.
187 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add X_LIBS and -lXtst.
188 * Makefile.in: Regenerate.
189 * configure.ac: Check for libXtst.
190 * configure: Regenerate.
192 2005-02-22 Mark Wielaard <address@bogus.example.com>
194 * java/security/AlgorithmParameterGenerator.java (getInstance):
195 Mention provider when throwing NoSuchProviderException.
196 * java/security/AlgorithmParameters.java (getInstance): Likewise.
197 * java/security/KeyFactory.java (getInstance): Likewise.
198 * java/security/KeyStore.java (getInstance): Likewise.
199 * java/security/SecureRandom.java (getInstance): Likewise.
200 * java/security/cert/CertificateFactory.java (getInstance): Likewise.
202 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
204 * java/lang/reflect/Proxy.java,
206 java/security/SecureRandom.java,
207 java/util/Timer.java,
208 java/util/prefs/AbstractPreferences.java:
209 Don't catch java.lang.ThreadDeath.
211 2005-02-22 David Gilbert <david.gilbert@object-refinery.com>
213 * java/awt/font/TransformAttribute.java,
214 (TransformAttribute(AffineTransform)): throw
215 IllegalArgumentException for null transform.
216 (getTransform): return a copy of transform.
217 Added doc comments to all.
219 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
221 * java/io/Externalizable.java,
222 java/io/Serializable.java
223 (serialVersionUID): Removed.
224 * java/rmi/server/RemoteObject.java,
225 java/rmi/server/UID.java
226 (serialVersionUID): Made private.
227 * java/rmi/server/RemoteRef.java,
228 java/rmi/server/ServerRef.java
229 (serialVersionUID): Set proper value.
230 * java/security/interfaces/DSAPrivateKey.java,
231 java/security/interfaces/DSAPublicKey.java,
232 java/security/interfaces/RSAMultiPrimePrivateCrtKey.java,
233 java/security/interfaces/RSAPrivateCrtKey.java,
234 java/security/interfaces/RSAPrivateKey.java,
235 java/security/interfaces/RSAPublicKey.java,
236 javax/crypto/SecretKey.java
237 (serialVersionUID): Added.
239 2005-02-22 Tom Tromey <tromey@redhat.com>
241 * java/lang/Object.h (_JvObjectPrefix): Declare as extern "Java".
243 2005-02-22 Tom Tromey <tromey@redhat.com>
246 * verify.cc (type::EITHER): New constant.
247 (check_field_constant): Use it.
248 (type::compatible): Handle it.
250 2005-02-22 Michael Koch <konqueror@gmx.de>
252 * gnu/java/security/PolicyFile.java,
253 gnu/java/security/pkcs/PKCS7SignedData.java,
254 gnu/java/security/pkcs/SignerInfo.java:
255 Fixed copyright header.
257 2005-02-22 Jeroen Frijters <jeroen@frijters.net>
259 * java/beans/PropertyDescriptor.java
260 (PropertyDescriptor,setReadMethod): Set propertyType.
262 2005-02-22 Michael Koch <konqueror@gmx.de>
264 * java/nio/DirectByteBufferImpl.java
265 (owner): Fixed formatting of javadoc.
266 * java/text/DateFormat.java
267 (getAvailableLocales): Fixed formatting.
268 * java/text/SimpleDateFormat.java:
269 Fixed formatting and import statement order.
270 * java/util/Calendar.java
271 (Calendar): Fixed javadoc to be HTML compliant.
272 * java/util/SimpleTimeZone.java:
275 2005-02-22 Roman Kennke <roman@ontographics.com>
277 * javax/swing/plaf/basic/BasicLookAndFeel.java
278 (initComponentDefaults): Fixed Button left and right margin.
280 2005-02-22 Thomas Fitzsimmons <fitzsim@redhat.com>
282 * java/awt/Robot.java (waitForIdle): Call invokeAndWait on an
286 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
287 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
288 (getWidth): New method.
289 (getHeight): Likewise.
290 (create): Remove width, height and insets parameters. Move size
292 (realize_cb): ... here. New function.
293 (connectSignals): Connect realize_cb.
294 (request_frame_extents): Remove FIXME. Move
295 postInsetsChangedEvent lookup ...
296 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (gtkInit):
297 ... here. Look up GtkWindowPeer getWidth and getHeight methods.
298 * jni/gtk-peer/gtkpeer.h (postInsetsChangedEventID): Declare
300 (windowGetWidthID): Likewise.
301 (windowGetHeightID): Likewise.
303 2005-02-21 Thomas Fitzsimmons <fitzsim@redhat.com>
306 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
307 (button_to_awt_mods): Return BUTTON masks, not BUTTON_DOWN masks.
309 2005-02-21 Bryce McKinlay <mckinlay@redhat.com>
311 Merge serialization from GNU Classpath.
312 * gcj/method.h: Add missing #includes.
313 * java/io/ObjectInputStream.java (readClassDescriptor): Check for
314 primitive class IDs on the stream here...
315 (resolveClass): ...not here.
316 * java/io/ObjectStreamField.java: Use VMObjectStream class calls to set
318 * java/io/VMObjectStreamClass.java (setDoubleNative, setFloatNative,
319 setLongNative, setIntNative, setShortNative, setCharNative,
320 setByteNative, setBooleanNative, setObjectNative): New native methods.
321 * java/io/natVMObjectStreamClass.java (setDoubleNative, setFloatNative,
322 setLongNative, setIntNative, setShortNative, setCharNative,
323 setByteNative, setBooleanNative, setObjectNative): Implement them.
324 * java/io/natObjectInputStream.cc (allocateObject): Add new parameters
325 from Classpath's version. Use _Jv_FromReflectedConstructor(). Call
326 the constructor here.
327 (callConstructor): Removed.
328 (getCallersClassLoader): Removed.
329 * java/lang/reflect/Field.java (setByte, setShort, setInt, setLong,
330 setFloat, setDouble, setChar, setBoolean): Add 'checkFinal' parameter
331 to control whether setting final field values is permitted. Call
332 getAddr() with checkFinal parameter instead of setAddr().
333 * java/lang/reflect/natField.cc (getType): Lookup and resolve field
334 only if not done already.
335 (getAddr): Add checkFinal parameter. Do the final field check only if
339 2005-02-21 Mark Wielaard <mark@klomp.org>
342 * java/io/ObjectInputStream.java (resolveClass): Don't check "void"
345 2005-02-21 Mark Wielaard <mark@klomp.org>
348 * java/io/ObjectInputStream.java (readClassDescriptor): Handle classes
349 without a super class and us ObjectStreamClass.lookupForClassObject().
350 (resolveClass): Check for primitive types.
351 (lookupClass): Return null when argument is null.
353 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
355 * java/io/ObjectInputStream.java
356 (readObject): Fix to consume TC_ENDBLOCKDATA after readExternal.
358 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
360 * java/io/ObjectOutputStream.java
361 (writeObject, callWriteMethod): Replaced reflection with accessing
362 cached info in ObjectStreamClass.
363 (getMethod): Removed.
364 * java/io/ObjectStreamClass.java
365 (findMethod): Added check to make sure the method found has the
367 (cacheMethods): Added writeReplace and writeObject methods.
368 (setFlags): Look at new writeObjectMethod field instead of doing
370 (writeReplaceMethod): New field.
371 (writeObjectMethod): New field.
373 2005-02-21 Guilhem Lavaux <guilhem@kaffe.org>
374 Jeroen Frijters <jeroen@frijters.net>
376 * java/io/ObjectInputStream.java
377 (newObject): Changed prototype. Get a constructor reflect object
379 (callConstructor): Removed.
380 (allocateObject): Changed prototype.
381 (readClassDescriptor): Build the constructor reflection directly.
382 (readObject): Invoke newObject using the new prototype.
384 * java/io/ObjectStreamClass.java
385 (firstNonSerializableParent): Removed.
386 (firstNonSerializableParentConstructor): Added.
388 2005-02-21 Mark Wielaard <mark@klomp.org>
390 * gnu/java/locale/LocaleInformation_en.java: Extend
391 localPatternChars to "GyMdkHmsSEDFwWahKzYeugAZ".
393 2005-02-21 Mark Wielaard <mark@klomp.org>
395 * java/text/SimpleDateFormat.java
396 (SimpleDateFormat(String, DateFormatSymbols)): Throw
397 NullPointerException when formatData is null.
399 2005-02-21 Mark Wielaard <mark@klomp.org>
401 * java/util/SimpleTimeZone.java (getOffset): Calculate beforeEnd by
402 taking dstSavings into account.
404 2005-02-21 Sven de Marothy <sven@physto.se>
406 * java/text/SimpleDateFormat.java,
407 (parse): Set correct DST_OFFSET to the correct value.
409 2005-02-21 Mark Wielaard <mark@klomp.org>
411 * java/util/SimpleTimeZone.java (checkRule): Throw
412 IllegalArgumentException when month out of range.
414 2005-02-21 Sven de Marothy <sven@physto.se>
416 * java/util/GregorianCalendar.java,
417 (add): Don't set fields directly anymore. Use set()
419 2005-02-21 Mark Wielaard <mark@klomp.org>
421 * java/text/SimpleDateFormat.java (CompiledField.toString):
422 Use StringBuffer, not StringBuilder.
423 (toString): Likewise.
425 2005-02-21 Sven de Marothy <sven@physto.se>
427 * java/util/Calendar.java
428 (clear): Dates should clear to local time.
429 * java/util/GregorianCalendar.java
430 (computeTime): Fix priority problem with DAY_OF_WEEK,
431 Handle non-sunday-startig weeks and minimumDaysInFirstWeek.
433 2005-02-21 Sven de Marothy <sven@physto.se>
435 * java/util/Calendar.java
436 (Calendar): Constructor should clear fields.
438 2005-02-21 Sven de Marothy <sven@physto.se>
440 * java/text/SimpleDateFormat.java
441 (parse): Tweak handling of 2-year dates
442 * java/util/Calendar.java
443 (clear): Clear fields to correct value.
444 * java/util/GregorianCalendar.java
445 (computeTime): Correct handling of time zones.
446 Correct field minimum values.
448 2005-02-21 Sven de Marothy <sven@physto.se>
450 * java/util/Calendar.java
451 (set) Invalidate all fields on first call to set().
453 2005-02-21 Sven de Marothy <sven@physto.se>
455 * java/util/GregorianCalendar.java
456 (computeTime): Fixed handling of time zones.
458 2005-02-21 Sven de Marothy <sven@physto.se>
460 * java/util/Calendar.java
461 (clear): Set values to Epoch instead of zero.
462 (set): Set isSet to the relevant field pattern instead of just
464 * java/util/GregorianCalendar.java
465 (getBundle): Removed.
466 (getDayOfYear): Removed.
467 (getFirstDayOfMonth): New private method.
468 (nonLeniencyCheck): New private method.
469 (computeTime): Correct handling of insufficient data.
471 2005-02-21 Sven de Marothy <sven@physto.se>
473 * java/util/Calendar.java: Invalidate ERA field on setting
475 * java/util/SimpleTimeZone.java:
476 (getDaysInMonth): Reimplemented.
477 * java/util/GregorianCalendar.java:
478 (getLinearTime): Removed.
479 (isLeapYear(int,boolean)): Removed.
480 (before(), after()): Removed.
481 (computeTime): Reimplemented.
483 2005-02-21 Sven de Marothy <sven@physto.se>
485 * java/util/Calendar.java: Reformatted.
486 * java/util/GregorianCalendar.java: Reformatted.
487 * java/util/SimpleTimeZone.java: Reformatted.
489 2005-02-21 Sven de Marothy <sven@physto.se>
491 * java/util/GregorianCalendar.java
492 (GregorianCalendar): Update fields in the constructor
494 2005-02-21 Noa Resare <noa@resare.com>
496 * java/util/Calendar.java (explicitDSTOffset): New instance field.
497 (set(int,int)): Set and use new field.
498 (set(int,int,int)): Check new field.
500 2005-02-21 Noa Resare <address@hidden>
502 * java/util/Calendar.java(set):
503 Fix for DST related regression.
505 2005-02-21 Jeroen Frijters <jeroen@frijters.net>
507 * java/util/Calendar.java
508 (setTimeInMillis): Added call to clear, removed computeFields call.
509 * java/util/Date.java
510 (Date(int,int,int,int,int,int)): Removed workaround for
511 GregorianCalendar bug.
512 * java/util/GregorianCalendar.java
513 (GregorianCalendar): Chained all constructors to a (new)
515 (computeTime): Fixed support for lenient month treatment.
516 (getLinearDay): Return long instead of int.
517 (calculateDay): Added fields argument and changed day argument
520 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
522 * java/text/SimpleDateFormat.java
523 Lots of documentation updates.
524 (readObject(java.io.ObjectInputStream)): Wraps
525 IllegalArgumentException as specified.
526 (compileFormat(String)): Uses standardChars
527 rather than the local pattern characters.
528 Throws IllegalArgumentException rather than
530 (toString()): Extended to include all variables
532 (translateLocalizedPattern(String, String, String)):
533 Renamed to better define the use of this method.
535 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
537 * java/text/DateFormat.java:
538 Documented pattern character offset constants and
540 (Field): Added new static fields for new pattern chars.
541 * java/text/SimpleDateFormat.java:
542 (CompiledField): Changed name of FieldSizePair class
543 to CompiledField after adding the character as an
544 attribute. Changed fields to private and added
545 accessors to give encapsulation.
546 (CompiledField.CompiledField(int,int,char)): Extended
547 with character field.
548 (CompiledField.getField()): New accessor method.
549 (CompiledField.getSize()): New acceessor method.
550 (CompiledField.getCharacter()): New accessor method.
551 (CompiledField.toString()): Added primarily for debugging.
552 (standardChars): Now uses extended 24 character sequence.
553 (compileFormat(String)): Changed to use CompiledField.
554 (formatWithAttribute(java.util.Date, gnu.java.text.FormatBuffer,
555 java.text.FieldPosition)): Changed to use CompiledField.
556 New handler for RFC 822 timezones added.
558 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
560 * java/text/SimpleDateFormat.java:
561 (parse(String, java.text.ParsePosition)):
562 Changed 'E' and 'M' cases to use both
563 short and long names. Extended 'z'
564 case to also handle 'Z', and deal
565 with simple GMT offsets such as +0100.
566 (computeOffset(String)): New private method,
567 which converts a GMT offset specification,
568 such as GMT-0500 to a numeric offset in
570 * java/util/TimeZone.java:
571 (timezones()): Added "CEST", the daylight
572 savings time version of "CET", or Central
575 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
577 * java/text/SimpleDateFormat.java:
578 (parse): Set the DST offset to 0 when parsing
579 GMT offset timezones.
581 2005-02-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
583 * java/text/SimpleDateFormat.java:
584 (parse): Use offset to set ZONE_OFFSET
585 rather than the DST_OFFSET, so that
586 GMT offset timezones change the right
589 2005-02-21 Andrew John Hughes <gnu_andrew@member.fsf.org>
591 * java/text/SimpleDateFormat.java:
592 (getDateFormatSymbols()): return a copy
593 (setDateFormatSymbols(java.text.DateFormatSymbols)):
594 throw exception on null input
595 (clone()): implemented to clone
598 2005-02-21 Sven de Marothy <sven@physto.se>
600 * java/text/SimpleDateFormat.java
601 (parse): comparison should be case-insensitive, ignore null
604 2005-02-21 Robert Schuster <theBohemian@gmx.net>
606 * gnu/java/beans/IntrospectionIncubator.java
607 (addMethod) Reverts the patch that ntroduced a regression (see bug
608 https://savannah.gnu.org/bugs/?func=detailitem&item_id=10938).
610 2005-02-21 Michael Koch <konqueror@gmx.de>
612 * java/awt/Checkbox.java
613 (next_checkbox_number): New static variable.
614 (generateName): New method.
615 (getUniqueLong): Likewise.
616 * java/awt/Window.java
617 (next_window_number): New static variable.
618 (generateName): New method.
619 (getUniqueLong): Likewise.
621 2005-02-21 Mark Wielaard <mark@klomp.org>
623 * java/util/jar/JarFile.java (verifyHashes): Check whether ZipEntry
626 2005-02-21 Andrew Haley <aph@redhat.com>
628 * Makefile.in: Rebuilt.
629 * Makefile.am (nat_source_files): Added natLogger.cc.
630 * java/util/logging/natLogger.cc: New file.
631 * java/util/logging/Logger.java (getCallerStackFrame): Now
634 2005-02-21 Andreas Tobler <a.tobler@schweiz.ch>
636 * Makefile.am (all_property_files): Remove left over.
637 (classes.stamp): Add stamp for the ONESTEP build, also known as
638 --enable-libgcj-multifile.
639 * Makefile.in: Regenerated.
641 2005-02-21 Michael Koch <konqueror@gmx.de>
643 * java/awt/Button.java,
644 java/awt/Container.java,
647 java/text/CollationElementIterator.java,
648 java/text/RuleBasedCollator.java,
649 java/util/PropertyPermission.java:
650 Fixed formatting issues all over.
652 2005-02-21 Mark Wielaard <mark@klomp.org>
654 * java/io/FileDescriptor.java (sync): Add real exception to
657 2005-02-21 Michael Koch <konqueror@gmx.de>
659 * java/io/InputStreamReader.java:
662 2005-02-20 Rutger Ovidius <ovidr@users.sourceforge.net>
665 * gnu/java/security/provider/Gnu.java (Gnu): Add SHA-160 alias.
667 2005-02-20 Dalibor Topic <robilad@kaffe.org>
669 * libraries/javalib/gnu/regexp/RE.java,
670 libraries/javalib/java/io/ObjectInputStream.java,
671 libraries/javalib/java/security/AllPermission.java,
672 libraries/javalib/java/security/BasicPermission.java,
673 libraries/javalib/java/security/Permissions.java,
674 libraries/javalib/java/text/MessageFormat.java:
675 Made 'inner' classes real public static inner classes,
676 and made them final where possible, or removed them
679 2005-02-20 Michael Koch <konqueror@gmx.de>
681 * gnu/java/text/FormatCharacterIterator.java:
682 Removed redundant modifiers.
684 2005-02-19 Thomas Fitzsimmons <fitzsim@redhat.com>
686 * jni/gtk-peer/gthread-jni.c (throw): Call g_snprintf instead of
689 2005-02-19 Michael Koch <konqueror@gmx.de>
691 * Makefile.am: Added new files in gnu/java/beans and
692 java/beans/XMLDecoder.java.
693 * Makefile.in: Regenerated.
695 2005-02-19 Robert Schuster <thebohemian@gmx.net>
697 * gnu/java/beans/decoder/GrowableArrayContext.java: Fixed
698 assignment behavior by using java.lang.reflect.Array.set()
701 2005-02-19 Dalibor Topic <robilad@kaffe.org>
703 * gnu/java/beans/EmptyBeanInfo.java,
704 gnu/java/beans/info/ComponentBeanInfo.java:
705 Removed unused files.
707 2005-02-19 Robert Schuster <thebohemian@gmx.net>
709 * gnu/java/beans/DummyAppletStub.java: Add dummy implementation
710 of AppletStub for java.beans.Beans.instantiate.
711 * gnu/java/beans/DummyAppletContext.java: Add dummy implementation
713 * java/beans/Beans: Added 1.4 functionality, fixed user documentation
714 to be conformant with Javadoc guidelines.
715 (instantiate): Added two more overloaded variants, reworked user
716 documentation, fixed exception behavior, fixed behavior when
719 2005-02-19 Mark Wielaard <mark@klomp.org>
721 * gnu/java/beans/decoder/DummyHandler.java: Add return statements for
723 * gnu/java/beans/decoder/DummyContext.java: Likewise.
725 2005-02-19 Robert Schuster <theBohemian@gmx.net>
727 * gnu/java/beans/decoder/AbstractContext.java,
728 gnu/java/beans/decoder/AbstractCreatableContext.java,
729 gnu/java/beans/decoder/AbstractElementHandler.java,
730 gnu/java/beans/decoder/AbstractObjectContext.java,
731 gnu/java/beans/decoder/ArrayContext.java,
732 gnu/java/beans/decoder/ArrayHandler.java,
733 gnu/java/beans/decoder/AssemblyException.java,
734 gnu/java/beans/decoder/BooleanHandler.java,
735 gnu/java/beans/decoder/ByteHandler.java,
736 gnu/java/beans/decoder/CharHandler.java,
737 gnu/java/beans/decoder/ClassHandler.java,
738 gnu/java/beans/decoder/ConstructorContext.java,
739 gnu/java/beans/decoder/Context.java,
740 gnu/java/beans/decoder/DecoderContext.java,
741 gnu/java/beans/decoder/DefaultExceptionListener.java,
742 gnu/java/beans/decoder/DoubleHandler.java,
743 gnu/java/beans/decoder/DummyContext.java,
744 gnu/java/beans/decoder/DummyHandler.java,
745 gnu/java/beans/decoder/ElementHandler.java,
746 gnu/java/beans/decoder/FloatHandler.java,
747 gnu/java/beans/decoder/GrowableArrayContext.java,
748 gnu/java/beans/decoder/IndexContext.java,
749 gnu/java/beans/decoder/IntHandler.java,
750 gnu/java/beans/decoder/JavaHandler.java,
751 gnu/java/beans/decoder/LongHandler.java,
752 gnu/java/beans/decoder/MethodContext.java,
753 gnu/java/beans/decoder/MethodFinder.java,
754 gnu/java/beans/decoder/NullHandler.java,
755 gnu/java/beans/decoder/ObjectContext.java,
756 gnu/java/beans/decoder/ObjectHandler.java,
757 gnu/java/beans/decoder/PersistenceParser.java,
758 gnu/java/beans/decoder/PropertyContext.java,
759 gnu/java/beans/decoder/ShortHandler.java,
760 gnu/java/beans/decoder/SimpleHandler.java,
761 gnu/java/beans/decoder/StaticMethodContext.java,
762 gnu/java/beans/decoder/StringHandler.java,
763 gnu/java/beans/decoder/VoidHandler.java: New class
764 implementing java.beans.XMLDecoder decoding functionality.
765 * java/beans/XMLDecoder.java: New class.
767 2005-02-19 Michael Koch <konqueror@gmx.de>
769 * javax/swing/JTextField.java
770 (notfiyAction): Added javadoc.
772 2005-02-19 Sven de Marothy <sven@physto.se>
774 * javax/swing/SpinnerDateModel.java: Implemented.
776 2005-02-19 Michael Koch <konqueror@gmx.de>
778 * Makefile.am: Added javax/swing/SpinnerDateModel.java.
779 * Makefile.in: Regenerated.
781 2005-02-19 Michael Koch <konqueror@gmx.de>
783 * gnu/java/nio/SelectorImpl.java:
784 Reworked import statements.
785 (register): Removed unused code.
786 * java/nio/channels/Channels.java: Reformatted.
787 * java/nio/charset/Charset.java: Likewise.
788 * java/rmi/server/RemoteObject.java
789 (serialVersionUID): Made private.
790 * java/rmi/server/UID.java
791 (serialVersionUID): Likewise.
793 2005-02-19 Michael Koch <konqueror@gmx.de>
795 * gnu/java/net/protocol/ftp/ActiveModeDTP.java,
796 gnu/java/net/protocol/ftp/BlockInputStream.java,
797 gnu/java/net/protocol/ftp/BlockOutputStream.java,
798 gnu/java/net/protocol/ftp/CompressedInputStream.java,
799 gnu/java/net/protocol/ftp/CompressedOutputStream.java,
800 gnu/java/net/protocol/ftp/DTPInputStream.java,
801 gnu/java/net/protocol/ftp/DTP.java,
802 gnu/java/net/protocol/ftp/DTPOutputStream.java,
803 gnu/java/net/protocol/ftp/FTPConnection.java,
804 gnu/java/net/protocol/ftp/FTPException.java,
805 gnu/java/net/protocol/ftp/FTPResponse.java,
806 gnu/java/net/protocol/ftp/FTPURLConnection.java,
807 gnu/java/net/protocol/ftp/Handler.java,
808 gnu/java/net/protocol/ftp/PassiveModeDTP.java,
809 gnu/java/net/protocol/ftp/StreamInputStream.java,
810 gnu/java/net/protocol/ftp/StreamOutputStream.java,
811 gnu/java/net/CRLFInputStream.java,
812 gnu/java/net/CRLFOutputStream.java,
813 gnu/java/net/GetLocalHostAction.java,
814 gnu/java/net/protocol/ftp/package.html: New files.
815 * Makefile.am: Added new files.
816 * Makefile.in: Regenerated.
818 2005-02-18 Tom Tromey <tromey@redhat.com>
820 * link.cc (make_vtable): Remove abstract method check.
821 (append_partial_itable): Likewise.
824 * verify.cc (type::equals): Fixed test.
825 * testsuite/libjava.lang/PR20056.out: New file.
826 * testsuite/libjava.lang/PR20056.java: New file.
828 2005-02-18 Bryce McKinlay <mckinlay@redhat.com>
830 * java/util/LinkedHashMap (addEntry): Call remove() with key argument,
831 not the HashEntry. Reported by Jean-Marie White.
833 2005-02-18 Tom Tromey <tromey@redhat.com>
836 * include/jvm.h (_Jv_Linker::has_field_p): Declare.
837 * link.cc (has_field_p): New function.
838 * verify.cc (check_field_constant): Added 'putfield' argument.
839 (verify_instructions_0): Updated.
840 (type::equals): New method.
842 2005-02-18 Anthony Green <green@redhat.com>
844 * NEWS: Draft of libgcj NEWS for 4.0.
846 2005-02-18 Anthony Green <green@redhat.com>
848 * java/lang/natRuntime.cc (insertSystemProperties): Normalize x86
849 architecture names to "i386" for compatibility reasons. Win32
852 2005-02-18 Anthony Green <green@redhat.com>
854 * gij.cc (version): Change year for '--version' to 2005.
855 * gnu/gcj/convert/Convert.java: Ditto.
856 * gnu/java/rmi/rmic/RMIC.java: Ditto.
857 * gnu/java/rmi/registry/RegistryImpl.java: Ditto.
859 * gnu/gcj/tools/gcj_dbtool/Main.java: Only show the most
860 recent copyright year in `--version' output.
862 2005-02-18 Robert Schuster <thebohemian@gmx.net>
864 * java/nio/charset/Charset.java (forName): Throws
865 IllegalArgumentException when argument is null
866 and added documentation.
868 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
870 * gnu/java/nio/channels/FileChannelImpl.java (write(ByteBuffer)):
871 Move the position of the source buffer forward.
873 2005-02-17 Tom Tromey <tromey@redhat.com>
875 * java/lang/Class.h (_Jv_GetMethodString): Updated declaration.
876 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Updated.
877 * java/lang/natClass.cc (_Jv_LookupInterfaceMethod): Updated.
878 * link.cc (_Jv_GetMethodString): Added 'derived' argument.
879 Changed type of second argument. Rewrote.
880 (make_vtable): Use it.
881 (append_partial_itable): Updated.
882 (layout_vtable_methods): Updated.
884 2005-02-17 Michael Koch <konqueror@gmx.de>
886 * gnu/java/net/PlainSocketImpl.java
887 (shutdownInput): Added javadoc.
888 (shutdownOutput): Likewise.
890 2005-02-17 Michael Koch <konqueror@gmx.de>
892 * javax/print/attribute/standard/Chromaticity.java,
893 javax/print/attribute/standard/Destination.java,
894 javax/print/attribute/standard/MediaPrintableArea.java,
895 javax/print/attribute/standard/MediaSize.java: New files.
896 * Makefile.am: Added new files.
897 * Makefile.in: Regenerated.
899 2005-02-17 Andrew John Hughes <gnu_andrew@member.fsf.org>
900 Michael Koch <konqueror@gmx.de>
902 * gnu/java/net/protocol/http/Cookie.java,
903 gnu/java/net/protocol/http/HTTPConnection.java,
904 gnu/java/net/protocol/http/HTTPDateFormat.java,
905 gnu/java/net/protocol/http/Request.java,
906 gnu/java/nio/PipeImpl.java,
907 gnu/java/rmi/dgc/DGCImpl.java,
908 gnu/java/rmi/server/ConnectionRunnerPool.java,
909 gnu/java/rmi/server/UnicastConnectionManager.java,
910 gnu/java/security/der/DERWriter.java,
911 gnu/java/security/pkcs/SignerInfo.java,
912 gnu/java/security/provider/EncodedKeyFactory.java,
913 gnu/java/security/provider/GnuDHPublicKey.java,
914 gnu/java/security/provider/GnuDSAPrivateKey.java,
915 gnu/java/security/provider/GnuDSAPublicKey.java,
916 gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
917 gnu/java/security/x509/X500DistinguishedName.java,
918 gnu/java/security/x509/X509CRL.java,
919 gnu/java/security/x509/X509CRLEntry.java,
920 gnu/java/security/x509/X509Certificate.java,
921 gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
922 gnu/java/security/x509/ext/CertificatePolicies.java,
923 gnu/java/security/x509/ext/PolicyConstraint.java,
924 gnu/xml/dom/Consumer.java,
925 gnu/xml/dom/DomCharacterData.java,
926 gnu/xml/dom/DomDocument.java,
927 gnu/xml/dom/DomDocumentBuilder.java,
928 gnu/xml/dom/DomIterator.java,
929 gnu/xml/dom/DomNode.java,
930 gnu/xml/dom/DomXPathExpression.java,
931 gnu/xml/dom/DomXPathResult.java,
932 gnu/xml/dom/JAXPFactory.java,
933 gnu/xml/pipeline/CallFilter.java,
934 gnu/xml/pipeline/DomConsumer.java,
935 gnu/xml/pipeline/LinkFilter.java,
936 gnu/xml/pipeline/NSFilter.java,
937 gnu/xml/pipeline/TeeConsumer.java,
938 gnu/xml/pipeline/ValidationConsumer.java,
939 gnu/xml/pipeline/WellFormednessFilter.java,
940 gnu/xml/pipeline/XIncludeFilter.java,
941 gnu/xml/pipeline/XsltFilter.java,
942 gnu/xml/transform/ApplyImportsNode.java,
943 gnu/xml/transform/Bindings.java,
944 gnu/xml/transform/DocumentFunction.java,
945 gnu/xml/transform/FormatNumberFunction.java,
946 gnu/xml/transform/NodeNumberNode.java,
947 gnu/xml/transform/NumberNode.java,
948 gnu/xml/transform/Stylesheet.java,
949 gnu/xml/transform/SystemPropertyFunction.java,
950 gnu/xml/transform/Template.java,
951 gnu/xml/transform/TemplatesImpl.java,
952 gnu/xml/transform/TransformerImpl.java,
953 gnu/xml/transform/ValueOfNode.java,
954 gnu/xml/transform/XSLURIResolver.java,
955 gnu/xml/util/DoParse.java,
956 gnu/xml/util/Resolver.java,
957 gnu/xml/xpath/Expr.java,
958 gnu/xml/xpath/FunctionCall.java,
959 gnu/xml/xpath/RelationalExpr.java,
960 gnu/xml/xpath/Selector.java,
961 gnu/xml/xpath/XPathParser.java:
962 Reworked import statements, fixed modifier order and some little
965 2005-02-17 Ito Kazumitsu <kaz@maczuka.gcd.org>
967 * java/nio/ByteBufferImpl.java (compact):
968 Set position and limit even if no bytes were moved.
970 2005-02-17 Michael Koch <konqueror@gmx.de>
972 * java/nio/CharViewBufferImpl.java (compact): Likewise.
973 * java/nio/DirectByteBufferImpl.java (compact): Likewise.
974 * java/nio/DoubleViewBufferImpl.java (compact): Likewise.
975 * java/nio/FloatViewBufferImpl.java (compact): Likewise.
976 * java/nio/IntViewBufferImpl.java (compact): Likewise.
977 * java/nio/LongViewBufferImpl.java (compact): Likewise.
978 * java/nio/MappedByteBufferImpl.java (compact): Likewise.
979 * java/nio/ShortViewBufferImpl.java (compact): Likewise.
980 * java/nio/FloatBufferImpl.java (compact): Set position.
981 * java/nio/CharBufferImpl.java (compact): Likewise.
982 * java/nio/DoubleBufferImpl.java (compact): Likewise.
983 * java/nio/IntBufferImpl.java (compact): Likewise.
984 * java/nio/LongBufferImpl.java (compact): Likewise.
985 * java/nio/ShortBufferImpl.java (compact): Likewise.
987 2005-02-17 Jeroen Frijters <jeroen@frijters.net>
989 * java/nio/ByteBufferImpl.java,
990 java/nio/CharBufferImpl.java,
991 java/nio/DirectByteBufferImpl.java,
992 java/nio/DoubleBufferImpl.java,
993 java/nio/FloatBufferImpl.java,
994 java/nio/IntBufferImpl.java,
995 java/nio/LongBufferImpl.java,
996 java/nio/MappedByteBufferImpl.java,
997 java/nio/ShortBufferImpl.java
998 (compact): Added explicit read-only check and invalidate mark.
1000 2005-02-17 Michael Koch <konqueror@gmx.de>
1002 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
1003 gnu/java/awt/peer/gtk/GdkFontPeer.java,
1004 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1005 gnu/java/awt/peer/gtk/GdkGraphics.java,
1006 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1007 gnu/java/awt/peer/gtk/GdkGraphicsConfiguration.java,
1008 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1009 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1010 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1011 gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java,
1012 gnu/java/awt/peer/gtk/GdkTextLayout.java,
1013 gnu/java/awt/peer/gtk/GtkCheckboxMenuItemPeer.java,
1014 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1015 gnu/java/awt/peer/gtk/GtkClipboard.java,
1016 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1017 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1018 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1019 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1020 gnu/java/awt/peer/gtk/GtkMenuBarPeer.java,
1021 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1022 gnu/java/awt/peer/gtk/GtkMenuPeer.java,
1023 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1024 gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
1025 gnu/java/awt/peer/gtk/GtkToolkit.java,
1026 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1027 java/applet/Applet.java,
1028 java/awt/AWTError.java,
1029 java/awt/AWTEvent.java,
1030 java/awt/AWTEventMulticaster.java,
1031 java/awt/AWTException.java,
1032 java/awt/AWTKeyStroke.java,
1033 java/awt/AWTPermission.java,
1034 java/awt/ActiveEvent.java,
1035 java/awt/Adjustable.java,
1036 java/awt/AlphaComposite.java,
1037 java/awt/AttributeValue.java,
1038 java/awt/BorderLayout.java,
1039 java/awt/BufferCapabilities.java,
1040 java/awt/Button.java,
1041 java/awt/Canvas.java,
1042 java/awt/CheckboxGroup.java,
1043 java/awt/CheckboxMenuItem.java,
1044 java/awt/Color.java,
1045 java/awt/ColorPaintContext.java,
1046 java/awt/Component.java,
1047 java/awt/ComponentOrientation.java,
1048 java/awt/Composite.java,
1049 java/awt/CompositeContext.java,
1050 java/awt/Container.java,
1051 java/awt/ContainerOrderFocusTraversalPolicy.java,
1052 java/awt/DefaultFocusTraversalPolicy.java,
1053 java/awt/Dialog.java,
1054 java/awt/Dimension.java,
1055 java/awt/DisplayMode.java,
1056 java/awt/EventQueue.java,
1057 java/awt/FileDialog.java,
1058 java/awt/FontFormatException.java,
1059 java/awt/Graphics.java,
1060 java/awt/Graphics2D.java,
1061 java/awt/GraphicsConfigTemplate.java,
1062 java/awt/GraphicsConfiguration.java,
1063 java/awt/GraphicsDevice.java,
1064 java/awt/GridBagLayout.java,
1065 java/awt/GridBagLayoutInfo.java,
1066 java/awt/GridLayout.java,
1067 java/awt/HeadlessException.java,
1068 java/awt/IllegalComponentStateException.java,
1069 java/awt/Image.java,
1070 java/awt/Insets.java,
1071 java/awt/ItemSelectable.java,
1072 java/awt/JobAttributes.java,
1073 java/awt/KeyEventDispatcher.java,
1074 java/awt/KeyEventPostProcessor.java,
1075 java/awt/KeyboardFocusManager.java,
1076 java/awt/Label.java,
1077 java/awt/LayoutManager.java,
1078 java/awt/MenuBar.java,
1079 java/awt/MenuComponent.java,
1080 java/awt/MenuContainer.java,
1081 java/awt/PageAttributes.java,
1082 java/awt/Paint.java,
1083 java/awt/PaintContext.java,
1084 java/awt/Panel.java,
1085 java/awt/Point.java,
1086 java/awt/Polygon.java,
1087 java/awt/PrintGraphics.java,
1088 java/awt/PrintJob.java,
1089 java/awt/Rectangle.java,
1090 java/awt/RenderingHints.java,
1091 java/awt/Shape.java,
1092 java/awt/Stroke.java,
1093 java/awt/SystemColor.java,
1094 java/awt/Toolkit.java,
1095 java/awt/Transparency.java,
1096 java/awt/Window.java,
1097 java/awt/color/CMMException.java,
1098 java/awt/color/ColorSpace.java,
1099 java/awt/color/ICC_ColorSpace.java,
1100 java/awt/color/ICC_Profile.java,
1101 java/awt/color/ProfileDataException.java,
1102 java/awt/datatransfer/FlavorTable.java,
1103 java/awt/datatransfer/MimeTypeParseException.java,
1104 java/awt/datatransfer/Transferable.java,
1105 java/awt/datatransfer/UnsupportedFlavorException.java,
1106 java/awt/dnd/Autoscroll.java,
1107 java/awt/dnd/DnDConstants.java,
1108 java/awt/dnd/DragGestureListener.java,
1109 java/awt/dnd/DragSourceAdapter.java,
1110 java/awt/dnd/DragSourceDropEvent.java,
1111 java/awt/dnd/DragSourceListener.java,
1112 java/awt/dnd/DragSourceMotionListener.java,
1113 java/awt/dnd/DropTargetAdapter.java,
1114 java/awt/dnd/DropTargetContext.java,
1115 java/awt/dnd/DropTargetListener.java,
1116 java/awt/dnd/InvalidDnDOperationException.java,
1117 java/awt/dnd/MouseDragGestureRecognizer.java,
1118 java/awt/dnd/peer/DropTargetContextPeer.java,
1119 java/awt/event/AWTEventListener.java,
1120 java/awt/event/AWTEventListenerProxy.java,
1121 java/awt/event/ActionEvent.java,
1122 java/awt/event/AdjustmentEvent.java,
1123 java/awt/event/AdjustmentListener.java,
1124 java/awt/event/ComponentAdapter.java,
1125 java/awt/event/ComponentEvent.java,
1126 java/awt/event/ComponentListener.java,
1127 java/awt/event/ContainerAdapter.java,
1128 java/awt/event/ContainerEvent.java,
1129 java/awt/event/ContainerListener.java,
1130 java/awt/event/FocusAdapter.java,
1131 java/awt/event/FocusEvent.java,
1132 java/awt/event/FocusListener.java,
1133 java/awt/event/InputEvent.java,
1134 java/awt/event/InputMethodEvent.java,
1135 java/awt/event/InputMethodListener.java,
1136 java/awt/event/InvocationEvent.java,
1137 java/awt/event/ItemEvent.java,
1138 java/awt/event/ItemListener.java,
1139 java/awt/event/KeyAdapter.java,
1140 java/awt/event/KeyEvent.java,
1141 java/awt/event/KeyListener.java,
1142 java/awt/event/MouseAdapter.java,
1143 java/awt/event/MouseEvent.java,
1144 java/awt/event/MouseListener.java,
1145 java/awt/event/MouseMotionAdapter.java,
1146 java/awt/event/MouseMotionListener.java,
1147 java/awt/event/MouseWheelEvent.java,
1148 java/awt/event/MouseWheelListener.java,
1149 java/awt/event/PaintEvent.java,
1150 java/awt/event/TextEvent.java,
1151 java/awt/event/TextListener.java,
1152 java/awt/event/WindowAdapter.java,
1153 java/awt/event/WindowEvent.java,
1154 java/awt/event/WindowFocusListener.java,
1155 java/awt/event/WindowListener.java,
1156 java/awt/event/WindowStateListener.java,
1157 java/awt/font/TextHitInfo.java,
1158 java/awt/geom/CubicCurve2D.java,
1159 java/awt/geom/Dimension2D.java,
1160 java/awt/geom/Ellipse2D.java,
1161 java/awt/geom/IllegalPathStateException.java,
1162 java/awt/geom/Line2D.java,
1163 java/awt/geom/NoninvertibleTransformException.java,
1164 java/awt/geom/PathIterator.java,
1165 java/awt/geom/Point2D.java,
1166 java/awt/geom/QuadCurve2D.java,
1167 java/awt/geom/RectangularShape.java,
1168 java/awt/geom/RoundRectangle2D.java,
1169 java/awt/im/InputContext.java,
1170 java/awt/im/InputMethodHighlight.java,
1171 java/awt/im/InputMethodRequests.java,
1172 java/awt/im/InputSubset.java,
1173 java/awt/im/spi/InputMethod.java,
1174 java/awt/im/spi/InputMethodDescriptor.java,
1175 java/awt/image/BandCombineOp.java,
1176 java/awt/image/BandedSampleModel.java,
1177 java/awt/image/ByteLookupTable.java,
1178 java/awt/image/ComponentSampleModel.java,
1179 java/awt/image/DataBuffer.java,
1180 java/awt/image/DataBufferByte.java,
1181 java/awt/image/DataBufferDouble.java,
1182 java/awt/image/DataBufferFloat.java,
1183 java/awt/image/DataBufferInt.java,
1184 java/awt/image/DataBufferShort.java,
1185 java/awt/image/DataBufferUShort.java,
1186 java/awt/image/ImagingOpException.java,
1187 java/awt/image/Kernel.java,
1188 java/awt/image/LookupTable.java,
1189 java/awt/image/MultiPixelPackedSampleModel.java,
1190 java/awt/image/PackedColorModel.java,
1191 java/awt/image/PixelInterleavedSampleModel.java,
1192 java/awt/image/RGBImageFilter.java,
1193 java/awt/image/Raster.java,
1194 java/awt/image/RasterFormatException.java,
1195 java/awt/image/SampleModel.java,
1196 java/awt/image/ShortLookupTable.java,
1197 java/awt/image/SinglePixelPackedSampleModel.java,
1198 java/awt/image/WritableRaster.java,
1199 java/awt/print/PrinterAbortException.java,
1200 java/awt/print/PrinterException.java,
1201 java/awt/print/PrinterIOException.java,
1202 java/beans/AppletInitializer.java,
1203 java/beans/ExceptionListener.java,
1204 java/beans/PropertyChangeEvent.java,
1205 java/beans/PropertyChangeListenerProxy.java,
1206 java/beans/PropertyChangeSupport.java,
1207 java/beans/PropertyDescriptor.java,
1208 java/beans/VetoableChangeListenerProxy.java,
1209 java/beans/VetoableChangeSupport.java,
1210 java/io/BufferedReader.java,
1211 java/io/ByteArrayInputStream.java,
1212 java/io/ByteArrayOutputStream.java,
1213 java/io/CharArrayReader.java,
1214 java/io/CharArrayWriter.java,
1215 java/io/CharConversionException.java,
1216 java/io/DataInput.java,
1217 java/io/DataInputStream.java,
1218 java/io/DataOutput.java,
1219 java/io/DataOutputStream.java,
1220 java/io/EOFException.java,
1221 java/io/FileInputStream.java,
1222 java/io/FileNotFoundException.java,
1223 java/io/FileOutputStream.java,
1224 java/io/FilenameFilter.java,
1225 java/io/FilterInputStream.java,
1226 java/io/FilterOutputStream.java,
1227 java/io/FilterReader.java,
1228 java/io/FilterWriter.java,
1229 java/io/IOException.java,
1230 java/io/InputStream.java,
1231 java/io/InterruptedIOException.java,
1232 java/io/LineNumberInputStream.java,
1233 java/io/LineNumberReader.java,
1234 java/io/ObjectInputStream.java,
1235 java/io/ObjectStreamException.java,
1236 java/io/OptionalDataException.java,
1237 java/io/OutputStream.java,
1238 java/io/OutputStreamWriter.java,
1239 java/io/PrintStream.java,
1240 java/io/PrintWriter.java,
1241 java/io/PushbackInputStream.java,
1242 java/io/PushbackReader.java,
1243 java/io/RandomAccessFile.java,
1244 java/io/Reader.java,
1245 java/io/SequenceInputStream.java,
1246 java/io/Serializable.java,
1247 java/io/StreamCorruptedException.java,
1248 java/io/StreamTokenizer.java,
1249 java/io/StringBufferInputStream.java,
1250 java/io/StringWriter.java,
1251 java/io/SyncFailedException.java,
1252 java/io/UTFDataFormatException.java,
1253 java/io/UnsupportedEncodingException.java,
1254 java/io/WriteAbortedException.java,
1255 java/io/Writer.java,
1256 java/lang/AbstractMethodError.java,
1257 java/lang/ArithmeticException.java,
1258 java/lang/ArrayIndexOutOfBoundsException.java,
1259 java/lang/ArrayStoreException.java,
1260 java/lang/AssertionError.java,
1261 java/lang/Boolean.java,
1262 java/lang/Byte.java,
1263 java/lang/Class.java,
1264 java/lang/ClassCastException.java,
1265 java/lang/ClassCircularityError.java,
1266 java/lang/ClassLoader.java,
1267 java/lang/ClassNotFoundException.java,
1268 java/lang/CloneNotSupportedException.java,
1269 java/lang/Cloneable.java,
1270 java/lang/Comparable.java,
1271 java/lang/Compiler.java,
1272 java/lang/Double.java,
1273 java/lang/Error.java,
1274 java/lang/Exception.java,
1275 java/lang/ExceptionInInitializerError.java,
1276 java/lang/Float.java,
1277 java/lang/IllegalAccessError.java,
1278 java/lang/IllegalAccessException.java,
1279 java/lang/IllegalArgumentException.java,
1280 java/lang/IllegalMonitorStateException.java,
1281 java/lang/IllegalStateException.java,
1282 java/lang/IllegalThreadStateException.java,
1283 java/lang/IncompatibleClassChangeError.java,
1284 java/lang/IndexOutOfBoundsException.java,
1285 java/lang/InheritableThreadLocal.java,
1286 java/lang/InstantiationError.java,
1287 java/lang/InstantiationException.java,
1288 java/lang/Integer.java,
1289 java/lang/InternalError.java,
1290 java/lang/InterruptedException.java,
1291 java/lang/LinkageError.java,
1292 java/lang/Long.java,
1293 java/lang/NegativeArraySizeException.java,
1294 java/lang/NoClassDefFoundError.java,
1295 java/lang/NoSuchFieldError.java,
1296 java/lang/NoSuchFieldException.java,
1297 java/lang/NoSuchMethodError.java,
1298 java/lang/NoSuchMethodException.java,
1299 java/lang/NullPointerException.java,
1300 java/lang/Number.java,
1301 java/lang/NumberFormatException.java,
1302 java/lang/OutOfMemoryError.java,
1303 java/lang/Process.java,
1304 java/lang/Runnable.java,
1305 java/lang/Runtime.java,
1306 java/lang/RuntimeException.java,
1307 java/lang/RuntimePermission.java,
1308 java/lang/SecurityException.java,
1309 java/lang/SecurityManager.java,
1310 java/lang/Short.java,
1311 java/lang/StackOverflowError.java,
1312 java/lang/StackTraceElement.java,
1313 java/lang/StringBuffer.java,
1314 java/lang/StringIndexOutOfBoundsException.java,
1315 java/lang/ThreadDeath.java,
1316 java/lang/ThreadGroup.java,
1317 java/lang/Throwable.java,
1318 java/lang/UnsatisfiedLinkError.java,
1319 java/lang/UnsupportedOperationException.java,
1320 java/lang/VerifyError.java,
1321 java/lang/VirtualMachineError.java,
1322 java/lang/reflect/AccessibleObject.java,
1323 java/lang/reflect/Array.java,
1324 java/lang/reflect/InvocationTargetException.java,
1325 java/lang/reflect/Member.java,
1326 java/lang/reflect/Modifier.java,
1327 java/lang/reflect/Proxy.java,
1328 java/lang/reflect/ReflectPermission.java,
1329 java/lang/reflect/UndeclaredThrowableException.java,
1330 java/math/BigInteger.java,
1331 java/net/NetworkInterface.java,
1332 java/nio/ByteBufferHelper.java,
1333 java/nio/ByteBufferImpl.java,
1334 java/nio/DirectByteBufferImpl.java,
1335 java/nio/DoubleBufferImpl.java,
1336 java/nio/FloatBufferImpl.java,
1337 java/nio/IntBufferImpl.java,
1338 java/nio/LongBufferImpl.java,
1339 java/nio/ShortBufferImpl.java,
1340 java/nio/channels/Channel.java,
1341 java/nio/channels/IllegalBlockingModeException.java,
1342 java/nio/charset/spi/CharsetProvider.java,
1343 java/security/AccessControlException.java,
1344 java/security/BasicPermission.java,
1345 java/security/DigestException.java,
1346 java/security/DigestInputStream.java,
1347 java/security/DigestOutputStream.java,
1348 java/security/GeneralSecurityException.java,
1349 java/security/Guard.java,
1350 java/security/GuardedObject.java,
1351 java/security/InvalidAlgorithmParameterException.java,
1352 java/security/InvalidKeyException.java,
1353 java/security/InvalidParameterException.java,
1354 java/security/Key.java,
1355 java/security/KeyException.java,
1356 java/security/KeyManagementException.java,
1357 java/security/KeyStoreException.java,
1358 java/security/MessageDigestSpi.java,
1359 java/security/NoSuchAlgorithmException.java,
1360 java/security/NoSuchProviderException.java,
1361 java/security/Permission.java,
1362 java/security/PermissionCollection.java,
1363 java/security/Permissions.java,
1364 java/security/Principal.java,
1365 java/security/PrivateKey.java,
1366 java/security/PrivilegedActionException.java,
1367 java/security/ProviderException.java,
1368 java/security/PublicKey.java,
1369 java/security/SecureRandom.java,
1370 java/security/SecureRandomSpi.java,
1371 java/security/SignatureException.java,
1372 java/security/SignatureSpi.java,
1373 java/security/SignedObject.java,
1374 java/security/Signer.java,
1375 java/security/UnrecoverableKeyException.java,
1376 java/security/UnresolvedPermission.java,
1377 java/security/acl/AclNotFoundException.java,
1378 java/security/acl/LastOwnerException.java,
1379 java/security/acl/NotOwnerException.java,
1380 java/security/cert/CertPath.java,
1381 java/security/cert/CertPathBuilderException.java,
1382 java/security/cert/CertPathValidatorException.java,
1383 java/security/cert/CertStoreException.java,
1384 java/text/BreakIterator.java,
1385 java/text/ChoiceFormat.java,
1386 java/text/CollationElementIterator.java,
1387 java/text/CollationKey.java,
1388 java/text/Collator.java,
1389 java/text/DateFormat.java,
1390 java/text/DateFormatSymbols.java,
1391 java/text/DecimalFormat.java,
1392 java/text/DecimalFormatSymbols.java,
1393 java/text/FieldPosition.java,
1394 java/text/Format.java,
1395 java/text/NumberFormat.java,
1396 java/text/ParseException.java,
1397 java/text/ParsePosition.java,
1398 java/text/StringCharacterIterator.java,
1399 java/util/AbstractCollection.java,
1400 java/util/AbstractList.java,
1401 java/util/AbstractMap.java,
1402 java/util/AbstractSequentialList.java,
1403 java/util/AbstractSet.java,
1404 java/util/ArrayList.java,
1405 java/util/Arrays.java,
1406 java/util/BitSet.java,
1407 java/util/Collection.java,
1408 java/util/Collections.java,
1409 java/util/Comparator.java,
1410 java/util/ConcurrentModificationException.java,
1411 java/util/Currency.java,
1412 java/util/Date.java,
1413 java/util/EmptyStackException.java,
1414 java/util/Enumeration.java,
1415 java/util/EventListener.java,
1416 java/util/EventListenerProxy.java,
1417 java/util/EventObject.java,
1418 java/util/HashMap.java,
1419 java/util/HashSet.java,
1420 java/util/Hashtable.java,
1421 java/util/IdentityHashMap.java,
1422 java/util/Iterator.java,
1423 java/util/LinkedHashSet.java,
1424 java/util/LinkedList.java,
1425 java/util/List.java,
1426 java/util/ListIterator.java,
1427 java/util/ListResourceBundle.java,
1429 java/util/MissingResourceException.java,
1430 java/util/NoSuchElementException.java,
1431 java/util/Observable.java,
1432 java/util/Observer.java,
1433 java/util/Properties.java,
1434 java/util/PropertyPermissionCollection.java,
1435 java/util/RandomAccess.java,
1437 java/util/SortedMap.java,
1438 java/util/SortedSet.java,
1439 java/util/Stack.java,
1440 java/util/StringTokenizer.java,
1441 java/util/TooManyListenersException.java,
1442 java/util/TreeMap.java,
1443 java/util/TreeSet.java,
1444 java/util/Vector.java,
1445 java/util/logging/FileHandler.java,
1446 java/util/logging/Level.java,
1447 java/util/prefs/BackingStoreException.java,
1448 java/util/prefs/InvalidPreferencesFormatException.java,
1449 java/util/prefs/Preferences.java,
1450 javax/accessibility/Accessible.java,
1451 javax/accessibility/AccessibleAction.java,
1452 javax/accessibility/AccessibleBundle.java,
1453 javax/accessibility/AccessibleComponent.java,
1454 javax/accessibility/AccessibleContext.java,
1455 javax/accessibility/AccessibleEditableText.java,
1456 javax/accessibility/AccessibleExtendedComponent.java,
1457 javax/accessibility/AccessibleExtendedTable.java,
1458 javax/accessibility/AccessibleHyperlink.java,
1459 javax/accessibility/AccessibleHypertext.java,
1460 javax/accessibility/AccessibleIcon.java,
1461 javax/accessibility/AccessibleKeyBinding.java,
1462 javax/accessibility/AccessibleRelation.java,
1463 javax/accessibility/AccessibleRelationSet.java,
1464 javax/accessibility/AccessibleResourceBundle.java,
1465 javax/accessibility/AccessibleRole.java,
1466 javax/accessibility/AccessibleSelection.java,
1467 javax/accessibility/AccessibleState.java,
1468 javax/accessibility/AccessibleStateSet.java,
1469 javax/accessibility/AccessibleTable.java,
1470 javax/accessibility/AccessibleTableModelChange.java,
1471 javax/accessibility/AccessibleText.java,
1472 javax/accessibility/AccessibleValue.java,
1473 javax/imageio/IIOException.java,
1474 javax/imageio/ImageIO.java,
1475 javax/imageio/spi/IIOServiceProvider.java,
1476 javax/imageio/spi/ImageInputStreamSpi.java,
1477 javax/imageio/spi/ImageOutputStreamSpi.java,
1478 javax/imageio/spi/ImageReaderWriterSpi.java,
1479 javax/imageio/spi/ImageTranscoderSpi.java,
1480 javax/imageio/spi/RegisterableService.java,
1481 javax/imageio/spi/ServiceRegistry.java,
1482 javax/imageio/stream/IIOByteBuffer.java,
1483 javax/imageio/stream/ImageInputStream.java,
1484 javax/imageio/stream/ImageOutputStream.java,
1485 javax/naming/Binding.java,
1486 javax/naming/CannotProceedException.java,
1487 javax/naming/CompositeName.java,
1488 javax/naming/CompoundName.java,
1489 javax/naming/LinkException.java,
1490 javax/naming/LinkRef.java,
1491 javax/naming/NameClassPair.java,
1492 javax/naming/Reference.java,
1493 javax/naming/ReferralException.java,
1494 javax/naming/directory/Attribute.java,
1495 javax/naming/directory/AttributeModificationException.java,
1496 javax/naming/directory/Attributes.java,
1497 javax/naming/directory/DirContext.java,
1498 javax/naming/directory/ModificationItem.java,
1499 javax/naming/directory/SearchControls.java,
1500 javax/naming/directory/SearchResult.java,
1501 javax/naming/event/EventContext.java,
1502 javax/naming/event/EventDirContext.java,
1503 javax/naming/event/NamespaceChangeListener.java,
1504 javax/naming/event/NamingExceptionEvent.java,
1505 javax/naming/event/NamingListener.java,
1506 javax/naming/event/ObjectChangeListener.java,
1507 javax/naming/ldap/Control.java,
1508 javax/naming/ldap/ExtendedResponse.java,
1509 javax/naming/ldap/HasControls.java,
1510 javax/naming/ldap/LdapContext.java,
1511 javax/naming/ldap/UnsolicitedNotification.java,
1512 javax/naming/ldap/UnsolicitedNotificationEvent.java,
1513 javax/naming/ldap/UnsolicitedNotificationListener.java,
1514 javax/naming/spi/DirectoryManager.java,
1515 javax/naming/spi/ResolveResult.java,
1516 javax/naming/spi/Resolver.java,
1517 javax/security/auth/callback/Callback.java,
1518 javax/security/auth/callback/CallbackHandler.java,
1519 javax/security/auth/callback/ChoiceCallback.java,
1520 javax/security/auth/callback/ConfirmationCallback.java,
1521 javax/security/auth/callback/LanguageCallback.java,
1522 javax/security/auth/callback/NameCallback.java,
1523 javax/security/auth/callback/PasswordCallback.java,
1524 javax/security/auth/callback/TextInputCallback.java,
1525 javax/security/auth/callback/TextOutputCallback.java,
1526 javax/security/auth/callback/UnsupportedCallbackException.java,
1527 javax/security/sasl/Sasl.java,
1528 javax/security/sasl/SaslServerFactory.java,
1529 javax/swing/DefaultBoundedRangeModel.java,
1530 javax/swing/JComponent.java,
1531 javax/swing/JList.java,
1532 javax/swing/JProgressBar.java,
1533 javax/swing/JRadioButton.java,
1534 javax/swing/JTextArea.java,
1535 javax/swing/JTextField.java,
1536 javax/swing/JToggleButton.java,
1537 javax/swing/JTree.java,
1538 javax/swing/SpinnerListModel.java,
1539 javax/swing/event/EventListenerList.java,
1540 javax/swing/text/JTextComponent.java,
1541 javax/swing/text/StringContent.java,
1542 javax/swing/text/Utilities.java,
1543 javax/swing/undo/UndoManager.java,
1544 javax/swing/undo/UndoableEditSupport.java,
1545 javax/transaction/HeuristicCommitException.java,
1546 javax/transaction/HeuristicMixedException.java,
1547 javax/transaction/HeuristicRollbackException.java,
1548 javax/transaction/InvalidTransactionException.java,
1549 javax/transaction/NotSupportedException.java,
1550 javax/transaction/RollbackException.java,
1551 javax/transaction/Status.java,
1552 javax/transaction/Synchronization.java,
1553 javax/transaction/SystemException.java,
1554 javax/transaction/Transaction.java,
1555 javax/transaction/TransactionManager.java,
1556 javax/transaction/TransactionRequiredException.java,
1557 javax/transaction/TransactionRolledbackException.java,
1558 javax/transaction/UserTransaction.java,
1559 javax/transaction/xa/XAException.java,
1560 javax/transaction/xa/XAResource.java,
1561 javax/transaction/xa/Xid.java,
1562 javax/xml/XMLConstants.java,
1563 javax/xml/datatype/DatatypeConfigurationException.java,
1564 javax/xml/datatype/DatatypeConstants.java,
1565 javax/xml/datatype/DatatypeFactory.java,
1566 javax/xml/datatype/Duration.java,
1567 javax/xml/datatype/XMLGregorianCalendar.java,
1568 javax/xml/namespace/NamespaceContext.java,
1569 javax/xml/namespace/QName.java,
1570 javax/xml/parsers/DocumentBuilder.java,
1571 javax/xml/parsers/DocumentBuilderFactory.java,
1572 javax/xml/parsers/FactoryConfigurationError.java,
1573 javax/xml/parsers/ParserConfigurationException.java,
1574 javax/xml/parsers/SAXParser.java,
1575 javax/xml/parsers/SAXParserFactory.java,
1576 javax/xml/transform/ErrorListener.java,
1577 javax/xml/transform/OutputKeys.java,
1578 javax/xml/transform/Result.java,
1579 javax/xml/transform/Source.java,
1580 javax/xml/transform/SourceLocator.java,
1581 javax/xml/transform/Templates.java,
1582 javax/xml/transform/Transformer.java,
1583 javax/xml/transform/TransformerConfigurationException.java,
1584 javax/xml/transform/TransformerException.java,
1585 javax/xml/transform/TransformerFactory.java,
1586 javax/xml/transform/TransformerFactoryConfigurationError.java,
1587 javax/xml/transform/URIResolver.java,
1588 javax/xml/transform/dom/DOMLocator.java,
1589 javax/xml/transform/dom/DOMResult.java,
1590 javax/xml/transform/dom/DOMSource.java,
1591 javax/xml/transform/sax/SAXResult.java,
1592 javax/xml/transform/sax/SAXSource.java,
1593 javax/xml/transform/sax/SAXTransformerFactory.java,
1594 javax/xml/transform/sax/TemplatesHandler.java,
1595 javax/xml/transform/sax/TransformerHandler.java,
1596 javax/xml/transform/stream/StreamResult.java,
1597 javax/xml/transform/stream/StreamSource.java,
1598 javax/xml/validation/Schema.java,
1599 javax/xml/validation/SchemaFactory.java,
1600 javax/xml/validation/TypeInfoProvider.java,
1601 javax/xml/validation/Validator.java,
1602 javax/xml/validation/ValidatorHandler.java,
1603 javax/xml/xpath/XPathConstants.java,
1604 javax/xml/xpath/XPathException.java,
1605 javax/xml/xpath/XPathExpression.java,
1606 javax/xml/xpath/XPathExpressionException.java,
1607 javax/xml/xpath/XPathFactory.java,
1608 javax/xml/xpath/XPathFactoryConfigurationException.java,
1609 javax/xml/xpath/XPathFunction.java,
1610 javax/xml/xpath/XPathFunctionException.java,
1611 javax/xml/xpath/XPathFunctionResolver.java:
1612 Fixed usage of @author tag, reworked import statements,
1613 removed CVS tags, changed the modifier order and fixed
1614 HTML usage in javadocs.
1616 2005-02-16 Julian Scheid <julian@sektor37.de>
1618 * gnu/java/nio/charset/UTF_8.java (decodeLoop): Set inPos to
1620 (encodeLoop): Likewise.
1622 2005-02-16 Mark Wielaard <mark@klomp.org>
1624 * Makefile.am (ordinary_java_source_files): Add new files
1625 gnu/java/security/ber/BER.java,
1626 gnu/java/security/ber/BEREncodingException.java,
1627 gnu/java/security/ber/BERReader.java,
1628 gnu/java/security/ber/BERValue.java,
1629 gnu/java/security/pkcs/PKCS7SignedData.java and
1630 gnu/java/security/pkcs/SignerInfo.java.
1631 * Makefile.in: Regenerated.
1633 2005-02-16 Casey Marshall <csm@gnu.org>
1635 * gnu/java/security/provider/GnuDSAPrivateKey.java
1636 (encodedKey): new field.
1637 (getFormat): return "PKCS#8".
1638 (getEncoded): implemented.
1639 (toString): check for 'null' values.
1640 * gnu/java/security/provider/GnuDSAPublicKey.java
1641 (encodedKey): new field.
1642 (getFormat): return "X.509".
1643 (getEncoded): implemented.
1644 (toString): check for 'null' values.
1646 2005-02-16 Michael Koch <konqueror@gmx.de>
1648 * java/util/jar/JarFile.java: Imports reworked.
1650 2005-02-16 Mark Wielaard <mark@klomp.org>
1652 * java/util/jar/JarFile.java (verify): Make package private.
1653 (signaturesRead): Likewise.
1654 (verified): Likewise.
1655 (entryCerts): Likewise.
1658 (entries): Construct new JarEnumeration with reference to this.
1659 (JarEnumeration): Make static.
1660 (JarEnumeration.jarfile): New field.
1661 (JarEnumeration.nextElement): Use and synchronize on jarfile.
1662 Compare verified value to Boolean.TRUE or Boolean.False only
1663 when verify is true.
1664 (getEntry): Make synchronized. Compare value of verified to
1666 (getInputStream): Construct EntryInputStream with reference to this.
1667 (getManifest): Make synchronized.
1668 (EntryInputStream): Make static.
1669 (EntryInputStream.jarfile): New field.
1670 (EntryInputStream.EntryInputStream): Check if manifest exists,
1671 before getting attributes.
1672 (eof): Synchronize on jarfile.
1674 2005-02-16 Casey Marshall <csm@gnu.org>
1676 * java/util/jar/JarFile.java (verify): return if the jar is signed
1677 with an unsupported algorithm.
1679 2005-02-16 Mark Wielaard <mark@klomp.org>
1681 * java/util/jar/JarFile.java (EntryInputStream): Add actual
1682 InputStream as argument.
1683 (getInputStream): Construct a new EntryInputStream with the result of
1684 super.getInputStream(entry).
1686 2005-02-16 Casey Marshall <csm@gnu.org>
1688 Signed JAR file support.
1689 * java/net/URLClassLoader.java
1690 (JarURLResource.getCertificates): re-read jar entry to ensure
1691 certificates are picked up.
1692 (findClass): fill in class `signers' field, too.
1693 * java/util/jar/JarFile.java (META_INF): new constant.
1694 (PKCS7_DSA_SUFFIX): new constant.
1695 (PKCS7_RSA_SUFFIX): new constant.
1696 (DIGEST_KEY_SUFFIX): new constant.
1697 (SF_SUFFIX): new constant.
1698 (MD2_OID): new constant.
1699 (MD4_OID): new constant.
1700 (MD5_OID): new constant.
1701 (SHA1_OID): new constant.
1702 (DSA_ENCRYPTION_OID): new constant.
1703 (RSA_ENCRYPTION_OID): new constant.
1704 (signaturesRead): new field.
1705 (verified): new field.
1706 (entryCerts): new field.
1707 (DEBUG): new constant.
1708 (debug): new method.
1709 (JarEnumeration.nextElement): fill in entry certificates, read
1710 signatures if they haven't been read.
1711 (getEntry): likewise.
1712 (getInputStream): verify stream if it hasn't been verified yet.
1713 (readSignatures): new method.
1714 (verify): new method.
1715 (verifyHashes): new method.
1716 (readManifestEntry): new method.
1717 (EntryInputStream): new class.
1718 * gnu/java/io/Base64InputStream.java (decode): new class
1720 * gnu/java/security/der/DERReader.java don't make class
1722 (in): made protected.
1724 (readLength): likewise.
1725 * gnu/java/security/ber/BER.java,
1726 * gnu/java/security/ber/BEREncodingException.java,
1727 * gnu/java/security/ber/BERReader.java,
1728 * gnu/java/security/ber/BERValue.java,
1729 * gnu/java/security/pkcs/PKCS7SignedData.java,
1730 * gnu/java/security/pkcs/SignerInfo.java:
1733 2005-02-16 Tom Tromey <tromey@redhat.com>
1735 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): Delete
1736 copied file on exit.
1738 2005-02-15 Mark Wielaard <mark@klomp.org>
1740 * java/awt/BasicStroke.java (hashCode): Check for null dash.
1742 2005-02-15 Michael Koch <konqueror@gmx.de>
1744 * gnu/java/awt/peer/gtk/GtkArg.java,
1745 gnu/java/awt/peer/gtk/GtkArgList.java:
1748 2005-02-15 Craig Black <craig.black@aonix.com>
1750 * gnu/java/awt/peer/gtk/GtkCheckboxMenuItem.java
1751 (postMenuActionEvent): Implement to notify ItemListeners.
1752 * java/awt/CheckboxMenuItem.java
1753 (dispatchEventImpl): Update state on ItemEvent.
1754 * java/awt/MenuItem.java
1755 (processActionEvent): Retarget event source.
1757 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
1759 * gnu/java/awt/color/ClutProfileConverter.java,
1760 gnu/java/awt/peer/ClasspathTextLayoutPeer.java,
1761 gnu/java/awt/peer/gtk/GdkFontPeer.java,
1762 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
1763 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
1764 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
1765 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
1766 gnu/java/awt/peer/gtk/GdkRobotPeer.java,
1767 gnu/java/awt/peer/gtk/GdkTextLayout.java,
1768 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
1769 gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
1770 gnu/java/awt/peer/gtk/GtkChoicePeer.java,
1771 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
1772 gnu/java/awt/peer/gtk/GtkContainerPeer.java,
1773 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
1774 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1775 gnu/java/awt/peer/gtk/GtkFontPeer.java,
1776 gnu/java/awt/peer/gtk/GtkFramePeer.java,
1777 gnu/java/awt/peer/gtk/GtkLabelPeer.java,
1778 gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java,
1779 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
1780 gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
1781 gnu/java/awt/peer/gtk/GtkTextComponentPeer.java,
1782 gnu/java/awt/peer/gtk/GtkToolkit.java,
1783 gnu/java/awt/peer/gtk/GtkWindowPeer.java,
1784 javax/swing/JPopupMenu.java,
1785 javax/swing/JSpinner.java,
1786 javax/swing/SortingFocusTraversalPolicy.java,
1787 javax/swing/SwingUtilities.java,
1788 javax/swing/plaf/basic/BasicComboBoxEditor.java,
1789 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
1790 javax/swing/tree/DefaultMutableTreeNode.java:
1791 Removed unused imports and expanded starred
1794 2005-02-15 Mark Wielaard <mark@klomp.org>
1796 * java/awt/AWTKeyStroke.java (getAWTKeyStroke(String)): Throw
1797 IllegalArgumentException when the given String is null.
1799 * javax/swing/KeyStroke.java (getKeyStroke(String)): Return null
1800 when given keystoke sequence cannot be parsed.
1802 * javax/swing/JRootPane.java (setJMenuBar): Remove current menubar
1803 if one is installed. Only install the given menubar is not null.
1805 * javax/swing/JViewport.java (getViewSize): Return an empty
1806 Dimension when the view isn't set or preferred component size when
1809 * javax/swing/ViewportLayout.java (preferredLayoutSize): Return an
1810 empty Dimension when there is no view set.
1811 (minimumLayoutSize): Likewise.
1812 (layoutContainer): Don't try to layout when there is no view.
1814 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1817 * include/jawt.h: Likewise.
1818 * include/jawt_md.h: Likewise.
1819 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
1821 * jni/classpath/classpath_jawt.h: Likewise.
1822 * jni/gtk-peer/gtk_jawt.c: Likewise.
1823 * Makefile.am: Build libjawt.so.
1825 2005-02-15 Michael Koch <konqueror@gmx.de>
1827 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
1828 Merged file header with classpath CVS head.
1829 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
1830 Merged code formatting with classpath CVS head.
1831 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c:
1833 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
1834 Handle special JNI strings with 2 '\0' at the end.
1835 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1836 Merged file header with classpath CVS head.
1837 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
1838 Merged code formatting with classpath CVS head.
1840 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
1842 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c (create):
1843 Use GTK's built-in file system backend. Use GTK_RESPONSE_ACCEPT.
1844 (handle_response): Use GTK_RESPONSE_ACCEPT.
1846 2005-02-15 Graydon Hoare <graydon@redhat.com>
1848 * Makefile.am: Fix library build breakage.
1849 * Makefile.in: Regenerate.
1851 2005-02-15 Michael Koch <konqueror@gmx.de>
1853 * javax/swing/JTabbedPane.java
1854 (Page.setDisplayedMnemonicIndex): Handle empty menmonic.
1856 2005-02-15 Michael Koch <konqueror@gmx.de>
1858 * javax/swing/tree/DefaultMutableTreeNode.java:
1859 Reworked Javadocs all over.
1860 (getPathToRoot): Fixed direction of result array initialization.
1862 2005-02-15 Michael Koch <konqueror@gmx.de>
1864 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
1865 Fix includes for cairo 0.3.0 snappshot.
1866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
1867 Merged file header from classpath CVS HEAD.
1869 2005-02-15 Craig Black <craig.black@aonix.com>
1871 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
1872 (copyState): Pass a JNI global reference to signal handler.
1873 (realize_cb): Use and free JNI global reference.
1874 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
1875 (create): Pass a JNI global reference to signal handler.
1876 (selection_changed): Match declaration.
1877 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
1878 (dispose): Do not remove entries from state tables until after widget is
1881 2005-02-15 Michael Koch <konqueror@gmx.de>
1883 * java/awt/Container.javai (paramString):
1884 If layoutMgr is null just return result of super.paramString().
1885 * java/awt/Scrollbar.java: Reformatted.
1886 * java/awt/im/InputContext.java (static):
1887 Removed redundant initializations.
1889 2005-02-15 Michael Koch <konqueror@gmx.de>
1891 * javax/swing/ImageIcon.java,
1892 javax/swing/UIManager.java,
1893 javax/swing/text/EditorKit.java,
1894 javax/swing/text/Segment.java:
1895 More whitespace cleanups.
1897 2005-02-15 Michael Koch <konqueror@gmx.de>
1899 * gnu/java/awt/EmbeddedWindow.java,
1900 gnu/java/awt/image/ImageDecoder.java,
1901 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
1902 java/awt/DefaultKeyboardFocusManager.java,
1903 java/awt/Frame.java,
1904 java/awt/image/RGBImageFilter.java,
1905 javax/swing/AbstractButton.java,
1906 javax/swing/ActionMap.java,
1907 javax/swing/ComponentInputMap.java,
1908 javax/swing/DefaultDesktopManager.java,
1909 javax/swing/ImageIcon.java,
1910 javax/swing/InputMap.java,
1911 javax/swing/JButton.java,
1912 javax/swing/JCheckBox.java,
1913 javax/swing/JCheckBoxMenuItem.java,
1914 javax/swing/JEditorPane.java,
1915 javax/swing/JMenu.java,
1916 javax/swing/JMenuItem.java,
1917 javax/swing/JOptionPane.java,
1918 javax/swing/JRootPane.java,
1919 javax/swing/JTable.java,
1920 javax/swing/MenuSelectionManager.java,
1921 javax/swing/RepaintManager.java,
1922 javax/swing/ScrollPaneLayout.java,
1923 javax/swing/SortingFocusTraversalPolicy.java,
1924 javax/swing/UIManager.java,
1925 javax/swing/ViewportLayout.java,
1926 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
1927 javax/swing/plaf/basic/BasicInternalFrameUI.java,
1928 javax/swing/plaf/basic/BasicLabelUI.java,
1929 javax/swing/plaf/basic/BasicListUI.java,
1930 javax/swing/plaf/basic/BasicMenuItemUI.java,
1931 javax/swing/plaf/basic/BasicMenuUI.java,
1932 javax/swing/plaf/basic/BasicOptionPaneUI.java,
1933 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
1934 javax/swing/plaf/basic/BasicRootPaneUI.java,
1935 javax/swing/plaf/basic/BasicScrollPaneUI.java,
1936 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
1937 javax/swing/plaf/basic/BasicTextUI.java,
1938 javax/swing/table/TableColumnModel.java,
1939 javax/swing/text/AbstractDocument.java,
1940 javax/swing/text/EditorKit.java,
1941 javax/swing/text/Position.java,
1942 javax/swing/text/Segment.java,
1943 javax/swing/text/StyledEditorKit.java,
1944 javax/swing/text/ViewFactory.java:
1945 Cleanup whitespace differences to classpath CVS HEAD.
1947 2005-02-15 Graydon Hoare <graydon@redhat.com>
1949 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
1950 (finalize): Call finish from here.
1951 (produce): Not from here.
1952 * Makefile.am (gtk_c_source_files):
1953 Remove jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c.
1954 * Makefile.in: Regenerate.
1955 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
1957 (cairoDrawGdkTextLayout):
1959 (getPeerTextMetrics):
1960 (getPeerFontMetrics): Remove.
1961 (setFont): Don't call cairoSetFont.
1962 (cairoDrawGlyphVector): Accept font peer argument.
1963 (drawGlyphVector): Pass font peer to cairoDrawGlyphVector.
1964 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
1965 (ensure_metrics_cairo):
1966 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoSetFont):
1967 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawString):
1968 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerFontMetrics):
1969 (gnu_java_awt_peer_gtk_GdkGraphics2D_getPeerTextMetrics):
1971 (metrics_surface): Remove.
1972 (gnu_java_awt_peer_gtk_GdkGraphics2D_cairoDrawGlyphVector):
1973 Pass and install font peer.
1975 2005-02-15 Graydon Hoare <graydon@redhat.com>
1977 * Makefile.am: Create "split library" structure.
1978 * Makefile.in: Regenerate.
1980 2005-02-15 Graydon Hoare <graydon@redhat.com>
1982 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
1983 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
1984 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
1985 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
1986 Release GDK lock during upcalls.
1988 2005-02-15 Graydon Hoare <graydon@redhat.com>
1990 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Remove.
1991 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
1992 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getGlyphVector):
1993 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getFontMetrics):
1994 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_getTextMetrics): New methods.
1995 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c: Remove.
1996 * gnu/java/awt/peer/gtk/GdkFontPeer.java
1999 (getTextMetrics): New native methods.
2000 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Remove native parts.
2001 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Likewise.
2002 * Makefile.am: Remove native entries for GdkFontMetrics, GdkGlyphVector.
2003 * Makefile.in: Regenerate.
2005 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2007 * javax/swing/SwingUtilities.java:
2008 (getAccessibleAt(java.awt.Component, java.awt.Point)):
2009 Implemented and documented.
2010 (getAccessibleChild(java.awt.Component, int)): Likewise.
2011 (getAccessibleChildrenCount(java.awt.Component)): Likewise.
2012 (getAccessibleIndexInParent(java.awt.Component)): Likewise.
2013 (getAccessibleStateSet(java.awt.Component)): Likewise.
2015 2005-02-15 Michael Koch <konqueror@gmx.de>
2017 * javax/swing/SwingUtilities.java
2018 (getFontMetrics): Removed.
2020 2005-02-15 Michael Koch <konqueror@gmx.de>
2022 * java/awt/Container.java
2023 (paramString): Implemented.
2024 * javax/swing/AbstractButton.java
2025 (paramString): Implemented.
2026 * javax/swing/JComponent.java
2027 (paramString): Implemented.
2028 * javax/swing/JMenu.java
2029 (paramString): Implemented.
2030 * javax/swing/JMenuBar.java
2031 (paramString): Implemented.
2032 * javax/swing/JMenuItem.java
2033 (paramString): Implemented.
2034 * javax/swing/JPopupMenu.java
2035 (paramString): Implemented.
2037 2005-02-15 Michael Koch <konqueror@gmx.de>
2039 * javax/swing/JMenu.java
2040 (uiClassID): Removed.
2041 (JMenu): Set invoker on popup menu.
2042 (getUIClassID): Return id directly.
2043 (getItemCount): Simply return getMenuComponentCount().
2045 (isTopLevelMenu): Simplified.
2046 * javax/swing/JMenuItem.java
2047 (uiClassID): Removed.
2048 (getUIClassID): Return id directly.
2049 * javax/swing/JPopupMenu.java
2050 (uiClassID): Removed.
2051 (JPopupMenu): Always initialize correctly.
2052 (getSubElements): Only return components implementing MenuElement
2054 (HeavyWeightPopup.hide): Removed.
2056 2005-02-15 Michael Koch <konqueror@gmx.de>
2058 * java/awt/image/ReplicateScaleFilter.java
2059 (replicatePixels): Made private.
2060 * javax/swing/colorchooser/DefaultRGBChooserPanel.java
2061 (DefaultRGBChooserPanel): Made package private.
2062 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java
2063 (RecentSwatchPanel): Likewise.
2064 * javax/swing/event/MouseInputAdapter.java: Reformatted.
2065 (MouseInputAdapter): Made abstract.
2066 * javax/swing/tree/DefaultMutableTreeNode.java
2068 (growTree): Likewise.
2070 2005-02-15 Michael Koch <konqueror@gmx.de>
2072 * java/awt/dnd/DropTarget.java (addDropTargetListener):
2075 2005-02-15 Michael Koch <konqueror@gmx.de>
2077 * javax/swing/JComponent.java (getComponentGraphics):
2078 Removed accidently commited code.
2080 2005-02-15 Graydon Hoare <graydon@redhat.com>
2082 * java/awt/dnd/DropTarget.java
2083 (addDropTargetListener): Despite documentation, do not throw.
2084 * javax/swing/JComponent.java: Set a default DropTarget.
2086 2005-02-15 Michael Koch <konqueror@gmx.de>
2088 * javax/swing/AbstractAction.java
2089 (ENABLED_PROPERTY): Removed.
2090 (setEnabled): Replaced constant with real string.
2091 * javax/swing/AbstractButton.java
2092 (createActionPropertyChangeListener.propertyChange): Likewise.
2093 * javax/swing/JComboBox.java
2094 (DEFAULT_MAXIMUM_ROW_COUNT): Made private.
2095 (EDITABLE_CHANGED_PROPERTY): Removed.
2096 (MAXIMUM_ROW_COUNT_CHANGED_PROPERTY):Likewise.
2097 (ENABLED_CHANGED_PROPERTY):Likewise.
2098 (RENDERER_CHANGED_PROPERTY):Likewise.
2099 (EDITOR_CHANGED_PROPERTY):Likewise.
2100 (MODEL_CHANGED_PROPERTY):Likewise.
2101 (uiClassID):Likewise.
2102 (getUIClassID): Replaced constant with real string.
2103 (setModel):Likewise.
2104 (setEditable):Likewise.
2105 (setMaximumRowCount):Likewise.
2106 (setRenderer):Likewise.
2107 (setEditor):Likewise.
2108 (setEnabled):Likewise.
2109 * javax/swing/JLabel.java
2110 (DISABLED_ICON_CHANGED_PROPERTY): Removed.
2111 (DISPLAYED_MNEMONIC_CHANGED_PROPERTY): Likewise.
2112 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY): Likewise.
2113 (HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2114 (HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2115 (ICON_CHANGED_PROPERTY): Likewise.
2116 (ICON_TEXT_GAP_CHANGED_PROPERTY): Likewise.
2117 (LABEL_FOR_CHANGED_PROPERTY): Likewise.
2118 (TEXT_CHANGED_PROPERTY): Likewise.
2119 (VERTICAL_ALIGNMENT_CHANGED_PROPERTY): Likewise.
2120 (VERTICAL_TEXT_POSITION_CHANGED_PROPERTY): Likewise.
2121 (setText): Replaced constant with real string.
2122 (setIcon): Likewise.
2123 (setDisabledIcon): Likewise.
2124 (setDisplayedMnemonic): Likewise.
2125 (setIconTextGap): Likewise.
2126 (setVerticalAlignment): Likewise.
2127 (setHorizontalAlignment): Likewise.
2128 (setVerticalTextPosition): Likewise.
2129 (setHorizontalTextPosition): Likewise.
2130 (setLabelFor): Replaced constant with real string.
2131 Fire property change event after property got changed.
2132 * javax/swing/JList.java
2133 (CELL_RENDERER_PROPERTY_CHANGED): Likewise.
2134 (FIXED_CELL_HEIGHT_PROPERTY_CHANGED): Likewise.
2135 (FIXED_CELL_WIDTH_PROPERTY_CHANGED): Likewise.
2136 (LAYOUT_ORIENTATION_PROPERTY_CHANGED): Likewise.
2137 (MODEL_PROPERTY_CHANGED): Likewise.
2138 (PROTOTYPE_CELL_VALUE_PROPERTY_CHANGED): Likewise.
2139 (SELECTION_BACKGROUND_PROPERTY_CHANGED): Likewise.
2140 (SELECTION_FOREGROUND_PROPERTY_CHANGED): Likewise.
2141 (SELECTION_MODEL_PROPERTY_CHANGED): Likewise.
2142 (setFixedCellWidth): Reimplemented.
2143 (setFixedCellHeight): Exit if new value is identical.
2144 Replaced constant with real string.
2145 (setSelectionBackground): Likewise.
2146 (setSelectionForeground): Likewise.
2147 (setPrototypeCellValue): Likewise.
2148 (setCellRenderer): Replaced constant with real string.
2149 (setModel): Likewise.
2150 (setSelectionModel): Likewise.
2151 * javax/swing/JMenuBar.java
2152 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2153 (MODEL_CHANGED_PROPERTY): Likewise.
2154 (MARGIN_CHANGED_PROPERTY): Likewise.
2155 (setBorderPainted): Reimplemented.
2156 (setMargin): Likewise.
2157 (setSelectionModel): Replaced constant with real string.
2158 * javax/swing/JPopupMenu.java
2159 (LABEL_CHANGED_PROPERTY): Removed.
2160 (VISIBLE_CHANGED_PROPERTY): Likewise.
2161 (borderPainted): Likewise.
2162 (setLabel): Replaced constant with real string.
2163 (setVisible): Exit if new value is identical.
2164 Replaced constant with real string.
2165 * javax/swing/JProgressBar.java
2166 (BORDER_PAINTED_CHANGED_PROPERTY): Removed.
2167 (ORIENTATION_CHANGED_PROPERTY): Likewise.
2168 (STRING_CHANGED_PROPERTY): Likewise.
2169 (STRING_PAINTED_CHANGED_PROPERTY): Likewise.
2170 (INDETERMINATE_CHANGED_PROPERTY): Likewise.
2171 (setOrientation): Replaced constant with real string.
2172 (setStringPainted): Likewise.
2173 (setString): Likewise.
2174 (setBorderPainted): Likewise.
2175 (setIndeterminate): Likewise.
2176 * javax/swing/JScrollBar.java
2177 (BLOCK_INCREMENT_CHANGED_PROPERTY): Removed.
2178 (MODEL_CHANGED_PROPERTY): Likewise.
2179 (ORIENTATION_CHANGED_PROPERTY): Likewise.
2180 (setOrientation): Replaced constant with real string.
2181 (setModel): Likewise.
2182 (setUnitIncrement): Likewise.
2183 (setBlockIncrement): Likewise.
2184 * javax/swing/JScrollPane.java
2185 (COLUMN_HEADER_CHANGED_PROPERTY): Removed.
2186 (COMPONENT_ORIENTATION_CHANGED_PROPERTY): Likewise.
2187 (HORIZONTAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2188 (HORIZONTAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2189 (LAYOUT_CHANGED_PROPERTY): Likewise.
2190 (ROW_HEADER_CHANGED_PROPERTY): Likewise.
2191 (VERTICAL_SCROLLBAR_CHANGED_PROPERTY): Likewise.
2192 (VERTICAL_SCROLLBAR_POLICY_CHANGED_PROPERTY): Likewise.
2193 (VIEWPORT_CHANGED_PROPERTY): Likewise.
2194 (VIEWPORT_BORDER_CHANGED_PROPERTY): Likewise.
2195 (WHEEL_SCROLLING_ENABLED_CHANGED_PROPERTY): Likewise.
2196 (setComponentOrientation): Replaced constant with real string.
2197 (setColumnHeader): Likewise.
2198 (setHorizontalScrollBar): Likewise.
2199 (setHorizontalScrollBarPolicy): Likewise.
2200 (setRowHeader): Likewise.
2201 (setVerticalScrollBar): Likewise.
2202 (setVerticalScrollBarPolicy): Likewise.
2203 (setWheelScrollingEnabled): Likewise.
2204 (setViewport): Likewise.
2205 (setViewportBorder): Likewise.
2206 * javax/swing/JSlider.java
2207 (INVERTED_CHANGED_PROPERTY): Removed.
2208 (LABEL_TABLE_CHANGED_PROPERTY): Likewise.
2209 (MAJOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2210 (MINOR_TICK_SPACING_CHANGED_PROPERTY): Likewise.
2211 (MODEL_CHANGED_PROPERTY): Likewise.
2212 (ORIENTATION_CHANGED_PROPERTY): Likewise.
2213 (PAINT_LABELS_CHANGED_PROPERTY): Likewise.
2214 (PAINT_TICKS_CHANGED_PROPERTY): Likewise.
2215 (setModel): Replaced constant with real string.
2216 (setOrientation): Likewise.
2217 (setLabelTable): Likewise.
2218 (setInverted): Likewise.
2219 (setMajorTickSpacing): Likewise.
2220 (setMinorTickSpacing): Likewise.
2221 (setPaintTicks): Likewise.
2222 (setPaintLabels): Likewise.
2223 * javax/swing/JTabbedPane.java
2224 (MODEL_CHANGED_PROPERTY): Removed.
2225 (TAB_PLACEMENT_CHANGED_PROPERTY): Likewise.
2226 (TAB_LAYOUT_POLICY_CHANGED_PROPERTY): Likewise.
2227 (setModel): Replaced constant with real string.
2228 (setTabPlacement): Likewise.
2229 (setTabLayoutPolicy): Likewise.
2230 * javax/swing/JToolBar.java
2231 (ORIENTATION_CHANGED_PROPERTY): Removed.
2232 (FLOATABLE_CHANGED_PROPERTY): Likewise.
2233 (BORDER_PAINTED_CHANGED_PROPERTY): Likewise.
2234 (MARGIN_CHANGED_PROPERTY): Likewise.
2235 (ROLLOVER_CHANGED_PROPERTY): Likewise.
2236 (setRollover): Replaced constant with real string.
2237 (setMargin): Likewise.
2238 (setBorderPainted): Likewise.
2239 (setFloatable): Likewise.
2240 (setOrientation): Likewise.
2241 * javax/swing/plaf/basic/BasicComboBoxUI.java
2242 (PropertyChangeHandler.propertyChange): Likewise.
2243 * javax/swing/plaf/basic/BasicComboPopup.java
2244 (PropertyChangeHandler.propertyChange): Likewise.
2245 * javax/swing/plaf/basic/BasicMenuBarUI.java
2246 (PropertyChangeHandler.propertyChange): Likewise.
2247 * javax/swing/plaf/basic/BasicProgressBarUI.java
2248 (PropertyChangeHandler.propertyChange): Likewise.
2249 * javax/swing/plaf/basic/BasicScrollBarUI.java
2250 (PropertyChangeHandler.propertyChange): Likewise.
2251 * javax/swing/plaf/basic/BasicSliderUI.java
2252 (PropertyChangeHandler.propertyChange): Likewise.
2253 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2254 (PropertyChangeHandler.propertyChange): Likewise.
2255 * javax/swing/plaf/basic/BasicToolBarUI.java
2256 (PropertyChangeHandler.propertyChange): Likewise.
2258 2005-02-15 Michael Koch <konqueror@gmx.de>
2260 * javax/swing/DefaultButtonModel.java
2261 (changeState): Made private.
2262 * javax/swing/DefaultDesktopManager.java
2263 (setWasIcon): Fixed second argument to be java.lang.Boolean.
2264 * javax/swing/JLayeredPane.java
2265 (layerToRange): Made private.
2266 (incrLayer): Likewise.
2267 (decrLayer): Likewise.
2268 * javax/swing/JTable.java
2269 (dragEnabled): Likewise.
2270 (preferredViewportSize): Renamed from preferredScrollableViewportSize.
2271 * javax/swing/KeyStroke.java
2272 (Keystroke): Made private.
2273 * javax/swing/TransferHandler.java
2274 (COMMAND_COPY): Likewise.
2275 (COMMAND_CUT): Likewise.
2276 (COMMAND_PASTE): Likewise.
2278 2005-02-15 Michael Koch <konqueror@gmx.de>
2280 * javax/swing/JTextField.java
2281 (postActionEvent): Use text in field when actionCommand is null.
2282 (getActionCommand): Removed.
2284 2005-02-15 Michael Koch <konqueror@gmx.de>
2286 * javax/swing/AbstractSet.java: Removed.
2287 * Makefile.am: Removed javax/swing/AbstractSet.java.
2288 * Makefile.in: Regenerated.
2290 2005-02-15 Michael Koch <konqueror@gmx.de>
2292 * java/awt/Window.java
2293 (AccessibleWindow.getAccessibleStateSet): Fixed method name.
2294 * java/awt/dnd/DnDConstants.java
2295 (DnDConstants): New private constructor.
2297 2005-02-15 Michael Koch <konqueror@gmx.de>
2299 * javax/swing/DefaultCellRenderer.java: Removed.
2300 * Makefile.am: Removed javax/swing/DefaultCellRenderer.java.
2301 * Makefile.in: Regenerated.
2303 2005-02-15 Michael Koch <konqueror@gmx.de>
2305 * javax/swing/AbstractButton.java
2306 (fireItemStateChanged): Made protected.
2307 (fireActionPerformed): Likewise.
2308 (fireStateChanged): Likewise.
2309 * javax/swing/DefaultButtonModel.java
2310 (fireItemStateChanged): Likewise.
2311 (fireActionPerformed): Likewise.
2312 (fireStateChanged): Likewise.
2313 * javax/swing/JApplet.java
2315 (frameInit): Likewise.
2316 (setRootPane): Made protected.
2317 (createRootPane): Likewise.
2318 * javax/swing/JComponent.java
2319 (getClientProperty): Likewise.
2320 (putClientProperty): Likewise.
2321 * javax/swing/JEditorPane.java
2322 (getContentType): Likewise.
2323 (setContentType): Likewise.
2324 * javax/swing/JFrame.java
2325 (setRootPane): Likewise.
2326 (createRootPane): Likewise.
2327 * javax/swing/JInternalFrame.java
2328 (getFocusCycleRootAncestor): Made final. Added @since tag.
2329 (isFocusCycleRoot): Likewise.
2330 (getWarningString): Made final.
2331 * javax/swing/JScrollBar.java
2332 (changeListener): Removed.
2333 (changeEvent): Likewise.
2334 (createChangeListener): Likewise.
2335 (fireStateChanged): Likewise.
2336 (addChangeListener): Likewise.
2337 (removeChangeListener): Likewise.
2338 (getChangeListeners): Likewise.
2339 * javax/swing/JScrollPane.java
2340 (createViewport): Made protected.
2341 * javax/swing/JViewport.java
2342 (addImpl): Likewise.
2343 (setBorder): New method.
2344 * javax/swing/JWindow.java
2345 (setRootPane): Made protected.
2346 (createRootPane): Likewise.
2347 * javax/swing/plaf/basic/BasicButtonUI.java
2348 (installListeners): Likewise.
2349 (uninstallListeners): Likewise.
2350 * javax/swing/plaf/basic/BasicProgressBarUI.java
2351 (incrementAnimationIndex): Likewise.
2352 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
2353 (createLayoutManager): Likewise.
2354 * javax/swing/table/DefaultTableCellRenderer.java
2355 (firePropertyChange): Likewise.
2356 * javax/swing/table/JTableHeader.java
2357 (AccessibleJTableHeaderEntry.AccessibleJTableHeaderEntry):
2359 * javax/swing/text/PlainDocument.java
2360 (reindex): Made private.
2361 * javax/swing/text/PlainView.java
2362 (drawLine): Made protected.
2363 (getTabSize): Likewise.
2364 * javax/swing/text/View.java
2366 (preferenceChanged): New method.
2367 (getBreakWeight): Likewise.
2368 (breakView): Likewise.
2369 (getViewIndex): Likewise.
2371 2005-02-15 Michael Koch <konqueror@gmx.de>
2373 * javax/swing/JScrollPane.java
2374 (ScrollBar): Made class protected.
2375 * javax/swing/JSpinner.java
2376 (JSpinner): Added @since tag.
2377 (listenerList): Removed.
2378 * javax/swing/JTable.java
2379 (setValueAt): New method.
2380 (getColumn): Likewise.
2381 * javax/swing/JWindow.java
2382 (rootPaneCheckingEnabled): Renamed from checking.
2384 2005-02-15 Michael Koch <konqueror@gmx.de>
2386 * javax/swing/plaf/basic/BasicTextUI.java
2387 (RootView.modelToView): Made it public and return a java.awt.Shape.
2388 Handle null subview.
2389 (uninstall): Set textComponent to null when its not possible used
2391 * javax/swing/text/View.java
2392 (setParent): Use better argument name.
2393 (getContainer): Get parent via getParent().
2394 (getViewFactory): Likewise.
2395 (getAttributes): Get element via getElement().
2396 (getStartOffset): Likewise.
2397 (getEndOffset): Likewise.
2398 (getResizeWeight): New method.
2399 (getMaximumSpan): Likewise.
2400 (getMinimumSpan): Likewise.
2401 (setSize): Likewise.
2402 (getGraphics): Likewise.
2404 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2406 * java/awt/Checkbox.java:
2407 (AccessibleAWTCheckbox()): Added public constructor
2409 * java/awt/Choice.java:
2410 (AccessibleAWTChoice): Added class documentation.
2411 (AccessibleAWTChoice()): Added public constructor
2413 (AccessibleAWTChoice.getAccessibleAction()): Documented.
2414 (AccessibleAWTChoice.getAccessibleRole()): Documented,
2415 and changed role to COMBO_BOX.
2416 (AccessibleAWTChoice.getAccessibleActionCount()): Documented.
2417 (AccessibleAWTChoice.getAccessibleActionDescription(int)): Documented.
2418 (AccessibleAWTChoice.doAccessibleAction(int)): Documented.
2420 2005-02-15 Graydon Hoare <graydon@redhat.com>
2421 Michael Koch <konqueror@gmx.de>
2423 * javax/swing/LayoutFocusTraversalPolicy.java,
2424 javax/swing/SortingFocusTraversalPolicy.java:
2426 * Makefile.am: Added new classes.
2427 * Makefike.in: Regenerated.
2430 2005-02-15 Michael Koch <konqueror@gmx.de>
2432 * javax/swing/DebugGraphics.java: Mostly implemented.
2434 2005-02-15 Michael Koch <konqueror@gmx.de>
2436 * javax/swing/SwingUtilities.java
2437 (findFocusOwner): New method.
2439 2005-02-15 Michael Koch <konqueror@gmx.de>
2441 * javax/swing/text/DefaultEditorKit.java
2442 (read): Added '\n' after each line.
2443 * javax/swing/text/PlainView.java
2444 (modelToView): Update metrics.
2445 (drawLine): Use offsets from element.
2446 (paint): Update metrics. Draw all lines.
2448 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2450 * java/awt/Checkbox.java:
2451 (AccessibleAWTCheckbox): Added class documentation
2452 * java/awt/Scrollbar.java:
2453 (AccessibleAWTScrollBar): typo corrected and docs added
2454 (AccessibleAWTScrollBar.getAccessibleRole()): documented
2455 (AccessibleAWTScrollBar.getAccessibleStateSet()): likewise
2456 (AccessibleAWTScrollBar.getAccessibleValue()): likewise
2457 (AccessibleAWTScrollBar.getCurrentAccessibleValue()): likewise
2458 (AccessibleAWTScrollBar.setCurrentAccessibleValue(int)): likewise
2459 (AccessibleAWTScrollBar.getMinimumAccessibleValue()): likewise
2460 (AccessibleAWTScrollBar.getMaximumAccessibleValue()): likewise
2461 (getAccessibleContext()): name of accessible class corrected
2463 2005-02-15 Mark Wielaard <mark@klomp.org>
2465 * java/awt/BasicStroke.java (hashCode): Implement.
2468 2005-02-15 Michael Koch <konqueror@gmx.de>
2470 * java/awt/print/PrinterJob.java
2471 (pageDialog): Throws java.awt.HeadlessException.
2472 (printDialog): Likewise.
2474 2005-02-15 Mark Wielaard <mark@klomp.org>
2476 * jni/gtk-peer/gtkpeer.h (gdk_env): Fix prototype.
2478 2005-02-15 Michael Koch <konqueror@gmx.de>
2480 * javax/swing/JTable.java
2481 (getValueAt): New method.
2482 * javax/swing/table/JTableHeader.java
2483 (columnAtPoint): New method.
2485 2005-02-15 Michael Koch <konqueror@gmx.de>
2487 * javax/swing/JTextField.java
2488 (actions): New field.
2489 (static): Initalize actions field.
2490 (getActions): New method.
2492 2005-02-15 Andrew John Hughes <gnu_andrew@member.fsf.org>
2494 * java/awt/Checkbox.java:
2495 (AccessibleAWTCheckbox): name capitalization corrected
2496 and serialization UID added.
2497 (AccessibleAWTCheckbox.itemStateChanged(java.awt.event.ItemEvent)):
2499 (AccessibleAWTCheckbox.getAccessibleAction()): likewise
2500 (AccessibleAWTCheckbox.getAccessibleValue()): likewise
2501 (AccessibleAWTCheckbox.getAccessibleActionCount()): likewise
2502 (AccessibleAWTCheckbox.getAccessibleActionDescription(int)): likewise
2503 (AccessibleAWTCheckbox.doAccessibleAction(int)): likewise
2504 (AccessibleAWTCheckbox.getCurrentAccessibleValue()): likewise
2505 (AccessibleAWTCheckbox.setCurrentAccessibleValue(int)): likewise
2506 (AccessibleAWTCheckbox.getMinimumAccessibleValue()): likewise
2507 (AccessibleAWTCheckbox.getMaximumAccessibleValue()): likewise
2508 (AccessibleAWTCheckbox.getAccessibleRole()): likewise
2509 (AccessibleAWTCheckbox.getAccessibleStateSet()): implemented and
2511 (getAccessibleContext()): name of accessible class corrected
2513 2005-02-15 Sven de Marothy <sven@physto.se>
2515 * java/awt/geom/doc-files/Area-1.png,
2516 java/awt/geom/doc-files/Ellipse-1.png,
2517 java/awt/geom/doc-files/GeneralPath-1.png:
2520 2005-02-15 Graydon Hoare <graydon@redhat.com>
2522 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c (env_union):
2523 Use union to avoid type-punning warning.
2525 2005-02-15 Michael Koch <konqueror@gmx.de>
2527 * javax/swing/DefaultListSelectionModel.java
2528 (clone): New method.
2530 2005-02-15 Mark Wielaard <mark@klomp.org>
2532 Reported by Martin Platter <motse@complang.tuwien.ac.at>
2533 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
2534 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile):
2535 Correct method signature of gtkSetFilename.
2537 2005-02-15 Arnaud Vandyck <avdyk@gnu.org>
2539 * javax/swing/text/StringContent.java: New file.
2541 2005-02-15 Michael Koch <konqueror@gmx.de>
2543 * Makefile.am: Added javax/swing/text/StringContent.java.
2544 * Makefile.in: Regenerated.
2546 2005-02-15 Michael Koch <konqueror@gmx.de>
2548 * gnu/java/awt/ClasspathToolkit.java:
2549 Import statements reworked.
2550 (imageCache): Made it of type java.util.HashMap.
2552 2005-02-15 Michael Koch <konqueror@gmx.de>
2554 * javax/imageio/stream/MemoryCacheImageInputStream.java:
2555 Reworked import statements.
2557 2005-02-15 Graydon Hoare <graydon@redhat.com>
2559 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c:
2560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
2561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c:
2562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
2563 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c:
2564 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
2565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c:
2566 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c:
2567 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
2568 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
2569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
2570 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
2571 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c:
2572 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c:
2573 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
2574 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
2575 Rewrite uses of extern variable to be function calls.
2576 * jni/gtk-peer/gtkpeer.h (gdk_env): Change declaration to
2577 function, from extern variable.
2578 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2579 (gdk_env): Remove variable, add new function.
2580 (java_vm): Add new variable.
2581 (Java_gnu_java_awt_peer_gtk_GtkToolkit_gtkInit): Initialize
2582 java_vm rather than old gdk_env variable.
2584 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
2586 * javax/swing/DefaultListModel.java
2587 (add): fire correct event,
2588 (addElement): corrected interval indices in event,
2589 (clear): corrected upper bound for interval, only fire event if
2591 (setSize): fire appropriate event.
2593 2005-02-15 Graydon Hoare <graydon@redhat.com>
2595 * gnu/awt/xlib/XEventLoop.java: Add non-blocking event mode.
2596 * gnu/awt/xlib/XToolkit.java: Likewise.
2597 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
2598 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
2599 * gnu/java/awt/ClasspathToolkit.java: Likewise.
2600 * gnu/java/awt/peer/gtk/GtkToolkit.java: Likewise.
2601 * java/awt/EventQueue.java (getNextEvent):
2602 Adjust event loop to switch to native mode after 100ms.
2603 * javax/swing/Timer.java (drainEvents): Reuse Runnable.
2604 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
2605 (Java_gnu_java_awt_peer_gtk_GtkGenericPeer_dispose):
2606 Wake up event thread.
2607 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
2608 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue):
2609 Adjust event loop to switch to java mode after 100ms.
2611 2005-02-15 Graydon Hoare <graydon@redhat.com>
2613 * jni.cc (_Jv_JNI_RegisterNatives): Re-add sync, which was
2614 accidentally removed in last change.
2616 2005-02-15 Michael Koch <konqueror@gmx.de>
2618 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
2619 gnu/java/awt/peer/gtk/GtkMainThread.java: Removed.
2621 2005-02-15 Graydon Hoare <graydon@redhat.com>
2623 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
2624 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
2625 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
2626 * jni.cc: Reuse bottom frame between calls, avoid clearing
2627 frame when no local references are made.
2629 2005-02-15 Michael Koch <konqueror@gmx.de>
2631 * javax/swing/UIDefaults.java (UIDefaults):
2632 Fixed typo in javadoc (Thanks to Thomas Zander for reporting)
2633 Fixed HTML entity and removed a redundant comma.
2635 2005-02-15 Michael Koch <konqueror@gmx.de>
2637 * javax/swing/text/DefaultEditorKit.java
2638 (deinstall): Removed.
2639 (install): Likewise.
2641 2005-02-15 Michael Koch <konqueror@gmx.de>
2643 * javax/swing/UIDefaults.java (put): Handle value of null.
2645 2005-02-15 Michael Koch <konqueror@gmx.de>
2647 * java/awt/Robot.java,
2648 java/awt/Scrollbar.java,
2649 java/awt/print/PrinterJob.java,
2650 javax/swing/JTable.java,
2651 javax/swing/text/AbstractDocument.java:
2652 Reworked import statements.
2654 2005-02-15 Michael Koch <konqueror@gmx.de>
2656 * javax/swing/JEditorPane.java
2657 (read): Implemented.
2659 * javax/swing/text/DefaultEditorKit.java
2660 (page): Renamed from page_url. Made private.
2661 (editorKit): Renamed from kit. Made private.
2663 (JEditorPane): All constructors reimplemented.
2664 (getContentType): Use content type from editor kit.
2665 (getEditorKit): Return editorKit.
2666 (getEditorKitForContentType):Likewise.
2667 (getPage): Return page.
2668 (setContentType): Reimplemented.
2669 (setEditorKit): Likewise.
2670 (setEditorKitForContentType): Removed wrong implementation.
2671 (setPage): Implemented.
2673 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2675 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
2676 (nativeSetIconImageFromData): Re-add native implementation.
2678 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
2680 * javax/swing/table/DefaultTableModel.java
2681 (DefaultTableModel()): Added Javadocs.
2682 (DefaultTableModel(int, int)): Fixed implementation.
2683 (DefaultTableModel(Vector, int)): Throw IllegalArgumentException
2684 for negative rowCount.
2685 (DefaultTableModel(Object[], int)): Added Javadocs.
2686 (DefaultTableModel(Vector, Vector)): Likewise.
2687 (DefaultTableModel(Object[][], Object[])): Likewise.
2688 (getDataVector): Likewise.
2689 (setDataVector(Vector, Vector)): Likewise.
2690 (setDataVector(Object[][], Object[])): Likewise.
2691 (newDataAvailable): Likewise.
2692 (newRowsAdded): Likewise.
2693 (rowsRemoved): Likewise.
2694 (setColumnIdentifiers(Vector)): Allow for null argument.
2695 (setColumnIdentifiers(Object[])): Added Javadocs.
2696 (setNumRows): Likewise.
2697 (setRowCount): Adds new rows if necessary, and sends more specific
2699 (setColumnCount): Allow for null columnIdentifiers.
2700 (addColumn(Object)): Added Javadocs.
2701 (addColumn(Object, Vector)): Handle null columnData.
2702 (addColumn(Object, Object[])): Handle columnData with more or less
2703 entries than rows in the table.
2704 (addRow(Vector)): Fire appropriate event.
2705 (addRow(Object[])): Added Javadocs.
2706 (insertRow(int, Vector)): Fire appropriate event.
2707 (insertRow(int, Object[])): Added Javadocs.
2708 (moveRow): Reimplemented.
2709 (removeRow(int)): Fire appropriate event.
2710 (getColumnCount): Allow for null columnIdentifiers.
2711 (getColumnName): Now returns empty string when column index is too
2713 (isCellEditable): Added Javadocs.
2714 (getValueAt): Likewise.
2715 (setValueAt): Fire more specific event.
2716 (convertToVector): Added Javadocs.
2717 * javax/swing/table/TableModel.java
2720 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2722 * libgcj.spec.in (lib): Add -l-javax-imageio.
2724 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2726 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Replace direct
2727 references to event queue q with method call q().
2728 * gnu/java/awt/peer/gtk/GtkDialogPeer.java: Likewise.
2729 * gnu/java/awt/peer/gtk/GtkFramePeer.java: Likewise.
2730 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java: Likewise.
2731 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java: Likewise.
2732 * gnu/java/awt/peer/gtk/GtkWindowPeer.java: Likewise.
2733 * gnu/java/awt/peer/gtk/GtkGenericPeer.java: Likewise.
2736 2005-02-15 Graydon Hoare <graydon@redhat.com>
2738 * gnu/java/awt/ClasspathToolkit.java
2739 (registerImageIOSpis): New method.
2740 * gnu/java/awt/image/ImageDecoder.java
2741 (imageDecoder): New constructor using InputStream
2742 (startProduction): Handle existing InputStream.
2743 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
2744 (findSimpleIntegerArray): Make public and static.
2745 (updateBufferedImage): Set each pixel, in a loop.
2746 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
2747 Implement ImageIO SPI classes.
2748 (createBufferedImage): Rewrite in terms of SPI classes.
2749 * gnu/java/awt/peer/gtk/GtkToolkit.java
2750 (registerImageIOSpis): New method.
2751 * java/lang/reflect/natMethod.cc
2752 (_Jv_CallAnyMethodA): Borrow a patch from aph, applied to trunk,
2753 which lets JNI call interface methods properly.
2754 * javax/imageio/ImageIO.java
2755 (WriterFormatFilter.filter): Fix copy-and-paste typos.
2756 (WriterMIMETypeFilter.filter): Likewise.
2757 (ImageReaderIterator): Pass extension argument through to SPI.
2758 (getReadersByFilter): Likewise.
2759 (getWritersByFilter): Likewise.
2760 (getImageReadersByFormatName): Likewise.
2761 (getImageReadersByMIMEType): Likewise.
2762 (getImageReadersBySuffix): Likewise.
2763 (getImageWritersByFormatName): Likewise.
2764 (getImageWritersByMIMEType): Likewise.
2765 (getImageWritersBySuffix): Likewise.
2768 * javax/imageio/ImageReader.java
2769 (progressListeners): Initialize.
2770 (setInput): Implement.
2771 * javax/imageio/ImageWriter.java
2772 (progressListeners): Initialize.
2773 (warningListeners): Likewise.
2774 (warningLocales): Likewise.
2775 (setOutput): Test "isInstance" rather than class equality.
2776 * javax/imageio/spi/IIORegistry.java
2777 (static): Add reader and writer SPIs.
2778 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
2779 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
2780 (query_formats): New function.
2781 (save_to_stream): Likewise.
2782 (Java_gnu_java_awt_peer_gtk_GdkPixbufDecoder_streamImage): Likewise.
2784 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2786 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c (mouseWheel):
2788 (keyPress): Likewise.
2789 (keyRelease): Likewise.
2791 2005-02-15 Olga Rodimina <rodimina@redhat.com>
2793 * javax/swing/JTable.java
2794 (columnAtPoint): New Method. Implemented.
2795 (rowAtPoint): Likewise.
2796 (countSelections): Fixed few small count errors.
2797 (getSelections): Likewise.
2798 (setSelectionMode): Set selection mode for column
2799 selection model in addition to row selection model.
2800 * javax/swing/plaf/basic/BasicTableUI.java:
2801 (getRowForPoint): Removed. Replaced by
2802 JTable.rowAtPoint().
2803 (getColForPoint): Removed. Replaced by
2804 JTable.columnAtPoint().
2805 (updateSelection): Updated to call JTable.columnAtPoint
2806 and JTable.rowAtPoint.
2807 * javax/swing/table/DefaultTableColumnModel.java:
2808 (getSelectedColumns): Implemented.
2809 (getSelectedColumnCount): Implemented.
2811 2005-02-15 Graydon Hoare <graydon@redhat.com>
2814 (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c)
2815 (gnu/java/awt/peer/gtk/GtkMainThread.java) : Remove.
2816 * Makefile.in: Regenerate.
2817 * gnu/awt/xlib/XEventLoop.java: Fix to match thread model.
2818 * gnu/awt/xlib/XFramePeer.java: Likewise.
2819 * gnu/awt/xlib/XToolkit.java: Likewise.
2820 * gnu/gcj/xlib/XAnyEvent.java: Likewise.
2821 * gnu/gcj/xlib/natXAnyEvent.cc: Likewise.
2822 * gnu/java/awt/ClasspathToolkit.java
2825 (iterateNativeQueue): New methods.
2826 * gnu/java/awt/peer/gtk/GtkMainThread.java: Remove.
2827 * gnu/java/awt/peer/gtk/GtkToolkit.java
2828 (gtkInit): Absorb from defunct GtkMainThread class.
2829 (static): Run gtkInit in static startup block.
2830 (GtkToolkit): Remove construction of GtkMainThread and queue.
2831 (getSystemEventQueueImpl): Construct queue when requested.
2834 (iterateNativeQueue): New methods.
2835 * java/awt/Component.java (removeNotify): Remove race.
2836 * java/awt/EventDispatchThread.java
2837 (EventDispatchThread): Don't start on construction.
2838 (run): Remove isInterrupted check.
2839 * java/awt/EventQueue.java (shutdown): New flag.
2840 (isShutdown): New method checking J2SE shutdown condition.
2841 (setShutdown): New method.
2842 (getNextEvent): Restructure to use ClasspathToolkit.
2843 (postEvent): Activate new thread on posting, wake thread on
2844 post of possible shutdown condition event.
2845 * java/awt/Frame.java
2846 (Frame): Call noteFrame in all constructors.
2847 (fireDummyEvent): New helper method.
2848 (addNotify): Fire a dummy event to wake up queue.
2849 (removeNotify): Fire a dummy event to wake up queue.
2850 (noteFrame): New method.
2851 (weakFrames): New static field.
2852 (getFrames): Implement.
2853 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c:
2855 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c:
2856 Move everything from GtkMainThread into this file
2857 (Java_gnu_java_awt_peer_gtk_GtkToolkit_iterateNativeQueue)
2858 (Java_gnu_java_awt_peer_gtk_GtkToolkit_wakeNativeQueue)
2859 (Java_gnu_java_awt_peer_gtk_GtkToolkit_nativeQueueEmpty):
2860 New functions to implement single-threaded queue semantics.
2862 2005-02-15 Michael Koch <konqueror@gmx.de>
2864 * javax/swing/plaf/metal/MetalLookAndFeel.java
2865 (getControlTextFont): New method.
2866 (getMenuTextFont): Likewise.
2867 (getSubTextFont): Likewise.
2868 (getSystemTextFont): Likewise.
2869 (getUserTextFont): Likewise.
2870 (getWindowTitleFont): Likewise.
2872 2005-02-15 Michael Koch <konqueror@gmx.de>
2874 * javax/swing/text/AbstractDocument.java
2875 (documentFilter): New field.
2876 (getDocumentFilter): New method.
2877 (setDocumentFilter): Likewise.
2880 2005-02-15 Michael Koch <konqueror@gmx.de>
2882 * javax/swing/JTree.java
2883 (DynamicUtilTreeNode.hasChildren): Clarify javadoc.
2885 2005-02-15 Michael Koch <konqueror@gmx.de>
2887 * javax/swing/text/AbstractDocument.java
2888 (AbstractElement.getLength): Fixed off-by-one error.
2889 (AbstractElement.children): Made abstract.
2890 (AbstractElement.getAllowsChildren): Likewise.
2891 (AbstractElement.getElement): Likewise.
2892 (AbstractElement.dumpElement): New private method.
2893 (AbstractElement.dump): New method.
2894 (BranchElememt.getName): Fixed implementation.
2895 (BranchElememt.toString): Likewise.
2896 (BranchElememt.getElement): Fixed arguments.
2897 (LeafElement.getName): Fixed implementation.
2898 (LeafElement.toString): Likewise.
2899 * javax/swing/text/GapContent.java
2900 (GapContent): Put default content into buffer.
2901 * javax/swing/text/PlainDocument.java
2902 (reindex): Use empty attribute sets instead of null.
2903 (createDefaultRoot): Reimplemented.
2904 (insertUpdate): Call super method.
2905 (removeUpdate): Likewise.
2906 (getParagraphElement): Implemented.
2908 2005-02-15 Michael Koch <konqueror@gmx.de>
2910 * gnu/java/awt/ClasspathToolkit.java
2911 (createRobot): Throws java.awt.AWTException.
2912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c:
2913 Added '__attribute__((unused))' to all unused method arguments.
2915 2005-02-15 Michael Koch <konqueror@gmx.de>
2917 * javax/swing/DefaultBoundedRangeModel.java
2918 (fireValueChanged): Fixed off-by-one error.
2920 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
2922 * Makefile.am (gtk_c_source_files): Add GdkRobotPeer.c.
2923 (gtk_awt_peer_sources): Add GdkScreenGraphicsDevice.java and
2925 (lib_gnu_java_awt_peer_gtk_la_CFLAGS): Add X flags.
2926 (lib_gnu_java_awt_peer_gtk_la_LDFLAGS): Add XTest flags.
2927 * gnu/awt/xlib/XToolkit.java (createRobot): New method.
2928 * gnu/java/awt/ClasspathToolkit.java (createRobot): New method.
2929 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
2930 (getDefaultScreenDevice): Implement.
2931 * gnu/java/awt/peer/gtk/GdkRobotPeer.java: New file.
2932 * gnu/java/awt/peer/gtk/GdkScreenGraphicsDevice.java: Likewise.
2933 * gnu/java/awt/peer/gtk/GtkToolkit.java (createRobot): New method.
2934 * java/awt/Robot.java: Implement.
2935 * java/awt/peer/RobotPeer.java: Rename parameters.
2936 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkRobotPeer.c: New file.
2937 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
2938 (awt_keycode_to_keysym): Make non-static.
2939 * jni/gtk-peer/gtkpeer.h (AWT_BUTTON1_MASK, AWT_BUTTON2_MASK,
2940 AWT_BUTTON3_MASK): Declare constants.
2941 (awt_keycode_to_keysym): Declare.
2943 * Makefile.am (AM_MAKEFLAGS): Set KEYS variable.
2944 * testsuite/libjava.mauve/mauve.exp (test_mauve): If KEYS exists
2945 and is non-empty pass its value to "make check".
2946 (test_mauve_sim): Likewise.
2948 2005-02-15 Michael Koch <konqueror@gmx.de>
2950 * javax/imageio/IIOParam.java
2951 (setSourceBands): New method.
2952 (setSourceSubsampling): Likewise.
2953 * javax/imageio/ImageReadParam.java
2954 (setDestination): Likewise.
2955 (setDestinationBands): Likewise.
2956 (setSourceProgressivePasses): Likewise.
2957 * javax/imageio/metadata/IIOInvalidTreeException.java
2958 (serialVersionUID): New static field.
2959 * javax/imageio/metadata/IIOMetadataNode.java
2960 (IIOMetadataNode): Don't explicitely implement org.w3c.dom.Node.
2961 (parent): Dont initailize with default value explicitely.
2963 (removeAttribute): Doesn't throws org.w3c.dom.DOMException.
2964 (removeAttributeNode): Likewise.
2965 (removeAttributeNS): Likewise.
2966 (setAttribute): Likewise.
2967 (setAttributeNode): Likewise.
2968 (setAttributeNodeNS): Likewise.
2969 (setAttributeNS): Likewise.
2970 (appendChild): Likewise.
2971 (getNodeValue): Likewise.
2972 (insertBefore): Likewise.
2973 (removeChild): Likewise.
2974 (replaceChild): Likewise.
2975 (setPrefix): Likewise.
2977 2005-02-15 Michael Koch <konqueror@gmx.de>
2979 * javax/swing/LookAndFeel.java
2980 (getDesktopPropertyValue): New method.
2982 2005-02-15 Michael Koch <konqueror@gmx.de>
2984 * javax/swing/JTree.java
2985 (hasChildren): New instance field.
2987 2005-02-15 Michael Koch <konqueror@gmx.de>
2989 * javax/swing/JComponent.java
2990 (getToolTipText): New method.
2991 (getTitledBorderText): Likewise.
2992 (getAccessibleKeyBinding): Likewise.
2993 (getVerifyInputWhenFocusTarget): Likewise.
2994 (setVerifyInputWhenFocusTarget): Likewise.
2995 (verifyInputWhenFocusTarget): New instance field.
2997 2005-02-15 Michael Koch <konqueror@gmx.de>
2999 * javax/swing/DefaultListSelectionModel.java
3000 (fireValueChanged): New method.
3002 2005-02-15 Michael Koch <konqueror@gmx.de>
3004 * javax/swing/DefaultBoundedRangeModel.java:
3005 Fixed javadocs all over.
3006 (fireStateChanged): Simplified.
3007 * javax/swing/BoundedRangeModel.java:
3010 2005-02-15 Michael Koch <konqueror@gmx.de>
3012 * javax/swing/JRootPane.java
3013 (setMenuBar): Added @deprecated tag.
3014 (getMenuBar): Likewise.
3015 * javax/swing/JTable.java
3016 (sizeColumnsToFit): Likewise.
3018 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
3020 * javax/swing/ImageIcon.java (setImage): Implemented.
3022 2005-02-15 Michael Koch <konqueror@gmx.de>
3024 * javax/swing/JTable.java:
3025 Removed unused imports.
3027 2005-02-15 Olga Rodimina <rodimina@redhat.com>
3029 (prepareRenderer): Get column's index in dataModel instead
3030 of column's view index.
3031 (getColumnCount): return count of the columns in ColumnModel,
3033 (removeColumn): Implemented.
3034 (moveColumm): Likewise.
3035 (setRowHeight): throw IllegalArgumentException if height is
3037 * javax/swing/table/DefaultTableColumnModel.java: Add javadocs.
3038 (DefaultTableColumnModel):Add call to createSelectionModel().
3039 (addColumn): Fire columnAdded event to registered listeners.
3040 (removeColumn): Fire columnRemoved event to registered listeners.
3041 (moveColumn): Fire columnMoved event to registered listeners.
3042 (setColumnMargin): Fire ColumnMarginChanged event to registered listeners.
3043 (getColumnIndex): Changed parameter name.
3044 (setColumnSelectionAllowed): Likewise.
3045 (fireColumnAdded): Implemented.
3046 (fireColumnRemoved): Likewise.
3047 (fireColumnMoved): Likewise.
3048 (fireColumnMarginChanged): Likewise.
3049 (getListeners): Changed parameter name.
3050 (propertyChange): Implemented.
3051 (valueChanged): Changed parameter name.
3052 (createSelectionModel): Implemented.
3054 2005-02-15 Michael Koch <konqueror@gmx.de>
3056 * gnu/java/awt/peer/gtk/GtkToolkit.java:
3057 Explicitely import used classes.
3058 (getLocalGraphicsEnvironment): Simplify.
3059 * java/awt/Window.java (Window):
3060 Enable code to get the default GraphicsConfiguration.
3062 2005-02-15 Michael Koch <konqueror@gmx.de>
3064 * javax/swing/plaf/metal/DefaultMetalTheme.java
3065 (CONTROL_TEXT_FONT): New static field.
3066 (MENU_TEXT_FONT): Likewise.
3067 (SUB_TEXT_FONT): Likewise.
3068 (SYSTEM_TEXT_FONT): Likewise.
3069 (USER_TEXT_FONT): Likewise.
3070 (WINDOW_TITLE_FONT): Likewise.
3071 (getControlTextFont): New method.
3072 (getMenuTextFont): Likewise.
3073 (getSubTextFont): Likewise.
3074 (getSystemTextFont): Likewise.
3075 (getUserTextFont): Likewise.
3076 (getWindowTitleFont): Likewise.
3077 * javax/swing/plaf/metal/MetalTheme.java
3078 (BLACK): Initialize with Color.BLACK.
3079 (WHITE): Initialize with Color.WHITE.
3080 (getInactiveControlTextColor): Return getControlDisabled().
3081 (getMenuDisabledForeground): Return getSecondary3().
3082 (getControlTextFont): New abstract method.
3083 (getMenuTextFont): Likewise.
3084 (getSubTextFont): Likewise.
3085 (getSystemTextFont): Likewise.
3086 (getUserTextFont): Likewise.
3087 (getWindowTitleFont): Likewise.
3089 2005-02-15 Michael Koch <konqueror@gmx.de>
3091 * javax/swing/JFormattedTextField.java
3092 (getFocusLostBehavior): Fixed typo in method name.
3093 (setFocusLostBehavior): Likewise.
3095 2005-02-15 Michael Koch <konqueror@gmx.de>
3097 * javax/swing/TransferHandler.java:
3098 Reworked import statements.
3100 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3102 * java/awt/Button.java,
3103 java/awt/Canvas.java,
3104 java/awt/Checkbox.java,
3105 java/awt/CheckboxMenuItem.java,
3106 java/awt/Choice.java,
3107 java/awt/Dialog.java,
3108 java/awt/Frame.java,
3109 java/awt/Label.java,
3112 java/awt/MenuBar.java,
3113 java/awt/MenuItem.java,
3114 java/awt/PopupMenu.java,
3115 java/awt/ScrollPane.java,
3116 java/awt/Scrollbar.java,
3117 java/awt/TextArea.java,
3118 java/awt/Window.java (getAccessibleContext): Clean up comments.
3120 * java/awt/Button.java,
3121 java/awt/Checkbox.java,
3122 java/awt/Choice.java,
3124 java/awt/PopupMenu.java,
3125 java/awt/TextArea.java (getAccessibleContext): Only create new
3127 * java/awt/TextComponent.java (getAccessibleContext): Implement.
3129 2005-02-15 Michael Koch <konqueror@gmx.de>
3131 * java/awt/Button.java,
3132 javax/swing/JApplet.java,
3133 javax/swing/JFormattedTextField.java,
3134 javax/swing/JWindow.java,
3135 javax/swing/JTree.java,
3136 javax/swing/plaf/basic/BasicEditorPaneUI.java,
3137 javax/swing/plaf/basic/BasicTextPaneUI.java,
3138 javax/swing/plaf/basic/BasicTreeUI.java:
3139 Reworked import statements.
3141 2005-02-15 Michael Koch <konqueror@gmx.de>
3143 * Makefile.am: Put javax.imageio into its own library and link it
3144 against lib-org-w3c-dom.la to fix bootstrapping.
3145 * Makefile.in: Regenerated.
3147 2005-02-15 Michael Koch <konqueror@gmx.de>
3149 * javax/swing/text/TextAction.java
3150 (getTextComponent): Simplified. Added Javadoc.
3151 (augmentList): Implemented. Added Javadoc.
3152 (getFocusedComponent): Added javadoc.
3154 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3156 * java/awt/Scrollbar.java (AccessibleAWTScrollbar,
3157 getAccessibleContext): Implement.
3158 * java/awt/ScrollPane.java (AccessibleAWTScrollPane,
3159 getAccessibleContext): Implement.
3161 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3163 * java/awt/Dialog.java (AccessibleAWTFrame, getAccessibleContext):
3165 * java/awt/Frame.java (AccessibleAWTFrame, getAccessibleContext):
3167 * java/awt/Window.java (getAccessibleContext): Fix comment.
3168 Remove extra import.
3170 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3172 * java/awt/Window.java (AccessibleAWTWindow): Implement.
3173 (isActive, isFocused, getAccessibleContext): Implement.
3175 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3177 * java/awt/MenuItem.java (getAccessibleContext): Implement.
3178 * java/awt/MenuComponent.java (accessibleContext): Make package
3180 * java/awt/CheckboxMenuItem.java (getAccessibleContext,
3181 AccessibleAWTCheckboxMenuItem): Implement.
3183 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3185 * java/awt/List.java: Implement AccessibleAWTList,
3186 AccessibleAWTListChild.
3188 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3190 * java/awt/Choice.java: Add implements declaration for
3193 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3195 * javax/imageio/metadata/IIOInvalidTreeException.java: Use Node
3198 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3200 * javax/imageio/metadata/IIOMetadataNode.java: Add Node to
3201 implemented interface list.
3203 2005-02-15 Jerry Quinn <jlquinn@optonline.net>
3205 * javax/imageio/metadata/IIOMetadataNode.java: Implement.
3206 * javax/imageio/metadata/IIOAttr.java: New class.
3207 * javax/imageio/metadata/IIONamedNodeMap.java: New class.
3208 * javax/imageio/metadata/IIONodeList.java: New class.
3209 * Makefile.am: Added new files.
3210 * Makefile.in: Regenerated.
3212 2005-02-15 Michael Koch <konqueror@gmx.de>
3214 * javax/swing/AbstractAction.java,
3215 javax/swing/AbstractCellEditor.java,
3216 javax/swing/AbstractListModel.java,
3217 javax/swing/DefaultBoundedRangeModel.java,
3218 javax/swing/DefaultButtonModel.java,
3219 javax/swing/DefaultCellEditor.java,
3220 javax/swing/DefaultComboBoxModel.java,
3221 javax/swing/DefaultDesktopManager.java,
3222 javax/swing/JMenu.java,
3223 javax/swing/JSlider.java,
3224 javax/swing/KeyStroke.java,
3225 javax/swing/OverlayLayout.java,
3226 javax/swing/ScrollPaneLayout.java,
3227 javax/swing/SizeRequirements.java,
3228 javax/swing/ViewportLayout.java:
3229 Made serialVersionUID private.
3231 2005-02-15 Michael Koch <konqueror@gmx.de>
3233 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
3236 2005-02-15 Michael Koch <konqueror@gmx.de>
3238 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: More reformatting.
3240 2005-02-15 Michael Koch <konqueror@gmx.de>
3242 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Reformatted.
3244 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
3246 * java/awt/EventDispatchThread.java,
3247 java/awt/Toolkit.java:
3248 Don't catch java.lang.ThreadDeath.
3250 2005-02-15 Michael Koch <konqueror@gmx.de>
3252 * javax/swing/text/PasswordView.java
3253 (drawEchoCharacter): Added javadoc.
3254 (drawSelectedText): Likewise.
3255 (drawUnselectedText): Likewise.
3257 2005-02-15 Michael Koch <konqueror@gmx.de>
3259 * javax/swing/JRootPane.java
3260 (windowDecorationStyle): New field.
3261 (setMenuBar): New method.
3262 (getMenuBar): Likewise.
3263 (getWindowDecorationStyle): Likewise.
3264 (setWindowDecorationStyle): Likewise.
3266 2005-02-15 Michael Koch <konqueror@gmx.de>
3268 * javax/swing/DefaultListSelectionModel.java
3269 (leadAnchorNotificationEnabled): Made protected.
3271 2005-02-15 Michael Koch <konqueror@gmx.de>
3273 * javax/swing/InternalFrameFocusTraversalPolicy.java: New file.
3274 * Makefile.am: Added InternalFrameFocusTraversalPolicy.java.
3275 * Makefile.in: Regenerated.
3278 2005-02-15 Michael Koch <konqueror@gmx.de>
3280 * javax/swing/JFormattedTextField.java: Implemented.
3281 * javax/swing/JWindow.java
3282 (JWindow): New constructors.
3283 (initWindow): Renamed from initFrame.
3284 * javax/swing/UIDefaults.java
3285 (ActiveValue): Made interface static.
3286 (LazyValue): Likewise.
3287 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
3288 (TitlePaneLayout.TitlePaneLayout): New constructor.
3289 * javax/swing/plaf/basic/BasicSliderUI.java
3290 (ChangeHandler): Made public.
3291 (FocusHandler): Likewise.
3292 (PropertyChangeHandler): Likewise.
3293 (ScrollListener): Likewise.
3294 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
3295 (FocusHandler): Likewise.
3296 (MouseHandler): Likewise.
3297 * javax/swing/plaf/basic/BasicTextPaneUI.java
3298 (BasicTextPaneUI): Extend BasicEditorPaneUI.
3299 * javax/swing/plaf/basic/BasicToolBarUI.java
3300 (BasicToolBarUI): Simplified. Reworked javadoc.
3301 (canDock): Simplified. Make public.
3302 (DockingListener): Made public.
3303 * javax/swing/text/JTextComponent.java
3304 (navigationFilter): New field.
3305 (getNavigationFilter): New method.
3306 (setNavigationFilter): Likewise.
3308 2005-02-15 Michael Koch <konqueror@gmx.de>
3310 * javax/swing/plaf/metal/MetalTheme.java
3311 (getControlTextColor): Return getControlInfo().
3312 (getHighlightedTextColor): Return getControlTextColor().
3314 2005-02-15 Michael Koch <konqueror@gmx.de>
3316 * javax/swing/plaf/basic/BasicButtonListener.java
3317 (BasicButtonListener): New constructor.
3318 * javax/swing/plaf/basic/BasicButtonUI.java
3319 (createButtonListener): Usw new BasicButtonListener constructor.
3321 2005-02-15 Michael Koch <konqueror@gmx.de>
3323 * javax/imageio/event/package.html,
3324 javax/imageio/metadata/package.html: New files.
3326 2005-02-15 Michael Koch <konqueror@gmx.de>
3328 * java/awt/image/MemoryImageSource.java: Reformatted.
3330 2005-02-15 Michael Koch <konqueror@gmx.de>
3332 * javax/swing/tree/TreeCellEditor.java: Refomatted.
3334 2005-02-15 Jeroen Frijters <jeroen@frijters.net>
3336 * java/awt/color/ICC_Profile.java
3337 (finalize): Removed pointless field assignments.
3339 2005-02-15 Michael Koch <konqueror@gmx.de>
3341 * javax/swing/plaf/basic/BasicEditorPaneUI.java: New file.
3342 * Makefile.am: Added javax/swing/plaf/basic/BasicEditorPaneUI.java.
3343 * Makefile.in: Regenerated.
3345 2005-02-15 Michael Koch <konqueror@gmx.de>
3347 * javax/swing/text/DefaultStyledDocument.java: New file.
3348 * Makefile.am: Added javax/swing/text/DefaultStyledDocument.java.
3349 * Makefile.in: Regenerated.
3351 2005-02-15 Michael Koch <konqueror@gmx.de>
3353 * javax/swing/JFileChooser.java
3354 (showDialog): Return CANCEL_OPTION for now.
3355 (showOpenDialog): Likewise.
3356 (showSaveDialog): Likewise.
3358 2005-02-15 Michael Koch <konqueror@gmx.de>
3360 * javax/swing/JApplet.java
3361 (HIDE_ON_CLOSE): Removed.
3362 (EXIT_ON_CLOSE): Likewise.
3363 (DISPOSE_ON_CLOSE): Likewise.
3364 (DO_NOTHING_ON_CLOSE): Likewise.
3365 (close_action): Likewise.
3366 (getDefaultCloseOperation): Likewise.
3367 (setDefaultCloseOperation): Likewise.
3368 (processWindowEvent): Likewise.
3369 (getPreferredSize): Simplified.
3370 * javax/swing/JInternalFrame.java
3371 (setDefaultCloseOperation): Fixed throwing exception on wrong argument
3373 * javax/swing/JWindow.java
3374 (HIDE_ON_CLOSE): Removed.
3375 (EXIT_ON_CLOSE): Likewise.
3376 (DISPOSE_ON_CLOSE): Likewise.
3377 (DO_NOTHING_ON_CLOSE): Likewise.
3378 (close_action): Likewise.
3379 (processKeyEvent): Likewise.
3380 (setDefaultCloseOperation): Likewise.
3381 (getPreferredSize): Simplified.
3383 2005-02-15 Michael Koch <konqueror@gmx.de>
3385 * javax/swing/JTextField.java
3386 (getPreferredSize): Re-implemented.
3388 2005-02-15 Michael Koch <konqueror@gmx.de>
3390 * javax/swing/JLabel.java
3391 (setDisplayedMnemonic): Use only upper case characters.
3392 (setDisplayedMnemonicIndex): Handle index == -1 and fire
3393 PropertyChangeEvent after property got set to the new index.
3395 2005-02-15 Robert Schuster <thebohemian@gmx.net>
3397 * javax/swing/JComboBox.java:
3398 (JComboBox): Removed selection of the
3399 first item in the model.
3401 2005-02-15 Robert Schuster <thebohemian@gmx.net>
3403 * javax/swing/JComboBox.java
3404 added support for no item being selected
3405 (JComboBox): select first or nothing depending on element count
3406 (setModel): cleaned up unneeded "this." usage, added more
3407 docs, made exception behavior match that of the JDK
3408 (setLighWeightPopupEnabled): removed unneeded "this." usage
3410 (setMaximumRowCount): dito
3412 (setPrototypeDisplayValue): dito
3413 (getSelectedItem): simplified, added more user doc
3414 (setSelectedIndex): corrected exception behavior, added more user doc
3415 (getSelectedIndex): fixed hardcoded dependency on DefaultComboBoxModel,
3416 added performance warning to user doc
3417 (addItem): fixed exception behavior, added user doc
3418 (insertItemAt): dito
3420 (removeItemAt): dito
3421 (removeAll): fixed exception behavior, added user doc, added support
3422 for model not being instance of DefaultComboBoxModel
3423 (getSelectedItemObjects): simplified
3424 (getItemCount): fixed dependency on DefaultComboBoxModel
3425 (getItemAt): fixed dependency on MutableComboBoxModel
3426 * javax/swing/DefaultComboBoxModel.java:
3427 (setSelectedItem): updates selected item only if new
3428 value is null or known (match JDK behavior)
3429 * javax/swing/plaf/basic/BasicComboBoxUI.java:
3430 (paintCurrentValue): renders "" if no item is selected
3432 2005-02-15 Michael Koch <konqueror@gmx.de>
3434 * javax/swing/plaf/metal/MetalTheme.java,
3435 javax/swing/plaf/metal/DefaultMetalTheme.java:
3437 * javax/swing/plaf/metal/MetalLookAndFeel.java
3438 * Makefile.am: Added the new files.
3439 * Makefile.in: Regenerated.
3441 2005-02-15 Olga Rodimina <rodimina@redhat.com>
3443 * javax/swing/JTable.java
3444 (editorComp): New field.
3445 (JTable): Initialize local variables and call updateUI
3446 (selectionBackground): Make protected.
3447 (selectionForeground): Likewise.
3448 (initializeLocalVars): Create default editors and renderers,
3449 initialize editingColumn, editingRow variables.
3450 (createDefaultEditors): New Method.
3451 (createDefaultRenderers): Likewise.
3452 (createDefaultListSelectionModel): Removed
3453 (createDefaultSelectionModel): New Method.
3454 (createDefaultTableHeader): Likewise
3455 (removeColumn): Likewise.
3456 (getEditingColumn): Likewise.
3457 (setEditingColumn): Likewise.
3458 (getEditingRow): Likewise.
3459 (setEditingRow): Likewise.
3460 (getEditorComponent): Likewise.
3461 (isEditing): Likewise.
3462 (setDefaultEditor): Likewise.
3463 (addColumnSelectionInterval): Likewise.
3464 (addRowSelectionInterval): Likewise.
3465 (setColumnSelectionInterval): Likewise.
3466 (setRowSelectionInterval): Likewise.
3467 (removeColumnSelectionInterval): Likewise.
3468 (removeRowSelectionInterval): Likewise.
3469 (isColumnSelected): Likewise.
3470 (isRowSelected): Likewise.
3471 (isCellSelected): Likewise.
3472 (selectAll): Likewise.
3474 2005-02-15 Michael Koch <konqueror@gmx.de>
3476 * javax/swing/JTable.java
3477 (addColumn): New method.
3478 (getColumnClass): Likewise.
3479 (getColumnName): Likewise.
3481 2005-02-15 Paul Jenner <psj.home@ntlworld.com>
3483 * javax/swing/TransferHandler.java
3484 (createTransferable): Made protected.
3486 2005-02-15 Michael Koch <konqueror@gmx.de>
3488 * javax/swing/JTable.java,
3489 javax/swing/plaf/basic/BasicTableHeaderUI.java,
3490 javax/swing/plaf/basic/BasicTableUI.java:
3491 Use fixed get/setIntercellSpacing() methods.
3493 2005-02-15 Michael Koch <konqueror@gmx.de>
3495 * javax/swing/JTable.java
3496 (getIntercellSpacing): Fixed typo in method name.
3497 (setIntercellSpacing): Likewise.
3499 2005-02-15 Michael Koch <konqueror@gmx.de>
3501 * javax/swing/text/JTextComponent.java
3502 (focusAccelerator): New variable.
3503 (getFocusAccelerator): New method.
3504 (setFocusAccelerator): Likewise.
3506 2005-02-15 Michael Koch <konqueror@gmx.de>
3508 * javax/swing/JComponent.java
3509 (setTransferHandler): Made public. Fire property change event.
3510 * javax/swing/TransferHandler.java: Implemented.
3511 * javax/swing/text/JTextComponent.java
3512 (DefaultTransferHandler): New inner class.
3513 (defaultTransferHandler): New variable.
3517 (doTransferAction): Likewise.
3519 2005-02-15 Michael Koch <konqueror@gmx.de>
3521 * javax/swing/JTree.java
3522 (collapsePath): New method.
3523 (collapseRow): Likewise.
3524 (expandPath): Likewise.
3525 (expandRow): Likewise.
3526 (checkExpandParents): Likewise.
3527 (doExpandParents): Likewise.
3528 (setExpandedState): Likewise.
3529 (makeVisible): Likewise.
3531 2005-02-15 Michael Koch <konqueror@gmx.de>
3533 * javax/swing/JPasswordField.java: Updated javadocs.
3535 2005-02-15 Michael Koch <konqueror@gmx.de>
3537 * javax/swing/JLayeredPane.java
3538 (getLayer): Fixed return type, made public.
3539 (getPosition): Use new getLayer().
3540 (SetPosition): Likewise.
3541 (getIndexOf): Likewise.
3543 * javax/swing/JInternalFrame.java
3544 (getLayer): Use new JLayeredPane.getLayer().
3547 2005-02-15 Michael Koch <konqueror@gmx.de>
3549 * javax/swing/table/TableColumn.java: Added/fixed javadocs over all.
3550 (setHeaderValue): Simplified. Do nothing when old value == new value.
3552 2005-02-15 Thomas Fitzsimmons <fitzsim@redhat.com>
3554 * gnu/java/awt/peer/gtk/GdkGraphics.java (setClip): Protect
3555 against null clip region.
3556 * gnu/java/awt/peer/gtk/GtkFramePeer.java (create): Call
3557 gtkWindowSetResizable.
3558 (postConfigureEvent): Only revalidate if frame size has changed.
3559 * gnu/java/awt/peer/gtk/GtkWindowPeer.java (postConfigureEvent):
3560 Only revalidate if frame size has changed.
3561 * java/awt/Component.java (reshape): Only repaint and post
3562 component events if component is showing.
3563 * java/awt/Container.java (addImpl): Only post container event if
3564 container is showing.
3566 * java/awt/Window.java (setLocationRelativeTo): Implement.
3567 (setBoundsCallback): Only post component events if component is
3569 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
3570 Protect against null graphics structure. Flush gdk event queue.
3572 2005-02-15 Michael Koch <konqueror@gmx.de>
3574 * javax/imageio/ImageReader.java,
3575 javax/imageio/ImageTranscoder.java,
3576 javax/imageio/ImageWriter.java,
3577 javax/imageio/spi/ImageInputStreamSpi.java,
3578 javax/imageio/spi/ImageOutputStreamSpi.java,
3579 javax/imageio/spi/ServiceRegistry.java,
3580 javax/imageio/stream/ImageInputStream.java,
3581 javax/imageio/stream/ImageOutputStream.java: Updated.
3582 * javax/imageio/IIOException.java,
3583 javax/imageio/IIOImage.java,
3584 javax/imageio/IIOParam.java,
3585 javax/imageio/IIOParamController.java,
3586 javax/imageio/ImageIO.java,
3587 javax/imageio/ImageReadParam.java,
3588 javax/imageio/ImageTypeSpecifier.java,
3589 javax/imageio/ImageWriteParam.java,
3590 javax/imageio/spi/IIORegistry.java,
3591 javax/imageio/spi/ImageReaderSpi.java,
3592 javax/imageio/spi/ImageWriterSpi.java,
3593 javax/imageio/stream/FileCacheImageInputStream.java,
3594 javax/imageio/stream/FileCacheImageOutputStream.java,
3595 javax/imageio/stream/FileImageInputStream.java,
3596 javax/imageio/stream/FileImageOutputStream.java,
3597 javax/imageio/stream/ImageInputStreamImpl.java,
3598 javax/imageio/stream/ImageOutputStreamImpl.java,
3599 javax/imageio/stream/MemoryCacheImageInputStream.java,
3600 javax/imageio/stream/MemoryCacheImageOutputStream.java,
3601 javax/imageio/event/IIOReadProgressListener.java,
3602 javax/imageio/event/IIOReadUpdateListener.java,
3603 javax/imageio/event/IIOReadWarningListener.java,
3604 javax/imageio/event/IIOWriteProgressListener.java,
3605 javax/imageio/event/IIOWriteWarningListener.java,
3606 javax/imageio/metadata/IIOMetadata.java,
3607 javax/imageio/metadata/IIOMetadataController.java,
3608 javax/imageio/metadata/IIOMetadataFormat.java,
3609 javax/imageio/metadata/IIOInvalidTreeException.java,
3610 javax/imageio/metadata/IIOMetadataFormatImpl.java,
3611 javax/imageio/metadata/IIOMetadataNode.java: New files.
3612 * Makefile.am (javax_source_files): Added new files
3613 * Makefile.in: Regenerated.
3615 2005-02-15 Graydon Hoare <graydon@redhat.com>
3617 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
3618 Rework painting into BufferedImages
3619 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java:
3620 Construct BufferedImage with alpha only when alpha is
3621 present in colormodel.
3622 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
3623 Rework painting into client-side jint arrays.
3624 * jni/gtk-peer/gtkcairopeer.h:
3627 2005-02-15 Michael Koch <konqueror@gmx.de>
3629 * javax/swing/DefaultListCellRenderer.java
3630 (serialVersionUID): Made private.
3631 (getListCellRendererComponent): Set horizontal alignment.
3632 * javax/swing/JLabel.java
3633 (setVerticalAlignment): Re-implemented.
3634 (setHorizontalAlignment): Do nothing if old value = new value.
3635 * javax/swing/JList.java
3636 (setCellRenderer): Likewise.
3637 (setModel): Re-implemented.
3638 (setSelectionModel): Likewise.
3640 2005-02-15 David Gilbert <david.gilbert@object-refinery.com>
3642 * java/awt/Component.java,
3643 java/awt/geom/Rectangle2D.java:
3646 2005-02-15 Michael Koch <konqueror@gmx.de>
3648 * javax/swing/AbstractListModel.java
3649 (fireContentsChanged): Simplified.
3650 (fireIntervalAdded): Likewise.
3651 (fireIntervalRemoved): Likewise.
3652 * javax/swing/DefaultSingleSelectionModel.java:
3654 (fireStateChanged): Simplified.
3655 * javax/swing/JPopupMenu.java
3656 (setSelectionModel): Set property.
3658 2005-02-15 Michael Koch <konqueror@gmx.de>
3660 * java/awt/print/Book.java: Reformatted.
3662 2005-02-15 Michael Koch <konqueror@gmx.de>
3664 * java/awt/geom/Area.java
3665 (QuadSegment.curveArea): Remove unused variables.
3666 (CubicSegment.curveArea): Likewise.
3668 2005-02-15 Michael Koch <konqueror@gmx.de>
3670 * javax/swing/JTree.java
3671 (ANCHOR_SELECTION_PATH_PROPERTY): Added @since tag.
3672 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
3673 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
3674 (EXPANDED): New constant.
3675 (COLLAPSED): Likewise.
3676 (nodeStates): New field.
3677 (cellEditor): New method.
3678 (cellRenderer): Likewise.
3679 (selectionModel): Likewise.
3680 (treeModel): Likewise.
3681 (scrollPathToVisible): Likewise.
3682 (scrollRowToVisible): Likewise.
3683 (isCollapsed): Likewise.
3684 (isExpanded): Likewise.
3685 (clearToggledPaths): Likewise.
3686 (getDescendantToggledPaths): Likewise.
3687 (hasBeenExpanded): Likewise.
3688 (isVisible): Likewise.
3689 (isPathEditable): Likewise.
3691 2005-02-15 Michael Koch <konqueror@gmx.de>
3693 * javax/swing/JLayeredPane.java: Reformatted.
3695 2005-02-15 Michael Koch <konqueror@gmx.de>
3697 * javax/swing/tree/DefaultMutableTreeNode.java:
3699 * javax/swing/tree/MutableTreeNode.java:
3702 2005-02-15 Michael Koch <konqueror@gmx.de>
3704 * javax/swing/JFormattedTextField.java
3705 (setDocument): Call setDocument of super class. Don't fire property
3708 2005-02-15 Sven de Marothy <sven@physto.se>
3710 * java/awt/image/IndexColorModel.java:
3711 Add FIXME with respect to alpha handling.
3712 (getAlpha): Default to returning opaque pixels.
3713 * java/awt/image/MultiPixelPackedSampleModel.java
3714 (MultiPixelPackedSampleModel): Corrected parameters, order of
3715 bit shifts and masks, stride length off by one.
3717 2005-02-15 Michael Koch <konqueror@gmx.de>
3719 * javax/swing/JList.java, javax/swing/JTree.java:
3720 Added much new methods and fixed much methods setting bound properties.
3722 2005-02-16 Mark Wielaard <mark@klomp.org>
3724 * Makefile.am (gnu_xml_source_files): Removed
3725 gnu/xml/dom/DomCDATA.java, gnu/xml/dom/DomEx.java,
3726 gnu/xml/dom/DomFragment.java, gnu/xml/dom/DomPI.java and
3727 gnu/xml/dom/ls/DomLSEx.java. Replaced by adding
3728 gnu/xml/dom/DomCDATASection.java, gnu/xml/dom/DomDOMException.java,
3729 gnu/xml/dom/DomDocumentFragment.java,
3730 gnu/xml/dom/DomProcessingInstruction.java and
3731 gnu/xml/dom/ls/DomLSException.java.
3732 * Makefile.in: Regenerated.
3734 2005-02-16 Tom Tromey <tromey@redhat.com>
3736 * gnu/xml/aelfred2/SAXDriver.java: Ensure that null is returned when
3737 attribute index is out of bounds.
3739 2005-02-16 Chris Burdess <dog@gnu.org>
3741 * gnu/xml/aelfred2/SAXDriver.java: Corrected implementation of
3742 isDeclared methods. Improved performance of isSpecified methods.
3744 2005-02-16 Chris Burdess <dog@gnu.org>
3746 Fixes bug libgcj/19864
3747 * gnu/xml/dom/DomAttr.java,
3748 gnu/xml/dom/DomCDATA.java,
3749 gnu/xml/dom/DomCDATASection.java,
3750 gnu/xml/dom/DomCharacterData.java,
3751 gnu/xml/dom/DomDOMException.java,
3752 gnu/xml/dom/DomDoctype.java,
3753 gnu/xml/dom/DomDocument.java,
3754 gnu/xml/dom/DomDocumentConfiguration.java,
3755 gnu/xml/dom/DomDocumentFragment.java,
3756 gnu/xml/dom/DomElement.java,
3757 gnu/xml/dom/DomEx.java,
3758 gnu/xml/dom/DomFragment.java,
3759 gnu/xml/dom/DomImpl.java,
3760 gnu/xml/dom/DomIterator.java,
3761 gnu/xml/dom/DomNamedNodeMap.java,
3762 gnu/xml/dom/DomNode.java,
3763 gnu/xml/dom/DomNsNode.java,
3764 gnu/xml/dom/DomPI.java,
3765 gnu/xml/dom/DomProcessingInstruction.java,
3766 gnu/xml/dom/DomText.java,
3767 gnu/xml/dom/DomLSEx.java,
3768 gnu/xml/dom/DomLSException.java,
3769 gnu/xml/dom/DomLSParser.java,
3770 gnu/xml/dom/DomLSSerializer.java: Refactoring of exception and DOM
3771 implementation class names to conform to Classpath guidelines. Make
3772 DomLSException use JDK 1.4+ exception chaining.
3773 * gnu/xml/util/SAXNullTransformerFactory.java,
3774 gnu/xml/xpath/Predicate.java: Use constants relative to
3775 declaring class or interface.
3777 2005-02-16 Andrew Haley <aph@redhat.com>
3779 * javax/security/auth/Subject.java (doAsPrivileged): If acc is
3780 null, create a new AccessControlContext.
3781 * java/security/SecureClassLoader.java (protectionDomainCache):
3783 (defineClass): Create a new protection domain and add it to our
3786 * java/rmi/server/UnicastRemoteObject.java (exportObject): Call
3787 addStub() to keep track of the stub we've exported.
3788 (unexportObject): Call deleteStub().
3789 * java/rmi/server/RemoteObject.java (stubs): New field.
3790 (addStub): New method.
3791 (deleteStub): New method.
3794 * java/lang/VMCompiler.java (loadSharedLibrary): Pass
3795 true to findHelper (tryParents).
3796 * gnu/gcj/runtime/SharedLibLoader.java (SharedLibLoader):
3798 * java/net/URLClassLoader.java (SoURLLoader): Likewise.
3799 * gnu/gcj/runtime/SharedLibHelper.java (SharedLibHelper): Pass
3801 If tryParents is false, don't scan parent class loaders.
3803 * java/security/Permissions.java (PermissionsHash.implies):
3804 Iterate over the collection and invoke implies() on each
3807 2005-02-16 Andrew Haley <aph@redhat.com>
3809 * gnu/gcj/runtime/PersistentByteMap.java (name, values, fc): new
3811 (PersistentByteMap): Set name
3812 Magic number changed to 0x67636a64 ("gcjd").
3813 (init): Force the map to be prime.
3814 (emptyPersistentByteMap): File name was a string, now a File.
3815 (addBytes): Share srings between entries.
3816 (stringTableSize): New method.
3817 (capacity): Scale by load factor.
3818 (force): New method.
3819 (getFile): New method.
3820 (close): New method.
3821 (putAll): New method.
3822 (ByteWrapper): New class.
3823 * gnu/gcj/tools/gcj_dbtool/Main.java (verbose): New field.
3824 (main): Guess the average string size as 32, not 64.
3825 Copy a database before modifying it, so that we can update a
3826 database in a running system.
3827 If a database isn't big enough, resize it.
3828 "-m": new option: merges databases.
3829 "-a": Create a new detabase if it doesn't exist.
3830 (usage): Correct, add new option.
3831 (addJar): Copy a database before modifying it.
3832 (resizeMap): New method.
3834 2005-02-15 David Daney <ddaney@avtrex.com>
3835 Bryce McKinlay <mckinlay@redhat.com>
3837 * prims.cc (_Jv_CreateJavaVM): Add comment about initialization order.
3838 * posix-threads.cc (_Jv_InitThreads): Call block_sigchld() here to
3839 ensure that GC threads inherit the new signal mask.
3840 (block_sigchld): Call JvFail rather than throwing exception if
3841 pthread_sigmask() fails.
3843 2005-02-15 Mark Wielaard <mark@klomp.org>
3845 * java/util/jar/Attributes.java (Name.CLASS_PATH): Document that
3846 file path elements are separated by spaces.
3848 2005-02-15 Mark Wielaard <mark@klomp.org>
3850 * java/util/jar/Attributes.java (Attributes.Name): Add documentation
3851 to describe attributes without a constant field value in this class.
3853 2005-02-15 Michael Koch <konqueror@gmx.de>
3855 * java/util/jar/Attributes.java
3856 (CREATED_BY, JAVA_BEAN, MAGIC): Removed.
3858 2005-02-15 Mark Wielaard <mark@klomp.org>
3860 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Just use
3861 space for parsing CLASS_PATH attribute.
3863 2005-02-15 Mark Wielaard <mark@klomp.org>
3865 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Don't look
3866 aside for "GCJLIBS" in directory where jarfiles are loaded.
3867 (JarURLLoader.getClass): Removed method.
3868 (JarURLLoader.toString): Removed method.
3869 (FileResource.toString): Removed method.
3871 2005-02-15 Mark Wielaard <mark@klomp.org>
3873 * javax/net/ssl/SSLContext.java (getInstance): Add exception message
3874 and/or cause before throwing.
3876 2005-02-15 Richard Henderson <rth@redhat.com>
3878 * Makefile.am (libgcj_la_SOURCES): Move all sources ...
3879 (libgcj0_convenience_la_SOURCES): ... here.
3880 (libgcj_la_LIBADD): Add libgcj0_convenience.la.
3881 (libgcj_la_DEPENDENCIES): Include libgcj_la_LIBADD.
3882 * Makefile.in: Regenerate.
3884 2005-02-14 Thomas Fitzsimmons <fitzsim@redhat.com>
3887 * include/jawt.h: Likewise.
3888 * include/jawt_md.h: Likewise.
3889 * include/Makefile.am (tool_include__HEADERS): Add jawt.h and
3891 * include/Makefile.in: Regenerate.
3892 * jni/classpath/classpath_jawt.h: Likewise.
3893 * jni/gtk-peer/gtk_jawt.c: Likewise.
3894 * Makefile.am: Build libjawt.so.
3895 * Makefile.in: Regenerate.
3897 2005-02-14 Tom Tromey <tromey@redhat.com>
3899 * testsuite/libjava.lang/PR19921.java: Use correct class name.
3901 2005-02-14 Tom Tromey <tromey@redhat.com>
3903 * testsuite/libjava.lang/PR19921.out: Renamed from PR19929.out.
3904 * testsuite/libjava.lang/PR19921.java: Renamed from PR19929.java.
3906 2005-02-14 Tom Tromey <tromey@redhat.com>
3909 * testsuite/libjava.lang/PR19929.out: New file.
3910 * testsuite/libjava.lang/PR19929.java: New file.
3912 2005-02-14 Anthony Green <green@redhat.com>
3915 * testsuite/libjava.jni/PR18116.c: New file.
3916 * testsuite/libjava.jni/PR18116.java: New file.
3917 * testsuite/libjava.jni/PR18116.out: New file.
3919 2005-02-13 Anthony Green <green@redhat.com>
3922 * jni.cc (nathash_add): Don't strdup the method signature.
3923 (_Jv_JNI_RegisterNatives): Convert the slashes to dots in the
3927 2005-02-12 Mark Wielaard <mark@klomp.org>
3929 Fixes bug libgcj/8170
3930 * java/lang/ClassLoader.java (loadClass): Don't rewrap
3931 ClassNotFoundException.
3932 * gnu/java/lang/MainThread.java (run): Chain NoClassDefFoundError.
3933 * gnu/gcj/runtime/NameFinder.java (remove_interpreter): Removed.
3934 (remove_internal): New field superceding remove_interpreter.
3935 (sanitizeStack): Remove all no-package classes starting with "_Jv_".
3936 Remove no-class methods starting with "_Jv_". And Replace null
3937 class or method names with the empty string. Stop at either the
3938 MainThread or a real Thread run() method.
3939 (newElement): Made static.
3940 * java/net/URLClassLoader.java (findClass): Throw
3941 ClassNotFoundExceptions including urls, plus parent using toString().
3942 (thisString): New field.
3943 (toString): New method.
3945 2005-02-10 Tom Tromey <tromey@redhat.com>
3947 * external/sax/Makefile.in: Rebuilt.
3948 * external/sax/Makefile.am (all-local): Removed.
3949 (BUILT_SOURCES): New variable.
3950 (mostlyclean-local): No error if no classes to delete.
3951 * external/w3c_dom/Makefile.in: Rebuilt.
3952 * external/w3c_dom/Makefile.am (all-local): Removed.
3953 (BUILT_SOURCES): New variable.
3954 (mostlyclean-local): No error if no classes to delete.
3956 2005-02-10 Bryce McKinlay <mckinlay@redhat.com>
3958 * testsuite/libjava.mauve/xfails: Updated to reflect current state
3959 of mauve and libjava.
3961 2005-02-09 Tom Tromey <tromey@redhat.com>
3963 * gnu/java/net/protocol/jar/Connection.java (getJarFile): Open
3964 jar file with OPEN_DELETE.
3965 * java/util/zip/ZipFile.java (ZipFile): Call deleteOnExit when
3966 OPEN_DELETE is used.
3968 2005-02-09 Tom Tromey <tromey@redhat.com>
3970 * java/util/zip/InflaterInputStream.java (markSupported):
3972 (mark, reset): Likewise.
3974 2005-02-08 Tom Tromey <tromey@redhat.com>
3976 * java/net/URI.java (AUTHORITY_REGEXP): Handle case where user
3977 name or port is missing.
3978 (AUTHORITY_USERINFO_GROUP, AUTHORITY_HOST_GROUP,
3979 AUTHORITY_PORT_GROUP): Updated.
3981 2005-02-08 Tom Tromey <tromey@redhat.com>
3983 * configure: Rebuilt.
3984 * configure.ac: Reduce number of calls to AC_CHECK_FUNCS and
3987 2005-02-07 Tom Tromey <tromey@redhat.com>
3989 * java/lang/natRuntime.cc (insertSystemProperties): Set
3990 sun.boot.class.path earlier.
3992 2005-02-07 Tom Tromey <tromey@redhat.com>
3994 * defineclass.cc (handleClassBegin): Use
3995 _Jv_RegisterInitiatingLoader.
3996 * java/lang/Class.h (_Jv_UnregisterInitiatingLoader): Declare.
3997 * java/lang/natVMClassLoader.cc (resolveClass): Don't register
3998 class. Use _Jv_UnregisterInitiatingLoader.
3999 * java/lang/natClassLoader.cc (_Jv_UnregisterInitiatingLoader):
4002 2005-02-07 Mark Wielaard <mark@klomp.org>
4004 Reported by Timo Lindfors <timo.lindfors@iki.fi>
4005 java/util/regex/Matcher.java (lookingAt): Set position when match
4007 (matches): Implemented through lookingAt().
4009 2005-02-07 Mark Wielaard <mark@klomp.org>
4011 Fix suggested by Timo Lindfors <timo.lindfors@iki.fi>
4012 * java/util/regex/Pattern.java (split(CharSequence,int)):
4013 Fix while empties > 0 loops.
4015 2005-02-07 Robert Schuster <thebohemian@gmx.net>
4017 * gnu/java/nio/charset/ISO_8859_1.java,
4018 gnu/java/nio/charset/US_ASCII.java,
4019 gnu/java/nio/charset/UTF_16.java,
4020 gnu/java/nio/charset/UTF_16_LE.java,
4021 gnu/java/nio/charset/UTF_16_BE.java,
4022 gnu/java/nio/charset/UTF_8.java: Fixed canonical names
4023 and aliases according to
4024 "http://www.iana.org/assignments/character-sets",
4025 "http://java.sun.com/j2se/1.5.0/docs/guide/intl/encoding.doc.html"
4026 and "http://oss.software.ibm.com/cgi-bin/icu/convexp?s=ALL".
4027 * gnu/java/nio/charset/Provider.java: Made charset lookup
4028 case-insensitive which fixes bug #11740.
4030 2005-02-07 Tom Tromey <tromey@redhat.com>
4033 * Makefile.in: Rebuilt.
4034 * Makefile.am (src.zip): New target.
4035 (install-src.zip): Likewise.
4036 (sourcesdir): New variable.
4038 2005-02-06 Jerry Quinn <jlquinn@optonline.net>
4040 * javax/imageio/metadata/IIOMetadataNode.java:
4042 * javax/imageio/metadata/IIOAttr.java,
4043 javax/imageio/metadata/IIONamedNodeMap.java,
4044 javax/imageio/metadata/IIONodeList.java:
4047 2005-02-06 Graydon Hoare <graydon@redhat.com>
4049 * gnu/java/awt/ClasspathToolkit.java
4050 (registerImageIOSpis): New method.
4051 * javax/imageio/ImageIO.java
4052 (WriterFormatFilter.filter): Fix copy-and-paste typos.
4053 (WriterMIMETypeFilter.filter): Likewise.
4054 (ImageReaderIterator): Pass extension argument through to SPI.
4055 (getReadersByFilter): Likewise.
4056 (getWritersByFilter): Likewise.
4057 (getImageReadersByFormatName): Likewise.
4058 (getImageReadersByMIMEType): Likewise.
4059 (getImageReadersBySuffix): Likewise.
4060 (getImageWritersByFormatName): Likewise.
4061 (getImageWritersByMIMEType): Likewise.
4062 (getImageWritersBySuffix): Likewise.
4065 * javax/imageio/ImageReader.java
4066 (progressListeners): Initialize.
4067 (setInput): Implement.
4068 * javax/imageio/ImageWriter.java
4069 (progressListeners): Initialize.
4070 (warningListeners): Likewise.
4071 (warningLocales): Likewise.
4072 (setOutput): Test "isInstance" rather than class equality.
4073 * javax/imageio/spi/IIORegistry.java
4074 (static): Add reader and writer SPIs.
4075 (IIORegistry): Call ClasspathToolkit.registerImageIOSpis.
4077 2004-02-06 Michael Koch <konqueror@gmx.de>
4079 * javax/imageio/metadata/IIOInvalidTreeException.java
4080 (IIOInvalidTreeException): Reformatted.
4081 * javax/imageio/spi/IIORegistry.java
4082 (static): Register ImageReaderSpi.class and ImageWriterSpi.class.
4083 * javax/imageio/stream/MemoryCacheImageInputStream.java:
4084 Reworked import statements.
4086 2004-02-06 Michael Koch <konqueror@gmx.de>
4088 * javax/imageio/stream/FileImageOutputStream.java:
4091 2004-02-06 Michael Koch <konqueror@gmx.de>
4093 * javax/imageio/stream/FileCacheImageInputStream.java,
4094 javax/imageio/stream/FileCacheImageOutputStream.java,
4095 javax/imageio/stream/FileImageInputStream.java,
4096 javax/imageio/stream/ImageInputStreamImpl.java,
4097 javax/imageio/stream/ImageOutputStreamImpl.java,
4098 javax/imageio/stream/MemoryCacheImageInputStream.java,
4099 javax/imageio/stream/MemoryCacheImageOutputStream.java:
4100 Added all missing methods in javax.imageio.stream.
4102 2005-02-02 David Daney <ddaney@avtrex.com>
4104 * java/net/InetAddress.java (InetAddress): Make a private copy of
4106 * java/net/Inet4Address.java (getAddress): Return a copy of the
4108 * java/net/Inet6Address.java (Inet6Address): Use private copy of
4110 (getAddress): Return a copy of the address.
4113 2005-02-02 Tom Tromey <tromey@redhat.com>
4115 * Makefile.in: Rebuilt.
4116 * Makefile.am (classes.stamp): New target, broken out from
4118 ($(all_java_class_files)): Depend on it.
4119 (libgcj-@gcc_version@.jar): Likewise.
4120 (all-recursive): Likewise.
4121 (CLEANFILES): Include classes.stamp.
4123 2005-02-02 Hans Boehm <Hans.Boehm@hp.com>
4125 * link.cc: Include <stdio.h>
4127 2005-02-02 Tom Tromey <tromey@redhat.com>
4130 * Makefile.in: Rebuilt.
4131 * Makefile.am (ordinary_java_source_files): Added new class.
4132 * java/lang/natVMClassLoader.cc (getSystemClassLoaderInternal):
4133 Use system_instance, not instance.
4134 * gnu/gcj/runtime/SystemClassLoader.java: New file.
4135 * gnu/gcj/runtime/VMClassLoader.java (init): Don't search
4137 (system_instance): New field.
4138 (initialize): Initialize the system loader as well.
4139 (VMClassLoader): Default to LIB_CACHE.
4141 2005-02-02 Tom Tromey <tromey@redhat.com>
4143 * gnu/gcj/runtime/PersistentByteMap.java: Fixed typo.
4144 * prims.cc: Fixed comment.
4146 2005-02-01 Tom Tromey <tromey@redhat.com>
4148 * Makefile.in: Rebuilt.
4149 * Makefile.am (BOOTCLASSPATH): Added sax and w3c_dom.
4150 (.java.class): Use BOOTCLASSPATH.
4152 2005-02-01 Tom Tromey <tromey@redhat.com>
4154 * external/w3c_dom/Makefile.am: New file.
4155 * external/w3c_dom/Makefile.in: New file.
4156 * external/sax/Makefile.am: New file.
4157 * external/sax/Makefile.in: New file.
4158 * external/Makefile.in: New file.
4159 * external/Makefile.am: New file.
4160 * external/README: New file from Classpath.
4161 * configure, aclocal.m4, Makefile.in: Rebuilt.
4162 * configure.ac (AC_CONFIG_FILES): Create new Makefiles.
4163 * Makefile.am (SUBDIRS): Added external.
4164 (toolexeclib_LTLIBRARIES): Removed lib-org-xml-sax.la,
4165 lib-org-w3c-dom.la, lib-org-ietf-gss.la.
4166 (BOOTCLASSPATH): New variable.
4167 (AM_GCJFLAGS): Use it.
4168 (gnu_xml_source_files): New variable.
4169 (libgcj_la_SOURCES): Use it.
4170 (libgcj_la_LDADD): Include new convenience libraries.
4171 (lib_org_ietf_jgss_la_SOURCES): Removed.
4172 (lib_org_ietf_jgss_la_DEPENDENCIES): Likewise.
4173 (lib_org_ietf_jgss_la_LIBADD): Likewise.
4174 (lib_org_w3c_dom_la_SOURCES): Removed.
4175 (lib_org_w3c_dom_la_DEPENDENCIES): Likewise.
4176 (lib_org_w3c_dom_la_LIBADD): Likewise.
4177 (lib_org_xml_sax_la_SOURCES): Removed.
4178 (lib_org_xml_sax_la_DEPENDENCIES): Likewise.
4179 (lib_org_xml_sax_la_LIBADD): Likewise.
4180 (all_java_source_files): Updated.
4181 (property_files): Likewise.
4182 (libgcj-@gcc_version@.jar): Include classes from external/.
4183 (javax_source_files): Updated.
4184 (ordinary_java_source_files): Updated.
4185 * javax/xml/XMLConstants.java,
4186 javax/xml/datatype/DatatypeConfigurationException.java,
4187 javax/xml/datatype/DatatypeConstants.java,
4188 javax/xml/datatype/DatatypeFactory.java,
4189 javax/xml/datatype/Duration.java,
4190 javax/xml/datatype/XMLGregorianCalendar.java,
4191 javax/xml/datatype/package.html,
4192 javax/xml/namespace/NamespaceContext.java,
4193 javax/xml/namespace/QName.java, javax/xml/namespace/package.html,
4194 javax/xml/parsers/DocumentBuilder.java,
4195 javax/xml/parsers/DocumentBuilderFactory.java,
4196 javax/xml/parsers/FactoryConfigurationError.java,
4197 javax/xml/parsers/ParserConfigurationException.java,
4198 javax/xml/parsers/SAXParser.java,
4199 javax/xml/parsers/SAXParserFactory.java,
4200 javax/xml/parsers/package.html,
4201 javax/xml/transform/ErrorListener.java,
4202 javax/xml/transform/OutputKeys.java,
4203 javax/xml/transform/Result.java, javax/xml/transform/Source.java,
4204 javax/xml/transform/SourceLocator.java,
4205 javax/xml/transform/Templates.java,
4206 javax/xml/transform/Transformer.java,
4207 javax/xml/transform/TransformerConfigurationException.java,
4208 javax/xml/transform/TransformerException.java,
4209 javax/xml/transform/TransformerFactory.java,
4210 javax/xml/transform/TransformerFactoryConfigurationError.java,
4211 javax/xml/transform/URIResolver.java,
4212 javax/xml/transform/package.html,
4213 javax/xml/transform/dom/DOMLocator.java,
4214 javax/xml/transform/dom/DOMResult.java,
4215 javax/xml/transform/dom/DOMSource.java,
4216 javax/xml/transform/dom/package.html,
4217 javax/xml/transform/sax/SAXResult.java,
4218 javax/xml/transform/sax/SAXSource.java,
4219 javax/xml/transform/sax/SAXTransformerFactory.java,
4220 javax/xml/transform/sax/TemplatesHandler.java,
4221 javax/xml/transform/sax/TransformerHandler.java,
4222 javax/xml/transform/sax/package.html,
4223 javax/xml/transform/stream/StreamResult.java,
4224 javax/xml/transform/stream/StreamSource.java,
4225 javax/xml/transform/stream/package.html,
4226 javax/xml/validation/Schema.java,
4227 javax/xml/validation/SchemaFactory.java,
4228 javax/xml/validation/TypeInfoProvider.java,
4229 javax/xml/validation/Validator.java,
4230 javax/xml/validation/ValidatorHandler.java,
4231 javax/xml/validation/package.html, javax/xml/xpath/XPath.java,
4232 javax/xml/xpath/XPathConstants.java,
4233 javax/xml/xpath/XPathException.java,
4234 javax/xml/xpath/XPathExpression.java,
4235 javax/xml/xpath/XPathExpressionException.java,
4236 javax/xml/xpath/XPathFactory.java,
4237 javax/xml/xpath/XPathFactoryConfigurationException.java,
4238 javax/xml/xpath/XPathFunction.java,
4239 javax/xml/xpath/XPathFunctionException.java,
4240 javax/xml/xpath/XPathFunctionResolver.java,
4241 javax/xml/xpath/XPathVariableResolver.java,
4242 javax/xml/xpath/package.html: New files, from GNU JAXP.
4243 * org/w3c/dom/Attr.java, org/w3c/dom/CDATASection.java,
4244 org/w3c/dom/CharacterData.java, org/w3c/dom/Comment.java,
4245 org/w3c/dom/DOMException.java, org/w3c/dom/DOMImplementation.java,
4246 org/w3c/dom/Document.java, org/w3c/dom/DocumentFragment.java,
4247 org/w3c/dom/DocumentType.java, org/w3c/dom/Element.java,
4248 org/w3c/dom/Entity.java, org/w3c/dom/EntityReference.java,
4249 org/w3c/dom/NamedNodeMap.java, org/w3c/dom/Node.java,
4250 org/w3c/dom/NodeList.java, org/w3c/dom/Notation.java,
4251 org/w3c/dom/ProcessingInstruction.java, org/w3c/dom/Text.java,
4252 org/w3c/dom/ranges/DocumentRange.java,
4253 org/w3c/dom/ranges/Range.java,
4254 org/w3c/dom/ranges/RangeException.java,
4255 org/w3c/dom/traversal/DocumentTraversal.java,
4256 org/w3c/dom/traversal/NodeFilter.java,
4257 org/w3c/dom/traversal/NodeIterator.java,
4258 org/w3c/dom/traversal/TreeWalker.java,
4259 org/xml/sax/AttributeList.java, org/xml/sax/Attributes.java,
4260 org/xml/sax/ContentHandler.java, org/xml/sax/DTDHandler.java,
4261 org/xml/sax/DocumentHandler.java, org/xml/sax/EntityResolver.java,
4262 org/xml/sax/ErrorHandler.java, org/xml/sax/HandlerBase.java,
4263 org/xml/sax/InputSource.java, org/xml/sax/Locator.java,
4264 org/xml/sax/Parser.java, org/xml/sax/SAXException.java,
4265 org/xml/sax/SAXNotRecognizedException.java,
4266 org/xml/sax/SAXNotSupportedException.java,
4267 org/xml/sax/SAXParseException.java, org/xml/sax/XMLFilter.java,
4268 org/xml/sax/XMLReader.java, org/xml/sax/package.html,
4269 org/xml/sax/ext/DeclHandler.java,
4270 org/xml/sax/ext/LexicalHandler.java, org/xml/sax/ext/package.html,
4271 org/xml/sax/helpers/AttributeListImpl.java,
4272 org/xml/sax/helpers/AttributesImpl.java,
4273 org/xml/sax/helpers/DefaultHandler.java,
4274 org/xml/sax/helpers/LocatorImpl.java,
4275 org/xml/sax/helpers/NamespaceSupport.java,
4276 org/xml/sax/helpers/NewInstance.java,
4277 org/xml/sax/helpers/ParserAdapter.java,
4278 org/xml/sax/helpers/ParserFactory.java,
4279 org/xml/sax/helpers/XMLFilterImpl.java,
4280 org/xml/sax/helpers/XMLReaderAdapter.java,
4281 org/xml/sax/helpers/XMLReaderFactory.java,
4282 org/xml/sax/helpers/package.html: Moved to external/.
4283 * external/sax/README,
4284 external/sax/org/xml/sax/AttributeList.java,
4285 external/sax/org/xml/sax/Attributes.java,
4286 external/sax/org/xml/sax/ContentHandler.java,
4287 external/sax/org/xml/sax/DTDHandler.java,
4288 external/sax/org/xml/sax/DocumentHandler.java,
4289 external/sax/org/xml/sax/EntityResolver.java,
4290 external/sax/org/xml/sax/ErrorHandler.java,
4291 external/sax/org/xml/sax/HandlerBase.java,
4292 external/sax/org/xml/sax/InputSource.java,
4293 external/sax/org/xml/sax/Locator.java,
4294 external/sax/org/xml/sax/Parser.java,
4295 external/sax/org/xml/sax/SAXException.java,
4296 external/sax/org/xml/sax/SAXNotRecognizedException.java,
4297 external/sax/org/xml/sax/SAXNotSupportedException.java,
4298 external/sax/org/xml/sax/SAXParseException.java,
4299 external/sax/org/xml/sax/XMLFilter.java,
4300 external/sax/org/xml/sax/XMLReader.java,
4301 external/sax/org/xml/sax/package.html,
4302 external/sax/org/xml/sax/ext/Attributes2.java,
4303 external/sax/org/xml/sax/ext/Attributes2Impl.java,
4304 external/sax/org/xml/sax/ext/DeclHandler.java,
4305 external/sax/org/xml/sax/ext/DefaultHandler2.java,
4306 external/sax/org/xml/sax/ext/EntityResolver2.java,
4307 external/sax/org/xml/sax/ext/LexicalHandler.java,
4308 external/sax/org/xml/sax/ext/Locator2.java,
4309 external/sax/org/xml/sax/ext/Locator2Impl.java,
4310 external/sax/org/xml/sax/ext/package.html,
4311 external/sax/org/xml/sax/helpers/AttributeListImpl.java,
4312 external/sax/org/xml/sax/helpers/AttributesImpl.java,
4313 external/sax/org/xml/sax/helpers/DefaultHandler.java,
4314 external/sax/org/xml/sax/helpers/LocatorImpl.java,
4315 external/sax/org/xml/sax/helpers/NamespaceSupport.java,
4316 external/sax/org/xml/sax/helpers/NewInstance.java,
4317 external/sax/org/xml/sax/helpers/ParserAdapter.java,
4318 external/sax/org/xml/sax/helpers/ParserFactory.java,
4319 external/sax/org/xml/sax/helpers/XMLFilterImpl.java,
4320 external/sax/org/xml/sax/helpers/XMLReaderAdapter.java,
4321 external/sax/org/xml/sax/helpers/XMLReaderFactory.java,
4322 external/sax/org/xml/sax/helpers/package.html,
4323 external/w3c_dom/COPYRIGHT.html, external/w3c_dom/README,
4324 external/w3c_dom/org/w3c/dom/Attr.java,
4325 external/w3c_dom/org/w3c/dom/CDATASection.java,
4326 external/w3c_dom/org/w3c/dom/CharacterData.java,
4327 external/w3c_dom/org/w3c/dom/Comment.java,
4328 external/w3c_dom/org/w3c/dom/DOMConfiguration.java,
4329 external/w3c_dom/org/w3c/dom/DOMError.java,
4330 external/w3c_dom/org/w3c/dom/DOMErrorHandler.java,
4331 external/w3c_dom/org/w3c/dom/DOMException.java,
4332 external/w3c_dom/org/w3c/dom/DOMImplementation.java,
4333 external/w3c_dom/org/w3c/dom/DOMImplementationList.java,
4334 external/w3c_dom/org/w3c/dom/DOMImplementationSource.java,
4335 external/w3c_dom/org/w3c/dom/DOMLocator.java,
4336 external/w3c_dom/org/w3c/dom/DOMStringList.java,
4337 external/w3c_dom/org/w3c/dom/Document.java,
4338 external/w3c_dom/org/w3c/dom/DocumentFragment.java,
4339 external/w3c_dom/org/w3c/dom/DocumentType.java,
4340 external/w3c_dom/org/w3c/dom/Element.java,
4341 external/w3c_dom/org/w3c/dom/Entity.java,
4342 external/w3c_dom/org/w3c/dom/EntityReference.java,
4343 external/w3c_dom/org/w3c/dom/NameList.java,
4344 external/w3c_dom/org/w3c/dom/NamedNodeMap.java,
4345 external/w3c_dom/org/w3c/dom/Node.java,
4346 external/w3c_dom/org/w3c/dom/NodeList.java,
4347 external/w3c_dom/org/w3c/dom/Notation.java,
4348 external/w3c_dom/org/w3c/dom/ProcessingInstruction.java,
4349 external/w3c_dom/org/w3c/dom/Text.java,
4350 external/w3c_dom/org/w3c/dom/TypeInfo.java,
4351 external/w3c_dom/org/w3c/dom/UserDataHandler.java,
4352 external/w3c_dom/org/w3c/dom/bootstrap/DOMImplementationRegistry.java,
4353 external/w3c_dom/org/w3c/dom/css/CSS2Properties.java,
4354 external/w3c_dom/org/w3c/dom/css/CSSCharsetRule.java,
4355 external/w3c_dom/org/w3c/dom/css/CSSFontFaceRule.java,
4356 external/w3c_dom/org/w3c/dom/css/CSSImportRule.java,
4357 external/w3c_dom/org/w3c/dom/css/CSSMediaRule.java,
4358 external/w3c_dom/org/w3c/dom/css/CSSPageRule.java,
4359 external/w3c_dom/org/w3c/dom/css/CSSPrimitiveValue.java,
4360 external/w3c_dom/org/w3c/dom/css/CSSRule.java,
4361 external/w3c_dom/org/w3c/dom/css/CSSRuleList.java,
4362 external/w3c_dom/org/w3c/dom/css/CSSStyleDeclaration.java,
4363 external/w3c_dom/org/w3c/dom/css/CSSStyleRule.java,
4364 external/w3c_dom/org/w3c/dom/css/CSSStyleSheet.java,
4365 external/w3c_dom/org/w3c/dom/css/CSSUnknownRule.java,
4366 external/w3c_dom/org/w3c/dom/css/CSSValue.java,
4367 external/w3c_dom/org/w3c/dom/css/CSSValueList.java,
4368 external/w3c_dom/org/w3c/dom/css/Counter.java,
4369 external/w3c_dom/org/w3c/dom/css/DOMImplementationCSS.java,
4370 external/w3c_dom/org/w3c/dom/css/DocumentCSS.java,
4371 external/w3c_dom/org/w3c/dom/css/ElementCSSInlineStyle.java,
4372 external/w3c_dom/org/w3c/dom/css/RGBColor.java,
4373 external/w3c_dom/org/w3c/dom/css/Rect.java,
4374 external/w3c_dom/org/w3c/dom/css/ViewCSS.java,
4375 external/w3c_dom/org/w3c/dom/events/DocumentEvent.java,
4376 external/w3c_dom/org/w3c/dom/events/Event.java,
4377 external/w3c_dom/org/w3c/dom/events/EventException.java,
4378 external/w3c_dom/org/w3c/dom/events/EventListener.java,
4379 external/w3c_dom/org/w3c/dom/events/EventTarget.java,
4380 external/w3c_dom/org/w3c/dom/events/MouseEvent.java,
4381 external/w3c_dom/org/w3c/dom/events/MutationEvent.java,
4382 external/w3c_dom/org/w3c/dom/events/UIEvent.java,
4383 external/w3c_dom/org/w3c/dom/html2/HTMLAnchorElement.java,
4384 external/w3c_dom/org/w3c/dom/html2/HTMLAppletElement.java,
4385 external/w3c_dom/org/w3c/dom/html2/HTMLAreaElement.java,
4386 external/w3c_dom/org/w3c/dom/html2/HTMLBRElement.java,
4387 external/w3c_dom/org/w3c/dom/html2/HTMLBaseElement.java,
4388 external/w3c_dom/org/w3c/dom/html2/HTMLBaseFontElement.java,
4389 external/w3c_dom/org/w3c/dom/html2/HTMLBodyElement.java,
4390 external/w3c_dom/org/w3c/dom/html2/HTMLButtonElement.java,
4391 external/w3c_dom/org/w3c/dom/html2/HTMLCollection.java,
4392 external/w3c_dom/org/w3c/dom/html2/HTMLDListElement.java,
4393 external/w3c_dom/org/w3c/dom/html2/HTMLDirectoryElement.java,
4394 external/w3c_dom/org/w3c/dom/html2/HTMLDivElement.java,
4395 external/w3c_dom/org/w3c/dom/html2/HTMLDocument.java,
4396 external/w3c_dom/org/w3c/dom/html2/HTMLElement.java,
4397 external/w3c_dom/org/w3c/dom/html2/HTMLFieldSetElement.java,
4398 external/w3c_dom/org/w3c/dom/html2/HTMLFontElement.java,
4399 external/w3c_dom/org/w3c/dom/html2/HTMLFormElement.java,
4400 external/w3c_dom/org/w3c/dom/html2/HTMLFrameElement.java,
4401 external/w3c_dom/org/w3c/dom/html2/HTMLFrameSetElement.java,
4402 external/w3c_dom/org/w3c/dom/html2/HTMLHRElement.java,
4403 external/w3c_dom/org/w3c/dom/html2/HTMLHeadElement.java,
4404 external/w3c_dom/org/w3c/dom/html2/HTMLHeadingElement.java,
4405 external/w3c_dom/org/w3c/dom/html2/HTMLHtmlElement.java,
4406 external/w3c_dom/org/w3c/dom/html2/HTMLIFrameElement.java,
4407 external/w3c_dom/org/w3c/dom/html2/HTMLImageElement.java,
4408 external/w3c_dom/org/w3c/dom/html2/HTMLInputElement.java,
4409 external/w3c_dom/org/w3c/dom/html2/HTMLIsIndexElement.java,
4410 external/w3c_dom/org/w3c/dom/html2/HTMLLIElement.java,
4411 external/w3c_dom/org/w3c/dom/html2/HTMLLabelElement.java,
4412 external/w3c_dom/org/w3c/dom/html2/HTMLLegendElement.java,
4413 external/w3c_dom/org/w3c/dom/html2/HTMLLinkElement.java,
4414 external/w3c_dom/org/w3c/dom/html2/HTMLMapElement.java,
4415 external/w3c_dom/org/w3c/dom/html2/HTMLMenuElement.java,
4416 external/w3c_dom/org/w3c/dom/html2/HTMLMetaElement.java,
4417 external/w3c_dom/org/w3c/dom/html2/HTMLModElement.java,
4418 external/w3c_dom/org/w3c/dom/html2/HTMLOListElement.java,
4419 external/w3c_dom/org/w3c/dom/html2/HTMLObjectElement.java,
4420 external/w3c_dom/org/w3c/dom/html2/HTMLOptGroupElement.java,
4421 external/w3c_dom/org/w3c/dom/html2/HTMLOptionElement.java,
4422 external/w3c_dom/org/w3c/dom/html2/HTMLOptionsCollection.java,
4423 external/w3c_dom/org/w3c/dom/html2/HTMLParagraphElement.java,
4424 external/w3c_dom/org/w3c/dom/html2/HTMLParamElement.java,
4425 external/w3c_dom/org/w3c/dom/html2/HTMLPreElement.java,
4426 external/w3c_dom/org/w3c/dom/html2/HTMLQuoteElement.java,
4427 external/w3c_dom/org/w3c/dom/html2/HTMLScriptElement.java,
4428 external/w3c_dom/org/w3c/dom/html2/HTMLSelectElement.java,
4429 external/w3c_dom/org/w3c/dom/html2/HTMLStyleElement.java,
4430 external/w3c_dom/org/w3c/dom/html2/HTMLTableCaptionElement.java,
4431 external/w3c_dom/org/w3c/dom/html2/HTMLTableCellElement.java,
4432 external/w3c_dom/org/w3c/dom/html2/HTMLTableColElement.java,
4433 external/w3c_dom/org/w3c/dom/html2/HTMLTableElement.java,
4434 external/w3c_dom/org/w3c/dom/html2/HTMLTableRowElement.java,
4435 external/w3c_dom/org/w3c/dom/html2/HTMLTableSectionElement.java,
4436 external/w3c_dom/org/w3c/dom/html2/HTMLTextAreaElement.java,
4437 external/w3c_dom/org/w3c/dom/html2/HTMLTitleElement.java,
4438 external/w3c_dom/org/w3c/dom/html2/HTMLUListElement.java,
4439 external/w3c_dom/org/w3c/dom/ls/DOMImplementationLS.java,
4440 external/w3c_dom/org/w3c/dom/ls/LSException.java,
4441 external/w3c_dom/org/w3c/dom/ls/LSInput.java,
4442 external/w3c_dom/org/w3c/dom/ls/LSLoadEvent.java,
4443 external/w3c_dom/org/w3c/dom/ls/LSOutput.java,
4444 external/w3c_dom/org/w3c/dom/ls/LSParser.java,
4445 external/w3c_dom/org/w3c/dom/ls/LSParserFilter.java,
4446 external/w3c_dom/org/w3c/dom/ls/LSProgressEvent.java,
4447 external/w3c_dom/org/w3c/dom/ls/LSResourceResolver.java,
4448 external/w3c_dom/org/w3c/dom/ls/LSSerializer.java,
4449 external/w3c_dom/org/w3c/dom/ls/LSSerializerFilter.java,
4450 external/w3c_dom/org/w3c/dom/ranges/DocumentRange.java,
4451 external/w3c_dom/org/w3c/dom/ranges/Range.java,
4452 external/w3c_dom/org/w3c/dom/ranges/RangeException.java,
4453 external/w3c_dom/org/w3c/dom/stylesheets/DocumentStyle.java,
4454 external/w3c_dom/org/w3c/dom/stylesheets/LinkStyle.java,
4455 external/w3c_dom/org/w3c/dom/stylesheets/MediaList.java,
4456 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheet.java,
4457 external/w3c_dom/org/w3c/dom/stylesheets/StyleSheetList.java,
4458 external/w3c_dom/org/w3c/dom/traversal/DocumentTraversal.java,
4459 external/w3c_dom/org/w3c/dom/traversal/NodeFilter.java,
4460 external/w3c_dom/org/w3c/dom/traversal/NodeIterator.java,
4461 external/w3c_dom/org/w3c/dom/traversal/TreeWalker.java,
4462 external/w3c_dom/org/w3c/dom/views/AbstractView.java,
4463 external/w3c_dom/org/w3c/dom/views/DocumentView.java,
4464 external/w3c_dom/org/w3c/dom/xpath/XPathEvaluator.java,
4465 external/w3c_dom/org/w3c/dom/xpath/XPathException.java,
4466 external/w3c_dom/org/w3c/dom/xpath/XPathExpression.java,
4467 external/w3c_dom/org/w3c/dom/xpath/XPathNSResolver.java,
4468 external/w3c_dom/org/w3c/dom/xpath/XPathNamespace.java,
4469 external/w3c_dom/org/w3c/dom/xpath/XPathResult.java: New files
4472 2005-01-31 Anthony Green <green@redhat.com>
4474 * gnu/java/net/natPlainDatagramSocketImplPosix.cc (getOption):
4475 Support IP_MULTICAST_LOOP.
4476 (setOption): Support IP_MULTICAST_LOOP.
4478 * gnu/java/net/natPlainSocketImplPosix.cc (setOption): Add
4479 SO_REUSEADDR support.
4480 (getOption): Support SO_REUSEADDR.
4482 2004-01-28 Jeroen Frijters <jeroen@frijters.net>
4485 * java/util/Date.java
4486 (Date(int,int,int), Date(int,int,int,int,int)): Delegate to other
4488 (Date(int,int,int,int,int,int)): Fixed to handle out-of-range
4490 (getTimezoneOffset): Inverted sign.
4492 2005-01-26 Ranjit Mathew <rmathew@hotmail.com>
4494 * testsuite/libjava.jacks/jacks.xfail: Update for PR java/19070,
4495 remove other passing tests and add new XFAILs.
4497 2005-01-24 Tom Tromey <tromey@redhat.com>
4499 * java/lang/Class.h (next): Updated documentation. Renamed to
4501 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
4502 _Jv_CheckABIVersion.
4503 (_Jv_RegisterClasses_Counted): Likewise.
4504 (_Jv_RegisterClassHookDefault): Fix starting condition of
4505 duplicate-checking loop.
4506 * include/jvm.h (GCJ_VERSION): New define.
4507 (GCJ_BINARYCOMPAT_ADDITION): Likewise.
4508 (_Jv_CheckABIVersion): New function.
4510 2005-01-24 Jakub Jelinek <jakub@redhat.com>
4512 * Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
4513 (libgij_la_LDFLAGS): Add.
4514 * Makefile.in: Rebuilt.
4516 2005-01-24 Roger Sayle <roger@eyesopen.com>
4519 * testsuite/libjava.compile/PR19295.java: New test case.
4521 2005-01-19 Tom Tromey <tromey@redhat.com>
4523 * java/lang/VMCompiler.java (compileClass): Ignore UnknownError.
4524 * gnu/gcj/runtime/natSharedLibLoader.cc (finalize): Only dlclose
4525 if 'handler' is valid.
4527 2005-01-17 Tom Tromey <tromey@redhat.com>
4529 * java/text/MessageFormat.java (scanString): Changed how quoting
4531 (scanFormatElement): Likewise.
4533 2004-12-07 Mark Wielaard <mark@klomp.org>
4535 * java/text/MessageFormat.java (scanFormat): Chain thrown exception.
4537 2005-01-15 Michael Koch <konqueror@gmx.de>
4541 (AUTHORITY_REGEXP): New regexp constant.
4542 (AUTHORITY_USERINFO_GROUP): New constant.
4543 (AUTHORITY_HOST_GROUP): Likewise.
4544 (AUTHORITY_PORT_GROUP): Likewise.
4545 (port): Changed default value to -1.
4546 (parseURI): Parse authority part and initialize host,
4549 2005-01-14 Robin Green <greenrd@greenrd.org>
4551 * java/io/File.java (toURI): Generate a URI which we understand.
4553 2005-01-13 Graydon Hoare <graydon@redhat.com>
4555 * include/jni.h (_Jv_JNIEnv::bottom_locals): New field.
4556 * include/jvm.h (_Jv_FreeJNIEnv): Declare.
4557 * java/lang/natThread.cc (finalize_native): Call _Jv_FreeJNIEnv.
4558 * jni.cc: Reuse bottom frame between calls, avoid clearing
4559 frame when no local references are made.
4561 2005-01-13 Michael Koch <konqueror@gmx.de>
4564 * java/lang/Thread.java
4565 (Thread): Call checkAccess().
4566 (stop): Fixed argument name to match javadoc.
4567 * java/lang/natThread.cc
4568 (interrupt): Call checkAccess().
4571 2005-01-11 Michael Koch <konqueror@gmx.de>
4574 * java/net/URL.java (URL): Handle specs like
4575 "/redir?http://domain2.com/index.html" which start with a slash.
4577 2005-01-11 Michael Koch <konqueror@gmx.de>
4579 PR libgcj/14012, PR libgcj/14013, PR libgcj/15157, PR libgcj/15509
4580 * gnu/java/net/BASE64.java,
4581 gnu/java/net/EmptyX509TrustManager.java,
4582 gnu/java/net/LineInputStream.java,
4583 gnu/java/net/protocol/http/Authenticator.java,
4584 gnu/java/net/protocol/http/ByteArrayRequestBodyWriter.java,
4585 gnu/java/net/protocol/http/ByteArrayResponseBodyReader.java,
4586 gnu/java/net/protocol/http/ChunkedInputStream.java,
4587 gnu/java/net/protocol/http/Cookie.java,
4588 gnu/java/net/protocol/http/CookieManager.java,
4589 gnu/java/net/protocol/http/Credentials.java,
4590 gnu/java/net/protocol/http/HTTPConnection.java,
4591 gnu/java/net/protocol/http/HTTPDateFormat.java,
4592 gnu/java/net/protocol/http/HTTPURLConnection.java,
4593 gnu/java/net/protocol/http/Headers.java,
4594 gnu/java/net/protocol/http/Request.java,
4595 gnu/java/net/protocol/http/RequestBodyWriter.java,
4596 gnu/java/net/protocol/http/Response.java,
4597 gnu/java/net/protocol/http/ResponseBodyReader.java,
4598 gnu/java/net/protocol/http/ResponseHeaderHandler.java,
4599 gnu/java/net/protocol/http/SimpleCookieManager.java,
4600 gnu/java/net/protocol/http/event/ConnectionEvent.java,
4601 gnu/java/net/protocol/http/event/ConnectionListener.java,
4602 gnu/java/net/protocol/http/event/RequestEvent.java,
4603 gnu/java/net/protocol/http/event/RequestListener.java: New files.
4604 * gnu/java/net/protocol/http/Connection.java: Removed.
4605 * gnu/java/net/protocol/http/Handler.java,
4606 javax/net/ssl/HttpsURLConnection.java: Updated.
4607 * Makefile.am: Added new files and remove old ones.
4608 * Makefile.in: Regenerated.
4610 2005-01-11 Tom Tromey <tromey@redhat.com>
4613 * java/io/BufferedInputStream.java (read): Repeatedly read to
4615 (refill): Change test to see if buffer must be grown.
4617 2005-01-10 Tom Tromey <tromey@redhat.com>
4619 * mauve-libgcj: Exclude some swing tests.
4621 2005-01-10 Tom Tromey <tromey@redhat.com>
4623 PR libgcj/12016, PR libgcj/18405, PR libgcj/17738:
4624 * java/lang/Package.java (getPackages): Use VMClassLoader when
4626 (getPackage): Likewise.
4627 * prims.cc (_Jv_CreateJavaVM): Call
4628 _Jv_RegisterBootstrapPackages.
4629 * include/jvm.h (_Jv_RegisterBootstrapPackages): Declare.
4630 * java/lang/VMClassLoader.java (getPackage): Rewrote.
4631 (getPackages): Likewise.
4632 (definedPackages): New field.
4633 (definePackageForNative): New method.
4634 * java/lang/Class.h (_Jv_FindClassInCache): Updated.
4635 * java/lang/natVMClassLoader.cc (loadClass): Updated.
4636 * defineclass.cc (handleClassBegin): Use
4637 ClassLoader.findLoadedClass.
4638 * java/lang/natClassLoader.cc (_Jv_RegisterInitiatingLoader):
4640 (struct _Jv_LoaderInfo): Removed.
4641 (initiated_classes): Likewise.
4642 (_Jv_UnregisterClass): Don't use initiated_classes.
4643 (_Jv_FindClassInCache): Likewise. Removed 'loader' argument.
4644 (_Jv_FindClass): Register classes found during boostrap.
4645 (BOOTSTRAP_CLASS_LIST_SIZE): New define.
4646 (bootstrap_class_list): New global.
4647 (bootstrap_index): Likewise.
4648 (_Jv_RegisterBootstrapPackages): New function.
4649 * gnu/gcj/runtime/natVMClassLoader.cc (findClass): Call
4650 definePackageForNative.
4651 (findClass): Updated.
4652 * gnu/gcj/runtime/VMClassLoader.java (definePackageForNative):
4655 2005-01-10 Tom Tromey <tromey@redhat.com>
4658 * include/jvm.h (_Jv_Linker::find_field): Declare.
4659 (_Jv_Linker::find_field_helper): Likewise.
4660 * link.cc (find_field_helper): New method.
4661 (find_field): Likewise.
4662 (resolve_pool_entry): Use it. Throw NoSuchFieldError when field
4664 (link_symbol_table): Use find_field.
4666 2005-01-10 Michael Koch <konqueror@gmx.de>
4669 * java/util/Locale.java (Locale): Don't uppercase variant.
4670 (getISOCountries): Fixed typo in javadoc.
4672 2005-01-10 Michael Koch <konqueror@gmx.de>
4674 * java/util/SimpleTimeZone.java (checkRule):
4675 Throw IllegalArgumentException on invalid month values.
4676 * java/util/TimeZone.java (setID):
4677 Throw NullPointerException if needed.
4679 2005-01-10 Andrew John Hughes <gnu_andrew@member.fsf.org>
4681 * java/util/SimpleTimeZone.java (getOffset):
4682 offset end date with daylight savings
4684 2005-01-10 Ranjit Mathew <rmathew@hotmail.com>
4686 * testsuite/libjava.compile/PR19277.java: New file for PR java/19277.
4687 * testsuite/libjava.compile/PR19277.xfail: Likewise.
4689 2005-01-09 Michael Koch <konqueror@gmx.de>
4692 * java/net/InetAddress.java (getLocalHost):
4693 Throw UnknownHostException if local hostname cannot be determined.
4695 2005-01-06 Tom Tromey <tromey@redhat.com>
4697 * java/lang/ClassLoader.java (findClass): Fixed documentation.
4699 2005-01-07 Michael Koch <konqueror@gmx.de>
4702 * java/nio/Buffer.java (address): New field.
4703 * java/nio/DirectByteBufferImpl.java (address): Removed.
4704 * java/nio/MappedByteBufferImpl.java (address): Likewise.
4705 * java/nio/CharViewBufferImpl.java (CharViewBufferImpl):
4706 Explicitly initialize Buffer.address if needed.
4707 * java/nio/DoubleViewBufferImpl.java (DoubleViewBufferImpl): Likewise.
4708 * java/nio/FloatViewBufferImpl.java (FloatViewBufferImpl): Likewise.
4709 * java/nio/IntViewBufferImpl.java (IntViewBufferImpl): Likewise.
4710 * java/nio/LongViewBufferImpl.java (LongViewBufferImpl): Likewise.
4711 * java/nio/ShortViewBufferImpl.java (ShortViewBufferImpl): Likewise.
4712 * jni.cc (_Jv_JNI_GetDirectBufferAddress): Don't assume buffer is a
4713 DirectByteBufferImpl object.
4714 (_Jv_JNI_GetDirectBufferCapacity): Likewise.
4715 * testsuite/libjava.jni/directbuffer.c,
4716 testsuite/libjava.jni/directbuffer.java,
4717 testsuite/libjava.jni/directbuffer.out,
4718 testsuite/libjava.jni/bytebuffer.c,
4719 testsuite/libjava.jni/bytebuffer.java,
4720 testsuite/libjava.jni/bytebuffer.out: New files.
4722 2005-01-05 Tom Tromey <tromey@redhat.com>
4724 * java/util/zip/ZipEntry.java (setCompressedSize): Allow any
4726 (compressedSize): Now 'long'. Default to -1.
4727 (getCompressedSize): Rewrote.
4728 * java/util/zip/DeflaterOutputStream.java (deflate): Don't
4729 deflate at all if we need input.
4731 2005-01-05 Tom Tromey <tromey@redhat.com>
4734 * interpret.cc (run) <insn_dcmpl, insn_dcmpg>: Set tmpval
4737 2005-01-05 Tom Tromey <tromey@redhat.com>
4739 * java/lang/natRuntime.cc (insertSystemProperties): Set
4740 java.ext.dirs earlier.
4742 2005-01-05 Eric Botcazou <ebotcazou@libertysurf.fr>
4744 * java/lang/natObject.cc (_Jv_ObjectCheckMonitor): Initialize the
4745 sync_info element of the object if needed.
4747 2005-01-03 Eric Botcazou <ebotcazou@libertysurf.fr>
4749 * testsuite/libjava.lang/Process_4.java (Process_4): Expect only
4750 a non-zero exit status from 'false'.
4752 2005-01-01 Bryce McKinlay <mckinlay@redhat.com>
4754 * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h.
4756 2004-12-31 Andreas Jaeger <aj@suse.de>
4758 * testsuite/lib/libjava.exp (libjava_find_gij): Handle multilibs.
4760 2004-12-20 Tom Tromey <tromey@redhat.com>
4762 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
4763 Re-enable duplicate class registration error.
4765 * testsuite/libjava.jar/jar.exp (gcj_jar_interpret): Updated.
4766 * testsuite/libjava.verify/verify.exp (gcj_verify_run): Updated.
4767 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Updated.
4768 * testsuite/lib/libjava.exp (libjava_find_spec): Don't use
4770 (libjava_find_gij): Likewise. Changed return result if gij not
4772 (test_libjava_from_javac): Updated.
4775 * testsuite/libjava.jni/iface.c: New file.
4776 * testsuite/libjava.jni/iface.out: New file.
4777 * testsuite/libjava.jni/iface.java: New file.
4779 2004-12-19 Kelley Cook <kcook@gcc.gnu.org>
4781 * include/config.h.in: Regenerate.
4783 2004-12-10 Andrew Haley <aph@redhat.com>
4786 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Look up
4787 abstract methods by name.
4789 2004-12-08 Ranjit Mathew <rmathew@hotmail.com>
4791 * java/util/IdentityHashMap.java (put): Replace mistaken use
4794 2004-12-06 Tom Tromey <tromey@redhat.com>
4797 * testsuite/libjava.compile/PR14853.java: New file.
4798 * testsuite/libjava.compile/PR14853.xfail: New file.
4800 2004-12-03 Richard Sandiford <rsandifo@redhat.com>
4803 * configure.ac: Use TL_AC_GXX_INCLUDE_DIR.
4804 * Makefile.am (install-data-local): Install headers into
4805 $(gxx_include_dir) rather than $(includedir).
4806 (AM_MAKEFLAGS): Pass down gxx_include_dir.
4807 * gcj/Makefile.am (gcjdir): Set to $(gxx_include_dir)/gcj.
4808 * include/Makefile.am (tool_include__HEADERS): Define this...
4809 (include_HEADERS): ...instead of this.
4810 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
4811 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
4813 2004-12-02 Tom Tromey <tromey@redhat.com>
4816 * testsuite/libjava.compile/PR16675.java: New file.
4818 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
4820 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
4821 * configure, aclocal.m4, Makefile.in, gcj/Makefile.in: Regenerate.
4822 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
4824 2004-12-01 Tom Tromey <tromey@redhat.com>
4826 * include/no-threads.h (_Jv_ThreadDestroyData): Removed argument
4828 (_Jv_ThreadRegister): Likewise.
4829 (_Jv_MutexCheckMonitor): Likewise.
4831 * link.cc: Include limits.h.
4833 2004-12-01 Bryce McKinlay <mckinlay@redhat.com>
4836 * testsuite/libjava.lang/PR18699.java,
4837 testsuite/libjava.lang/PR18699.out: New test.
4839 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
4841 * gnu/java/awt/peer/gtk/GdkGraphics.java (drawImage variants):
4842 Update image observer.
4843 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (createImage):
4844 Start image production.
4845 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Protect
4846 against negative menu bar widths.
4847 (setBounds): Likewise.
4848 (postConfigureEvent): Likewise.
4849 * gnu/java/awt/peer/gtk/GtkImage.java (imageComplete): Don't
4850 remove consumer unless only a single frame has completed.
4851 * gnu/java/awt/peer/gtk/GtkImagePainter.java (GtkImagePainter):
4852 Add observer parameter.
4853 (setPixels): Update image observer.
4854 (imageComplete): Likewise.
4855 * java/applet/Applet.java (width): New field.
4857 (setStub): Set size if width or height field has been set.
4858 (resize): If stub is null save width and height values.
4859 * java/awt/Component.java (reshape): Protect against null
4861 * java/awt/image/MemoryImageSource.java
4862 (MemoryImageSource(int,int,ColorModel,byte[],int,int)):
4864 (MemoryImageSource(int,int,ColorModel,int[],int,int)):
4866 (MemoryImageSource(int,int,ColorModel,byte[],int,int,Hashtable)):
4867 Reference pixel array directly, rather than creating a local
4869 (MemoryImageSource(int,int,ColorModel,int[],int,int,Hashtable)):
4871 (newPixels(int,int,int,int)): Fix for loop and array copy
4873 (newPixels(int,int,int,int,boolean)): Likewise.
4874 (startProduction): If animated call imageComplete with
4876 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Uncomment
4878 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
4879 (drawPixels): Return if g is null or g->drawable is not a gdk
4882 2004-11-30 Michael Koch <konqueror@gmx.de>
4884 * javax/swing/DefaultSingleSelectionModel.java,
4885 javax/swing/JPasswordField.java,
4886 javax/swing/tree/AbstractLayoutCache.java:
4887 Reformatted and javadocs cleaned up.
4889 2004-11-30 Michael Koch <konqueror@gmx.de>
4891 * java/awt/Component.java:
4892 Fixed argument names to match javadocs.
4893 (setFont): Rewritten set property first and then fire event.
4894 (setLocale): Likewise.
4895 * javax/swing/text/JTextComponent.java
4896 (setEditable): Likewise.
4898 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4900 * java/awt/Button.java
4901 (AccessibleAWTButton.getAccessibleActionDescription): Explain the
4904 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4906 * java/awt/Checkbox.java: Remove stub comments.
4908 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4910 * java/awt/Button.java
4911 (AccessibleAWTButton.getAccessibleActionDescription): Return
4914 2004-11-30 Michael Koch <konqueror@gmx.de>
4916 * java/awt/CardLayout.java:
4917 Made some constants static.
4918 (serialVersionUID): Made private.
4919 (addLayoutComponent): Simplified code.
4920 * java/awt/event/InputEvent.java
4921 (getModifiersEx): Added missing @param tag.
4922 * java/awt/image/RGBImageFilter.java
4923 (filterRGBPixels): Reformatted, removed wrong @param tag.
4925 2004-11-30 Michael Koch <konqueror@gmx.de>
4927 * javax/swing/text/FieldView.java,
4928 javax/swing/text/JTextComponent.java:
4931 2004-11-30 Michael Koch <konqueror@gmx.de>
4933 * javax/swing/BorderFactory.java
4934 (BorderFactory): Added private constructor.
4935 * javax/swing/SwingUtilities.java
4936 (SwingUtilities): Likewise.
4937 (computeStringWidth): New method.
4939 2004-11-30 Michael Koch <konqueror@gmx.de>
4941 * java/awt/color/ICC_Profile.java
4942 (icSigNamedColorTag): Removed.
4943 * java/awt/datatransfer/DataFlavor.java
4944 (isMimeTypeEqual): Made final.
4945 * java/awt/image/AffineTransformOp.java:
4947 (TYPE_BICUBIC): Added @since tag.
4949 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4951 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Remove todo
4954 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
4956 * java/awt/Checkbox.java (itemStateChanged): Implement function.
4957 (getAccessibleContext): Add AccessibleAWTCheckBox to item listeners.
4959 2004-11-30 Sven de Marothy <sven@physto.se>
4961 * java/awt/Polygon.java (contains): Reimplemented.
4963 2004-11-30 Michael Koch <konqueror@gmx.de>
4965 * java/awt/print/PrinterJob.java: Reformatted.
4967 2004-11-30 Michael Koch <konqueror@gmx.de>
4969 * java/awt/image/AffineTransformOp.java,
4970 java/awt/image/ColorConvertOp.java,
4971 java/awt/image/LookupOp.java,
4972 java/awt/image/RescaleOp.java:
4973 Added final keywords where they belong.
4975 2004-11-30 Michael Koch <konqueror@gmx.de>
4977 * java/awt/CardLayout.java,
4978 java/awt/Component.java,
4980 java/awt/image/SinglePixelPackedSampleModel.java:
4981 Fixed javadocs and argument names all over.
4983 2004-11-30 Michael Koch <konqueror@gmx.de>
4985 * java/awt/image/DataBufferShort.java: Fixed file header.
4986 * java/awt/image/DataBufferUShort.java: Likewise.
4987 (DataBufferUShort): Throw NullPointerException if dataArray is null.
4989 2004-11-30 Sven de Marothy <sven@physto.se>
4991 * java/awt/geom/Arc2D.java
4992 (setAngleStart): Corrected (wrong sign on atan2 y parameter).
4993 (setAngles): Likewise.
4994 (containsAngle): Return false on zero extent, don't include
4996 (contains): Treat OPEN-type arcs like CHORD ones, not as PIE
4999 2004-11-30 Sven de Marothy <sven@physto.se>
5001 * java/awt/geom/AffineTransform.java,
5002 (inverseTransform): Fixed bug and simplified code.
5003 (createTransformedShape): Return null on null parameter.
5005 2004-11-30 Michael Koch <konqueror@gmx.de>
5007 * java/awt/color/ICC_ColorSpace.java,
5008 java/awt/color/ICC_Profile.java,
5009 java/awt/color/ICC_ProfileGray.java,
5010 java/awt/color/ICC_ProfileRGB.java:
5011 Re-indent copyright header to be standardish.
5012 * java/awt/datatransfer/StringSelection.java:
5014 * java/awt/geom/Area.java
5015 (EPSILON): Made static.
5016 (RS_EPSILON): Likewise.
5017 (PE_EPSILON): Likewide.
5019 2004-11-30 Sven de Marothy <sven@physto.se>
5021 * javax/swing/SwingUtilities.java:
5022 (computeDifference): Implemented
5023 (computeIntersection): Likewise
5024 (computeUnion): Likewise
5025 (isRectangleContainingRectangle): Likewise
5027 2004-11-30 Michael Koch <konqueror@gmx.de>
5029 * java/awt/BasicStroke.java,
5030 java/awt/Button.java,
5031 java/awt/Canvas.java,
5032 java/awt/CheckboxMenuItem.java,
5033 java/awt/Container.java,
5034 java/awt/EventQueue.java,
5035 java/awt/FileDialog.java,
5036 java/awt/FlowLayout.java,
5037 java/awt/FontMetrics.java,
5038 java/awt/Graphics.java,
5039 java/awt/GridLayout.java,
5040 java/awt/KeyboardFocusManager.java,
5041 java/awt/Label.java,
5042 java/awt/LayoutManager2.java,
5044 java/awt/MenuBar.java,
5045 java/awt/Scrollbar.java,
5046 java/awt/Toolkit.java,
5047 java/awt/Window.java,
5048 java/awt/datatransfer/DataFlavor.java,
5049 java/awt/datatransfer/FlavorTable.java,
5050 java/awt/event/ActionListener.java,
5051 java/awt/event/HierarchyBoundsAdapter.java,
5052 java/awt/geom/Arc2D.java,
5053 java/awt/geom/Rectangle2D.java,
5054 java/awt/geom/RectangularShape.java,
5055 java/awt/im/spi/InputMethod.java,
5056 java/awt/image/ByteLookupTable.java,
5057 java/awt/image/ColorModel.java,
5058 java/awt/image/DirectColorModel.java,
5059 java/awt/image/ShortLookupTable.java,
5060 java/awt/print/Book.java:
5061 Fixed javadocs and method argument names all over.
5063 2004-11-30 Michael Koch <konqueror@gmx.de>
5065 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5066 (buildString): Optimise String building.
5068 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5070 * java/awt/TextArea.java (AccessibleAWTTextArea,
5071 getAccessibleContext): Implement.
5072 * java/awt/TextField.java (AccessibleAWTTextField,
5073 getAccessibleContext): Implement.
5075 2004-11-30 Tom Tromey <tromey@redhat.com>
5077 * Makefile.in: Rebuilt.
5078 * Makefile.am (jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.lo):
5081 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5083 * java/awt/Menu.java (AccessibleAWTMenu, getAccessibleContext):
5085 * java/awt/PopupMenu.java (AccessibleAWTMenu, getAccessibleContext):
5088 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5090 * java/awt/print/PrinterJob.java (lookupPrintServices,
5091 getPrintService, setPrintService): Implement.
5092 (lookupStreamPrintServices): Add commented out implementation.
5093 (printer): New field.
5095 2004-11-30 Mark Wielaard <mark@klomp.org>
5097 * javax/swing/ToolTipManager.java (mouseMoved): Set currentComponent
5100 2004-11-30 Sven de Marothy <sven@physto.se>
5102 * java/awt/geom/GeneralPath.java (evaluateCrossings):
5103 Fixed epsilon value, should always be nonzero.
5105 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
5107 * java/awt/image/Raster.java
5108 (createPackedRaster): Implemented.
5110 2004-11-30 Graydon Hoare <graydon@redhat.com>
5112 * javax/swing/plaf/basic/BasicTextUI.java:
5113 Listen to focus events, indicate focus via caret.
5114 * javax/swing/text/GapContent.java (getString): Return substring.
5115 * javax/swing/text/PlainDocument.java (reindex): New method.
5116 (createDefaultRoot): Call it.
5117 (insertUpdate): Likewise.
5118 (removeUpdate): Likewise.
5119 * javax/swing/text/Utilities.java (drawTabbedText): Always advance
5120 on tab and newline, even if no painting happens.
5122 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5124 * Makefile.am: List peer JNI header: Java source file
5125 dependencies explicitly. Likewise for JNI .lo: JNI header
5127 * Makefile.in: Regenerate.
5129 2004-11-30 Graydon Hoare <graydon@redhat.com>
5131 * Makefile.am: Add entry for BasicTextPaneUI.java
5132 * Makefile.in: Regenerate.
5133 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5134 (GdkGraphics2D): Set clip after transform.
5135 (drawImage): Protect against null image.
5136 * gnu/java/awt/peer/gtk/GtkFramePeer.java
5137 (setIconImage): Protect against non-GtkImage args.
5138 * gnu/java/awt/peer/gtk/GtkToolkit.java
5139 (checkImage): Protect against non-GtkImage args.
5140 * java/awt/print/PrinterJob.java:
5141 (print): Add variant taking PrintRequestAttributeSet.
5142 (printDialog): Likewise.
5143 * javax/swing/JComponent.java:
5144 (transferHandler): New field.
5145 (getComponentGraphics): Build new Graphics for each sub-paint.
5146 (getTransferHandler): New method.
5147 (setTransferHandler): New method.
5148 * javax/swing/JDesktopPane.java
5149 (setDragMode): Force LIVE_DRAG_MODE.
5150 * javax/swing/JMenuItem.java
5151 (menuSelectionChanged): Protect against null parent.
5152 * javax/swing/JTable.java (setDefaultRenderer): New method.
5153 * javax/swing/JTree.java: Get basic ctors and UI working.
5154 * javax/swing/JViewport.java (JViewport): Set scroll mode.
5155 * javax/swing/RepaintManager.java
5156 (addDirtyRegion): Skip empty regions.
5157 * javax/swing/ScrollPaneLayout.java (minimumLayoutSize): Do not
5158 bound scrollpane minimum by central view minimum.
5159 * javax/swing/ToolTipManager.java
5160 (showTip): Guard against null component.
5161 * javax/swing/TransferHandler.java: Stub out.
5162 * javax/swing/plaf/basic/BasicLookAndFeel.java:
5163 Add entry for TextPaneUI, change Tree icons to pngs.
5164 * javax/swing/plaf/basic/BasicMenuItemUI.java:
5165 (installDefaults): Set text position and alignment.
5166 (paintMenuItem): Layout icon with normal compound function.
5167 * javax/swing/plaf/basic/BasicTableHeaderUI.java:
5168 (getMaximumSize): Delete.
5169 (getMinimumSize): Delete.
5170 (getPreferredSize): Use column model's total width.
5171 * javax/swing/plaf/basic/BasicTextPaneUI.java: New file.
5172 * javax/swing/plaf/basic/BasicTextUI.java
5173 (modelChanged): Make resilient against nulls.
5174 * javax/swing/plaf/basic/BasicTreeUI.java:
5175 Add some simplistic config / painting functions.
5176 * javax/swing/plaf/basic/BasicViewportUI.java
5177 (paintSimple): Add new non-backingstore paint mode.
5178 (paintBackingStore): Split out backing store code.
5179 (paint): Switch on painting mode.
5180 * javax/swing/text/SimpleAttributeSet.java
5181 (SimpleAttributeSet): Resist nulls.
5182 * javax/swing/tree/DefaultTreeCellRenderer.java: Implement.
5183 * javax/swing/tree/DefaultTreeModel.java: Partially implement.
5185 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5187 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c (setFont):
5188 Set pango context's description and language.
5190 2004-11-30 Mark Wielaard <mark@klomp.org>
5192 * java/awt/image/LookupOp.java: Comments and indentation fixes.
5194 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5196 * java/awt/Checkbox.java (AccessibleAWTCheckBox): Implement.
5197 (getAccessibleContext): Implement.
5199 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5201 * java/awt/TextComponent.java (AccessibleAWTTextComponent):
5203 (getIndexAtPoint, getCharacterBounds): New methods.
5205 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5207 * java/awt/Button.java (AccessibleAWTButton): Implement.
5209 2004-11-30 Mark Wielaard <mark@klomp.org>
5211 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5212 (filenameFilterCallback): Made static.
5214 2004-11-30 Michael Koch <konqueror@gmx.de>
5216 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
5217 (cairoShowGlyphs) Removed.
5219 2004-11-30 Sven de Marothy <sven@physto.se>
5221 * gnu/java/awt/color/RgbProfileConverter.java (RgbProfileConverter):
5222 Don't invert matrix when reverse CLUT is available.
5223 * gnu/java/awt/color/LinearRGBConverter.java: Documentation update.
5224 * java/awt/color/ICC_ColorSpace.java: Likewise.
5225 * java/awt/color/ICC_Profile.java: Likewise.
5226 * java/awt/color/ICC_ProfileGray.java: Likewise.
5227 * java/awt/color/ICC_ProfileRGB.java: Likewise.
5229 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5231 * java/awt/MenuItem.java (AccessibleAWTMenuItem): Implement.
5233 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5235 * java/awt/Choice.java (AccessibleAWTChoice): Implement.
5237 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5239 * java/awt/image/BandedSampleModel.java (scanlineStride): Remove
5240 field hiding ComponentSampleModel.scanlineStride.
5242 2004-11-30 Noa Resare <noa@resare.com>
5244 * java/awt/geom/GeneralPath.java (currentSegment):
5245 Fix typo in transform.transform() invocation.
5247 2004-11-30 Sven de Marothy <sven@physto.se>
5249 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5250 (createImage): Created bitmap should be filled with bg color
5252 2004-11-30 Noa Resare <noa@resare.com>
5254 * java/awt/Choice.java (add):
5255 Implement correct selection behavior when peer == null.
5259 2004-11-30 Mark Wielaard <mark@klomp.org>
5261 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (GtkChoicePeer):
5262 Call select() when Choice has a selected item.
5264 2004-11-30 Michael Koch <address@bogus.example.com>
5266 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
5267 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c,
5268 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c,
5269 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c,
5270 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c,
5271 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c,
5272 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c,
5273 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c,
5274 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c,
5275 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCanvasPeer.c,
5276 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
5277 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c,
5278 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c,
5279 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c,
5280 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c,
5281 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c,
5282 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c,
5283 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
5284 Fixed method names to start at begin of line. This is desired by GNU
5287 2004-11-30 Michael Koch <konqueror@gmx.de>
5289 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
5290 (gtkWidgetSetVisible): Unused. Removed.
5291 (connectJObject): Likewise.
5292 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
5293 (gtkScrolledWindowSetScrollPosition): Commented out.
5295 2004-11-30 Mark Wielaard <mark@klomp.org>
5297 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5298 (Java_gnu_java_awt_peer_gtk_GdkTextLayout_setText): Installed and
5299 renamed from Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText.
5301 2004-11-30 Mark Wielaard <mark@klomp.org>
5303 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c
5304 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setText): Removed.
5305 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
5306 (init_dpi_conversion_factor): Correct prototype.
5308 2004-11-30 Sven de Marothy <sven@physto.se>
5310 * java/awt/image/ConvolveOp.java: Added missing
5313 2004-11-30 Robert Schuster <theBohemian@gmx.net>
5316 * gnu/java/beans/IntrospectionIncubator.java:
5317 (addMethod): static methods are discarded now, too.
5319 2004-11-30 Mark Wielaard <mark@klomp.org>
5321 * Makefile.am (awt_java_source_files): Add new gnu/java/awt/color
5323 * Makefile.in: Regenerated.
5325 2004-11-30 Sven de Marothy <sven@physto.se>
5327 * gnu/java/awt/color/CieXyzConverter.java,
5328 gnu/java/awt/color/GrayScaleConverter.java,
5329 gnu/java/awt/color/SrgbConverter.java,
5330 gnu/java/awt/color/ClutProfileConverter.java,
5331 gnu/java/awt/color/LinearRGBConverter.java,
5332 gnu/java/awt/color/TagEntry.java,
5333 gnu/java/awt/color/ColorLookUpTable.java,
5334 gnu/java/awt/color/ProfileHeader.java,
5335 gnu/java/awt/color/ToneReproductionCurve.java,
5336 gnu/java/awt/color/ColorSpaceConverter.java,
5337 gnu/java/awt/color/PyccConverter.java,
5338 gnu/java/awt/color/GrayProfileConverter.java,
5339 gnu/java/awt/color/RgbProfileConverter.java:
5341 * java/awt/color/ICC_ColorSpace.java,
5342 java/awt/color/ICC_Profile.java,
5343 java/awt/color/ICC_ProfileGray.java,
5344 java/awt/color/ICC_ProfileRGB.java:
5345 Implemented (sans PhotoYCC color space).
5347 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5349 * java/awt/image/AffineTransformOp.java (filter): Implement
5350 bilinear interpolation for Rasters.
5352 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5354 * java/awt/image/IndexColorModel.java (IndexColorModel): Actually
5355 use the provided colormap. Throw documented exceptions. Document
5358 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
5360 * java/awt/image/IndexColorModel.java (IndexColorModel): Fix
5363 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5365 * java/awt/image/AffineTransformOp.java: Add TYPE_BICUBIC.
5367 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5369 * java/awt/image/AffineTransformOp.java (filter): Implement Raster
5372 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5374 * java/awt/image/ComponentSampleModel.java (getDataElements,
5375 setDataElements): Implement SHORT, FLOAT, and INT transfer types.
5377 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5379 * java/awt/Font.java (name): New field.
5383 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5385 * java/awt/image/Raster.java (createBandedRaster): Implement.
5387 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5389 * java/awt/image/ConvolveOp.java: New class.
5390 * Makefile.am: Add ConvolveOp.
5391 * Makefile.in: Regenerate.
5393 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5395 * java/awt/image/RescaleOp.java (BandCombineOp, ColorConvertOp,
5396 LookupOp, RescaleOp): Fix loop bounds.
5398 2004-11-30 jlquinn <jlquinn@optonline.net>
5400 * Makefile.am: Fix typo in BandCombineOp.
5401 * Makefile.in: Regenerate.
5403 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5405 * java/awt/image/BandCombineOp.java: New class.
5406 * Makefile.am: Add BandCombineOp.
5407 * Makefile.in: Regenerate.
5409 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5411 * java/awt/image/LookupOp.java: New class.
5412 * Makefile.am: Add LookupOp.
5413 * Makefile.in: Regenerate.
5415 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5417 * java/awt/image/SampleModel.java (createSubsetSampleModel): Add
5420 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5422 * java/awt/image/ColorModel.java (cloneColorModel): Fix line
5423 wrap. Use Boolean.valueOf.
5425 2004-11-30 Michael Koch <konqueror@gmx.de>
5427 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
5428 (releasePeerGraphicsResource): Fixed typo in method name.
5429 * gnu/java/awt/peer/gtk/GdkFontPeer.java
5430 (finalize): Fixed typo in releasePeerGraphicsResource.
5432 2004-11-30 Michael Koch <konqueror@gmx.de>
5434 * java/awt/font/TextAttribute.java
5435 (RUN_DIRECTION_LTR): Initialie with static value instead of
5437 (RUN_DIRECTION_RTL): Likewise.
5438 (STRIKETHROUGH_ON): Likewise.
5439 (SWAP_COLORS_ON): Likewise.
5441 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
5443 * java/awt/image/ColorConvertOp.java: New class.
5444 * java/awt/image/ColorModel.java (cloneColorModel): New method.
5445 * Makefile.am: Add ColorConvertOp.
5446 * Makefile.in: Regenerate.
5448 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5450 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
5451 Track Window focus owner on FOCUS_GAINED events.
5453 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5455 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
5456 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
5458 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5460 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
5461 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
5462 Fix pointer warning.
5464 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5466 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5467 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
5468 Fix pointer warning.
5470 * jni/gtk-peer/gtkpeer.h: Introduce widget_union to fix type punned
5472 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5473 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect): Use widget_union
5474 to fix type punned pointer warning.
5475 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
5478 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5479 (window_get_new_state): Introduce unions to fix warnings as above.
5480 (window_property_changed_cb): Likewise.
5481 (window_active_state_change_cb): Mark unused variables unused.
5482 (window_focus_state_change_cb): Likewise.
5483 (window_focus_in_cb): Likewise.
5484 (window_focus_out_cb): Likewise.
5486 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c
5487 (Java_gnu_java_awt_peer_gtk_GdkFontPeer_setFont): Convert
5488 PangoFontMap correctly with PANGO_FT2FONT_MAP macro.
5490 2004-11-30 Michael Koch <konqueror@gmx.de>
5492 * javax/swing/JMenuBar.java
5493 (updateUI): Simplified.
5494 * javax/swing/tree/DefaultTreeSelectionModel.java:
5495 Reorganized import statements.
5497 2004-11-30 Michael Koch <konqueror@gmx.de>
5499 * java/awt/font/TextAttribute.java,
5500 javax/swing/JComponent.java,
5501 javax/swing/JInternalFrame.java,
5502 javax/swing/table/TableColumn.java,
5503 javax/swing/text/StyleConstants.java:
5504 Replaced "new Boolean(boolean)" with "Boolean.valueOf(boolean)".
5506 2004-11-30 Michael Koch <konqueror@gmx.de>
5508 * javax/swing/tree/DefaultTreeCellEditor.java,
5509 javax/swing/tree/DefaultTreeModel.java,
5510 javax/swing/tree/DefaultTreeSelectionModel.java:
5513 2004-11-30 Michael Koch <konqueror@gmx.de>
5515 * javax/swing/tree/DefaultTreeCellEditor.java
5516 (EditorContainer.EditorContainer): Fixed arguments.
5517 (EditorContainer.EditorContainer): New method.
5518 (DefaultTextField.DefaultTextField): Fixed arguments, implemented.
5519 (DefaultTextField.getBorder): Implemented.
5520 (listenerList): New field.
5521 (addCellEditorListener): Implemented.
5522 (removeCellEditorListener): Implemented.
5523 (getCellEditorListeners): New method.
5524 * javax/swing/tree/DefaultTreeModel.java
5525 (addTreeModelListener): Fixed javadoc.
5526 (removeTreeModelListener): Likewise.
5527 (getTreeModelListeners): New method.
5528 (fireTreeNodesChanged): Implemented.
5529 (fireTreeNodesInserted): Likewise.
5530 (fireTreeNodesRemoved): Likewise.
5531 (fireTreeStructureChanged): Likewise.
5532 (getListeners): Fixed javadoc.
5533 * javax/swing/tree/DefaultTreeSelectionModel.java
5534 (addTreeSelectionListener): Implemented.
5535 (removeTreeSelectionListener): Likewise.
5536 (fireValueChanged): Likewise.
5537 (getListeners): Likewise.
5538 (addPropertyChangeListener): Likewise.
5539 (removePropertyChangeListener): Likewise.
5540 (getTreeSelectionListeners): New method.
5541 (getPropertyChangeListeners): Likewise.
5543 2004-11-30 Michael Koch <konqueror@gmx.de>
5545 * javax/swing/plaf/basic/BasicScrollBarUI.java
5546 (maximumThumbSize): Removed static keyword.
5547 (minimumThumbSize): Likewise.
5548 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
5549 (CloseAction): Made public.
5550 (IconifyAction): Likewise.
5551 (MaximizeAction): Likewise.
5552 (MoveAction): Likewise.
5553 (RestoreAction): Likewise.
5554 (SizeAction): Likewise.
5555 (SystemMenuBar): Likewise.
5556 * javax/swing/plaf/basic/BasicSliderUI.java
5557 (TrackListener): Likewise.
5558 * javax/swing/plaf/basic/BasicSplitPaneUI.java
5559 (KeyboardDownRightHandler): Likewise.
5560 (KeyboardEndHandler): Likewise.
5561 (KeyboardHomeHandler): Likewise.
5562 (KeyboardResizeToggleHandler): Likewise.
5563 (KeyboardUpLeftHandler): Likewise.
5564 (PropertyHandler): Likewise.
5565 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5566 (PropertyChangeHandler): Likewise.
5567 (TabSelectionHandler): Likewise.
5569 2004-11-30 Michael Koch <konqueror@gmx.de>
5571 * javax/swing/text/JTextComponent.java
5572 (getKeymap): Made public.
5574 2004-11-30 Michael Koch <konqueror@gmx.de>
5576 * javax/swing/JEditorPane.java
5577 (getStream): Throws IOException.
5579 * javax/swing/JRootPane.java
5580 (createContentPane): Fixed return type.
5581 * javax/swing/JSpinner.java
5582 (commitEdit): Throws ParseException.
5583 * javax/swing/plaf/metal/MetalLookAndFeel.java
5584 (serialVersionUID): New field.
5585 * javax/swing/table/TableColumn.java
5586 (resizedPostingDisableCount): Added @deprecated tag.
5587 (disableResizedPosting): Likewise.
5588 (enableResizedPosting): Likewise.
5589 * javax/swing/text/Document.java
5590 (TitleProperty): Fixed value.
5591 * javax/swing/tree/TreeCellEditor.java
5592 (TreeCellEditor): Extends CellEditor.
5594 2004-11-30 Michael Koch <konqueror@gmx.de>
5596 * javax/swing/JWindow.java
5597 javax/swing/SpinnerModel.java
5598 javax/swing/Timer.java
5599 javax/swing/event/MenuKeyEvent.java
5600 javax/swing/plaf/basic/BasicButtonUI.java
5601 javax/swing/plaf/basic/BasicIconFactory.java
5602 javax/swing/plaf/basic/BasicTabbedPaneUI.java
5603 javax/swing/text/AttributeSet.java
5604 javax/swing/text/Highlighter.java
5605 javax/swing/text/StyleConstants.java
5606 javax/swing/tree/TreeCellEditor.java:
5607 Removed redundant and reordered modifiers.
5609 2004-11-30 Michael Koch <konqueror@gmx.de>
5611 * javax/swing/plaf/basic/BasicToolTipUI.java:
5612 Reformatted copyright header.
5614 2004-11-30 Michael Koch <konqueror@gmx.de>
5616 * javax/swing/AbstractAction.java,
5617 javax/swing/AbstractButton.java,
5618 javax/swing/AbstractCellEditor.java,
5619 javax/swing/AbstractListModel.java,
5620 javax/swing/AbstractSpinnerModel.java,
5621 javax/swing/ActionMap.java,
5622 javax/swing/BorderFactory.java,
5623 javax/swing/Box.java,
5624 javax/swing/ButtonModel.java,
5625 javax/swing/CellEditor.java,
5626 javax/swing/CellRendererPane.java,
5627 javax/swing/DefaultBoundedRangeModel.java,
5628 javax/swing/DefaultButtonModel.java,
5629 javax/swing/DefaultCellEditor.java,
5630 javax/swing/DefaultDesktopManager.java,
5631 javax/swing/DefaultListCellRenderer.java,
5632 javax/swing/DefaultListSelectionModel.java,
5633 javax/swing/DefaultSingleSelectionModel.java,
5634 javax/swing/GrayFilter.java,
5635 javax/swing/InputMap.java,
5636 javax/swing/JApplet.java,
5637 javax/swing/JCheckBoxMenuItem.java,
5638 javax/swing/JColorChooser.java,
5639 javax/swing/JComboBox.java,
5640 javax/swing/JComponent.java,
5641 javax/swing/JDesktopPane.java,
5642 javax/swing/JDialog.java,
5643 javax/swing/JEditorPane.java,
5644 javax/swing/JFileChooser.java,
5645 javax/swing/JFormattedTextField.java,
5646 javax/swing/JFrame.java,
5647 javax/swing/JInternalFrame.java,
5648 javax/swing/JLabel.java,
5649 javax/swing/JLayeredPane.java,
5650 javax/swing/JList.java,
5651 javax/swing/JMenu.java,
5652 javax/swing/JMenuBar.java,
5653 javax/swing/JMenuItem.java,
5654 javax/swing/JOptionPane.java,
5655 javax/swing/JPanel.java,
5656 javax/swing/JPasswordField.java,
5657 javax/swing/JPopupMenu.java,
5658 javax/swing/JRadioButtonMenuItem.java,
5659 javax/swing/JRootPane.java,
5660 javax/swing/JSpinner.java,
5661 javax/swing/JSplitPane.java,
5662 javax/swing/JTabbedPane.java,
5663 javax/swing/JTable.java,
5664 javax/swing/JTextArea.java,
5665 javax/swing/JTextPane.java,
5666 javax/swing/JToggleButton.java,
5667 javax/swing/JToolBar.java,
5668 javax/swing/JToolTip.java,
5669 javax/swing/JTree.java,
5670 javax/swing/JViewport.java,
5671 javax/swing/ListModel.java,
5672 javax/swing/LookAndFeel.java,
5673 javax/swing/MenuSelectionManager.java,
5674 javax/swing/ProgressMonitorInputStream.java,
5675 javax/swing/RepaintManager.java,
5676 javax/swing/RootPaneContainer.java,
5677 javax/swing/ScrollPaneLayout.java,
5678 javax/swing/SpringLayout.java,
5679 javax/swing/SwingUtilities.java,
5680 javax/swing/Timer.java,
5681 javax/swing/ToolTipManager.java,
5682 javax/swing/UIDefaults.java,
5683 javax/swing/UIManager.java,
5684 javax/swing/border/MatteBorder.java,
5685 javax/swing/colorchooser/AbstractColorChooserPanel.java,
5686 javax/swing/colorchooser/ColorSelectionModel.java,
5687 javax/swing/colorchooser/DefaultColorSelectionModel.java,
5688 javax/swing/colorchooser/DefaultHSBChooserPanel.java,
5689 javax/swing/colorchooser/DefaultPreviewPanel.java,
5690 javax/swing/colorchooser/DefaultRGBChooserPanel.java,
5691 javax/swing/colorchooser/DefaultSwatchChooserPanel.java,
5692 javax/swing/event/AncestorEvent.java,
5693 javax/swing/event/HyperlinkEvent.java,
5694 javax/swing/event/InternalFrameEvent.java,
5695 javax/swing/event/MenuDragMouseEvent.java,
5696 javax/swing/event/TableColumnModelEvent.java,
5697 javax/swing/event/TableModelEvent.java,
5698 javax/swing/event/TreeExpansionEvent.java,
5699 javax/swing/event/TreeModelEvent.java,
5700 javax/swing/event/TreeSelectionEvent.java,
5701 javax/swing/event/TreeWillExpandListener.java,
5702 javax/swing/event/UndoableEditEvent.java,
5703 javax/swing/filechooser/FileView.java,
5704 javax/swing/plaf/BorderUIResource.java,
5705 javax/swing/plaf/ComponentUI.java,
5706 javax/swing/plaf/FileChooserUI.java,
5707 javax/swing/plaf/IconUIResource.java,
5708 javax/swing/plaf/ListUI.java,
5709 javax/swing/plaf/PopupMenuUI.java,
5710 javax/swing/plaf/SplitPaneUI.java,
5711 javax/swing/plaf/TabbedPaneUI.java,
5712 javax/swing/plaf/TextUI.java,
5713 javax/swing/plaf/TreeUI.java,
5714 javax/swing/plaf/basic/BasicArrowButton.java,
5715 javax/swing/plaf/basic/BasicBorders.java,
5716 javax/swing/plaf/basic/BasicButtonUI.java,
5717 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
5718 javax/swing/plaf/basic/BasicColorChooserUI.java,
5719 javax/swing/plaf/basic/BasicComboBoxEditor.java,
5720 javax/swing/plaf/basic/BasicComboBoxRenderer.java,
5721 javax/swing/plaf/basic/BasicComboBoxUI.java,
5722 javax/swing/plaf/basic/BasicComboPopup.java,
5723 javax/swing/plaf/basic/BasicDesktopIconUI.java,
5724 javax/swing/plaf/basic/BasicDesktopPaneUI.java,
5725 javax/swing/plaf/basic/BasicIconFactory.java,
5726 javax/swing/plaf/basic/BasicInternalFrameTitlePane.java,
5727 javax/swing/plaf/basic/BasicInternalFrameUI.java,
5728 javax/swing/plaf/basic/BasicListUI.java,
5729 javax/swing/plaf/basic/BasicLookAndFeel.java,
5730 javax/swing/plaf/basic/BasicMenuBarUI.java,
5731 javax/swing/plaf/basic/BasicMenuItemUI.java,
5732 javax/swing/plaf/basic/BasicMenuUI.java,
5733 javax/swing/plaf/basic/BasicOptionPaneUI.java,
5734 javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java,
5735 javax/swing/plaf/basic/BasicPopupMenuUI.java,
5736 javax/swing/plaf/basic/BasicProgressBarUI.java,
5737 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
5738 javax/swing/plaf/basic/BasicRootPaneUI.java,
5739 javax/swing/plaf/basic/BasicScrollBarUI.java,
5740 javax/swing/plaf/basic/BasicSeparatorUI.java,
5741 javax/swing/plaf/basic/BasicSliderUI.java,
5742 javax/swing/plaf/basic/BasicSpinnerUI.java,
5743 javax/swing/plaf/basic/BasicSplitPaneDivider.java,
5744 javax/swing/plaf/basic/BasicSplitPaneUI.java,
5745 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
5746 javax/swing/plaf/basic/BasicTableHeaderUI.java,
5747 javax/swing/plaf/basic/BasicTableUI.java,
5748 javax/swing/plaf/basic/BasicTextAreaUI.java,
5749 javax/swing/plaf/basic/BasicTextFieldUI.java,
5750 javax/swing/plaf/basic/BasicTextUI.java,
5751 javax/swing/plaf/basic/BasicToolBarSeparatorUI.java,
5752 javax/swing/plaf/basic/BasicToolBarUI.java,
5753 javax/swing/plaf/basic/BasicToolTipUI.java,
5754 javax/swing/plaf/basic/BasicTreeUI.java,
5755 javax/swing/plaf/basic/BasicViewportUI.java,
5756 javax/swing/plaf/basic/ComboPopup.java,
5757 javax/swing/table/AbstractTableModel.java,
5758 javax/swing/table/DefaultTableCellRenderer.java,
5759 javax/swing/table/DefaultTableColumnModel.java,
5760 javax/swing/table/DefaultTableModel.java,
5761 javax/swing/table/JTableHeader.java,
5762 javax/swing/table/TableCellEditor.java,
5763 javax/swing/table/TableCellRenderer.java,
5764 javax/swing/table/TableColumn.java,
5765 javax/swing/table/TableColumnModel.java,
5766 javax/swing/text/AbstractDocument.java,
5767 javax/swing/text/Caret.java,
5768 javax/swing/text/DefaultCaret.java,
5769 javax/swing/text/DefaultEditorKit.java,
5770 javax/swing/text/DefaultHighlighter.java,
5771 javax/swing/text/EditorKit.java,
5772 javax/swing/text/JTextComponent.java,
5773 javax/swing/text/LayeredHighlighter.java,
5774 javax/swing/text/PasswordView.java,
5775 javax/swing/text/SimpleAttributeSet.java,
5776 javax/swing/text/StyleConstants.java,
5777 javax/swing/text/StyleContext.java,
5778 javax/swing/text/StyledEditorKit.java,
5779 javax/swing/text/TextAction.java,
5780 javax/swing/text/View.java,
5781 javax/swing/tree/AbstractLayoutCache.java,
5782 javax/swing/tree/DefaultTreeCellRenderer.java,
5783 javax/swing/tree/DefaultTreeModel.java,
5784 javax/swing/tree/DefaultTreeSelectionModel.java,
5785 javax/swing/tree/FixedHeightLayoutCache.java,
5786 javax/swing/tree/TreeCellRenderer.java,
5787 javax/swing/tree/TreeSelectionModel.java,
5788 javax/swing/tree/VariableHeightLayoutCache.java,
5789 javax/swing/undo/AbstractUndoableEdit.java,
5790 javax/swing/undo/UndoableEditSupport.java:
5793 2004-11-30 Michael Koch <konqueror@gmx.de>
5795 * java/awt/Container.java,
5797 java/awt/font/TextLayout.java:
5800 2004-11-30 Michael Koch <konqueror@gmx.de>
5802 * javax/swing/AbstractButton.java
5803 (getLabel): Added @deprecated tag.
5804 (setLabel): Likewise.
5805 * javax/swing/FocusManager.java
5806 (disableSwingFocusManager): Likewise.
5807 (isFocusManagerEnabled): Likewise.
5808 * javax/swing/JComponent.java
5809 (isManagingFocus): Added version to @deprecated tag.
5810 (getNextFocusableComponent): Moved @deprecated tag to bottom of
5812 (getConditionForKeyStroke): Likewise.
5813 (getActionForKeyStroke): Likewise.
5814 * javax/swing/JDesktopPane.java
5815 (LIVE_DRAG_MODE): Added @specnote tag.
5816 (OUTLINE_DRAG_MODE): Likewise.
5817 * javax/swing/JInternalFrame.java
5818 (MENU_BAR_PROPERTY): Fixed value.
5819 (getMenuBar): Added @deprecated tag.
5820 (setMenuBar): Likewise.
5821 * javax/swing/JViewport.java
5822 (isBackingStoreEnabled): Likewise.
5823 (setBackingStoreEnabled): Likewise.
5824 * javax/swing/plaf/basic/BasicDesktopPaneUI.java
5825 (closeKey): Likewise.
5826 (maximizeKey): Likewise.
5827 (minimizeKey): Likewise.
5828 (navigateKey): Likewise.
5829 (navigateKey2): Likewise.
5830 * javax/swing/plaf/basic/BasicInternalFrameUI.java
5831 (openMenuKey): Likewise.
5832 * javax/swing/plaf/basic/BasicSplitPaneUI.java
5833 (keyboardDownRightListener): Likewise.
5834 (keyboardEndListener): Likewise.
5835 (keyboardHomeListener): Likewise.
5836 (keyboardResizeToggleListener): Likewise.
5837 (keyboardUpLeftListener): Likewise.
5838 (dividerResizeToggleKey): Likewise.
5839 (downKey): Likewise.
5841 (homeKey): Likewise.
5842 (leftKey): Likewise.
5843 (rightKey): Likewise.
5845 (createKeyboardUpLeftListener): Likewise.
5846 (createKeyboardDownRightListener): Likewise.
5847 (createKeyboardHomeListener): Likewise.
5848 (createKeyboardEndListener): Likewise.
5849 (createKeyboardResizeToggleListener): Likewise.
5850 (getDividerBorderSize): Likewise.
5851 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
5852 (downKey): Likewise.
5853 (leftKey): Likewise.
5854 (rightKey): Likewise.
5857 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
5859 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
5860 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Use the
5861 GTK_TEXT_VIEW macro.
5863 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
5864 (connect_awt_hook_cb): Mark unused variable unused.
5866 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkClipboard.c (selection_get):
5869 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
5870 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_create): According to
5871 the gtk API gtk_combo_box_new_text actually returns a GtkWidget.
5872 Remove unused var menu.
5873 (selection_changed): Remove unused value.
5875 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5876 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_setNativeBounds): Fix pointer
5877 warning with using an intermediate variable.
5879 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
5880 (area_updated): Fix unused var warning for BE archs.
5882 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
5883 (Java_gnu_java_awt_peer_gtk_GdkGraphics_connectSignals): Remove unused
5885 (realize_cb): Mark unused variable unused.
5887 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
5888 (seek_glyphstring_idx): Fix a C90 warning.
5890 * jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c
5891 (Java_gnu_java_awt_peer_gtk_GThreadNativeMethodRunner_nativeRun):
5892 Mark unused arguments unused.
5894 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
5895 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_initState),
5896 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_setGlyphCodes),
5897 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphCharIndex),
5898 (Java_gnu_java_awt_peer_gtk_GdkGlyphVector_glyphIsHorizontal):
5901 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
5902 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerFontMetrics),
5903 (Java_gnu_java_awt_peer_gtk_GdkFontMetrics_getPeerTextMetrics):
5906 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
5907 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFilenameFilter):
5909 (filenameFilterCallback): Remove unused var.
5910 (handle_response): Declare str_fileName and remove last else statement.
5912 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphicsEnvironment.c:
5914 (nativeGetNumFontsFamilies) New function.
5915 (nativeGetFontFamilies) Likewise.
5916 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
5917 (getAvailableFontFamilyNames): Implement.
5918 * Makefile.am (gtk_c_source_files): Add GdkGraphicsEnvironment.c.
5919 * Makefile.in: Regenerate.
5921 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5923 * gnu/java/awt/peer/ClasspathFontPeer.java
5924 (setStandardAttributes(String,Map)): If size attribute doesn't
5925 exist, default to size 12. Clamp size value to a minimum of 1.
5927 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
5929 * javax/swing/JDialog.java
5930 (decorated): Likewise.
5931 * javax/swing/JFrame.java
5932 (defaultLookAndFeelDecorated): Likewise.
5934 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
5936 * javax/swing/plaf/basic/BasicToolBarUI.java
5937 (offset, regular): Made final.
5938 * javax/swing/plaf/basic/BasicScrollBarUI.java
5939 (DECREASE_HIGHLIGHT, INCREASE_HIGHLIGHT, NO_HIGHLIGHT,
5940 POSITIVE_SCROLL, NEGATIVE_SCROLL): Made final.
5942 2004-11-30 Michael Koch <konqueror@gmx.de>
5944 * gnu/java/awt/BitwiseXORComposite.java,
5945 gnu/java/awt/ClasspathToolkit.java,
5946 gnu/java/awt/image/XBMDecoder.java,
5947 gnu/java/awt/peer/GLightweightPeer.java,
5948 gnu/java/awt/peer/gtk/GdkGlyphVector.java:
5949 Reorganized import statements.
5951 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
5953 * java/awt/Button.java
5954 (next_button_number): Removed useless initializer.
5955 * java/awt/Frame.java
5956 (next_frame_number): Likewise.
5957 * java/awt/Panel.java
5958 (next_panel_number): Likewise,
5959 * java/awt/Scrollbar.java
5960 (next_scrollbar_number): Likewise.
5961 * java/awt/TextArea.java
5962 (next_text_number): Likewise.
5964 2004-11-30 Michael Koch <konqueror@gmx.de>
5966 * java/awt/image/ByteLookupTable.java
5967 (ByteLookupTable) :Fixed HTML entities in javadocs.
5968 (lookupPixel): Fix case when dst is null.
5969 * java/awt/image/ShortLookupTable.java
5970 (ShortLookupTable) :Fixed HTML entities in javadocs.
5971 (lookupPixel): Fix case when dst is null.
5972 * java/awt/image/DataBufferByte.java,
5973 java/awt/image/DataBufferDouble.java,
5974 java/awt/image/DataBufferFloat.java,
5975 java/awt/image/DataBufferInt.java,
5976 java/awt/image/DataBufferShort.java,
5977 java/awt/image/DataBufferUShort.java:
5978 Fix initialization of bankData in constructors.
5980 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
5982 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
5983 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
5984 (setNativeBounds): Set GtkEventBox, GtkButton and GtkLabel size
5986 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
5987 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
5988 (setNativeBounds): Make package private. Set size request even
5989 if GTK parent is NULL.
5990 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
5991 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
5992 (setNativeBounds): Set GtkEventBox and GtkLabel size requests.
5994 2004-11-30 Mark Wielaard <mark@klomp.org>
5996 Workaround for bug #17952.
5997 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
5998 (request_frame_extents): Check window->window != NULL.
6000 2004-11-30 Mark Wielaard <mark@klomp.org>
6002 * jni/gtk-peer/gdkfont.h: Include gtkpeer.h not gtkcairopeer.h.
6004 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6006 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: Use
6007 native_text_layout_state_table here.
6009 * jni/gtk-peer/gdkfont.h: Mark native_text_layout_state_table extern.
6011 2004-11-30 Mark Wielaard <mark@klomp.org>
6013 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
6014 (setChars): Only call pango_itemize() when vec->glyphitems != NULL.
6015 Only call pango_shape() when gi->glyphs->num_glyphs > 0.
6017 2004-11-30 Michael Koch <konqueror@gmx.de>
6019 * gnu/java/awt/peer/gtk/GtkToolkit.java:
6020 Merged import statements.
6022 2004-11-30 Michael Koch <konqueror@gmx.de>
6024 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6025 (isBufferedImageGraphics): Simplified.
6027 2004-11-30 Paul Jenner <psj.home@ntlworld.com>
6029 * javax/swing/JTree.java
6030 (isRootVisible): Fixed typo in method name.
6031 * javax/swing/JScrollBar.java
6032 (setValues): Likewise.
6033 * javax/swing/JScrollPane.java
6034 (createScrollListener): Call JScrollBar.setValues.
6036 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6038 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (endValidate):
6039 Don't call setParentAndBounds on GtkWindowPeers.
6041 * java/awt/Component.java (static): Don't set default keyboard
6043 * java/awt/KeyboardFocusManager.java
6044 (getCurrentKeyboardFocusManager): If current keyboard focus
6045 manager is null set a default.
6047 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6048 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6049 (gtkWidgetSetBackground): New method.
6050 (block_expose_events_cb): New function.
6051 (connectSignals): Block the AWT's expose event processing on
6052 button press and release.
6053 (gtkSetLabel): Set text on proper widget.
6054 (gtkWidgetModifyFont): Modify font on proper widget.
6055 (gtkWidgetSetBackground): Set normal, active and prelight
6057 (gtkWidgetSetForeground): Set forground colour of proper widget.
6058 (gtkActivate): Activate the correct widget.
6059 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (clearRect):
6060 Only clear rectangle if the backing component is not an event
6062 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6063 (beginNativeRepaintID): New variable.
6064 (endNativeRepaintID): Likewise.
6065 (gtkInit): Initialize new fields with method IDs.
6066 * jni/gtk-peer/gtkpeer.h (beginNativeRepaintID): Declare extern.
6067 (endNativeRepaintID): Likewise.
6069 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
6071 * javax/swing/JList.java (init): Revert accidental commit.
6073 * gnu/java/awt/peer/gtk/GdkGraphics.java,
6074 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (GdkGraphics):
6075 Call initComponentGraphics or connectSignals depending on
6076 component's realization status.
6077 (realize_cb): New function.
6078 (initComponentGraphics): New method.
6079 (connectSignals): New method.
6080 (clipRect): Return immediately if component is not realized.
6081 (setClip): Likewise.
6082 (translate): Likewise.
6083 (drawImage variants): Return false immediately if component is
6085 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6086 jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6087 (connectSignals): New method.
6088 (GdkGraphics2D): Call initComponentGraphics2D or connectSignals
6089 depending on component's realization status. Move other
6090 initialization calls to ...
6091 (initComponentGraphics2D): New method.
6092 (realize_cb): New function.
6093 (cairoSetMatrix): Return immediately if gr is NULL.
6094 (cairoNewPath): Likewise.
6095 (cairoRectangle): Likewise.
6096 (cairoClip): Likewise.
6097 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
6098 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
6099 (gtkWidgetRepaintArea): Remove method.
6100 (isRealized): New method.
6101 (GtkComponentPeer): Move setParent, connectJObject and setCursor
6102 calls to setParentAndBounds. Call setParentAndBounds.
6103 (setParentAndBounds): New method.
6104 (setComponentBounds): Return immediately if bounds are all zero.
6105 (repaint): Remove call to gtkWidgetRepaintArea. Return
6106 immediately if requested paint region is 0x0.
6107 (setCursor): New method.
6108 (gtkWidgetSetParent): Only set widget's parent if its parent is
6110 (setNativeBounds): Only set widget's bounds if it has a parent.
6111 (connectSignals): Don't call gtk_widget_realize. Connect
6112 "realize" signal to connect_awt_hook_cb handler.
6113 * gnu/java/awt/peer/gtk/GtkContainerPeer.java (isValidating):
6115 (beginValidate): Set isValidating true.
6116 (endValidate): Set parents and bounds for children first, then
6117 for this. Set isValidating false.
6118 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6119 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
6120 (connectJObject): Remove method.
6121 (connectSignals): Don't call gtk_widget_realize.
6122 * gnu/java/awt/peer/gtk/GtkListPeer.java,
6123 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
6124 (connectJObject): Remove method.
6125 (connectSignals): Don't call gtk_widget_realize.
6126 * gnu/java/awt/peer/gtk/GtkPanelPeer.java,
6127 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c
6128 (connectJObject): Remove method.
6129 * gnu/java/awt/peer/gtk/GtkScrollbarPeer.java,
6130 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
6131 (connectJObject): Remove method.
6132 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
6133 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
6134 (create): Don't call gtk_widget_realize.
6135 (connectJObject): Remove method.
6136 (connectSignals): Don't call gtk_widget_realize. Connect
6137 "realize" signal to connect_awt_hook_cb handler.
6138 (nativeSetBounds): Don't attempt to move GDK window if it is
6140 * java/awt/Container.java (addImpl): Don't call comp.addNotify
6141 if peer is not null.
6142 (validateTree): Create peers for all children before calling
6144 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
6145 (connectSignals): Don't call gtk_widget_realize.
6146 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
6147 (connect_awt_hook_cb): New function.
6148 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6149 (initComponentGraphicsID): New variable.
6150 (initComponentGraphics2DID): Likewise.
6151 (setCursorID): Likewise.
6152 (gtkInit): Initialize new fields with method IDs.
6153 * jni/gtk-peer/gtkpeer.h (initComponentGraphicsID): Declare
6155 (initComponentGraphics2DID): Declare extern.
6156 (setCursorID): Likewise.
6157 (connect_awt_hook_cb): Declare function.
6159 2004-11-30 Michael Koch <konqueror@gmx.de>
6161 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
6162 gnu/java/awt/peer/gtk/GdkGlyphVector.java,
6163 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
6164 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java,
6165 gnu/java/awt/peer/gtk/GdkPixbufDecoder.java,
6166 gnu/java/awt/peer/gtk/GtkButtonPeer.java,
6167 gnu/java/awt/peer/gtk/GtkClipboard.java,
6168 gnu/java/awt/peer/gtk/GtkDialogPeer.java,
6169 gnu/java/awt/peer/gtk/GtkFileDialogPeer.java,
6170 gnu/java/awt/peer/gtk/GtkFontPeer.java,
6171 gnu/java/awt/peer/gtk/GtkListPeer.java,
6172 gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
6173 gnu/java/awt/peer/gtk/GtkToolkit.java,
6174 gnu/java/awt/peer/gtk/GtkWindowPeer.java:
6175 Import statements reworked. Some little reformattings.
6177 2004-11-30 Michael Koch <konqueror@gmx.de>
6179 * java/awt/image/AffineTransformOp.java
6180 (TYPE_BILINEAR): Initialize with 2.
6181 * java/awt/print/Printable.java: Jalopied.
6182 (PAGE_EXISTS): Initialize with 0;
6183 (NO_SUCH_PAGE): Initialized with 1.
6185 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6187 * Makefile.am: Add BufferedImageFilter.java.
6188 * Makefile.in: Regenerate.
6190 2004-11-30 Graydon Hoare <graydon@redhat.com>
6192 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6193 (install_font_peer): Minor bug fixes to track cairo font semantics.
6195 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6197 * java/awt/image/BufferedImageFilter.java: Implement.
6199 2004-11-30 Graydon Hoare <graydon@redhat.com>
6202 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c)
6203 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c)
6204 (gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java)
6205 (gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java): Remove.
6206 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c)
6207 (jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c)
6208 (gnu/java/awt/peer/gtk/GdkTextLayout.java)
6209 (gnu/java/awt/peer/gtk/GdkFontPeer.java)
6210 (gnu/java/awt/peer/ClasspathTextLayoutPeer.java): Add
6211 * Makefile.in: Regenerate.
6212 * gnu/awt/xlib/XToolkit.java
6213 (getClasspathTextLayoutPeer): Add stub.
6214 * gnu/java/awt/ClasspathToolkit.java
6215 (getClasspathTextLayoutPeer) Add.
6216 * gnu/java/awt/peer/ClasspathFontPeer.java
6218 (copySizeToAttrs): Make public.
6219 * gnu/java/awt/peer/ClasspathTextLayoutPeer.java: New file.
6220 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java: Remove.
6221 * gnu/java/awt/peer/gtk/GdkClasspathFontPeerMetrics.java: Remove.
6222 * gnu/java/awt/peer/gtk/GdkFontMetrics.java: Rewrite.
6223 * gnu/java/awt/peer/gtk/GdkFontPeer.java: New file.
6224 * gnu/java/awt/peer/gtk/GdkGlyphVector.java: Adjust type names.
6225 * gnu/java/awt/peer/gtk/GdkGraphics.java
6226 (getFontPeer): New function.
6227 (drawString): Pass font peer to native side.
6228 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
6231 (PainterThread): Remove.
6232 (GdkGraphics2D): Set hints during construction.
6237 (setRenderingHints): Reimplement normalization logic.
6239 (updateBufferedImage)
6240 (isBufferedImageGraphics)
6242 (drawImage): Make final.
6243 (drawImage): Always paint synchronously.
6245 (drawGlyphVector): Rewrite.
6246 (releasePeerGraphicResource)
6247 (getPeerTextMetrics)
6248 (getPeerFontMetrics)
6249 (drawGdkGlyphVector)
6251 (cairoDrawGdkGlyphVector)
6252 (cairoDrawGdkTextLayout)
6254 (getFontPeer): New functions.
6255 * gnu/java/awt/peer/gtk/GdkTextLayout.java: New file.
6256 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
6257 (getFontMetrics): Get metrics via toolkit, to hit cache.
6258 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Use getFontMetrics.
6259 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
6260 * gnu/java/awt/peer/gtk/GtkToolkit.java (LRUCache): New class.
6263 (imageCache): New members.
6266 (getClasspathFontPeer): Use caches.
6267 (getFontPeer): Route through getClasspathFontPeer.
6268 * java/awt/Font.java (attrsToMap): Remove, adjust ctors.
6269 * java/awt/font/TextLayout.java: Implement in terms of peer.
6270 * javax/swing/plaf/basic/BasicSliderUI.java
6271 (paintThumb): Use polyline rather than polygon.
6272 * javax/swing/plaf/basic/BasicGraphicsUtils.java:
6273 Update comment but, alas, still do not switch to using TextLayouts.
6274 * javax/swing/text/Utilities.java (drawTabbedText):
6275 Draw text run-at-a-time, not char-at-a-time.
6276 * jni/gtk-peer/gdkfont.h: Publicize some of the font interface, add
6278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
6279 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
6281 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Rewrite to
6282 incorporate brains of old GdkClasspathFontPeerMetrics.
6283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c: Rewrite to
6284 incorporate brains of old GdkClasspathFontPeer.
6285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkTextLayout.c: New file.
6286 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
6287 (drawString): Rewrite to use persistent layout in peer font.
6288 Comment out extraneous gdk_flush calls.
6289 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6291 (metrics_surface): New static variables.
6293 (install_font_peer): New helper functions.
6294 (releasePeerGraphicResource)
6295 (getPeerTextMetrics)
6296 (getPeerFontMetrics)
6297 (cairoDrawGdkTextLayout)
6298 (cairoDrawGdkGlyphVector): New native methods.
6299 (cairoDrawString): Rewrite, leaving layout-based version
6300 commented out for the time being.
6301 * jni/gtk-peer/gtkpeer.h (graphics): Add fields for pango stuff.
6303 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6305 * java/awt/geom/AffineTransform.java:
6306 Fixed javadocs overall.
6308 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6310 * java/awt/image/ComponentColorModel.java: Remove FIXME comment since
6313 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6315 * java/awt/image/IndexColorModel.java: Fix use of immutable
6318 2004-11-30 Tom Tromey <tromey@redhat.com>
6320 * javax/swing/plaf/basic/BasicOptionPaneUI.java (MessageIcon):
6321 Renamed from 'messageIcon'.
6322 (errorIcon, infoIcon, warningIcon, questionIcon): Updated.
6324 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6326 * java/awt/image/RescaleOp.java: Fix formatting.
6328 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6330 * javax/swing/plaf/basic/BasicComboPopup.java
6331 (SCROLL_DOWN): made final.
6332 (SCROLL_UP): made final.
6334 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6336 * javax/swing/plaf/basic/BasicComboPopup.java:
6337 Added javadocs for undocumented fields.
6338 (show): scroll down to the selected item and
6339 highlight selected item.
6340 (startAutoScrolling): Implemented.
6341 (stopAutoScrolling): Implemented.
6342 (autoScrollUp): Implemented.
6343 (autoScrollDown): Implemented.
6344 (InvocationMouseHandler.mouseReleased): Implemented.
6345 (InvocationMouseMotionHandler.mouseDragged): Implemented.
6347 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6349 * java/awt/image/RescaleOp.java: Implement.
6351 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6353 * java/awt/image/IndexColorModel.java (getRGBs,
6354 convertToIntDiscrete): Implement.
6356 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6358 * java/awt/image/IndexColorModel.java: Add class docs.
6360 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6362 * java/awt/image/IndexColorModel.java (isValid, getValidPixels):
6365 2004-11-30 Michael Koch <konqueror@gmx.de>
6367 * java/awt/MenuBar.java,
6368 java/awt/peer/MenuBarPeer.java:
6369 Revert accidentally commited changes.
6371 2004-11-30 Michael Koch <konqueror@gmx.de>
6373 * java/awt/AWTKeyStroke.java,
6374 java/awt/Canvas.java,
6375 java/awt/CardLayout.java,
6376 java/awt/CheckboxMenuItem.java,
6377 java/awt/Component.java,
6378 java/awt/Container.java,
6379 java/awt/DefaultKeyboardFocusManager.java,
6380 java/awt/EventDispatchThread.java,
6381 java/awt/FileDialog.java,
6382 java/awt/FlowLayout.java,
6384 java/awt/Frame.java,
6385 java/awt/Graphics2D.java,
6386 java/awt/GraphicsEnvironment.java,
6387 java/awt/GridBagConstraints.java,
6388 java/awt/GridBagLayout.java,
6389 java/awt/GridLayout.java,
6390 java/awt/Image.java,
6391 java/awt/KeyboardFocusManager.java,
6392 java/awt/Label.java,
6394 java/awt/MediaTracker.java,
6396 java/awt/MenuBar.java,
6397 java/awt/MenuComponent.java,
6398 java/awt/Panel.java,
6399 java/awt/PopupMenu.java,
6400 java/awt/ScrollPane.java,
6401 java/awt/Scrollbar.java,
6402 java/awt/SystemColor.java,
6403 java/awt/TextArea.java,
6404 java/awt/TextField.java,
6405 java/awt/Toolkit.java,
6406 java/awt/Window.java,
6407 java/awt/color/ICC_Profile.java,
6408 java/awt/datatransfer/DataFlavor.java,
6409 java/awt/datatransfer/StringSelection.java,
6410 java/awt/datatransfer/SystemFlavorMap.java,
6411 java/awt/dnd/Autoscroll.java,
6412 java/awt/dnd/DropTarget.java,
6413 java/awt/dnd/DropTargetContext.java,
6414 java/awt/dnd/DropTargetDragEvent.java,
6415 java/awt/dnd/peer/DropTargetContextPeer.java,
6416 java/awt/event/AdjustmentEvent.java,
6417 java/awt/event/InputEvent.java,
6418 java/awt/event/InvocationEvent.java,
6419 java/awt/event/KeyEvent.java,
6420 java/awt/event/MouseEvent.java,
6421 java/awt/font/TextLayout.java,
6422 java/awt/geom/GeneralPath.java,
6423 java/awt/geom/Point2D.java,
6424 java/awt/im/InputContext.java,
6425 java/awt/im/spi/InputMethodContext.java,
6426 java/awt/image/AffineTransformOp.java,
6427 java/awt/image/BufferedImage.java,
6428 java/awt/image/ColorModel.java,
6429 java/awt/image/ComponentColorModel.java,
6430 java/awt/image/CropImageFilter.java,
6431 java/awt/image/DirectColorModel.java,
6432 java/awt/image/MemoryImageSource.java,
6433 java/awt/image/PackedColorModel.java,
6434 java/awt/image/PixelGrabber.java,
6435 java/awt/image/RasterOp.java,
6436 java/awt/peer/MenuBarPeer.java:
6437 Some fixes for checkstyle. Import statement and modifier order
6440 2004-11-30 Michael Koch <konqueror@gmx.de>
6442 * javax/swing/JTable.java
6443 (setModel): Reimplemented.
6445 2004-11-30 Michael Koch <konqueror@gmx.de>
6447 * javax/swing/JTextArea.java
6448 (append): Re-implemented.
6451 2004-11-30 Michael Koch <konqueror@gmx.de>
6453 * javax/swing/JSpinner.java
6454 (serialVersionUID): New static field.
6455 * javax/swing/JToggleButton.java
6456 (JToggleButton): Fixed email addresses.
6457 * javax/swing/SpinnerNumberModel.java
6458 (serialVersionUID): Added javadoc.
6460 2004-11-30 Michael Koch <konqueror@gmx.de>
6462 * javax/swing/JTextArea.java:
6463 Don't use JTextComponent.doc directly. GCJ from java-gui-branch has a
6464 bug here which is fixed in HEAD ...
6466 2004-11-30 Andrew John Hughes <address@hidden>
6468 * javax/swing/JTextArea.java: Added additional
6471 2004-11-30 Andrew John Hughes <address@hidden>
6473 * javax/swing/JRadioButton.java:
6474 Implemented additional constructors and accessibility
6475 classes. Added documentation and fixed a typo in
6478 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6480 * java/awt/image/IndexColorModel.java (IndexColorModel): Implement
6481 missing constructor.
6483 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6485 * java/awt/image/ComponentColorModel.java (ComponentColorModel):
6486 Implement missing 1.4 constructor.
6488 2004-11-30 Andrew John Hughes <address@hidden>
6490 * javax/swing/JToggleButton.java:
6491 Implemented additional constructors and accessibility
6492 classes. Added documentation and fixed a typo in
6495 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6497 * java/awt/image/ColorModel.java (getDataElement,
6498 getDataElements): Document since 1.4.
6500 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6502 * java/awt/image/BandedSampleModel.java: Implement.
6503 * Makefile.am: Add java/awt/image/BandedSampleModel.java.
6504 * Makefile.in: Regenerated.
6506 2004-11-30 Michael Koch <konqueror@gmx.de>
6508 * java/awt/Window.java: Fixed whitespace difference with GNU
6511 2004-11-30 Mark Wielaard <mark@klomp.org>
6513 * Makefile.am: Add javax/swing/SpinnerListModel.java.
6514 * Makefile.in: Regenerated.
6516 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6518 * javax/swing/SpinnerListModel.java, javax/swing/SpinnerModel.java
6519 Implemented SpinnerListModel. Added documentation to
6522 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
6525 (init_dpi_conversion_factor): Apply the patch from main correctly.
6526 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
6528 2004-11-30 Tom Tromey <tromey@redhat.com>
6531 * javax/swing/JDesktopPane.java (LIVE_DRAG_MODE): Now final.
6532 (OUTLINE_DRAG_MODE): LIVE_DRAG_MODE.
6533 * javax/swing/plaf/basic/BasicSplitPaneUI.java
6534 (NON_CONTINUOUS_DIVIDER): Now final. Initialize.
6536 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6538 * java/awt/Canvas.java
6539 (AccessibleAWTCanvas): added serialization UID
6540 * java/awt/Label.java
6541 (AccessibleAWTLabel): added serialization UID
6542 * javax/swing/JRootPane.java
6543 (AccessibleJRootPane): added comment to existing UID
6544 * javax/swing/JSpinner.java
6545 (DefaultEditor): added serialization UID
6546 (NumberEditor): added serialization UID
6547 * javax/swing/text/html/HTML.java
6548 (UnknownTag): added serialization UID
6550 2004-11-30 Jeroen Frijters <jeroen@frijters.net>
6552 * javax/swing/JInternalFrame.java
6553 (CONTENT_PANE_PROPERTY,FRAME_ICON_PROPERTY,GLASS_PANE_PROPERTY,
6554 IS_CLOSED_PROPERTY,IS_ICON_PROPERTY,IS_MAXIMUM_PROPERTY,
6555 IS_SELECTED_PROPERTY,LAYERED_PANE_PROPERTY,MENU_BAR_PROPERTY,
6556 ROOT_PANE_PROPERTY,TITLE_PROPERTY): Made final as per API spec.
6557 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java
6558 (CLOSE_CMD,ICONIFY_CMD,MAXIMIZE_CMD,MOVE_CMD,RESTORE_CMD,SIZE_CMD):
6559 Made final as per API spec.
6561 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6563 * jni/gtk-peer/gtkpeer.h: Remove duplicated copyright string.
6565 2004-11-30 Sven de Marothy <sven@physto.se>
6567 * java/awt/geom/Arc2D.java: Reformatted.
6568 (setArc): Correct documentation to say 'upper left corner'.
6569 (setArcByTangent,contains,intersects): Implemented.
6570 (containsAngle): Corrected to handle negative extents.
6571 (ArcIterator): Set to private.
6572 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
6573 (intersects): Fix: Now checks the arc segment.
6574 (contains): Cleaned up.
6575 * java/awt/geom/CubicCurve2a.javaD: Fix insideness-test. Reindent.
6576 (contains): Implemented.
6577 (intersects): Implemented.
6578 * java/awt/geom/QuadCurve2D.java: Fix insideness-test. Reindent.
6579 * java/awt/geom/GeneralPath: Fix insideness-test. Reindent and
6580 document. Fully (re)implemented using separate xpoints and ypoints
6583 2004-11-30 Andreas Tobler <a.tobler@schweiz.ch>
6585 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
6586 * configure: Regenerate.
6587 * include/config.h.in: Likewise.
6588 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
6589 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
6591 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
6592 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
6593 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
6595 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
6598 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6600 * java/awt/SystemColor.java: Fix @link doc entries.
6602 2004-11-30 David Gilbert <david.gilbert@object-refinery.com>
6604 * java/awt/RenderingHints.java: Documented.
6605 (RenderingHints): Accept null init Map.
6606 (putAll): Preprocess map to generate appropriate exceptions.
6607 (remove): Cast object to Key and remove from hintMap.
6609 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6611 * java/awt/MenuComponent.java, java/awt/MenuBar.java:
6612 Implementation of accessibility classes and methods
6613 for these two components.
6615 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6617 * java/awt/KeyboardFocusManager.java:
6618 Added missing documentation.
6620 2004-11-30 Andrew John Hughes <gnu_andrew@member.fsf.org>
6622 * java/awt/Label.java, java/awt/Canvas.java:
6623 Added accessibility classes to AWT Label and Canvas,
6624 as well as additional documentation for Canvas.
6626 2004-11-30 David Gilbert <address@bogus.example.com>
6628 * java/awt/image/DataBuffer.java: Update API documentation.
6629 * java/awt/image/DataBufferByte.java: Likewise.
6630 * java/awt/image/DataBufferDouble.java: Likewise.
6631 * java/awt/image/DataBufferFloat.java: Likewise.
6632 * java/awt/image/DataBufferInt.java: Likewise.
6633 * java/awt/image/DataBufferShort.java: Likewise.
6634 * java/awt/image/DataBufferUShort.java: Likewise.
6636 2004-11-30 Dalibor Topic <robilad@kaffe.org>
6638 * java/awt/Component.java (postEvent):
6639 Only delegate to parent if a parent exists.
6640 Reported by: Stephane Meslin-Weber <steph@tangency.co.uk>
6642 2004-11-30 Sven de Marothy <sven@physto.se>
6644 *java/awt/AWTEventMulticaster.java,
6645 java/awt/Adjustable.java,
6646 java/awt/Point.java,
6647 java/awt/Polygon.java,
6648 java/awt/Rectangle.java,
6649 java/awt/Shape.java,
6650 java/awt/geom/Area.java,
6651 java/awt/geom/Ellipse2D.java,
6652 java/awt/geom/PathIterator.java,
6653 java/awt/geom/Point2D.java,
6654 java/awt/geom/Rectangle2D.java,
6655 java/lang/Comparable.java,
6656 java/util/Arrays.java:
6657 Fixed documentation errors
6659 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6661 * java/awt/image/ComponentSampleModel.java: Add documentation.
6664 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6666 * java/awt/image/ComponentSampleModel.java (constructor):
6667 Initialize numBanks when figuring out the max bank index.
6669 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6671 * java/awt/image/Raster.java (createPackedRaster): Implement
6672 MultiPixelPackedSampleModel codepath.
6674 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6676 * java/awt/image/MultiPixelPackedSampleModel.java: Implement.
6677 * Makefile.am: Add MultiPixelPackedSampleModel.java.
6678 * Makefile.in: Regenerate.
6680 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6682 * java/awt/image/Raster.java (getNumBands): Implement.
6684 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6686 * java/awt/image/Raster.java
6687 (createPackedRaster(int,int,int,int,int,Point)): Implement for
6690 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6692 * java/awt/image/SinglePixelPackedSampleModel.java
6693 (SinglePixelPackedSampleModel): Throw exception for unsupported
6696 2004-11-30 Jerry Quinn <jlquinn@optonline.net>
6698 * java/awt/image/ColorModel.java (getDataElement): Implemented.
6700 (getDataElements): Add missing version. Remove bogus version.
6703 2004-11-30 Olga Rodimina <rodimina@redhat.com>
6705 * javax/swing/plaf/basic/BasicComboBoxUI.java:
6706 (paintCurrentValue): Pass correct parameters to
6707 getListCellRendererComponent().
6708 (ListDataHandler.intervalRemoved): Implemented.
6709 (PropertyChangeHandler.propertyChange): Handle changes in
6710 MODEL_CHANGED_PROPERTY of the JComboBox
6711 * javax/swing/plaf/basic/BasicComboPopup.java:
6712 (BasicComboPopup): Moved code that configures popup to
6713 configurePopup() and call it instead.
6714 (firePopupMenuWillBecomeVisible): Implemented.
6715 (firePopupMenuWillBecomeInvisible): Likewise.
6716 (firePopupMenuCanceled): Likewise.
6717 (configureList): Set list's visibleRowCount same as
6718 comboBox's visibleRowCount.
6719 (configurePopup): Implemented.
6720 (getPopupHeightForRowCount): Get item's from JComboBox's model and
6721 not from model of the JList.
6722 (ListMouseMotionHandler.mouseMoved): Implemented.
6723 (PropertyChangeHandler.propertyChange): Handles change in the
6726 2004-11-30 Michael Koch <konqueror@gmx.de>
6728 * javax/swing/JComponent.java
6729 (isMaximumSizeSet): New method.
6730 (isMinimumSizeSet): Likewise.
6731 (isPreferredSizeSet): Likewise.
6733 2004-11-30 Michael Koch <konqueror@gmx.de>
6735 * javax/swing/JSpinner.java:
6737 (spinner): New field.
6738 (DefaultEditor): New method.
6739 (getSpinner): Likewise.
6740 (NumberEdito): Likewise.
6741 (getModel): Likewise
6743 2004-11-30 Michael Koch <konqueror@gmx.de>
6745 * javax/swing/InputVerifier.java:
6747 * javax/swing/JComponent.java
6748 (inputVerifier): New property field.
6749 (getInputVerifier): New method.
6750 (setInputVerifier): Likewise.
6752 2004-11-30 Michael Koch <konqueror@gmx.de>
6754 * javax/swing/JComponent.java
6755 (JComponent): Added javadoc comment.
6756 (setBorder): Fire property change eventr.
6757 (setEnabled): Likewise.
6758 (setMaximumSize): Likewise.
6759 (setMinimumSize): Likewise.
6760 (setPreferredSize): Likewise.
6761 (setOpaque): Likewise.
6763 2004-11-30 Michael Koch <konqueror@gmx.de>
6765 * javax/swing/JTextField.java
6766 (action): New field.
6767 (actionCommand): Likewise.
6768 (actionPropertyChangeListener): Likewise.
6769 (setHorizontalAlignment): Abort soon if new value == old value. Fire
6770 event before repainting.
6771 (postActionEvent): New method.
6772 (getAction): Likewise.
6773 (setAction): Likewise.
6774 (getActionCommand): Likewise.
6775 (setActionCommand): Likewise.
6776 (createActionPropertyChangeListener): Likewise.
6777 (configurePropertiesFromAction): Likewise.
6779 2004-11-30 Michael Koch <konqueror@gmx.de>
6781 * javax/swing/DebugGraphics.java:
6782 Re-formatted. Fixed some javadocs.
6783 * javax/swing/JApplet.java
6784 (rootPaneCheckingEnabled): Renamed from checking.
6785 * javax/swing/JCheckBox.java
6786 (BORDER_PAINTED_FLAT_CHANGED_PROPERTY): New statif field.
6787 * javax/swing/JFrame.java:
6788 Re-formatted a bit and reordered some methods.
6789 (rootPaneCheckingEnabled): Renamed from checking.
6790 (getPreferredSize): Simplified.
6791 * javax/swing/JTextArea.java
6792 (getColumnWidth): New method.
6793 (getLineCount): Likewise.
6794 (getLineStartOffset): Likewise.
6795 (getLineEndOffset): Likewise.
6796 (getLineOfOffset): Likewise.
6797 (getRowHeight): Likewise.
6799 (replaceRange): Likewise.
6800 * javax/swing/JTextField.java
6801 (scrollOffset): new field.
6802 (getScrollOffset): New method.
6803 (setScrollOffset): Likewise.
6804 (getColumnWidth): Likewise.
6805 * javax/swing/JTree.java
6806 (ANCHOR_SELECTION_PATH_PROPERTY): New static field.
6807 (CELL_EDITOR_PROPERTY): Likewise.
6808 (CELL_RENDERER_PROPERTY): Likewise.
6809 (EDITABLE_PROPERTY): Likewise.
6810 (EXPANDS_SELECTED_PATHS_PROPERTY): Likewise.
6811 (INVOKES_STOP_CELL_EDITING_PROPERTY): Likewise.
6812 (LARGE_MODEL_PROPERTY): Likewise.
6813 (LEAD_SELECTION_PATH_PROPERTY): Likewise.
6814 (ROOT_VISIBLE_PROPERTY): Likewise.
6815 (ROW_HEIGHT_PROPERTY): Likewise.
6816 (SCROLLS_ON_EXPAND_PROPERTY): Likewise.
6817 (SELECTION_MODEL_PROPERTY): Likewise.
6818 (SHOWS_ROOT_HANDLES_PROPERTY): Likewise.
6819 (TOGGLE_CLICK_COUNT_PROPERTY): Likewise.
6820 (TREE_MODEL_PROPERTY): Likewise.
6821 (VISIBLE_ROW_COUNT_PROPERTY): Likewise.
6822 (cellEditor): New field.
6823 (invokesStopCellEditing): Likewise.
6824 (largeModel): Likewise.
6825 (rowHeight): Likewise.
6826 (scrollsOnExpand): Likewise.
6827 (selectionModel): Likewise.
6828 (toggleClickCount): Likewise.
6829 (visibleRowCount): Likewise.
6830 (setShowsRootHandles): Fixed typo in method name.
6831 (getCellEditor): New method.
6832 (setCellEditor): Likewise.
6833 (getSelectionModel): Likewise.
6834 (setSelectionModel): Likewise.
6835 (getVisibleRowCount): Likewise.
6836 (setVisibleRowCount): Likewise.
6837 (isLargeModel): Likewise.
6838 (setLargeModel): Likewise.
6839 (getRowHeight): Likewise.
6840 (setRowHeight): Likewise.
6841 (getInvokesStopCellEditing): Likewise.
6842 (setInvokesStopCellEditing): Likewise.
6843 (getToggleClickCount): Likewise.
6844 (setToggleClickCount): Likewise.
6845 (getScrollsOnExpand): Likewise.
6846 (setScrollsOnExpand): Likewise.
6847 * javax/swing/table/DefaultTableColumnModel.java
6848 (addColumnModelListener): Fixed javadoc.
6849 (removeColumnModelListener): Implemented. Fixed javadoc.
6850 (getColumnModelListeners): New method.
6851 * javax/swing/table/JTableHeader.java
6852 (columnModel): Made protected.
6853 (draggedColumn): Likewise.
6854 (draggedDistance): Likewise.
6855 (reorderingAllowed): Likewise.
6856 (resizingAllowed): Likewise.
6857 (resizingColumn): Likewise.
6859 (updateTableInRealTime): Likewise.
6860 (createDefaultColumnModel): Renamed from
6861 createDefaultTableColumnModel.
6862 (setDefaultRenderer): New method.
6863 * javax/swing/table/TableColumn.java
6864 (getPropertyChangeListeners): New method.
6865 * javax/swing/text/DefaultHighlighter.java
6866 (drawsLayeredHighlights): New field.
6867 (getDrawsLayeredHighlights): New method.
6868 (setDrawsLayeredHighlights): Likewise.
6869 * javax/swing/text/DocumentFilter.java
6870 (FilterBypass): New inner class.
6871 (insertString): New method.
6873 (replace): Likewise.
6874 * javax/swing/text/JTextComponent.java
6875 (dragEnabled): New field.
6876 (getSelectedText): New method.
6877 (getDragEnabled): Likewise.
6878 (setDragEnabled): Likewise.
6879 (replaceSelection): Reimplemented.
6880 * javax/swing/text/NavigationFilter.java
6881 (FilterBypass): New inner class.
6882 (NavigationFilter): New method.
6883 (moveDot): Likewise.
6885 * javax/swing/text/SimpleAttributeSet.java
6886 (EMPTY): Made public final.
6888 2004-11-30 Michael Koch <konqueror@gmx.de>
6890 * javax/swing/SpinnerNumberModel.java
6891 (getMinimum): New method.
6892 (setMinimum): Likewise.
6893 (getMaximum): Likewise.
6894 (setMaximum): Likewise.
6895 (getStepSize): Likewise.
6896 (setStepSize): Likewise.
6898 2004-11-30 Michael Koch <konqueror@gmx.de>
6900 * javax/swing/JMenu.java
6901 (getMenuListeners): New method.
6902 (fireMenuSelected): Simplified.
6903 * javax/swing/JRootPane.java
6904 (NONE): New static field.
6906 (PLAIN_DIALOG): Likewise.
6907 (INFORMATION_DIALOG): Likewise.
6908 (ERROR_DIALOG): Likewise.
6909 (COLOR_CHOOSER_DIALOG): Likewise.
6910 (FILE_CHOOSER_DIALOG): Likewise.
6911 (QUESTION_DIALOG): Likewise.
6912 (WARNING_DIALOG): Likewise.
6913 (defaultButton): New field.
6914 (getDefaultButton): New method.
6915 (setDefaultButton): Likewise.
6916 * javax/swing/JScrollPane.java
6917 (getUI): New method.
6919 * javax/swing/JTable.java
6920 (getUI): Javadoc added.
6921 (setUI): New method.
6922 * javax/swing/JViewport.java
6923 (getUI): New method.
6925 * javax/swing/UIDefaults.java
6926 (removePropertyChangeListener): Made public.
6928 2004-11-30 Michael Koch <konqueror@gmx.de>
6930 * javax/swing/JApplet.java, javax/swing/JFrame.java:
6933 2004-11-30 Michael Koch <konqueror@gmx.de>
6935 * javax/swing/AbstractButton.java:
6936 Little re-formatting.
6937 (changeEvent): Made protected.
6938 (fireStateChanged): Removed argument.
6939 (setHorizontalAlignment): Abort method when old value is equal too new
6941 (setHorizontalTextPosition): Likewise.
6942 (setVerticalAlignment): Likewise.
6943 (setVerticalTextPosition): Likewise.
6944 (setBorderPainted): Likewise.
6945 (setIcon): Likewise.
6946 (setText): Likewise.
6947 (setIconTextGap): Likewise.
6948 (setMargin): Likewise.
6949 (setPressedIcon): Likewise.
6950 (setFocusPainted): Likewise.
6951 (setDisabledSelectedIcon): Likewise.
6952 (setRolloverIcon): Likewise.
6953 (setRolloverSelectedIcon): Likewise.
6954 (setSelectedIcon): Likewise.
6955 (setContentAreaFilled): Likewise.
6957 2004-11-30 Kim Ho <kho@redhat.com>
6959 * javax/swing/plaf/basic/BasicArrowButton.java:
6960 Jalopy. Reimplement.
6961 * javax/swing/plaf/basic/BasicScrollBarUI.java:
6963 (arrowIcon, upIcon, downIcon, leftIcon,
6964 rightIcon): Removed.
6965 (createIncreaseButton): Use BasicArrowButton.
6966 (createDecreaseButton): Ditto.
6967 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
6968 (createRightOneTouchButton): Remove button border.
6969 (createLeftOneTouchButton): Ditto.
6971 2004-11-30 Michael Koch <konqueror@gmx.de>
6973 * javax/swing/JSpinner.java
6974 (setModel): New method.
6975 * javax/swing/SpringLayout.java
6976 (Constraints): May not be final.
6978 2004-11-30 Michael Koch <konqueror@gmx.de>
6980 * gnu/java/awt/peer/gtk/GtkClipboard.java,
6981 java/awt/datatransfer/Clipboard.java,
6982 java/awt/datatransfer/ClipboardOwner.java:
6983 Reformated to make it use our coding standard.
6985 2004-11-30 Michael Koch <konqueror@gmx.de>
6987 * javax/swing/SpinnerNumberModel.java
6988 (SpinnerNumberModel): Implements java.io.Serializable.
6989 (serialVersionUID): New field.
6990 (SpinnerNumberModel): Added missing @throws tags to javadocs.
6991 * javax/swing/UIManager.java
6993 (getBoolean): Likewise.
6994 (getBorder): Likewise.
6995 (getColor): Likewise.
6996 (getDimension): Likewise.
6997 (getFont): Likewise.
6998 (getIcon): Likewise.
6999 (getInsets): Likewise.
7001 (getString): Likewise.
7003 2004-11-30 Michael Koch <konqueror@gmx.de>
7005 * javax/swing/JPasswordField.java:
7006 Reformated. Implemented construtors.
7007 * javax/swing/plaf/basic/BasicPasswordFieldUI.java
7008 (create): New method.
7009 * javax/swing/text/PlainView.java
7010 (selectedColor): Made package-private to allow access from sub-classes
7011 in same package too.
7012 (unselectedColor): Likewise.
7014 (drawSelectedText): Make protected.
7015 (drawUnselectedText): Likewise.
7016 * javax/swing/text/PasswordView.java: New file.
7017 * Makefile.am: Added javax/swing/text/PasswordView.java.
7018 * Makefile.in: Regenerated.
7020 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7022 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Set menu
7024 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (nativeSetHelpMenu):
7026 (addHelpMenu): Elide call to nativeSetHelpMenu.
7027 * java/awt/Menu.java (isTearOff): Rename to tearOff.
7028 (menuSerializedDataVersion): Initialize to 1.
7029 (separatorLabel): Mark transient.
7030 (insert(MenuItem,int)): Implement.
7031 * java/awt/MenuBar.java (setHelpMenu): Call getPeer to retrieve
7033 (countMenus): Count help menu.
7034 * java/awt/MenuComponent.java (nameExplicitlySet, newEventsOnly,
7035 accessibleContext): Add fields.
7036 * java/awt/MenuItem.java: Remove event mask FIXME.
7037 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7038 (gtkWidgetModifyFont): Only set font if label is non-NULL.
7039 (setLabel): Don't treat "-" specially.
7041 2004-11-30 Kim Ho <kho@redhat.com>
7043 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
7044 (stateChanged): Only update the image and the track if
7045 the values are not being adjusted.
7046 (updateChooser): Grab the new mouse point from the
7047 spinner values. Update the image and track only if
7048 the values are not being adjusted.
7049 (getHSBValues): New method.
7050 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
7051 (SliderHandler::stateChanged): Changed internalChange
7052 to updateChange. Set sliderChange.
7053 (SpinnerHandler::stateChanged): Ditto. Set spinnerChange.
7054 (spinnerChange): New variable.
7055 (sliderChange): Ditto.
7056 (updateChange): Renamed from internalChange.
7057 (updateChooser): Do not update sliders if the sliders
7058 were the original source of the change. Ditto for spinners.
7059 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
7060 (mousePress): Don't scroll the JViewport if there will
7061 be extra space at the end of the run. Change layout() to
7063 (calculateSize): Use the component's width/height unless
7064 it is smaller than the max tab width/height.
7065 (calculateTabRects): Subtract the tab run overlay.
7066 (rotateTabRuns): Don't rotate if there's only one run.
7067 (layoutContainer): Reuse the viewport point.
7068 (createLayoutManager): Set the viewport to use no layout.
7069 (paintTabArea): Don't paint the tabs that are not visible
7071 (paintContentBorderTopEdge): Check for scroll tab layout before
7073 (paintContentBorderLeftEdge): Ditto.
7074 (paintContentBorderBottomEdge): Ditto.
7075 (paintContentBorderRightEdge): Ditto.
7077 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7079 * gnu/java/awt/peer/gtk/GtkButtonPeer.java (gtkWidgetSetFont):
7081 (gtkWidgetModifyFont): New method.
7082 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
7083 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7084 (setMenuBarWidth): New method.
7085 (setBounds): Set the menu bar width.
7086 (postConfigureEvent): Set the menu bar width if the window's
7088 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java (GtkMenuBarPeer):
7090 (setFont): New method.
7091 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java (create): New
7093 (setFont): Likewise.
7094 (GtkMenuComponentPeer): Call create and setFont.
7095 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java,
7096 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
7097 (connectSignals): Make package private.
7098 (gtkWidgetModifyFont): New method.
7100 (GtkMenuItemPeer): Don't call create.
7101 (setFont): New method.
7102 * java/awt/CheckboxMenuItem.java (addNotify): Fix peer == null
7104 * java/awt/Container.java (validateTree): Fix comment typos.
7105 * java/awt/MenuComponent.java (getFont): Return parent's font if
7107 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c
7108 (create): Remove call to deprecated
7109 gtk_check_menu_item_set_show_toggle function.
7111 2004-11-30 Hans Boehm <Hans.Boehm@hp.com>
7113 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
7114 (Almost everywhere): add LOG calls, fix, add comments.
7115 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
7116 Add explicit check for LOCKED bit in slow case (PR 16662).
7117 (_Jv_MonitorExit): Add casts in debug-only code.
7118 Always release LOCKED bit before throwing exception.
7119 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
7120 isn't. Handle easy cases without lock acquisition.
7121 (Object::wait): Use NotifyAll for lock inflation.
7123 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7125 * gnu/java/awt/peer/gtk/GtkFramePeer.java,
7126 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c
7127 (gtkFixedMove): Remove method.
7129 2004-11-30 Sven de Marothy <sven@physto.se>
7131 * java/awt/geom/Area.java: Implemented.
7133 2004-11-30 Mark Wielaard <mark@klomp.org>
7135 * java/awt/geom/Arc2D.java (ArcIterator): Make package private.
7137 2004-11-30 Sven de Marothy <sven@physto.se>
7139 * java/awt/geom/Arc2D.java
7141 (setArc): Correct documentation to say 'upper left corner'.
7142 (setArcByTangent,contains,intersects): Implemented.
7143 (containsAngle): Corrected to handle negative extents.
7144 (ArcIterator): Set to private.
7145 (ArcIterator): Corrected for CHORD-type arcs, negative extents.
7146 * java/awt/geom/Ellipse2D.java
7148 (contains,intersects): Implemented.
7149 * java/awt/geom/Line2D.java
7150 (linesIntersect): Correct handling of special cases.
7152 2004-11-30 Mark Wielaard <mark@klomp.org>
7154 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Use
7155 Color.BLACK if c == null, don't create new Color object each time.
7156 * gnu/java/awt/peer/gtk/GdkGraphics2D.java (comp): New private
7158 (setColor): Use Color.BLACK when argument null.
7159 (setComposite): Set this.comp field.
7160 (getComposite): Return this.comp, or AlphaComposite.SrcOver when null.
7161 (DrawState.comp): New private field.
7162 (DrawState.save): Save Composite.
7163 (DrawState.restore): Restore comp field.
7164 * java/awt/FontMetrics.java (gRC): New static final private field.
7165 (getLineMetrics(String, Graphics)): New method.
7166 (getLineMetrics(String, int, int, Graphics)): Likewise.
7167 (getLineMetrics(char[], int, int, Graphics)): Likewise.
7168 (getLineMetrics(CharacterIterator, int, int, Graphics)): Likewise.
7169 * javax/swing/JMenu.java (JMenu(String, boolean)): Ignore tearoff
7170 argument. PR SWING/17294.
7171 * javax/swing/plaf/basic/BasicGraphicsUtils.java (): Always use
7172 the fall-back code since none of the TextArea methods are really
7173 implemented now. PR SWING/17296.
7174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c
7175 (GdkGlyphVector_setChars): Replace assert() with if block when
7176 pango_itemize() returns null. PR AWT/17295.
7177 (GdkGlyphVector_allInkExtents): Likewise when vec->glyphitems is null.
7179 2004-11-30 Thomas Fitzsimmons <fitzsim@redhat.com>
7181 * Makefile.am (gtk_c_source_files): Add
7182 gnu_java_awt_peer_gtk_GtkFramePeer.c.
7183 * Makefile.in: Regenerate.
7184 * gnu/java/awt/peer/gtk/GdkGraphics.java (getClipBounds): Remove
7186 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
7187 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
7188 (create): Pack GtkButton in GtkEventBox.
7189 (connectJObject): Remove.
7190 (focus_in_cb): New function.
7191 (focus_out_cb): Likewise.
7192 (connectSignals): Connect focus-in-event and focus-out-event
7194 (gtkSetFont): Rename to ...
7195 (gtkWidgetModifyFont): New method.
7196 (gtkWidgetRequestFocus): New method.
7197 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
7198 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
7199 (gtkSetFont): Rename to ...
7200 (gtkWidgetModifyFont): New method.
7201 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
7202 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
7203 (isInRepaint): New field.
7204 (gtkSetFont): Remove method.
7205 (addExposeFilter): Likewise.
7206 (removeExposeFilter): Likewise.
7207 (gtkWidgetQueueDrawArea): Rename to ...
7208 (gtkWidgetRepaintArea): New method.
7209 (beginNativeRepaint): New method.
7210 (endNativeRepaint): New method.
7211 (setComponentBounds): Move implementation here from
7213 (paint): Remove implementation.
7214 (repaint): Wrap call to gtkWidgetRepaintArea with calls to
7215 beginNativeRepaint and endNativeRepaint.
7216 (setBounds): Use menu bar height in bounds calculation.
7217 (postExposeEvent): Only post paint event if we're not doing a
7219 (gtkWidgetSetParent): Replace gtk_layout_put with gtk_fixed_put.
7220 (setNativeBounds): Replace gtk_layout_move with gtk_fixed_move.
7221 (find_gtk_layout): Remove function.
7222 (filter_expose_event_handler): Likewise.
7223 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (postExposeEvent):
7225 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
7226 (setComponentBounds): Call GtkComponentPeer's
7228 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight):
7230 (moveLayout): Rename to ...
7231 (gtkFixedMove): New method.
7232 (gtkLayoutSetVisible): Rename to ...
7233 (gtkFixedSetVisible): New method.
7234 (setMenuBar): Rearrange, to make the three separate cases
7236 (postExposeEvent): Only post paint event if we're not doing a
7238 * gnu/java/awt/peer/gtk/GtkGenericPeer.java,
7239 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c
7240 (gtkWidgetModifyFont): New method.
7241 * gnu/java/awt/peer/gtk/GtkImagePainter.java
7242 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,Color)):
7243 Call run directly, rather than spawning a new thread.
7244 (GtkImagePainter(GtkImage,GdkGraphics,int,int,int,int,int,int,int,int,Color)):
7246 * gnu/java/awt/peer/gtk/GtkLabelPeer.java,
7247 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c (gtkSetFont):
7249 (gtkWidgetModifyFont): New method.
7250 (create): Rename ebox to eventbox.
7251 * gnu/java/awt/peer/gtk/GtkListPeer.java,
7252 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
7254 (gtkWidgetModifyFont): New method.
7255 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
7256 (GtkMenuComponentPeer): Set the default font.
7257 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
7258 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
7259 (gtkSetFont): Rename to ...
7260 (gtkWidgetModifyFont): New method.
7261 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
7262 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
7263 * java/awt/Component.java (locale): Initialize to default
7265 * java/awt/Container.java (invalidateTree): Make
7267 (paint): Paint self first.
7268 (setMenuBar): Call invalidateTree.
7269 * java/awt/Panel.java (dispatchEventImpl): Remove method.
7270 * java/awt/Window.java (show): Call no-parameter variant of
7271 requestFocusInWindow.
7272 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (initState):
7273 Remove special case for window widget.
7274 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
7275 (grab_current_drawable): Likewise.
7276 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c
7277 (create): Replace GtkLayout with GtkFixed.
7278 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
7279 (pre_event_handler): Remove special cases for GDK_EXPOSE events.
7280 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFramePeer.c: New file.
7281 Move all GtkFramePeer native method implementations here from
7282 gnu_java_awt_peer_gtk_GtkWindowPeer.c.
7283 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
7284 Replace GtkLayout with GtkFixed.
7285 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
7286 (find_layout): Remove function.
7287 (create): Replace GtkLayout with GtkFixed.
7288 (connectSignals): Remove find_layout call.
7289 (toBack): Replace XFlush with gdk_flush.
7290 (toFront): Replace XFlush with gdk_flush.
7291 Move GtkFramePeer native method implementations to
7292 gnu_java_awt_peer_gtk_GtkFramePeer.c.
7293 * jni/gtk-peer/gtkpeer.h: Remove declaration of find_gtk_layout.
7295 2004-11-30 Michael Koch <konqueror@gmx.de>
7297 * javax/swing/JTextArea.java
7298 (lineWrap): Renamed from "wrapping".
7299 (wrapStyleWord): NEw field.
7300 (getLineWrap): Re-edited javadoc comment.
7301 (setLineWrap): Likewise.
7302 (getWrapStyleWord): New method.
7303 (setWrapStyleWord): Likewise.
7305 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
7307 * configure: Regenerate for libtool change.
7309 2004-11-29 Tom Tromey <tromey@redhat.com>
7311 * gnu/gcj/tools/gcj_dbtool/Main.java (main): Mention gcj-dbtool.
7312 Recognize --help and --version.
7313 (usage): Mention gcj-dbtool. Added "out" argument.
7316 2004-11-29 Eric Botcazou <ebotcazou@libertysurf.fr>
7318 * link.cc (link_symbol_table): Do not use intptr_t.
7320 2004-11-28 Mark Wielaard <mark@klomp.org>
7322 * mauve-libgcj: Disable SpinnerListModel, SwingUtilities and
7323 XMLDecoder tests which currently don't compile.
7325 2004-11-27 Andrew Haley <aph@redhat.com>
7327 * link.cc (ensure_class_linked): Conditionally compile
7328 _Jv_IsInterpretedClass on INTERPRETER.
7329 (print_class_loaded): Likewise.
7330 (wait_for_state): Likewise.
7331 * include/jvm.h (ROUND): Move to here from include/java-interp.h.
7332 * include/java-interp.h (ROUND): Remove.
7334 2004-11-25 Tom Tromey <tromey@redhat.com>
7336 * gnu/gcj/util/natDebug.cc (getField): Don't qualify name.
7337 * java/lang/Class.h (_Jv_Linker): Declare.
7338 (Class): Fix names of friends.
7339 (_Jv_getInterfaceMethod): Declare.
7341 2004-11-25 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
7343 * testsuite/lib/libjava.exp (libjava_arguments): Add new global
7344 variable libjava_ld_library_path.
7345 (gcj_invoke, libjava_invoke): Use it to set ld_library_path.
7347 2004-11-25 Bryce McKinlay <mckinlay@redhat.com>
7349 * java/util/ResourceBundle.java (BundleKey): Don't implement
7351 (BundleKey.clone): Removed.
7352 (getBundle): Copy BundleKey using constructor, not clone().
7354 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
7356 * configure: Regenerate for libtool reversion.
7358 2004-11-25 Michael Koch <konqueror@gmx.de>
7360 * Makefile.am: Added most of javax.print again.
7361 * Makefile.in: Regenerated.
7363 2004-11-25 Michael Koch <konqueror@gmx.de>
7365 * Makefile.am: Added most of javax.print again.
7366 * Makefile.in: Regenerated.
7368 2004-11-24 Tom Tromey <tromey@redhat.com>
7370 * Merged gcj-abi-2-dev-branch to trunk.
7372 2004-11-16 Tom Tromey <tromey@redhat.com>
7374 * include/java-interp.h (_Jv_DefineClass): Updated.
7375 * java/lang/natVMClassLoader.cc (defineClass): Pass protection
7376 domain to class reader.
7377 * defineclass.cc (parse): Use print_class_loaded.
7378 Include ProtectionDomain.h.
7379 (_Jv_DefineClass): Added ProtectionDomain argument.
7380 (_Jv_ClassReader): Likewise.
7381 * include/jvm.h (_Jv_Linker::print_class_loaded): Declare.
7382 * link.cc: Include CodeSource.h.
7383 (print_class_loaded): New function.
7384 (wait_for_state): Use it.
7386 2004-11-16 Andrew Haley <aph@redhat.com>
7388 * gnu/gcj/util/Debug.java (print): Add RawDataManaged.
7390 2004-11-16 Andrew Haley <aph@redhat.com>
7392 * configure.ac (LIBGCJ_LD_SYMBOLIC): AC_SUBST this definition.
7393 * configure.host: Define libgcj_ld_symbolic for Linux hosts.
7394 * Makefile.am (lib_*_la_LDFLAGS): Add LIBGCJ_LD_SYMBOLIC.
7395 * configure: Regenerate.
7396 * Makefile.in: Regenerate.
7398 2004-11-15 Andrew Haley <aph@redhat.com>
7400 * boehm.cc (_Jv_GCRegisterDisappearingLink): Check that *objp is a
7401 gc-allocated object.
7403 2004-11-15 Andrew Haley <aph@redhat.com>
7405 * java/net/URLClassLoader.java
7406 (URLLoader.getClassPath): New method.
7407 (JarURLLoader.JarURLLoader): Read mainfest to parse "Class-Path"
7408 attribute and add URLs for each entry.
7409 (JarURLLoader.classPath): New field.
7410 (JarURLLoader.getClassPath): New method.
7411 (addURLImpl): Scan through the list of extraUrls in the new
7412 loader, adding them to our urlinfos.
7413 (definePackage, findURLResource, findResources): Use
7414 urlinfos.size(), not urls.size().
7416 2004-11-11 Tom Tromey <tromey@redhat.com>
7418 * gnu/gcj/runtime/natSharedLibLoader.cc (ensureSupersLinked): New
7420 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Ensure supers
7422 (ensureSupersLinked): Declare.
7423 * java/lang/natVMClassLoader.cc (loadClass): Ensure supers
7426 2004-11-10 Tom Tromey <tromey@redhat.com>
7428 * gij.cc (main): Treat -verbose the same as -verbose:class.
7429 (help): Document -verbose and -verbose:class.
7431 * link.cc (verbose_class_flag): Declare.
7432 (wait_for_state): Print message when handling precompiled class.
7433 * java/lang/natClass.cc (verbose_class_flag): Moved to link.cc.
7435 2004-11-09 Tom Tromey <tromey@redhat.com>
7437 * testsuite/libjava.lang/assign2.out: New file.
7438 * testsuite/libjava.lang/assign2.java: New file.
7440 * java/lang/natRuntime.cc (insertSystemProperties): Set
7441 java.version to 1.4.2 and java.specification.version to 1.4. Set
7442 java.runtime.version.
7444 2004-11-08 Tom Tromey <tromey@redhat.com>
7446 * java/lang/natClass.cc (_Jv_IsAssignableFromSlow): Ensure
7448 * link.cc (verify_type_assertions): Don't link supers.
7450 * include/jvm.h (_Jv_Linker::search_method_in_class): Declare.
7451 * include/java-interp.h (class _Jv_InterpClass)
7452 <_Jv_PrepareMissingMethods>: No longer `friend'.
7453 * java/lang/Class.h (_Jv_SearchMethodInClass): No longer
7455 (_Jv_PrepareMissingMethods, _Jv_PrepareCompiledClass,
7456 _Jv_GetInterfaces, _Jv_GenerateITable, _Jv_FindIIndex,
7457 _Jv_AppendPartialITable, _Jv_LinkSymbolTable,
7458 _Jv_LayoutInterfaceMethods, _Jv_SetVTableEntries, _Jv_MakeVTable,
7459 _Jv_linkExceptionClassTable, _Jv_WaitForState): Likewise.
7460 * link.cc (search_method_in_class): Renamed from
7461 _Jv_SearchMethodInClass.
7462 (resolve_pool_entry): Updated.
7464 * include/jvm.h (_Jv_CheckAssignment): Removed.
7465 * java/lang/natClass.cc (_Jv_CheckAssignment): Removed.
7467 2004-11-05 Tom Tromey <tromey@redhat.com>
7469 * link.cc (verify_type_assertions): Ensure classes have supers
7470 linked. Strip off array types first.
7472 2004-11-05 Bryce McKinlay <mckinlay@redhat.com>
7474 * link.cc: Include VerifyError.h.
7475 (_Jv_Linker::verify_type_assertions): New. Read and evaluate entries
7476 in the type assertion table.
7477 * include/execution.h (_Jv_CompiledEngine::do_verify): Use
7478 verify_type_assertions.
7479 * include/jvm.h (_Jv_Linker::verify_type_assertions): declare.
7480 * java/lang/Class.h (JV_ASSERT_END_OF_TABLE,
7481 JV_ASSERT_TYPES_COMPATIBLE, JV_ASSERT_IS_INSTANTIABLE): Declare
7482 assertion code values.
7483 (struct _Jv_TypeAssertion): Declare.
7484 (assertion_table): New class field.
7485 (verify): Remove class field.
7487 2004-11-05 Andrew Haley <aph@redhat.com>
7489 * Makefile.am: Move jv_dbtool.java to
7490 gnu/gcj/tools/gcj_dbtool/Main.java.
7491 * Makefile.in: Rebuild.
7492 * java/lang/VMCompiler.java: Rename property
7493 "gnu.gcj.precompiled.db" to "gnu.gcj.precompiled.db.path".
7494 * gnu/gcj/tools/gcj_dbtool/Main.java: moved here from
7497 2004-11-05 Andrew Haley <aph@redhat.com>
7499 * jv_dbtool.java (main): Allow the user to specify the size of the
7500 database. Display the capacity and the size.
7501 (usage): Show the new option.
7503 2004-11-04 Tom Tromey <tromey@redhat.com>
7505 * include/jvm.h (_Jv_Linker::set_vtable_entries): Updated.
7506 * link.cc (make_vtable): Use correct index when searching for
7507 missing method's name. Don't use `flags'.
7508 (set_vtable_entries): Removed `flags' argument. Don't recurse
7510 (link_symbol_table): Ensure target class method table is
7511 complete. Ensure target fields are laid out before entering
7514 * java/lang/natClass.cc (_Jv_getInterfaceMethod): Indentation
7517 * interpret.cc (do_verify): Don't verify abstract methods.
7519 2004-11-01 Tom Tromey <tromey@redhat.com>
7521 * link.cc (wait_for_state): Call verify_class.
7523 * verify.cc (state::check_no_uninitialized_objects): Removed.
7524 (push_jump): Updated.
7525 (push_exception_jump): Likewise.
7526 (handle_ret_insn): Likewise.
7527 (handle_jsr_insn): Likewise.
7529 2004-10-28 Andrew Haley <aph@redhat.com>
7531 * gnu/gcj/runtime/PersistentByteMap.java: New file.
7532 * jv_dbtool.java: New file.
7533 * Makefile.am (bin_PROGRAMS): Add jv-dbtool
7534 (jv_dbtool_SOURCES, jv_dbtool_LDFLAGS, jv_dbtool_LINK)
7535 (jv_dbtool_LDADD, jv_dbtool_DEPENDENCIES): New.
7536 * Makefile.in: Regenerate,
7537 * java/lang/VMCompiler.java: Import NoSuchAlgorithmException,
7538 Enumeration, StringTokenizer, Vector, PersistentByteMap.
7539 (precompiledMapFiles): New variable.
7540 (VMCompiler static intializer): Read "gnu.gcj.precompiled.db" to
7541 initialize precompiledMapFiles.
7542 (compileClass): Look at the database of precompiled class files
7543 before firing up gcj.
7545 * gnu/gcj/runtime/VMClassLoader.java (findClass): Fix comment.
7547 2004-10-27 Andrew Haley <aph@redhat.com>
7549 * java/lang/VMCompiler.java (compileClass): try looking for
7550 precompiledMapFiles.
7551 * gnu/gcj/runtime/PersistentByteMap.java: New file.
7553 2004-10-27 Tom Tromey <tromey@redhat.com>
7555 * link.cc (ensure_class_linked): Only resolve classes for
7557 (add_miranda_methods): Ensure interface supers are installed.
7558 (resolve_pool_entry): Better error message.
7560 2004-10-25 Tom Tromey <tromey@redhat.com>
7562 * boehm.cc (_Jv_MarkObj): Test aux_info before dereferencing it.
7564 * java/util/ResourceBundle.java (tryBundle): Use
7565 Class.isAssignableFrom rather than catching ClassCastException.
7567 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
7568 exception if we hit EOF of `in'.
7569 (read): Handle case where inflating returns -1.
7571 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
7573 * gnu/java/text/SentenceBreakIterator.java
7574 (SentenceBreakIterator): Don't initialize `iter'.
7575 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
7577 * gnu/java/text/CharacterBreakIterator.java
7578 (CharacterBreakIterator): Don't initialize `iter'.
7579 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
7581 * java/text/BreakIterator.java: Updated documentation.
7583 2004-10-20 Tom Tromey <tromey@redhat.com>
7585 * java/util/ResourceBundle.java (tryBundle): Also ignore
7588 2004-10-18 Tom Tromey <tromey@redhat.com>
7590 * interpret.cc (do_post_miranda_hook): New method.
7591 * include/execution.h (_Jv_ExecutionEngine::post_miranda_hook):
7593 (_Jv_CompiledEngine::do_post_miranda_hook): New method.
7594 (_Jv_CompiledEngine): Initialize new field.
7595 (_Jv_InterpreterEngine::do_post_miranda_hook): Declare.
7596 (_Jv_InterpreterEngine): Initialize new field.
7597 * link.cc (resolve_pool_entry): Put Miranda methods in target
7599 (ensure_method_table_complete): Call post_miranda_hook.
7600 * java/lang/natVMClassLoader.cc (defineClass): Don't set class'
7602 * defineclass.cc (read_one_method_attribute): Use _Jv_AllocBytes.
7603 (parse): Set class' aux_info here.
7605 * boehm.cc (_Jv_MarkObj): Mark `throws'.
7607 * boehm.cc: Re-merged with trunk.
7609 2004-10-18 Andrew Haley <aph@redhat.com>
7612 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
7613 and correct logic used to find interpreter.
7615 2004-10-13 Andrew Haley <aph@redhat.com>
7617 * interpret.cc (_Jv_InterpMethod::run): Initialize
7618 _Jv_StartOfInterpreter.
7619 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
7620 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
7621 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
7622 _Unwind_FindEnclosingFunction to discover whether PC is within the
7625 2004-10-13 Tom Tromey <tromey@redhat.com>
7627 * link.cc (find_iindex): Copy correct number of slots to new
7630 2004-10-12 Tom Tromey <tromey@redhat.com>
7632 * testsuite/libjava.loader/loader.exp (gcj_object_file_name): New
7634 (gcj_loader_test_one): Use it.
7635 (gcj_loader_run): Likewise.
7637 * prims.cc: Don't include FirstThread.h.
7639 2004-10-06 Tom Tromey <tromey@redhat.com>
7641 * link.cc (ensure_method_table_complete): Ensure superclass
7642 Miranda methods installed.
7644 * include/java-interp.h (class _Jv_JNIMethod): Added
7645 JV_MARKOBJ_DECL as a friend.
7646 * interpret.cc (ncode): Allocate jni_arg_types field with GC.
7647 * boehm.cc (_Jv_MarkObj): Skip abstract methods when marking
7648 interpreter method structures. Mark jni_arg_types of JNI
7651 * defineclass.cc (parse): Use JV_STATE_READ.
7652 * java/lang/Class.h (JV_STATE_READ): New enum value.
7654 2004-10-05 Tom Tromey <tromey@redhat.com>
7656 * link.cc (resolve_pool_entry): Add signature info to missing
7657 method's information.
7659 * gnu/gcj/util/Debug.java (Debug(int,boolean)): New constructor.
7660 * gnu/gcj/util/natDebug.cc (_Jv_StaticDeepDebug): New function.
7662 2004-10-04 Tom Tromey <tromey@redhat.com>
7664 * boehm.cc (_Jv_MarkObj): Correctly indicate base pointer when
7667 2004-09-29 Tom Tromey <tromey@redhat.com>
7669 * Makefile.am (libgcj_la_SOURCES): Mention link.cc, not
7671 * include/jvm.h (class _Jv_Linker): Renamed from _Jv_Resolver.
7672 * jni.cc: Use _Jv_Linker.
7673 * interpret.cc: Use _Jv_Linker.
7674 * java/lang/reflect/natField.cc (getType): Use _Jv_Linker.
7675 * java/lang/natClassLoader.cc: Use _Jv_Linker.
7676 * java/lang/natVMClassLoader.cc (resolveClass): Use _Jv_Linker.
7677 * java/lang/Class.h: Use _Jv_Linker.
7678 * java/lang/natClass.cc (initializeClass): Use _Jv_Linker.
7679 * resolve.cc: Renamed ...
7680 * link.cc: ... here. Use _Jv_Linker.
7681 * defineclass.cc (checkExtends): Use _Jv_Linker.
7683 2004-09-17 Tom Tromey <tromey@redhat.com>
7685 * defineclass.cc (handleCodeAttribute): Don't reference
7687 (handleMethodsEnd): Likewise.
7688 * include/java-interp.h (_Jv_MethodBase::deferred): Removed
7690 (_Jv_Defer_Resolution): Don't declare or define.
7691 * interpret.cc (do_create_ncode): Don't resolve deferred method
7693 * java/lang/Class.h (_Jv_Defer_Resolution): Don't declare.
7694 * resolve.cc (link_symbol_table): No need to defer resolution.
7696 2004-09-14 Tom Tromey <tromey@redhat.com>
7698 * boehm.cc (MAYBE_MARK): Remove unused `Exit' argument.
7699 (_Jv_MarkObj): Updated.
7700 (_Jv_MarkArray): Likewise.
7702 * include/jvm.h (StringClass): Removed.
7703 * jni.cc (_Jv_JNI_ThrowNew): Don't use StringClass.
7704 * interpret.cc (_Jv_InitField): Don't use StringClass.
7705 * java/lang/natString.cc (_Jv_StringFindSlot): Don't use
7709 (_Jv_FinalizeString): Likewise.
7710 (_Jv_NewStringUtf8Const): Likewise.
7712 * prims.cc (JvConvertArgv): Don't use StringClass.
7714 * gcj/field.h (struct _Jv_Field): Don't mention COMPACT_FIELDS.
7715 * resolve.cc (ensure_fields_laid_out): Don't mention
7717 * defineclass.cc (handleField): Don't mention COMPACT_FIELDS.
7718 * boehm.cc (_Jv_MarkObj): Don't mention COMPACT_FIELDS.
7720 * java/lang/reflect/natField.cc (getType): Use resolve_field.
7721 * java/lang/natVMClassLoader.cc (resolveClass): New native
7723 (linkClass0): Removed.
7724 (markClassErrorState0): Likewise.
7725 * java/lang/natClassLoader.cc: Include execution.h. Moved class
7726 preparation code to resolve.cc.
7727 (_Jv_RegisterClassHookDefault): Set class's execution engine if
7729 (_Jv_FindClass): Use wait_for_state.
7730 (_Jv_NewArrayClass): Likewise. Simplified permissions setting.
7731 * java/lang/natClass.cc (_Jv_IsInstanceOf): Include execution.h.
7732 Moved interface table and class preparation code to resolve.cc.
7733 (finalize): Rewrote.
7734 (initializeClass): Simplified locking and class preparation.
7735 * java/lang/VMClassLoader.java (linkClass0): Removed.
7736 (markClassErrorState0): Likewise.
7737 (resolveClass): Now native.
7738 (transformException): New method.
7739 * java/lang/Class.h (getSuperclass): Don't try to resolve super
7741 (getInterface): Likewise.
7743 (set_state): New method.
7744 (Class): Updated friend declarations.
7745 (verify): Field now private.
7746 (engine): New field.
7747 * include/jvm.h (class _Jv_Resolver): New class declaration.
7748 (_Jv_ResolveField): Removed declaration.
7749 (_Jv_CheckAccessNoInit): Likewise.
7750 (_Jv_isBinaryCompatible): Removed.
7751 * include/java-interp.h (class _Jv_MethodBase): Updated friend
7753 (class _Jv_InterpMethod): Likewise.
7754 (class _Jv_InterpClass): Likewise.
7755 (class _Jv_JNIMethod): Likewise.
7756 * include/execution.h: New file.
7757 * gnu/gcj/runtime/natSharedLibLoader.cc: Include execution.h.
7758 (_Jv_sharedlib_register_hook): Set `engine' on loaded class.
7759 Register class after setting fields.
7760 * resolve.cc: Include execution.h, VerifyError.h. Moved
7761 interpreter-specific code to interpret.cc.
7762 (uaddr): New location.
7763 (struct aligner): Likewise.
7764 (ALIGNOF): Likewise.
7765 (INITIAL_IOFFSETS_LEN): Interface dispatch code moved here.
7766 (INITIAL_IFACES_LEN): Likewise.
7767 (null_idt): Likewise.
7768 (_Jv_GetMethodString): Likewise.
7769 (_Jv_ThrowNoSuchMethodError): Likewise.
7770 (_Jv_abstractMethodError): Likewise.
7771 (_Jv_Resolver::get_alignment_from_class): Renamed.
7772 (_Jv_Resolver::resolve_field): Likewise.
7773 (_Jv_Resolver::resolve_pool_entry): Likewise.
7774 (_Jv_Resolver::resolve_class_ref): Likewise.
7775 (_Jv_Resolver::prepare_constant_time_tables): Likewise.
7776 (_Jv_Resolver::indexof): Likewise.
7777 (_Jv_Resolver::get_interfaces): Likewise.
7778 (_Jv_Resolver::generate_itable): Likewise.
7779 (_Jv_Resolver::append_partial_itable): Likewise.
7780 (_Jv_Resolver::find_iindex): Likewise.
7781 (_Jv_Resolver::link_symbol_table): Likewise.
7782 (_Jv_Resolver::link_exception_table): Likewise.
7783 (_Jv_Resolver::layout_interface_methods): Likewise.
7784 (_Jv_Resolver::layout_vtable_methods): Likewise.
7785 (_Jv_Resolver::set_vtable_entries): Likewise.
7786 (_Jv_Resolver::make_vtable): Likewise.
7787 (_Jv_Resolver::ensure_fields_laid_out): Likewise.
7788 (_Jv_Resolver::ensure_class_linked): Likewise.
7789 (_Jv_Resolver::ensure_supers_installed): Likewise.
7790 (_Jv_Resolver::add_miranda_methods): Likewise.
7791 (_Jv_Resolver::ensure_method_table_complete): Likewise.
7792 (_Jv_Resolver::verify_class): Likewise.
7793 (_Jv_Resolver::wait_for_state): Likewise.
7794 * prims.cc (_Jv_soleCompiledEngine): New global.
7795 (_Jv_CheckAccess): Use _Jv_IsAssignableFromSlow.
7796 (_Jv_CheckAccessNoInit): Removed.
7797 * jni.cc (_Jv_JNI_GetAnyFieldID): Use resolve_field.
7798 * interpret.cc: Include platform.h, ClassFormatError.h,
7799 Modifier.h, execution.h.
7800 (_Jv_soleInterpreterEngine): New global.
7801 (compile): Use resolve_pool_entry.
7803 (_Jv_InitField): New location.
7804 (skip_one_type): Likewise.
7805 (get_ffi_type_from_signature): Likewise.
7806 (_Jv_count_arguments): Likewise.
7807 (init_cif): Likewise.
7808 (ncode_closure): Likewise.
7809 (ffi_closure_fun): Likewise.
7811 (throw_class_format_error): Likewise.
7812 (throw_class_format_error): Likewise.
7813 (_Jv_InterpreterEngine::do_verify): New method.
7814 (_Jv_InterpreterEngine::do_create_ncode): Likewise.
7815 (_Jv_InterpreterEngine::do_allocate_static_fields): Likewise.
7816 (_Jv_InterpreterEngine::do_resolve_method): Likewise.
7817 * defineclass.cc: Include execution.h.
7818 (_Jv_ClassReader): Initialize size_in_bytes, vtable_method_count,
7820 (checkExtends): Ensure superclass has supers installed.
7821 (_Jv_ClassNameSamePackage): Clarify usage constraints.
7822 * boehm.cc (GC_enable, GC_disable): Declare at top of file.
7823 (_Jv_MarkObj): Unconditionally mark vtable. Mark interface
7826 2004-09-13 Tom Tromey <tromey@redhat.com>
7828 * mauve-libgcj: List some classes we don't have.
7830 2004-09-10 Andrew Haley <aph@redhat.com>
7832 * java/lang/Class.h (_Jv_getInterfaceMethod(): new friend.
7833 * java/lang/natClass.cc (initializeClass): Check itable.
7834 (_Jv_getInterfaceMethod): New.
7835 (_Jv_LinkSymbolTable): Rewrite code that handles inerface calls.
7836 Check that an interface method isn't called with invokevirtual.
7838 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Make sure
7839 super_meth is virtual.
7841 2004-09-01 Tom Tromey <tromey@redhat.com>
7843 * java/lang/Class.h (_Jv_CheckAccessNoInit): Declare as friend.
7844 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Use
7845 _Jv_CheckAccessNoInit.
7846 * include/jvm.h (_Jv_CheckAccessNoInit): Declare.
7847 * prims.cc (_Jv_CheckAccessNoInit): New method.
7849 * java/lang/reflect/natMethod.cc (invoke): Check access against
7850 declaring class, not object's class.
7851 * java/lang/natClass.cc (_Jv_LookupDeclaredMethod): Added another
7853 (_Jv_LayoutVTableMethods): Perform checks of accessibility of
7855 * java/lang/Class.h (_Jv_LookupDeclaredMethod): Added another
7858 2004-08-30 Andrew Haley <aph@redhat.com>
7860 * java/lang/natClass.cc (_Jv_CheckAssignment): Catch
7861 ClassNotFoundException.
7862 Throw NoClassDefFoundError.
7864 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Remove call
7865 to klass->verify() from here ...
7866 (_Jv_PrepareCompiledClass): ...and put it here.
7868 2004-08-27 Andrew Haley <aph@redhat.com>
7870 * java/lang/natClassLoader.cc (_Jv_FindClassInCache): Call
7872 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Add debugging.
7873 (_Jv_LinkSymbolTable): Call Jv_LayoutClass on target class.
7875 2004-08-27 Tom Tromey <tromey@redhat.com>
7877 * java/lang/Class.h (_Jv_IsAssignableFromSlow): Declare as
7879 * java/lang/natClass.cc (_Jv_CheckAssignment): New function.
7880 (_Jv_IsAssignableFromSlow): New function.
7881 Include VerifyError.h.
7882 * include/jvm.h (_Jv_CheckAssignment): Declare.
7884 2004-08-18 Andrew Haley <aph@redhat.com>
7886 * java/lang/VMCompiler.java (loadSharedLibrary): Add className
7887 argument. Pass it to findClass instead of fileName.
7888 (compileClass): Pass class name to loadSharedLibrary.
7890 2004-06-22 Andrew Haley <aph@redhat.com>
7892 * testsuite/libjava.compile/compile.exp: Force indirect dispatch.
7894 2004-06-15 Andrew Haley <aph@redhat.com>
7896 * java/lang/natSystem.cc (getenv0): Don't assume environment
7897 variable is Latin 1 coded.
7899 2004-06-07 Andrew Haley <aph@redhat.com>
7901 * java/lang/System.java: (getenv0): New method.
7902 (getenv): Add security check. Do the right thing.
7903 * java/lang/natSystem.cc (getenv0): New method.
7905 2004-04-19 Andrew Haley <aph@redhat.com>
7907 * gnu/gcj/runtime/NameFinder.java: Call waitFor() on the processes
7910 * gnu/java/net/natPlainSocketImplPosix.cc (read): The value byte
7911 is returned as an int in the range 0 to 255.
7913 2004-08-13 Tom Tromey <tromey@redhat.com>
7915 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Prepare the target
7916 class if it is interpreted.
7918 2004-08-12 Tom Tromey <tromey@redhat.com>
7920 * java/lang/natClassLoader.cc (_Jv_WaitForState): Updated.
7921 * java/lang/Class.h (_Jv_ResolveClassRef): Updated declaration.
7922 (Class::getSuperclass): Updated.
7923 (Class::getInterfaces): Likewise.
7924 (Class::size): Updated.
7925 (_Jv_LayoutClass): Updated declaration.
7926 * java/lang/natClass.cc (_Jv_ResolveClassRef): Changed interface.
7927 Synchronize on class.
7928 (_Jv_LayoutClass): Changed interface.
7929 (initializeClass): Updated.
7930 (_Jv_LinkSymbolTable): Likewise.
7932 * java/lang/Class.h (Class::_Jv_isBinaryCompatible): Declare as
7934 * java/lang/natClassLoader.cc (_Jv_WaitForState): Use
7935 _Jv_isBinaryCompatible.
7936 * java/lang/natClass.cc (initializeClass): Use
7937 _Jv_isBinaryCompatible.
7938 (_Jv_LinkSymbolTable): Likewise.
7939 * include/jvm.h (_Jv_isBinaryCompatible): New function.
7941 2004-08-11 Tom Tromey <tromey@redhat.com>
7943 * gcj/javaprims.h: Regenerated.
7944 * java/lang/natClassLoader.cc (getClassLoader0): Removed.
7945 (_registerClass): Likewise.
7946 * Makefile.in: Rebuilt.
7947 * Makefile.am (core_java_source_files): Added VMCompiler.
7948 * java/lang/Compiler.java: Rewrote in terms of VMCompiler.
7949 * java/lang/VMCompiler.java: New file.
7950 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Removed
7952 (copyFile): Don't use fully-qualified name.
7954 * java/lang/natVMClassLoader.cc: Include VMCompiler.h.
7955 (defineClass): Use VMCompiler.
7956 * java/lang/ClassLoader.java (defineClass): Removed jit
7957 compilation code and `verbose' code.
7958 (getClassLoader0): Removed.
7959 (_registerClass): Likewise.
7960 (SharedLibHelpers): Removed.
7962 2004-08-10 Tom Tromey <tromey@redhat.com>
7964 * java/net/URLClassLoader.java (URLLoader(URLClassLoader, URL,
7965 URL)): New constructor.
7966 (SoURLLoader): Likewise.
7967 (JarURLLoader): Create SoURLLoader with override URL.
7969 2004-08-10 Mark Wielaard <mark@klomp.org>
7971 * Makefile.in: Rebuilt.
7972 * Makefile.am (interpret.lo): New rule.
7974 2004-08-05 Andrew Haley <aph@redhat.com>
7976 * java/net/URLClassLoader.java (JarURLLoader.JarURLLoader): Look
7977 aside for "GCJLIBS" in directory where jarfiles are loaded.
7978 (JarURLLoader.getClass): New method.
7979 (JarURLLoader.toString): New method.
7980 (FileResource.toString): New method.
7981 * java/lang/natClassLoader.cc (_Jv_RegisterClassHookDefault):
7982 Remove "Duplicate class registration: " bug.
7983 (_registerClass): New method.
7984 * java/lang/natClass.cc (_Jv_LinkSymbolTable): Check method index.
7985 (_Jv_LinkSymbolTable): Call _Jv_LayoutClass().
7987 (_Jv_LayoutClass): Use getSuperclass() rather than directly
7988 accessing the field.
7989 * java/lang/ClassLoader.java (SharedLibHelpers): New variable.
7990 (defineClass): Call gcj to JIT-compile a class.
7991 (_registerClass): New method.
7992 * gnu/gcj/runtime/SharedLibHelper.java (findHelper): A shared
7993 library name can refer to more than one loaded library, so use a
7994 Set of SharedLibHelpers.
7995 If a shared library is already loaded, take a copy.
7996 (copyFile): New function.
7998 * testsuite/libjava.compile/compile.exp: Force
7999 -findirect-dispatch.
8001 * java/security/BasicPermission.java: Remove bogus checks.
8003 * java/lang/System.java (getenv0): New method.
8004 * java/lang/natSystem.cc (getenv0): New method.
8006 2004-05-24 Andrew Haley <aph@redhat.com>
8008 * java/lang/natClass.cc (_Jv_LayoutClass): Remove warning message.
8010 2004-04-20 Bryce McKinlay <mckinlay@redhat.com>
8012 * Merged with HEAD as of 20040514. Diff against
8013 gcj-abi-2-merge-20040514.
8015 2004-04-16 Andrew Haley <aph@redhat.com>
8017 * java/lang/natClassLoader.cc (_Jv_WaitForState): Call
8019 (_Jv_PrepareCompiledClass): Cast address to uaddr for comparison.
8020 (_Jv_PrepareCompiledClass): If we throw an exception during
8021 preparation, restore state.
8022 (ClassLoader::getClassLoader0): New method.
8024 * java/lang/natClass.cc (get_alignment_from_class): Moved here
8026 (ALIGNOF): Use offsetof, not __alignof__.
8027 (_Jv_ResolveClassRef): Resolve a reference to a class in a
8029 (getInterfaces): Emit debug output if interface hasn't been
8031 (initializeClass): Call _Jv_LayoutClass.
8032 (_Jv_LinkSymbolTable): Add debugging output.
8033 (_Jv_LinkSymbolTable): NoClassDefFoundError if target_class isn't
8035 (_Jv_LinkSymbolTable): Call _Jv_PrepareClass.
8036 (_Jv_LinkSymbolTable): Pass the real class loader to
8038 (_Jv_linkExceptionClassTable): Don't throw if we fail to find an
8040 (_Jv_LinkSymbolTable): Assert if we find a static field reference
8041 to an interpreted class.
8042 (_Jv_LayoutVTableMethods): Use klass->getSuperclass to get the
8044 (_Jv_LayoutClass): Moved here; it was part of _Jv_PrepareClass in
8047 * java/lang/VMSecurityManager.java: Check for the system class
8048 loader as well as loader != null.
8050 * java/lang/SecurityManager.java (checkPermission): Remove
8052 (checkRead): Likewise.
8053 (checkConnect): Likewise.
8055 * java/lang/ClassLoader.java (loadClass): Include all class
8056 loaders in stack trace string.
8057 Look for class in "gcjlib.so" in the same directory.
8058 (getSystemClassLoader) Use getClassLoader0.
8059 (getClassLoader0): New native method.
8061 * java/lang/Class.h (getSuperclass): New method.
8062 (getInterface): New method.
8063 (size): Lay out class if needed.
8064 (firstMethodIndex): New method.
8065 (Jv_ResolveClassRef): New declaration.
8066 (_Jv_LinkSymbolTable): New declaration.
8068 * java/io/ObjectOutputStream.java: Add DEBUG statements
8070 (dumpElementln): New method.
8072 * java/io/ObjectInputStream.java (MyIOException): new, for
8074 Everywhere: use MyIOException rather than IOException.
8075 Indent debugging output to make nesting visible.
8076 (currentClassLoader): Make native
8077 (callersClassLoader): New field.
8079 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
8082 (readObject): ENDBLOCKDATA is generated if the class has a write
8083 method, not if it has a read method.
8085 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg, iface.
8087 * gnu/javax/rmi/CORBA/DelegateFactory.java: Use the
8088 getContextClassLoader form the current thread after our own class
8091 * gnu/gcj/runtime/SharedLibHelper.java (findClass): Class loader
8093 (toString): New method.
8095 * verify.cc (class _Jv_BytecodeVerifier): Don't directly access
8098 * resolve.cc (_Jv_PrepareMissingMethods): If interface looks like
8099 a constant pool entry, resolve it now.
8100 (_Jv_PrepareClass): Break out part of this function to Jv_LayoutClass
8102 Move get_alignment_from_class to natClass.cc.
8104 * prims.cc (_Jv_AllocObjectNoFinalizer): Use size field from class.
8105 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
8107 * defineclass.cc (checkExtends): Don't access superclass field
8110 * Makefile.in: regenerate.
8112 * gnu/gcj/util/natDebug.cc: New
8113 * gnu/gcj/util/Debug.java: New.
8115 * Makefile.am (java/io/ObjectInputStream.lo): Use
8116 -fno-optimize-sibling-calls.
8118 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
8119 _Jv_LookupInterfaceMethodIdx to calculate the address of a method
8121 * include/jvm.h (_Jv_CallAnyMethodA): Add new arg: iface.
8123 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
8125 * configure: Regenerate for libtool change.
8127 2004-11-24 Michael Koch <konqueror@gmx.de>
8129 * gnu/java/security/PolicyFile.java: New file.
8130 * Makefile.am: Added gnu/java/security/PolicyFile.java.
8131 * Makefile.in: Regenerated.
8133 2004-11-24 Michael Koch <konqueror@gmx.de>
8135 * java/lang/Character.java, scripts/unicode-blocks.pl:
8136 Reorder "final static" to "static final".
8138 2004-11-24 Michael Koch <konqueror@gmx.de>
8140 * java/util/ResourceBundle.java: Reformatted.
8141 (tryBundle): Fixed javadoc.
8143 2004-11-24 Jeroen Frijters <jeroen@frijters.net>
8145 * java/text/MessageFormat.java
8146 (formatInternal): Made private.
8148 2004-11-24 Michael Koch <konqueror@gmx.de>
8150 * java/nio/DirectByteBufferImpl.java
8151 (ReadWrite.ReadWrite): New constructor.
8152 (DirectByteBufferImpl): Likewise.
8153 * jni.cc (_Jv_JNI_NewDirectByteBuffer):
8154 Use DirectByteBufferImpl.ReadWrite.
8156 Generate java/nio/DirectByteBufferImpl$ReadWrite.h.
8157 * Makefile.in: Rgenerated.
8159 2004-11-24 Jeroen Frijters <address@bogus.example.com>
8161 * java/nio/DirectByteBufferImpl.java
8162 (ReadOnly): New inner subclass.
8163 (ReadWrite): New inner subclass.
8164 (owner): Made final and private.
8165 (address): Made final.
8166 (DirectByteBufferImpl(int)): New constructor.
8167 (DirectByteBufferImpl(Object,RawData,int,int,int)): New constructor.
8168 (DirectByteBufferImpl(Object,RawData,int,int,int,boolean)): Removed.
8169 (allocate): Modified to instantiate ReadWrite subclass.
8170 (finalize): Fixed to only free the buffer, if we own it.
8171 (put): Removed read-only check.
8172 (slice, duplicate): Modified to instantiate appropriate subclass.
8173 (isReadOnly): Removed.
8174 * java/nio/MappedByteBufferImpl.java
8175 (slice, duplicate): Modified to instantiate appropriate
8176 DirectByteBufferImpl subclass.
8178 2004-11-24 Michael Koch <konqueror@gmx.de>
8180 * gnu/java/nio/NIOServerSocket.java: Added email to @author tag.
8181 * java/nio/DirectByteBufferImpl.java:
8182 Moved native methods to java.nio.VMDirectByteBuffer class.
8183 * java/nio/MappedByteBufferImpl.java:
8184 Use native methods from java.nio.VMDirectByteBuffer class.
8185 * java/nio/VMDirectByteBuffer.java: New file,
8186 * java/nio/natDirectByteBufferImpl.cc:
8187 Moved all methods into java.nio.VMDirectByteBuffer class.
8188 * java/nio/channels/spi/AbstractSelectableChannel.java
8189 (register): Only re-use valid keys.
8190 * Makefile.am: Added java/nio/VMDirectByteBuffer.java.
8191 * Makefile.in: Regenerated.
8193 2004-11-24 Michael Koch <konqueror@gmx.de>
8195 * java/nio/DirectByteBufferImpl.java,
8196 java/nio/MappedByteBufferImpl.java:
8199 2004-11-23 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
8201 * testsuite/lib/libjava.exp,
8202 testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp.
8204 2004-11-23 Richard Sandiford <rsandifo@redhat.com>
8206 * configure.host: Enable the interpreter for mips*-*-linux*.
8208 2004-11-23 Michael Koch <konqueror@gmx.de>
8210 * java/lang/String.java (rehash): Removed.
8211 * java/lang/natString.cc (rehash): Made static.
8212 (_Jv_NewStringUtf8Const): Use static rehash method.
8214 2004-11-23 Michael Koch <konqueror@gmx.de>
8216 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
8217 include/Makefile.in, testsuite/Makefile.in: Regenerated.
8219 2004-11-22 Eric Botcazou <ebotcazou@libertysurf.fr>
8222 * configure.ac (threading): Accept 'posix95'.
8223 * configure: Regenerate.
8225 2004-11-22 Michael Koch <konqueror@gmx.de>
8227 * gnu/java/nio/SocketChannelImpl.java
8228 (read): Made check for blocking un-ambiguous.
8229 Removed wrong check for data array length.
8231 2004-11-21 Michael Koch <konqueror@gmx.de>
8233 * gnu/java/nio/SocketChannelImpl.java
8234 (read): Only return 0 when no bytes for reading available in
8236 * java/nio/channels/SocketChannel.java:
8237 Added some missing @return tags.
8239 2004-11-21 Michael Koch <konqueror@gmx.de>
8241 * java/beans/PropertyChangeSupport.java
8242 (propertyChangeSupportSerializedDataVersion): Made static.
8243 * java/beans/VetoableChangeSupport.java
8244 (propertyChangeSupportSerializedDataVersion): Likewise.
8246 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
8248 * java/net/URLStreamHandler.java
8249 (parseURL): Fixed file path canonicalisation.
8251 2004-11-18 Jeroen Frijters <jeroen@frijters.net>
8253 * java/net/URLStreamHandler.java
8254 (parseURL): Fixed file path canonicalisation.
8256 2004-11-18 Michael Koch <konqueror@gmx.de>
8258 * java/net/URLClassLoader.java: Whitespace cleanup.
8260 2004-11-18 Robert Schuster <address@bogus.example.com>
8262 Complete 1.4 support
8263 * java/beans/PropertyDescriptor.java:
8264 (setReadMethod): New method
8265 (setWriteMethod): New method
8266 (equals): Implemented (1.4)
8267 (checkMethods): operates on arguments now (private)
8270 2004-11-18 Mattias Rehnberg <Mattias.Rehnberg@home.se>
8272 * java/net/Inet6Address.java (getHostAddress): Fix textual
8273 representation of IPv6 address with embedded zeroes
8274 to conform to RFC 2373.
8276 2004-11-18 Jeroen Frijters <address@bogus.example.com>
8278 * java/lang/StackTraceElement.java: Made final.
8279 * java/nio/channels/Channels.java: Added private constructor.
8280 * java/rmi/Naming.java: Added private constructor.
8281 * java/rmi/registry/LocateRegistry.java: Added private constructor.
8282 * java/rmi/server/RMIClassLoader.java: Added private constructor.
8283 * java/security/KeyPairGeneratorSpi.java
8284 (clone): Made protected and simplified implementation.
8285 * java/text/DateFormat.java
8286 (allFields): Made package accessible.
8287 * java/text/DecimalFormat.java
8288 (formatInternal): Made private.
8289 * java/text/Format.java
8290 (formatInternal): Made private.
8291 * java/util/logging/Handler.java: Made constructor protected.
8292 * java/util/regex/Matcher.java: Made final.
8293 * java/util/regex/Pattern.java: Made final.
8294 * javax/crypto/CipherInputStream.java
8295 (mark): Corrected mark parameter type (from long to int).
8296 * javax/crypto/ExemptionMechanism.java
8298 * javax/crypto/Mac.java
8299 (getMacLength): Made final.
8300 (clone): Made final.
8301 * javax/imageio/ImageIO.java: Added private constructor.
8302 * javax/imageio/stream/ImageInputStreamImpl.java
8303 (checkClosed): Made final.
8304 * javax/net/ssl/SSLPermission.java: Made final.
8305 * javax/print/DocFlavor.java
8306 (hostEncoding): Added work-around to prevent the field from being
8307 a compile time constant.
8308 * javax/print/attribute/AttributeSetUtilities.java: Added private
8310 (UnmodifiableDocAttributeSet): Made private.
8311 (UnmodifiablePrintJobAttributeSet): Made private.
8312 (UnmodifiablePrintRequestAttributeSet): Made private.
8313 (UnmodifiablePrintServiceAttributeSet): Made private.
8314 (SynchronizedAttributeSet): Made private.
8315 (SynchronizedDocAttributeSet): Made private.
8316 (SynchronizedPrintJobAttributeSet): Made private.
8317 (SynchronizedPrintRequestAttributeSet): Made private.
8318 (SynchronizedPrintServiceAttributeSet): Made private.
8319 * javax/security/auth/PrivateCredentialPermission.java: Made final.
8321 2004-11-18 Craig Black <craig.black@aonix.com>
8323 * gnu/java/beans/BeanInfoEmbryo.java: Use TreeMap for proper sorting.
8325 2004-11-18 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
8327 * Makefile.am: Correct friend function declaration.
8328 * Makefile.in: Regenerated.
8329 * include/boehm-gc.h (JV_MARKOBJ_DECL, JV_MARKARRAY_DECL): Add
8330 scope to function names. Declare functions directly.
8331 * libjava/java/lang/Class.h
8332 (java::lang::Class): Correct friend class declaration.
8333 (_Jv_InitClass, _Jv_GetArrayClass): Move definition to global
8335 * libjava/java/lang/Class.h
8336 (java::lang::Object): Correct friend class declaration.
8338 2004-11-17 David Daney <ddaney@avtrex.com>
8340 * java/io/BufferedInputStream.java (skip): Return zero on EOF.
8342 2004-11-17 Michael Koch <konqueror@gmx.de>
8344 * java/net/Socket.java (getPort): Return 0 in error case.
8346 2004-11-17 Michael Koch <konqueror@gmx.de>
8348 * java/nio/DirectByteBufferImpl.java
8349 (owner): Updated comment.
8350 (allocate): New method.
8352 2004-11-17 Michael Koch <konqueror@gmx.de>
8354 * java/net/URL.java (URL): Handle case when argument is null.
8356 2004-11-17 Michael Koch <konqueror@gmx.de>
8358 * java/beans/Beans.java,
8359 java/beans/PropertyChangeEvent.java,
8360 java/beans/PropertyEditorSupport.java:
8363 2004-11-17 Michael Koch <konqueror@gmx.de>
8365 * java/util/Timer.java (DEFAULT_SIZE): Made static.
8367 2004-11-17 Michael Koch <konqueror@gmx.de>
8369 * java/net/InetAddress.java (getCanonicalHostName):
8370 Support IPv6 addresses.
8372 2004-11-16 Michael Koch <konqueror@gmx.de>
8374 * java/lang/Object.java: Added javadocs all over (merged from GNU
8377 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
8379 * java/security/Security.java (Security): Silence the warning about no
8380 providers found in the no debug case.
8382 2004-11-16 Michael Koch <konqueror@gmx.de>
8384 * java/net/InetAddress.java
8385 (toString): Merged from GNU classpath.
8387 2004-11-16 Michael Koch <konqueror@gmx.de>
8389 * java/awt/geom/doc-files/Area-1.png,
8390 java/awt/geom/doc-files/Ellipse-1.png,
8391 java/awt/geom/doc-files/GeneralPath-1.png:
8394 2004-11-16 Michael Koch <konqueror@gmx.de>
8396 * java/util/Currency.java (cache): Fix modifier order.
8398 2004-11-16 Michael Koch <konqueror@gmx.de>
8400 * java/io/BufferedReader.java,
8401 java/io/FileInputStream.java,
8402 java/io/FileOutputStream.java,
8403 java/io/FileWriter.java,
8404 java/io/OutputStreamWriter.java,
8405 java/io/PipedInputStream.java,
8406 java/io/PipedOutputStream.java,
8407 java/io/PipedReader.java,
8408 java/io/PipedWriter.java,
8409 java/io/PrintStream.java,
8410 java/io/PushbackInputStream.java,
8411 java/io/RandomAccessFile.java,
8412 java/io/Reader.java,
8413 java/io/StreamTokenizer.java,
8414 java/io/StringReader.java,
8415 java/net/NetworkInterface.java,
8416 java/net/URLClassLoader.java,
8417 java/nio/ByteOrder.java,
8418 java/nio/channels/Channel.java:
8419 Fixed javadocs all over.
8421 2004-11-16 Andreas Tobler <a.tobler@schweiz.ch>
8423 * Makefile.am: Add imported files.
8424 * Makefile.in: Regenerate.
8426 2004-10-24 Casey Marshall <csm@gnu.org>
8428 * javax/security/auth/login/LoginContext.java: Implemented.
8429 * javax/security/auth/login/Configuration.java (getConfig): New method.
8430 * javax/security/auth/spi/LoginModule.java,
8431 * gnu/java/security/action/GetSecurityPropertyAction.java: New files.
8433 2004-11-15 Andreas Tobler <a.tobler@schweiz.ch>
8435 Import/Merge the X.509 certificate code from Classpath.
8437 * Makefile.am: Add imported files.
8438 * Makefile.in: Regenerate.
8440 2004-11-07 Casey Marshall <csm@gnu.org>
8442 * gnu/java/security/provider/Gnu.java(<init>): Add entries in a
8443 priviliged action. Add new algorithms.
8444 * gnu/java/security/provider/X509CertificateFactory.java
8445 (engineGenerateCertificate): Chain exceptions.
8446 (engineGenerateCertificates): Likewise.
8447 (engineGenerateCRL): Likewise.
8448 (engineGenerateCRLs): Likewise.
8449 (engineGenerateCertPath): New methods.
8450 (generateCert): Throw exception if 'inStream' is null.
8451 (generateCRL): Likewise.
8452 * gnu/java/security/x509/X500DistinguishedName.java: Replaced with
8453 version from GNU Crypto CVS.
8454 * gnu/java/security/x509/X509CRL.java: Likewise.
8455 * gnu/java/security/x509/X509CRLEntry.java: Likewise.
8456 * gnu/java/security/x509/X509Certificate.java: Likewise.
8457 * java/security/cert/TrustAnchor.java: Call 'toString' and not
8459 * gnu/java/security/provider/CollectionCertStoreImpl.java,
8460 * gnu/java/security/provider/EncodedKeyFactory.java,
8461 * gnu/java/security/provider/GnuDHPublicKey.java,
8462 * gnu/java/security/provider/GnuRSAPrivateKey.java,
8463 * gnu/java/security/provider/GnuRSAPublicKey.java,
8464 * gnu/java/security/provider/MD2withRSA.java,
8465 * gnu/java/security/provider/MD4withRSA.java,
8466 * gnu/java/security/provider/MD5withRSA.java,
8467 * gnu/java/security/provider/PKIXCertPathValidatorImpl.java,
8468 * gnu/java/security/provider/RSA.java,
8469 * gnu/java/security/provider/RSAKeyFactory.java,
8470 * gnu/java/security/provider/SHA1withRSA.java,
8471 * gnu/java/security/x509/GnuPKIExtension.java,
8472 * gnu/java/security/x509/PolicyNodeImpl.java,
8473 * gnu/java/security/x509/Util.java,
8474 * gnu/java/security/x509/X509CRLSelectorImpl.java,
8475 * gnu/java/security/x509/X509CertPath.java,
8476 * gnu/java/security/x509/X509CertSelectorImpl.java,
8477 * gnu/java/security/x509/ext/AuthorityKeyIdentifier.java,
8478 * gnu/java/security/x509/ext/BasicConstraints.java,
8479 * gnu/java/security/x509/ext/CRLNumber.java,
8480 * gnu/java/security/x509/ext/CertificatePolicies.java,
8481 * gnu/java/security/x509/ext/ExtendedKeyUsage.java,
8482 * gnu/java/security/x509/ext/Extension.java,
8483 * gnu/java/security/x509/ext/GeneralNames.java,
8484 * gnu/java/security/x509/ext/IssuerAlternativeNames.java,
8485 * gnu/java/security/x509/ext/KeyUsage.java,
8486 * gnu/java/security/x509/ext/PolicyConstraint.java,
8487 * gnu/java/security/x509/ext/PolicyMappings.java,
8488 * gnu/java/security/x509/ext/PrivateKeyUsagePeriod.java,
8489 * gnu/java/security/x509/ext/ReasonCode.java,
8490 * gnu/java/security/x509/ext/SubjectAlternativeNames.java,
8491 * gnu/java/security/x509/ext/SubjectKeyIdentifier.java: New files.
8493 2004-11-07 Casey Marshall <csm@gnu.org>
8495 * gnu/java/security/x509/X509CRL.java:
8496 Missed import statements in previous checkin.
8498 2004-11-07 Casey Marshall <csm@gnu.org>
8500 * gnu/java/security/x509/X509CertPath.java (parse): Fixed reference
8501 to 'X509CertificateImpl' from previous checkin.
8503 2004-11-12 Andrew Pinski <pinskia@physics.uc.edu>
8506 * testsuite/lib/libjava.exp: Set LC_ALL and LANG to C.
8508 2004-11-11 Casey Marshall <csm@gnu.org>
8510 * gnu/java/nio/FileLock.java (isValid): locks are valid if the
8512 * gnu/java/nio/channels/natFileChannelPosix.cc (lock): use
8513 'F_RDLCK' for shared locks, 'F_WRLCK' for exclusive locks.
8515 2004-11-11 Robert Schuster <thebohemian@gmx.net>
8518 * gnu/java/beans/IntrospectionIncubator.java:
8519 (addMethod): Corrected classification of normal and property methods.
8520 (capitalize): Added documentation.
8521 (DoubleKey): [class] Added documentation.
8523 2004-11-09 Tom Tromey <tromey@redhat.com>
8525 * include/jni.h: Added FIXME.
8527 2004-11-08 Tom Tromey <tromey@redhat.com>
8529 * java/util/GregorianCalendar.java: Removed unused imports.
8530 * java/util/Vector.java: Removed unused import.
8532 2004-11-07 Michael Koch <konqueror@gmx.de>
8534 * java/lang/Process.java:
8537 2004-11-07 Jeroen Frijters <jeroen@frijters.net>
8539 * java/util/zip/ZipEntry.java
8540 (KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
8542 2004-11-07 Robert Schuster <theBohemian@gmx.net>
8545 * gnu/java/beans/IntrospectionIncubator.java:
8546 (addMethod): static methods are discarded now, too.
8548 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8550 * java/util/GregorianCalendar.java
8551 Added/amended documentation.
8553 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8555 * java/util/Collections.java
8556 Added documentation.
8557 * java/util/SortedMap.java
8558 Clarified some method examples.
8559 * java/util/SortedSet.java
8560 Clarified some method examples.
8562 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8564 * java/util/Currency.java
8565 Documented variables and methods more fully.
8566 Caches the currency instances, so that a request
8567 for a locale, l, only ever returns the same
8568 instance (i.e. successive calls to getInstance(l)
8569 are reference equivalent (==)).
8571 2004-11-07 Andrew John Hughes <gnu_andrew@member.fsf.org>
8573 * java/util/Date.java
8574 Added missing documentation.
8576 2004-11-06 Michael Koch <konqueror@gmx.de>
8578 * java/util/zip/CheckedInputStream.java,
8579 java/util/zip/InflaterInputStream.java,
8580 java/util/zip/ZipFile.java,
8581 java/util/zip/ZipInputStream.java:
8584 2004-11-06 Tom Tromey <tromey@redhat.com>
8586 * gnu/java/rmi/server/UnicastConnectionManager.java (clients): Now
8588 (connections): Likewise.
8589 (scavenger): Likewise.
8590 * gnu/java/rmi/server/ConnectionRunnerPool.java (freelist): Now
8592 * gnu/java/rmi/server/UnicastRemoteCall.java (vec): Now
8595 * gnu/classpath/ServiceFactory.java (log): Now package-private.
8597 2004-11-06 Tom Tromey <tromey@redhat.com>
8599 * javax/naming/directory/BasicAttributes.java (attributes): Now
8601 * javax/imageio/spi/ServiceRegistry.java (categories): Now
8604 2004-11-06 Tom Tromey <tromey@redhat.com>
8606 * java/net/URLClassLoader.java (URLClassLoader): Now
8608 * java/nio/charset/CoderResult.java (CoderResult): Now
8611 (Cache): Likewise. Don't synchronize on `this'.
8612 * java/rmi/server/RMIClassLoader.java (MyClassLoader): Now
8614 * java/util/TimeZone.java (timezones): Now package-private.
8616 2004-11-06 Tom Tromey <tromey@redhat.com>
8618 * java/security/Permissions.java (perms): Now package-private.
8619 * java/security/UnresolvedPermission.java (permissions): Now
8622 2004-11-06 Tom Tromey <tromey@redhat.com>
8624 * java/io/FilePermission.java: Reindented.
8626 2004-11-06 Tom Tromey <tromey@redhat.com>
8628 * java/io/ObjectOutputStream.java (currentObjectStreamClass): Now
8630 (setBlockDataMode): Likewise.
8632 2004-11-06 Tom Tromey <tromey@redhat.com>
8634 * gnu/java/nio/charset/ISO_8859_1.java (Decoder): Now
8636 (Encoder): Likewise.
8637 * gnu/java/nio/charset/UTF_8.java (Decoder): Now package-private.
8638 (Encoder): Likewise.
8639 * gnu/java/nio/charset/US_ASCII.java (Decoder): Now
8641 (Encoder): Likewise.
8643 2004-11-06 Mark Wielaard <mark@klomp.org>
8645 * Makefile.am: Add new javax.imageio files.
8646 * Makefile.in: Regenerated.
8648 2004-11-06 Michael Koch <konqueror@gmx.de>
8650 * javax/imageio/event/IIOReadProgressListener.java,
8651 javax/imageio/event/IIOReadUpdateListener.java,
8652 javax/imageio/event/IIOReadWarningListener.java,
8653 javax/imageio/event/IIOWriteProgressListener.java,
8654 javax/imageio/event/IIOWriteWarningListener.java,
8655 javax/imageio/metadata/IIOMetadataFormat.java,
8656 javax/imageio/stream/FileCacheImageInputStream.java,
8657 javax/imageio/stream/FileCacheImageOutputStream.java,
8658 javax/imageio/stream/ImageInputStreamImpl.java:
8660 * javax/imageio/metadata/package.html: New file.
8662 2004-11-06 Michael Koch <konqueror@gmx.de>
8664 * javax/imageio/spi/ImageReaderSpi.java
8665 (isOwnReader): New method.
8666 * javax/imageio/spi/ImageWriterSpi.java
8667 (isOwnWriter): Likewise.
8669 2004-11-06 Michael Koch <konqueror@gmx.de>
8671 * javax/imageio/ImageWriter.java
8672 (convertImageMetadata): New abstract method.
8673 (convertStreamMetadata): Likewise.
8675 * javax/imageio/stream/FileCacheImageInputStream.java
8676 (close): Fixed setting of stream to null.
8677 (checkStreamClosed): Throws IOException.
8679 2004-11-06 Michael Koch <konqueror@gmx.de>
8681 * javax/imageio/stream/FileCacheImageInputStream.java,
8682 javax/imageio/stream/FileCacheImageOutputStream.java,
8683 javax/imageio/stream/FileImageInputStream.java,
8684 javax/imageio/stream/FileImageOutputStream.java,
8685 javax/imageio/stream/MemoryCacheImageInputStream.java,
8686 javax/imageio/stream/MemoryCacheImageOutputStream.java:
8689 2004-11-06 Michael Koch <konqueror@gmx.de>
8691 * javax/imageio/metadata/IIOInvalidTreeException.java,
8692 javax/imageio/metadata/IIOMetadataFormatImpl.java,
8693 javax/imageio/metadata/IIOMetadataNode.java:
8696 2004-11-06 Michael Koch <konqueror@gmx.de>
8698 * javax/imageio/stream/ImageInputStreamImpl.java,
8699 javax/imageio/stream/ImageOutputStreamImpl.java:
8702 2004-11-06 Michael Koch <konqueror@gmx.de>
8704 * javax/imageio/ImageIO.java:
8705 Added much new methods.
8707 2004-11-06 Michael Koch <konqueror@gmx.de>
8709 * javax/imageio/ImageReader.java,
8710 javax/imageio/ImageWriter.java,
8711 javax/imageio/spi/ImageWriterSpi.java:
8712 Add SOME new methods.
8714 2004-11-06 Michael Koch <konqueror@gmx.de>
8716 * javax/imageio/IIOParam.java,
8717 javax/imageio/ImageReadParam.java,
8718 javax/imageio/ImageReader.java,
8719 javax/imageio/ImageWriter.java:
8721 * javax/imageio/spi/ImageReaderSpi.java,
8722 javax/imageio/spi/ImageWriterSpi.java:
8725 2004-11-06 Michael Koch <konqueror@gmx.de>
8727 * javax/imageio/ImageWriteParam.java,
8728 javax/imageio/metadata/IIOMetadataFormat.java:
8731 2004-11-06 Michael Koch <konqueror@gmx.de>
8733 * javax/imageio/ImageTypeSpecifier.java:
8736 2004-11-06 Michael Koch <konqueror@gmx.de>
8738 * javax/imageio/metadata/IIOMetadata.java:
8741 2004-11-06 Michael Koch <konqueror@gmx.de>
8743 * javax/imageio/IIOImage.java,
8744 javax/imageio/ImageReadParam.java,
8745 javax/imageio/metadata/IIOMetadataController.java,
8746 javax/imageio/metadata/IIOMetadataFormat.java:
8748 * javax/imageio/stream/ImageOutputStream.java:
8751 2004-11-06 Michael Koch <konqueror@gmx.de>
8753 * javax/imageio/IIOParam.java,
8754 javax/imageio/IIOParamController.java,
8755 javax/imageio/ImageTypeSpecifier.java,
8756 javax/imageio/ImageWriteParam.java,
8757 javax/imageio/metadata/IIOMetadata.java:
8759 * javax/imageio/ImageTranscoder.java:
8762 2004-11-06 Michael Koch <konqueror@gmx.de>
8764 * javax/imageio/spi/ImageInputStreamSpi.java,
8765 javax/imageio/spi/ImageOutputStreamSpi.java:
8766 Reworked import startments.
8767 * javax/imageio/spi/ServiceRegistry.java:
8768 Reworked import startments. Fixed XHTML in javadocs.
8769 (ServiceRegistry): Added @param tag to javadoc.
8770 * javax/imageio/stream/ImageInputStream.java
8771 (mark): Doesn't throws IOException;
8773 2004-11-06 Michael Koch <konqueror@gmx.de>
8775 * javax/imageio/ImageIO.java:
8778 2004-11-06 Michael Koch <konqueror@gmx.de>
8780 * javax/imageio/spi/IIORegistry.java
8781 (static): Don't register ImageReaderSpi.class and
8782 ImageWriterSpi.class yet.
8784 2004-11-06 Michael Koch <konqueror@gmx.de>
8786 * javax/imageio/spi/IIORegistry.java:
8789 2004-11-06 Noa Resare <noa@resare.com>
8791 * java/net/Socket.java (getPort): Return 0 instead of -1 on
8792 unconnected sockets.
8794 2004-11-06 Michael Koch <konqueror@gmx.de>
8796 * java/lang/StringBuffer.java,
8797 java/lang/Throwable.java,
8798 java/security/spec/DSAParameterSpec.java,
8799 java/util/zip/ZipEntry.java,
8800 java/util/zip/ZipFile.java,
8801 java/util/zip/ZipInputStream.java,
8802 java/util/zip/ZipOutputStream.java:
8803 Removed redundant and reordered modifiers.
8805 2004-11-06 Mattias Rehnberg <Mattias.Rehnberg@home.se>
8807 * java/io/Vector.java
8808 (writeObject): New function to serialized output thread safe.
8810 * java/io/ObjectOutputStream.java
8811 (writeObject): Move the assignment of the class handle to after
8812 the assignment of class descriptor handle.
8814 2004-11-06 Robert Schuster <thebohemian@gmx.net>
8816 Fixes documentation and indentation
8817 * java/beans/PropertyEditorSupport.java:
8818 reworked initial API doc
8819 (value): changed name from val
8821 2004-11-06 Robert Schuster <thebohemian@gmx.net>
8824 * java/beans/PropertyEditorSupport.java
8825 (PropertyEditorSupport()): Changed modifier to public
8826 (PropertyEditorSupport(Object): Changed modifier to public
8827 (setSource): New method
8828 (getSource): New method
8830 2004-11-06 Robert Schuster <thebohemian@gmx.net>
8833 * java/beans/PropertyEditorSupport.java
8834 (setValue): Fire property change event
8836 2004-11-03 Tom Tromey <tromey@redhat.com>
8838 * jni.cc (_Jv_JNI_NewObjectArray): Fixed return type.
8839 * include/jni.h (struct JNINativeInterface) <NewObjectArray>: Now
8840 returns jobjectArray.
8841 (_Jv_JNIEnv::NewObjectArray): Likewise.
8843 2004-11-01 Tom Tromey <tromey@redhat.com>
8845 * verify.cc (state::check_no_uninitialized_objects): Removed.
8846 (push_jump): Updated.
8847 (push_exception_jump): Likewise.
8848 (handle_ret_insn): Likewise.
8849 (handle_jsr_insn): Likewise.
8851 2004-10-30 Mark Wielaard <mark@klomp.org>
8854 * java/lang/Runtime.java (static): Call init().
8855 (Runtime): Remove call to init().
8856 (init): Make static.
8858 2004-10-28 David Daney <ddaney@avtrex.com>
8860 * gnu/gcj/convert/Output_UnicodeLittleUnmarked.java: New file.
8861 * Makefile.am: Build it.
8862 * Makefile.in: Regenerate.
8864 2004-10-27 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
8867 * Makefile.am (CLASSPATH_SEPARATOR): Use instead of a
8869 * Makefile.in: Regenerate.
8870 * configure: Regenerate.
8871 * configure.ac (CLASSPATH_SEPARATOR): Define.
8872 * gcj/Makefile.in: Regenerate.
8873 * include/Makefile.in: Regenerate.
8874 * testsuite/Makefile.in: Regenerate.
8875 * testsuite/lib/libjava.exp (libjava_arguments): Fix
8876 CLASSPATH separator handling for Windows.
8878 2004-10-26 Michael Koch <konqueror@gmx.de>
8880 * gnu/java/net/protocol/http/Connection.java
8881 (getOutputStream): Implicitely switch to POST method.
8883 2004-10-26 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
8885 * libjava/java/lang/Class.h
8886 (java::lang::Class): Correct friend class declaration.
8888 2004-10-25 Geoffrey Keating <geoffk@apple.com>
8890 * Makefile.am (DARWIN_CRT_SRC): New.
8891 (libgcj_la_SOURCES): Use it.
8892 * configure.ac: Define USING_DARWIN_CRT when on Darwin.
8893 * darwin.cc: New file.
8894 * include/jvm.h (_Jv_RegisterClasses): Constify.
8895 (_Jv_RegisterClasses_Counted): New prototype.
8896 * java/lang/Class.h: Include stddef.h.
8897 (_Jv_RegisterClasses): Constify.
8898 (_Jv_RegisterClasses_Counted): New prototype.
8899 (Object): Make '_Jv_RegisterClasses_Counted' a friend.
8900 * java/lang/natClassLoader.cc (_Jv_RegisterClasses): Constify.
8901 (_Jv_RegisterClasses_Counted): New function.
8902 * configure: Regenerate.
8903 * Makefile.in: Regenerate.
8904 * gcj/Makefile.in: Regenerate.
8905 * include/Makefile.in: Regenerate.
8906 * testsuite/Makefile.in: Regenerate.
8908 2004-10-25 Tom Tromey <tromey@redhat.com>
8910 * java/util/ResourceBundle.java (tryBundle): Use
8911 Class.isAssignableFrom rather than catching ClassCastException.
8913 2004-10-25 Tom Tromey <tromey@redhat.com>
8915 * gnu/java/text/WordBreakIterator.java (WordBreakIterator): Don't
8917 * gnu/java/text/SentenceBreakIterator.java
8918 (SentenceBreakIterator): Don't initialize `iter'.
8919 * gnu/java/text/LineBreakIterator.java (LineBreakIterator): Don't
8921 * gnu/java/text/CharacterBreakIterator.java
8922 (CharacterBreakIterator): Don't initialize `iter'.
8923 * gnu/java/text/BaseBreakIterator.java (BaseBreakIterator): New
8925 * java/text/BreakIterator.java: Updated documentation.
8927 2004-10-25 Eric Botcazou <ebotcazou@libertysurf.fr>
8930 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc.
8932 2004-10-23 Michael Koch <konqueror@gmx.de>
8934 * javax/print/DocFlavor.java,
8935 javax/print/attribute/standard/JobStateReason.java,
8936 javax/print/attribute/standard/MultipleDocumentHandling.java:
8937 Added missing constants.
8939 2004-10-22 Tom Tromey <tromey@redhat.com>
8941 * gnu/java/net/protocol/http/Connection.java (sendRequest): Fix
8944 2004-10-22 Michael Koch <konqueror@gmx.de>
8947 * gnu/java/net/protocol/http/Connection.java
8948 (sendRequest): Handle case when url.getFile() returns an empty string.
8950 2004-10-22 Michael Koch <konqueror@gmx.de>
8952 * java/lang/Math.java,
8953 java/lang/StackTraceElement.java,
8954 java/nio/Buffer.java,
8955 java/nio/ByteBuffer.java,
8956 java/nio/CharBuffer.java,
8957 java/nio/DoubleBuffer.java,
8958 java/nio/FloatBuffer.java,
8959 java/nio/IntBuffer.java,
8960 java/nio/LongBuffer.java,
8961 java/nio/ShortBuffer.java,
8962 java/nio/charset/Charset.java,
8963 java/rmi/server/RMIClassLoader.java,
8964 java/rmi/server/RMISocketFactory.java,
8965 java/security/Policy.java,
8966 java/text/ChoiceFormat.java,
8967 java/text/CollationElementIterator.java,
8968 java/text/DateFormat.java,
8969 java/text/DecimalFormat.java,
8970 java/text/DecimalFormatSymbols.java,
8971 java/text/MessageFormat.java,
8972 java/text/NumberFormat.java,
8973 java/text/RuleBasedCollator.java,
8974 java/text/SimpleDateFormat.java,
8975 java/util/BitSet.java,
8976 java/util/Calendar.java,
8977 java/util/Collections.java,
8978 java/util/IdentityHashMap.java,
8979 java/util/Locale.java,
8980 java/util/TreeMap.java,
8981 java/util/logging/LogRecord.java,
8982 java/util/logging/XMLFormatter.java,
8983 java/util/prefs/AbstractPreferences.java,
8984 java/util/prefs/Preferences.java,
8985 javax/crypto/interfaces/DHPrivateKey.java,
8986 javax/crypto/interfaces/DHPublicKey.java,
8987 javax/crypto/interfaces/PBEKey.java,
8988 javax/net/ssl/HandshakeCompletedEvent.java,
8989 javax/security/auth/Subject.java:
8990 Removed redundant and reordered modifiers.
8992 2004-10-22 Ulrich Weigand <uweigand@de.ibm.com>
8994 * gnu/java/net/natPlainSocketImplPosix.cc
8995 (gnu::java::net::PlainSocketImpl::available): Call FIONREAD ioctl
8996 with 'int *' argument instead of 'long *'.
8998 2004-10-21 Michael Koch <konqueror@gmx.de>
9000 * java/net/NetworkInterface.java,
9001 java/text/Format.java,
9002 javax/security/auth/x500/X500Principal.java,
9003 javax/security/auth/x500/X500PrivateCredential.java,
9004 javax/security/cert/X509CertBridge.java,
9005 javax/security/sasl/Sasl.java,
9006 javax/sql/XAConnection.java:
9009 2004-10-21 Michael Koch <konqueror@gmx.de>
9011 * javax/net/ssl/HandshakeCompletedEvent.java,
9012 javax/net/ssl/KeyManagerFactory.java,
9013 javax/net/ssl/SSLContext.java,
9014 javax/net/ssl/SSLServerSocketFactory.java,
9015 javax/net/ssl/SSLSession.java,
9016 javax/net/ssl/SSLSocketFactory.java,
9017 javax/net/ssl/TrustManagerFactory.java:
9020 2004-10-21 Michael Koch <konqueror@gmx.de>
9022 * javax/naming/directory/BasicAttribute.java,
9023 javax/naming/directory/BasicAttributes.java,
9024 javax/naming/directory/InitialDirContext.java,
9025 javax/naming/event/NamingEvent.java,
9026 javax/naming/ldap/ControlFactory.java,
9027 javax/naming/ldap/ExtendedRequest.java,
9028 javax/naming/ldap/InitialLdapContext.java,
9029 javax/naming/ldap/LdapReferralException.java,
9030 javax/naming/spi/DirObjectFactory.java,
9031 javax/naming/spi/DirStateFactory.java,
9032 javax/naming/spi/DirectoryManager.java,
9033 javax/naming/spi/InitialContextFactory.java,
9034 javax/naming/spi/InitialContextFactoryBuilder.java,
9035 javax/naming/spi/NamingManager.java,
9036 javax/naming/spi/ObjectFactory.java,
9037 javax/naming/spi/ObjectFactoryBuilder.java,
9038 javax/naming/spi/StateFactory.java:
9041 2004-10-21 Michael Koch <konqueror@gmx.de>
9043 * javax/crypto/Cipher.java,
9044 javax/crypto/EncryptedPrivateKeyInfo.java,
9045 javax/crypto/ExemptionMechanism.java,
9046 javax/crypto/KeyAgreement.java,
9047 javax/crypto/KeyGenerator.java,
9048 javax/crypto/Mac.java,
9049 javax/crypto/SecretKeyFactory.java,
9050 javax/crypto/SecretKeyFactorySpi.java,
9051 javax/crypto/spec/SecretKeySpec.java:
9054 2004-10-21 Michael Koch <konqueror@gmx.de>
9056 * java/security/AlgorithmParameterGenerator.java,
9057 java/security/AlgorithmParameters.java,
9058 java/security/AlgorithmParametersSpi.java,
9059 java/security/AllPermission.java,
9060 java/security/BasicPermission.java,
9061 java/security/Certificate.java,
9062 java/security/CodeSource.java,
9063 java/security/DigestInputStream.java,
9064 java/security/DigestOutputStream.java,
9065 java/security/GuardedObject.java,
9066 java/security/KeyFactory.java,
9067 java/security/KeyFactorySpi.java,
9068 java/security/KeyPairGenerator.java,
9069 java/security/KeyStore.java,
9070 java/security/KeyStoreSpi.java,
9071 java/security/Permissions.java,
9072 java/security/Security.java,
9073 java/security/Signature.java,
9074 java/security/UnresolvedPermission.java,
9075 java/security/cert/CertPathBuilder.java,
9076 java/security/cert/CertPathValidator.java,
9077 java/security/cert/CertStore.java,
9078 java/security/cert/Certificate.java,
9079 java/security/cert/CertificateFactory.java,
9080 java/security/cert/PolicyQualifierInfo.java,
9081 java/security/cert/TrustAnchor.java,
9082 java/security/cert/X509CRL.java,
9083 java/security/cert/X509CRLSelector.java,
9084 java/security/cert/X509CertSelector.java:
9087 2004-10-21 Michael Koch <konqueror@gmx.de>
9089 * java/rmi/MarshalledObject.java,
9090 java/rmi/Naming.java,
9091 java/rmi/activation/Activatable.java,
9092 java/rmi/activation/ActivationGroup.java,
9093 java/rmi/activation/ActivationGroupDesc.java,
9094 java/rmi/activation/ActivationInstantiator.java,
9095 java/rmi/activation/ActivationMonitor.java,
9096 java/rmi/activation/ActivationSystem.java,
9097 java/rmi/activation/Activator.java,
9098 java/rmi/registry/LocateRegistry.java,
9099 java/rmi/registry/Registry.java,
9100 java/rmi/server/LogStream.java,
9101 java/rmi/server/ObjID.java,
9102 java/rmi/server/RMIClientSocketFactory.java,
9103 java/rmi/server/RMIServerSocketFactory.java,
9104 java/rmi/server/RMISocketFactory.java,
9105 java/rmi/server/RemoteCall.java,
9106 java/rmi/server/RemoteServer.java,
9107 java/rmi/server/ServerRef.java,
9108 java/rmi/server/UID.java,
9109 java/rmi/server/UnicastRemoteObject.java:
9112 2004-10-21 Tom Tromey <tromey@redhat.com>
9114 * java/util/zip/InflaterInputStream.java (fill): Don't throw an
9115 exception if we hit EOF of `in'.
9116 (read): Handle case where inflating returns -1.
9118 2004-10-21 Ulrich Weigand <uweigand@de.ibm.com>
9120 * gnu/java/nio/channels/natFileChannelPosix.cc
9121 (FileChannelImpl::available): Call FIONREAD ioctl with 'int *'
9122 argument instead of 'long *'.
9124 2004-10-21 Tom Tromey <tromey@redhat.com>
9126 * java/util/ResourceBundle.java (tryBundle): Also ignore
9129 2004-10-21 Kaz Kojima <kkojima@gcc.gnu.org>
9131 * configure.ac (SIGNAL_HANDLER): Set to include/sh-signal.h
9132 for all sh*-*-linux* targets.
9133 * configure: Regenerate.
9134 * include/sh-signal.h: New file.
9136 2004-10-21 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
9138 * java/lang/ieeefp.h: Add m32r support.
9140 2004-10-20 Andreas Schwab <schwab@suse.de>
9142 * java/lang/natClass.cc (_Jv_LayoutVTableMethods): Cast pointers
9144 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass):
9147 2004-10-20 Michael Koch <konqueror@gmx.de>
9149 * javax/print/attribute/standard/ColorSupported.java,
9150 javax/print/attribute/standard/Compression.java,
9151 javax/print/attribute/standard/Copies.java,
9152 javax/print/attribute/standard/CopiesSupported.java,
9153 javax/print/attribute/standard/DateTimeAtCompleted.java,
9154 javax/print/attribute/standard/DateTimeAtCreation.java,
9155 javax/print/attribute/standard/DateTimeAtProcessing.java,
9156 javax/print/attribute/standard/DocumentName.java,
9157 javax/print/attribute/standard/Fidelity.java,
9158 javax/print/attribute/standard/Finishings.java,
9159 javax/print/attribute/standard/JobHoldUntil.java,
9160 javax/print/attribute/standard/JobImpressions.java,
9161 javax/print/attribute/standard/JobImpressionsCompleted.java,
9162 javax/print/attribute/standard/JobImpressionsSupported.java,
9163 javax/print/attribute/standard/JobKOctets.java,
9164 javax/print/attribute/standard/JobKOctetsProcessed.java,
9165 javax/print/attribute/standard/JobKOctetsSupported.java,
9166 javax/print/attribute/standard/JobMediaSheets.java,
9167 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
9168 javax/print/attribute/standard/JobMediaSheetsSupported.java,
9169 javax/print/attribute/standard/JobMessageFromOperator.java,
9170 javax/print/attribute/standard/JobName.java,
9171 javax/print/attribute/standard/JobOriginatingUserName.java,
9172 javax/print/attribute/standard/JobPriority.java,
9173 javax/print/attribute/standard/JobPrioritySupported.java,
9174 javax/print/attribute/standard/JobSheets.java,
9175 javax/print/attribute/standard/JobState.java,
9176 javax/print/attribute/standard/JobStateReason.java,
9177 javax/print/attribute/standard/JobStateReasons.java,
9178 javax/print/attribute/standard/Media.java,
9179 javax/print/attribute/standard/MultipleDocumentHandling.java,
9180 javax/print/attribute/standard/NumberOfDocuments.java,
9181 javax/print/attribute/standard/NumberOfInterveningJobs.java,
9182 javax/print/attribute/standard/NumberUp.java,
9183 javax/print/attribute/standard/NumberUpSupported.java,
9184 javax/print/attribute/standard/OrientationRequested.java,
9185 javax/print/attribute/standard/OutputDeviceAssigned.java,
9186 javax/print/attribute/standard/PDLOverrideSupported.java,
9187 javax/print/attribute/standard/PageRanges.java,
9188 javax/print/attribute/standard/PagesPerMinute.java,
9189 javax/print/attribute/standard/PagesPerMinuteColor.java,
9190 javax/print/attribute/standard/PrintQuality.java,
9191 javax/print/attribute/standard/PrinterInfo.java,
9192 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
9193 javax/print/attribute/standard/PrinterLocation.java,
9194 javax/print/attribute/standard/PrinterMakeAndModel.java,
9195 javax/print/attribute/standard/PrinterMessageFromOperator.java,
9196 javax/print/attribute/standard/PrinterMoreInfo.java,
9197 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
9198 javax/print/attribute/standard/PrinterName.java,
9199 javax/print/attribute/standard/PrinterStateReason.java,
9200 javax/print/attribute/standard/PrinterStateReasons.java,
9201 javax/print/attribute/standard/PrinterURI.java,
9202 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
9203 javax/print/attribute/standard/RequestingUserName.java:
9204 Reorganized imports and removed redundant final modifiers.
9206 2004-10-20 Michael Koch <konqueror@gmx.de>
9208 * javax/security/sasl/SaslClient.java,
9209 javax/security/sasl/SaslClientFactory.java,
9210 javax/security/sasl/SaslException.java,
9211 javax/security/sasl/SaslServer.java,
9212 javax/security/sasl/SaslServerFactory.java:
9215 2004-10-20 Michael Koch <konqueror@gmx.de>
9217 * javax/security/auth/login/NullConfiguration.java,
9218 javax/security/auth/x500/X500Principal.java,
9219 javax/security/cert/X509Certificate.java,
9220 javax/security/sasl/AuthenticationException.java,
9221 javax/security/sasl/AuthorizeCallback.java,
9222 javax/security/sasl/RealmCallback.java,
9223 javax/security/sasl/RealmChoiceCallback.java,
9224 javax/security/sasl/Sasl.java,
9225 javax/security/sasl/SaslClient.java,
9226 javax/security/sasl/SaslClientFactory.java,
9227 javax/security/sasl/SaslException.java,
9228 javax/security/sasl/SaslServer.java,
9229 javax/security/sasl/SaslServerFactory.java:
9230 Cleaned up import statements and copyright notices.
9232 2004-10-20 Michael Koch <konqueror@gmx.de>
9234 * gnu/java/rmi/rmic/RMIC.java: Reformatted.
9236 2004-10-20 Michael Koch <konqueror@gmx.de>
9238 * java/sql/Timestamp.java,
9239 java/text/AttributedCharacterIterator.java,
9240 java/text/AttributedString.java,
9241 java/util/zip/CheckedOutputStream.java,
9242 java/util/zip/DeflaterOutputStream.java,
9243 java/util/zip/ZipFile.java,
9244 javax/crypto/Cipher.java,
9245 javax/crypto/ExemptionMechanismException.java,
9246 javax/crypto/SecretKey.java,
9247 javax/crypto/SecretKeyFactory.java,
9248 javax/naming/directory/ModificationItem.java,
9249 javax/naming/directory/SearchControls.java,
9250 javax/naming/event/NamingListener.java,
9251 javax/naming/ldap/Control.java,
9252 javax/naming/ldap/ExtendedResponse.java,
9253 javax/net/ssl/SSLSocketFactory.java:
9254 Reorganized imports and fixed copyright headers.
9256 2004-10-20 Michael Koch <konqueror@gmx.de>
9258 * java/util/logging/ConsoleHandler.java,
9259 java/util/logging/ErrorManager.java,
9260 java/util/logging/FileHandler.java,
9261 java/util/logging/Filter.java,
9262 java/util/logging/Formatter.java,
9263 java/util/logging/Handler.java,
9264 java/util/logging/Level.java,
9265 java/util/logging/LogManager.java,
9266 java/util/logging/LogRecord.java,
9267 java/util/logging/Logger.java,
9268 java/util/logging/LoggingPermission.java,
9269 java/util/logging/MemoryHandler.java,
9270 java/util/logging/SimpleFormatter.java,
9271 java/util/logging/SocketHandler.java,
9272 java/util/logging/StreamHandler.java,
9273 java/util/logging/XMLFormatter.java:
9274 Standardized copyrigth header.
9276 2004-10-20 Michael Koch <konqueror@gmx.de>
9278 * java/security/AlgorithmParameterGenerator.java,
9279 java/security/AlgorithmParameters.java,
9280 java/security/DigestInputStream.java,
9281 java/security/Identity.java,
9282 java/security/KeyFactory.java,
9283 java/security/KeyPairGenerator.java,
9284 java/security/KeyStore.java,
9285 java/security/MessageDigest.java,
9286 java/security/MessageDigestSpi.java,
9287 java/security/Policy.java,
9288 java/security/SecureRandom.java,
9289 java/security/Security.java,
9290 java/security/Signature.java,
9291 java/security/SignatureSpi.java,
9292 java/security/cert/CertPathBuilder.java,
9293 java/security/cert/CertPathValidator.java,
9294 java/security/cert/CertStore.java,
9295 java/security/cert/Certificate.java,
9296 java/security/cert/CertificateFactory.java,
9297 java/security/cert/PolicyQualifierInfo.java,
9298 java/security/cert/TrustAnchor.java,
9299 java/security/cert/X509CRL.java,
9300 java/security/cert/X509CRLEntry.java,
9301 java/security/cert/X509Certificate.java,
9302 java/security/spec/RSAMultiPrimePrivateCrtKeySpec.java:
9303 Import statements reorganized, some little formatting issues,
9304 used java-style array declarations, added comments in empty catch
9307 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9309 * java/security/Security.java
9310 (static): Use AccessController.doPrivileged to get system property.
9312 2004-10-18 Sven de Marothy <sven@physto.se>
9314 * java/nio/ByteBufferHelper.java
9315 (putDouble): Use Double.toRawLongBits instead.
9317 2004-10-18 Mark Wielaard <mark@klomp.org>
9318 Andrew Haley <aph@redhat.com>
9320 * testsuite/libjava.lang/ExtraClassLoader.java: New.
9322 2004-10-18 Andrew Haley <aph@redhat.com>
9325 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Reorganize
9326 and correct logic used to find interpreter.
9328 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9330 * java/util/logging/LogManager.java
9331 (findAncestor): Fixed IndexOutOfBoundsException.
9333 2004-10-18 Michael Koch <konqueror@gmx.de>
9335 * java/io/BufferedInputStream.java: Fixed @author tag.
9336 (read): Simplified expression.
9337 (read): Merged javadoc a bit more.
9338 (read): Renamed 'remain' to 'totalBytesRead'.
9339 * java/io/DataInputStream.java,
9340 java/io/DataOutputStream.java,
9341 java/io/ObjectInputStream.java,
9342 java/io/ObjectOutputStream.java:
9343 Reworked modifier order.
9345 2004-10-18 Michael Koch <konqueror@gmx.de>
9347 * java/net/Inet4Address.java: Merged file header and javadocs.
9348 * java/net/Inet6Address.java: Likewise.
9349 * java/net/InetAddress.java
9350 (getCanonicalHostName): Create Inet4Address object instead of
9351 InetAddress and add comment regarding IPv6.
9352 (toString): Simplified.
9354 2004-10-18 Michael Koch <konqueror@gmx.de>
9356 * gnu/java/net/protocol/http/Connection.java,
9357 java/nio/MappedByteBufferImpl.java,
9358 java/text/RuleBasedCollator.java,
9359 java/util/ResourceBundle.java:
9360 Reworked import statements.
9362 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9364 * java/security/IdentityScope.java
9365 (systemScope): Removed useless initializer.
9366 * java/security/Policy.java
9367 (currentPolicy): Likewise.
9369 2004-10-18 Michael Koch <konqueror@gmx.de>
9371 * java/lang/System.java: Revert accidential change.
9373 2004-10-18 Michael Koch <konqueror@gmx.de>
9375 * java/lang/Math.java,
9376 java/lang/Package.java,
9377 java/lang/Runtime.java,
9378 java/lang/StrictMath.java,
9379 java/lang/System.java,
9380 java/lang/Thread.java,
9381 java/lang/ThreadLocal.java,
9382 java/lang/Void.java:
9383 Reworked import statements, HTML in javadocs and modifier orders.
9385 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9387 * java/util/Timer.java
9388 (nr): Removed useless initializer.
9389 * java/util/logging/LogRecord.java
9390 (lastSeqNum): Likewise.
9391 * javax/naming/spi/NamingManager.java
9392 (icfb, ofb): Likewise.
9394 2004-10-18 Michael Koch <konqueror@gmx.de>
9396 * gnu/java/net/PlainDatagramSocketImpl.java:
9397 Reworked import statements.
9398 * gnu/java/security/provider/DSAParameters.java:
9399 Fixed copyrigth years.
9400 * java/net/JarURLConnection.java:
9401 Fixed HTML in @author tags.
9404 2004-10-18 Michael Koch <konqueror@gmx.de>
9406 * java/rmi/activation/ActivationSystem.java
9407 (SYSTEM_PORT): Initialize with correct port number.
9409 2004-10-18 Michael Koch <konqueror@gmx.de>
9411 * java/lang/reflect/Proxy.java: Improved javadocs.
9413 2004-10-18 Michael Koch <konqueror@gmx.de>
9415 * java/lang/reflect/AccessibleObject.java
9416 (checkPermission): Removed redundant final modifier.
9417 (secureSetAccessible): Likewise.
9418 * java/lang/reflect/Proxy.java:
9419 Reworked import statements.
9420 (generate): Removed redundant final modifier.
9421 * java/lang/reflect/ReflectPermission.java:
9422 Reorder package declaration and import statement.
9424 2004-10-18 Jeroen Frijters <jeroen@frijters.net>
9426 * java/lang/reflect/Proxy.java
9427 (count): Removed useless initializer.
9429 2004-10-17 Michael Koch <konqueror@gmx.de>
9431 * java/net/BindException.java,
9432 java/net/ConnectException.java,
9433 java/net/ContentHandler.java,
9434 java/net/ContentHandlerFactory.java,
9435 java/net/DatagramPacket.java,
9436 java/net/DatagramSocket.java,
9437 java/net/DatagramSocketImpl.java,
9438 java/net/DatagramSocketImplFactory.java,
9439 java/net/FileNameMap.java,
9440 java/net/HttpURLConnection.java,
9441 java/net/MalformedURLException.java,
9442 java/net/MulticastSocket.java,
9443 java/net/NetworkInterface.java,
9444 java/net/NoRouteToHostException.java,
9445 java/net/PasswordAuthentication.java,
9446 java/net/PortUnreachableException.java,
9447 java/net/ProtocolException.java,
9448 java/net/ServerSocket.java,
9449 java/net/Socket.java,
9450 java/net/SocketException.java,
9451 java/net/SocketImpl.java,
9452 java/net/SocketImplFactory.java,
9453 java/net/SocketOptions.java,
9454 java/net/SocketPermission.java,
9455 java/net/SocketTimeoutException.java,
9457 java/net/URISyntaxException.java,
9459 java/net/URLDecoder.java,
9460 java/net/URLEncoder.java,
9461 java/net/URLStreamHandler.java,
9462 java/net/URLStreamHandlerFactory.java,
9463 java/net/UnknownHostException.java,
9464 java/net/UnknownServiceException.java:
9465 Big import statement and @author tag cleanup.
9467 2004-10-17 Michael Koch <konqueror@gmx.de>
9469 * gnu/java/security/OID.java,
9470 gnu/java/security/provider/DSAParameters.java,
9471 gnu/java/security/provider/DSASignature.java,
9472 gnu/java/security/x509/X500DistinguishedName.java,
9473 gnu/java/security/x509/X509CRL.java:
9474 Import statements cleaned up.
9476 2004-10-16 Michael Koch <konqueror@gmx.de>
9478 * gnu/java/nio/NIODatagramSocket.java,
9479 gnu/java/nio/ServerSocketChannelImpl.java:
9480 Reorganized import statements.
9482 2004-10-16 Michael Koch <konqueror@gmx.de>
9484 * gnu/java/rmi/RMIMarshalledObjectOutputStream.java
9485 gnu/java/rmi/rmic/RMIC.java,
9486 gnu/java/rmi/server/RMIHashes.java,
9487 gnu/java/rmi/server/RMIObjectInputStream.java,
9488 gnu/java/rmi/server/RMIObjectOutputStream.java,
9489 gnu/java/rmi/server/UnicastConnection.java,
9490 gnu/java/rmi/server/UnicastConnectionManager.java,
9491 gnu/java/rmi/server/UnicastRemoteCall.java,
9492 gnu/java/rmi/server/UnicastServer.java,
9493 gnu/java/rmi/server/UnicastServerRef.java,
9494 java/rmi/MarshalledObject.java,
9495 java/rmi/Naming.java,
9496 java/rmi/RMISecurityManager.java,
9497 java/rmi/Remote.java,
9498 java/rmi/activation/Activatable.java,
9499 java/rmi/activation/ActivationDesc.java,
9500 java/rmi/activation/ActivationGroup.java,
9501 java/rmi/activation/ActivationGroupDesc.java,
9502 java/rmi/activation/ActivationGroupID.java,
9503 java/rmi/activation/ActivationID.java,
9504 java/rmi/activation/ActivationInstantiator.java,
9505 java/rmi/activation/ActivationMonitor.java,
9506 java/rmi/activation/ActivationSystem.java,
9507 java/rmi/activation/Activator.java,
9508 java/rmi/dgc/DGC.java,
9509 java/rmi/dgc/Lease.java,
9510 java/rmi/dgc/VMID.java,
9511 java/rmi/registry/LocateRegistry.java,
9512 java/rmi/registry/Registry.java,
9513 java/rmi/registry/RegistryHandler.java,
9514 java/rmi/server/LoaderHandler.java,
9515 java/rmi/server/LogStream.java,
9516 java/rmi/server/ObjID.java,
9517 java/rmi/server/Operation.java,
9518 java/rmi/server/RMIClassLoader.java,
9519 java/rmi/server/RMIClassLoaderSpi.java,
9520 java/rmi/server/RMIClientSocketFactory.java,
9521 java/rmi/server/RMIFailureHandler.java,
9522 java/rmi/server/RMIServerSocketFactory.java,
9523 java/rmi/server/RMISocketFactory.java,
9524 java/rmi/server/RemoteCall.java,
9525 java/rmi/server/RemoteObject.java,
9526 java/rmi/server/RemoteRef.java,
9527 java/rmi/server/RemoteServer.java,
9528 java/rmi/server/RemoteStub.java,
9529 java/rmi/server/ServerRef.java,
9530 java/rmi/server/Skeleton.java,
9531 java/rmi/server/SkeletonMismatchException.java,
9532 java/rmi/server/UID.java,
9533 java/rmi/server/UnicastRemoteObject.java,
9534 java/rmi/server/Unreferenced.java:
9535 File headers and import statements cleaned up.
9537 2004-10-16 Michael Koch <konqueror@gmx.de>
9539 * libjava/gnu/java/nio/charset/UTF_16.java,
9540 libjava/gnu/java/nio/charset/UTF_16BE.java,
9541 libjava/gnu/java/nio/charset/UTF_16LE.java,
9542 libjava/java/nio/ByteOrder.java,
9543 libjava/java/nio/MappedByteBuffer.java,
9544 libjava/java/nio/channels/Channels.java,
9545 libjava/java/nio/channels/spi/SelectorProvider.java,
9546 libjava/java/nio/charset/Charset.java:
9549 2004-10-16 Michael Koch <konqueror@gmx.de>
9551 * gnu/java/nio/charset/UTF_16Encoder.java
9552 (UTF_16Encoder): Fixed maxBytesPerChar handling.
9554 2004-10-16 Michael Koch <konqueror@gmx.de>
9556 * java/math/BigDecimal.java, java/math/BigInteger.java:
9557 Reorganized import statements, removed redundant and
9558 reorganized modifiers.
9560 2004-10-16 Michael Koch <konqueror@gmx.de>
9562 * gnu/java/beans/ExplicitBeanInfo.java:
9563 Explicitely import java.awt.Image.
9564 (getIcon): Fixed off-by-one error.
9566 2004-10-15 Andrew Haley <aph@redhat.com>
9568 * Makefile.am (nat_files, xlib_nat_files): New.
9569 * Makefile.in: Regenerate.
9571 2004-10-14 Ulrich Weigand <uweigand@de.ibm.com>
9573 * jni.cc (_Jv_JNIMethod::call): Use ffi_java_raw_call instead of
9574 ffi_raw_call if FFI_NATIVE_RAW_API is not defined.
9576 2004-10-13 Andrew Haley <aph@redhat.com>
9578 * interpret.cc (_Jv_InterpMethod::run): Initialize
9579 _Jv_StartOfInterpreter.
9580 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): Functions removed.
9581 (_Jv_StartOfInterpreter, _Jv_EndOfInterpreter): New variables.
9582 * gnu/gcj/runtime/natStackTrace.cc (fillInStackTrace): Use
9583 _Unwind_FindEnclosingFunction to discover whether PC is within the
9586 2004-10-12 Rutger Ovidius <ovidr@users.sourceforge.net>
9589 * testsuite/libjava.lang/md5test.java: New file.
9590 * testsuite/libjava.lang/md5test.out: Likewise.
9591 * testsuite/libjava.lang/shatest.java: Likewise.
9592 * testsuite/libjava.lang/shatest.out: Likewise.
9594 2004-10-11 Richard Henderson <rth@redhat.com>
9596 * include/posix-threads.h <__alpha__> (_Jv_ThreadId_t): Use void*.
9597 (_Jv_ThreadSelf): Use __builtin_thread_pointer.
9599 2004-10-08 Bryce McKinlay <mckinlay@redhat.com>
9601 * java/util/Calendar.java (set): Invalidate DST_OFFSET
9602 field as a DST boundary may have been crossed.
9603 * java/util/GregorianCalendar.java (add): Throw
9604 IllegalArgumentException on attempt to add to DST_OFFSET or
9605 ZONE_OFFSET fields. Update javadoc.
9607 2004-10-09 Michael Koch <konqueror@gmx.de>
9609 * java/io/CharArrayWriter.java
9610 (resize): Removed redundant 'final' modifier.
9611 * java/io/DataInputStream.java
9612 (readFully): Throw IndexOutOfBoundsException of len < 0.
9613 * java/io/FileDescriptor.java,
9614 java/io/FileInputStream.java,
9615 java/io/FileOutputStream.java,
9616 java/io/ObjectOutputStream.java,
9617 java/io/ObjectStreamClass.java,
9618 java/io/PipedInputStream.java,
9619 java/io/RandomAccessFile.java:
9620 Reorganized import statements.
9622 2004-10-09 Michael Koch <konqueror@gmx.de>
9624 * gnu/java/rmi/rmic/RMIC.java,
9625 gnu/java/rmi/server/RMIHashes.java,
9626 gnu/java/rmi/server/RMIObjectInputStream.java,
9627 gnu/java/rmi/server/UnicastConnection.java,
9628 gnu/java/rmi/server/UnicastConnectionManager.java,
9629 gnu/java/rmi/server/UnicastRemoteCall.java,
9630 gnu/java/rmi/server/UnicastServerRef.java:
9631 Reworked import statements and fixed file headers.
9633 2004-10-04 Loren J. Rittle <ljrittle@acm.org>
9635 * configure.ac (*-*-freebsd[[1234]]*): Refine error message
9637 * configure: Rebuilt.
9639 2004-09-30 Tom Tromey <tromey@redhat.com>
9641 * java/text/MessageFormat.java (Field): Constructor now
9644 2004-09-30 Tom Tromey <tromey@redhat.com>
9646 * javax/crypto/MacSpi.java: Fixed typo.
9648 2004-09-30 Michael Koch <konqueror@gmx.de>
9650 * java/net/InetAddress.java: Reformatted.
9651 (loopback): Initialize with Inet4Address object.
9652 (static): Initialize ANY_IF with Inet4Address object.
9653 (InetAddress): Removed unused package-private constructor.
9655 2004-09-30 Michael Koch <konqueror@gmx.de>
9657 * java/beans/Beans.java,
9658 java/beans/EventHandler.java,
9659 java/beans/EventSetDescriptor.java,
9660 java/beans/Introspector.java,
9661 java/beans/PropertyEditorManager.java,
9662 java/beans/beancontext/BeanContext.java,
9663 java/beans/beancontext/BeanContextChild.java,
9664 java/beans/beancontext/BeanContextChildSupport.java,
9665 java/beans/beancontext/BeanContextMembershipEvent.java:
9666 Reordered import statements and removed redundant modifiers.
9668 2004-09-29 Tom Tromey <tromey@redhat.com>
9671 * Makefile.in: Rebuilt.
9672 * Makefile.am (libgcj-@gcc_version@.jar): Include properties
9674 (all_property_files): New macro.
9676 * Makefile.in: Rebuilt.
9677 * Makefile.am (ordinary_java_source_files): Re-sorted.
9678 (libgcj.la): Moved to old location near lib-gnu-awt-xlib.la.
9680 2004-09-28 Tom Tromey <tromey@redhat.com>
9682 * jni.cc (_Jv_JNI_RegisterNatives): Formatting fixlets.
9685 * Makefile.am (libgcj.la): Restored.
9686 * Makefile.in: Rebuilt.
9688 2004-09-28 Michael Koch <konqueror@gmx.de>
9690 * java/net/URLConnection.java: Reformatted.
9691 * java/net/URLClassLoader.java: Reformatted.
9692 (getContent): Reordered return of content.
9693 (getContentHandler): Don't check for null explicitely.
9695 2004-09-27 Michael Koch <konqueror@gmx.de>
9697 * java/io/BufferedInputStream.java
9698 (BufferedInputStream): Added Jeroen Frijters to authors.
9699 (count): Don't explicitely initialize with default value.
9701 (marklimit): Likewise.
9702 (read): Changed boolean expression to match GNU classpath' version.
9703 (reset): Add proper message to exception.
9704 (skip): Check for closed stream.
9707 2004-09-26 Per Bothner <per@bothner.com>
9709 * prims.cc (unblock_signal): Annotate signum with __unused__ to
9710 avoid warnings in the non-POSIX_VERSION case.
9711 Also, we only need this function if either HANDLE_SEGV or HANDLE_FPE,
9712 so place it inside an #if block.
9713 * include/default-signal.h (SIGNAL_HANDLER): Parameters are __unused__.
9714 * include/i386-signal.h (SIGNAL_HANDLER): Likewise
9715 * include/mips-signal.h (SIGNAL_HANDLER): Likewise
9716 * include/sparc-signal.h (SIGNAL_HANDLER): Likewise
9718 2004-09-26 Per Bothner <per@bothner.com>
9720 * prims.cc (process_gcj_properties): Optimization.
9722 2004-09-26 Per Bothner <per@bothner.com>
9724 * java/util/Collections.java (sort): Copy from array in forwards
9725 order, rather than reverse order which may be much less efficient.
9727 2004-09-26 Mark Wielaard <mark@klomp.org>
9729 * java/lang/System.java (properties): Make package private.
9730 * java/lang/Throwable.java (StaticData.nl): Initialize through
9731 directly accessing System.properties.getProperty().
9733 * java/lang/Throwable.java (nl): Remove static field.
9734 (StaticData): New private static inner class.
9735 (stackTraceStringBuffer): Use StaticData.nl.
9737 2004-09-26 Casey Marshall <csm@gnu.org>
9739 * java/security/ProtectionDomain.java
9740 (<init>(CodeSource,PermissionCollection)): set `staticBinding' to
9743 * java/security/SecureClassLoader.java
9744 (defineClass): make protection domain dynamically bound.
9745 (getPermissions): call `getCurrentPolicy' to avoid permission
9748 2004-09-25 Mark Wielaard <mark@klomp.org>
9750 * Makefile.am (core_java_source_files): Add VMTimeZone.java.
9751 (nat_source_files): Rename natTimeZone.cc to natVMTimeZone.cc.
9752 * Makefile.in: Regenerated.
9754 * gcj/javaprims.h: Regenerated.
9756 * java/util/TimeZone.java (defaultZone): Use VMTimeZone.
9757 (getDefaultTimeZone): Make package private. Check that GMToffset
9758 contains at least one digit.
9759 (getDefaultTimeZoneId, readTimeZoneFile, readtzFile): (Re)Moved to
9761 * util/VMTimeZone.java: New file with above methods.
9763 * java/util/natTimeZone.cc: Removed (renamed).
9764 * java/util/natVMTimeZone.cc: Added (renamed).
9766 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
9768 * java/util/TimeZone.java
9769 (getDefaultTimeZone): Fixed test to distinguish between hours and
9770 minutes in specified timezone.
9772 2004-09-25 Jeroen Frijters <jeroen@frijters.net>
9774 * java/lang/reflect/Proxy.java (getPackage, ClassFactory): Fixed
9775 handling of default package. (generate): Removed confused comments
9776 and code about making Method and Field accessible.
9778 2004-09-25 Tom Tromey <tromey@redhat.com>
9781 * testsuite/libjava.compile/pr17500.java: New file.
9783 2004-09-25 Shashank Bapat <shashankbapat@yahoo.com>
9784 Mark Wielaard <mark@klomp.org>
9786 * gnu/regexp/RE.java (initialize): Add RETokenLookAhead support.
9787 * gnu/regexp/RETokenLookAhead.java: New file.
9789 * Makefile.am (ordinary_java_source_files): Add RETokenLookAhead.java.
9790 * Makefile.in: Regenerated.
9792 2004-09-25 Michael Koch <konqueror@gmx.de>
9794 * java/io/ObjectStreamField.java:
9795 Removed unused import statement.
9797 2004-09-24 Tom Tromey <tromey@redhat.com>
9800 * testsuite/libjava.compile/pr15656.xfail: New file.
9801 * testsuite/libjava.compile/pr15656.java: new file.
9804 * testsuite/libjava.lang/pr16789.out: New file.
9805 * testsuite/libjava.lang/pr16789.java: New file.
9807 2004-09-24 Andrew Haley <aph@redhat.com>
9810 * testsuite/libjava.compile/AssertBug.java: New file.
9812 2004-09-24 Casey Marshall <csm@gnu.org>
9814 * java/util/PropertyPermissionCollection.java
9815 (implies): avoid infinite loop.
9817 2004-09-24 Andrew John Hughes <gnu_andrew@member.fsf.org>
9819 * javax/security/auth/PrivateCredentialPermission.java
9820 (PrivateCredentialPermission): added serialization UID
9823 2004-09-24 Ilya Perminov <iperminov@logicalsoft.com>
9825 * gnu/java/rmi/server/UnicastServer.java
9826 (incomingMessageCall): Added code to handle Errors.
9827 * gnu/java/rmi/server/UnicastServerRef.java
9828 (incomingMessageCall): Added code to handle Errors.
9831 2004-09-24 Tom Tromey <tromey@redhat.com>
9833 * java/lang/ClassLoader.java (loadedClasses): Declare as HashMap.
9834 (definedPackages): Likewise.
9836 2004-09-24 Michael Koch <konqueror@gmx.de>
9838 * java/io/ObjectInputStream.java:
9841 2004-09-24 Casey Marshall <csm@gnu.org>
9843 * java/io/ObjectInputStream.java (callReadMethod): re-throw
9844 `ClassNotFoundException'.
9846 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
9848 * java/io/ObjectInputStream.java (readObject): Delegate instantation
9849 of Externalizable classes to ObjectStreamClass.
9850 * java/io/ObjectStreamClass.java (newInstance): New method to
9851 instantiate Externalizable (while ignoring the accessibility of
9852 the constructor). (constructor): New field to cache the constructor.
9854 2004-09-24 Mark Wielaard <mark@klomp.org>
9856 * java/net/URL.java (systemClassLoader): New static field.
9857 (getURLStreamHandler): Always use system/application classloader
9858 for finding URLStreamhandler. Remove unecessary instanceof checks.
9860 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
9863 (set): This method now matches the behaviour of the JDK.
9864 (DEFAULT_SEARCH_PATH): Added "gnu.inet".
9866 2004-09-24 Guilhem Lavaux <guilhem@kaffe.org>
9868 * java/net/URL.java (URL): Delete whitespaces in the protocol string.
9870 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
9872 * java/net/URL.java (URL(String,String,int,String,URLStreamHandler):
9873 Don't set authority if host isn't specified.
9875 2004-09-24 Michael Koch <konqueror@gmx.de>
9877 * gnu/java/nio/PipeImpl.java: Use VMPipe for native stuff.
9878 * gnu/java/nio/SelectorImpl.java: Use VMSelector for native stuff.
9879 * gnu/java/nio/VMPipe.java,
9880 gnu/java/nio/VMSelector.java:
9882 * gnu/java/nio/natPipeImplEcos.cc,
9883 gnu/java/nio/natPipeImplPosix.cc,
9884 gnu/java/nio/natPipeImplWin32.cc:
9886 * gnu/java/nio/natSelectorImplEcos.cc,
9887 gnu/java/nio/natSelectorImplPosix.cc,
9888 gnu/java/nio/natSelectorImplWin32.cc:
9889 Ported to VMSelector.
9890 * Makefile.am: Added new files gnu/java/nio/VMPipe.java and
9891 gnu/java/nio/VMSelector.java.
9892 * Makefile.in: Regenerated.
9894 2004-09-24 Jeroen Frijters <jeroen@frijters.net>
9896 * java/lang/StackTraceElement.java
9897 (className): Renamed field to declaringClass to be compatible
9898 with Sun serialization format.
9900 2004-09-23 Michael Koch <konqueror@gmx.de>
9902 * java/applet/AppletContext.java,
9903 java/applet/Applet.java,
9904 java/applet/AppletStub.java,
9905 java/applet/AudioClip.java:
9906 Jalopied and checkstyle clean.
9908 * javax/swing/JCheckBox.java: Reformated.
9909 (JCheckBox): Fixed all constructors.
9910 (isBorderPaintedFlat): New method.
9911 (setBorderPaintedFlat): New method.
9912 * javax/swing/JEditorPane.java
9913 (createEditorKitForContentType): Made public.
9914 (scrollToReference): Likewise.
9915 * javax/swing/JTextArea.java
9916 (setLineWrap): Fire property change.
9917 * javax/swing/JToggleButton.java
9918 (JToggleButton): New constructor.
9919 (JToggleButton): Simplified.
9920 * javax/swing/text/AttributeSet.java
9921 (FontAttribute): Renamed from FontCharacterAttribute.
9922 * javax/swing/text/JTextComponent.java
9923 (KeyBinBinding): Added javadoc.
9924 (JTextComponent): Likewise.
9925 (getAccessibleContext): Fixed javadoc.
9926 * javax/swing/text/View.java
9927 (View): Added javadoc.
9928 * javax/swing/text/TabableView.java: New file.
9929 * Makefile.am: Added javax/swing/text/TabableView.java.
9930 * Makefile.in: Regenerated.
9931 2004-09-23 Mark Wielaard <mark@klomp.org>
9933 * java/util/Collections.java
9934 (binarySearch(List, Object, Comparator)): Explicitly
9935 reverse direction in list iterator.
9936 (rotate): Just return when list is empty.
9938 2004-09-23 Tom Tromey <tromey@redhat.com>
9941 * testsuite/libjava.compile/pr17329.java: New file.
9944 * testsuite/libjava.jacks/jacks.xfail: Added 9.2-implicit-6 and
9947 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
9949 * Makefile.am: Run aclocal with -I ../config
9950 * acinclude.m4: Delete macros picked up from ../config and tidy.
9951 (AM_ICONV,AM_LC_MESSAGES, PKG_CHECK_MODULES): Delete.
9952 * aclocal.m4, configure, Makefile.in, gcj/Makefile.in: Regenerate.
9953 * include/Makefile.in, testsuite/Makefile.in: Regenerate.
9955 2004-09-22 Kelley Cook <kcook@gcc.gnu.org>
9957 * aclocal.m4: Regenerate with aclocal 1.9.2.
9958 * configure: Regenerate.
9959 * Makefile.in, gcj/Makefile.in: Regenerate with automake 1.9.2.
9960 * include/Makefile.in, testsuite/Makefile.in: Likewise.
9962 2004-09-22 David Daney <ddaney@avtrex.com>
9965 * java/net/URL.java (URL): Copy userInfo from context.
9966 (getUserInfo): Return cached userInfo if present.
9968 2004-09-22 Tom Tromey <tromey@redhat.com>
9971 * mauve-libgcj: Enable java.lang.Character tests.
9973 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
9975 * Makefile.am (lib_org_ietf_jgss_la_DEPENDENCIES): Add missing
9977 (lib_org_ietf_jgss_la_LIBADD): Likewise.
9978 * Makefile.in: Regenerated.
9980 2004-09-22 Andreas Tobler <a.tobler@schweiz.ch>
9982 * configure.ac: Introduce AC_C_BIGENDIAN_CROSS for WORDS_BIGENDIAN.
9983 * configure: Regenerate.
9984 * include/config.h.in: Likewise.
9985 * jni/gtk-peer/gtkpeer.h (SWAPU32): Introduce macro to swap pixels.
9986 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c: Moved SWAPU32
9988 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
9989 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_getImagePixels): Convert
9990 pixels from 0xBBGGRRAA to 0xAARRGGBB only on Little Endian
9992 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c (area_updated):
9995 2004-09-22 Tom Tromey <tromey@redhat.com>
9998 * java/util/zip/GZIPInputStream.java (read): Avoid sign extension
9999 when comparing CRCs.
10000 * java/util/zip/InflaterInputStream.java (onebytebuffer): New
10002 (read()): New overload.
10004 2004-09-21 Tom Tromey <tromey@redhat.com>
10006 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA):
10009 2004-09-21 Michael Koch <konqueror@gmx.de>
10011 * java/net/Socket.java
10012 (getLocalAddress): Return InetAddress.ANY_IF if not bound yet.
10014 2004-09-21 Casey Marshall <csm@gnu.org>
10016 * javax/crypto/MacSpi.java (clone): Provide meaningful
10019 2004-09-21 Tom Tromey <tromey@redhat.com>
10022 * Makefile.in: Rebuilt.
10023 * Makefile.am (MOSTLYCLEANFILES): Removed.
10024 (mostlyclean-local): Remove header files.
10026 2004-09-21 Casey Marshall <csm@gnu.org>
10028 * java/security/cert/X509CRLSelector.java:
10029 (match): remove unreachable try-catch clauses.
10030 Reported by: Dalibor Topic <robilad@kaffe.org>
10032 2004-09-21 Mark Wielaard <mark@klomp.org>
10034 * java/util/TreeMap.java (root): Don't initialize.
10035 (TreeMap(Comparator)): Call fabricateTree(0).
10036 (fabricateTree): Initialize root and size when count is 0.
10038 2004-09-21 Sven de Marothy <sven@physto.se>
10040 * java/nio/ByteBuffer.java (hashCode): Implemented.
10041 * java/nio/CharBuffer.java: Likewise.
10042 * java/nio/DoubleBuffer.java: Likewise.
10043 * java/nio/FloatBuffer.java: Likewise.
10044 * java/nio/LongBuffer.java: Likewise.
10045 * java/nio/IntBuffer.java: Likewise.
10046 * java/nio/ShortBuffer.java: Likewise.
10048 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
10050 * javax/security/auth/x500/X500Principal.java: Fix some merge glitches.
10052 2004-09-21 Michael Koch <konqueror@gmx.de>
10054 * javax/net/ssl/SSLServerSocket.java:
10055 Removed comment about "Do not edit this file, it's generated.".
10057 2004-09-21 Andreas Tobler <a.tobler@schweiz.ch>
10059 Import the big Crypto/Jessie/Security merge from Classpath.
10061 * Makefile.am: Add imported files.
10062 * Makefile.in: Regenerate.
10064 2004-08-14 Casey Marshall <csm@gnu.org>
10066 The Big Crypto Merge of 2004.
10068 * javax/security/auth/x500/X500Principal.java: Replaced with GNU
10071 Files imported from GNU Crypto.
10072 * javax/crypto/BadPaddingException.java
10073 * javax/crypto/Cipher.java
10074 * javax/crypto/CipherInputStream.java
10075 * javax/crypto/CipherOutputStream.java
10076 * javax/crypto/CipherSpi.java
10077 * javax/crypto/EncryptedPrivateKeyInfo.java
10078 * javax/crypto/ExemptionMechanism.java
10079 * javax/crypto/ExemptionMechanismException.java
10080 * javax/crypto/ExemptionMechanismSpi.java
10081 * javax/crypto/IllegalBlockSizeException.java
10082 * javax/crypto/KeyAgreement.java
10083 * javax/crypto/KeyAgreementSpi.java
10084 * javax/crypto/KeyGenerator.java
10085 * javax/crypto/KeyGeneratorSpi.java
10086 * javax/crypto/Mac.java
10087 * javax/crypto/MacSpi.java
10088 * javax/crypto/Makefile.am
10089 * javax/crypto/NoSuchPaddingException.java
10090 * javax/crypto/NullCipher.java
10091 * javax/crypto/NullCipherImpl.java
10092 * javax/crypto/SealedObject.java
10093 * javax/crypto/SecretKey.java
10094 * javax/crypto/SecretKeyFactory.java
10095 * javax/crypto/SecretKeyFactorySpi.java
10096 * javax/crypto/ShortBufferException.java
10097 * javax/crypto/interfaces/DHKey.java
10098 * javax/crypto/interfaces/DHPrivateKey.java
10099 * javax/crypto/interfaces/DHPublicKey.java
10100 * javax/crypto/interfaces/PBEKey.java
10101 * javax/crypto/spec/DESKeySpec.java
10102 * javax/crypto/spec/DESedeKeySpec.java
10103 * javax/crypto/spec/DHGenParameterSpec.java
10104 * javax/crypto/spec/DHParameterSpec.java
10105 * javax/crypto/spec/DHPrivateKeySpec.java
10106 * javax/crypto/spec/DHPublicKeySpec.java
10107 * javax/crypto/spec/IvParameterSpec.java
10108 * javax/crypto/spec/PBEKeySpec.java
10109 * javax/crypto/spec/PBEParameterSpec.java
10110 * javax/crypto/spec/RC2ParameterSpec.java
10111 * javax/crypto/spec/RC5ParameterSpec.java
10112 * javax/crypto/spec/SecretKeySpec.java
10113 * javax/security/auth/AuthPermission.java
10114 * javax/security/auth/DestroyFailedException.java
10115 * javax/security/auth/Destroyable.java
10116 * javax/security/auth/Policy.java
10117 * javax/security/auth/PrivateCredentialPermission.java
10118 * javax/security/auth/RefreshFailedException.java
10119 * javax/security/auth/Refreshable.java
10120 * javax/security/auth/Subject.java
10121 * javax/security/auth/SubjectDomainCombiner.java
10122 * javax/security/auth/callback/Callback.java
10123 * javax/security/auth/callback/CallbackHandler.java
10124 * javax/security/auth/callback/ChoiceCallback.java
10125 * javax/security/auth/callback/ConfirmationCallback.java
10126 * javax/security/auth/callback/LanguageCallback.java
10127 * javax/security/auth/callback/NameCallback.java
10128 * javax/security/auth/callback/PasswordCallback.java
10129 * javax/security/auth/callback/TextInputCallback.java
10130 * javax/security/auth/callback/TextOutputCallback.java
10131 * javax/security/auth/callback/UnsupportedCallbackException.java
10132 * javax/security/auth/login/AccountExpiredException.java
10133 * javax/security/auth/login/AppConfigurationEntry.java
10134 * javax/security/auth/login/Configuration.java
10135 * javax/security/auth/login/CredentialExpiredException.java
10136 * javax/security/auth/login/FailedLoginException.java
10137 * javax/security/auth/login/LoginContext.java
10138 * javax/security/auth/login/LoginException.java
10139 * javax/security/auth/login/NullConfiguration.java
10140 * javax/security/auth/x500/X500PrivateCredential.java
10141 * javax/security/sasl/AuthenticationException.java
10142 * javax/security/sasl/AuthorizeCallback.java
10143 * javax/security/sasl/RealmCallback.java
10144 * javax/security/sasl/RealmChoiceCallback.java
10145 * javax/security/sasl/Sasl.java
10146 * javax/security/sasl/SaslClient.java
10147 * javax/security/sasl/SaslClientFactory.java
10148 * javax/security/sasl/SaslException.java
10149 * javax/security/sasl/SaslServer.java
10150 * javax/security/sasl/SaslServerFactory.java
10151 * org/ietf/jgss/ChannelBinding.java
10152 * org/ietf/jgss/GSSContext.java
10153 * org/ietf/jgss/GSSCredential.java
10154 * org/ietf/jgss/GSSException.java
10155 * org/ietf/jgss/GSSManager.java
10156 * org/ietf/jgss/GSSName.java
10157 * org/ietf/jgss/MessageProp.java
10158 * org/ietf/jgss/Oid.java
10159 * org/ietf/jgss/MessagesBundle.properties
10161 Files imported from Jessie <http://www.nongnu.org/jessie/>
10162 * javax/net/ServerSocketFactory.java
10163 * javax/net/SocketFactory.java
10164 * javax/net/VanillaServerSocketFactory.java
10165 * javax/net/VanillaSocketFactory.java
10166 * javax/net/ssl/HandshakeCompletedEvent.java
10167 * javax/net/ssl/HandshakeCompletedListener.java
10168 * javax/net/ssl/HostnameVerifier.java
10169 * javax/net/ssl/HttpsURLConnection.java
10170 * javax/net/ssl/KeyManager.java
10171 * javax/net/ssl/KeyManagerFactory.java
10172 * javax/net/ssl/KeyManagerFactorySpi.java
10173 * javax/net/ssl/ManagerFactoryParameters.java
10174 * javax/net/ssl/SSLContext.java
10175 * javax/net/ssl/SSLContextSpi.java
10176 * javax/net/ssl/SSLException.java
10177 * javax/net/ssl/SSLHandshakeException.java
10178 * javax/net/ssl/SSLKeyException.java
10179 * javax/net/ssl/SSLPeerUnverifiedException.java
10180 * javax/net/ssl/SSLPermission.java
10181 * javax/net/ssl/SSLProtocolException.java
10182 * javax/net/ssl/SSLServerSocket.java
10183 * javax/net/ssl/SSLServerSocketFactory.java
10184 * javax/net/ssl/SSLSession.java
10185 * javax/net/ssl/SSLSessionBindingEvent.java
10186 * javax/net/ssl/SSLSessionBindingListener.java
10187 * javax/net/ssl/SSLSessionContext.java
10188 * javax/net/ssl/SSLSocket.java
10189 * javax/net/ssl/SSLSocketFactory.java
10190 * javax/net/ssl/TrivialHostnameVerifier.java
10191 * javax/net/ssl/TrustManager.java
10192 * javax/net/ssl/TrustManagerFactory.java
10193 * javax/net/ssl/TrustManagerFactorySpi.java
10194 * javax/net/ssl/X509KeyManager.java
10195 * javax/net/ssl/X509TrustManager.java
10196 * javax/security/cert/Certificate.java
10197 * javax/security/cert/CertificateEncodingException.java
10198 * javax/security/cert/CertificateException.java
10199 * javax/security/cert/CertificateExpiredException.java
10200 * javax/security/cert/CertificateNotYetValidException.java
10201 * javax/security/cert/CertificateParsingException.java
10202 * javax/security/cert/X509CertBridge.java
10203 * javax/security/cert/X509Certificate.java
10205 2004-08-20 Casey Marshall <csm@gnu.org>
10207 * java/security/cert/X509CRLSelector.java: New file.
10208 * java/security/cert/X509CertSelector.java: New file.
10210 2004-09-15 Michael Koch <konqueror@gmx.de>
10212 * gnu/java/net/protocol/file/Handler.java
10213 (openConnection): Don't throw exception if host part for file: URI is
10214 present. setURL() keeps file: protocol if ftp: protocol is not
10217 2004-09-14 Richard Henderson <rth@redhat.com>
10219 * java/lang/natPosixProcess.cc (waitForSignal): Ignore return
10220 value of sigsuspend.
10222 2004-09-12 Tom Tromey <tromey@redhat.com>
10224 * javax/naming/CompoundName.java (CompoundName): Don't check for
10225 separator in "flat" case.
10227 2004-09-12 Michael Koch <konqueror@gmx.de>
10229 * libltdl/configure.ac: Fixed AM_INIT_AUTOMAKE usage and replaces
10230 AM_CONFIG_HEADER by AC_CONFIG_FILES.
10231 * libltdl/Makefile.in, libltdl/aclocal.m4, libltdl/configure:
10234 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
10237 * win32-threads.cc (_Jv_ThreadInitData): Zero out thread
10238 handle in newly-allocated _Jv_Thread_t.
10239 (_Jv_ThreadDestroyData): Close thread handle.
10240 (_Jv_ThreadStart): Remove obsolete comment.
10241 Store handle of newly-created thread in _Jv_Thread_t.
10242 * include/win32-threads.h: #define WIN32_LEAN_AND_MEAN
10243 before including <windows.h>
10244 #define _Jv_HaveCondDestroy
10246 2004-09-11 Mohan Embar <gnustuff@thisiscool.com>
10248 * java/lang/natThread.cc (finalize_native): Destroy
10249 join conditional variable and mutex if these destroy
10250 operations are supported.
10252 2004-09-10 Dalibor Topic <robilad@kaffe.org>
10254 * gnu/java/net/protocol/file/Connection.java (permission): New field.
10255 (DEFAULT_PERMISSION): New constant.
10256 (Connection): Create a FilePermission with permission to read file.
10258 2004-09-10 Michael Koch <konqueror@gmx.de>
10260 * gnu/java/net/protocol/file/Connection.java
10261 (getLastModified): Moved around.
10262 (getPermission): Return stored permission.
10264 2004-09-10 Michael Koch <konqueror@gmx.de>
10266 * Makefile.in: Regenerate.
10268 2004-09-10 Michael Koch <konqueror@gmx.de>
10270 * Makefile.am: Reverted accidently commited stuff.
10271 * configure: Regenerated.
10273 2004-09-10 Michael Koch <konqueror@gmx.de>
10275 * gnu/java/net/protocol/file/Connection.java
10276 (lineSeparator): Made non-final.
10278 (connect): Initialize lineSeparator lazily. Use ByteArrayInputStream
10279 instead of StringBufferInputStream.
10281 2004-09-10 Michael Koch <konqueror@gmx.de>
10283 * gnu/java/net/protocol/file/Connection.java
10284 (connect): Handle file is a directory case.
10286 2004-09-10 Michael Koch <konqueror@gmx.de>
10289 (xlib_includes): Removed.
10290 (AM_CPPFLAGS): Renamed from INCLUDES.
10291 (lib_gnu_awt_xlib_la_CPPFLAGS): New automake variable.
10292 * Makefile.in: Regenerate.
10294 2004-09-09 Michael Koch <konqueror@gmx.de>
10296 * java/security/ProtectionDomain.java,
10297 * java/util/PropertyPermissionCollection.java:
10298 Fixed javadocs all over.
10300 2004-09-09 Sven de Marothy <sven@physto.se>
10302 Patch from David Gilbert <david.gilbert@object-refinery.com>
10303 * java/lang/Comparable.java: Fixed documentation errors.
10304 * java/util/Arrays.java: Likewise.
10306 2004-09-09 Andrew John Hughes <gnu_andrew@member.fsf.org>
10308 * java/net/Inet4Address.java
10309 (Inet4Address): Added comment to serialization UID.
10310 * java/text/Format.java
10311 (Format): Added comment to serialization UID.
10313 2004-09-09 Michael Koch <konqueror@gmx.de>
10315 * java/lang/System.java
10316 (err): Fixed javadoci to point to setErr() and not setOut().
10318 2004-09-09 Jeroen Frijters <jeroen@frijters.net>
10320 (normalizePath): Added special case for windows systems.
10322 2004-09-09 Michael Koch <konqueror@gmx.de>
10324 * java/io/File.java
10325 (dupSeparator): Made private.
10326 (File(URI)): New constructor.
10327 (getParentFile): Fixed javadoc.
10328 (createTempFile): Reformated.
10329 (setReadOnly): Added comment.
10330 (deleteOnExit): Merged javadoc with classpath version.
10332 2004-09-09 Michael Koch <konqueror@gmx.de>
10334 * Makefile.am: Don't try to include deps.mk.
10335 * Makefile.in: Regenerated.
10337 2004-09-08 Bryce McKinlay <mckinlay@redhat.com>
10339 * configure.ac (AC_CONFIG_COMMANDS): Don't create subdirectories and
10341 * configure: Rebuilt.
10343 2004-09-04 Mohan Embar <gnustuff@thisiscool.com>
10345 * java/net/natNetworkInterfaceWin32.cc (getRealNetworkInterfaces):
10346 Changed pfn from static local to local.
10348 2004-09-03 Bryce McKinlay <mckinlay@redhat.com>
10349 H.J. Lu <hongjiu.lu@intel.com>
10352 * Makefile.am (GCJCOMPILE): Remove definition.
10353 (AM_CFLAGS): Add -fclasspath and -fbootclasspath flags.
10354 Use LTGCJCOMPILE, not GCJCOMPILE, to build .lo targets.
10355 * Makefile.in: Rebuilt.
10357 2004-09-03 Kelley Cook <kcook@gcc.gnu.org>
10359 * configure.ac (enable-gc-debug): Update help for new syntax.
10360 * configure: Regenerate.
10362 2004-09-03 David Daney <ddaney@avtrex.com>
10364 * include/mips-signal.h: Update copyright.
10366 2004-09-03 David Daney <ddaney@avtrex.com>
10368 * configure.host: Use -fno-use-divide-subroutine for mips*-*-linux*.
10369 * include/mips-signal.h: Added HANDLE_FPE support.
10371 2004-08-31 Michael Koch <konqueror@gmx.de>
10373 * javax/swing/plaf/basic/BasicTextAreaUI.java
10374 (create): New method.
10375 * javax/swing/text/DefaultHighlighter.java
10376 (DefaultHighlightPainter.debugRect): Removed.
10377 * javax/swing/text/StyleContext.java
10378 (DEFAULT_STYLE): New field.
10380 2004-08-31 Michael Koch <konqueror@gmx.de>
10382 * javax/swing/plaf/basic/BasicLookAndFeel.java
10383 (initComponentDefaults): Add keybindings for selection.backward and
10384 selection-forward for text components.
10385 * javax/swing/plaf/basic/BasicTextUI.java
10386 (paintSafely): Paint highlight only when something is actually
10388 * javax/swing/text/DefaultCaret.java
10389 (handleHighlight): New method.
10390 (setSelectionVisible): Don't do anything when nothing changes.
10392 (moveDot): Reimplemented. Handle highlight.
10393 (setDot): Set mark too. Handle highlight.
10394 (getSelectionPainter): New method.
10395 * javax/swing/text/DefaultEditorKit.java
10396 (defaultActions): Added new actions for text selection.
10397 * javax/swing/text/DefaultHighlighter.java
10398 (DefaultHighlightPainter): New inner class.
10399 (DefaultPainter): New field.
10400 (paint): Implemented.
10401 * javax/swing/text/PlainView.java
10402 (paint): Don't draw background here again.
10403 * javax/swing/text/Utilities.java
10404 (getTabbedTextWidth): Use width of ' ' instead of 'm' for tabsize.
10405 (drawTabbedText): Likewise.
10407 2004-08-31 Graydon Hoare <graydon@redhat.com>
10409 * javax/swing/JComponent.java
10410 (resetKeyboardActions): Add null checks.
10412 2004-08-31 Graydon Hoare <graydon@redhat.com>
10414 * javax/swing/DefaultButtonModel.java:
10415 Skip group notification when no group is set.
10417 2004-08-31 Graydon Hoare <graydon@redhat.com>
10419 * javax/swing/JColorChooser.java:
10420 Make a couple inner classes static, for jikes.
10422 2004-08-31 Michael Koch <konqueror@gmx.de>
10424 * javax/swing/plaf/basic/BasicTextUI.java
10425 (RottView.modelToView): New method.
10426 (UpdateHandler): Renamed from EventHandler.
10427 (updateHandler): Renamed from eventHandler.
10428 (modelToView): Implemented.
10429 * javax/swing/text/AbstractDocument.java
10430 (BranchElement.getElement): Return null for non-existing indeces.
10431 (BranchElement.getElementIndex): Return 0 in some corner cases.
10432 * javax/swing/text/FieldView.java
10433 (modelToView): New method.
10434 * javax/swing/text/PlainView.java
10435 (modelToView): Made public.
10437 2004-08-31 Kim Ho <kho@redhat.com>
10439 * Makefile.am: New files.
10440 * Makefile.in: Regenerate.
10441 * gcj/Makefile.in: Regenerate.
10442 * include/Makefile.in: Regenerate.
10443 * java/awt/Color.java: Fix documentation.
10444 (RGBtoHSB): Use floats for conversions.
10445 * javax/swing/ButtonGroup.java: Run Jalopy.
10446 (setSelected): Reimplement.
10447 * javax/swing/DefaultButtonModel.java: Run Jalopy.
10448 (changeState): Let ButtonGroup know that the button
10450 * javax/swing/JColorChooser.java: Implement.
10451 * javax/swing/JLabel.java: Run Jalopy.
10452 * javax/swing/JSpinner.java: Run Jalopy.
10453 (setValue): New method.
10454 * javax/swing/JTabbedPane.java: Run Jalopy.
10455 (removeTabAt): Call correct remove method.
10456 * javax/swing/SpinnerNumberModel.java: Run Jalopy.
10457 (getPreviousValue): Compare minimum value.
10458 * javax/swing/Timer.java: Run Jalopy.
10459 (run): Comment out println.
10460 * javax/swing/ToolTipManager.java:
10461 (mouseMoved): Get new tooltip text for location.
10462 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
10463 Jalopy and Javadoc.
10464 * javax/swing/colorchooser/ColorChooserComponentFactory.java:
10466 * javax/swing/colorchooser/DefaultColorSelectionModel.java:
10468 (setSelectedColor): Fire ChangeEvent.
10469 * javax/swing/colorchooser/DefaultHSBChooserPanel.java:
10470 New file. Implement.
10471 * javax/swing/colorchooser/DefaultPreviewPanel.java:
10473 * javax/swing/colorchooser/DefaultRGBChooserPanel.java:
10475 * javax/swing/colorchooser/DefaultSwatchChooserPanel.java:
10477 * javax/swing/plaf/basic/BasicArrowButton.java:
10478 (getArrow): Fix size of upward pointing button.
10479 * javax/swing/plaf/basic/BasicColorChooserUI.java:
10481 * javax/swing/plaf/basic/BasicSliderUI.java:
10482 (getWidthOfWidestLabel): Use preferred dimensions.
10483 (getHeightOfTallestLabel): Ditto.
10484 * javax/swing/plaf/basic/BasicSpinnerUI.java:
10486 (mousePressed): Disable changes to spinner if it is not enabled.
10487 * testsuite/Makefile.in: Regenerate.
10490 2004-08-31 Michael Koch <konqueror@gmx.de>
10492 * javax/swing/plaf/basic/BasicTableHeaderUI.java,
10493 javax/swing/plaf/basic/BasicTableUI.java:
10494 Added copyright notice.
10496 2004-08-31 Olga Rodimina <rodimina@redhat.com>
10498 * Makefile.am: Added new files.
10499 * Makefile.in: Regenerate.
10500 * javax/swing/ComboBoxEditor.java: Added javadocs.
10501 * javax/swing/ComboBoxModel.java: Likewise.
10502 * javax/swing/DefaultComboBoxModel.java: Implemented.
10503 * javax/swing/DefaultListCellRenderer.java: Added javadocs
10504 and ran through jalopy to fix formatting style.
10505 (getListCellRendererComponent): Use appropriate border
10506 if renderer has focus and use noFocusBorder when it doesn't.
10507 * javax/swing/JComboBox.java: Implemented.
10508 * javax/swing/JList.java:
10509 (locationToIndex): New Method. Implemented.
10510 (indexToLocation): New Method.
10511 * javax/swing/JPopupMenu.java:
10512 (visible): New field.
10513 (isVisible): Changed to use new field above.
10514 (setVisible): Likewise.
10515 * javax/swing/MutableComboBoxModel.java: Added javadocs.
10516 * javax/swing/plaf/basic/BasicArrowButton.java:
10517 (shadow): Changed default color to Color.gray.
10518 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
10519 UI delegate for JComboBox.
10520 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
10521 Popup menu containing list of JComboBox's items.
10522 * javax/swing/plaf/basic/BasicComboBoxEditor.java: New File.
10523 * javax/swing/plaf/basic/BasicComboBoxRenderer.java: New File.
10524 * javax/swing/plaf/basic/BasicComboBoxUI.java: New File.
10525 * javax/swing/plaf/basic/BasicComboPopup.java: New File.
10526 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
10527 (popupMenuWillBecomeVisible): Set selected path to the first
10528 element only if it is of type MenuElement. Also fix formatting
10530 * javax/swing/plaf/basic/ComboPopup.java: Added javadocs and missing
10531 methods signatures.
10533 2004-08-31 Michael Koch <konqueror@gmx.de>
10535 * javax/swing/text/AbstractDocument.java
10536 (createBranchElement): Use new constructor of BranchElement.
10537 (createLeafElement): Renamed arguments.
10538 (getRootElements): Implemented.
10539 (BranchElement.start): Removed.
10540 (BranchElement.end): Likewise.
10541 (BranchElement.BranchElement): Fixed arguments.
10542 (BranchElement.getEndOffset): Reimplemented.
10543 (BranchElement.getStartOffset): Likewis.
10544 * javax/swing/text/DefaultCaret.java
10545 (paint): Draw simple vertical line as caret instead of a rectangle.
10546 * javax/swing/text/JTextComponent.java
10547 (setText): Use doc directly.
10548 * javax/swing/text/PlainView.java
10549 (nextTabStop): Implemented.
10550 * javax/swing/text/Utilities.java
10551 (drawTabbedText): nextTabStop() returns an absolute x position.
10552 (getTabbedTextWidth): Likewise.
10554 2004-08-31 Graydon Hoare <graydon@redhat.com>
10556 * java/awt/Component.java
10557 (isFocusTraversable): Predicate on isLightweight()
10558 (setFocusable): Set isFocusTraversableOverridden.
10559 (requestFocus): Predicate peer dispatch on !isLightweight()
10560 (requestFocusInWindow): Likewise.
10561 (dispatchEventImpl): Coordinate with KeyboardFocusManager.
10562 * java/awt/Container.java
10563 (dispatchEventImpl): Predicate on event mask.
10564 (LightweightDispatcher): Remove focus machinery.
10565 * java/awt/DefaultFocusTraversalPolicy.java
10566 (accept): Expand predicate to include isFocusable().
10567 * java/awt/DefaultKeyboardFocusManager.java:
10568 Globally change c.dispatchEvent(e) to redispatchEvent(c,e)
10569 * java/awt/KeyboardFocusManager.java
10570 (redispatchEvent): Synchronize on event to prevent feedback.
10571 * javax/swing/AbstractButton.java
10572 (ButtonFocusListener): Remove class.
10573 (init): Set focusPainted, focusable.
10574 * javax/swing/ActionMap.java (get): Check parent for null.
10575 * javax/swing/InputMap.java (get): Likewise.
10576 * javax/swing/JComponent.java
10577 (inputMap_whenFocused): New InputMap.
10578 (inputMap_whenAncestorOfFocused): Likewise.
10579 (inputMap_whenInFocusedWindow): Likewise.
10580 (getActionForKeyStroke): Rewrite.
10581 (getConditionForKeystroke): Likewise.
10582 (ActionListenerProxy): New private class.
10583 (setInputMap): Implement.
10584 (getInputMap): Likewise.
10585 (setActionMap): Likewise.
10586 (getActionMap): Likewise.
10587 (processComponentKeyEvent): New empty method.
10588 (processKeyEvent): Implement.
10589 (processKeyBinding): Likewise.
10590 (resetKeyboardActions): Rewrite.
10591 * javax/swing/KeyStroke.java: Rewrite.
10592 * javax/swing/SwingUtilities.java
10593 (notifyAction): Implement.
10594 (replaceUIActionMap): Likewise.
10595 (replaceUIInputMap): Likewise.
10596 * javax/swing/plaf/basic/BasicButtonListener.java
10597 (focusGained): Implement.
10598 (focusLost): Repaint if focusPainted().
10599 (installKeyboardActions): Install pressed / released actions.
10600 (uninstallKeyboardActions): Implement.
10601 * javax/swing/plaf/basic/BasicButtonUI.java
10602 (focusColor): New field.
10603 (installDefaults): Load focus color, install input map.
10604 (installKeyboardActions): Implement.
10605 (uninstallKeyboardActions): Likewise.
10606 (paintFocus): Rewrite.
10607 * javax/swing/plaf/basic/BasicLookAndFeel.java
10608 (Button.focus): New default, midPurple.
10609 * javax/swing/plaf/basic/BasicTextUI.java
10610 (kit): Make static.
10611 (installUI): Get doc from kit, load defaults.
10612 (getKeymapName): Implement.
10613 (createKeymap): Likewise.
10614 (installKeyboardActions): Likewise.
10615 (getInputMap): Likewise.
10616 (getActionMap): Likewise.
10617 (createActionMap): Likewise.
10618 * javax/swing/text/AbstractDocument.java
10619 (getStartPosition): Implement.
10620 (getEndPosition): Likewise.
10621 * javax/swing/text/DefaultEditorKit.java
10622 (CopyAction): New class.
10623 (CutAction): Likewise.
10624 (DefaultKeyTypedAction): Likewise.
10625 (InsertBreakAction): Likewise.
10626 (InsertContentAction): Likewise.
10627 (InsertTabAction): Likewise.
10628 (PasteAction): Likewise.
10629 (defaultActions): New static table.
10630 (createCaret): Implement.
10631 (getActions): Likewise.
10632 * javax/swing/text/JTextComponent.java
10633 (KeymapWrapper): New private class.
10634 (KeymapActionMap): Likewise.
10635 (DefaultKeymap): New class.
10636 (keymaps): New static table.
10637 (keymap): New field.
10638 (getKeymap): Implement.
10639 (removeKeymap): Likewise.
10640 (addKeymap): Likewise.
10641 (setKeymap): Likewise.
10642 (loadKeymap): Likewise.
10643 (getActions): Likewise.
10644 (margin): New field.
10645 (JTextComponent): Build and install default keymap.
10646 * javax/swing/text/TextAction.java
10647 (textAction): Call super properly.
10648 (getTextComponent): Implement.
10649 * javax/swing/text/Utilities.java
10650 (drawTabbedText): Adjust position by ascent.
10652 2004-08-31 David Jee <djee@redhat.com>
10656 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
10657 (setEnabled): Make it a native method.
10658 * java/awt/DefaultKeyboardFocusManager.java
10659 (postProcessKeyEvent): Only post event if the menu item
10661 * java/awt/MenuItem.java:
10662 Private field 'enabled' should be true by default.
10663 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
10664 (setEnabled): New function.
10666 2004-08-31 David Jee <djee@redhat.com>
10670 * gnu/java/awt/peer/gtk/GtkMenuBarPeer.java
10671 (nativeSetHelpMenu): New native method declaration.
10672 (addHelpMenu): Call nativeSetHelpMenu().
10674 * java/awt/MenuBar.java
10675 (setHelpMenu): Call addNotify() on the new help menu.
10676 (add): Call addNotify() on the new menu.
10677 (addNotify): Set the help menu if one exists.
10678 * java/awt/peer/MenuBarPeer.java
10680 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
10681 (nativeSetHelpMenu): New method.
10683 2004-08-31 Graydon Hoare <graydon@redhat.com>
10685 * Makefile.am: Add new files.
10686 * Makefile.in: Regenerate.
10687 * javax/swing/Box.java: Fix setting of layout in ctor.
10688 * javax/swing/JScrollPane.java: Scroll headers as well.
10689 * javax/swing/JTable.java: Reimplement.
10690 * javax/swing/JViewPort.java: Only add non-null children.
10691 * javax/swing/ScrollPaneLayout.java: Correct header calculations.
10692 * javax/swing/Timer.java: Fix stopping null waker.
10693 * javax/swing/plaf/basic/BasicTableHeaderUI.java: New file.
10694 * javax/swing/plaf/basic/BasicTableUI.java: New file.
10695 * javax/swing/table/DefaultTableCellRenderer.java: Configure.
10696 * javax/swing/table/DefaultTableColumnModel.java: Flesh out.
10697 * javax/swing/table/DefaultTableModel.java: Clean up.
10698 * javax/swing/table/JTableHeader.java: Implement.
10700 2004-08-31 Mark Wielaard <mark@klomp.org>
10702 * javax/swing/JSpinner.java (getChangeListeners): Remove double
10705 2004-08-31 Mark Wielaard <mark@klomp.org>
10707 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
10708 Declare variables at top of functions/block.
10709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c: Likewise.
10711 2004-08-31 Mark Wielaard <mark@klomp.org>
10713 * java/lang/Rectangle.java (intersects): Check r.width and r.height
10716 2004-08-31 Michael Koch <konqueror@gmx.de>
10718 * javax/swing/text/PlainView.java
10719 (selectedColor): New field.
10720 (unselectedColor): Likewise.
10722 (updateMetrics): New method.
10723 (lineToRect): Likewise.
10724 (modelToView): Likewise.
10725 (drawSelectedText): Use color from JTextComponent ad draw with
10727 (drawUnselectedText): Likewise.
10728 (paint): Initialize helper fields.
10729 * javax/swing/text/View.java
10730 (getChildAllocation): New method.
10731 (getViewIndex): Likewise.
10732 (getToolTipText): Likewise.
10734 2004-08-31 Michael Koch <konqueror@gmx.de>
10736 * javax/swing/text/Utilities.java
10737 (drawTabbedText): Reimplemented.
10738 (getTabbedTextWidth): Likewise.
10740 2004-08-31 Michael Koch <konqueror@gmx.de>
10742 * javax/swing/plaf/basic/BasicTextUI.java
10743 (installDefaults): Install caret and highlighter.
10744 (modelToView): Use Bias.Forward when calling sibling.
10745 * javax/swing/text/AbstractDocument.java
10746 (ElementEdit): Implements DocumentEvent.ElementChange.
10747 (ElementEdit.ElementEdit): New method.
10748 (ElementEdit.getChildrenAdded): Likewise.
10749 (ElementEdit.getChildrenRemoved): Likewise.
10750 (ElementEdit.getElement): Likewise.
10751 (ElementEdit.getIndex): Likewise.
10752 * javax/swing/text/DefaultCaret.java
10754 (textComponent): Renamed from parent, made private.
10755 (selectionVisible): Renamed from vis_sel, made private.
10756 (blinkRate): Renamed from blink, made private.
10757 (magicCaretPosition): Renamed from magic, made private.
10758 (visible): Renamed from vis, made private.
10759 (dot): Made private.
10761 (deinstall): Remove as MouseMotionListener.
10762 (install): Initialize textComponent first. Add as MouseMotionListener.
10763 (paint): Reimplemented.
10764 * javax/swing/text/JTextComponent.java
10765 (setCaret): Deinstall old caret, install new one and fire property
10766 change after setting property.
10767 (setHighlighter): Deinstall old highlighter, install new one and fire
10768 property change after setting property.
10769 (setCaretColor): Fire property change after setting property.
10770 (setDisabledTextColor): Likewise.
10771 (setSelectedTextColor): Likewise.
10772 (setSelectionColor): Likewise.
10773 (modelToView): New method.
10775 2004-08-31 Michael Koch <konqueror@gmx.de>
10777 * javax/swing/text/AbstractDocument.java
10778 (getText): Simplified.
10779 * javax/swing/text/Segment.java
10780 (current): New field.
10781 (current): Reimplemented.
10783 (getIndex): Likewise.
10786 (previous): Likewise.
10787 (setIndex): Likewise.
10789 2004-08-31 Michael Koch <konqueror@gmx.de>
10791 * javax/swing/plaf/basic/BasicButtonUI.java
10792 (defaultTextIconGap): Made protected.
10793 (defaultTextShiftOffset): Likewise.
10794 (textShiftOffset): New field.
10795 (clearTextShiftOffset): New method.
10796 (getTextShiftOffset): Likewise.
10797 (setTextShiftOffset): Likewise.
10799 2004-08-31 Michael Koch <konqueror@gmx.de>
10801 * javax/swing/plaf/basic/BasicTextUI.java
10802 (installUI): Add eventHandler as property listener.
10803 (uninstallUI): remove eventHandler as propert listener.
10804 (installDefaults): Added comment.
10805 (installListeners): Likewise.
10806 (installKeyboardActions): Likewise.
10807 (uninstallDefaults): Likewise.
10808 (uninstallListeners): Likewise.
10809 (uninstallKeyboardActions): Likewise.
10811 2004-08-31 Michael Koch <konqueror@gmx.de>
10813 * javax/swing/text/AbstractDocument.java:
10814 Fixed some typos in comments.
10815 (insertString): Reimplemented.
10816 (remove): Likewise.
10817 (replace): New method.
10818 (children): Dont use fully qualified class name.
10819 (DefaultDocumentEvent.offset): Renamed from off.
10820 (DefaultDocumentEvent.length): Renamed from len.
10821 (DefaultDocumentEvent.type): New field.
10822 (DefaultDocumentEvent.DefaultDocumentEvent): New constructor.
10823 (DefaultDocumentEvent.getType): Implemented.
10825 2004-08-31 Michael Koch <konqueror@gmx.de>
10827 * javax/swing/plaf/basic/BasicTextUI.java
10828 (RootView.textComponent): Removed.
10829 (RootView.RootView): Don't initialize textComponent.
10830 (RootView.getViewFactory): New method.
10831 (EventHandler): New inner class.
10832 (rootView): Initialize at instance creation.
10833 (eventHandler): New field.
10834 (installUI): Don't create view hierarchy directly,
10835 call modelChanged() instead.
10836 (modelChanged): New method.
10837 * javax/swing/text/JTextComponent.java
10838 (setDocument): Fire property change event.
10840 2004-08-31 Michael Koch <konqueror@gmx.de>
10842 * javax/swing/plaf/basic/BasicTextUI.java
10843 (RootView.paint): Removed debug output.
10844 (paintSafely): Draw highlighter before text.
10845 (paintBackground): Use background color of text component.
10846 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
10849 2004-08-31 Michael Koch <konqueror@gmx.de>
10851 * javax/swing/plaf/basic/BasicToolBarUI.java
10852 (BasicToolBarUI): Fixed arguments for constructor.
10853 (createUI): Fixed creation of object.
10855 2004-08-31 Michael Koch <konqueror@gmx.de>
10857 * javax/swing/DefaultListSelectionModel.java
10858 (fireValueChanged): Renamed from fireSelectionValueChanged,
10861 2004-08-31 Michael Koch <konqueror@gmx.de>
10863 * javax/swing/text/TabSet.java
10864 (TabSet): Implements java.io.Serializable.
10865 * javax/swing/text/TabStop.java
10866 (TabStop): Implements java.io.Serializable.
10867 (TabStop): Made public.
10869 2004-08-31 Michael Koch <konqueror@gmx.de>
10871 * javax/swing/JComponent.java
10872 (setUI): Fire PropertyChange.
10873 * javax/swing/JLabel.java
10874 (text): Renamed from labelText.
10875 (horizontalAlignment): New default vlaue.
10876 (icon): Renamed from activeIcon.
10877 (displayedMnemonic): Renamed from mnemonicKey, added default value.
10878 (displayedMnemonicIndex): Renamed from underlineChar.
10879 (setDisplayedMnemonic): Reimplemented.
10880 * javax/swing/JRadioButton.java
10881 (JRadioButton): New constructors.
10882 * javax/swing/JTextField.java
10883 (JTextField): Throw exception if colums < 0, initialitialz
10884 this.columns directly and initialize document with text conditionally.
10886 2004-08-31 Michael Koch <konqueror@gmx.de>
10888 * javax/swing/plaf/basic/BasicFormattedTextFieldUI.java,
10889 javax/swing/plaf/basic/BasicPasswordFieldUI.java,
10890 javax/swing/plaf/basic/BasicTextAreaUI.java: New files.
10891 * javax/swing/text/FieldView.java
10892 (paint): Just call super method for now.
10893 * Makefile.am: Added new files.
10894 * Makefile.in: Regenerated.
10896 2004-08-31 Ka-Hing Cheung <kahing@javabsp.org>
10898 * javax/swing/AbstractSpinnerModel.java,
10899 javax/swing/JSpinner.java,
10900 javax/swing/SpinnerNumberModel.java,
10901 javax/swing/plaf/basic/BasicSpinnerUI.java:
10903 * javax/swing/plaf/basic/BasicLookAndFeel.java
10904 (initClassDefaults): Added defaults for BasicSpinnerUI.
10906 2004-08-31 Michael Koch <konqueror@gmx.de>
10908 * Makefile.am: Added new files.
10909 * Makefile.in: Regenerated.
10911 2004-08-31 Michael Koch <konqueror@gmx.de>
10913 * javax/swing/TransferHandler.java,
10914 javax/swing/plaf/basic/ComboPopup.java: New files
10915 * Makefile.am: Added javax/swing/TransferHandler.java and
10916 javax/swing/plaf/basic/ComboPopup.java
10917 * Makefile.in: Regenerated.
10919 2004-08-31 Roman Kennke <roman@ontographics.com>
10921 * javax/swing/text/Utilities.java: New file.
10923 2004-08-31 Michael Koch <konqueror@gmx.de>
10925 * Makefile.am: Added javax/swing/text/Utilities.java.
10926 * Makefile.in: Regenerated.
10928 2004-08-31 Graydon Hoare <graydon@redhat.com>
10930 * javax/swing/text/SimpleAttributeSet.java: New file.
10931 * javax/swing/text/StyleConstants.java: New file.
10932 * javax/swing/text/StyleContext.java: New file.
10933 * javax/swing/text/TabSet.java: New file.
10934 * javax/swing/text/TabStop.java: New file.
10935 * javax/swing/text/AbstactDocument.java:
10936 (AbstractElement): Implement attribute support.
10937 * javax/swing/text/AttributeSet.java
10938 (NameAttribute): New static field.
10939 (ResolveAttribute): New static field.
10940 * Makefile.am: Update for new files.
10941 * Makefile.in: Regenerate.
10943 2004-08-31 Craig Black <craig.black@aonix.com>
10945 * gnu/java/awt/peer/gtk/GdkGraphics.java
10946 (drawImage): Add support for scaling pixmaps.
10947 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
10948 (copyAndScalePixmap): New native method.
10950 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
10953 * jni/gtk-peer/gthread-jni.c: Include stdio.h. Eliminate
10954 type-punning compiler warnings using unions.
10955 (throw): Replace bzero with memset.
10957 2004-08-31 Andreas Tobler <a.tobler@schweiz.ch>
10958 Thomas Fitzsimmons <fitzsim@redhat.com>
10960 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c: Move
10961 NSA_PB macros to gtkpeer.h. Include gtkpeer.h.
10962 * jni/gtk-peer/gtkpeer.h: Move NSA_PB macros here.
10963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
10964 (nativeSetIconImageFromDecoder): Use NSA_GET_PB_PTR macro.
10966 2004-08-31 Mark Wielaard <mark@klomp.org>
10968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c:
10969 #include gdk.h, not gtk.h. #include jni.h, native_state.h, string.h
10970 and stdlib.h, not gtkpeer.h.
10971 (*vm): New static variable.
10972 (areaPreparedID): Make static.
10973 (areaUpdatedID): Likewise.
10974 (area_prepared): Get and use JNIEnv through stored JavaVM *vm.
10975 (area_prepared): Likewise.
10976 (area_updated): Likewise.
10977 (closed): Likewise.
10978 (initStaticState): Initialize *vm javaVM.
10979 (pumpBytes): Use given env, not global gdk_env.
10981 2004-08-31 Mark Wielaard <mark@klomp.org>
10983 * java/awt/geom/CubicCurve2D.java (solveCubic): Removed duplicate
10986 2004-08-31 Sven de Marothy <sven@physto.se>
10988 * java/awt/geom/CubicCurve2D.java: Reindent.
10989 (contains): Implemented.
10990 (intersects): Implemented.
10991 * java/awt/geom/QuadCurve2D.java: Likewise.
10992 * java/awt/geom/GeneralPath.java: Reindent and document.
10993 Fully (re)implemented using separate xpoints and ypoints
10995 * java/awt/geom/RoundRectangle2D.java: Several bugfixes (Bug #6007).
10997 2004-08-31 Michael Koch <konqueror@gmx.de>
10999 * javax/swing/JMenuItem.java
11000 (getMenuDragMouseListeners): New method.
11001 (getMenuKeyListeners): Likewise.
11003 2004-08-31 Michael Koch <konqueror@gmx.de>
11005 * javax/swing/AbstractButton.java
11006 (model): Made protected.
11007 (actionListener): Likewise.
11008 (changeListener): Likewise.
11009 (itemListener): Likewise.
11010 (multiClickThreshhold): New field.
11011 (getActionListeners): New method.
11012 (getChangeListeners): Likewise.
11013 (getItemListeners): Likewise.
11014 (fireItemStateChanged): Simplified implementation.
11015 (fireActionPerformed): Likewise.
11016 (fireStateChanged): Likewise.
11017 (getMultiClickThreshhold): New method.
11018 (setMultiClickThreshhold): Likewise.
11020 2004-08-31 Tom Tromey <tromey@redhat.com>
11022 * java/awt/image/Kernel.java (clone): Use super.clone().
11024 2004-08-31 David Jee <djee@redhat.com>
11027 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11028 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
11029 (nativeSetIconImageFromData): New native method declaration.
11030 (setIconImage): Handle images not produced from GdkPixbufDecoder.
11031 * gnu/java/awt/peer/gtk/GtkImage.java
11032 (getPixelCache): New method.
11033 (getColorModel): New method.
11034 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11035 (nativeSetIconImage): Rename to nativeSetIconImageFromDecoder.
11036 (free_pixbuf_data): New helper function.
11037 (nativeSetIconImageFromData): New function.
11039 2004-08-31 Graydon Hoare <graydon@redhat.com>
11042 * javax/swing/JLayeredPane.java
11043 (setLayer): Permit changing layer after addition.
11044 (setPosition): Permit over-length positions.
11045 (layerToRange): Compare intValue()s.
11046 * javax/swing/Box.java (createHorizontalBox): Implement.
11047 (createRigidArea): Likewise.
11048 (createVerticalBox): Likewise.
11050 2004-08-31 Kim Ho <kho@redhat.com>
11052 * java/awt/Component.java:
11053 (processMouseEvent): Consume event after
11054 listeners process it.
11055 (processMouseMotionEvent): ditto.
11056 (processMouseWheelEvent): ditto.
11057 * java/awt/Container.java:
11058 (acquireComponentForMouseEvent):
11059 Do not dispatch to events that have been
11060 removed from the Container.
11061 (handleEvent): Consume the MouseEvents.
11062 * javax/swing/RepaintManager.java:
11063 (paintDirtyRegions): Do not add to list of
11064 damaged areas if the component has no root.
11066 2004-08-31 Michael Koch <konqueror@gmx.de>
11068 * javax/swing/plaf/basic/BasicMenuItemUI.java: Clean ip imports.
11070 2004-08-31 Mark Wielaard <mark@klomp.org>
11072 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
11073 null when a MissingResourceException is thrown. Should never happen.
11075 2004-08-31 Mark Wielaard <mark@klomp.org>
11077 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
11078 when argument is null.
11080 2004-08-31 Mark Wielaard <mark@klomp.org>
11082 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11083 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
11084 Define hid at start of function.
11085 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
11088 2004-08-31 Mark Wielaard <mark@klomp.org>
11090 * gnu/java/awt/EmbeddedWindow.java: Reindent.
11091 * javax/swing/JButton.java: Reindent.
11092 * javax/swing/JCheckBox.java: Reindent.
11094 2004-08-31 Mark Wielaard <mark@klomp.org>
11096 * Makefile.am (gtk_c_source_files): Added
11097 jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c.
11098 (gtk_awt_peer_sources): Added
11099 gnu/java/awt/peer/gtk/GThreadMutex.java and
11100 gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java.
11101 * Makefile.in: Regenerated.
11103 2004-08-31 Archie Cobbs <archie@dellroad.org>
11105 * jni/gtk-peer/gthread-jni.c: don't #include nonexistent files
11107 2004-08-31 Steven Augart <augart@watson.ibm.com>
11109 * jni/gtk-peer/gthread-jni.c (c-font-lock-extra-types):
11110 Added jfieldID, jmethodID.
11112 2004-08-31 Mark Wielaard <mark@klomp.org>
11114 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11115 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): Initialize
11116 gdk_env before calling any gdk or gtk function.
11118 * gnu/java/awt/peer/gtk/GtkMainThread.java (gtkInitCalled): New field.
11119 (GtkMainThread): Call wait() in while loop waiting for gtkInitCalled.
11120 (run): Set gtkInitCalled.
11122 2004-08-31 Steven Augart <augart@watson.ibm.com>
11124 * gnu/java/awt/peer/gtk/GtkMainThread.java (run): Pass the value of
11125 the gnu.classpath.awt.gtk.portable.native.sync system property to C.
11127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11128 (Java_gnu_java_awt_peer_gtk_GtkMainThread_gtkInit): New argument,
11129 portableNativeSync. Delegate PORTABLE_NATIVE_SYNC work to
11131 (init_glib_threads): New function.
11133 2004-08-31 Mark Wielaard <mark@klomp.org>
11135 * jni/gtk-peer/gthread-jni.c: Define MIN_, MAX_ and NORM_
11136 PRIORITY when not already defined in header file.
11138 2004-08-31 Mark Wielaard <mark@klomp.org>
11140 * jni/gtk-peer/gthread-jni.c (setup_cache): Call
11141 ExceptionOccurred, not ExceptionCheck, when we don't have JNI 1.2.
11143 2004-08-31 Steven Augart <augart@watson.ibm.com>
11145 * gnu/native/jni/gtk-peer/gthread-jni.c: Indentation fixes.
11146 Implemented missing functions for GTK2.
11147 Added error handling.
11148 Renamed static functions out of the g_ namespace.
11149 Added TRACE_API_CALLS, EXPLAIN_TROUBLE, EXPLAIN_BROKEN,
11150 EXPLAIN_BADLY_BROKEN, and DELETE_LOCAL_REFS options.
11151 Rewrote global-reference code.
11152 Eliminated cascading errors.
11153 (mutex_trylock_jni_impl) Fully implemented.
11154 (cond_timed_wait_jni_impl) Went from millisecond to microsecond
11156 (setup_cache) New function.
11157 (mutex_cond_wait_jni_impl, mutex_cond_timed_wait_jni_impl) Fixed
11158 bug where they were not unlocking the GMutex associated with the
11159 condition variable during the wait on that condition variable.
11161 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c,
11162 native/jni/gtk-peer/gthread-jni.c,
11163 native/jni/gtk-peer/gthread-jni.h
11164 (g_thread_jni_functions): Renamed to ...
11165 (portable_native_sync_jni_functions): this name.
11166 (gdk_vm): Renamed to...
11167 (the_vm): this name.
11169 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
11170 (gdk_vm): Removed duplicate definition.
11171 (gtkInit): Removed stray message to stdout.
11172 (gtkInit): Use g_malloc and g_free instead of malloc and free.
11173 (gtkInit): Fix a const assignment bug.
11174 (gtkInit): Simplified code.
11176 * gnu/java/awt/peer/gtk/GThreadNativeMethodRunner.java,
11177 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.c,
11178 native/jni/gtk-peer/gnu_java_awt_peer_gtk_GThreadNativeMethodRunner.h,
11179 gnu/java/awt/peer/gtk/GThreadMutex.java:
11182 2004-08-31 Mark Wielaard <mark@klomp.org>
11184 * javax/swing/Box.java: Put FIXME comment above class declaration.
11185 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
11186 * javax/swing/JCheckBox.java: Likewise.
11187 * javax/swing/JDialog.java: Likewise.
11188 * javax/swing/JRadioButton.java: Likewise.
11189 * javax/swing/JToggleButton.java: Likewise.
11190 * javax/swing/UIManager.java: Likewise.
11191 * javax/swing/border/TitledBorder.java: Likewise.
11192 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
11193 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
11194 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
11195 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
11196 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
11197 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
11198 * javax/swing/text/JTextComponent.java: Likewise.
11200 2004-08-31 David Jee <djee@redhat.com>
11203 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11204 (setIconImage): Add a FIXME for unhandled cases.
11206 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11209 * gnu/awt/LightweightRedirector.java: Call getModifiersEx, not
11210 getModifiers. Replace old button masks with new ones.
11211 * gnu/awt/xlib/XEventLoop.java: Likewise.
11212 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Likewise.
11213 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11214 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
11215 * gnu/java/awt/peer/gtk/GtkListPeer.java: Likewise.
11216 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Likewise.
11217 * java/awt/AWTKeyStroke.java: Remove old modifier masks.
11218 * java/awt/Component.java: Replace old modifier masks with new
11220 * java/awt/Container.java: Call getModifiersEx, not
11222 * java/awt/DefaultKeyboardFocusManager.java: Likewise. Remove
11223 old modifier masks.
11224 * javax/swing/JMenuItem.java: Replace old button masks with new
11226 * javax/swing/KeyStroke.java: Call getModifiersEx, not
11228 * javax/swing/SwingUtilities.java: Likewise.
11229 * javax/swing/plaf/basic/BasicButtonListener.java: Likewise.
11230 * javax/swing/plaf/basic/BasicInternalFrameUI.java: Likewise.
11231 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Replace old
11232 mask macros with new ones.
11233 * jni/gtk-peer/gtkpeer.h: Replace old button and modifier mask
11234 macros with new ones representing new masks.
11236 2004-08-31 Craig Black <craig.black@aonix.com>
11238 * gnu/java/awt/peer/gtk/GdkGraphics.java
11239 (drawRoundRect): Implemented.
11240 (fillRoundRect): Implemented.
11241 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
11242 (drawRoundRect): Reimplemented to match GdkGraphics.
11243 (fillRoundRect): Reimplemented to match GdkGraphics.
11245 2004-08-31 Mark Wielaard <mark@klomp.org>
11247 * Makefile.in: Regenerated.
11249 2004-08-31 Michael Koch <konqueror@gmx.de>
11251 * gnu/java/awt/EmbeddedWindow.java
11252 (addNotify): Use AccessController to allow execution of privileged
11255 2004-08-31 Michael Koch <konqueror@gmx.de>
11257 * gnu/java/awt/EmbeddedWindow.java
11259 (addNotify): Set peer via reflection.
11260 (setWindowPeer): Removed.
11261 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
11262 * Makefile.am (nat_source_files):
11263 Removed gnu/java/awt/natEmbeddedWindow.cc.
11265 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11267 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
11268 and gnu/java/security/action/SetAccessibleAction.java.
11270 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11272 * gnu/java/security/action/GetPropertyAction.java (setParameters):
11273 Renamed from 'setName'. New 2-argument form with default value.
11274 (run): Pass default 'value' parameter to System.getProperty().
11275 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
11278 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11280 * gnu/java/security/action/GetPropertyAction.java: New class.
11281 * gnu/java/security/action/SetAccessibleAction.java: New class.
11283 2004-08-31 David Jee <djee@redhat.com>
11285 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11286 (setIconImage): Check if image is null.
11288 2004-08-31 David Jee <djee@redhat.com>
11290 * gnu/java/awt/peer/gtk/GtkFramePeer.java
11291 (create): Set the icon image.
11292 (nativeSetIconImage): New native method declaration.
11293 (setIconImage): Implement.
11294 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11295 (nativeSetIconImage): New function.
11297 2004-08-31 Dalibor Topic <robilad@kaffe.org>
11299 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
11300 (filenameFilterCallback): Declare local variable accepted before use.
11302 2004-08-31 Dalibor Topic <robilad@kaffe.org>
11304 * gnu/java/awt/ComponentDataBlitOp.java:
11305 Cleaned up imports.
11307 2004-08-31 Tom Tromey <tromey@redhat.com>
11309 * gnu/java/awt/peer/GLightweightPeer.java,
11310 gnu/java/awt/peer/gtk/GdkGraphics2D.java,
11311 gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11312 javax/swing/JScrollPane.java: Removed
11315 2004-08-31 David Jee <djee@redhat.com>
11317 * java/awt/DefaultKeyboardFocusManager.java
11318 (postProcessKeyEvent): Only activate MenuShortcuts on KEY_PRESSED
11319 event. Fix shift modifier checking.
11320 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11321 (accel_attach): Remove.
11322 (setupAccelGroup): Remove calls to accel_attach.
11324 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11326 * gnu/java/awt/peer/gtk/GtkArg.java: Remove file.
11327 * gnu/java/awt/peer/gtk/GtkArgList.java: Remove file.
11329 * Makefile.am (gtk_awt_peer_sources): Remove GtkArg.java and
11331 (gtk_c_files): Use CAIRO_CFLAGS and PANGOFT2_CFLAGS, not _LIBS.
11332 * Makefile.in: Regenerate.
11333 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
11334 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
11335 (create(String)): New method.
11336 (create): Call new create method.
11337 (getArgs): Remove method.
11338 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java,
11339 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
11340 (nativeCreate): Rename to create.
11341 (gtkSetLabel): Rename to gtkButtonSetLabel.
11342 (gtkToggleButtonSetActive): New method.
11343 (create): Call gtkToggleButtonSetActive and gtkButtonSetLabel.
11344 (setState): Replace set call with gtkToggleButtonSetActive.
11345 (setLabel): Replace gtkSetLabel call with gtkButtonSetLabel.
11346 (getArgs): Remove method.
11347 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
11348 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11349 (gtkWidgetSetSensitive): New method.
11350 (gtkWidgetSetParent): Likewise.
11351 (GtkComponentPeer): Call setParent, setComponentBounds and
11352 setVisibleAndEnabled.
11353 (setParent): New method.
11354 (setComponentBounds): New method.
11355 (setVisibleAndEnabled): New method.
11356 (setEnabled): Call gtkWidgetSetSensitive.
11357 (getArgs): Remove method.
11358 Remove all set methods.
11359 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (create): Call
11360 gtkWindowSetModal, setTitle and setResizable.
11361 (getArgs): Remove method.
11362 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
11363 (setComponentBounds): New method.
11364 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
11365 Replace set call with gtkWindowSetResizable.
11366 (getArgs): Remove method.
11367 (create): Call setTitle and setResizable.
11368 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
11369 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
11370 (gtkWindowSetTitle): New method.
11371 (gtkWindowSetResizable): New method.
11372 (gtkWindowSetModal): New method.
11373 (setParent): New method.
11374 (setVisibleAndEnabled): New method.
11375 (getArgs): Remove method.
11376 (setTitle): Call gtkWindowSetTitle.
11377 (setResizable): Call gtkWindowSetResizable.
11378 * jni/gtk-peer/gtkpeer.h [DEBUG_LOCKING]: New define to turn on
11379 and off locking instrumentation.
11381 2004-08-31 Kim Ho <kho@redhat.com>
11383 * Makefile.am: Add new file.
11384 * Makefile.in: Regenerate.
11385 * gcj/Makefile.in: Regenerate
11386 * include/Makefile.in:
11387 * java/awt/Container.java:
11388 (acquireComponentForMouseEvent): Respect
11389 the event mask when looking for candidate.
11390 * javax/swing/JComponent.java:
11391 Remove toolTip field.
11392 (createToolTip): Create a tooltip on demand.
11393 (setToolTipText): Register with the ToolTipManager.
11394 (getToolTipText(MouseEvent)): Return getToolTipText().
11395 * javax/swing/JToolTip.java: Implement.
11396 * javax/swing/Timer.java: Jalopy.
11397 (restart): Call stop, then start.
11398 (stop): Interrupt the timer rather than wait for
11399 the timer to come to a stop naturally.
11400 * javax/swing/ToolTipManager.java: Implement.
11401 * javax/swing/plaf/basic/BasicLookAndFeel.java:
11402 Change ToolTip.background color.
11403 * javax/swing/plaf/basic/BasicToolTipUI.java:
11405 * testsuite/Makefile.in: Regenerate
11407 2004-08-31 Jerry Quinn <jlquinn@optonline.net>
11409 * java/awt/image/DirectColorModel.java (DirectColorModel): Fix
11410 constructor param comments.
11412 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11414 * java/awt/Component.java: Document AWT 1.0 event handler
11417 2004-08-31 Roman Kennke <roman@ontographics.com>
11419 * javax/swing/Box.java:
11420 (createGlue): Implemented
11421 (createHorizontalGlue): Implemented
11422 (createHorizontalStrut): Implemented
11423 (createVerticalGlue): Implemented
11424 (createVerticalStrut): Implemented
11426 2004-08-31 David Jee <djee@redhat.com>
11428 * gnu/java/awt/peer/gtk/GtkChoicePeer.java
11429 (GtkChoicePeer): Do not automatically select first item.
11430 (getHistory): Remove.
11431 (nativeGetSelected): New method.
11432 (nativeRemoveAll): New method.
11433 (add): Use nativeGetSelected() instead of getHistory().
11434 (remove): Likewise.
11435 (removeAll): Call nativeRemoveAll().
11436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
11437 (create): Migrate to GtkComboBox.
11438 (append): Likewise.
11439 (nativeAdd): Likewise.
11440 (nativeRemove): Likewise.
11441 (select): Likewise.
11442 (nativeRemoveAll): New method.
11443 (nativeGetSelected): New method.
11444 (selection_changed): New method.
11445 (getHistory): Remove.
11446 (item_activate): Remove.
11447 (item_removed): Remove.
11448 (connect_choice_item_selectable_hook): Remove.
11450 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11452 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create): Use tf
11453 variable in setEditable call.
11455 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
11456 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
11457 (gtkWidgetSetBackground): New method.
11458 (gtkWidgetSetForeground): Likewise.
11459 (create): Set peer's editable state based on awtComponent's.
11461 * java/awt/Button.java (Button()): Use empty string rather than
11462 null in no-label constructor.
11464 2004-08-31 Roman Kennke <roman@ontographics.com>
11466 * javax/swing/BoxLayout.java: Reimplement.
11468 2004-08-31 Thomas Fitzsimmons <fitzsim@redhat.com>
11470 * gnu/java/awt/peer/gtk/GdkGraphics.java,
11471 gnu_java_awt_peer_gtk_GdkGraphics.c
11472 (initState(GtkComponentPeer)): Don't return array of colour
11474 (GdkGraphics(int,int)): Set default font to size 12.
11475 (GdkGraphics(GtkComponentPeer)): Set graphics colour to
11476 component's foreground colour.
11477 * gnu/java/awt/peer/gtk/GdkGraphics2D.java,
11478 gnu_java_awt_peer_gtk_GdkGraphics2D.c
11479 (initState(GtkComponentPeer)): Don't return array of colour
11481 (GdkGraphics2D(GtkComponentPeer)): Set foreground and background
11482 colours to component's colours.
11483 (current_colors_of_widget): Remove function.
11484 * gnu/java/awt/peer/gtk/GtkOffScreenImage.java (getGraphics):
11485 Return a new graphics object.
11486 * java/awt/Font.java (toString): Fix format.
11487 * java/awt/Graphics.java (toString): Likewise.
11489 2004-08-31 Craig Black <craig.black@aonix.com>
11491 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
11492 (addTearOff): New function.
11493 * gnu/java/awt/peer/gtk/GtkMenuPeer.java (addTearOff):
11495 (init): Call addTearOff() when menu.isTearOff().
11497 2004-08-31 Bryce McKinlay <mckinlay@redhat.com>
11499 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
11500 Default implementation.
11501 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
11502 Implement using GdkPixbufDecoder.
11504 2004-08-31 David Jee <djee@redhat.com>
11506 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
11507 (GtkComponentPeer): Use gtkWidgetGetPreferredDimensions() for
11508 setting the size of GtkFileDialogPeers.
11509 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
11510 (gtkWidgetGetPreferredDimensions): For widgets extending GtkWindow,
11511 use their default sizes rather than their natural requisitions.
11513 2004-08-31 Michael Koch <konqueror@gmx.de>
11515 * javax/swing/JFormattedTextField.java
11516 (JFormattedTextField): Implemented.
11517 * javax/swing/text/DefaultEditorKit.java
11518 (BeepAction): New inner class.
11519 * javax/swing/text/Segment.java
11520 (partialReturn): New field.
11521 (setPartialReturn): New method.
11522 (isPartialReturn): Likewise.
11523 * javax/swing/text/View.java
11524 (createFragment): Fixed typo.
11525 (getStartOffset): New method.
11526 (getEndOffset): Likewise.
11528 2004-08-31 Michael Koch <konqueror@gmx.de>
11530 * javax/swing/table/DefaultTableColumnModel.java
11531 (serialVersionUID): Made private.
11532 (listenerList): Initialize.
11533 (changeEvent): Initialize.
11534 * javax/swing/table/JTableHeader.java
11535 (JTableHeader): New constructors.
11536 (createDefaultColumnModel): New method.
11537 * javax/swing/table/TableColumn.java
11538 (setHeaderRenderer): Simplified code.
11539 (setCellRenderer): Likewise.
11540 (setWidth): Likewise.
11542 2004-08-31 Tom Tromey <tromey@redhat.com>
11544 * java/text/AttributedString.java (AttributedString): Use
11545 ArrayList to build array of attribute ranges. Don't use
11546 `attribs' before it is set.
11548 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
11550 * HACKING: Remove reference to special automake. No longer needed.
11552 2004-08-30 Tom Tromey <tromey@redhat.com>
11554 * gnu/java/security/util/Prime.java (generateRandomPrime): Use
11555 return result from `add'.
11557 2004-08-30 Tom Tromey <tromey@redhat.com>
11559 * java/rmi/server/UID.java (UID): Read `nextCount', not count.
11561 2004-08-30 Andreas Tobler <a.tobler@schweiz.ch>
11563 * gnu/java/security/der/DEREncodingException.java: Remove whitespaces.
11565 2004-08-30 Jeroen Frijters <jeroen@frijters.net>
11567 * java/io/File.java File(String,String): Fixed handling of empty
11570 2004-08-30 Casey Marshall <csm@gnu.org>
11572 Author e-mail updated for all files.
11573 * gnu/java/security/OID.java (equals): Test if the aurgment is an
11575 (compareTo): Use `equals'.
11576 * gnu/java/security/der/BitString.java (equals): Test if the
11577 argument is an instance of BitString.
11578 * gnu/java/security/der/DERReader.java: Removed NIO imports. Made
11579 class final. Made fields private.
11580 (<init>): New constructor.
11581 (skip): New method.
11582 (makeString): Made static; don't use NIO.
11583 (fromIso88591, fromUtf16Be, fromUtf8): New methods.
11584 * gnu/java/security/der/DERWriter.java: Fixed imports.
11585 (writeString): Don't use NIO.
11586 (toIso88591, toUtf16Be, toUtf8): New methods.
11587 * gnu/java/security/der/DERValue.java: Formatting changes only.
11588 * gnu/java/security/der/DER.java: Likewise.
11590 2004-08-30 Tom Tromey <tromey@redhat.com>
11592 * java/nio/CharBuffer.java (put): Fix typo.
11593 * java/nio/DoubleBuffer.java (put): Fix typo.
11594 * java/nio/FloatBuffer.java (put): Fix typo.
11595 * java/nio/IntBuffer.java (put): Fix typo.
11596 * java/nio/LongBuffer.java (put): Fix typo.
11597 * java/nio/ShortBuffer.java (put): Fix typo.
11599 2004-08-30 Florian Weimer <fw@deneb.enyo.de>
11601 * java/nio/ByteBuffer.java (put): Fix typo.
11603 2004-08-30 Casey Marshall <csm@gnu.org>
11605 * java/security/DummyKeyPairGenerator.java (clone): Removed
11606 useless instanceof check.
11607 * java/security/DummyMessageDigest.java (clone): Likewise.
11608 * java/security/DummySignature.java (clone): Likewise.
11609 * java/security/MessageDigest.java (clone): Remove useless
11611 * java/security/MessageDigestSpi.java (clone): Likewise.
11612 * java/security/Signature.java (clone): Provide meaningful
11614 * java/security/SignatureSpi.java (clone): Likewise.
11616 2004-08-29 Mark Wielaard <mark@klomp.org>
11618 * java/util/Arrays.java
11619 (sort(byte[], int, int)): Check fromIndex < 0.
11620 (sort(char[], int, int)): Likewise.
11621 (sort(short[], int, int)): Likewise.
11622 (sort(int[], int, int)): Likewise.
11623 (sort(long[], int, int)): Likewise.
11624 (sort(float[], int, int)): Likewise.
11625 (sort(double[], int, int)): Likewise.
11626 (sort(Object[], int, int, Comparator)): Likewise.
11627 (qsort(byte[], int, int)): Honor lower bound from in insertion sort.
11628 (qsort(char[], int, int)): Likewise.
11629 (qsort(short[], int, int)): Likewise.
11630 (qsort(int[], int, int)): Likewise.
11631 (qsort(long[], int, int)): Likewise.
11632 (qsort(float[], int, int)): Likewise.
11633 (qsort(double[], int, int)): Likewise.
11635 2004-08-29 Andrew John Hughes <gnu_andrew@member.fsf.org>
11637 * java/util/AbstractCollection.java, java/util/AbstractList.java,
11638 java/util/AbstractMap.java, java/util/AbstractSequentialList.java,
11639 java/util/ArrayList.java, java/util/Arrays.java,
11640 java/util/BitSet.java, java/util/Calendar.java,
11641 java/util/Collection.java, java/util/ListIterator.java,
11642 java/util/Map.java, java/util/SortedSet.java:
11643 Added additional exceptions to documentation, along
11644 with some additions and corrections.
11646 2004-08-27 Hans Boehm <Hans.Boehm@hp.com>
11648 * configure.ac: Handle --enable-gc-debug.
11649 * configure: Regenerate.
11650 * include/config.h.in (LIBGCJ_GC_DEBUG): Add.
11651 * boehm.cc: Include gc_mark.h, javaxfc.h, but no GC private files.
11652 Rearrange include file order.
11653 (GC_DEBUG): Set if LIBGCJ_GC_DEBUG is set.
11654 (GC_finalize_all, GC_debug_generic_malloc): Don't declare.
11655 (disable_gc_mutex): Delete along with all references.
11656 (_Jv_MarkObj, _Jv_MarkArray): Use public types,
11657 adjust for debug header size.
11658 (_Jv_AllocObj, _Jv_allocPtrFreeObj): Define out of line for
11660 (_Jv_AllocArray): Declare min_heap_addr only if needed.
11661 (gcj_describe_type_fn): New.
11662 (_Jv_InitGC): Use GC_new_free_list, GC_new_proc, and GC_new_kind.
11663 Register gcj_describe_type_fn.
11664 * include/boehm-gc.h:
11665 (_Jv_AllocObj, _Jv_allocPtrFreeObj):
11666 Don't define, but declare, for debug case.
11667 * java/lang/natObject.cc:
11668 (GC_DEBUG): Define if LIBGCJ_GC_DEBUG is set.
11670 2004-08-26 Mark Wielaard <mark@klomp.org>
11672 Fixes PR libgcj/17002:
11673 * java/util/TimeZone.java (defaultZone): Try a couple of ways to get
11674 a TimeZoneId string and then try to convert that to a TimeZone with
11675 getDefaultSystemTimeZone(String).
11676 (timezones0): Changed type from Hashtable to HashMap.
11677 (timezones): Create HashMap, not Hashtable.
11678 (getDefaultTimeZone): New method, rewritten from CNI version.
11679 (readTimeZoneFile): New method.
11680 (readtzFile): Likewise.
11681 (skipFully): Likewise.
11682 * java/util/natTimeZone.cc (getSystemTimeZone): Renamed to
11683 getDefaultTimeZoneId and rewritten.
11684 (getDefaultTimeZoneId): Rewritten in java.
11686 2004-08-25 David Daney <daney@avtrex.com>
11688 * Makefile.am (AM_GCJFLAGS): Add LIBGCJ_JAVAFLAGS.
11689 * Makefile.in: Regenerated.
11691 2004-08-23 Bryce McKinlay <mckinlay@redhat.com>
11693 * prims.cc (JVMPI_NOTIFY_ALLOC): New macro. Call jvmpi_notify_alloc
11694 only if jvmpi is enabled.
11695 (jvmpi_notify_alloc): Don't check if jvmpi is enabled here.
11696 (_Jv_AllocObjectNoFinalizer): Use JVMPI_NOTIFY_ALLOC.
11697 (_Jv_AllocString): Likewise.
11698 (_Jv_AllocPtrFreeObject): Likewise.
11700 2004-08-23 Hans Boehm <Hans.Boehm@hp.com>
11702 * defineclass.cc: Include <stdio.h>.
11703 * java/lang/natClassLoader.cc: Include <stdio.h>.
11705 2004-08-21 Andreas Tobler <a.tobler@schweiz.ch>
11706 Michael Koch <konqueror@gmx.de>
11708 * Makefile.am (lib_gnu_java_awt_peer_gtk_la_LINK): Added.
11709 * Makefile.in: Regenerated.
11711 2004-08-20 Michael Koch <konqueror@gmx.de>
11713 * configure.ac: Replaced all AC_TRY_COMPILE macros with
11714 AC_COMPILE_IFELSE macros.
11716 2004-08-20 Michael Koch <konqueror@gmx.de>
11718 * configure.in: Renamed to configure.ac.
11719 * configure.ac: New file.
11720 * configure, Makefile.in, gcj/Makefile.in, include/Makefile.in
11721 include/config.h.in, testsuite/Makefile.in: Regenerated.
11723 2004-08-20 Michael Koch <konqueror@gmx.de>
11725 * configure.in: Rewrote some obsolete stuff for autoconf 2.59.
11726 * aclocal.m4, configure: Regenerated.
11728 2004-08-19 Thomas Fitzsimmons <fitzsim@redhat.com>
11729 Michael Koch <konqueror@gmx.de>
11731 * configure.in, Makefile.am: Ported to automake 1.9.
11732 * Makefile.in, aclocal.m4, configure, gcj/Makefile.in,
11733 include/Makefile.in, testsuite/Makefile.in, include/config.h.in:
11736 2004-08-19 Tom Tromey <tromey@redhat.com>
11738 * java/net/DatagramSocket.java: Fixed typo.
11740 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
11743 * java/net/URI.java (string): New field. Make all other fields
11745 (readObject): Implemented.
11746 (writeObject): Implemented.
11747 (URI): Set 'string'.
11749 2004-08-18 Bryce McKinlay <mckinlay@redhat.com>
11752 * java/util/logging/Handler.java (isLoggable): Accept record if its
11753 log level equals the threshold level. From Robin Green.
11755 2004-08-18 David Daney <ddaney@avtrex.com>
11757 * java/lang/natPosixProcess.cc (waitForSignal): Use sigsuspend
11758 instead of sigwait.
11760 2004-08-17 Michael Koch <konqueror@gmx.de>
11762 * Makefile.am (AM_CXXFLAGS): Reformatted to make it more ease to read.
11763 * Makefile.in: Regenerated.
11765 2004-08-16 Tom Tromey <tromey@redhat.com>
11768 * testsuite/libjava.jacks/jacks.xfail: Removed passing test.
11770 2004-08-16 Michael Koch <konqueror@gmx.de>
11773 (math_c_files): Renamed from c_files.
11774 (math_c_source_files): Renamed from c_source_files.
11777 include/Makefile.in,
11778 testsuite/Makefile.in: Regenerated.
11780 2004-08-16 Bryce McKinlay <mckinlay@redhat.com>
11782 * configure.in (AC_CONF_SUBDIRS): Use literal for ltdl directory
11783 to avoid autoconf warning.
11784 * configure: Rebuilt.
11786 2004-08-14 Andreas Tobler <a.tobler@schweiz.ch>
11788 * java/net/natInetAddressPosix.cc (lookup): Reflect rename of
11789 localhostAddress to loopbackAddress.
11790 * java/net/natInetAddressWin32.cc (lookup): Likewise.
11792 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
11794 * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I
11795 boehm-gc's include dirs.
11796 * configure: Rebuilt.
11797 * include/boehm-gc.h: Include gc_config.h.
11799 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
11801 * java/net/InetAddress.java (loopbackAddress): Renamed from
11803 (getByName): Return loopback address for null hostname, without
11804 security check. Use lookup(), not getAllByName.
11805 (getAllByName): Return loopback address for null hostname, without
11807 * java/net/natInetAddressPosix.cc (lookup): Don't perform security
11810 2004-08-13 Bryce McKinlay <mckinlay@redhat.com>
11813 Reported by Robin Green.
11814 * defineclass.cc (handleField): Don't throw exception on unrecognised
11815 modifier. Add FIXME comments for spec compliance.
11816 (handleMethod): Likewise.
11818 2004-08-10 Hans Boehm <Hans.Boehm@hp.com>
11821 * java/lang/natObject.cc (LOCK_LOG, LOG): Add debug tracing.
11822 (Almost everywhere): add LOG calls, fix, add comments.
11823 (_Jv_MonitorEnter): Replace masking of LOCKED bit with assertion.
11824 Add explicit check for LOCKED bit in slow case (PR 16662).
11825 (_Jv_MonitorExit): Add casts in debug-only code.
11826 Always release LOCKED bit before throwing exception.
11827 (_Jv_ObjectCheckMonitor): Lock may be held if lightweight lock
11828 isn't. Handle easy cases without lock acquisition.
11829 (Object::wait): Use NotifyAll for lock inflation.
11831 2004-08-12 David Daney <ddaney@avtrex.com>
11833 * testsuite/libjava.lang/Process_1.java: New test.
11834 * testsuite/libjava.lang/Process_2.java: New test.
11835 * testsuite/libjava.lang/Process_3.java: New test.
11836 * testsuite/libjava.lang/Process_4.java: New test.
11837 * testsuite/libjava.lang/Process_5.java: New test.
11838 * testsuite/libjava.lang/Process_6.java: New test.
11839 * testsuite/libjava.lang/Process_1.out: Expected result.
11840 * testsuite/libjava.lang/Process_2.out: Expected result.
11841 * testsuite/libjava.lang/Process_3.out: Expected result.
11842 * testsuite/libjava.lang/Process_4.out: Expected result.
11843 * testsuite/libjava.lang/Process_5.out: Expected result.
11844 * testsuite/libjava.lang/Process_6.out: Expected result.
11846 2004-08-12 David Daney <ddaney@avtrex.com>
11849 * java/lang/PosixProcess.java: Rewrote.
11850 * java/lang/natPosixProcess.cc: Rewrote.
11851 * java/lang/Runtime.java (execInternal): Declare throws IOException.
11852 * gcj/javaprims.h (ConcreteProcess$ProcessManager): Declare.
11853 * posix-threads.cc (block_sigchld) New function.
11854 (_Jv_ThreadRegister) Use it.
11855 (_Jv_ThreadStart) Use it.
11856 * configure.in (PLATFORM_INNER_NAT_HDRS): New AC_SUBST() used in...
11857 * Makefile.am: ... to specify extra native headers.
11858 * configure: Regenerated.
11859 * include/config.h: Regenerated.
11860 * Makefile.in: Regenerated.
11861 * gcj/Makefile.in: Regenerated.
11862 * include/Makefile.in: Regenerated.
11863 * testsuite/Makefile.in: Regenerated.
11865 2004-08-12 Diego Novillo <dnovillo@redhat.com>
11867 PR tree-optimization/16867
11868 * testsuite/libjava.lang/PR16867.java: New test.
11870 2004-08-09 Per Bothner <per@bothner.com>
11872 * gcj/javaprims.h (_Jv_Utf8Const): Change struct to a class,
11873 with private fields and access methods.
11874 (_Jv_NewStringUTF, _Jv_hashUtf8String): New function declarations.
11875 * gcj/cni.h (_Jv_NewStringUTF): Move to javaprims.h.
11876 * prims.cc (_Jv_Utf8COnst::init): New method implementation.
11877 ( _Jv_makeUtf8Const): Rewrite using new constructors.
11878 (hashUtf8String): Rename to +_Jv_hashUtf8String and make non-static.
11879 * defineclass.cc: Use new _Utf8Const access/convenience methods.
11880 * jni.cc: Likewise.
11881 * resolve.cc: Likewise.
11882 * gcj/field.h: Likewise.
11883 * include/jvm.h: Likewise.
11884 * java/lang/Class.h: Likewise.
11885 * java/lang/natClass.cc: Likwise.
11886 * java/lang/natClassLoader.cc: Likewise
11887 * java/lang/reflect/natMethod.cc: Likewise
11888 * verify.cc: Likewise.
11889 (_Jv_BytecodeVerifier::make_utf8_const): Optimize.
11890 (~_Jv_BytecodeVerifier): Don't need second _Jv_Free call.
11892 2004-08-10 Andrew Haley <aph@redhat.com>
11894 * testsuite/libjava.lang/err14.java: New file.
11895 * testsuite/libjava.lang/err14.out: New file.
11897 2004-08-05 Andreas Tobler <a.tobler@schweiz.ch>
11899 * Makefile.am: Fix missing rename from x_nat_headers to
11901 * Makefile.in: Regenerated.
11903 2004-08-04 Andrew Haley <aph@redhat.com>
11905 * java/security/BasicPermission.java: Don't check wildcards.
11907 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
11908 Michael Koch <konqueror@gmx.de>
11910 * acinclude.m4: Correctly quote PKG_CHECK_MODULES.
11911 * configure.in: Replaced all usages of AC_LINK_FILES by
11914 configure: Regenerated.
11916 2004-08-04 Thomas Fitzsimmons <fitzsim@redhat.com>
11917 Michael Koch <konqueror@gmx.de>
11919 * acconfig.h: Removed.
11920 * Makefile.am: Rename variables for xlib peer to include xlib and
11921 gtk_c_headers to gtk_jni_headers.
11922 * Makefile.in: Regenerated.
11924 2004-08-04 Andrew Haley <aph@redhat.com>
11926 * testsuite/lib/libjava.exp (bytecompile_file): Byte compile with
11929 2004-08-03 Nathanael Nerode <neroden@gcc.gnu.org>
11931 * configure.in: Eliminate uses of changequote (mostly by quoting []).
11932 Replace most top level 'dnl' comments with '#' comments, conforming
11933 to new autoconf style. Use AS_HELP_STRING throughout; improve a few
11935 * configure: Rebuilt.
11937 2004-07-17 Nathanael Nerode <neroden@gcc.gnu.org>
11939 * acinclude.m4: Include no-executables.m4.
11940 * aclocal.m4: Rebuild.
11941 * configure.in: Convert to the autoconf 2.59 version of
11942 of the no-executables hack, and also of the nonstandard CXX
11943 hack and the multilibbed CC and CXX hack. Change prerequisite
11945 * configure: Rebuild with autoconf 2.59. (Woo-hoo!)
11946 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
11947 testsuite/Makefile.in: Regenerate.
11949 2004-08-03 Tom Tromey <tromey@redhat.com>
11951 * jni.cc: Reindented.
11953 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
11955 * java/sql/Timestamp.java (valueOf): Synchronize access to dateFormat.
11957 2004-08-02 Bryce McKinlay <mckinlay@redhat.com>
11959 * testsuite/libjava.compile/PR16701.java: New test.
11961 2004-08-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
11963 * java/util/Collection.java, java/util/List.java,
11964 java/util/Map.java, java/util/Set.java,
11965 java/util/SortedMap.java, java/util/SortedSet.java:
11966 Added additional exceptions to documentation.
11968 2004-08-01 Danny Smith <dannysmith@users.sourceforge.net>
11971 * configure.in [host *mingw*] (SYSTEMSPEC): Remove -lwsock32.
11972 * configure. Regenerate.
11973 * include/win32.h: Explicitly include winsock2.h
11974 * win32.cc (_Jv_platform_initialize): Require version 2.2 of
11977 2004-07-30 Michael Koch <konqueror@gmx.de>
11979 * java/util/zip/GZIPInputStream.java
11980 (GZIPInputStream): Increase buffer size to 4k.
11981 * java/util/zip/GZIPOutputStream.java
11982 (GZIPOutputStream): Likewise.
11983 * java/util/zip/Inflater.java
11984 (setInput): Merged formating with GNU classpath.
11985 * java/util/zip/InflaterInputStream.java
11986 (InflaterInputStream): Increase buffer size to 4k.
11987 (fill): Throw exception if stream ends early.
11988 (read): Merged endless-loop with GNU classpath.
11989 (skip): Increase buffer size to 2k.
11991 2004-07-30 Michael Koch <konqueror@gmx.de>
11993 * gnu/java/awt/EmbeddedWindow.java
11994 (addNotify): Use AccessController to allow execution of privileged
11997 2004-07-29 Michael Koch <konqueror@gmx.de>
11999 * gnu/java/lang/MainThread.java:
12000 Explicitely import used classes.
12001 (args): Make it type String[].
12003 2004-07-29 Dalibor Topic <robilad@kaffe.org>
12005 * gnu/java/awt/ComponentDataBlitOp.java,
12006 gnu/java/beans/ExplicitBeanInfo.java,
12007 gnu/java/beans/IntrospectionIncubator.java,
12008 gnu/java/beans/editors/ColorEditor.java,
12009 gnu/java/beans/editors/FontEditor.java,
12010 gnu/java/beans/editors/NativeBooleanEditor.java,
12011 gnu/java/beans/editors/NativeByteEditor.java,
12012 gnu/java/beans/editors/NativeDoubleEditor.java,
12013 gnu/java/beans/editors/NativeFloatEditor.java,
12014 gnu/java/beans/editors/NativeIntEditor.java,
12015 gnu/java/beans/editors/NativeLongEditor.java,
12016 gnu/java/beans/editors/NativeShortEditor.java,
12017 gnu/java/beans/editors/StringEditor.java,
12018 gnu/java/io/ClassLoaderObjectInputStream.java,
12019 gnu/java/io/decode/Decoder.java,
12020 gnu/java/io/encode/Encoder.java,
12021 gnu/java/lang/ClassHelper.java,
12022 gnu/java/locale/Calendar.java,
12023 gnu/java/locale/Calendar_de.java,
12024 gnu/java/locale/Calendar_en.java,
12025 gnu/java/locale/Calendar_nl.java,
12026 gnu/java/locale/LocaleInformation_de.java,
12027 gnu/java/locale/LocaleInformation_en.java,
12028 gnu/java/locale/LocaleInformation_nl.java:
12029 Cleaned up imports.
12031 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
12033 * README: Remove obsolete info. Update bug URL.
12035 * NEWS: Updated with news up to GCC 3.4 release.
12037 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
12039 * gnu/java/security/action/GetPropertyAction.java (setParameters):
12040 Renamed from 'setName'. New 2-argument form with default value.
12041 (run): Pass default 'value' parameter to System.getProperty().
12042 * gnu/java/security/action/SetAccessibleAction.java: Fix javadoc
12044 * gnu/java/net/protocol/http/Connection.java: Use 'setParameters'
12047 2004-07-28 Bryce McKinlay <mckinlay@redhat.com>
12049 * configure.in: Check for minimum GTK version 2.4 requirement.
12050 * configure: Rebuilt.
12052 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
12054 * testsuite/libjava.lang/TLtest.java: Reduce sleep time.
12055 * testsuite/libjava.lang/Thread_Alive.java: Remove old email address.
12057 * testsuite/libjava.lang/Thread_HoldsLock.java: Modify to work around
12059 * testsuite/libjava.lang/Thread_Interrupt.java: Remove old email
12060 address. Reduce sleep times. Synchronize with target threads before
12061 attempting to interrupt them. Don't try to calibrate yeild count,
12062 instead, always loop for a fixed time.
12063 * testsuite/libjava.lang/Thread_Join.java: Remove old email address.
12064 * testsuite/libjava.lang/Thread_Monitor.java: Likewise.
12065 * testsuite/libjava.lang/Thread_Wait.java: Likewise.
12066 * testsuite/libjava.lang/Thread_Wait_2.java: Likewise.
12067 * testsuite/libjava.lang/Thread_Wait_Interrupt.java: Likewise.
12068 * testsuite/libjava.lang/pr179.java: Likewise.
12069 * testsuite/libjava.lang/Thread_Sleep.java: Likewise. Reduce sleep
12070 time. Remove upper bounds check on sleep time.
12072 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
12074 * testsuite/libjava.lang/Thread_HoldsLock.java: New test case.
12075 * testsuite/libjava.lang/Thread_HoldsLock.out: New.
12077 2004-07-27 Bryce McKinlay <mckinlay@redhat.com>
12079 * java/io/File.java (toURI): Throw RuntimeException, not
12081 * java/lang/Runtime.java (exit): Qualify static sleep() call with
12082 class name, not instance.
12084 2004-07-24 Bryce McKinlay <mckinlay@redhat.com>
12086 * Makefile.am: Add gnu/java/security/action/GetPropertyAction.java
12087 and gnu/java/security/action/SetAccessibleAction.java.
12088 * Makefile.in: Rebuilt.
12090 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12092 * prims.cc (_Jv_InitPrimClass): Don't create an array class.
12093 (_Jv_CreateJavaVM): Don't pass array vtable parameter to
12095 (DECLARE_PRIM_TYPE): Don't declare array vtables.
12096 * include/jvm.h (struct _Jv_ArrayVTable): Removed.
12097 * java/lang/Class.h (_Jv_InitPrimClass): Update friend declaration.
12099 2004-07-23 Thomas Fitzsimmons <fitzsim@redhat.com>
12101 * Makefile.am: Replace jar, rmic and rmiregistry references with
12102 gjar, grmic and grmiregistry.
12103 * configure.in: Likewise.
12104 * Makefile.in: Regenerate.
12105 * configure: Likewise.
12106 * gcj/Makefile.in: Likewise.
12107 * include/Makefile.in: Likewise.
12108 * testsuite/Makefile.in: Likewise.
12110 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12112 * gnu/java/net/protocol/http/Connection.java: Use GetPropertyAction
12113 for privileged getProperty calls.
12114 * java/io/ObjectOutputStream.java (getField): No longer static. Use
12115 SetAccessibleAction instead of anonymous class for doPrivileged call.
12116 (getMethod): Likewise.
12117 (setAccessible): New field. PrivilegedAction object to use when
12118 calling setAccessible.
12119 * java/io/ObjectStreamClass.java (calculateOffsets): Use
12120 SetAccessibleAction instead of anonymous class for diPrivileged call.
12121 (setFields): Likewise.
12122 (getClassUID): Likewise.
12123 (findMethod): Likewise.
12124 * gnu/java/security/action/GetPropertyAction.java: New class.
12125 * gnu/java/security/action/SetAccessibleAction.java: New class.
12127 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12129 * java/io/ObjectStreamField (ObjectStreamField): Don't unset 'toset'
12131 * testsuite/libjava.lang/Serialization.java: New test.
12132 * testsuite/libjava.lang/Serialization.out: New.
12134 2004-07-23 Bryce McKinlay <mckinlay@redhat.com>
12136 * gnu/java/net/DefaultContentHandlerFactory.java: Check in real file
12137 missed in last commit.
12139 2004-07-23 Mark Wielaard <mark@klomp.org>
12141 * java/lang/System.java (static): Set http.agent system property when
12143 * gnu/java/net/protocol/http/Connection.java (static): Get httpAgent
12144 from system property inside AccessController.doPrivileged() call.
12145 (proxyPort): Made package private.
12146 (proxyInUse): Likewise.
12147 (proxyHost): Likewise.
12148 (userAgent): Likewise.
12150 2004-07-23 Mark Wielaard <mark@klomp.org>
12152 * gnu/java/net/DefaultContentHandlerFactory.java: New dummy
12155 2004-07-22 Bryce McKinlay <mckinlay@redhat.com>
12157 * Makefile.am (ordinary_java_source_files): Add
12158 DefaultContentHandlerFactory.java.
12159 * Makefile.in: Rebuilt.
12160 * java/net/URLConnection.java (defaultFactory): New field.
12162 (getContentHandler): Renamed from 'setContentHandler'. Try
12163 defaultFactory after user-set factory, if any. Search for content
12164 handler implementations in gnu.java.net.content, not gnu.gcj.content.
12165 * gnu/java/net/protocol/file/Connection.java (getHeaderField):
12167 (getLastModified): Implemented.
12168 (getPermission): Create file permission here, instead of in
12170 * gnu/java/net/protocol/gcjlib/Connection.java (getHeaderField):
12172 * gnu/java/net/protocol/jar/Connection.java (getHeaderField):
12174 (getLastModified): Implemented.
12175 * gnu/java/awt/ClasspathToolkit.java (createImageProducer): New.
12176 Default implementation.
12177 * gnu/java/awt/peer/gtk/GtkToolkit.java (createImageProducer): New.
12178 Implement using GdkPixbufDecoder.
12180 2004-07-21 Michael Koch <konqueror@gmx.de>
12182 * javax/swing/JTextArea.java
12183 (setLineWrap): Fire property change event after new value is set.
12184 (setTabSize): Likewise.
12186 2004-07-21 Michael Koch <konqueror@gmx.de>
12188 * javax/swing/JTable.java
12189 (autoCreateColumnsFromModel): New field.
12190 (autoResizeMode): Likewise.
12191 (cellEditor): Likewise.
12192 (cellSelectionEnabled): Likewise.
12193 (columnModel): Likewise.
12194 (dataModel): Likewise.
12195 (defaultEditorsByColumnClass): Likewise.
12196 (defaultRenderersByColumnClass): Likewise.
12197 (editingColumn): Likewise.
12198 (editingRow): Likewise.
12199 (gridColor): Likewise.
12200 (preferredViewportSize): Likewise.
12201 (rowHeight): Likewise.
12202 (rowMargin): Likewise.
12203 (rowSelectionAllowed): Likewise.
12204 (selectionBackground): Likewise.
12205 (selectionForeground): Likewise.
12206 (selectionModel): Likewise.
12207 (showHorizontalLines): Likewise.
12208 (showVerticalLines): Likewise.
12209 (tableHeader): Likewise.
12210 (JTable): Implemented.
12211 (getColumnModel): Likewise.
12212 (getSelectedRow): Likewise.
12213 (getSelectionModel): Likewise.
12214 (setModel): Likewise.
12215 (setSelectionModel): Likewise.
12216 (createScrollPaneForTable): New method.
12217 (createDefaultDataModel): Likewise.
12218 (createDefaultListSelectionModel): Likewise.
12219 (getModel): Likewise.
12220 (getTableHeader): Likewise.
12221 (setTableHeader): Likewise.
12222 (getColumnSelectionAllowed): Likewise.
12223 (setColumnSelectionAllowed): Likewise.
12224 (getRowSelectionAllowed): Likewise.
12225 (setRowSelectionAllowed): Likewise.
12226 (getAutoResizeMode): Likewise.
12227 (setAutoResizeMode): Likewise.
12228 (getColumnCount): Likewise.
12229 (getRowCount): Likewise.
12230 (getCellRenderer): Likewise.
12231 * javax/swing/JTree.java
12232 (cellRenderer): New field.
12233 (editable): Likewise.
12234 (rootVisible): Likewise.
12235 (showsRootHandles): Likewise.
12236 (getModel): New method.
12237 (setModel): Likewise.
12238 (isEditable): Likewise.
12239 (setEditable): Likewise.
12240 (isRootVisbile): Likewise.
12241 (setRootVisible): Likewise.
12242 (getShowsRootHandles): Likewise.
12243 (setShowRootHandles): Likewise.
12244 (getCellRenderer): Likewise.
12245 (setCellRenderer): Likewise.
12247 2004-07-21 Michael Koch <konqueror@gmx.de>
12249 * javax/swing/JFormattedTextField.java
12250 (setDocument): Implemented.
12251 * javax/swing/JRootPane.java:
12253 * javax/swing/JTable.java
12254 (getDefaultRenderer): New method.
12255 * javax/swing/JTextField.java
12256 (setFont): Likewise.
12257 (getPreferredSize): Likewise.
12258 * javax/swing/JToggleButton.java
12259 (getAccessibleContext): Fix javadoc.
12260 * javax/swing/JTree.java:
12262 * javax/swing/JViewport.java:
12265 2004-07-21 David Jee <djee@redhat.com>
12267 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java:
12268 Collect all native method declaration at the top.
12269 (create): Set the filename filter if necessary.
12270 (setDirectory): Call nativeSetDirectory().
12271 (setFilenameFilter): Implement.
12272 (filenameFilterCallback): New method.
12273 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12274 (create): Configure dialog to show hidden files.
12275 (filenameFilterCallback): New function.
12276 (nativeSetFilenameFilter): New function.
12277 (nativeSetDirectory): New function.
12279 2004-07-21 Kim Ho <kho@redhat.com>
12281 * javax/swing/plaf/basic/BasicSliderUI.java:
12283 (paintTrack): Fill the track before painting
12286 2004-07-21 Graydon Hoare <graydon@redhat.com>
12288 patch from Roman Kennke <roman@ontographics.com>
12289 * javax/swing/Spring.java: New file.
12290 * javax/swing/SpringLayout.java: New file.
12291 * Makefile.am: Add new files.
12292 * Makefile.in: Regenerate.
12294 2004-07-21 Graydon Hoare <graydon@redhat.com>
12296 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Minor layout fixes.
12297 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
12298 * javax/swing/ScrollPaneLayout.java: Likewise.
12300 2004-07-21 Kim Ho <kho@redhat.com>
12302 * javax/swing/DefaultDesktopManager.java:
12303 (findMinimum): Removed.
12304 (resizeFrame): Trust the UI to pass valid
12306 * javax/swing/JOptionPane.java:
12307 Implemented showInternalXXXDialog methods.
12308 (startModal): New method.
12309 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
12310 (BorderListener::mouseDragged): Verify that the new
12311 bounds are valid before passing them to the DesktopManager.
12312 (preferredLayoutSize): Delegate
12314 (minimumLayoutSize): Ditto.
12315 (getSize): New method.
12316 (GlassPaneDispatcher): Reimplemented by copying
12317 a stripped down LightweightDispatcher from Container.
12318 (getMinimumSize): Call minimumLayoutSize.
12319 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
12321 (mousePressed): Add ability to properly close
12323 * javax/swing/plaf/basic/BasicToolBarUI.java:
12324 (DragWindow): Set owner for DragWindow.
12326 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12328 * java/awt/image/ShortLookupTable.java: New file.
12329 * java/awt/image/ByteLookupTable.java: New file.
12330 * Makefile.am: Added new files.
12331 * Makefile.in: Regenerated.
12333 2004-07-21 David Jee <djee@redhat.com>
12335 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
12336 (create(GtkContainerPeer)): New native method.
12337 (create()): Call native create(), passing in the parent frame
12338 as the paramter. Natively set the current file and directory.
12339 (setFile): Construct an absolute filename before passing it to
12341 (nativeGetDirectory): New method.
12342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
12343 (window_closed): Removed.
12344 (ok_clicked): Likewise.
12345 (cancel_clicked): Likewise.
12346 (handle_response): New method.
12347 (create): Use GtkFileChooserDialog.
12348 (connectSignals): Connect to handle_response.
12349 (nativeGetDirectory): New method.
12350 (nativeSetFile): Use GtkFileChooserDialog.
12352 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12354 * java/awt/image/LookupTable.java: New file.
12355 * Makefile.am: Added new file.
12356 * Makefile.in: Regenerated.
12358 2004-07-21 Jerry Quinn <jlquinn@optonline.net>
12360 * java/awt/image/Kernel.java: New file.
12361 * Makefile.am: Added new file.
12362 * Makefile.in: Regenerated.
12364 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12366 * javax/swing/JCheckBoxMenuItem.java: Fixed Javadocs.
12367 * javax/swing/JMenu.java: Likewise.
12368 * javax/swing/JMenuBar.java: Likewise.
12369 (MARGIN_CHANGED_PROPERTY): New property.
12370 (setMargin): Implemented.
12371 * javax/swing/JMenuItem.java: Fixed javadocs.
12372 * javax/swing/JPopupMenuUI.java: Fixed javadocs.
12373 (LABEL_CHANGED_PROPERTY): New property.
12374 (add): changed to use createActionComponent.
12375 (createActionComponent): Implemented.
12376 (setLabel): Fire PropertyChangeEvent if label property
12378 * javax/swing/JRadioButtonMenuItem.java: Fixed javadocs.
12379 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
12380 (ContainerHandler): Repaint if margin property has changed.
12381 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12382 (installUI): Call installComponents().
12383 (uninstallUI): Call uinstallComponents().
12384 * javax/swing/plaf/basic/BasicMenuUI.java:
12386 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12389 2004-07-21 Kim Ho <kho@redhat.com>
12391 * javax/swing/plaf/basic/BasicToolBarUI.java:
12392 (DragWindow): Use the right constructor.
12394 2004-07-21 Kim Ho <kho@redhat.com>
12396 * javax/swing/JToolBar.java:
12397 (layoutContainer): Use getComponents.
12398 * javax/swing/plaf/basic/BasicToolBarUI.java:
12399 (DragWindow): Don't use SwingUtilities'
12401 (ToolBarDialog): ditto.
12403 2004-07-21 Kim Ho <kho@redhat.com>
12405 * javax/swing/JRootPane.java:
12407 (layoutContainer): Set the glasspane's size to
12408 be the same as the content pane.
12409 (createGlassPane): Set opaque property to false.
12411 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12413 * java/awt/Component.java (requestFocus()): Don't handle Panels
12415 (requestFocus(boolean)): Likewise.
12416 (requestFocusInWindow(boolean)): Likewise.
12417 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c (create):
12418 Set GTK_CAN_FOCUS flag.
12420 2004-07-21 Kim Ho <kho@redhat.com>
12422 * Makefile.am: Added new file.
12423 * Makefile.in: Regenerated.
12424 * gcj/Makefile.in: Regenerated.
12425 * include/Makefile.in: Regenerated.
12426 * javax/swing/AbstractButton.java:
12427 Add rollOverEnabled property.
12428 (setRolloverEnabled): Use new property.
12429 (isRolloverEnabled): Use new property.
12430 * javax/swing/JTabbedPane.java:
12431 (setComponent): Remove useless JTabbedPane.this.
12432 * javax/swing/JToolBar.java: Finish implementation.
12433 * javax/swing/plaf/basic/BasicArrowButton.java:
12434 (paint): Moved border painting to a border.
12435 * javax/swing/plaf/basic/BasicLookAndFeel.java:
12436 Change JToolBar look and feel defaults.
12437 * javax/swing/plaf/basic/BasicOptionPaneUI.java
12438 (actionPerformed): Return Integer index instead of name.
12439 (addButtonComponents): Check to see if component is
12441 (createMessageArea): Don't use components that are not
12443 (getIconForType): Use temporary icons.
12444 * javax/swing/plaf/basic/BasicSliderUI.java:
12445 (mousePressed): Do not return if it's on thumb.
12446 (paintMinorTickForHorizSlider): Use BLACK to paint ticks.
12447 (paintMinorTickForVertSlider): ditto.
12448 (paintMajorTickForHorizSlider): ditto.
12449 (paintMajorTickForVertSlider): ditto.
12450 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
12451 Add a border around the SplitPaneDivider.
12452 * javax/swing/plaf/basic/BasicSplitPaneUI.java:
12454 * javax/swing/plaf/basic/BasicToolBarSeparatorUI.java:
12455 New file. Implemented.
12456 * javax/swing/plaf/basic/BasicToolBarUI.java:
12458 * testsuite/Makefile.in: Regenerated.
12460 2004-07-21 Graydon Hoare <graydon@redhat.com>
12462 * javax/swing/Timer.java (run): Queue events each time cycle.
12464 2004-07-21 David Jee <djee@redhat.com>
12466 * gnu/java/awt/peer/gtk/GtkImagePainter.java
12467 (imageComplete): Call image.imageComplete().
12468 * java/awt/image/MemoryImageSource.java:
12469 Reimplement consumers as a Vector instead of a Hashtable. This is
12470 because enumeration on a Hashtable is not thread-safe.
12471 (addConsumer): Adapt to Vector consumers.
12472 (isConsumer): Adapt to Vector consumers.
12473 (removeConsumer): Adapt to Vector consumers.
12474 (startProduction): Adapt to Vector consumers. Call imageComplete()
12475 with STATICIMAGEDONE flag instead of SINGLEFRAME flag.
12476 (newPixels): Adapt to Vector consumers.
12477 (sendPicture): Set the color model of the image consumer.
12478 (newPixels(IIII)): Adapt to Vector consumers.
12479 (newPixels(IIIIB)): Adapt to Vector consumers.
12481 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12483 * java/awt/Component.java (deliverEvent): Implement.
12484 (postEvent): Implement.
12485 (handleEvent): Implement.
12486 (translateEvent): New method.
12487 (dispatchEventImpl): Document. Add AWT 1.0 event handling.
12488 * java/awt/Container.java (deliverEvent): Implement.
12489 * java/awt/Event.java (paramString): Fix formatting.
12490 * java/awt/Font.java (toString): Likewise.
12491 * java/awt/Window.java (postEvent): Implement.
12493 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12495 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
12496 Set window's focus owner upon receiving a FOCUS_LOST event.
12497 * java/awt/Window.java (Window()): Refocus the previously
12498 focused component within the window when the window regains the
12500 (setFocusOwner): New method.
12501 * java/awt/Component.java (requestFocus): Add FIXME.
12503 * libgcj.pc.in: Remove library flags.
12505 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12507 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (handleEvent): Handle
12508 MOUSE_PRESSED event.
12509 * java/awt/Component.java (requestFocus()): Handle Panel
12510 specially. Post FOCUS_LOST event on opposite component.
12511 (requestFocus(boolean)): Likewise.
12512 (requestFocusInWindow(boolean)): Likewise.
12513 (paramString): Reorder dimension fields.
12514 * java/awt/Container.java (paramString): Fix string format.
12515 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
12516 Handle FOCUS_LOST events. Don't handle Windows specially. Only
12517 process key events if the focus owner is non-null.
12518 (dispatchKeyEvent): Likewise.
12519 * java/awt/Frame.java (paramString): Fix formatting.
12520 (generateName): New method.
12521 (getUniqueLong): Likewise.
12522 * java/awt/KeyboardFocusManager.java (getFocusOwner): Check if
12523 the temporary focus owner is null. If so, return the permanent
12525 * java/awt/Panel.java (generateName): New method.
12526 (getUniqueLong): Likewise.
12527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c: Rework
12528 signal handling to make callbacks more specific.
12530 2004-07-21 Michael Koch <konqueror@gmx.de>
12532 * javax/swing/text/Position.java
12533 (Bias): Implemented.
12535 2004-07-21 Michael Koch <konqueror@gmx.de>
12537 * javax/swing/LookAndFeel.java
12538 (provideErrorFeedback): New method.
12540 2004-07-21 Michael Koch <konqueror@gmx.de>
12542 * javax/swing/JTextArea.java
12543 (tabSize): New field.
12544 (getTabSize): New method.
12545 (setTabSize): Likewise.
12547 2004-07-21 Michael Koch <konqueror@gmx.de>
12549 * javax/swing/ActionMap.java:
12550 Fixed javadocs all over.
12551 (serialVersionUID): Made private.
12552 (parent): Don't explicitely initialize with default value.
12554 (keys): Reimplemented.
12555 (allKeys): Likewise.
12556 (convertSet): Removed.
12557 * javax/swing/ComponentInputMap.java:
12558 Fixed javadocs all over.
12559 (ComponentInputMap): Implemented.
12562 (remove): Likewise.
12563 (SetParent): Likewise.
12564 (getComponent): Likewise.
12565 * javax/swing/InputMap.java:
12566 Fixed javadocs all over.
12567 (serialVersionUID): Made private.
12568 (parent): Don't explicitely initialize with default value.
12570 (keys): Reimplemented.
12571 (allKeys): Likewise.
12572 (convertSet): Removed.
12574 2004-07-21 Michael Koch <konqueror@gmx.de>
12576 * javax/swing/ActionMap.java,
12577 javax/swing/ComponentInputMap.java,
12578 javax/swing/InputMap.java,
12579 javax/swing/table/DefaultTableColumnModel.java,
12580 javax/swing/table/TableColumn.java,
12581 javax/swing/table/TableColumnModel.java,
12582 javax/swing/table/TableModel.java,
12583 javax/swing/text/AbstractDocument.java,
12584 javax/swing/text/TextAction.java:
12587 2004-07-21 Graydon Hoare <graydon@redhat.com>
12589 * gnu/java/awt/peer/gtk/GtkToolkit.java (bufferedImageOrError):
12590 Make method non-static.
12591 * javax/swing/AbstractButton.java:
12592 Rename fields to match property names where possible.
12593 (iconTextGap): New property.
12594 * javax/swing/JCheckBox.java: Match AbstractButton changes.
12595 (init) New method, call from after various constructors.
12596 * javax/swing/JComponent.java (revalidate):
12597 Invalidate before queueing repair.
12598 * javax/swing/JList.java (getPreferredScrollableViewportSize):
12599 Reimplement in terms of visibleRowCount property.
12600 * javax/swing/JMenuButton.java: Match AbstractButton changes.
12601 * javax/swing/JScrollPane.java (createScrollListener):
12602 Remove tracing chatter.
12603 * javax/swing/JToggleButton.java: Match AbstractButton changes.
12604 * javax/swing/RepaintManager.java (addInvalidComponent):
12606 * javax/swing/ScrollPaneLayout.java: Various corrections to layout
12608 * javax/swing/SwingUtilities.java (layoutCompoundLabel):
12609 Mimic sun behavior on top left/right positioning.
12610 * javax/swing/ViewportLayout.java (preferredLayoutSize):
12611 Remove mistaken use of preferredScrollableViewportSize here.
12612 (layoutContainer): Use view's preferred size as basis.
12613 * javax/swing/plaf/basic/BasicButtonUI.java:
12614 Set, get, and use textIconGap property.
12615 (paint) Paint text returned from layout (with ellipsis).
12616 * javax/swing/plaf/basic/BasicListUI.java:
12617 Remove tracing chatter, correct various minor calculations.
12618 (getCellBounds): Update layout state before calculating.
12619 * javax/swing/plaf/basic/BasicLookAndFeel.java (Button.Margin):
12620 Use margin default similar to sun's.
12621 * javax/swing/plaf/basic/BasicScrollBarUI.java (ArrowIcon):
12622 (createIncreaseIcon): Center icon, minimize margins.
12623 (createDecreaseIcon): Likewise.
12624 * javax/swing/plaf/basic/BasicScrollPaneUI.java (installDefaults):
12626 (installUI): Call it.
12627 (uninstallDefaults): Implement.
12628 (uninstallUI): Call it.
12629 * javax/swing/plaf/basic/BasicToolBarUI.java (DragWindow):
12630 Call existing Window constructor.
12631 * javax/swing/plaf/basic/BasicViewportUI.java (paint):
12632 Set clip before painting.
12634 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12636 * javax/swing/JMenuItem.java:
12637 (processMouseEvent): Reimplemented to deal with
12639 (createMenuDragMouseEvent): New private helper method.
12640 Creates MenuDragMouseEvent.
12641 * javax/swing/MenuSelectionManager.java
12642 (componentForPoint): Implemented.
12643 (isComponentPartOfCurrentMenu): Made public.
12644 (processMouseEvent): Reimplemented to deal with
12646 (setSelectedPath): Corrected small mistake that caused
12647 path to be set incorrectly.
12648 (getPath): If given component is JMenu then also add this
12649 menu's popup menu to the selected path.
12650 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12652 (getPreferredSize): Call getPreferredMenuItemSize().
12653 (getPreferredItemSize): Moved code from getPreferredSize to here.
12654 (installListeners): Install MouseMotionListeners.
12655 (MouseInputHandler): Pass mouse release event to MenuSelectionManager
12656 if mouse wasn't released in the bounds of this menu item.
12657 (MenuDragMouseHandler): Implemented.
12658 * javax/swing/plaf/basic/BasicMenuUI.java:
12659 (installListeners): Install MouseMotionListener and
12660 MenuDrageMouseListener.
12661 (MenuDragMouseHandler): Implemented.
12662 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12663 (uninstallListeners): Implemented.
12665 2004-07-21 Michael Koch <konqueror@gmx.de>
12667 * javax/swing/JCheckBox.java: Reformated.
12668 (JCheckBox): Fixed all constructors.
12669 (isBorderPaintedFlat): New method.
12670 (setBorderPaintedFlat): New method.
12671 * javax/swing/JEditorPane.java
12672 (createEditorKitForContentType): Made public.
12673 (scrollToReference): Likewise.
12674 * javax/swing/JTextArea.java
12675 (setLineWrap): Fire property change.
12676 * javax/swing/JToggleButton.java
12677 (JToggleButton): New constructor.
12678 (JToggleButton): Simplified.
12679 * javax/swing/text/AttributeSet.java
12680 (FontAttribute): Renamed from FontCharacterAttribute.
12681 * javax/swing/text/JTextComponent.java
12682 (KeyBinBinding): Added javadoc.
12683 (JTextComponent): Likewise.
12684 (getAccessibleContext): Fixed javadoc.
12685 * javax/swing/text/View.java
12686 (View): Added javadoc.
12687 * javax/swing/text/TabableView.java: New file.
12688 * Makefile.am: Added javax/swing/text/TabableView.java.
12689 * Makefile.in: Regenerated.
12691 2004-07-21 Graydon Hoare <graydon@redhat.com>
12693 * java/awt/image/BufferedImage.java (getSource): Remove tracing chatter.
12694 * gnu/java/awt/peer/gtk/GtkToolkit.java
12695 (GtkErrorImage): New helper class.
12696 (bufferedImageOrError): New helper method.
12697 (createImage): Use it.
12699 2004-07-21 David Jee <djee@redhat.com>
12701 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
12702 (setCaretPosition): Scroll the text view so the new caret position
12703 is visible on screen.
12705 2004-07-21 David Jee <djee@redhat.com>
12707 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
12708 (setBounds): Do not validate awtComponent here.
12709 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java
12710 (getPreferredSize): New method.
12711 * java/awt/ScrollPane.java
12712 (ScrollPane): Set default size to 100x100.
12713 (addNotify): If child is not a Panel, wrap it with a new Panel.
12714 (paramString): Implement.
12716 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12718 * javax/swing/JMenu.java:
12719 (setSelected): Display popup menu only if this menu
12720 is showing on the screen.
12721 * javax/swing/JPopupMenu.java:
12722 (processMouseEvent): Added comment.
12723 (processKeyEvent): Likewise.
12724 * javax/swing/MenuSelectionManager.java:
12725 (clearSelectedPath): Only fireStateChanged() after
12726 selected path was changed, not before.
12727 (setSelectedPath): Likewise.
12728 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12729 (paintMenuItem): Corrected position of menu item's
12731 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12732 (installUI): Correct setDefaultLightWeightPopupEnabled call.
12733 (popupMenuCanceled): Reimplemented.
12734 (popupMenuWillBecomeVisible): Select first menu item by default
12735 when displaying free floating popup menus.
12736 (TopWindowListener): Reimplemented.
12738 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12740 * java/awt/Panel.java (dispatchEventImpl): Override to prevent
12741 Panel from being painted twice when it is first shown.
12743 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12745 * java/awt/Window.java: Reverted changes from my
12746 previous patch for creating window without an owner.
12747 * javax/swing/SwingUtilities.java:
12748 (SwingUtilities.OwnerFrame): made static.
12749 (OwnerFrame.setVisible): New method. Overridden with
12750 empty implementation.
12751 (OwnerFrame.isShowing): New method. Ovverridden
12752 to return always true.
12754 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
12756 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
12757 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
12758 (GtkComponentPeer): Remove temporary try/catch block.
12759 (setVisible): Call show and hide.
12760 (show): Make native.
12762 (getArgs): Don't add "visible" argument.
12763 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
12764 (property_notify_predicate): Return Bool instead of int.
12765 (find_layout): New function.
12766 (connectJObject): Call find_layout.
12767 (connectSignals): Likewise.
12768 (moveLayout): Likewise.
12769 (gtkLayoutSetVisible): Likewise.
12771 2004-07-21 Mark Wielaard <mark@klomp.org>
12773 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
12774 on notifier object before calling notifyAll().
12776 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12778 * java/awt/Window.java: Changed constructors to use new
12779 method that is described below. Constructors call this
12780 methods only if newly created window should have an owner.
12781 (setWindowOwner): New method. Implementation for
12782 this method is moved from this(owner,configuration).
12783 * javax/swing/JWindow.java:
12784 (JWindow): Reimplement to use SwingUtilities.ownerFrame
12786 * javax/swing/SwingUtilities.java:
12787 (ownerFrame): Change type of this field to OwnerFrame.
12788 (getOwnerFrame): Changed to return object of type OwnerFrame.
12789 (SwingUtilities.OwnerFrame): New class. Represents owner
12790 of a Window that is not provided with one.
12792 2004-07-21 Olga Rodimina <rodimina@redhat.com>
12794 * javax/swing/AbstractButton.java:
12795 (configurePropertiesFromAction): Set action command
12796 to button's text by default if action command is not
12797 explicitely specified.
12798 * javax/swing/JMenu.java: Remove unnecessary listener
12799 and methods relevant to it.
12800 (setSelected): Reimplemented.
12801 (menuSelectionChanged): Moved most part of implementation to
12802 setSelected() and call it instead.
12803 * javax/swing/JMenuItem.java:
12804 (init): Comment out statement that sets paint_border to false.
12805 (configurePropertiesFromAction): Do not set accelerator
12807 (menuSelectionChanged): Change selected index in the selection
12808 model of menu item's parent.
12809 * javax/swing/JPopupMenu.java:
12810 (remove): Set constraints.fill field to GridBagConstraints.BOTH
12811 instead of GridBagConstraints.HORIZONTAL.
12812 (insert): Likewise.
12813 (createActionChangeListener): Implemented.
12814 (setVisible): Correct location of HeavyWeightMenu and
12815 don't firePopupMenuCanceled().
12816 (menuSelectionChanged): Implemented.
12817 (ActionChangeListener): New Listener. Implemented.
12818 * javax/swing/plaf/basic/BasicMenuBarUI.java:
12819 (BasicMenuBarUI.ContainerHandler): Implemented.
12820 * javax/swing/plaf/basic/BasicMenuItemUI.java:
12821 (paintMenuItem): Uncommented out code that paints
12822 icon, now that icons are working properly.
12823 (PropertyChangeListener): Implemented.
12824 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
12826 (topWindowListener): New field.
12827 (Constructor): initialize topWindowListener.
12828 (BasicPopupMenuUI.TopWindowListener): Implemented.
12829 (BasicPopupMenuUI.PopupMenuHandler): Implemented.
12830 (BasicPopupMenuUI.TopWindowListener): New ComponentListener.
12833 2004-07-21 Michael Koch <konqueror@gmx.de>
12835 * javax/swing/plaf/basic/BasicButtonUI.java
12836 (paintFocus): Fixed method signature.
12837 (paintButtonPressed): Likewise.
12838 (paintButtonNormal): Likewise.
12839 (paintText): New method.
12840 * javax/swing/plaf/basic/BasicLabelUI.java
12841 (paint): Re-indented.
12842 * javax/swing/plaf/basic/BasicTextUI.java
12843 (installUI): Set parent textComponent to opaque.
12844 * javax/swing/text/DefaultHighlighter.java
12845 (checkPositions): New helper method.
12846 (addHighlight): Throws BadLocationException, check positions.
12847 (changeHighlight): Likewise.
12848 * javax/swing/text/EditorKit.java
12849 (EditorKit): Implements Serializable.
12850 * javax/swing/text/JTextComponent.java
12851 (getUI): Added javadoc.
12853 (upadteUI): Added javadoc, don't revalidate and repaint.
12855 2004-07-21 David Jee <djee@redhat.com>
12857 * java/awt/GridBagLayout.java
12858 (ArrangeGrid): Use PREFERREDSIZE instead of MINSIZE.
12859 * javax/swing/AbstractButton.java
12860 (setText): Reindent.
12861 * javax/swing/RepaintManager.java
12862 (addInvalidComponent): Find the first ancestor that isValidateRoot().
12864 2004-07-21 Michael Koch <konqueror@gmx.de>
12866 * javax/swing/JFormattedTextField.java
12867 (value): New field.
12868 (JFormattedTextField): Implemented.
12869 (getValue): Likewise.
12870 (setValue): Likewise.
12871 * javax/swing/LookAndFeel.java
12872 (getSupportsWindowDecorations): New method.
12873 * javax/swing/UIDefaults.java:
12874 Use java.beans.PropertyChangeSupport instead of doing all ourself.
12875 (addPropertyChangeListener): Made public.
12876 (addResourceBundle): Likewise.
12877 (removeResourceBundle): Likewise.
12878 (setDefaultLocale): Likewise.
12879 * javax/swing/plaf/basic/BasicRootPaneUI.java
12880 (BasicRootPaneUI): Implements PropertyChangeListener.
12881 (propertyChange): New method.
12882 * javax/swing/plaf/basic/BasicTextUI.java
12883 (BasicHighlighter): New inner class.
12884 (createHighlighter): New method.
12885 * javax/swing/plaf/basic/BasicToolBarUI.java
12886 (DragWindow): Extends java.awt.Window.
12887 * javax/swing/text/JTextComponent.java
12888 (getDocument): Removed debug output.
12889 * javax/swing/plaf/basic/BasicTextFieldUI.java,
12890 javax/swing/text/DefaultHighlighter.java,
12891 javax/swing/text/FieldView.java,
12892 javax/swing/text/PlainView.java: New files.
12893 * Makefile.am: Added new files.
12894 * Makefile.in: Regenerated.
12896 2004-07-21 Michael Koch <konqueror@gmx.de>
12898 * javax/swing/JEditorPane.java
12899 (createDefaultEditorKit): Use javax.swing.text.DefaultEditorKit.
12900 (createEditorKitForContentType): Likewise.
12901 * javax/swing/text/DefaultEditorKit.java
12902 (serialVersionUID): Added constant field.
12903 (EndOfLineStringPropery): Fixed typo.
12904 (DefaultEditorKit): New constructor.
12905 * javax/swing/text/Segment.java:
12906 Import java.text.CharacterIterator.
12907 * javax/swing/text/CharacterIterator.java,
12908 javax/swing/text/PlainEditorKit.java: Removed.
12909 * Makefile.am: Removed javax/swing/text/CharacterIterator.java and
12910 javax/swing/text/PlainEditorKit.java.
12911 * Makefile.in: Regenerated.
12913 2004-07-21 Michael Koch <konqueror@gmx.de>
12915 * javax/swing/JButton.java,
12916 javax/swing/text/DefaultEditorKit.java,
12917 javax/swing/text/EditorKit.java,
12918 javax/swing/text/Segment.java,
12919 javax/swing/text/StyledEditorKit.java:
12922 2004-07-21 Michael Koch <konqueror@gmx.de>
12924 * javax/swing/ImageIcon.java
12926 (description): Renamed from descr.
12927 (ImageIcon): Added missing constructors.
12928 (setParent): Removed.
12929 (setImageObserver): New method.
12930 (getImageObserver): New method.
12931 (paintIcon): Handle observer = null.
12932 * javax/swing/JButton.java
12933 (removeNotify): Fixed javadoc.
12934 (updateUI): Simplified.
12935 * javax/swing/JRootPane.java
12936 (serialVersionUID): New constant field.
12937 * javax/swing/UIManager.java:
12938 Fixed javadocs all over.
12939 (setLookAndFeel): Throws UnsupportedLookAndFeelException.
12940 * javax/swing/text/AbstractDocument.java
12941 (createPosition): Throws BadLocationException.
12942 (getText): Likewise.
12943 (remove): Likewise.
12944 * javax/swing/text/ComponentView.java
12945 (modelToView): Likewise.
12946 * javax/swing/text/DefaultEditorKit.java:
12947 Made all public methods public.
12948 (read): Throws BadLocationException and IOException.
12950 * javax/swing/text/EditorKit.java:
12951 Made all public methods public.
12952 (serialVersionUID): New constant field.
12953 (clone): New method.
12954 (read): Throws BadLocationException and IOException.
12956 * javax/swing/text/Segment.java
12957 (array): Made public.
12959 (offset): Likewise.
12960 (Segment): New constructors.
12961 (clone): Reimplemented.
12962 * javax/swing/text/StyledEditorKit.java
12963 (serialVersionUID): New constant field.
12965 2004-07-21 Graydon Hoare <graydon@redhat.com>
12967 * java/awt/image/BufferedImage.java
12968 (getSource): Implement.
12969 * javax/swing/ImageIcon.java
12970 (ImageIcon): Implement ctor.
12971 * javax/swing/ScrollPaneLayout.java
12972 (preferredLayoutSize): Be more careful about nulls.
12974 2004-07-21 Michael Koch <konqueror@gmx.de>
12976 * javax/swing/text/AttributeSet.java
12977 (CharacterAttribute): New interface
12978 (ColorAttribute): Likewise.
12979 (FontCharacterAttribute): Likewise.
12980 (ParagraphAttribute): Likewise.
12981 * javax/swing/text/DefaultCaret.java
12982 (moveCaret): New method.
12983 (positionCaret): Likewise.
12984 (repaint): Made protected.
12985 * javax/swing/text/JTextComponent.java
12986 (KeyBinding): Made it static.
12987 * javax/swing/text/View.java
12988 (getContainer): Honor parent == null.
12990 2004-07-21 Michael Koch <konqueror@gmx.de>
12992 * javax/swing/text/AbstractDocument.java:
12995 2004-07-21 Michael Koch <konqueror@gmx.de>
12997 * javax/swing/plaf/basic/BasicRootPaneUI.java:
12998 Import javax.swing.UIManager explicitely.
12999 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
13000 (ScrollingButton): Made it static.
13002 2004-07-21 Michael Koch <konqueror@gmx.de>
13004 * javax/swing/UIDefaults.java
13005 (ActiveValue): Made public.
13006 (LazyValue): Likewise.
13007 * javax/swing/plaf/basic/BasicTextUI.java
13008 (RootView): Reintroduced.
13010 (rootView): New field.
13011 (installUI): Create document if needed, initialize rootView.
13012 (uninstallUI): Hanle rootView.
13014 (getRootView): Likewise.
13015 (setView): Likewise.
13016 * javax/swing/text/DefaultCaret.java:
13017 Renamed all "evt" variables to "event".
13019 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13021 * libgcj.spec.in: Add -l-java-util-logging.
13023 2004-07-21 Andreas Tobler <a.tobler@schweiz.ch>
13025 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13026 (init_dpi_conversion_factor): Check for int_dpi < 0 in case
13027 gtk-xft-dpi can no calculate the right value.
13028 (dpi_changed_cb): Mark *pspec as unsused.
13030 2004-07-21 David Jee <djee@redhat.com>
13032 * java/awt/Component.java
13033 (move): Delegate to setBounds().
13034 (resize): Likewise.
13035 (reshape): Fix so it repaints parent and self only when necessary.
13037 2004-07-21 David Jee <djee@redhat.com>
13039 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13040 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13041 (GtkComponentPeer): Revert previous patch from 2004-06-22.
13042 (setVisible): Likewise.
13045 (getArgs): Likewise.
13046 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13047 (property_notify_predicate): Likewise.
13048 (find_layout): Likewise.
13049 (connectJObject): Likewise.
13050 (connectSignals): Likewise.
13051 (moveLayout): Likewise.
13052 (gtkLayoutSetVisible): Likewise.
13054 2004-07-21 Graydon Hoare <graydon@redhat.com>
13057 (jv_convert_LDADD):
13060 (rmiregistry_LDADD): Add lib-java-util-logging.la
13061 * Makefile.in: Regenerate.
13063 2004-07-21 Michael Koch <konqueror@gmx.de>
13065 * javax/swing/text/AbstractDocument.java
13066 (replace): Dont use protected method of java.util.Vector directly.
13068 2004-07-21 Michael Koch <konqueror@gmx.de>
13070 * javax/swing/plaf/basic/BasicTextUI.java
13071 (installUI): Call specialized install methods.
13072 (installDefaults): New method.
13073 (installListeners): Likewise.
13074 (installKeyboardActions): Likewise.
13075 (uninstallUI): Likewise.
13076 (uninstallDefaults): New method.
13077 (uninstallListeners): Likewise.
13078 (uninstallKeyboardActions): Likewise.
13079 (getPropertyPrefix): New abstract method.
13080 (paint): Made final, just call paintSafely().
13081 (paintSavely): New method.
13082 (paintBackground): Likewise.
13083 (getVisibleEditorRect): Likewise.
13084 * javax/swing/text/LayeredHighlighter.java,
13085 javax/swing/text/TabExpander.java: New files.
13086 * Makefile.am: Added javax/swing/text/LayeredHighlighter.java
13087 and javax/swing/text/TabExpander.java.
13088 * Makefile.in: Regenerated.
13090 2004-07-21 Michael Koch <konqueror@gmx.de>
13092 * javax/swing/plaf/basic/BasicTextUI.java
13093 (BasicTextUI): Made abstract.
13094 (BasicCaret): New inner class.
13095 (view): Don't explicitely initialize with "null".
13096 (textComponent): New field.
13097 (textColor): Removed.
13098 (disabledTextColor): Removed.
13099 (normalBackgroundColor): Removed.
13100 (RootView): Removed commented out inner class.
13101 (createUI): Removed.
13102 (createCaret): New method.
13103 (getComponent): Likewise.
13104 (installUI): Initialize textComponent only.
13105 (getPreferredSize): Use installed JTextComponent.
13106 (setView): New method.
13107 (create): Likewise.
13108 * javax/swing/text/JTextComponent.java
13109 (highlighter): New field.
13110 (caretColor): Likewise.
13111 (disabledTextColor): Likewise.
13112 (seletedTextColor): Likewise.
13113 (selectionColor): Likewise.
13114 (setUI): New method.
13115 (getCaretColor): Likewise.
13116 (setCaretColor): Likewise.
13117 (getDisabledColor): Likewise.
13118 (setDisabledColor): Likewise.
13119 (getSelectedTextColor): Likewise.
13120 (setSelectedTextColor): Likewise.
13121 (getSelectionColor): Likewise.
13122 (setSelectionColor): Likewise.
13123 (getHighlighter): Likewise.
13124 (setHighlighter): Likewise.
13125 (replaceSelection): Likewise.
13127 2004-07-21 Michael Koch <konqueror@gmx.de>
13129 * javax/swing/plaf/basic/BasicScrollPaneUI.java
13130 (BasicScrollPaneUI): Implements ScrollPaneConstants.
13131 * javax/swing/plaf/basic/BasicToolBarUI.java
13132 (BasicToolBarUI): Implements SwingConstants.
13134 2004-07-21 Michael Koch <konqueror@gmx.de>
13136 * javax/swing/JPopupMenu.java: Removed CVS tags.
13137 * javax/swing/UIDefaults.java: Reformatted.
13138 * javax/swing/plaf/basic/BasicRootPaneUI.java:
13139 Explicitely import used classes.
13141 2004-07-21 Thomas Fitzsimmons <fitzsim@redhat.com>
13143 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
13144 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
13145 (GtkComponentPeer): Remove temporary try/catch block.
13146 (setVisible): Call show and hide.
13147 (show): Make native.
13149 (getArgs): Don't add "visible" argument.
13150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
13151 (property_notify_predicate): Return Bool instead of int.
13152 (find_layout): New function.
13153 (connectJObject): Call find_layout.
13154 (connectSignals): Likewise.
13155 (moveLayout): Likewise.
13156 (gtkLayoutSetVisible): Likewise.
13158 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13160 * javax/swing/AbstractButton.java:
13161 (setDisplayedMnemonicIndex): Check if button
13162 text is not null before checking its length.
13163 * javax/swing/JMenuItem.java:
13164 (processMouseEvent): Disarm menu item if mouse has
13166 * javax/swing/plaf/basic/BasicMenuUI.java:
13167 (MouseInputHandler.mouseEntered): Do not raise
13168 popup menu if this menu is already selected.
13169 (MouseInputHandler.mousePressed): Do not fire
13171 (MenuHandler): Implemented.
13173 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13175 * javax/swing/JCheckBoxMenuItem.java: Added Javadoc.
13176 (getSelectedObjects): Implemented.
13177 * javax/swing/JRadioButtonMenuItem.java: Added Javadoc.
13178 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:
13179 Added javadoc for few methods.
13180 (processMouseEvent): Made public.
13181 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java
13182 (processMouseEvent): Likewise.
13184 2004-07-21 Olga Rodimina <rodimina@redhat.com>
13186 * javax/swing/AbstractButton.java:
13187 (init): Set display mnemonic index to -1.
13188 (setMnemonic(char)): Use setMnemonic(int).
13189 (setMnemonic(int)): Set display mnemonic index.
13190 (getDisplayedMnemonicIndex): Change method signature
13191 by removing 'index' parameter.
13192 * javax/swing/plaf/basic/BasicLookAndFeel.java:
13193 Added default for Menu.selectionBackground.
13194 * javax/swing/plaf/basic/BasicMenuItemUI.java:
13195 (paintMenuItem): Change background color of the selected
13197 (paintText): Paint differently when menu item is disabled.
13198 Also paint mnemonic if it appears in the menu item's label.
13199 (paintAccelerator): Paint accelerator differently
13200 if menu item is disabled.
13201 * javax/swing/plaf/basic/BasicMenuUI.java:
13202 (installDefaults): Install defaults for
13203 selectionForeground and selectionBackground.
13204 (uninstallDefaults): Uninstall defauls for
13205 selectionForeground and selectionBackground.
13207 2004-07-21 Michael Koch <konqueror@gmx.de>
13209 * javax/swing/text/AbstractDocument.java
13210 (BranchElement): Implemented.
13211 (LeafElement): Implemented.
13212 * javax/swing/text/DefaultCaret.java:
13213 Import used classes.
13214 (serialVersionUID): New constant.
13215 * javax/swing/text/JTextComponent.java
13216 (AccessibleJTextComponent): Removed dead declaration.
13217 (caretPos): Removed.
13218 (setCaret): New method.
13219 * javax/swing/text/PlainDocument.java
13220 (rootElement): New field.
13221 (PlainDocument): Initialize rootElement.
13222 (createDefaultRoot): New method.
13223 (getDefaultRootElement): Implemented.
13224 * javax/swing/text/View.java: Reformatted.
13225 * javax/swing/text/ViewFactory.java
13226 (create): Added javadoc.
13228 2004-07-21 Michael Koch <konqueror@gmx.de>
13230 * javax/swing/ToolTipManager.java: Reformatted.
13232 2004-07-21 Rodimina Olga <rodimina@redhat.com>
13234 * javax/swing/AbstractButton.java
13235 (changeEvent): New field.
13236 (fireItemStateChanged): Change source of the event
13237 to 'this' before firing it to button listeners.
13238 (fireActionPerformed): Likewise.
13239 (fireStateChanged): Likewise.
13240 (createActionListener): Do not set source
13241 of the event to AbstractButton.
13242 * javax/swing/plaf/basic/BasicMenuBarUI.java:
13243 (ContainerHandler.componentAdded): Removed
13244 print out statement.
13245 (ContainerHandler.componentRemoved): Likewise.
13247 2004-07-21 Michael Koch <konqueror@gmx.de>
13249 * javax/swing/text/Highlighter.java: New file.
13250 * Makefile.am: Added javax/swing/text/Highlighter.java.
13251 * Makefile.in: Regenerated.
13253 2004-07-21 Michael Koch <konqueror@gmx.de>
13255 * javax/swing/ToolTipManager.java
13256 (stillInsideTimerAction): Fixed constructor arguments.
13257 (outsideTimerAction): Likewise.
13258 (insideTimerAction): Likewise.
13260 2004-07-21 Michael Koch <konqueror@gmx.de>
13262 * javax/swing/JButton.java: Reformatted.
13263 * javax/swing/JFormattedTextField.java
13264 (getUIClassID): Implemented.
13265 * javax/swing/JRootPane.java
13266 (serialVersionUID): New constant.
13267 * javax/swing/JTextField.java
13268 (align): New field.
13269 (JTextField): Simplified.
13270 (getUIClassID): New method.
13271 (getActionListeners): Added @since tag.
13272 (setColumns): Invalidate layout and repaint.
13273 (getHorizontalAlignment): New method.
13274 (setHorizontalAlignment): New method.
13275 (selectAll): Removed.
13276 * javax/swing/SwingUtilities.java
13277 (getAncestorOfClass): Removed redundant @see tag.
13278 (isLeftMouseButton): Fixed implementation.
13279 (isMiddleMouseButton): Likewise.
13280 (isRightMouseButton): Likewise.
13281 * javax/swing/text/AbstractDocument.java
13282 (AttributeContext.addAttribute): New method.
13283 (AttributeContext.addAttributes): New method.
13284 (AttributeContext.getEmptySet): New method.
13285 (AttributeContext.reclaim): New method.
13286 (AttributeContext.removeAttribute): New method.
13287 (AttributeContext.removeAttributes): New method.
13288 * javax/swing/text/Document.java
13289 (createPosition): Throws BadLocationException.
13290 (getText): Likewise.
13291 (remove): Likewise.
13292 * javax/swing/text/JTextComponent.java
13293 (getText): Return null if no document is set. Catch
13294 BadLocationException.
13295 (getUI): Return ui.
13296 (updateUI): Simplified.
13298 2004-07-21 Michael Koch <konqueror@gmx.de>
13300 * javax/swing/JButton.java
13301 (removeNotify): Fixed javadoc.
13302 (updateUI): Simplified.
13304 2004-07-21 David Jee <djee@redhat.com>
13306 * gnu/java/awt/image/ImageDecoder.java
13307 (startProduction): Only add consumer if it's not added yet.
13308 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
13309 (GdkPixbufDecoder): Don't call initState() here.
13310 (produce): Call initState() here, to ensure area_prepared and
13311 area_updated signals are properly connected.
13312 * gnu/java/awt/peer/gtk/GtkImage.java
13313 (setColorModel): Use equals() to compare ColorModel objects.
13314 (setPixels): Likewise.
13315 * java/awt/image/ColorModel.java
13316 (equals): Fix typo. Use Arrays.equals() to compare int arrays.
13317 * java/awt/image/RGBImageFilter.java
13318 (setColorModel): Set consumer's color model.
13319 (setPixels): Use equals() to compare ColorModel objects.
13321 2004-07-21 Bryce McKinlay <mckinlay@redhat.com>
13323 * java/net/URLConnection.java (position): New field.
13324 (dateFormat1, dateFormat2, dateFormat3): Removed.
13325 (dateFormats): New field.
13326 (getHeaderFieldDate): Use new dateFormats array. Re-use parsePosition
13327 each time instead of re-allocating.
13328 (initializeDateFormats): Initialize 'dateFormats'.
13330 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13333 * prims.cc (_Jv_RunMain): Don't call _Jv_SetArgs if DISABLE_MAIN_ARGS
13336 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13338 * java/net/Socket.java (getImpl): Now private. Remove comment.
13340 2004-07-20 Bryce McKinlay <mckinlay@redhat.com>
13342 * java/io/BufferedWriter.java (BufferedWriter): Use existing lock
13343 of chained Writer when calling super-constructor.
13344 * java/io/FilterWriter.java (FilterWriter): Likewise.
13345 * java/io/PrintWriter.java (PrintWriter): Likewise.
13347 2004-07-19 Bryce McKinlay <mckinlay@redhat.com>
13349 * prims.cc (process_gcj_properties): Don't increment i within LHS
13352 2004-07-19 Per Bothner <per@bothner.com>
13354 Print -verbose:message on "loading", not initialization.
13355 * java/lang/Class.h (JV_STATE_LOADED, JV_STATE_COMPILED): Swap order.
13356 * defineclass.cc (_Jv_ClassReader::parse): Print message if
13357 gcj::verbose_class_flag.
13358 * java/lang/natClass.cc (initializeClass): Don't print message here.
13359 * java/lang/natClassLoader.cc (_Jv_WaitForState): If state was
13360 _JV_STATE_COMPILED, set to JV_STATE_LOADED and may print message.
13361 (_Jv_PrepareCompiledClass): Likewise.
13363 2004-07-18 Matthias Klose <doko@debian.org>
13365 * configure.in: Substitute target_noncanonical.
13366 * configure: Regenerate
13368 2004-07-17 Michael Koch <konqueror@gmx.de>
13370 * java/lang/String.java: Fixed javadocs all over.
13372 2004-07-17 Mark Wielaard <mark@klomp.org>
13374 * gnu/java/nio/channels/FileChannelImpl.java (truncate): Only truncate
13375 when size is smaller.
13376 * java/io/RandomAccessFile.java (setLength): Use truncate for
13377 shrinking the file and seek plus write for expanding the file.
13379 2004-07-17 Michael Koch <konqueror@gmx.de>
13381 * gnu/java/nio/channels/natFileChannelPosix.cc
13382 (implTruncate): Always save current position. Only reposition file
13383 pointer to where we started if not beyond new lenght. Reposition file
13384 pointer to file length if it points beyond the end of file.
13386 2004-07-17 Mark Wielaard <mark@klomp.org>
13388 * javax/swing/Box.java: Put FIXME comment above class declaration.
13389 * javax/swing/JButton.java: Remove illegal L&F HTML from comments.
13390 * javax/swing/JCheckBox.java: Likewise.
13391 * javax/swing/JDialog.java: Likewise.
13392 * javax/swing/JRadioButton.java: Likewise.
13393 * javax/swing/JToggleButton.java: Likewise.
13394 * javax/swing/UIManager.java: Likewise.
13395 * javax/swing/border/TitledBorder.java: Likewise.
13396 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
13397 * javax/swing/plaf/basic/BasicLookAndFeel.java: Likewise.
13398 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java: Likewise.
13399 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
13400 * javax/swing/plaf/basic/BasicScrollBarUI.java: Likewise.
13401 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
13402 * javax/swing/text/JTextComponent.java: Likewise.
13404 2004-07-17 Jeroen Frijters <jeroen@frijters.net>
13406 * java/net/DatagramPacket.java (setAddress): Removed check for
13409 2004-07-17 Michael Koch <konqueror@gmx.de>
13411 * java/net/DatagramSocket.java
13412 (getLocalAddress): Check if socket is bound or not.
13413 * java/net/Socket.java
13414 (getLocalAddrss): Check if socket is bound or not.
13415 (getPort): Return -1 when not connected. Dont check getImpl() for
13417 (setReuseAddress): Check if socket is closed.
13418 (isConnected): Check if getImpl() returns null.
13420 2004-07-17 Mark Wielaard <mark@klomp.org>
13422 * java/awt/event/InvocationEvent.java (dispatch): Synchronize
13423 on notifier object before calling notifyAll().
13425 2004-07-17 Michael Koch <konqueror@gmx.de>
13427 * gnu/java/nio/channels/FileChannelImpl.java
13428 (finalize): Added javadoc.
13430 2004-07-17 Guilhem Lavaux <guilhem@kaffe.org>
13432 * java/text/CollationElementIterator.java
13433 (text_decomposition): Changed type to RuleBasedCollator.CollationElement[]
13434 (setText): Use ArrayList instead of Vector.
13436 2004-07-17 Michael Koch <konqueror@gmx.de>
13438 * java/nio/ByteOrder.java
13439 (static): Removed. Not needed.
13440 Thanks to Patrick Reali for noticing.
13441 * java/nio/charset/CharsetDecoder.java
13442 (decode): Fix for classpath bug #9177: Reset state before flipping.
13444 2004-07-17 Michael Koch <konqueror@gmx.de>
13446 * java/security/Security.java: Fixed javadocs all over.
13448 2004-07-17 Michael Koch <konqueror@gmx.de>
13450 * gnu/java/awt/EmbeddedWindow.java
13452 (addNotify): Set peer via reflection.
13453 (setWindowPeer): Removed.
13454 * gnu/java/awt/natEmbeddedWindow.cc: Removed.
13455 * Makefile.am (nat_source_files):
13456 Removed gnu/java/awt/natEmbeddedWindow.cc.
13457 * Makefile.in: Regenerated.
13459 2004-07-17 Richard Earnshaw <rearnsha@arm.com>
13461 * configure.in(ZIP, GCJH): Remove white space around '=' in variable
13463 * configure: Regenerated.
13465 2004-07-16 Nathanael Nerode <neroden@gcc.gnu.org>
13467 * configure.in: Use build_noncanonical rather than build_alias.
13468 * configure: Rebuild.
13470 * configure.in: Eliminate CANADIAN and NULL_TARGET variables
13471 by logic refactoring. Move default definition of NATIVE closer
13472 to first alternate definition.
13473 * configure: Regenerate.
13475 * Makefile.am: Set ZIP and GCJH directly using autoconf.
13476 * Makefile.in, include/Makefile.in, testsuite/Makefile.in,
13477 gcj/Makefile.in: Regenerate.
13478 * configure.in: Set ZIP and GCJH. Remove redundant condition
13479 in AM_CONDITIONAL(NATIVE,...)
13480 * configure: Regenerate.
13482 2004-07-15 Nathanael Nerode <neroden@gcc.gnu.org>
13484 * configure.in: Use target_noncanonical rather than
13485 target_alias for forward-compatibility with autoconf 2.59.
13486 * configure: Regenerate.
13487 * Makefile.am, gcj/Makefile.am, include/Makefile.am,
13488 testsuite/Makefile.am: Substitute target_noncanonical.
13489 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
13490 testsuite/Makefile.in: Regenerate.
13492 * configure.in: Move as much as possible below AC_CANONICAL_SYSTEM.
13493 Introduce _GCC_TOPLEV_NONCANONICAL_TARGET.
13494 * acinclude.m4: Include acx.m4.
13495 * aclocal.m4: Regenerate.
13496 * configure: Regenerate.
13498 2004-07-15 Bryce McKinlay <mckinlay@redhat.com>
13501 * java/sql/Timestamp.java (dateFormat): Renamed from sdf.
13502 (decimalFormat): New static variable.
13504 (getTime): New. Override Date.getTime().
13505 (toString): Synchronize. Use decimalFormat to format nanos value
13506 correctly. Truncate extra zeros.
13507 (before): Compare getNanos() only if getTime() is equal.
13510 2004-07-14 Nathanael Nerode <neroden@gcc.gnu.org>
13512 * acinclude.m4: "Inline" LIBGCJ_CONFIGURE macro into...
13513 * configure.in: ...here.
13514 * aclocal.m4: Regenerate.
13515 * configure: Regenerate.
13517 * aclocal.m4: Rebuilt with aclocal gcj-1.4.
13518 * configure: Rebuilt with autoconf 2.13.
13519 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
13520 testsuite/Makefile.in: Rebuilt with automake gcj-1.4.
13522 2004-07-14 Bryce McKinlay <mckinlay@redhat.com>
13525 * Makefile.am (AM_CXXFLAGS): Add -D_FILE_OFFSET_BITS=64 to enable
13526 large file support.
13527 * Makefile.in: Rebuilt.
13528 * testsuite/libjava.lang/LargeFile.java: New test case.
13529 * testsuite/libjava.lang/LargeFile.out: New file.
13531 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
13533 * java/beans/EventHandler.java: Remove debugging statements.
13535 2004-07-14 Jerry Quinn <jlquinn@optonline.net>
13537 * java/beans/EventHandler.java: New file.
13538 * Makefile.am (awt_java_source_files): Add EventHandler.java.
13539 * Makefile.in, gcj/Makefile.in, include/Makefile.in,
13540 testsuite/Makefile.in: Regenerate.
13542 2004-07-14 Andreas Tobler <a.tobler@schweiz.ch>
13544 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Add deprecation
13545 flag to the gcj_setup.
13546 (gcj_jacks_run): Check tclsh version and launch jacks directly with
13548 * testsuite/libjava.jacks/jacks.xfail: Update fails to reflect the
13549 deprecation flag change. 58 XFAILS removed.
13551 2004-07-14 Ulrich Weigand <uweigand@de.ibm.com>
13553 * configure.host (DIVIDESPEC) [s390*-*-*]: Set to
13554 -fno-use-divide-subroutine.
13555 * include/s390-signal.h: Include <ucontext.h> and <limits.h>.
13556 (HANDLE_FPE): Define.
13557 (SIGNAL_HANDLER): Change third argument to ucontext_t *.
13558 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
13559 (HANDLE_DIVIDE_OVERFLOW): Define.
13561 2004-07-14 Michael Koch <konqueror@gmx.de>
13562 Matthias Klose <doko@debian.org>
13564 * java/awt/im/InputContext.java: Initialize in, line.
13566 2004-07-13 Ulrich Weigand <uweigand@de.ibm.com>
13568 * interpret.cc (run): Correctly access libffi return values of
13569 integral smaller-than-int type; these are implicitly promoted.
13571 2004-07-13 Bryce McKinlay <mckinlay@redhat.com>
13574 * interpret.cc (compile_mutex): New.
13575 (_Jv_InitInterpreter): New. Initialize compile_mutex.
13576 (run): Lock compile_mutex before calling compile() if compilation is
13578 * prims.cc (_Jv_CreateJavaVM): Call _Jv_InitInterpreter().
13579 * include/java-interp.h (_Jv_InitInterpreter): Declare.
13581 2004-07-12 Bryce McKinlay <mckinlay@redhat.com>
13584 * include/jvm.h (_Jv_value): New union type.
13585 * gcj/field.h (_Jv_Field): Add new _addr union field variants
13586 * interperet.cc (run): Use _Jv_value union type and *_addr _Jv_Field
13589 2004-07-12 Scott Gilbertson <scottg@mantatest.com>
13591 * gnu/awt/xlib/XCanvasPeer.java (createImage): Implement.
13592 * gnu/awt/xlib/XOffScreenImage.java
13593 (XOffScreenImage): Add ImageConsumer interface. Add ColorModel
13594 constructor argument. Add constructor using ImageProducer.
13595 (getSource): Implement.
13596 (imageComplete): New method.
13597 (setColorModel): New method.
13598 (setDimensions): New method.
13599 (setHints): New method.
13600 (setPixels): New method.
13601 (setProperties): New method.
13602 * gnu/gcj/xlib/GC.java (drawPoint): New native method.
13603 * gnu/gcj/xlib/natGC.cc (drawPoint): New native method.
13605 2004-07-11 Bryce McKinlay <mckinlay@redhat.com>
13608 * prims.cc (_Jv_CreateJavaVM): Fix comment.
13609 * gnu/gcj/runtime/FinalizerThread.java (init): New. Native.
13610 (finalizerReady): Now native.
13612 (runFinalizers): Removed.
13613 * gnu/gcj/runtime/natFinalizerThread.cc (run): Implement here. Use
13614 a primitive lock, and don't hold it while running the finalizers.
13615 (runFinalizers): Implement. Don't aquire any Java lock.
13616 (finalizerReady): Use lock primitives to signal finalizer thread.
13618 2004-07-11 Mark Wielaard <mark@klomp.org>
13620 Reported by Roman Kennke <roman@ontographics.com> (bug #9331)
13621 * java/net/URLStreamHandler.java (parseURL): When url file part
13622 doesn't contain a '/' just ignore context.
13624 2004-07-11 Ulrich Weigand <uweigand@de.ibm.com>
13626 * include/s390-signal.c (SIGNAL_HANDLER): Use SIGINFO-style prototype.
13627 (struct old_s390_kernel_sigaction): Likewise for k_sa_handler.
13628 (MAKE_THROW_FRAME): Do not modify PSW address.
13629 (INIT_SEGV): Install SIGINFO-style signal handler.
13630 (INIT_FPE): Likewise.
13632 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
13634 * testsuite/libjava.jacks/jacks.xfail: Updates to reflect current
13635 status. 21 xfail's removed, 1 added.
13637 2004-07-10 Bryce McKinlay <mckinlay@redhat.com>
13639 * gcj/javaprims.h: Regenerate CNI namespace definitions.
13641 2004-07-10 Ito Kazumitsu <kaz@maczuka.gcd.org>
13643 * java/text/MessageFormat.java
13644 (formatInternal): Append "{n}" if argument n is unavailable.
13645 (format(Object, StringBuffer, FieldPosition)): This
13646 should be equivalent to format(Object[],
13647 StringBuffer, FieldPosition).
13649 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13651 * java.util.Calendar.java (cache): New private static field. Cached
13652 mappings of locales->calendar classes.
13653 (ctorArgTypes): New private static field. Singleton argument for
13654 calendar class constructor lookup.
13655 (getInstance): Cache Locale->Calendar class mappings using HashMap.
13656 Optimize by bypassing reflection instantiation for the
13657 GregorianCalendar case.
13659 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13661 * java/util/Calendar.java: Use getSystemClassLoader as argument for
13662 ResourceBundle.getBundle() calls.
13663 * java/util/GregorianCalendar.java: Likewise.
13664 * java/util/Currency.java: Likewise.
13665 * java/text/BreakIterator.java: Likewise.
13666 * java/text/Collator.java: Likewise.
13667 * java/text/DateFormat.java: Likewise.
13668 * java/text/DateFormatSymbols.java: Likewise.
13669 * java/text/DecimalFormatSymbols.java: Likewise.
13670 * java/text/NumberFormat.java: Likewise.
13671 * java/awt/Window.java: Likewise.
13673 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13675 * java/util/ResourceBundle.java (bundleCache): Renamed from
13676 resourceBundleCache. Update comments.
13677 (getObject): Don't catch MissingResourceException.
13678 (getBundle(String)): Remove 'final'. Use system classloader if
13679 getCallingClassLoader returned null.
13680 (getBundle(String, Locale)): Likewise.
13681 (BundleKey): New private class. HashMap key for bundle cache lookup.
13682 (lookupKey): New. Singleton instance of BundleKey.
13683 (nullEntry): New. Cache entry to represent failed lookups.
13684 (getBundle(String, Locale, ClassLoader)): Re-written to use new
13685 caching strategy, no-allocation lookup, and new tryBundle methods.
13686 (tryBundle(String, ClassLoader)): New. Load a locale-qualified bundle
13687 name using given classloader.
13688 (tryBundle(String, Locale, ClassLoader, boolean): New. Qualify
13689 baseName for given Locale and attempt to load bundle.
13691 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13693 * javax/swing/plaf/basic/BasicMenuUI.java (mousePressed): Remove
13694 illegal protected method calls.
13696 2004-07-09 Bryce McKinlay <mckinlay@redhat.com>
13698 Fix or remove some bogus test cases.
13699 * testsuite/libjava.compile/pr10459_2.java: Removed.
13700 * testsuite/libjava.compile/pr10459.java: Test using its own method,
13701 not Object.clone().
13702 * testsuite/libjava.compile/inner_data.java: Test against its own
13705 2004-07-09 Michael Koch <konqueror@gmx.de>
13707 * scripts/unicode-muncher.pl: Updated to version 2.1
13708 from GNU classpath. Added some clarifications on where to find the
13709 needed files from www.unicode.org.
13710 * gnu/gcj/convert/UnicodeCharacterDatabase-3.0.0.html,
13711 gnu/gcj/convert/UnicodeData-3.0.0.txt:
13712 Removed, these can directly be downloaded from www.unicode.org if
13714 * gnu/java/lang/CharData.java: Regenerated.
13715 * include/java-chartables.h: Regenerated.
13716 * Makefile.am (ordinary_java_source_files):
13717 Removed gnu/java/lang/CharData.java.
13718 * Makefile.in: Regenerated.
13720 2004-07-09 Michael Koch <konqueror@gmx.de>
13722 * java/security/AccessControlContext.java,
13723 java/security/SecureClassLoader.java:
13726 2004-07-09 Michael Koch <konqueror@gmx.de>
13728 * java/io/ObjectInputStream.java (readFields): Use long datatype
13729 when shifting byte values more then 24 bits left.
13731 2004-07-09 Michael Koch <konqueror@gmx.de>
13733 * java/util/zip/DeflaterOutputStream.java,
13734 java/util/zip/GZIPInputStream.java,
13735 java/util/zip/GZIPOutputStream.java,
13736 java/util/zip/InflaterInputStream.java:
13737 Reformatted. Added javadocs. Reordered all stuff.
13738 Renamed variables to be more clear.
13740 2004-07-09 Michael Koch <konqueror@gmx.de>
13742 * javax/imageio/IIOException.java,
13743 javax/imageio/event/IIOReadProgressListener.java,
13744 javax/imageio/event/IIOReadUpdateListener.java,
13745 javax/imageio/event/IIOReadWarningListener.java,
13746 javax/imageio/event/IIOWriteProgressListener.java,
13747 javax/imageio/event/IIOWriteWarningListener.java:
13749 * Makefile.am: Added new files.
13750 * Makefile.in: Regenerated.
13752 2004-07-09 Guilhem Lavaux <guilhem@kaffe.org>
13754 * java/text/RuleBasedCollator.java
13755 (mergeRules): Use ArrayList instead of Vector.
13756 (subParseString): likewise.
13757 (parseString): likewise.
13758 (buildCollationVector): likewise.
13759 (getCollationKey): likewise.
13761 2004-07-09 Dalibor Topic <robilad@kaffe.org>
13763 * java/text/DateFormat.java (parse):
13764 Improved javadoc. Improved exception message.
13766 2004-07-09 Mark Wielaard <mark@klomp.org>
13768 * gnu/java/nio/SelectorImpl.java (select): Call static Thread
13769 interrupted() method to clear interupt flag of our Thread.
13771 2004-07-09 Dalibor Topic <robilad@kaffe.org>
13773 * java/nio/Buffer.java,
13774 java/nio/ByteBuffer.java,
13775 java/nio/ByteBufferHelper.java,
13776 java/nio/ByteBufferImpl.java,
13777 java/nio/CharBuffer.java,
13778 java/nio/CharBufferImpl.java,
13779 java/nio/CharViewBufferImpl.java,
13780 java/nio/DirectByteBufferImpl.java,
13781 java/nio/DoubleBuffer.java,
13782 java/nio/DoubleBufferImpl.java,
13783 java/nio/DoubleViewBufferImpl.java,
13784 java/nio/FloatBuffer.java,
13785 java/nio/FloatBufferImpl.java,
13786 java/nio/FloatViewBufferImpl.java,
13787 java/nio/IntBuffer.java,
13788 java/nio/IntBufferImpl.java,
13789 java/nio/IntViewBufferImpl.java,
13790 java/nio/LongBuffer.java,
13791 java/nio/LongBufferImpl.java,
13792 java/nio/LongViewBufferImpl.java,
13793 java/nio/MappedByteBufferImpl.java,
13794 java/nio/ShortBuffer.java,
13795 java/nio/ShortBufferImpl.java,
13796 java/nio/ShortViewBufferImpl.java:
13797 Fixed javadocs all over. Improved input error
13800 * java/nio/Buffer.java
13801 (checkForUnderflow, checkForOverflow, checkIndex,
13802 checkIfReadOnly, checkArraySize): New helper methods
13803 for error checking.
13805 * java/nio/ByteBufferHelper.java
13806 (checkRemainingForRead, checkRemainingForWrite,
13807 checkAvailableForRead, checkAvailableForWrite): Removed
13808 no longer needed methods.
13810 2004-07-09 Michael Koch <konqueror@gmx.de>
13812 * gnu/regexp/CharIndexedInputStream.java:
13813 Reordered imports to match classpath.
13815 2004-07-09 Michael Koch <konqueror@gmx.de>
13817 * gnu/java/awt/EmbeddedWindow.java:
13818 Load native library for setWindowPeer method.
13820 2004-07-08 Randolph Chung <tausq@debian.org>
13822 * configure.in (SIGNAL_HANDLER): Use pa-signal.h for hppa.
13823 * configure: Regenerate.
13824 * configure.host: Set can_unwind_signal for hppa*-linux.
13825 * include/pa-signal.h: New file.
13827 2004-07-07 Per Bothner <per@bothner.com>
13829 * Makefile.am: Add rules to build libgij from just gij.cc.
13831 * include/jvm.h (namespace jcj): Declare verbose_class_flag
13832 * java/lang/natClass.cc (gcj::verbose_class_flag): New variable.
13833 (initializeClass): If verbose_class_flag, print message.
13834 * gij.cc (main): Handle -verbose:class flag.
13836 2004-07-07 Andreas Tobler <a.tobler@schweiz.ch>
13838 * configure.host: Enable hash synchronization on Darwin.
13839 * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
13840 ';', since this is a comment on Darwin.
13841 (compare_and_swap_release): Likewise.
13843 2004-07-06 Mohan Embar <gnustuff@thisiscool.com>
13845 * java/net/URLStreamHandler.java (parseURL): Canonicalize
13846 file portion of URL in addition to spec for file: protocol.
13848 2004-07-05 Anthony Green <green@redhat.com>
13850 * java/io/File.java (toURI): Merge from Classpath.
13852 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
13854 * gnu/gcj/runtime/VMClassLoader.java (init): Check classpath entry
13855 before passing to URL constructor. Rethrow any MalformedURLException
13856 as a RuntimeException. Catch MalformedURLException specifically, not
13859 2004-07-05 Bryce McKinlay <mckinlay@redhat.com>
13861 * java/util/Locale.java (readObject): Intern strings read from object
13864 2004-07-04 Michael Koch <konqueror@gmx.de>
13866 * gnu/gcj/runtime/FirstThread.java,
13867 gnu/gcj/runtime/natFirstThread.cc: Removed.
13868 * gnu/java/lang/MainThread.java,
13869 gnu/java/lang/natMainThread.cc: New files.
13870 * prims.cc (_Jv_RunMain): Use MainThread instead of FirstThread.
13871 * Makefile.am: Added new files and removed deleted ones.
13872 * Makefile.in: Regenerated.
13874 2004-07-03 Mark Wielaard <mark@klomp.org>
13875 Anthony Green <green@redhat.com>
13877 * java/net/URL.java (getFile): Clarify return value doc.
13878 (getPath): Return null if file is empty - not empty String.
13879 (set): Convert protocol to lower case before doing anything.
13880 Only change the protocol handler if it's different.
13882 2004-07-03 Anthony Green <green@redhat.com>
13884 * java/net/URL.java (URL): Convert protocol to lower case before
13885 doing anything, so we getURLStreamHandler() with the proper value.
13887 2004-07-02 Bryce McKinlay <mckinlay@redhat.com>
13889 * java/util/Locale.java (hashcode): Made transient.
13890 (hashCode): No longer synchronized.
13891 (equals): Remove comment.
13892 (writeObject): No longer synchronized. Implement using writeObject
13893 calls instead of tweaking hashCode field. Update doc.
13894 (readObject): Implement using readObject calls.
13896 2004-06-26 Geoffrey Keating <geoffk@apple.com>
13897 Andreas Tobler <a.tobler@schweiz.ch>
13899 * configure.host (powerpc-*-darwin*): New case, define
13901 * configure.in (*-*-darwin*): New case, point to darwin-signal.h.
13902 * configure: Regenerate.
13903 * include/darwin-signal.h: New.
13905 2004-06-30 Jerry Quinn <jlquinn@optonline.net>
13907 * java/beans/Statement.java (doExecute): Fix formatting.
13909 2004-06-29 Per Bothner <per@bothner.com>
13911 * jni.cc (_Jv_JNI_NewGlobalRef, JNICALL _Jv_JNI_DeleteGlobalRef,
13912 etc etc): Remove needless parenthesis, which causes __stdcall__
13913 attribute on MinGW to get ignored.
13915 2004-06-29 Bryce McKinlay <mckinlay@redhat.com>
13917 * testsuite/libjava.compile/PR16249.java: New test case. PR gcc/16249.
13919 2004-06-28 Bryce McKinlay <mckinlay@redhat.com>
13921 * testsuite/libjava.jacks/jacks.xfail: Remove 8.1.3-superclass-6.
13923 2004-06-28 Jerry Quinn <jlquinn@optonline.net>
13925 * java/beans/Expression.java: New file.
13926 * java/beans/Statement.java: New file.
13927 * Makefile.am: Added new files.
13928 * Makefile.in: Re-generate.
13930 2004-06-27 Mark Wielaard <mark@klomp.org>
13932 * java/io/FilePermission.java (usingPerms): Removed.
13933 (actionsString): Made final.
13934 (cachePerms): Renamed to checkPerms.
13935 (checkPerms): Renamed from cachePerms. Call trim() and toLowerCase()
13937 (FilePermission): Check arguments, call checkPerms().
13938 (equals): Remove cachePerms() call.
13939 (implies): Likewise.
13941 2004-06-27 Mark Wielaard <mark@klomp.org>
13943 * gnu/java/net/protocol/http/Connection.java (userAgent): New static
13945 (sendRequest): Use new field in user-agent http agent.
13947 2004-06-27 Mark Wielaard <mark@klomp.org>
13949 * java/awt/EventQueue.java (postEvent): Throw NullPointerException
13950 when argument is null.
13952 2004-06-26 Mark Wielaard <mark@klomp.org>
13954 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
13955 (ok_clicked): Use Ljava/lang/String; not Ljava.lang.String; in JNI
13957 (cancel_clicked): Likewise.
13959 2004-06-26 Andreas Tobler <a.tobler@schweiz.ch>
13961 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
13962 (init_dpi_conversion_factor): Check for int_dpi < 0 in case gtk-xft-dpi
13963 can not calculate the right value.
13964 (dpi_changed_cb): Likewise. Mark *pspec as unused.
13966 2004-06-24 Bryce McKinlay <mckinlay@redhat.com>
13968 * testsuite/libjava.jacks/jacks.xfail: Remove
13969 15.9.1-qualified-concrete-20.
13971 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
13973 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Pass original
13974 encoding name to iconv.
13975 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
13977 2004-06-22 Bryce McKinlay <mckinlay@redhat.com>
13980 * gnu/gcj/convert/BytesToUnicode.java (getDecoder): Canonicalize
13981 encoding name before cache lookup. Thanks to Hannes Wallnoefer.
13982 * gnu/gcj/convert/UnicodeToBytes.java (getEncoder): Likewise.
13984 2004-06-21 Andrew Haley <aph@redhat.com>
13986 * java/io/ObjectOutputStream.java: Add DEBUG statements
13988 (dumpElementln): New method.
13989 (depth): New field.
13990 * java/io/ObjectInputStream.java
13991 (currentClassLoader): Make native.
13992 (callersClassLoader): New field.
13993 (depth): New field.
13994 (readObject): ENDBLOCKDATA is generated if the class has a write
13995 method, not if it has a read method.
13996 (readObject): Save and restore this.currentObject and
13997 this.currentObjectStreamClass around calls to callReadMethod().
13998 * java/io/natObjectInputStream.cc (getCallersClassLoader): New
14001 2004-06-18 Andreas Tobler <a.tobler@schweiz.ch>
14003 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Add lgcc_s for
14006 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
14008 * prims.cc (_Jv_CreateJavaVM): Install SEGV and FPE handlers,
14009 if desired, before the default class loader is initialised.
14010 Call INIT_SEGV only if HANDLE_SEGV is defined.
14012 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
14014 * gnu/gcj/runtime/VMClassLoader.java (init): Add extensions
14015 directory only if it actually exists.
14017 2004-06-18 Graydon Hoare <graydon@redhat.com>
14019 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
14020 Fix up non-ansi comments.
14022 2004-06-18 Ranjit Mathew <rmathew@hotmail.com>
14024 * javax/swing/text/AbstractDocument.java: Adding missing import
14025 for javax.swing.event.EventListenerList.
14026 * javax/swing/text/DefaultCaret.java: Likewise.
14028 2004-06-17 Michael Koch <konqueror@gmx.de>
14030 * javax/swing/JToolBar.java
14032 (JToolBar): Use Component.setName(String) instead of doing it all
14034 * javax/swing/Timer.java
14035 (queueEvent): Added missing modifier.
14037 2004-06-17 Olga Rodimina <rodimina@redhat.coom>
14039 * Makefile.am: Added new file.
14040 * Makefile.in: Re-generate.
14041 * javax/swing/JMenu.java:
14042 (insertSeparator): Implemented.
14043 * javax/swing/JPopupMenu.java:
14044 (JPopupMenu.Separator): Implemented.
14045 * javax/swing/MenuSelectionManager.java:
14046 (processMouseEvent): Use java.awt.Component
14047 for event source instead of javax.swing.JComponent.
14048 * javax/swing/plaf/basic/BasicPopupMenuSeparatorUI.java:
14049 New File. Implemented.
14051 2004-06-16 David Jee <djee@redhat.com>
14053 * java/awt/GridBagLayout.java
14054 (GetLayoutInfo): Adjust cell sizes iff parent size is not zero.
14055 Make sure pos_x and pos_y are never negative.
14057 2004-04-16 Andrew Overholt <overholt@redhat.com>
14059 * Makefile.am: Add new file.
14060 * Makefile.in: Re-generate.
14061 * javax/swing/JToolBar.java
14062 Partially implemented.
14063 * javax/swing/plaf/basic/BasicToolBarUI.java
14064 New file. Partially implemented.
14066 2004-06-16 Graydon Hoare <graydon@redhat.com>
14068 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
14069 (setComposite): Accept AlphaComposite arguments.
14070 * gnu/java/awt/peer/gtk/GdkPixbufDecoder.java
14071 (createBufferedImage): Add new overloads.
14072 * gnu/java/awt/peer/gtk/GtkToolkit.java
14073 (createImage): Use GdkPixbufDecoder.createBufferedImage
14074 when useGraphics2D() is true.
14075 (getImage): Delegate to createImage.
14076 * javax/swing/JList.java
14077 (isSelectionEmpty):
14078 (getFirstVisibleIndex):
14079 (getLastVisibleIndex):
14080 (setSelectedValue):
14081 (ensureIndexIsVisible): New methods.
14082 * javax/swing/Timer.java: Reimplement.
14084 2004-06-16 Michael Koch <konqueror@gmx.de>
14086 * javax/swing/text/AbstractDocument.java
14087 (AbstracElement): Made public, implements java.io.Serializable.
14088 (AttributeContext): Made public.
14089 (BranchElement): Likewise.
14090 (Content): Likewise.
14091 (DefaultDocumentEvent): Made public, extends
14092 javax.swing.undo.CompoundEdit.
14093 (ElementEdit): Made public, extends
14094 javax.swing.undo.AbstractUndoableEdit.
14095 (LeafElement): Made public.
14096 (LeafElement.LeafElement): Made public.
14098 2004-06-16 Michael Koch <konqueror@gmx.de>
14100 * javax/swing/text/JTextComponent.java: Totally reworked. Removed many
14101 methods (that were obviously never be intended to get included hi this
14102 class. Added some methods too.
14104 2004-06-16 Michael Koch <konqueror@gmx.de>
14106 * javax/swing/text/PlainDocument.java
14107 (serialVersionUID): New constant.
14108 (lineLimitAttribute): Likewise.
14109 (tabSizeAttribute): Likewise.
14110 (tabSize): New field.
14111 (PlainDocument): Made public.
14112 (PlainDocument): New constructor.
14114 2004-06-16 Michael Koch <konqueror@gmx.de>
14116 * javax/swing/text/AbstractDocument.java
14117 (insertString): Throws BadLocationException.
14118 * javax/swing/text/Document.java
14119 (insertString): Likewise.
14120 * javax/swing/text/JTextComponent.java:
14121 Javadocs and comments cleaned up.
14123 2004-06-16 Michael Koch <konqueror@gmx.de>
14125 * javax/swing/event/UndoableEditListener.java: Reformatted.
14126 * javax/swing/text/AbstractDocument.java
14127 (AbstractDocument): Implements java.io.Serializable.
14128 (doc_list): Removed.
14129 (undo_list): Removed.
14130 (AbstractElement.serialVerionUID): New field.
14131 (BranchElement.serialVerionUID): Likewise.
14132 (DefaultDocumentEvent.serialVerionUID): Likewise.
14133 (ElementEdit.serialVerionUID): Likewise.
14134 (LeafElement.serialVerionUID): Likewise.
14135 (serialVerionUID): Likewise.
14136 (BAD_LOCATION): New constant.
14137 (BidiElementName): Likewise.
14138 (ContentElementName): Likewise.
14139 (ParagraphElementName): Likewise.
14140 (SectionElementName): Likewise.
14141 (ElementNameAttribute): Likewise.
14142 (AbstractDocument): Made protected.
14143 (AbstractDocument): New construtor.
14144 (listenerList): New field.
14145 (fireChangedUpdate): Implemented.
14146 (fireInsertUpdate): Likewise.
14147 (fireRemoveUpdate): Likewise.
14148 (fireUndoableEditUpdate): Likewise.
14149 (getListeners): Likewise.
14150 (addDocumentListener): Likewise.
14151 (removeDocumentListener): Likewise.
14152 (addUndoableEditListener): Likewise.
14153 (removeUndoableEditListener): Likewise.
14154 (getDocumentListeners): New method.
14155 (getUndoableEditListeners): Likewise.
14156 (getAsynchronousLoadPriority): Made public.
14157 (getBidiRootElement): Likewise.
14158 (setAsynchronousLoadPriority): Likewise.
14159 (setDocumentProperties): Likewise.
14160 * javax/swing/text/BadLocationException.java
14161 (serialVerionUID): New field.
14162 * javax/swing/text/DefaultCaret.java
14163 (changeEvent): New field.
14164 (listenerList): Likewise.
14165 (changes): Removed.
14166 (addChangeListener): Reimplemented.
14167 (removeChangeListener): Likewise.
14168 (getListeners): New method.
14169 (getChangeListeners): Likwise.
14170 (getComponent): Likewise.
14171 * javax/swing/text/GapContent.java
14172 (GapContent): Implements java.io.Serializable.
14173 (serialVerionUID): New field.
14175 2004-06-16 Michael Koch <konqueror@gmx.de>
14177 * javax/swing/JTree.java
14178 (treeModel): New field.
14179 (JTree): New constructors, one existing one made public.
14180 (createTreeModel): New method.
14181 (addTreeExpansionListener): Likewise.
14182 (removeTreeExpansionListener): Likewise.
14183 (getTreeExpansionListeners): Likewise.
14184 (fireTreeCollapsed): Likewise.
14185 (fireTreeExpanded): Likewise.
14186 (addTreeSelectionListener): Likewise.
14187 (removeTreeSelectionListener): Likewise.
14188 (getTreeSelectionListeners): Likewise.
14189 (fireValueChanged): Likewise.
14190 (addTreeWillExpandListener): Likewise.
14191 (removeTreeWillExpandListener): Likewise.
14192 (getTreeWillExpandListeners): Likewise.
14193 (fireTreeWillCollapse): Likewise.
14194 (fireTreeWillExpand): Likewise.
14196 2004-06-16 Michael Koch <konqueror@gmx.de>
14198 * javax/swing/JTree.java: Reformatted.
14200 2004-06-16 Michael Koch <konqueror@gmx.de>
14202 * javax/swing/JTextArea.java: New file.
14203 * javax/swing/JTextField.java
14204 (actions): Removed.
14205 (notifyAction): New constant.
14206 (columns): New field.
14207 (JTextField): New constructors.
14208 (createDefaultModel): New method.
14209 (addActionListener): Reimplmemented.
14210 (removeActionListener): Reimplemented.
14211 (getActionListeners): New method.
14212 (fireActionPerformed): New method.
14213 (getColumns): New method.
14214 (setColumne): New method.
14215 * javax/swing/text/JTextComponent.java
14216 (AccessibleJTextComponent.serialVersionUID): New field.
14217 (serialVersionUID): Likewise.
14218 (DEFAULT_KEYMAP): Likewise.
14219 (FOCUS_ACCELERATOR_KEY): Likewise.
14220 (doc): Made private.
14221 (icon_gap): Likewise.
14224 (JTextComponent): Some constructors removed.
14225 (getScrollableTracksViewportHeight): New method.
14226 (getScrollableTracksViewportWidth): Likewise.
14227 * Makefile.am: Added javax/swing/JTextArea.java.
14228 * Makefile.in: Regenerated.
14230 2004-06-15 Graydon Hoare <graydon@redhat.com>
14232 * javax/swing/ImageIcon.java (ImageIcon): New constructor.
14233 * javax/swing/JFrame.java (defaultLookAndFeelDecorated): New property.
14234 * javax/swing/JViewport.java
14235 (getExtentSize): Return size rather than preferred size.
14236 (toViewCoordinates): New methods.
14237 (getViewSize): Return size rather than preferred size.
14238 (setViewSize): Note view size as set.
14239 * javax/swing/ViewportLayout.java (layoutContainer): Reimplement.
14240 * javax/swing/plaf/basic/BasicScrollBarUI.java
14241 (getPreferredSize): Don't redo layout.
14242 * javax/swing/plaf/basic/BasicViewportUI.java
14243 (paint): Translate image properly and eat exceptions.
14245 2004-06-15 Kim Ho <kho@redhat.com>
14247 * javax/swing/JTabbedPane.java
14248 (setComponent): Remove old component and
14250 (setSelectedIndex): Don't operate on the
14251 components if they're null. Don't set index
14252 on the model if the index is the same.
14253 (insertTab): Don't add or hide the component
14254 if it's null. Repaint the container.
14255 * javax/swing/plaf/basic/BasicLookAndFeel.java
14256 Change colors for TabbedPane.
14257 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
14258 (mousePressed): Re-layout and paint the component.
14259 (layoutContainer): Don't set location on the view.
14260 (ScrollingViewport::paint): Remove.
14262 2004-06-14 Thomas Fitzsimmons <fitzsim@redhat.com>
14264 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14265 (gtkWidgetDispatchKeyEvent): Change warning message to comment.
14267 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
14268 Wrap baseline y value in PANGO_PIXELS macro, rather than simply
14269 dividing by PANGO_SCALE. Call gdk_flush before leaving GDK
14271 (drawLine): Call gdk_flush before leaving GDK critical region.
14272 (fillRect): Likewise.
14273 (drawRect): Likewise.
14274 (copyArea): Likewise.
14275 (copyPixmap): Likewise.
14276 (clearRect): Likewise.
14277 (drawArc): Likewise.
14278 (drawPolyline): Likewise.
14279 (drawPolygon): Likewise.
14280 (fillPolygon): Likewise.
14281 (fillArc): Likewise.
14282 (drawOval): Likewise.
14283 (fillOval): Likewise.
14285 * gnu/java/awt/peer/gtk/GdkFontMetrics.java (initState): Add
14287 (GdkFontMetrics): Add style argument to initState call.
14288 (stringWidth(String,int,int,String)): Add style parameter.
14289 (stringWidth(String)): Add style argument to stringWidth call.
14290 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c
14291 (initState): Set pango font style and weight based on AWT style
14292 parameter. Pass default GTK language to
14293 pango_context_get_metrics. Use PANGO_PIXELS macro rather than
14294 simply dividing by PANGO_SCALE.
14295 (stringWidth): Set pango font style and weight based on AWT style
14298 * java/awt/Button.java (next_button_number): New field.
14299 (paramString): Change output.
14300 (generateName): New method.
14301 (getUniqueLong): New method.
14303 2004-06-14 Kim Ho <kho@redhat.com>
14305 * javax/swing/JTabbedPane.java:
14306 (setComponentAt): Set the component, not
14307 the enabled status.
14308 * javax/swing/plaf/basic/BasicDesktopIconUI.java
14309 (actionPerformed): Let deiconize catch exception.
14311 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14313 * javax/swing/JPopupMenu.java:
14314 (setVisible): Corrected location of a
14315 heavyweight popup menu.
14317 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14319 * javax/swing/MenuSelectionManager.java:
14320 Ran through jalopy to fix formatting style.
14322 2004-06-14 Olga Rodimina <rodimina@redhat.com>
14324 * javax/swing/JLayeredPane.java:
14325 (remove): Revalidate and repaint layered pane after
14326 the component was removed.
14327 javax/swing/JMenu.java:
14328 (setVisible): Display popup menu at the user location,
14329 if one was set by the user.
14330 (setMenuLocation): Reimplemented. Fixed javadoc.
14331 * javax/swing/JMenuBar.java: Added javadoc.
14332 (BORDER_PAINTED_CHANGED_PROPERTY): New Property.
14333 (MODEL_CHANGED_PROPERTY): New Property.
14334 (isSelected): Implemented.
14335 (setBorderPainted): Fire PropertyChangeEvent
14336 if paintBorder property changes.
14337 (setSelected): Implemented.
14338 (setSelectionModel): Implemented.
14339 * javax/swing/JPopupMenu.java: Added Javadoc
14340 (pack): Implemented.
14341 (setVisible): Reimplemented.
14342 (show): Fixed location.
14343 (JPopupMenu.LigthWeightPopup): Reimplemented to use
14344 Container instead of JPanel.
14345 * javax/swing/MenuSelectionManager.java: Added Javadocs.
14346 (clearSelectedPath): Reimplemented to clear selectedPath
14348 (processMouseEvent): Reimplemented.
14349 (setSelectedPath): Fire stateChange event indicating that
14350 selected menu path has changed.
14351 (getPath): Change to use ArrayList instead of Vector.
14352 * javax/swing/plaf/basic/BasicMenuBarUI.java:
14353 (installUI): call installKeyboardActions().
14354 (uninstallUI): call uninstallKeyboardActions().
14356 2004-06-13 Michael Koch <konqueror@gmx.de>
14358 * javax/swing/text/DefaultCaret.java,
14359 javax/swing/text/BadLocationException.java:
14362 2004-06-12 Thomas Fitzsimmons <fitzsim@redhat.com>
14364 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (DEFAULT_ROWS,
14365 DEFAULT_COLS): New variables.
14366 (create): Don't allow 0 rows or 0 columns. Instead, set the
14367 values to DEFAULT_ROWS or DEFAULT_COLS.
14368 (getMinimumSize): Likewise.
14369 (getPreferredSize): Likewise.
14370 (minimumSize): Likewise.
14371 (preferredSize): Likewise.
14372 (create): Set peer's editable state.
14373 * java/awt/TextArea.java (TextArea()): Set rows and columns to
14374 zero. Update javadocs.
14375 (TextArea(String)): Likewise.
14376 (TextArea(int,int)): Fix javadocs.
14377 (TextArea(String,int,int,int)): Only throw exception if one of
14378 rows or columns is zero. Fix javadocs.
14380 2004-06-11 Thomas Fitzsimmons <fitzsim@redhat.com>
14382 * java/awt/AWTEvent.java (toString): Handle MenuComponents in
14383 addition to Components.
14385 * java/awt/MenuItem.java (dispatchEventImpl): If the event
14386 wasn't consumed by normal processing, send it to the parent
14389 * gnu/java/awt/peer/gtk/GtkImagePainter.java
14390 (setPixels(int,int,int,int,ColorModel,int[],int,int)): Remove
14393 2004-06-11 David Jee <djee@redhat.com>
14395 * java/awt/MediaTracker.java
14396 (addImage(Image,int)): Call imageUpdate() to udpate image status.
14397 (addImage(Image,int,int,int)): Likewise.
14399 2004-06-11 Michael Koch <konqueror@gmx.de>
14401 * javax/swing/text/AbstractDocument.java,
14402 javax/swing/text/Document.java,
14403 javax/swing/text/GapContent.java,
14404 javax/swing/text/JTextComponent.java,
14405 javax/swing/text/PlainDocument.java:
14408 2004-06-11 Michael Koch <konqueror@gmx.de>
14410 * javax/swing/JRootPane.java
14411 (AccessibleJRootPane.serialVersionUID): New field.
14412 (AccessibleJRootPane.AccessibleJRootPane): New constructor.
14413 (AccessibleJRootPane.getAccessibleRole): New method.
14414 (RootLayout): Implements Serializable.
14415 (RootLayout.serialVersionUID): New field.
14416 (RootLayout.RootLayout): New constructor.
14417 (setJMenuBar): Made public.
14418 (getJMenuBar): Likewise.
14419 (JRootPane): Likewise.
14420 (createContentPane): Likewise.
14421 (createGlassPane): Likewise.
14422 (createLayeredPane): Likewise.
14424 2004-06-11 Michael Koch <konqueror@gmx.de>
14426 * javax/swing/SwingUtilities.java
14427 (isLeftMouseButton): Fixed javadoc.
14428 (isMiddleMouseButton): Likewise.
14429 (isRightMouseButton): Likewise.
14431 2004-06-11 Michael Koch <konqueror@gmx.de>
14433 * javax/swing/JScrollPane.java
14434 (serialVersionUID): New field.
14435 (columnHeader): Made protected.
14436 (rowHeader): Likewise.
14437 (lowerLeft): Likewise.
14438 (lowerRight): Likewise.
14439 (upperLeft): Likewise.
14440 (upperRight): Likewise.
14441 (horizontalScrollBar): Likewise.
14442 (horizontalScrollBarPolicy): Likewise.
14443 (verticalScrollBar): Likewise.
14444 (verticalScrollBarPolicy): Likewise.
14445 (viewport): Likewise.
14447 2004-06-11 Michael Koch <konqueror@gmx.de>
14449 * javax/swing/LookAndFeel.java: Fixed javadocs.
14451 2004-06-11 Michael Koch <konqueror@gmx.de>
14453 * javax/swing/JEditorPane.java: Fixed javadocs.
14454 (JEditorPane): Removed redundant call to to this().
14455 (fireHyperlinkUpdate): Implemented.
14457 2004-06-10 Olga Rodimina <rodimina@redhat.com>
14459 * javax/swing/JMenu.java: Fixed file name
14460 in the file comment.
14462 2004-06-10 Olga Rodimina <rodimina@redhat.com>
14464 * javax/swing/JMenu.java: Added javadoc.
14465 (JMenu): Added MenuChangeListener to listen to
14466 ChangeEvents occuring in menu's model.
14467 (insert): Throw IllegalArgumentException if
14468 index is less than 0
14469 (setSelected): Reimplement.
14470 (setPopupMenuVisible): Call menu's model isEnabled()
14471 (setDelay): Throw IllegalArgumentException if
14472 given amount of delay is less than 0.
14473 (createActionComponent): Implemented.
14474 (createActionChangeListener): Implemented.
14475 (addSeparator): Implemented.
14476 (getItem): Throw IllegalArgumentException if index is
14478 (getItemCount): Implemented.
14479 (fireMenuSelected): Changed to use menuEvent.
14480 (fireMenuDeselected): Likewise.
14481 (fireMenuCanceled): Likewise.
14482 (setAccelerator): Changed to throw an error if this
14484 (doClick): Implemented.
14485 (JMenu.ActionChangedListener): New inner class to handle
14486 PropertyChangeEvents occuring in the actions associated with menu.
14487 * javax/swing/plaf/basic/BasicMenuUI.java: Added javadoc.
14488 (BasicMenuUI): Added PropertyChangeListener to the menu.
14489 (createChangeListener): Implemented.
14490 (createMenuDragMouseListener): Likewise.
14491 (createMenuKeyListener): Likewise.
14492 (createPropertyChangeListener): Likewise.
14493 (uninstallListeners): Likewise.
14494 (BasicMenuUI.MouseInputHandler): Reimplemented.
14495 (BasicMenuUI.PropertyChangeHandler): New class. Not implemented yet.
14496 (BasicMenuUI.ChangeHandler): Likewise.
14497 (BasicMenuUI.MenuDragMouseHandler): Likewise.
14498 (BasicMenuUI.MenuKeyHandler): Likewise.
14500 2004-06-10 David Jee <djee@redhat.com>
14502 * java/awt/MediaTracker.java
14503 (imageUpdate): Only do notifyAll() if the image is complete.
14505 2004-06-10 Olga Rodimina <rodimina@redhat.com>
14507 * javax/swing/JApplet.java:
14508 (getJMenuBar): Made public.
14509 (setJMenuBar): Likewise.
14510 * javax/swing/JFrame.java:
14511 (getJMenuBar): Made public.
14512 (setJMenuBar): Likewise.
14513 * javax/swing/JWindow.java:
14514 (getJMenuBar): Removed.
14515 (setJMenuBar): Removed.
14517 2004-06-10 Michael Koch <konqueror@gmx.de>
14519 * javax/swing/JEditorPane.java
14520 (createEditorKitForContentType): Fixed visibility.
14521 (fireHyperlinkUpdate): Likewise.
14522 (getContentType): Likewise.
14523 (getEditorKit): Likewise.
14524 (getEditorKitForContentType): Likewise.
14525 (getPage): Likewise.
14527 (registerEditorKitForContentTyoe): Likewise.
14528 (replaceSelection): Likewise.
14529 (setContentType): Likewise.
14530 (setEditorKit): Likewise.
14531 (setPage): Likewise.
14533 2004-06-10 Michael Koch <konqueror@gmx.de>
14535 * javax/swing/Timer.java
14536 (Timer): New constructor.
14537 * javax/swing/plaf/basic/BasicProgressBarUI.java
14538 (animationTimer): Don't initialize at construction.
14539 (startAnimationTimer): Added since tag.
14540 (stopAnimationTimer): Likewise.
14541 (installUI): Use new Timer constructor.
14542 * javax/swing/plaf/basic/BasicScrollBarUI.java
14543 (installUI): Likewise.
14544 * javax/swing/plaf/basic/BasicSliderUI.java
14545 (installUI): Likewise.
14547 2004-06-10 Michael Koch <konqueror@gmx.de>
14549 * javax/swing/ButtonGroup.java
14550 (serialVersionUID): Made private.
14551 (buttons): Renamed from v, added javadoc.
14552 (sel): Added javadoc.
14553 (ButtonGroup): Likewise.
14555 (remove): Likewise.
14556 (getElements): Likewise.
14557 (getSelection): Likewise.
14558 (setSelected): Likewise.
14559 (isSelected): Likewise.
14560 (getButtonCount): Likewise.
14562 2004-06-10 Michael Koch <konqueror@gmx.de>
14564 * javax/swing/ButtonGroup.java,
14565 javax/swing/ImageIcon.java,
14566 javax/swing/JEditorPane.java,
14567 javax/swing/JRootPane.java,
14568 javax/swing/JTextField.java,
14569 javax/swing/LookAndFeel.java,
14570 javax/swing/plaf/basic/BasicTextUI.java:
14573 2004-06-10 Michael Koch <konqueror@gmx.de>
14575 * javax/swing/text/Style.java: Added javadocs.
14577 2004-06-10 Michael Koch <konqueror@gmx.de>
14579 * javax/swing/JComponent.java
14580 (fireVetoableChange): Removed redundant cast.
14581 * javax/swing/JLabel.java
14582 (getDisabledIcon): Save icon for next call.
14584 2004-06-10 Michael Koch <konqueror@gmx.de>
14586 * javax/swing/KeyStroke.java
14587 (getKeyStroke(char,boolean)): Marked deprecated.
14589 2004-06-10 Michael Koch <konqueror@gmx.de>
14591 * javax/swing/DefaultCellEditor.java,
14592 javax/swing/GrayFilter.java,
14593 javax/swing/event/DocumentEvent.java,
14594 javax/swing/text/JTextComponent.java,
14595 javax/swing/text/MutableAttributeSet.java:
14598 2004-06-10 Michael Koch <konqueror@gmx.de>
14600 * javax/swing/plaf/BorderUIResource.java:
14601 Added serialVersionUID all over.
14603 2004-06-10 Sascha Brawer <brawer@dandelis.ch>
14605 * javax/swing/undo/UndoManager.java: Re-written from scratch.
14607 2004-06-10 Michael Koch <konqueror@gmx.de>
14609 * javax/swing/table/DefaultTableCellRenderer.java
14610 (noFocusBorder): Initialize directly.
14612 2004-06-10 Michael Koch <konqueror@gmx.de>
14614 * javax/swing/plaf/basic/BasicArrowButton.java
14615 (setDirection): Use method argument.
14617 2004-06-10 Michael Koch <konqueror@gmx.de>
14619 * javax/swing/plaf/BorderUIResource.java,
14620 javax/swing/plaf/ComponentUI.java,
14621 javax/swing/undo/CompoundEdit.java,
14622 javax/swing/undo/StateEdit.java:
14623 Fixed javadocs all over.
14625 2004-06-10 Michael Koch <konqueror@gmx.de>
14627 * javax/swing/DefaultButtonModel.java
14628 (ARMED): Made public final, fixed value.
14629 (ENABLED): Likewise.
14630 (PRESSED): Likewise.
14631 (ROLLOVER): Likewise.
14632 (SELECTED): Likewise.
14633 (stateMask): Initialize directly.
14634 (listenerList): Likewise.
14635 (mnemonic): Likewise.
14636 (fireStateChanged): Removed argument, use changeEvent as event.
14637 All places where this method is called are fixed too.
14638 (getActionCommant): Fixed javadoc.
14639 (setGroup): Fixed javadoc.
14640 (getGroup): New method.
14642 2004-06-09 Olga Rodimina <rodimina@redhat.com>
14644 * javax/swing/AbstractButton.java
14645 (AbstractButton): Use init() to initialize the button.
14646 (init): New Method. Initializes AbstractButton.
14647 * javax/swing/JMenuItem.java: Documented.
14648 (JMenuItem): Reimplemented.
14649 (init): Implemented.
14650 (setEnabled): Changed to call super.setEnabled()
14651 (processMouseEvent): Reimplemented.
14652 (fireMenuKeyPressed): Implemented.
14653 (fireMenuKeyReleased): Implemented.
14654 (fireMenuKeyTyped): Implemented.
14655 (menuSelectionChanged): disarm the model if the menu item was
14657 * javax/swing/plaf/basic/BasicMenuItemUI.java:Documented.
14658 (getPath): Change to use ArrayList instead of Vector.
14659 (getPreferredSize): Renamed variable.
14660 (paintMenuItem): Paint margin area of menu item.
14661 (MouseInputHandler.mouseEntered): Set selection in MenuSelectionManager.
14662 (MouseInputHandler.mouseReleased): Check if mouse was pressed inside
14663 menu item's bounds before clearing the selection.
14665 2004-06-09 David Jee <djee@redhat.com>
14667 * gnu/java/awt/peer/gtk/GtkTextComponentPeer.java
14668 (GtkTextComponentPeer): Set caret position to 0.
14669 * java/awt/TextComponent.java
14670 (setText): Set caret position to 0.
14671 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
14672 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
14673 Handle GtkScrolledWindow separately. Fix signal handler blocking.
14674 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
14676 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
14677 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_create): Make cursor
14680 2004-06-09 Kim Ho <kho@redhat.com>
14682 * Makefile.am: New files
14683 * Makefile.in: Regenerated
14684 * java/awt/Container.java
14685 (getComponentAt): Removed.
14686 * javax/swing/AbstractAction.java
14687 (ENABLED_PROPERTY): New property.
14688 (putValue): Fire PropertyChangeEvents.
14689 (setEnabled): ditto.
14690 (firePropertyChange): Javadoc and implement
14691 convenience method.
14692 * javax/swing/AbstractButton.java
14693 (setAction): Don't create PropertyChangeListener
14694 if new Action is null.
14695 (setIcon): Don't set icon till after comparing
14697 (configurePropertiesFromAction): Check mnemonic
14698 key before calling intValue().
14699 (createActionPropertyChangeListener): Check
14700 properties rather than bulk change.
14701 * javax/swing/DefaultDesktopManager.java:
14703 * javax/swing/DesktopManager.java:
14704 Jalopy and javadoc.
14705 * javax/swing/JComponent.java
14706 (fireVetoableChange): Implement.
14707 (paintImmediately): Use root component.
14708 * javax/swing/JDesktopPane.java: Implement
14709 * javax/swing/JInternalFrame.java: Implement
14710 * javax/swing/JLabel.java
14711 (getDisabledIcon): Return grayscaled icon if
14712 no disabled icon specified.
14713 * javax/swing/JMenuBar.java
14714 (getComponentAtIndex): Use getComponent
14715 * javax/swing/JOptionPane.java
14716 (getDesktopPaneForComponent): Use SwingUtilities'
14718 (getFrameForComponent): ditto.
14719 * javax/swing/JSplitPane.java
14720 (remove): Use getComponent.
14721 * javax/swing/SwingUtilities.java
14722 (convertPoint): Implement.
14723 * javax/swing/plaf/basic/BasicButtonUI.java
14724 (paintButtonNormal): Check opaqueness before
14725 filling background.
14726 * javax/swing/plaf/basic/BasicDesktopIconUI.java:
14728 * javax/swing/plaf/basic/BasicDesktopPaneUI.java:
14730 * javax/swing/plaf/basic/BasicInternalFrameTitlePane.java:
14732 * javax/swing/plaf/basic/BasicInternalFrameUI.java:
14734 * javax/swing/plaf/basic/BasicLookAndFeel.java:
14735 Change InternalFrame and Desktop colors.
14737 2004-06-09 David Jee <djee@redhat.com>
14739 * java/awt/Container.java
14740 (remove): Do not set component to invisible.
14742 2004-06-09 Michael Koch <konqueror@gmx.de>
14744 * javax/swing/tree/DefaultMutableTreeNode.java
14745 (getLeafCount): Renamed enum to e.
14747 2004-06-09 Michael Koch <konqueror@gmx.de>
14749 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
14750 (positionForMouseEvent): Removed redundant semicolon.
14751 (continueDrag): Use method arguments.
14753 2004-06-09 Michael Koch <konqueror@gmx.de>
14755 * javax/swing/border/TitledBorder.java,
14756 javax/swing/filechooser/FileSystemView.java,
14757 javax/swing/plaf/basic/BasicButtonListener.java,
14758 javax/swing/plaf/basic/BasicGraphicsUtils.java,
14759 javax/swing/plaf/basic/BasicLabelUI.java,
14760 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
14761 javax/swing/plaf/basic/BasicScrollBarUI.java,
14762 javax/swing/plaf/basic/BasicScrollPaneUI.java,
14763 javax/swing/plaf/basic/BasicSliderUI.java,
14764 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
14765 javax/swing/plaf/basic/BasicToggleButtonUI.java,
14766 javax/swing/table/JTableHeader.java,
14767 javax/swing/text/AbstractDocument.java,
14768 javax/swing/text/DefaultCaret.java,
14769 javax/swing/text/StyledEditorKit.java,
14770 javax/swing/tree/DefaultTreeCellEditor.java:
14771 Reworked import statements.
14773 2004-06-08 Graydon Hoare <graydon@redhat.com>
14775 * javax/swing/Box.java: Temporarily comment out code
14776 broken due to visibility bug.
14778 2004-06-09 Michael Koch <konqueror@gmx.de>
14780 * javax/swing/ImageIcon.java
14781 (ImageIcon): Added missing constructor.
14783 2004-06-08 Michael Koch <konqueror@gmx.de>
14785 * javax/swing/JToggleButton.java
14786 (JToggleButton): New constructor.
14787 (getAccessibleContext): Moved documentation into javadoc.
14788 (getUIClassID): Likewise.
14790 2004-06-08 Michael Koch <konqueror@gmx.de>
14792 * javax/swing/AbstractButton.java
14793 (getDisabledIcon): Create disabled icon if none exists yet.
14795 2004-06-08 Michael Koch <konqueror@gmx.de>
14797 * javax/swing/plaf/basic/BasicLookAndFeel.java
14798 (initClassDefaults): Added FormattedTextFieldUI.
14799 (loadResourceBundle): Renamed enum to e.
14801 2004-06-08 Michael Koch <konqueror@gmx.de>
14803 * javax/swing/plaf/basic/BasicButtonUI.java
14804 (paintIcon): Simplified.
14805 (paintText): Paint disabled button correctly.
14807 2004-06-08 Michael Koch <konqueror@gmx.de>
14809 * javax/swing/JComponent.java
14810 (createToolTip): Use official JToolTip API.
14812 2004-06-08 Michael Koch <konqueror@gmx.de>
14814 * javax/swing/JToolTip.java
14815 (JToolTip): No arguments in API.
14816 (setTipText): New method.
14818 2004-06-08 Michael Koch <konqueror@gmx.de>
14820 * javax/swing/SwingUtilities.java
14821 (isLeftMouseButton): New method.
14822 (isMiddleMouseButton): New method.
14823 (isRightMouseButton): New method.
14825 2004-06-08 Michael Koch <konqueror@gmx.de>
14827 * javax/swing/AbstractButton.java,
14828 javax/swing/CellRendererPane.java,
14829 javax/swing/JCheckBoxMenuItem.java,
14830 javax/swing/JColorChooser.java,
14831 javax/swing/JComboBox.java,
14832 javax/swing/JComponent.java,
14833 javax/swing/JDesktopPane.java,
14834 javax/swing/JFileChooser.java,
14835 javax/swing/JMenu.java,
14836 javax/swing/JMenuItem.java,
14837 javax/swing/JOptionPane.java,
14838 javax/swing/JPasswordField.java,
14839 javax/swing/JPopupMenu.java,
14840 javax/swing/JProgressBar.java,
14841 javax/swing/JRadioButtonMenuItem.java,
14842 javax/swing/JScrollBar.java,
14843 javax/swing/JSeparator.java,
14844 javax/swing/JSlider.java,
14845 javax/swing/JSplitPane.java,
14846 javax/swing/JTabbedPane.java,
14847 javax/swing/JTextField.java,
14848 javax/swing/JToolBar.java,
14849 javax/swing/text/JTextComponent.java:
14850 Fixed all constructors of accessibility classes.
14852 2004-06-08 Michael Koch <konqueror@gmx.de>
14854 * javax/swing/ScrollPaneLayout.java: Renamed all memeber variables all
14857 2004-06-08 Michael Koch <konqueror@gmx.de>
14859 * javax/swing/Box.java
14860 (AccessibleBoxFiller): Extends AccessibleAWTComponent.
14861 (AccessibleBoxFiller.serialVersionUID): New member variable.
14862 * javax/swing/DefaultButtonModel.java
14863 (stateMask): Made protected.
14864 (listenerList): Likewise.
14865 (changeEvent): Likewise.
14867 (mnemonic): Likewise.
14868 (actionCommand): Likewise.
14869 (getListeners): New method.
14870 (getActionListeners): New method.
14871 (getItemListeners): New method.
14872 (getChangeListeners): New method.
14873 (fireItemStateChanged): Simplified.
14874 (fireActionPerformed): Simplified.
14875 (fireStateChanged): Simplified.
14876 * javax/swing/JFrame.java
14877 (JFrame): Implements WindowContants.
14878 (HIDE_ON_CLOSE): Removed.
14879 (EXIT_ON_CLOSE): Removed.
14880 (DISPOSE_ON_CLOSE): Removed.
14881 (DO_NOTHING_ON_CLOSE): Removed.
14882 (processWindowEvent): Exit with code 0.
14883 (setDefaultCloseOperation): Do security check before setting value.
14884 * javax/swing/JOptionPane.java
14885 (message): Initialize only in constructor.
14886 * javax/swing/JToolTip.java: Removed unused imports.
14887 * javax/swing/JViewport.java
14888 (serialVersionUID): New member variable.
14889 (SIMPLE_SCROLL_MODE): Made final, fixed value.
14890 (BLIT_SCROLL_MODE): Likewise.
14891 (BACKINGSTORE_SCROLL_MODE): Likewise.
14892 (scrollUnderway): Made protected.
14893 (isViewSizeSet): Likewise.
14894 * javax/swing/ListModel.java: Fixed javadoc.
14895 * javax/swing/Popup.java: Likewise.
14896 * javax/swing/RepaintManager.java
14897 (paintDirtyRegions): Don't use internal classes of
14898 java.util.AbstractMap.
14899 * javax/swing/ScrollPaneConstants.java: Reindented.
14900 * javax/swing/ScrollPaneLayout.java
14901 (viewport): Made protected.
14902 (verticalScrollBar): Made protected, renamed to vsb.
14903 (horizontalScrollBar): Made protected, renamed to hsb.
14904 (rowHeader): Made protected, renamed to rowHead.
14905 (columnHeader): Made protected, renamed to colHead.
14906 (lowerLeft): Made protected.
14907 (lowerRight): Made protected.
14908 (upperLeft): Made protected.
14909 (upperRight): Made protected.
14910 (verticalScrollBarPolicy): Made protected, renamed to vsbPolicy.
14911 (horizontalScrollBarPolicy): Made protected, renamed to hsbPolicy.
14913 2004-06-07 Bernd Schmidt <bernds@btinternet.com>
14915 * java/awt/MediaTracker.java (imageUpdate): Only set status to
14916 LOADING if flags has SOMEBITS set.
14918 2004-06-07 Michael Koch <konqueror@gmx.de>
14920 * javax/swing/AbstractButton.java: Reorganized imports.
14921 * javax/swing/ActionMap.java: Likewise.
14922 * javax/swing/DefaultButtonModel.java: Likewise.
14923 * javax/swing/DefaultListModel.java: Likewise.
14924 * javax/swing/ImageIcon.java: Likewise.
14925 (serialVersionUID): New member variable.
14926 * javax/swing/JComboBox.java: Reorganized imports.
14927 * javax/swing/JComponent.java: Likewise.
14928 (ui): Made protected.
14929 (listenerList): Made protected.
14930 (TOOL_TIP_TEXT_KEY): New constant.
14931 (scrollRectToVisible): Removed redundant null check.
14932 * javax/swing/JFrame.java: Reorganized imports.
14933 * javax/swing/JInternalFrame.java: Reorganized imports.
14934 * javax/swing/JProgressBar.java: Likewise.
14935 * javax/swing/JRootPane.java: Likewise.
14936 * javax/swing/JScrollBar.java: Likewise.
14937 * javax/swing/JSeparator.java: Likewise.
14938 * javax/swing/JSlider.java: Likewise.
14939 * javax/swing/JTabbedPane.java: Likewise.
14940 * javax/swing/JTextField.java: Likewise.
14941 * javax/swing/JToolBar.java: Likewise.
14942 * javax/swing/JTree.java: Likewise.
14943 * javax/swing/JViewport.java: Likewise.
14944 * javax/swing/JWindow.java: Likewise.
14945 * javax/swing/KeyStroke.java: Likewise.
14946 * javax/swing/LookAndFeel.java: Likewise.
14947 * javax/swing/MenuSelectionManager.java: Likewise.
14948 * javax/swing/SwingUtilities.java: Likewise.
14949 * javax/swing/Timer.java: Likewise.
14950 * javax/swing/DefaultBoundedRangeModel.java: Fixed javadoc.
14951 * javax/swing/JList.java
14952 (HORIZONTAL_WRAP): Made final, fixed value.
14953 (VERTICAL): Likewise.
14954 (VERTICAL_WRAP): Likewise.
14956 2004-06-07 Michael Koch <konqueror@gmx.de>
14958 * javax/swing/AbstractButton.java
14959 (serialVersionUID): New member variable.
14960 (AccessibleAbstractButton.serialVersionUID): Likewise.
14961 (AbstractButton): Made public.
14962 * javax/swing/Box.java
14963 (AccessibleBox.serialVersionUID): New member variable.
14964 (Filler.serialVersionUID): Likewise.
14965 * javax/swing/DefaultListSelectionModel.java
14966 (serialVersionUID): Likewise.
14967 * javax/swing/JApplet.java
14968 (serialVersionUID): Likewise.
14969 * javax/swing/JCheckBox.java
14970 (serialVersionUID): Likewise.
14971 * javax/swing/JCheckBoxMenuItem.java
14972 (serialVersionUID): Likewise.
14973 (AccessibleJCheckBoxMenuItem.serialVersionUID): Likewise.
14974 * javax/swing/JColorChooser.java
14975 (serialVersionUID): Likewise.
14976 (AccessibleJColorChooser.serialVersionUID): Likewise.
14977 * javax/swing/JComponent.java
14978 (serialVersionUID): Made private.
14979 (AccessibleJComponent.serialVersionUID): New member variable.
14980 * javax/swing/JDesktopPane.java
14981 (serialVersionUID): Likewise.
14982 * javax/swing/JDialog.java
14983 (serialVersionUID): Likewise.
14984 * javax/swing/JFormattedTextField.java
14985 (serialVersionUID): Fixed value.
14986 * javax/swing/JFrame.java
14987 (serialVersionUID): New member variable.
14988 (getDefaultCloseOpertation): Made public.
14989 * javax/swing/JLayeredPane.java
14990 (serialVersionUID): Likewise.
14991 (LAYER_PROPERTY): Made final, fixed value.
14992 (JLayeredPane): Made public.
14993 * javax/swing/JMenu.java
14994 (AccessibleJMenu.serialVersionUID): New member variable.
14995 (WinListener.serialVersionUID): Likewise.
14996 * javax/swing/JMenuBar.java
14997 (serialVersionUID): Likewise.
14998 (getComponentAtIndex): Added @deprecated tag.
14999 * javax/swing/JMenuItem.java
15000 (serialVersionUID): New member variable.
15001 (AccessibleJMenuItem.serialVersionUID): Likewise.
15002 * javax/swing/JOptionPane.java
15003 (serialVersionUID): Likewise.
15004 (AccessibleJOptionPane.serialVersionUID): Likewise.
15005 * javax/swing/JPopupMenu.java
15006 (serialVersionUID): Likewise.
15007 (AccessibleJPopupMenu.serialVersionUID): Likewise.
15008 (getPopupMenuListeners): New method.
15009 (getComponentAtIndex): Added @deprecated tag.
15010 * javax/swing/JProgressBar.java
15011 (serialVersionUID): New member variable.
15012 (AccessibleJProgressBar.serialVersionUID): Likewise.
15013 * javax/swing/JRadioButton.java
15014 (serialVersionUID): Likewise.
15015 * javax/swing/JRadioButtonMenuItem.java
15016 (serialVersionUID): Likewise.
15017 (AccessibleJRadioButtonMenuItem.serialVersionUID): Likewise.
15018 * javax/swing/JScrollBar.java
15019 (serialVersionUID): Likewise.
15020 (AccessibleJScrollBar.serialVersionUID): Likewise.
15021 * javax/swing/JSeparator.java
15022 (serialVersionUID): Likewise.
15023 (AccessibleJSeparator.serialVersionUID): Likewise.
15024 * javax/swing/JSlider.java: Fixed javadocs.
15025 (AccessibleJSlider.serialVersionUID): New member variable.
15026 * javax/swing/JSplitPane.java: Added copyright statement.
15027 (serialVersionUID): New member variable.
15028 (AccessibleJSplitPane.serialVersionUID): Likewise.
15029 * javax/swing/JTabbedPane.java
15030 (serialVersionUID): Likewise.
15031 (AccessibleJTabbedPane.serialVersionUID): Likewise.
15032 (ModelListener.serialVersionUID): Likewise.
15033 (ModelListener.ModelListener): New constructor.
15034 (SCROLL_TAB_LAYOUT): Made public final, fixed value.
15035 (WRAP_TAB_LAYOUT): Likewise.
15036 * javax/swing/JTable.java
15037 (serialVersionUID): New member variable.
15038 * javax/swing/JToggleButton.java
15039 (serialVersionUID): Likewise.
15040 (ToggleButtonModel): Made static.
15041 (ToggleButtonModel.serialVersionUID): New member variable.
15042 * javax/swing/JToolTip.java
15043 (serialVersionUID): Likewise.
15044 * javax/swing/JTree.java
15045 (serialVersionUID): Likewise.
15046 * javax/swing/JWindow.java
15047 (serialVersionUID): Likewise.
15048 * javax/swing/Timer.java
15049 (serialVersionUID): Likewise.
15051 2004-06-06 Michael Koch <konqueror@gmx.de>
15053 * javax/swing/SwingConstants.java
15054 (NEXT): New constant.
15055 (PREVIOUS): Likewise.
15056 * javax/swing/UIManager.java
15057 (LookAndFeel): Made public.
15058 (LookAndFeel.getClassName): Likewise.
15059 (LookAndFeel.getName): Likewise.
15061 2004-06-02 Olga Rodimina <rodimina@redhat.com>
15063 * javax/swing/JCheckBoxMenuItem.java:
15065 * javax/swing/JMenu.java: Likewise.
15066 * javax/swing/JMenuBar.java: Likewise.
15067 * javax/swing/JMenuItem.java: Likewise.
15068 * javax/swing/JPopupMenu.java: Likewise.
15069 * javax/swing/JRadioButtonMenuItem.java: Likewise.
15070 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15071 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15072 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15073 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15074 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15075 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15077 2004-05-31 Olga Rodimina <rodimina@redhat.com>
15079 * javax/swing/plaf/basic/BasicMenuUI.java:
15080 (MouseEntered): Do not call getPath() from MenuSelectionManager.
15081 Call getPath() from super class instead.
15083 2004-05-31 David Jee <djee@redhat.com>
15085 * java/awt/Container.java
15086 (remove): Set component visibility to false after removing it.
15088 2004-05-27 Thomas Fitzsimmons <fitzsim@redhat.com>
15090 * java/awt/Component.java (getForeground): Return SystemColor if
15092 (getBackground): Likewise.
15094 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
15095 (item_highlighted): New function.
15096 (connectSignals): Set item_highlighted as list's select
15099 * java/applet/Applet.java: Revert changes from 2004-04-29,
15100 2004-03-15 and 2004-03-14.
15102 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
15103 Divide baseline y coordinate by PANGO_SCALE, not DPI conversion
15106 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (create): Set
15107 "Dialog" as the default font.
15108 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java (create):
15110 * java/awt/Component.java (getFont): Return "Dialog" font by
15112 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeer.c:
15113 Multiply size argument to pango_font_description_set_size by the
15114 DPI conversion factor rather than by PANGO_SCALE.
15115 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontMetrics.c: Likewise.
15116 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c: Likewise.
15117 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c: Likewise.
15118 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c: Likewise.
15119 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
15120 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c: Likewise.
15121 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Likewise.
15122 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c: Likewise.
15123 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c: Likewise.
15124 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c (drawString):
15125 Divide baseline y coordinate by DPI conversion factor rather
15126 than by PANGO_SCALE.
15127 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkPixbufDecoder.c
15128 (area_prepared): Fix typo.
15129 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
15130 (gtkSetFont): Move gtk_bin_get_child inside GDK critical region.
15131 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c
15132 (dpi_conversion_factor): New global variable.
15133 (init_dpi_conversion_factor): New function to calculate and
15134 track DPI conversion factor.
15135 (dpi_changed_cb): New callback.
15136 * jni/gtk-peer/gtkpeer.h (dpi_conversion_factor): Declare.
15138 2004-05-27 David Jee <djee@redhat.com>
15140 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15141 (getGraphics): Return a new GdkGraphics instance.
15142 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
15143 (getGraphics): Call super.getGraphics().
15145 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
15147 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15148 (setNativeBounds): Clamp width and height values to >= 0.
15150 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15151 (find_fg_color_widget): Handle GtkOptionMenu specially.
15153 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15154 (pre_event_handler): Only post configure events to visible
15157 2004-05-26 David Jee <djee@redhat.com>
15159 * java/awt/BorderLayout.java
15160 (layoutContainer): Fix size calculations.
15162 2004-05-26 Thomas Fitzsimmons <fitzsim@redhat.com>
15164 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15165 (window_wm_protocols_filter): Remove function.
15166 (create): Remove filter that removes WM_TAKE_FOCUS client
15169 2004-06-17 Anthony Green <green@redhat.com>
15171 * java/util/zip/ZipFile.java (getInputStream): Return null if
15174 * gnu/gcj/runtime/VMClassLoader.java (init): Add extension
15175 directory contents to the class path.
15177 2004-06-15 Andrew Haley <aph@redhat.com>
15179 * java/lang/natSystem.cc (getenv0): Don't assume environment
15180 variable is Latin 1 coded.
15182 2004-06-14 Andreas Jaeger <aj@suse.de>
15184 * configure.in: Support --enable-version-specific-runtime-libs.
15185 * configure: Regenerated.
15187 2004-06-14 Bryce McKinlay <mckinlay@redhat.com>
15189 * java/util/Calendar.java: Change ResourceBundle.getBundle() calls
15190 to pass ClassLoader argument.
15191 * java/util/GregorianCalendar.java: Likewise.
15192 * java/util/Currency.java: Likewise.
15193 * java/text/BreakIterator.java: Likewise.
15194 * java/text/Collator.java: Likewise.
15195 * java/text/DateFormat.java: Likewise.
15196 * java/text/DateFormatSymbols.java: Likewise.
15197 * java/text/DecimalFormatSymbols.java: Likewise.
15198 * java/text/NumberFormat.java: Likewise.
15199 * java/awt/Window.java: Likewise.
15201 2004-06-14 Andrew Haley <aph@redhat.com>
15203 * java/lang/System.java: (getenv0): New method.
15204 (getenv): Add security check. Do the right thing.
15205 * java/lang/natSystem.cc (getenv0): New method.
15207 2004-06-12 Mark Wielaard <mark@klomp.org>
15209 * javax/swing/RepaintManager.java
15210 (paintDirtyRegions): Use entrySet(), not values().
15212 2004-06-10 Mark Wielaard <mark@klomp.org>
15214 * jni.cc (_Jv_JNI_GetAnyMethodID): Add name and signature to
15217 2004-06-11 Jerry Quinn <jlquinn@optonline.net>
15219 * java/util/GregorianCalendar.java (computeTime): Skip buggy formulae
15220 when we already know the answer.
15221 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
15222 (setStartRule,setEndRule): Don't take abs of day number.
15223 (getOffset): Clarify docs. Add argument checks.
15224 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
15225 (equals,hasSameRules,toString,readObject): Use startTimeMode and
15228 2004-06-10 Tom Tromey <tromey@redhat.com>
15230 * interpret.cc (run): Handle wide fload.
15232 2004-06-06 Jerry Quinn <jlquinn@optonline.net>
15234 * java/util/zip/ZipEntry.java (setTime): Remove scaling.
15236 2004-06-05 Michael Koch <konqueror@gmx.de>
15238 * javax/swing/SwingConstants.java
15239 (NEXT): New constant.
15240 (PREVIOUS): Likewise.
15242 2004-06-05 Michael Koch <konqueror@gmx.de>
15244 * javax/swing/UIManager.java
15245 (LookAndFeel): Made public.
15246 (LookAndFeel.getName): Likewise.
15247 (LookAndFeel.getClassName): Likewise.
15249 2004-06-03 Michael Koch <konqueror@gmx.de>
15251 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15252 (requestFocus): Revert last changes.
15253 (gtkRequestFocus): Removed.
15254 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15255 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15257 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetRequestFocus):
15258 Reverted last patch.
15259 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15260 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_setupAccelGroup):
15261 Reverted comment change.
15263 2004-06-02 Olga Rodimina <rodimina@redhat.com>
15265 * javax/swing/JCheckBoxMenuItem.java:
15267 * javax/swing/JMenu.java: Likewise.
15268 * javax/swing/JMenuBar.java: Likewise.
15269 * javax/swing/JMenuItem.java: Likewise.
15270 * javax/swing/JPopupMenu.java: Likewise.
15271 * javax/swing/JRadioButtonMenuItem.java: Likewise.
15272 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java:Likewise.
15273 * javax/swing/plaf/basic/BasicMenuBarUI.java: Likewise.
15274 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15275 * javax/swing/plaf/basic/BasicMenuUI.java: Likewise.
15276 * javax/swing/plaf/basic/BasicPopupMenuUI.java: Likewise.
15277 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Likewise.
15279 2004-06-01 Tom Tromey <tromey@redhat.com>
15281 * java/io/ObjectStreamField.java: Cleaned up imports.
15283 2004-06-01 Michael Koch <konqueror@gmx.de>
15285 * java/io/ObjectStreamField.java: Style and javadoc cleanup.
15287 2004-06-01 Mark Wielaard <mark@klomp.org>
15289 * java/io/Writer.java (Writer(Object)): Fixed API doc.
15291 2004-06-01 Michael Koch <konqueror@gmx.de>
15293 * java/security/Security.java
15294 (insertProviderAt): Use equals() instead of ==.
15295 (removeProvicer): Likewise.
15296 (getProvider): Likewise.
15297 * java/security/Signature.java
15298 (sign): Don't set state to UNINITIALIZED.
15299 (verify): Likewise.
15301 2004-06-01 Mark Wielaard <mark@klomp.org>
15303 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (requestFocus):
15304 Implement by calling gtkRequestFocus.
15305 (gtkRequestFocus): New native method.
15306 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15307 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_requestFocus__):
15309 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkRequestFocus):
15311 (filter_expose_event_handler):
15313 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
15314 (menu_pos): Mark static.
15316 2004-06-01 Michael Koch <konqueror@gmx.de>
15318 * java/text/CollationElementIterator.java,
15319 java/text/CollationKey.java,
15320 java/text/RuleBasedCollator.java: New versions from GNU classpath.
15321 * testsuite/libjava.mauve/xfails: Removed all
15322 java.text.CollationElementIterator tests.
15324 2004-06-01 Michael Koch <konqueror@gmx.de>
15326 * java/util/zip/InflaterInputStream.java: Merged more with Classpath
15328 * java/util/zip/ZipOutputStream.java (): Renamed enum to e to removed
15329 Java 1.5 keyword usage.
15331 2004-05-31 Olga Rodimina <rodimina@redhat.com>
15333 * javax/swing/plaf/basic/BasicMenuUI.java:
15334 (MouseEntered): Do not call getPath() from MenuSelectionManager.
15335 Call getPath() from super class instead.
15337 2004-05-31 Michael Koch <konqueror@gmx.de>
15339 * java/io/SequenceInputStream.java:
15340 Rename enum to e because enum is a keyword in Java 1.5.
15342 2004-05-31 Michael Koch <konqueror@gmx.de>
15344 * gnu/java/rmi/rmic/CompilerProcess.java:
15345 Fixed javadoc to by XHTML compliant.
15347 2004-05-30 Mark Wielaard <mark@klomp.org>
15349 * java/awt/Toolkit.java (loadSystemColors): Implement.
15351 2004-05-30 Michael Koch <konqueror@gmx.de>
15353 * java/lang/System.java: Reordered imports.
15355 2004-05-30 Guilhem Lavaux <guilhem@kaffe.org>
15357 * java/text/DecimalFormat.java
15358 (parse): Fixed parsing of decimal strings. Number of maximum
15359 digits to be read should now work.
15360 * java/text/SimpleDateFormat.java
15361 (SimpleDateFormat): Set maximumFractionDigit to 0 for the number
15362 formatter. This fixes DateFormatTest.
15364 2004-05-30 Michael Koch <konqueror@gmx.de>
15366 * java/nio/Buffer.java
15367 (limit): Fixed off by one error.
15368 * java/nio/CharBuffer.java
15369 (wrap): Fixed arguments, added javadocs.
15371 2004-05-30 Michael Koch <konqueror@gmx.de>
15373 * gnu/java/beans/BeanInfoEmbryo.java,
15374 java/awt/im/InputContext.java,
15375 javax/swing/tree/DefaultMutableTreeNode.java:
15376 Rename enum to e because enum is a keyword in Java 1.5.
15378 2004-05-30 Michael Koch <konqueror@gmx.de>
15380 * gnu/java/math/MPN.java,
15381 java/awt/geom/Arc2D.java:
15382 Fixed javadocs all over.
15384 2004-05-30 Michael Koch <konqueror@gmx.de>
15386 * java/awt/DefaultKeyboardFocusManager.java
15387 (dispatchEvent): Call method to get key event dispatchers.
15388 (dispatchKeyEvent): Call method to get key event post processors.
15389 * javax/swing/JComponent.java
15390 (listenerList): Made protected.
15391 * javax/swing/JOptionPane.java
15392 (message): Don't initialize.
15393 (JOptionPane): Set message text.
15394 * javax/swing/JPopupMenu.java
15395 (show): Fixed typo in argument name.
15396 * javax/swing/RepaintManager.java
15397 (paintDirtyRegions): Use public API of java.util.Map.
15398 * javax/swing/plaf/basic/BasicSplitPaneDivider.java
15399 (positionForMouseEvent): Removed redundant ';'.
15400 (continueDrag): Use method arguments.
15402 2004-05-29 Ranjit Mathew <rmathew@hotmail.com>
15404 * testsuite/libjava.jacks/jacks.xfail: Update for post tree-ssa merge
15407 2004-05-28 Bryce McKinlay <mckinlay@redhat.com>
15409 * gcj/cni.h (JvAllocBytes): New public CNI function. Calls
15411 * gnu/gcj/RawDataManaged.java: New file.
15412 * java/lang/Thread.java (data): Declare as RawDataManaged.
15413 * java/lang/natThread.cc (init_native): Cast natThread data to
15414 RawDataManaged, not jobject.
15415 * Makefile.am (ordinary_java_source_files): Add RawDataManaged.
15416 * Makefile.in: Rebuilt.
15418 2004-05-27 Jerry Quinn <jlquinn@optonline.net>
15420 * java/util/SimpleTimeZone.java: Reverting my last change until I
15421 can fix it properly.
15423 2004-05-27 Michael Koch <konqueror@gmx.de>
15425 * javax/swing/JPopupMenu.java
15426 (isVisible): Do not use visible directly.
15427 (setVisible): Likewise.
15428 * javax/swing/JWindow.java
15429 (JWindow): call accessible constructor.
15430 * javax/swing/RepaintManager.java
15431 (paintDirtyRegions): Use public methods to obtain iterator.
15433 2004-05-25 David Jee <djee@redhat.com>
15435 * java/awt/Container.java
15436 (remove): Set component's parent to null only after we removed the
15437 component from its parent's layout manager.
15439 2004-05-25 David Jee <djee@redhat.com>
15441 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15442 (GtkComponentPeer): Set bounds regardless of whether awtComponent
15444 * gnu/java/awt/peer/gtk/GtkListPeer.java
15445 (getSize): Change native method declaration.
15446 (minimumSize): Pass visible row count into getSize().
15447 (preferredSize): Likewise.
15448 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c
15449 (Java_gnu_java_awt_peer_gtk_GtkListPeer_getSize): Use scroll window's
15450 natural size. Use visible row count to determine the final height
15453 2004-05-21 Graydon Hoare <graydon@redhat.com>
15455 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
15456 (setClip): Minor correction to order of operations.
15458 * javax/swing/JScrollPane.java: Extend sketchy implementation.
15459 * javax/swing/ScrollPaneLayout.java: Likewise.
15460 * javax/swing/JViewPort.java: Likewise.
15461 * javax/swing/ViewportLayout.java: Likewise.
15463 * javax/swing/JComponent.java: Rewrite.
15464 * javax/swing/RepaintManager.java: Likewise.
15466 * javax/swing/JLayeredPane.java: Change validate() to revalidate().
15467 * javax/swing/JList.java
15468 (setSelectedIndices):
15469 (getSelectedIndices):
15470 (getSelectedValues): New functions.
15471 (getPreferredScrollableViewportSize): Return preferred size.
15472 (getScrollableUnitIncrement):
15473 (getScrollableBlockIncrement): Initial implementations.
15474 * javax/swing/JRootPane.java: Clean up slightly.
15479 (isValidateRoot): Add overrides from JComponent.
15480 * javax/swing/JScrollBar.java: Set default orientation to VERTICAL.
15481 * javax/swing/UIManager.java (getDimension): Return the dimension.
15483 * javax/swing/plaf/basic/BasicButtonUI.java: Set component opaque.
15484 * javax/swing/plaf/basic/BasicLabelUI.java: Likewise.
15485 * javax/swing/plaf/basic/BasicMenuItemUI.java: Likewise.
15486 * javax/swing/plaf/basic/BasicProgressBarUI.java: Likewise.
15487 * javax/swing/plaf/basic/BasicSeparatorUI.java: Likewise.
15488 * javax/swing/plaf/basic/BasicSliderUI.java: Likewise.
15489 * javax/swing/plaf/basic/BasicTabbedPaneUI.java: Likewise.
15490 * javax/swing/plaf/basic/BasicRootPaneUI.java:
15491 Likewise, and set background.
15492 * javax/swing/plaf/basic/BasicListUI.java:
15493 Likewise, and improve a bit.
15494 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15495 Likewise, and adjust calculations.
15496 * javax/swing/plaf/basic/BasicViewportUI.java:
15497 Likewise, and improve a bit.
15498 * javax/swing/plaf/basic/BasicLookAndFeel.java
15499 (Button.margin): Shrink.
15501 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
15502 Hack to set horizontal always, workaround pango.
15504 * jni/gtk-peer/gtkcairopeer.h: Change to match pattern API.
15505 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
15506 Synchronize more often, check cairo status after ops,
15507 handle changes to cairo pattern API, check for disposal.
15509 2004-05-21 Olga Rodimina <rodimina@redhat.com>
15511 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15512 (BasicMenuItemUI): Create propertyChangeListener.
15513 (getPath):Implemented.
15514 (installListeners): Add propertyChangeListener to menuItem.
15515 (uninstallListeners): Remove propertyChangeListener from menuItem.
15516 (update): Implemented.
15517 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
15518 (mouseEntered): Take insets of popup menu into account when
15519 calculating position of popup menu.
15521 2004-05-18 Olga Rodimina <rodimina@redhat.com>
15523 * Makefile.am: Added new file.
15524 * Makefile.in: Regenerate.
15525 * javax/swing/JMenuBar.java:
15526 Started implementation.
15527 * javax/swing/JPopupMenu.java:
15528 (setVisible): Fixed location of lightweight/mediumweight
15530 (show): Fixed location of PopupMenu.
15531 * javax/swing/plaf/basic/BasicMenuBarUI.java:
15532 New file. UI Delegate for JMenuBar.
15533 * javax/swing/plaf/basic/BasicMenuUI.MouseInputHandler:
15534 (mouseEntered): Corrected position of the submenu.
15536 2004-05-18 Thomas Fitzsimmons <fitzsim@redhat.com>
15538 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Remove calls
15539 to _gtk_accel_group_attach.
15540 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
15543 * gnu/java/awt/peer/gtk/GtkButtonPeer.java: Give gtkSetFont
15544 package access. Don't override setFont.
15545 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java: Likewise.
15546 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Give
15547 gtkWidgetRequestFocus package access.
15548 * gnu/java/awt/peer/gtk/GtkLabelPeer.java: Don't override
15550 * gnu/java/awt/peer/gtk/GtkListPeer.java: Override gtkSetFont.
15551 Give gtkWidgetRequestFocus package access.
15552 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java: Give
15553 gtkWidgetRequestFocus package access. Don't override setFont.
15554 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java: Don't override
15556 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15557 (gtkSetLabel): Move call to gtk_bin_get_child into GDK critical
15559 (gtkSetFont): Likewise.
15560 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c (gtkSetFont):
15562 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15563 (gtkSetFont): Whitespace fix.
15565 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15566 (gtkWidgetSetUsize): Remove method.
15568 2004-05-18 David Jee <djee@redhat.com>
15570 * java/awt/image/MemoryImageSource.java
15571 (newPixels(int,int,int,int,boolean)): Set only the specified
15572 rectangle of pixels.
15573 (newPixels(byte[],ColorModel,int,int)): Implement.
15574 (newPixels(int[],ColorModel,int,int)): Implement.
15576 2004-05-18 Olga Rodimina <rodimina@redhat.com>
15578 * Makefile.am: Added new file.
15579 * Makefile.in: Regenerate.
15580 * javax/swing/JMenu.java: Started
15582 * javax/swing/JPopupMenu.java:
15583 (insert): If specified index is -1, then
15584 add component at the end.
15585 (isPopupTrigger): Reimplemented.
15586 (JPopupMenu.LightWeightPopup): setBounds
15587 of the lightWeightPopup before adding it
15588 to the layeredPane.
15589 (javax/swing/plaf/basic/BasicIconFactory.java):
15590 (getMenuArrowIcon): Implemented.
15591 * javax/swing/plaf/basic/BasicMenuItemUI.java:
15592 (getPreferredSize): Add size of the arrow icon
15593 if this menu item is instance of JMenu.
15594 (paintMenuItem): Paint arrow icon if this
15595 menu item is a submenu.
15596 * javax/swing/plaf/basic/BasicMenuUI.java:
15597 New File. UI Delegate for JMenu.
15599 2004-05-17 Thomas Fitzsimmons <fitzsim@redhat.com>
15601 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (postKeyEvent):
15602 Post KEY_TYPED events.
15603 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15604 (generates_key_typed_event): Remove function.
15606 2004-05-17 Olga Rodimina <rodimina@redhat.com>
15608 * javax/swing/JRootPane.java
15609 (JRootPane.RootLayout): Reimplemented to
15610 set bounds of contentPane and menuBar.
15611 (setJMenuBar): Add menu bar to the layered pane.
15612 (createLayeredPane): Set layout of layeredPane
15614 * javax/swing/JLayeredPane.java:
15615 (addImpl): Calculate index of the component in the
15616 layeredPane according to the specified position within
15619 2004-05-17 David Jee <djee@redhat.com>
15621 * gnu/java/awt/peer/gtk/GtkImagePainter.java
15622 (setPixels): Change color model to the default model after
15624 * java/awt/image/MemoryImageSource.java
15625 (newPixels): Set only the specified rectangle of pixels.
15627 2004-05-13 Thomas Fitzsimmons <fitzsim@redhat.com>
15629 * libgcj.spec.in (lib): Add -l-java-awt -l-java-applet
15630 -l-java-beans -l-javax-accessibility -l-javax-swing.
15632 * java/awt/AWTEvent.java (toString): Print source's name rather
15633 than the source itself.
15635 2004-05-12 Thomas Fitzsimmons <fitzsim@redhat.com>
15637 * gnu/java/awt/peer/gtk/GtkToolkit.java (loadSystemColors): Make
15639 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkToolkit.c
15640 (gdk_color_to_java_color): New function.
15641 * jni/gtk-peer/gtkpeer.h: Add SystemColor defines.
15643 2004-05-12 David Jee <djee@redhat.com>
15645 * java/awt/image/RGBImageFilter.java:
15646 Initialize origmodel as null.
15647 (makeColor): Fix pixel component order.
15648 (filterRGBPixels): Fix pixel iteration.
15649 (setPixels): Add extra checks for index color model. Convert pixels
15650 to default color model if necessary.
15651 (convertColorModelToDefault): New override method for byte pixels.
15652 (convertColorModelToDefault): For int pixels, fix pixel iteration.
15653 (makeColorbyDefaultCM): New override method for byte pixels.
15654 (makeColorbyDefaultCM): For int pixel, add color model as argument.
15655 (makeColor): Fix pixel component order.
15657 2004-05-11 Kim Ho <kho@redhat.com>
15659 * javax/swing/Box.java:
15660 Comment out more parts of Box.Filler.
15662 2004-05-11 Kim Ho <kho@redhat.com>
15664 * javax/swing/Box.java:
15665 Remove reference to AccessibleAWTComponent so
15668 2004-05-10 Thomas Fitzsimmons <fitzsim@redhat.com>
15670 * gnu/java/awt/peer/gtk/GtkListPeer.java,
15671 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c: Update
15672 implementation of list peer to use GtkTreeView instead of
15673 deprecated GtkCList.
15675 2004-05-07 Thomas Fitzsimmons <fitzsim@redhat.com>
15677 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15678 (gtkWidgetDispatchKeyEvent): Remove keyChar parameter.
15679 (handleEvent): Remove keyChar argument to
15680 gtkWidgetDispatchKeyEvent calls.
15681 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Fix
15683 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
15684 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c: Likewise.
15685 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
15688 2004-05-06 Thomas Fitzsimmons <fitzsim@redhat.com>
15690 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
15691 (gtkWidgetRequestFocus): Mark protected.
15692 (GtkComponentPeer): Only set the peer's bounds if its component
15694 * java/awt/Component.java (static): Set the default keyboard
15696 (requestFocus(), requestFocus(boolean), requestFocusInWindow(),
15697 requestFocusInWindow(temporary)): Don't request focus if the
15698 component is not showing. Get tree lock before traversing
15699 component hierarchy.
15700 * java/awt/DefaultKeyboardFocusManager.java (dispatchEvent):
15701 Only set the global focus owner if it is not a Window.
15702 (processKeyEvent): Consume keystrokes associated with the focus
15703 traversal keystroke.
15704 (focusPreviousComponent, focusNextComponent, upFocusCycle,
15705 downFocusCycle): Call requestFocusInWindow instead of
15707 * java/awt/EventDispatchThread.java (run): Move setting of
15708 default keyboard focus manager to Component.java.
15709 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15710 (awt_keycode_to_keysym): New function.
15711 (gtkWidgetDispatchKeyEvent): Finish implementation.
15712 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15713 (pre_event_handler): Add FIXME comment.
15715 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
15716 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
15717 (gtkWidgetRequestFocus): New method.
15718 * java/awt/TextArea.java (TextArea): Set focus traversal keys to
15719 disable Tab and Shift-Tab keystrokes.
15720 (addNotify, appendText, insertText, replaceText): Simplify peer
15722 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c
15723 (connectSignals): Remove connections to "commit" signals.
15724 Remove C++-style comments.
15726 * gnu/java/awt/peer/gtk/GtkButtonPeer.java,
15727 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
15728 (handleEvent): Activate GTK button when the space bar key is
15730 (gtkActivate): New method.
15732 2004-05-06 David Jee <djee@redhat.com>
15734 * java/awt/image/CropImageFilter.java
15735 (setPixels): Implement for byte array pixels.
15736 * java/awt/image/ReplicateScaleFilter.java
15737 (setPixels): Implement for byte array pixels.
15738 (replicatePixels): Overload for byte array pixels.
15740 2004-05-06 Kim Ho <kho@redhat.com>
15742 * javax/swing/Box.java:
15743 (getAccessibleContext): Return an instance of the
15746 2004-05-05 David Jee <djee@redhat.com>
15748 * gnu/java/awt/peer/gtk/GdkGraphics.java
15749 (drawImage): When component is null, use SystemColor.window as
15750 the default bgcolor.
15751 * gnu/java/awt/peer/gtk/GtkImage.java
15752 (setPixels): We can avoid iterating through the pixel rows only
15754 * java/awt/Image.java
15755 (getScaledInstance): Partially implement.
15756 * java/awt/image/CropImageFilter.java
15757 (setProperties): Fix "filter" property.
15758 (setPixels): Implement.
15759 * java/awt/image/ReplicateScaleFilter.java
15760 (setDimensions): Use scaled dimensions.
15761 (setPixels): Implement.
15762 (replicatePixels): New method.
15764 2004-05-05 David Jee <djee@redhat.com>
15766 * gnu/java/awt/peer/gtk/GtkImagePainter.java
15767 (convertPixels): If either pixels or model is null, return null.
15768 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkImagePainter.c
15769 (Java_gnu_java_awt_peer_gtk_GtkImagePainter_drawPixels): If jpixels
15770 is null, do nothing and return.
15772 2004-05-03 Kim Ho <kho@redhat.com>
15774 * gnu/java/awt/peer/gtk/GtkDialogPeer.java:
15775 (getGraphics): Like GtkFramePeer, the Graphics
15776 object needs to be translate to account for
15777 window decorations.
15778 (postMouseEvent): New method. Account for
15780 (postExposeEvent): ditto.
15781 * javax/swing/Box.java: Stubbed.
15782 * javax/swing/JDialog.java: Ran through jalopy
15783 to fix indentation.
15784 (JDialog): Call SwingUtilities' getOwnerFrame
15786 (setLayout): Check isRootPaneCheckingEnabled
15787 * javax/swing/JOptionPane.java: Re-implemented.
15788 * javax/swing/SwingUtilities.java:
15789 (getOwnerFrame): Static method to grab a default
15790 owner frame for Dialogs that don't specify owners.
15791 * javax/swing/event/SwingPropertyChangeSupport.java:
15792 (firePropertyChange): Fix early exit condition.
15793 * javax/swing/plaf/basic/BasicLabelUI.java:
15794 (paint): Avoid painting text if it is null
15796 * javax/swing/plaf/basic/BasicOptionPaneUI.java:
15799 2004-05-03 Olga Rodimina <rodimina@redhat.com>
15801 * Makefile.am: Added new file.
15802 * Makefile.in: Regenerate.
15803 * javax/swing/JPopupMenu.java:
15804 Started implementation.
15805 * javax/swing/JWindow.java
15806 (JWindow): call super() if parent for window
15808 * javax/swing/plaf/basic/BasicPopupMenuUI.java:
15809 New File. UI Delegate for JPopupMenu.
15811 2004-04-30 Olga Rodimina <rodimina@redhat.com>
15813 * javax/swing/JApplet.java: Indicated that JApplet
15814 implements RootPaneContainer and made method of this
15816 * javax/swing/JFrame.java: Ditto.
15817 * javax/swing/JWindow.java: Ditto.
15819 2004-04-29 Thomas Fitzsimmons <fitzsim@redhat.com>
15821 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
15822 (nativeSetBounds): Call gdk_window_move in addition to
15825 * java/applet/Applet.java (preferredSize): Call parent's
15826 preferredSize if the applet stub is null.
15827 (minimumSize): Likewise for parent's minimumSize.
15829 2004-04-27 Olga Rodimina <rodimina@redhat.com>
15831 * javax/swing/JMenuItem.java
15832 (createActionPropertyChangeListener): Implemented.
15833 (processMouseEvent): Ditto.
15834 (fireMenuDragMouseEntered): Ditto.
15835 (fireMenuDragMouseExited): Ditto.
15836 (fireMenuDragMouseDragged): Ditto.
15837 (fireMenuDragMouseReleased): Ditto.
15838 (menuSelectionChanged): Ditto.
15839 (getSubElements): Ditto.
15840 (getComponent): Ditto.
15841 (addMenuDragMouseListener): Ditto.
15842 (removeMenuDragMouseListener):Ditto.
15843 (addMenuKeyListener): Ditto.
15844 (removeMenuKeyListener): Ditto.
15845 * javax/swing/plaf/basic/BasicMenuItemUI.java
15846 (doClick): Imlemented.
15847 * javax/swing/plaf/basic/BasicMenuItemUI.MouseInputHandler:
15848 Don't handle mouse events here. Pass them to
15849 MenuSelectionManager.
15851 2004-04-26 Olga Rodimina <rodimina@redhat.com>
15852 Used correct version of jalopy configuration
15853 file to fix style in the files below.
15855 2004-04-26 Olga Rodimina <rodimina@redhat.com>
15857 * javax/swing/JCheckBoxMenuItem.java:
15858 Fixed style and removed unnecessary comments.
15859 * javax/swing/JMenuItem.java: Ditto.
15860 * javax/swing/JRadioButtonMenuItem.java: Ditto.
15861 * javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java: Ditto.
15862 * javax/swing/plaf/basic/BasicMenuItemUI.java: Ditto.
15863 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java: Ditto.
15865 2004-04-23 Thomas Fitzsimmons <fitzsim@redhat.com>
15867 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Change FIXME comment to
15870 * gnu_java_awt_peer_gtk_GtkWindowPeer.c: Add FIXME comment.
15872 * java/awt/ContainerOrderFocusTraversalPolicy.java
15873 (getComponentAfter): Start from current component and work up
15874 the component hierarchy until an acceptable component is found.
15875 Synchronize on tree lock.
15876 (getComponentBefore): Likewise.
15878 2004-04-22 Thomas Fitzsimmons <fitzsim@redhat.com>
15880 * gnu/java/awt/peer/gtk/GtkComponentPeer.java: Remove
15881 focus-related debugging messages.
15882 * java/awt/DefaultKeyboardFocusManager.java: Likewise.
15883 * java/awt/EventDispatchThread.java: Likewise.
15884 * java/awt/KeyboardFocusManager.java: Likewise.
15885 * java/awt/Window.java: Likewise.
15886 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Likewise.
15887 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
15889 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c: Change
15890 new C++-style comments to C-style comments.
15891 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c: Likewise.
15893 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
15894 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
15895 (handleEvent): Dispatch key press and key release events to
15897 (requestFocus): Post a FOCUS_GAINED event to the event queue.
15898 (gtkWidgetRequestFocus): New method.
15899 (gtkWidgetDispatchKeyEvent): Likewise.
15900 * java/awt/Component.java (requestFocus, requestFocus(boolean),
15901 requestFocusInWindow, requestFocusInWindow(boolean),
15902 getFocusCycleRootAncestor, nextFocus, transferFocus,
15903 transferFocusBackward, transferFocusUpCycle, hasFocus,
15904 isFocusOwner): Implement and document focus-handling methods.
15905 (setFocusTraversalKeys): Inherit focus traversal keys when
15906 keystrokes argument is null. Fix focus-handling documentation
15908 * java/awt/Container.java (setFocusTraversalKeys,
15909 getFocusTraversalKeys, areFocusTraversalKeysSet,
15910 isFocusCycleRoot, setFocusTraversalPolicy,
15911 getFocusTraversalPolicy, isFocusTraversalPolicySet,
15912 setFocusCycleRoot, isFocusCycleRoot, transferFocusDownCycle):
15913 Implement and document focus-handling methods.
15914 (transferFocusBackward): Remove method.
15915 (readObject, writeObject): Implement and document serialization
15917 * java/awt/ContainerOrderFocusTraversalPolicy.java: Implement
15919 * java/awt/DefaultFocusTraversalPolicy.java: Implement and
15921 * java/awt/DefaultKeyboardFocusManager.java: Implement and
15922 partially document.
15923 * java/awt/EventDispatchThread.java (run): Set default keyboard
15924 focus manager. Attempt to dispatch each event to the keyboard
15925 focus manager before normal dispatch.
15926 * java/awt/KeyboardFocusManager.java: Implement and partially
15928 * java/awt/Window.java (Window): Set focusCycleRoot to true.
15929 (show): Focus initial component when window is shown for the
15931 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
15932 (pre_event_handler): Replace complex key press and key release
15933 logic with simple callbacks into GtkComponentPeer.
15934 * jni/gtk-peer/gtkpeer.h: Fix FOCUS_GAINED/FOCUS_LOST reversal.
15936 2004-04-21 Olga Rodimina <rodimina@redhat.com>
15938 * javax/swing/MenuSelectionManager.java
15939 (componentForPoint): Added new method.
15940 (defaultManager): New Method. Implemented.
15941 (getSelectedPath): Ditto.
15942 (isComponentPartOfCurrentMenu): Ditto.
15943 (processKeyEvent): Added new method.
15944 (processMouseEvent): New Method. Implemented.
15945 (setSelectedPath): Ditto.
15948 2004-04-19 Kim Ho <kho@redhat.com>
15950 * java/awt/Container.java:
15951 (remove): Set the component's parent to null.
15952 (getComponentAt): Implement.
15953 * javax/swing/JComponent.java:
15954 (JComponent): Initialize defaultLocale
15955 (getDefaultLocale): Implement.
15956 (setDefaultLocale): ditto.
15957 * javax/swing/JSlider.java:
15958 (JSlider): Fix calculation of value.
15959 * javax/swing/JSplitPane.java: Implement.
15960 * javax/swing/plaf/basic/BasicLookAndFeel.java:
15961 Change SplitPane's default divider size.
15962 * javax/swing/plaf/basic/BasicScrollBarUI.java:
15963 (paint): Remove unused code.
15964 * javax/swing/plaf/basic/BasicSplitPaneDivider.java:
15965 Added comments and ran through jalopy.
15966 (setBasicSplitPaneUI): Get reference to hidden divider
15967 and set up one touch buttons if necessary.
15968 (setBorder): Fire propertyChangeEvent only if
15969 borders are different.
15970 (getPreferredSize): Defer to layout manager.
15971 (propertyChange): Implement.
15972 (oneTouchExpandableChanged): ditto.
15973 (createLeftOneTouchButton): Use BasicArrowButton.
15974 (createRightOneTouchButton): ditto.
15975 (moveDividerTo): New method. Moves the divider
15976 to a set location based on the last divider location.
15977 (BasicSplitPaneDivider::MouseHandler): Implement.
15978 (BasicSplitPaneDivider::OneTouchButton): Removed.
15979 (BasicSplitPaneDivider::DragController): Implement.
15980 (BasicSplitPaneDivider::VerticalDragController):
15982 (BasicSplitPaneDivider::DividerLayout): ditto.
15983 * javax/swing/plaf/basic/BasicSplitPaneUI.java: Reimplement.
15984 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
15985 (calculateLayoutInfo): Don't show component if it's
15987 (paintTab): Fix title paint logic.
15989 2004-05-26 Jerry Quinn <jlquinn@optonline.net>
15992 * java/util/SimpleTimeZone.java (serialVersionOnStream): Bump to 2.
15993 (setStartRule,setEndRule): Don't take abs of day number.
15994 (getOffset): Clarify docs. Add argument checks.
15995 (isBefore): Take abs of day number in DOW_LE_DOM_MODE.
15996 (equals,hasSameRules,toString,readObject): Use startTimeMode and
15998 * testsuite/libjava.mauve/xfails
15999 (gnu.testlet.java.util.SimpleTimeZone.check12): XFAIL test 22.
16001 2004-05-21 Bryce McKinlay <mckinlay@redhat.com>
16003 Layout interfaces during preparation, not initialization.
16004 * java/lang/natClass.cc (initializeClass): Move
16005 _Jv_LayoutInterfaceMethods call...
16006 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): to here.
16008 2004-05-19 Anthony Green <green@localhost.localdomain>
16010 * Makefile.am (awt_java_source_files): Remove javax.rmi and
16011 gnu.javax.rmi code.
16012 * Makefile.in: Rebuilt.
16013 * javax/rmi/ClassDesc.java, javax/rmi/StubDelegate.java,
16014 javax/rmi/UtilDelegate.java, javax/rmi/Stub.java,
16015 javax/rmi/Util.java, javax/rmi/ObjectImpl.java,
16016 javax/rmi/SystemException.java, javax/rmi/ValueHandler.java,
16017 javax/rmi/PortableRemoteObjectDelegate.java, javax/rmi/Tie.java,
16018 gnu/javax/rmi/CORBA/DelegateFactory.java,
16019 gnu/javax/rmi/CORBA/GetDelegateInstanceException.java,
16020 gnu/javax/rmi/CORBA/PortableRemoteObjectDelegateImpl.java,
16021 gnu/javax/rmi/CORBA/StubDelegateImpl.java,
16022 gnu/javax/rmi/CORBA/UtilDelegateImpl.java,
16023 gnu/javax/rmi/CORBA/ValueHandlerImpl.java,
16024 gnu/javax/rmi/PortableServer.java: Remove files.
16026 2004-05-19 Anthony Green <green@redhat.com>
16028 * Makefile.am: Define JAVA_EXT_DIRS.
16029 * Makefile.in: Rebuilt.
16030 * java/lang/natRuntime.cc (insertSystemProperties): Set
16031 java.ext.dirs property.
16033 2004-05-16 Mark Wielaard <mark@klomp.org>
16035 * java/io/Writer.java (Writer(Object)): Check for null lock object.
16037 2004-05-15 Mark Wielaard <mark@klomp.org>
16039 * doc/cni.sgml: Removed, merged into gcj.texi.
16041 2004-05-15 Mark Wielaard <mark@klomp.org>
16043 * Makefile.am (ordinary_java_source_files): Add new javax.print
16045 * Makefile.in: Regenerated.
16047 2004-05-15 Michael Koch <konqueror@gmx.de>
16049 * javax/print/attribute/standard/DateTimeAtCompleted.java,
16050 javax/print/attribute/standard/DateTimeAtCreation.java,
16051 javax/print/attribute/standard/DateTimeAtProcessing.java,
16052 javax/print/attribute/standard/DocumentName.java,
16053 javax/print/attribute/standard/JobHoldUntil.java,
16054 javax/print/attribute/standard/JobImpressionsCompleted.java,
16055 javax/print/attribute/standard/JobMessageFromOperator.java,
16056 javax/print/attribute/standard/JobName.java,
16057 javax/print/attribute/standard/JobOriginatingUserName.java,
16058 javax/print/attribute/standard/JobPriority.java,
16059 javax/print/attribute/standard/JobPrioritySupported.java,
16060 javax/print/attribute/standard/NumberOfInterveningJobs.java,
16061 javax/print/attribute/standard/OutputDeviceAssigned.java,
16062 javax/print/attribute/standard/PrinterInfo.java,
16063 javax/print/attribute/standard/PrinterLocation.java,
16064 javax/print/attribute/standard/PrinterMakeAndModel.java,
16065 javax/print/attribute/standard/PrinterMessageFromOperator.java,
16066 javax/print/attribute/standard/PrinterName.java,
16067 javax/print/attribute/standard/QueuedJobCount.java,
16068 javax/print/attribute/standard/RequestingUserName.java:
16069 Fixed javadocs all over.
16071 2004-05-15 Michael Koch <konqueror@gmx.de>
16073 * javax/print/DocFlavor.java,
16074 javax/print/attribute/standard/ColorSupported.java,
16075 javax/print/attribute/standard/Compression.java,
16076 javax/print/attribute/standard/CopiesSupported.java,
16077 javax/print/attribute/standard/Fidelity.java,
16078 javax/print/attribute/standard/Finishings.java,
16079 javax/print/attribute/standard/JobImpressionsSupported.java,
16080 javax/print/attribute/standard/JobKOctetsSupported.java,
16081 javax/print/attribute/standard/JobMediaSheetsSupported.java,
16082 javax/print/attribute/standard/JobSheets.java,
16083 javax/print/attribute/standard/JobState.java,
16084 javax/print/attribute/standard/JobStateReason.java,
16085 javax/print/attribute/standard/JobStateReasons.java,
16086 javax/print/attribute/standard/Media.java,
16087 javax/print/attribute/standard/MediaSizeName.java,
16088 javax/print/attribute/standard/MultipleDocumentHandling.java,
16089 javax/print/attribute/standard/NumberUpSupported.java,
16090 javax/print/attribute/standard/OrientationRequested.java,
16091 javax/print/attribute/standard/PDLOverrideSupported.java,
16092 javax/print/attribute/standard/PageRanges.java,
16093 javax/print/attribute/standard/PresentationDirection.java,
16094 javax/print/attribute/standard/PrintQuality.java,
16095 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
16096 javax/print/attribute/standard/PrinterMoreInfo.java,
16097 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
16098 javax/print/attribute/standard/PrinterResolution.java,
16099 javax/print/attribute/standard/PrinterState.java,
16100 javax/print/attribute/standard/PrinterStateReason.java,
16101 javax/print/attribute/standard/PrinterStateReasons.java,
16102 javax/print/attribute/standard/PrinterURI.java,
16103 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
16104 javax/print/attribute/standard/Severity.java,
16105 javax/print/attribute/standard/SheetCollate.java,
16106 javax/print/attribute/standard/Sides.java:
16107 Added serialVersionUID and removed final keyword where it doenst
16110 2004-05-15 Michael Koch <konqueror@gmx.de>
16112 * javax/print/PrintServiceLookup.java: New file.
16114 2004-05-15 Michael Koch <konqueror@gmx.de>
16116 * javax/print/DocFlavor.java:
16117 Implemented all flavor classes.
16119 2004-05-15 Michael Koch <konqueror@gmx.de>
16121 * javax/print/attribute/standard/ColorSupported.java,
16122 javax/print/attribute/standard/Compression.java,
16123 javax/print/attribute/standard/CopiesSupported.java,
16124 javax/print/attribute/standard/Fidelity.java,
16125 javax/print/attribute/standard/Finishings.java,
16126 javax/print/attribute/standard/JobImpressionsSupported.java,
16127 javax/print/attribute/standard/JobKOctetsSupported.java,
16128 javax/print/attribute/standard/JobMediaSheetsSupported.java,
16129 javax/print/attribute/standard/JobSheets.java,
16130 javax/print/attribute/standard/JobState.java,
16131 javax/print/attribute/standard/JobStateReason.java,
16132 javax/print/attribute/standard/JobStateReasons.java,
16133 javax/print/attribute/standard/Media.java,
16134 javax/print/attribute/standard/MediaSizeName.java,
16135 javax/print/attribute/standard/MultipleDocumentHandling.java,
16136 javax/print/attribute/standard/NumberUpSupported.java,
16137 javax/print/attribute/standard/OrientationRequested.java,
16138 javax/print/attribute/standard/PDLOverrideSupported.java,
16139 javax/print/attribute/standard/PageRanges.java,
16140 javax/print/attribute/standard/PresentationDirection.java,
16141 javax/print/attribute/standard/PrintQuality.java,
16142 javax/print/attribute/standard/PrinterIsAcceptingJobs.java,
16143 javax/print/attribute/standard/PrinterMoreInfo.java,
16144 javax/print/attribute/standard/PrinterMoreInfoManufacturer.java,
16145 javax/print/attribute/standard/PrinterResolution.java,
16146 javax/print/attribute/standard/PrinterState.java,
16147 javax/print/attribute/standard/PrinterStateReason.java,
16148 javax/print/attribute/standard/PrinterStateReasons.java,
16149 javax/print/attribute/standard/PrinterURI.java,
16150 javax/print/attribute/standard/ReferenceUriSchemesSupported.java,
16151 javax/print/attribute/standard/Severity.java,
16152 javax/print/attribute/standard/SheetCollate.java,
16153 javax/print/attribute/standard/Sides.java: New files.
16155 2004-05-15 Michael Koch <konqueror@gmx.de>
16157 * javax/print/Doc.java
16158 (getPrintData): Throws IOException.
16159 (getReaderForText): Likewise.
16160 (getStreamForBytes): Likewise.
16161 * javax/print/DocFlavor.java:
16162 Fixed filename in copyright.
16163 (serialVersionUID): New field.
16164 * javax/print/ServiceUIFactory.java:
16165 Made all constants final.
16166 * javax/print/AttributeException.java
16167 javax/print/MultiDoc.java
16168 javax/print/MultiDocPrintJob.java
16169 javax/print/MultiDocPrintService.java
16170 javax/print/StreamPrintService.java
16171 javax/print/URIException.java: New files.
16172 * javax/print/Makefile.am
16173 (EXTRA_DIST): Added all new files.
16175 2004-05-15 Michael Koch <konqueror@gmx.de>
16177 * javax/print/attribute/standard/Copies.java,
16178 javax/print/attribute/standard/DateTimeAtCompleted.java,
16179 javax/print/attribute/standard/DateTimeAtCreation.java,
16180 javax/print/attribute/standard/DateTimeAtProcessing.java,
16181 javax/print/attribute/standard/DocumentName.java,
16182 javax/print/attribute/standard/JobHoldUntil.java,
16183 javax/print/attribute/standard/JobImpressions.java,
16184 javax/print/attribute/standard/JobImpressionsCompleted.java,
16185 javax/print/attribute/standard/JobKOctets.java,
16186 javax/print/attribute/standard/JobKOctetsProcessed.java,
16187 javax/print/attribute/standard/JobMediaSheets.java,
16188 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
16189 javax/print/attribute/standard/JobMessageFromOperator.java,
16190 javax/print/attribute/standard/JobName.java,
16191 javax/print/attribute/standard/JobOriginatingUserName.java,
16192 javax/print/attribute/standard/JobPriority.java,
16193 javax/print/attribute/standard/JobPrioritySupported.java,
16194 javax/print/attribute/standard/NumberOfDocuments.java,
16195 javax/print/attribute/standard/NumberOfInterveningJobs.java,
16196 javax/print/attribute/standard/NumberUp.java,
16197 javax/print/attribute/standard/OutputDeviceAssigned.java,
16198 javax/print/attribute/standard/PagesPerMinute.java,
16199 javax/print/attribute/standard/PagesPerMinuteColor.java:
16200 Fixed @return tag all over.
16202 2004-05-15 Michael Koch <konqueror@gmx.de>
16204 * javax/print/attribute/AttributeSetUtilities.java
16205 (verifyCategoryForValue): Fixed typo in javadoc.
16206 * javax/print/attribute/HashAttributeSet.java
16207 (containsKey): Fixed @return tag.
16208 (comtainsValue): Likewise.
16209 (equals): Likewise.
16210 * javax/print/attribute/IntegerSyntax.java
16211 (equals): Likewise.
16212 * javax/print/attribute/ResolutionSyntax.java
16213 (equals): Likewise.
16214 (getCrossFeedResolution): Removed unused code.
16215 (getFeedResolution): Likewise.
16216 * javax/print/attribute/SetOfIntegerSyntax.java
16217 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
16218 (equals): Fixed @return tag.
16219 * javax/print/attribute/TextSyntax.java
16220 (TextSyntax): Take locale into account.
16221 (hashCode): Better implementation.
16223 2004-05-15 Michael Koch <konqueror@gmx.de>
16225 * javax/print/CancelablePrintJob.java,
16226 javax/print/Doc.java,
16227 javax/print/DocFlavor.java,
16228 javax/print/DocPrintJob.java,
16229 javax/print/FlavorException.java,
16230 javax/print/PrintException.java,
16231 javax/print/PrintService.java,
16232 javax/print/ServiceUIFactory.java: New files.
16234 2004-05-15 Mark Wielaard <mark@klomp.org>
16236 * gnu/regexp/CharIndexedReader.java: Removed.
16237 * gnu/regexp/REFilterReader.java: Likewise.
16238 * gnu/regexp/RETokenLookAhead.java: Likewise.
16239 * Makefile.am (ordinary_java_source_files): Remove above classes.
16240 * Makefile.in: Regenerated.
16242 2004-05-14 Tom Tromey <tromey@redhat.com>
16244 * gnu/awt/xlib/XGraphics.java (drawImage): Use `XOffScreenImage',
16245 not `XGraphicsConfiguration.XOffScreenImage'.
16247 2004-05-14 Scott Gilbertson <scottg@mantatest.com>
16249 * gnu/awt/xlib/XCanvasPeer.java (setVisible): Implement unmap.
16251 2004-05-14 Steven Augart <augart@watson.ibm.com>
16253 * include/jni.h (_Jv_func): Removed.
16254 (struct JNINativeInterface): Use `void *' for reserved slots.
16255 (struct JNIInvokeInterface): Likewise.
16257 2004-05-11 Michael Koch <konqueror@gmx.de>
16259 * gnu/java/net/natPlainSocketImplPosix.cc
16260 (read): Fixed typo in expression.
16262 2004-05-10 Andreas Tobler <a.tobler@schweiz.ch>
16264 * testsuite/lib/libjava.exp (libjava_invoke): Add new argument
16265 ld_library_additions. Adjust all calls to libjava_invoke to match
16268 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Pass stdc++
16269 path to cxxflagslist.
16270 Pass path of libstdc++ to libjava_invoke.
16272 * testsuite/libjava.jar/jar.exp (gcj_jar_inerpret): Adjust
16273 libjava_invoke arguments.
16275 2004-05-10 Ranjit Mathew <rmathew@hotmail.com>
16277 * testsuite/libjava.jacks/jacks.xfail: Update to reflect the current
16280 2004-05-07 Ranjit Mathew <rmathew@gmail.com>
16282 * testsuite/libjava.jni/jni.exp (gcj_jni_test_one): Don't link the
16283 main binary against the JNI shared library.
16285 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
16287 * java/util/SimpleTimeZone.java (startTimeMode, endTimeMode,
16288 WALL_TIME, STANDARD_TIME, UTC_TIME): New members.
16289 (SimpleTimeZone): Tweak docs. Add new variation.
16290 (setStartRule,setEndRule): Add new variations. Use
16291 startTimeMode and endTimeMode.
16293 2004-05-07 Jerry Quinn <jlquinn@optonline.net>
16295 * java/util/Calendar.java (getActualMinimum,
16296 getActualMaximum): Remove abstract. Implement.
16298 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
16300 Run the jni tests using the interpreter.
16301 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Append
16302 options_cxx to shared lib compile command.
16303 (gcj_jni_test_one): Pass cxxflags to gcj_jni_compile_c_to_so, so
16304 they are used to link the shared lib, not the main binary.
16305 Use libjava_invoke to run gij.
16307 2004-05-06 Michael Koch <konqueror@gmx.de>
16309 * java/util/logging/Level.java
16310 (parse): Use == instead of String.equals().
16312 2004-05-06 Bryce McKinlay <mckinlay@redhat.com>
16314 * defineclass.cc (_Jv_ClassReader::prepare_pool_entry): Use
16315 verify_field_signature and verify_method_signature, not
16316 _Jv_VerifyFieldSignature and _Jv_VerifyMethodSigntature.
16317 (_Jv_ClassReader::handleField): Likewise.
16318 (_Jv_ClassReader::handleMethod): Likewise.
16320 2004-05-06 Michael Koch <konqueror@gmx.de>
16322 * javax/swing/table/TableColumn.java:
16325 2004-05-06 Michael Koch <konqueror@gmx.de>
16327 * javax/imageio/spi/ImageReaderWriterSpi.java
16328 (ImageReaderWriterSpi): Made it public.
16329 * javax/imageio/stream/ImageInputStream.java:
16332 2004-05-06 Michael Koch <konqueror@gmx.de>
16334 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16335 Removed empty line.
16337 2004-05-06 Michael Koch <konqueror@gmx.de>
16339 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c,
16340 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c:
16342 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.c:
16343 Include gnu_java_awt_peer_gtk_GtkCheckboxMenuItemPeer.h.
16344 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
16345 Moved GtkCheckboxGroupPeer_dispose and GtkCheckboxGroupPeer_remove to
16346 their own source file.
16347 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16348 Moved GtkGenericPeer_dispose and GtkComponentPeer_requestFocus to
16349 their own source file. Removed GtkComponentPeer_gtkWidgetSetUsize.
16350 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
16351 (create): Define variable on top of function.
16352 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
16353 (menu_pos): Prototyped.
16354 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
16355 (setTitle): Removed.
16356 * jni/gtk-peer/gthread-jni.c
16357 (gdk_threads_wake): Removed.
16358 * Makefile.am (gtk_c_source_files): Added new files
16359 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxGroupPeer.c and
16360 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkGenericPeer.c.
16361 * Makefile.in: Regenerated.
16363 2004-05-05 Bryce McKinlay <mckinlay@redhat.com>
16365 * testsuite/libjava.jni/pr11951.java: Add missing System.loadLibrary()
16368 2004-05-05 Mark Wielaard <mark@klomp.org>
16370 * javax/swing/AbstractButton.java: Replace special HTML entities with
16372 * javax/swing/DefaultBoundedRangeModel.java: Likewise.
16373 * javax/swing/DefaultButtonModel.java: Likewise.
16374 * javax/swing/DefaultListModel.java: Likewise.
16375 * javax/swing/JList.java: Likewise.
16376 * javax/swing/JSlider.java: Likewise.
16377 * javax/swing/ListModel.java: Likewise.
16378 * javax/swing/Popup.java: Likewise.
16379 * javax/swing/SwingUtilities.java: Likewise.
16381 2004-05-05 Michael Koch <konqueror@gmx.de>
16383 * javax/swing/AbstractButton.java,
16384 javax/swing/ActionMap.java,
16385 javax/swing/DefaultButtonModel.java,
16386 javax/swing/DefaultListModel.java,
16387 javax/swing/ImageIcon.java,
16388 javax/swing/JComboBox.java,
16389 javax/swing/JComponent.java,
16390 javax/swing/JFrame.java,
16391 javax/swing/JInternalFrame.java,
16392 javax/swing/JMenuBar.java,
16393 javax/swing/JMenuItem.java,
16394 javax/swing/JOptionPane.java,
16395 javax/swing/JProgressBar.java,
16396 javax/swing/JRootPane.java,
16397 javax/swing/JScrollBar.java,
16398 javax/swing/JScrollPane.java,
16399 javax/swing/JSeparator.java,
16400 javax/swing/JSlider.java,
16401 javax/swing/JTabbedPane.java,
16402 javax/swing/JTable.java,
16403 javax/swing/JTextField.java,
16404 javax/swing/JToolBar.java,
16405 javax/swing/JToolTip.java,
16406 javax/swing/JTree.java,
16407 javax/swing/JViewport.java,
16408 javax/swing/JWindow.java,
16409 javax/swing/KeyStroke.java,
16410 javax/swing/LookAndFeel.java,
16411 javax/swing/SwingUtilities.java,
16412 javax/swing/Timer.java,
16413 javax/swing/ToolTipManager.java,
16414 javax/swing/UIDefaults.java,
16415 javax/swing/border/TitledBorder.java,
16416 javax/swing/filechooser/FileSystemView.java,
16417 javax/swing/plaf/basic/BasicButtonListener.java,
16418 javax/swing/plaf/basic/BasicButtonUI.java,
16419 javax/swing/plaf/basic/BasicCheckBoxMenuItemUI.java,
16420 javax/swing/plaf/basic/BasicGraphicsUtils.java,
16421 javax/swing/plaf/basic/BasicLabelUI.java,
16422 javax/swing/plaf/basic/BasicMenuItemUI.java,
16423 javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java,
16424 javax/swing/plaf/basic/BasicRootPaneUI.java,
16425 javax/swing/plaf/basic/BasicScrollBarUI.java,
16426 javax/swing/plaf/basic/BasicScrollPaneUI.java,
16427 javax/swing/plaf/basic/BasicSliderUI.java,
16428 javax/swing/plaf/basic/BasicTabbedPaneUI.java,
16429 javax/swing/plaf/basic/BasicToggleButtonUI.java,
16430 javax/swing/table/JTableHeader.java,
16431 javax/swing/text/AbstractDocument.java,
16432 javax/swing/text/DefaultCaret.java,
16433 javax/swing/text/StyledEditorKit.java,
16434 javax/swing/tree/DefaultTreeCellEditor.java:
16435 Cleaned up imports.
16437 2004-05-05 Michael Koch <konqueror@gmx.de>
16439 * java/util/prefs/AbstractPreferences.java
16440 (AbstractPreferences): Added parenthesis for clarity.
16441 Closes classpath bug #7940.
16443 2004-05-05 Tom Tromey <tromey@redhat.com>
16445 * javax/naming/CompoundName.java (endsWith): Look at correct
16446 element of source name.
16448 2004-05-05 Mark Wielaard <mark@klomp.org>
16450 Reported by f.haeglsperger@gmx.de [classpath patch #2485]
16451 * java/util/HashMap.java (rehash): Add entry at start of bucket.
16453 2004-05-05 Tom Tromey <tromey@redhat.com>
16455 * java/io/BufferedReader.java (skip): Removed unused
16458 2004-05-05 Michael Koch <konqueror@gmx.de>
16460 * java/awt/FileDialog.java: Import java.io.Serializable explicitly.
16462 2004-05-05 Dalibor Topic <robilad@kaffe.org>
16464 * java/text/AttributedString.java,
16465 java/text/AttributedStringIterator.java,
16466 java/text/Collator.java,
16467 java/text/DecimalFormatSymbols.java,
16468 java/text/NumberFormat.java,
16469 java/text/RuleBasedCollator.java:
16470 Cleaned up imports.
16472 2004-05-05 Tom Tromey <tromey@redhat.com>
16474 * java/text/Format.java: Cleaned up imports.
16475 * java/text/DecimalFormat.java: Cleaned up imports.
16476 * java/security/SecureRandom.java: Cleaned up imports.
16477 (SecureRandom): Removed unused variable.
16478 * java/security/UnresolvedPermission.java: Cleaned up imports.
16479 * java/util/Date.java (parse): Removed unused variable.
16480 * java/util/ResourceBundle.java: Cleaned up imports.
16481 (getBundle): Removed unused variable.
16482 (tryBundle): Likewise.
16483 * java/util/regex/Pattern.java (Pattern): Removed unused constructor.
16485 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16487 * java/text/SimpleDateFormat.java:
16488 (formatWithAttribute): New method. It implements
16489 the formatting process with attributes.
16490 (format): Use formatWithAttribute.
16491 (formatToCharacterIterator): New method. Use
16492 formatWithAttribute.
16494 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16496 * java/text/MessageFormat.java:
16497 (class Field): New class.
16498 (formatToCharacterIterator): New method.
16499 (format): Use formatInternal now.
16500 (formatInternal): New method. String formatter should
16501 be done here (with attributes). Attributes merging supported.
16502 (parse): More documentation.
16503 (getFormatsByArgumentIndex): New method.
16504 (setFormatByArgumentIndex): New method.
16505 (setFormatsByArgumentIndex): New method.
16507 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16509 * java/text/DecimalFormat.java
16510 (MAXIMUM_INTEGER_DIGITS): New constant to keep the numeric value 309.
16511 (applyPatternWithSymbols): Use MAXIMUM_INTEGER_DIGITS.
16512 (parse): Fixed handling of exponentiation notation and grouping.
16514 2004-05-05 Guilhem Lavaux <guilhem@kaffe.org>
16516 * java/text/DecimalFormat.java
16517 (scanFix): Build attribute array. Fixed error reporting.
16518 (applyPatternWithSymbols): Store attributes for the prefix and
16520 (formatInternal): New method. Changed the way the string is
16521 computed. Implemented attributes. Cleant up rounding in
16522 exponential notation.
16523 (format): Use formatInternal.
16524 (formatToCharacterIterator): New method.
16525 (exponentRound, negativePrefixRanges, positivePrefixRanges,
16526 negativePrefixAttrs, positivePrefixAttrs, negativeSuffixRanges,
16527 positiveSuffixRanges, negativeSuffixAttrs, positiveSuffixAttrs):
16530 2004-05-04 Dalibor Topic <robilad@kaffe.org>
16532 * java/security/interfaces/DSAKeyPairGenerator.java,
16533 java/security/interfaces/DSAPrivateKey.java,
16534 java/security/interfaces/DSAPublicKey.java,
16535 java/security/interfaces/RSAPrivateKey.java,
16536 java/security/interfaces/RSAPublicKey.java:
16537 Cleaned up imports.
16539 2004-05-04 Michael Koch <konqueror@gmx.de>
16541 * java/nio/ByteBuffer.java,
16542 java/nio/CharBuffer.java,
16543 java/nio/DoubleBuffer.java,
16544 java/nio/FloatBuffer.java,
16545 java/nio/IntBuffer.java,
16546 java/nio/LongBuffer.java,
16547 java/nio/ShortBuffer.java:
16548 (compareTo): Fixed bogus implementation in all buffer classes.
16550 2004-05-04 Ingo Proetel <proetel@aicas.com>
16552 * java/awt/image/ColorModel.java (getRGBdefault): Default ColorModel has
16553 32 bit pixels not 8 bit pixels.
16554 (isCompatibleRaster): Added javadoc comment.
16556 2004-05-04 Ingo Proetel <proetel@aicas.com>
16558 * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not reset
16561 2004-05-04 Ingo Proetel <proetel@aicas.com>
16563 * java/awt/ColorPaintContext.java (<init>): Added ColorModel to signature.
16564 (getColorModel): Return the actual color model.
16565 (getRaster): Implemented.
16566 (ColorRaster): New inner class.
16567 * java/awt/SystemColor.java (createContext): Use ColorModel when creating
16569 * java/awt/Color.java (<init>): Make exception more verbose.
16570 (createContext): Use ColorModel when creating a PaintContext.
16572 2004-05-04 Michael Koch <konqueror@gmx.de>
16574 * gnu/java/text/CharacterBreakIterator.java
16575 (previous): Removed unused variable.
16577 2004-05-04 Guilhem Lavaux <guilhem@kaffe.org>
16579 * gnu/java/text/FormatBuffer.java,
16580 gnu/java/text/AttributedFormatBuffer.java,
16581 gnu/java/text/StringFormatBuffer.java: New classes to implement
16582 attributed iterators in java.text.
16583 * gnu/java/text/FormatCharacterIterator.java: Moved
16584 from java/text as it is an internal class.
16585 * java/text/FormatCharacterIterator.java: Removed.
16586 * java/text/Format.java:
16587 Import gnu.java.text.FormatCharacterIterator.
16588 * Makefile.am (java_source_files): Added new files.
16589 * Makefile.in: Regenerated.
16592 2004-05-04 Mark Wielaard <mark@klomp.org>
16594 * gnu/java/nio/channels/FileChannelImpl.java (finalize): New method.
16596 2004-05-03 Andreas Tobler <a.tobler@schweiz.ch>
16598 * Makefile.am (WARNINGS): Replace -W with the more speaking -Wextra.
16599 * Makefile.in: Rebuilt.
16601 2004-05-03 Mark Wielaard <mark@klomp.org>
16603 * gnu/java/security/der/DERReader.java: Call static methods staticly.
16604 * java/awt/TextComponent.java (select): Use selectionEnd parameter.
16605 * java/net/URL.java
16606 (set(String, String, int, String, String, String, String, String)):
16607 Assign this.file to path or path + "?" + query.
16608 * java/util/Arrays.java: Call static methods staticly.
16609 * java/util/zip/ZipEntry.java: Likewise.
16610 * javax/swing/plaf/basic/BasicArrowButton.java (setDirection): Assign
16611 dir to this.direction.
16612 * javax/swing/table/DefaultTableCellRenderer.java (noFocusBorder):
16613 Assign static field only once.
16614 (DefaultTableCellRenderer): Don't reassign noFocusBorder each time.
16616 2004-05-03 Mark Wielaard <mark@klomp.org>
16618 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java (minimumSize): Removed
16619 unused variables hScrollbarHeight and vScrollbarWidth.
16620 (preferredSize): Likewise.
16621 * gnu/java/security/provider/DSAParameters.java (engineToString):
16622 Removed unused call to System.getProperty("line.seperator");
16623 * java/security/Security.java (loadProviders): Return result.
16625 2004-05-03 Tom Tromey <tromey@redhat.com>
16627 * java/net/URLStreamHandler.java (toExternalForm): Removed
16629 unused constructor.
16630 * java/math/BigDecimal.java (divide): Removed unused variable.
16631 * java/lang/Throwable.java: Cleaned up imports.
16632 * java/lang/ClassLoader.java: Cleaned up imports.
16633 * java/io/FilePermission.java (implies): Removed unused
16635 * java/awt/TextComponent.java: Removed unused import.
16636 * gnu/java/util/prefs/NodeReader.java: Cleaned up imports.
16637 * gnu/java/util/DoubleEnumeration.java: Removed unused import.
16638 * gnu/java/text/WordBreakIterator.java: Removed unused import.
16639 * gnu/java/text/SentenceBreakIterator.java: Removed unused
16641 * gnu/java/text/LineBreakIterator.java: Removed unused import.
16642 * gnu/java/text/CharacterBreakIterator.java: Removed
16644 * gnu/java/security/provider/DSAKeyPairGenerator.java:
16645 Cleaned up imports.
16646 * gnu/java/security/der/DERWriter.java: Cleaned up imports.
16647 * gnu/java/nio/charset/UTF_16Decoder.java (put): Removed
16649 * gnu/java/nio/SocketChannelImpl.java: Cleaned up imports.
16650 * gnu/java/nio/FileLockImpl.java: Cleaned up imports.
16651 * gnu/java/io/Base64InputStream.java: Cleaned up imports.
16652 * gnu/java/beans/info/ComponentBeanInfo.java: Cleaned up imports.
16653 * gnu/classpath/ServiceFactory.java: Cleaned up imports.
16654 (lookupProviders): Removed unused variable.
16655 (loadNextServiceProvider): Likewise.
16656 * gnu/java/beans/BeanInfoEmbryo.java: Cleaned up imports.
16658 2004-05-03 Michael Koch <konqueror@gmx.de>
16660 Fixes PR libgcj/14695:
16661 * java/net/NetworkInterface.java
16662 (getByName): Return null when no interface was found.
16664 2004-04-30 Ranjit Mathew <rmathew@hotmail.com>
16665 Tom Tromey <tromey@redhat.com>
16667 * testsuite/libjava.jni/jni.exp (gcj_jni_compile_c_to_so): Use
16668 additional option "-Wmissing-prototypes" for compiling C sources.
16669 Print actual filename for pass/fail rather than $name.c.
16670 * testsuite/libjava.jni/PR15133.java: New testcase file.
16671 * testsuite/libjava.jni/PR15133.c: Likewise.
16672 * testsuite/libjava.jni/PR15133.out: Likewise.
16674 2004-04-30 Roger Sayle <roger@eyesopen.com>
16676 * testsuite/libjava.lang/MathBuiltin.java: Add tests for acos, asin,
16679 2004-04-25 Ranjit Mathew <rmathew@hotmail.com>
16681 * testsuite/libjava.jacks/jacks.exp (gcj_jacks_write): Explicitly
16682 limit the maximum heap size to avoid unnecessary thrashing.
16684 2004-04-24 Jerry Quinn <jlquinn@optonline.net>
16686 * java/text/CollationElementIterator.java (reset): Reset
16687 lookahead variables.
16689 2004-04-23 Mark Wielaard <mark@klomp.org>
16691 * jni/classpath/jcl.c: Changed C++ comments into C comments.
16693 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16695 * java/sql/DriverManager.java:
16696 Cleaned up imports.
16698 2004-04-23 Michael Koch <konqueror@gmx.de>
16700 * java/net/URL.java
16701 (hashcode): Don't initialize with default value explicitely.
16702 (getContent): Removed redundant "final" keyword.
16703 (openStream): Likewise.
16704 (getURLStreamHandler): Fixed coding style.
16705 * java/net/URLConnection.java
16706 (defaultAllowUserInteraction): Don't initialize with default value
16708 (connected): Likewise.
16709 (doOutput): Likewise.
16710 (ifModifiedSince): Likewise.
16711 (dateformats_initialized): Likewise.
16712 (setURLStreamHander): Use StreamTokenizer where it belongs to.
16714 2004-04-23 Michael Koch <konqueror@gmx.de>
16716 * gnu/java/nio/channels/FileChannelImpl.java
16717 (SET, CUR): Unused, removed.
16718 (read): Implement here directly.
16719 (implRead): Removed.
16720 (write): Implement here directly.
16721 (implWrite): Removed.
16723 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16725 * javax/rmi/CORBA/PortableRemoteObjectDelegate.java,
16726 javax/rmi/CORBA/Stub.java,
16727 javax/rmi/CORBA/Util.java,
16728 javax/rmi/CORBA/ValueHandler.java,
16729 javax/rmi/CORBA/ValueHandler.java,
16730 javax/rmi/PortableRemoteObject.java:
16731 Cleaned up imports.
16733 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16735 * java/util/jar/JarFile.java,
16736 java/util/jar/JarInputStream.java,
16737 java/util/jar/JarOutputStream.java,
16738 java/util/jar/Manifest.java:
16739 Cleaned up imports.
16741 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16743 * java/util/ArrayList.java,
16744 java/util/Calendar.java,
16745 java/util/Currency.java,
16746 java/util/HashMap.java,
16747 java/util/HashSet.java,
16748 java/util/Hashtable.java,
16749 java/util/LinkedList.java,
16750 java/util/Properties.java,
16751 java/util/PropertyPermission.java,
16752 java/util/TimeZone.java,
16753 java/util/TreeMap.java,
16754 java/util/TreeSet.java,
16755 java/util/Vector.java,
16756 java/util/WeakHashMap.java:
16757 Cleaned up imports.
16759 2004-04-23 Dalibor Topic <robilad@kaffe.org>
16761 * java/util/logging/FileHandler.java,
16762 java/util/logging/Formatter.java,
16763 java/util/logging/Handler.java,
16764 java/util/logging/Logger.java,
16765 java/util/logging/SimpleFormatter.java,
16766 java/util/logging/XMLFormatter.java:
16767 Cleaned up imports.
16769 2004-04-22 Mark Wielaard <mark@klomp.org>
16771 * Makefile.am (PEDANTIC_CFLAGS): New -ansi -pedantic -Wall
16772 -Wno-long-long flags variable.
16773 (gtk_c_files): Use PEDANTIC_CFLAGS.
16774 * Makefile.in: Regenerated.
16776 2004-04-22 Mark Wielaard <mark@klomp.org>
16778 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16779 Changed C++ comments into C comments.
16780 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c:
16783 2004-04-22 Michael Koch <konqueror@gmx.de>
16785 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c:
16786 Merged copyright year with GNU classpath.
16788 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16790 * javax/security/auth/x500/X500Principal.java:
16791 Cleaned up imports.
16793 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16795 * javax/swing/JSlider.java:
16796 Fixed HTML tags in comments.
16798 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16800 * javax/accessibility/AccessibleText.java:
16801 Cleaned up imports.
16803 2004-04-22 Jeroen Frijters <jeroen@sumatra.nl>
16805 * java/net/URLStreamHandler.java
16806 (parseURL): Convert the file path to using '/' instead of native
16809 2004-04-22 Guilhem Lavaux <guilhem@kaffe.org>
16811 * java/net/URL.java
16812 (userInfo): New field.
16813 (URL): Set authority to the right value.
16814 (setURL): Fixed authority and file initialization.
16815 * java/net/URLStreamHandler.java
16816 (parseURL): Take care of the query tag. Build authority.
16817 (toExternalForm): Fixed URL building using authority.
16819 2004-04-22 Michael Koch <konqueror@gmx.de>
16821 * java/net/Socket.java
16822 (impl): Made package-private.
16823 * java/net/ServerSocket.java
16824 (implAccept): Access Socket.impl field directly.
16826 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16828 * java/util/prefs/Preferences.java,
16829 java/util/prefs/InvalidPreferencesFormatException.java,
16830 java/util/prefs/BackingStoreException.java,
16831 java/util/prefs/AbstractPreferences.java:
16832 Cleaned up imports.
16834 2004-04-22 Dalibor Topic <robilad@kaffe.org>
16836 * java/util/regex/Matcher.java,
16837 java/util/regex/Pattern.java:
16838 Cleaned up imports.
16840 2004-04-22 Michael Koch <konqueror@gmx.de>
16842 * java/nio/charset/IllegalCharsetNameException.java
16843 (charsetName): Made private.
16844 (IllegalCharsetNameException): Added @param tag to javadoc.
16845 (getCharsetName): Added @return tag to javadoc.
16846 * java/nio/charset/MalformedInputException.java
16847 (MalformedInputException): Added @param tag to javadoc.
16848 (getInputLength): Revised method description, added @return tag.
16849 (getMessage): Added @return tag.
16851 2004-04-22 Jerry Quinn <jlquinn@optonline.net>
16853 * java/awt/Font.java (deriveFont): Implement missing variants.
16854 * gnu/java/awt/peer/ClasspathFontPeer.java (deriveFont): Implement
16857 2004-04-21 Bryce McKinlay <mckinlay@redhat.com>
16859 * java/lang/natClass.cc (_Jv_LayoutInterfaceMethods): New method.
16860 Set method->index values for interface methods to their itable index.
16861 (initializeClass): Call _Jv_LayoutInterfaceMethods.
16863 2004-04-21 Michael Koch <konqueror@gmx.de>
16865 * java/nio/DirectByteBufferImpl.java
16866 (shiftDown): Made static, give address as argument and
16867 provide a convenience method that overwrites shiftDown in
16868 ByteBufferImpl and calls the native shiftDown.
16869 * java/nio/MappedByteBufferImpl.java
16870 (): Use optimized method in DirectByteBufferImpl.
16871 * java/nio/natDirectByteBufferImpl.cc
16872 (shiftDown): Changed method signature. Removed usage of array_offset.
16874 2004-04-21 Michael Koch <konqueror@gmx.de>
16876 * gnu/java/net/natPlainSocketImplPosix.cc
16877 (SocketInputStream::read): Make sure returned data is a byte value.
16879 2004-04-21 Michael Koch <konqueror@gmx.de>
16881 * gnu/classpath/ServiceFactory.java,
16882 gnu/classpath/ServiceProviderLoadingAction.java,
16883 javax/imageio/ImageReader.java,
16884 javax/imageio/ImageTranscoder.java,
16885 javax/imageio/ImageWriter.java,
16886 javax/imageio/package.html,
16887 javax/imageio/spi/IIOServiceProvider.java,
16888 javax/imageio/spi/ImageInputStreamSpi.java,
16889 javax/imageio/spi/ImageOutputStreamSpi.java,
16890 javax/imageio/spi/ImageReaderWriterSpi.java,
16891 javax/imageio/spi/ImageTranscoderSpi.java,
16892 javax/imageio/spi/RegisterableService.java,
16893 javax/imageio/spi/ServiceRegistry.java,
16894 javax/imageio/spi/package.html,
16895 javax/imageio/stream/IIOByteBuffer.java,
16896 javax/imageio/stream/ImageInputStream.java,
16897 javax/imageio/stream/ImageOutputStream.java,
16898 javax/imageio/stream/package.html:
16901 (ordinary_java_source_files): Added
16902 gnu/classpath/ServiceFactory.java and
16903 gnu/classpath/ServiceProviderLoadingAction.java.
16904 (javax_source_files): Added
16905 javax/imageio/ImageReader.java,
16906 javax/imageio/ImageTranscoder.java,
16907 javax/imageio/ImageWriter.java,
16908 javax/imageio/spi/IIOServiceProvider.java,
16909 javax/imageio/spi/ImageInputStreamSpi.java,
16910 javax/imageio/spi/ImageOutputStreamSpi.java,
16911 javax/imageio/spi/ImageReaderWriterSpi.java,
16912 javax/imageio/spi/ImageTranscoderSpi.java,
16913 javax/imageio/spi/RegisterableService.java,
16914 javax/imageio/spi/ServiceRegistry.java,
16915 javax/imageio/stream/IIOByteBuffer.java,
16916 javax/imageio/stream/ImageInputStream.java and
16917 javax/imageio/stream/ImageOutputStream.java.
16918 * Makefile.in: Regenerated.
16920 2004-04-21 Michael Koch <konqueror@gmx.de>
16922 * java/util/Properties.java
16923 (load): Fix wrongly merged fix.
16925 2004-04-21 Mark Wielaard <mark@klomp.org>
16927 * native/jni/gtk-peer/gthread-jni.c (maybe_rethrow): Explicitly
16928 malloc and free buf.
16930 2004-04-21 Dalibor Topic <robilad@kaffe.org>
16932 * javax/naming/AuthenticationException.java,
16933 javax/naming/AuthenticationNotSupportedException.java,
16934 javax/naming/CannotProceedException.java,
16935 javax/naming/CommunicationException.java,
16936 javax/naming/CompoundName.java,
16937 javax/naming/ConfigurationException.java,
16938 javax/naming/ContextNotEmptyException.java,
16939 javax/naming/InitialContext.java,
16940 javax/naming/InsufficientResourcesException.java,
16941 javax/naming/InterruptedNamingException.java,
16942 javax/naming/LimitExceededException.java,
16943 javax/naming/LinkException.java,
16944 javax/naming/LinkLoopException.java,
16945 javax/naming/LinkRef.java,
16946 javax/naming/MalformedLinkException.java,
16947 javax/naming/Name.java,
16948 javax/naming/NameAlreadyBoundException.java,
16949 javax/naming/NameNotFoundException.java,
16950 javax/naming/NamingSecurityException.java,
16951 javax/naming/NoInitialContextException.java,
16952 javax/naming/NoPermissionException.java,
16953 javax/naming/NotContextException.java,
16954 javax/naming/PartialResultException.java,
16955 javax/naming/ReferralException.java,
16956 javax/naming/ServiceUnavailableException.java,
16957 javax/naming/SizeLimitExceededException.java,
16958 javax/naming/TimeLimitExceededException.java,
16959 javax/naming/directory/Attribute.java,
16960 javax/naming/directory/Attributes.java,
16961 javax/naming/directory/SearchResult.java,
16962 javax/naming/event/NamingExceptionEvent.java,
16963 javax/naming/spi/ResolveResult.java:
16964 Cleaned up imports.
16966 2004-04-21 Mark Wielaard <mark@klomp.org>
16968 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c:
16969 Changed C++ comments into C comments. Removed commented out code.
16970 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c:
16972 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c:
16974 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c:
16976 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkListPeer.c:
16978 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextComponentPeer.c:
16980 * native/jni/gtk-peer/gthread-jni.c:
16983 2004-04-21 Mark Wielaard <mark@klomp.org>
16985 * javax/awt/JFrame.java: Implement WindowConstants. Remove final
16986 static fields defined in interface.
16987 * javax/awt/JDialog.java: Likewise.
16988 (JDialog): Make constructors public.
16989 (getDefaultCloseOperation): Make public.
16990 (processWindowEvent): Call System.exit(0) when EXIT_ON_CLOSE set.
16991 (setDefaultCloseOperation): Make public. Check argument. Add API doc.
16992 * javax/swing/JViewport.java (JViewport): Make constructor public.
16994 2004-04-21 Michael Koch <konqueror@gmx.de>
16996 * java/util/Map.java
16997 (Entry): Removed redundant "static" modifier.
16998 * java/text/AttributedCharacterIterator.java:
16999 Updated copyright year.
17001 2004-04-20 Michael Koch <konqueror@gmx.de>
17003 * javax/naming/directory/SearchControls.java:
17004 Don't explicitely extend java.lang.Object.
17005 * javax/naming/spi/DirStateFactory.java:
17006 Merged copyright year with GNU classpath.
17008 2004-04-20 Michael Koch <konqueror@gmx.de>
17010 * java/nio/channels/Channels.java:
17011 Merged coding style with GNU classpath.
17013 2004-04-20 Michael Koch <konqueror@gmx.de>
17015 * java/net/ServerSocket.java
17016 Merged coding style from GNU classpath.
17018 2004-04-20 Michael Koch <konqueror@gmx.de>
17020 * java/io/BufferedWriter.java:
17021 Reordered variables to be at top of the class.
17022 (localFlush): Removed redundant final keyword.
17024 2004-04-20 Ingo Proetel <proetel@aicas.com>
17026 * java/awt/event/MouseEvent.java (<init>): fixed field assignment
17028 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
17030 * java/text/DecimalFormat.java (scanFix): Removed suffix check
17031 for percent and permill check.
17033 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
17035 * java/text/FieldPosition.java
17036 (FieldPosition) Constructor now behaves as it should according
17037 to the java documentation.
17039 2004-04-20 Mark Wielaard <mark@klomp.org>
17041 * java/util/Properties.java: Use the word umlaut, not ä in api
17044 2004-04-20 Michael Koch <konqueror@gmx.de>
17046 * java/nio/Buffer.java,
17047 java/nio/channels/AlreadyConnectedException.java,
17048 java/nio/channels/AsynchronousCloseException.java,
17049 java/nio/channels/ByteChannel.java,
17050 java/nio/channels/CancelledKeyException.java,
17051 java/nio/channels/Channel.java,
17052 java/nio/channels/Channels.java,
17053 java/nio/channels/ClosedByInterruptException.java,
17054 java/nio/channels/ClosedChannelException.java,
17055 java/nio/channels/ClosedSelectorException.java,
17056 java/nio/channels/ConnectionPendingException.java,
17057 java/nio/channels/DatagramChannel.java,
17058 java/nio/channels/FileChannel.java,
17059 java/nio/channels/FileLock.java,
17060 java/nio/channels/FileLockInterruptionException.java,
17061 java/nio/channels/GatheringByteChannel.java,
17062 java/nio/channels/IllegalBlockingModeException.java,
17063 java/nio/channels/IllegalSelectorException.java,
17064 java/nio/channels/InterruptibleChannel.java,
17065 java/nio/channels/NoConnectionPendingException.java,
17066 java/nio/channels/NonReadableChannelException.java,
17067 java/nio/channels/NonWritableChannelException.java,
17068 java/nio/channels/NotYetBoundException.java,
17069 java/nio/channels/NotYetConnectedException.java,
17070 java/nio/channels/OverlappingFileLockException.java,
17071 java/nio/channels/Pipe.java,
17072 java/nio/channels/ReadableByteChannel.java,
17073 java/nio/channels/ScatteringByteChannel.java,
17074 java/nio/channels/SelectableChannel.java,
17075 java/nio/channels/SelectionKey.java,
17076 java/nio/channels/Selector.java,
17077 java/nio/channels/ServerSocketChannel.java,
17078 java/nio/channels/SocketChannel.java,
17079 java/nio/channels/UnresolvedAddressException.java,
17080 java/nio/channels/UnsupportedAddressTypeException.java,
17081 java/nio/channels/WritableByteChannel.java,
17082 java/nio/channels/spi/AbstractInterruptibleChannel.java,
17083 java/nio/channels/spi/AbstractSelectableChannel.java,
17084 java/nio/channels/spi/AbstractSelectionKey.java,
17085 java/nio/channels/spi/AbstractSelector.java,
17086 java/nio/channels/spi/SelectorProvider.java,
17087 java/nio/charset/spi/CharsetProvider.java:
17088 Fixed javadocs and jalopied all over java.nio.
17090 2004-04-20 Michael Koch <konqueror@gmx.de>
17092 * java/nio/ByteBufferImpl.java,
17093 java/nio/CharBufferImpl.java,
17094 java/nio/DirectByteBufferImpl.java,
17095 java/nio/DoubleBufferImpl.java,
17096 java/nio/DoubleViewBufferImpl.java,
17097 java/nio/FloatBufferImpl.java,
17098 java/nio/FloatViewBufferImpl.java,
17099 java/nio/IntBufferImpl.java,
17100 java/nio/IntViewBufferImpl.java,
17101 java/nio/LongBufferImpl.java,
17102 java/nio/LongViewBufferImpl.java,
17103 java/nio/MappedByteBufferImpl.java,
17104 java/nio/ShortBufferImpl.java,
17105 java/nio/ShortViewBufferImpl.java:
17106 Made sure all classes are final and removed final keyword from all
17109 2004-04-20 Michael Koch <konqueror@gmx.de>
17111 * java/rmi/MarshalledObject.java,
17112 java/rmi/Naming.java,
17113 java/rmi/RemoteException.java,
17114 java/rmi/activation/ActivationException.java,
17115 java/rmi/server/ServerCloneException.java,
17116 java/security/AccessController.java,
17117 java/security/AlgorithmParameterGenerator.java,
17118 java/security/AlgorithmParameters.java,
17119 java/security/CodeSource.java,
17120 java/security/Identity.java,
17121 java/security/IdentityScope.java,
17122 java/security/KeyPairGenerator.java,
17123 java/security/KeyStore.java,
17124 java/security/Security.java,
17125 java/security/Signature.java,
17126 java/security/SignatureSpi.java,
17127 java/security/SignedObject.java,
17128 java/security/spec/DSAParameterSpec.java,
17129 java/security/spec/DSAPrivateKeySpec.java,
17130 java/security/spec/DSAPublicKeySpec.java,
17131 java/sql/Array.java,
17132 java/sql/DatabaseMetaData.java,
17133 java/sql/ResultSet.java,
17134 java/text/ChoiceFormat.java,
17135 java/text/CollationElementIterator.java,
17136 java/text/CollationKey.java,
17137 java/text/Collator.java,
17138 java/text/DateFormat.java,
17139 java/text/DateFormatSymbols.java,
17140 java/text/DecimalFormatSymbols.java,
17141 java/text/Format.java,
17142 java/text/ParsePosition.java,
17143 java/text/RuleBasedCollator.java,
17144 java/text/SimpleDateFormat.java,
17145 java/text/StringCharacterIterator.java,
17146 java/util/Collections.java,
17147 java/util/PropertyResourceBundle.java,
17148 java/util/ResourceBundle.java,
17149 java/util/StringTokenizer.java,
17150 java/util/jar/Attributes.java,
17151 java/util/logging/ConsoleHandler.java,
17152 java/util/logging/LogManager.java,
17153 java/util/logging/MemoryHandler.java,
17154 java/util/logging/SocketHandler.java,
17155 javax/naming/NamingException.java:
17156 Fixed javadoc, coding style and argument names all over.
17158 2004-04-20 Jeroen Frijters <jeroen@frijters.net>
17160 * java/io/FileDescriptor.java: (FileDescriptor) Added public
17161 constructor. (valid) Added null check.
17163 2004-04-20 Guilhem Lavaux <guilhem@kaffe.org>
17165 Reported by Nektarios Papadopoulos <npapadop@inaccessnetworks.com>
17166 * java/io/FileOutputStream.java
17167 (FileOutputStream) Reorganized constructors. Constructors now
17168 check whether the given path is directory.
17170 2004-04-20 Michael Koch <konqueror@gmx.de>
17172 * java/net/Authenticator.java,
17173 java/net/BindException.java,
17174 java/net/ConnectException.java,
17175 java/net/ContentHandler.java,
17176 java/net/ContentHandlerFactory.java,
17177 java/net/DatagramPacket.java,
17178 java/net/DatagramSocket.java,
17179 java/net/DatagramSocketImpl.java,
17180 java/net/DatagramSocketImplFactory.java,
17181 java/net/FileNameMap.java,
17182 java/net/HttpURLConnection.java,
17183 java/net/Inet4Address.java,
17184 java/net/Inet6Address.java,
17185 java/net/InetAddress.java,
17186 java/net/InetSocketAddress.java,
17187 java/net/JarURLConnection.java,
17188 java/net/MalformedURLException.java,
17189 java/net/MulticastSocket.java,
17190 java/net/NetPermission.java,
17191 java/net/NetworkInterface.java,
17192 java/net/NoRouteToHostException.java,
17193 java/net/PasswordAuthentication.java,
17194 java/net/PortUnreachableException.java,
17195 java/net/ProtocolException.java,
17196 java/net/ServerSocket.java,
17197 java/net/Socket.java,
17198 java/net/SocketAddress.java,
17199 java/net/SocketException.java,
17200 java/net/SocketImpl.java,
17201 java/net/SocketImplFactory.java,
17202 java/net/SocketOptions.java,
17203 java/net/SocketPermission.java,
17204 java/net/SocketTimeoutException.java,
17206 java/net/URISyntaxException.java,
17208 java/net/URLClassLoader.java,
17209 java/net/URLConnection.java,
17210 java/net/URLDecoder.java,
17211 java/net/URLEncoder.java,
17212 java/net/URLStreamHandler.java,
17213 java/net/URLStreamHandlerFactory.java,
17214 java/net/UnknownHostException.java,
17215 java/net/UnknownServiceException.java:
17216 Fixed javadocs, coding style and argument names all over.
17218 2004-04-20 Michael Koch <konqueror@gmx.de>
17220 * java/lang/Byte.java,
17221 java/lang/CharSequence.java,
17222 java/lang/ClassLoader.java,
17223 java/lang/Compiler.java,
17224 java/lang/Double.java,
17225 java/lang/Float.java,
17226 java/lang/Integer.java,
17227 java/lang/Long.java,
17228 java/lang/Math.java,
17229 java/lang/Number.java,
17230 java/lang/Package.java,
17231 java/lang/Runtime.java,
17232 java/lang/RuntimePermission.java,
17233 java/lang/SecurityManager.java,
17234 java/lang/Short.java,
17235 java/lang/StringBuffer.java,
17236 java/lang/System.java,
17237 java/lang/ThreadGroup.java,
17238 java/lang/Throwable.java,
17239 java/lang/reflect/InvocationHandler.java,
17240 java/lang/reflect/Proxy.java:
17241 Fixed javadocs, coding style and argument names all over.
17243 2004-04-20 Michael Koch <konqueror@gmx.de>
17245 * java/io/BufferedWriter.java,
17246 java/io/ByteArrayInputStream.java,
17247 java/io/CharArrayWriter.java,
17248 java/io/DataInput.java,
17249 java/io/DataInputStream.java,
17251 java/io/FilterInputStream.java,
17252 java/io/InputStream.java,
17253 java/io/InputStreamReader.java,
17254 java/io/ObjectInputStream.java,
17255 java/io/ObjectStreamClass.java,
17256 java/io/PipedInputStream.java,
17257 java/io/PipedReader.java,
17258 java/io/PushbackInputStream.java,
17259 java/io/PushbackReader.java,
17260 java/io/RandomAccessFile.java,
17261 java/io/SerializablePermission.java,
17262 java/io/StreamTokenizer.java,
17263 java/io/StringWriter.java,
17264 java/io/WriteAbortedException.java,
17265 java/io/Writer.java:
17266 Fixed javadocs all over, rename arguments to match javadocs,
17267 fixed coding style.
17269 2004-04-20 Ingo Proetel <proetel@aicas.com>
17271 * java/awt/FontMetrics.java:
17272 (charsWidth): fixed accumulation of total_width
17273 (getWidth): simple default implementation
17274 * java/awt/Polygon.java (getBoundingBox): Use correct y-coordinate
17275 in Rectangle constructor.
17276 * java/awt/image/Raster.java (toString): Added method.
17277 * java/awt/image/SampleModel.java (<init>): Added error cause
17278 information to thrown exception.
17279 * java/awt/image/SinglePixelPackedSampleModel.java (getDataElements):
17281 (setDataElements): New method.
17282 (setPixels): New method.
17283 (toString): New method.
17285 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
17287 * java/awt/image/ComponentColorModel.java
17288 (createCompatibleSampleModel): Return PixelInterleavedSampleModel
17289 for TYPE_BYTE and TYPE_USHORT transferTypes, in order to pass the
17290 Mauve tests on this method. Improved documentation.
17292 2004-04-20 Michael Koch <konqueror@gmx.de>
17294 * javax/swing/JLayeredPane.java,
17295 javax/swing/plaf/BorderUIResource.java,
17296 javax/swing/plaf/ComponentUI.java,
17297 javax/swing/undo/CompoundEdit.java,
17298 javax/swing/undo/StateEdit.java:
17299 Fixed HTML tags in javadocs all over.
17301 2004-04-20 Michael Koch <konqueror@gmx.de>
17303 * javax/print/attribute/EnumSyntax.java
17304 (getOffset): Made protected.
17305 * javax/print/attribute/HashAttributeSet.java
17306 (HashAttributeSet): Likewise.
17307 * javax/print/attribute/ResolutionSyntax.java
17308 (getFeedResolution): Fixed typo in exception name.
17309 (getCrossFeedResolution): Likewise.
17310 * javax/print/attribute/SetOfIntegerSyntax.java
17311 (SetOfIntegerSyntax): Fixed HTML entities in javadoc.
17312 * javax/print/attribute/TextSyntax.java
17313 (TextSyntax): Handle locale correctly.
17314 (hashCode): Calc better hashcode value.
17315 (equals): Fixed @return tag.
17316 (toString): New method.
17318 2004-04-20 Michael Koch <konqueror@gmx.de>
17320 * gnu/java/nio/FileLockImpl.java
17321 (static): Removed, not needed anymore.
17322 * gnu/java/nio/channels/FileChannelImpl.java
17323 (FileChannelImpl): Made final.
17324 (mode): Made private.
17325 (READ, WRITE, APPEND): Made public.
17326 (EXCL, SYNC, DSYNC): Likewise.
17327 (static): Load native JNI library, when needed.
17328 (length): Unused, removed.
17329 (available): Made public.
17330 (implPosition): Throws IOException.
17332 (implTruncate): Likewise.
17333 (unlock): Likewise.
17336 2004-04-20 Michael Koch <konqueror@gmx.de>
17338 * java/awt/AWTPermission.java,
17339 java/awt/Component.java,
17340 java/awt/ComponentOrientation.java,,
17341 java/awt/Dialog.java,
17342 java/awt/FontMetrics.java,
17343 java/awt/Graphics.java,
17344 java/awt/datatransfer/DataFlavor.java,
17345 java/beans/Introspector.java,
17346 java/beans/PropertyEditor.java,
17347 java/beans/PropertyEditorManager.java,
17348 java/beans/beancontext/BeanContextServiceProvider.java:
17349 Fixed HTML tags in javadocs all over.
17351 2004-04-20 Mark Wielaard <mark@klomp.org>
17353 * gnu/java/awt/peer/gtk/GtkFontPeer.java: Use fallback when
17354 MissingResourceException is thrown.
17355 * gnu/java/awt/peer/gtk/GtkToolkit.java (getFontPeer): Don't return
17356 null when a MissingResourceException is thrown. Should never happen.
17358 2004-04-20 Sascha Brawer <brawer@dandelis.ch>
17360 * java/awt/image/DataBufferShort.java,
17361 java/awt/image/DataBufferFloat.java,
17362 java/awt/image/DataBufferDouble.java,
17363 java/awt/image/PixelInterleavedSampleModel.java: New files.
17364 * gnu/java/awt/Buffers.java (createBuffer, createBufferFromData,
17365 getData): Added support for TYPE_SHORT, TYPE_FLOAT and TYPE_DOUBLE.
17367 2004-04-20 Michael Koch <konqueror@gmx.de>
17369 * Makefile.am (java_source_files): Added
17370 java/awt/image/DataBufferDouble.java,
17371 java/awt/image/DataBufferFloat.java,
17372 java/awt/image/DataBufferShort.java and
17373 java/awt/image/PixelInterleavedSampleModel.java.
17374 * Makefile.in: Regenerated.
17376 2004-04-19 Bryce McKinlay <mckinlay@redhat.com>
17378 * gcj/cni.h (JvAllocObject): Remove these obsolete,
17379 undocumented CNI calls.
17380 * include/java-interp.h (_Jv_InterpClass): No longer
17381 extends java.lang.Class.
17382 * java/lang/Class.h (Class): Add new field `aux_info'.
17383 * boehm.cc (_Jv_MarkObj): Update java.lang.Class marking.
17384 * defineclass.cc: Remove Class<->_Jv_InterpClass casts.
17385 Use Class->aux_info instead.
17386 * jni.cc (_Jv_JNI_AllocObject): Use _Jv_AllocObject.
17387 * resolve.cc: Remove Class<->_Jv_InterpClass casts.
17388 Use Class->aux_info instead.
17389 * java/io/natObjectInputStream.cc (allocateObject): Use
17391 * java/lang/natClass.cc (newInstance): Likewise.
17392 * java/lang/natClassLoader.cc (_Jv_NewClass): Likewise.
17393 * java/lang/natObject.cc (clone): Likewise.
17394 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Likewise.
17395 * java/lang/natVMClassLoader.cc (defineClass): Don't use
17396 JvAllocObject. Allocate klass->aux_info here for interpreted
17399 2004-04-17 Mark Wielaard <mark@klomp.org>
17401 * javax/swing/JToggleButton.java (ToggleButtonModel):
17402 Make public static inner class.
17403 * javax/swing/JTabbedPane.java (setComponentAt):
17404 Call Page.setComponent().
17405 (SCROLL_TAB_LAYOUT): Make public, value is 1.
17406 (WRAP_TAB_LAYOUT): Make public, value is 0.
17407 * javax/swing/plaf/basic/BasicTabbedPaneUI.java (ScrollingButton):
17408 Make private static inner class.
17410 2004-04-16 Bryce McKinlay <mckinlay@redhat.com>
17412 * interpret.cc (_Jv_InterpMethod::run): Update _Jv_AllocObject
17413 arguments to match new signature. Remove FIXME comments.
17415 2004-04-09 Thomas Fitzsimmons <fitzsim@redhat.com>
17417 * gnu/java/awt/peer/gtk/GtkPanelPeer.java (connectSignals):
17419 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPanelPeer.c: Remove
17422 2004-04-02 Olga Rodimina <rodimina@redhat.com>
17424 * Makefile.am: Added new file.
17425 * Makefile.in: Regenerate.
17426 * javax/swing/ImageIcon.java:
17427 (ImageIcon(file)): set description of the icon
17429 * javax/swing/JCheckBoxMenuItem.java:
17430 Mostly Implemented. Work in progress.
17431 * javax/swing/JRadioButtonMenuItem.java:
17432 Reimplement constructors to use JToggleButtonModel.
17433 * javax/swing/plaf/basic/BasicIconFactory.java:
17434 (getCheckBoxMenuItemIcon): return check box
17436 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17437 paint menu item selected only when it is armed and
17440 2004-04-02 David Jee <djee@redhat.com>
17442 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
17443 (GtkMenuItemPeer): Only connect signals if this isn't a Menu peer.
17444 * java/awt/Component.java
17445 (add): Set the parent of the popup as this component.
17446 * java/awt/PopupMenu.java
17447 (addNotify): Create popup menu when peer is null.
17448 (show): Call addNotify() if peer is null.
17449 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkPopupMenuPeer.c
17450 (Java_gnu_java_awt_peer_gtk_GtkPopupMenuPeer_show): Set the button
17451 argument for gtk_menu_popup() as zero. This causes the popup menu to
17452 respond to any mouse button.
17454 2004-03-31 Olga Rodimina <rodimina@redhat.com>
17456 * Makefile.am: Added new file.
17457 * Makefile.in: Regenerate.
17458 * javax/swing/JRadioButtonMenuItem.java:
17460 * javax/swing/plaf/basic/BasicIconFactory.java:
17461 (getRadioButtonMenuItemIcon): Return
17463 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17464 (getPreferredSize): Add size of checkIcon if it
17466 (installDefaults): Don't initialize checkIcon.
17467 It's value will be set in subclasses.
17468 (uninstallDefaults): remove uninstallation of
17470 (paint): Moved code to paintMenuItem().
17471 (paintMenuItem): Implemented.
17472 * javax/swing/plaf/basic/BasicRadioButtonMenuItemUI.java:
17473 UI delegate for JRadioButtonMenuItem.
17475 2004-03-29 Olga Rodimina <rodimina@redhat.com>
17477 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17478 Corrected position of the accelerator.
17480 2004-03-29 Olga Rodimina <rodimina@redhat.com>
17482 * Makefile.am: Added new file.
17483 * Makefile.in: Regenerate.
17484 * javax/swing/JMenuItem.java: Partly
17485 implemented. Work in progress
17486 * javax/swing/plaf/basic/BasicLookAndFeel.java:
17487 Changed default value of acceleratorDelimiter.
17488 * javax/swing/plaf/basic/BasicMenuItemUI.java:
17489 New class. Partly implemented.
17491 2004-03-26 Mark Wielaard <mark@klomp.org>
17493 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
17494 (item_activate): Declare label before use.
17495 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
17496 (gtkSetFont): Removed unused variable label.
17497 (addExposeFilter): Declare variables before use.
17498 (removeExposeFilter): Likewise.
17499 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
17500 (ok_clicked): Declare str_fileName before use.
17502 2004-03-26 David Jee <djee@redhat.com>
17504 * gnu/java/awt/peer/gtk/GtkMenuPeer.java
17505 (addSeparator): Remove.
17506 * java/awt/Menu.java
17507 (separator): Remove static final MenuItem field.
17508 (separatorLabel): New static final String field.
17509 (addSeparator): Do not use peer method; use add(MenuItem) instead.
17510 Use separatorLabel to denote that it is a separator.
17511 (insertSeparator): Create a new MenuItem with separatorLabel, instead
17512 of reusing the static separator instance, because a MenuItem instance
17513 can't be added more than once without being cloned.
17514 * java/awt/peer/MenuPeer.java
17515 (addSeparator): Remove from interface.
17517 2004-03-26 David Jee <djee@redhat.com>
17519 * gnu/java/awt/peer/gtk/GtkMenuItemPeer.java
17520 (connectSignals): New native method declaration.
17521 (GtkMenuItemPeer): Connect signals if the parent is a Menu.
17522 * java/awt/MenuItem.java
17523 (getActionCommand): Return the label if the action command is not set.
17524 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuBarPeer.c
17525 (Java_gnu_java_awt_peer_gtk_GtkMenuBarPeer_addMenu): Use
17526 gtk_menu_shell_append().
17527 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuItemPeer.c
17528 (item_activate): Fix argument type.
17529 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_create): Do not connect
17531 (Java_gnu_java_awt_peer_gtk_GtkMenuItemPeer_connectSignals): New
17533 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuPeer.c
17534 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_create): Check if a label is
17535 given. Add the menu widget's top-level GtkWindow to the global window
17536 group, so it can grab the pointer.
17537 (Java_gnu_java_awt_peer_gtk_GtkMenuPeer_addItem): Use
17538 gtk_menu_shell_append().
17540 2004-03-23 Graydon Hoare <graydon@redhat.com>
17542 * java/text/AttributedString.java
17543 (addAttribute): Fix off-by-one.
17544 (getIterator): Likewise.
17545 * java/text/AttributedStringIterator.java
17546 (getRunLimit): Correct logic.
17547 (getRunStart): Likewise.
17548 (getAttribute): Fix inequality.
17549 (getAttributes): Likewise.
17550 * testsuite/libjava.mauve/xfails: Remove AttributedString xfail.
17552 2004-03-23 Kim Ho <kho@redhat.com>
17554 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
17555 (calculateSizes): Return real width and height.
17557 2004-03-23 Kim Ho <kho@redhat.com>
17559 * javax/swing/plaf/basic/BasicTabbedPaneUI.java
17560 (calculateTabRects): Set the selectedRun before
17561 trying to rotate tabs.
17563 2004-03-23 Kim Ho <kho@redhat.com>
17565 * Makefile.am: New file
17566 * Makefile.in: Regenerate
17567 * java/awt/Graphics.java: (drawRect):
17568 Draw to the correct point.
17569 * javax/swing/DefaultSingleSelectionModel.java
17570 (isSelected): Return true if the selected index
17572 * javax/swing/JLabel.java: Do not change mnemonic
17573 index if text is null.
17574 * javax/swing/JProgressBar.java: Use JComponent's
17576 * javax/swing/JScrollBar.java: Ditto.
17577 * javax/swing/JSlider.java: Ditto.
17578 * javax/swing/JTabbedPane.java: Reimplement.
17579 * javax/swing/plaf/basic/BasicLookAndFeel.java:
17580 Add defaults for TabbedPane.
17581 * javax/swing/plaf/basic/BasicArrowButton.java:
17583 * javax/swing/plaf/basic/BasicProgressBarUI.java:
17584 (paintDeterminate): Don't paint String if it's
17586 (paintIndeterminate): ditto.
17587 * javax/swing/plaf/basic/BasicTabbedPaneUI.java:
17590 2004-03-19 Michael Koch <konqueror@gmx.de>
17592 * java/awt/image/AffineTransformOp.java
17593 (AffineTransformOp): Made public.
17594 * javax/swing/JComponent.java
17595 (listenerList): Made protected.
17596 (accessibleContext): Likewise.
17597 * javax/swing/JList.java
17598 (valueChanged): Dont use internal fields of ListSelectionEvent.
17599 * javax/swing/JViewport.java
17600 (getView): Dont use internal fields of Component.
17601 (addImpl): Likewise.
17602 * javax/swing/Timer.java
17603 (isRunning): Made public.
17606 * javax/swing/UIDefaults.java
17607 (getInt): Made public.
17608 * javax/swing/plaf/basic/BasicListUI.java
17609 (mousePressed): Dont use internal fields of MouseEvent.
17610 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
17611 * javax/swing/plaf/basic/BasicScrollBarUI.java
17612 (arrowIcon): Made static.
17613 * javax/swing/plaf/basic/BasicViewportUI.java
17614 (stateChanged): Dont use internal field on ChangeEvent.
17615 * javax/swing/text/JTextComponent.java
17616 (getUI): Call UIManager.getUI().
17617 (updateUI): Use getUI().
17619 2004-03-19 Graydon Hoare <graydon@redhat.com>
17621 * javax/swing/JComponent.java: Turn off double buffer by default.
17622 * javax/swing/plaf/basic/BasicViewportUI.java: Clear rects before painting.
17623 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
17624 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_gdkDrawDrawable):
17625 Use cairo to copy areas.
17626 (Java_gnu_java_awt_peer_gtk_GdkGraphics2D_cairoClip):
17627 Initialize and set clip region.
17629 2004-03-15 Thomas Fitzsimmons <fitzsim@redhat.com>
17631 * java/applet/Applet.java (preferredSize): Override deprecated
17632 variant of getPreferredSize.
17633 (minimumSize): Override deprecated variant of getMinimumSize.
17635 2004-03-15 Olga Rodimina <rodimina@redhat.com>
17637 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
17638 (drawImage(img,xform,bgcolor,obs)): New Method.
17639 Helper function that every drawImage method will
17641 (drawRaster): Added new parameter, bgcolor. All
17642 transparent pixels are changed to bgcolor before
17644 (drawRenderedImage): Fixed to use changed drawRaster().
17645 (drawImage(image,xform,obs): Fixed to use new helper function
17646 (drawImage(image,op,x,y)): Ditto.
17647 (drawImage (img,x,y,observer)): Ditto.
17648 ((PainterThread) bgcolor): New Field.
17649 ((PainterThread) (setPixels)): Changed all transparent pixels
17651 (drawImage(img,x,y,width,height,bgcolor,observer)):
17652 Fixed FIXME - all the transparent pixels are
17653 changed to the specified bgcolor.
17654 (drawImage(img, x, y, width, height, observer): Changed to
17655 use function above.
17656 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,bgcolor,observer)):
17657 Fixed FIXME- changed all transparent pixels to bgcolor.
17658 (drawImage (img, dx1, dy1, dx2, dy2, sx1, sy1, sx2, sy2, observer)):
17659 Changed to use function above.
17661 2004-03-14 Thomas Fitzsimmons <fitzsim@redhat.com>
17663 * java/applet/Applet.java (dimensions): New field.
17664 (getDimensions): New method.
17665 (getPreferredSize): Call getDimensions.
17666 (getMinimumSize): Likewise.
17668 2004-03-13 Thomas Fitzsimmons <fitzsim@redhat.com>
17670 * jni/classpath/jcl.c: Include stdlib.h, not malloc.h.
17671 * jni/classpath/jnilink.c: Likewise.
17673 * java/applet/Applet.java (getPreferredSize): New method.
17674 (getMinimumSize): New method.
17676 2004-04-15 Bryce McKinlay <mckinlay@redhat.com>
17678 * prims.cc (_Jv_AllocObject): Remove `size' argument.
17679 (_Jv_AllocObjectNoFinalizer): Likewise.
17680 (_Jv_AllocObjectNoInitNoFinalizer): Likewise.
17681 (_Jv_AllocPtrFreeObject): Likewise.
17682 (_Jv_AllocString): Moved from natString.cc. Call collector interface
17683 directly even in the JVMPI case.
17684 * gcj/cni.h (JvAllocObject): Remove `size' argument from
17685 _Jv_AllocObject calls.
17686 * gcj/javaprims.h: Update prototypes.
17687 * gnu/gcj/natCore.cc (_Jv_create_core): Use `new', not _Jv_AllocObject.
17688 * java/lang/Class.h: Update _Jv_AllocObject friend prototype.
17689 * java/lang/natString.cc (_Jv_AllocString): Move to prims.cc.
17691 2004-04-14 Andrew Haley <aph@redhat.com>
17692 Bryce McKinlay <mckinlay@redhat.com>
17694 * java/lang/reflect/natMethod.cc (_Jv_CallAnyMethodA): Use
17695 _Jv_LookupInterfaceMethodIdx for calls to interfaces.
17696 * include/jvm.h (_Jv_CallAnyMethodA): Add new `iface' arg.
17698 * testsuite/libjava.lang/InvokeInterface.java: New file.
17699 * testsuite/libjava.lang/InvokeInterface.out: New file.
17701 2004-04-09 Ranjit Mathew <rmathew@hotmail.com>
17703 * java/lang/VMThrowable.java (getStackTrace): Pass trace as-is to
17705 * gnu/gcj/runtime/NameFinder.java (lookup): Change to take in a
17706 StackTraceElement directly.
17707 (newElement): New native helper method to create StackTraceElement
17708 bypassing Java access control.
17709 (createStackTraceElement): Use newElement() instead of directly
17710 calling StackTraceElement's constructor.
17711 * gnu/gcj/runtime/natNameFinder.cc (newElement): New method.
17713 2004-04-01 Michael Koch <konqueror@gmx.de>
17715 * java/lang/SecurityManager.java
17716 (checkAwtEventQueueAccess): Implemented.
17718 2004-04-01 Gary Benson <gbenson@redhat.com>
17720 * resolve.cc (_Jv_ResolvePoolEntry): Put field name in exception.
17721 (_Jv_SearchMethodInClass): Likewise.
17723 2004-03-26 Peter Moon <peterm@miraculum.com>
17725 * java/text/NumberFormat.java: Fix spelling of setCurrency
17728 2004-03-21 Anthony Green <green@redhat.com>
17730 * java/lang/natClass.cc (getClassLoader): Circumvent infinite
17731 recursion when searching for the system ClassLoader.
17733 2004-03-21 Ito Kazumitsu <kaz@maczuka.gcd.org>
17735 * java/net/ServerSocket.java
17736 (accept): Close the socket when error occured.
17738 2004-03-21 Jeroen Frijters <jeroen@frijters.net>
17740 * java/net/URI.java (parseURI): Added unquoting.
17741 (unquote): New method.
17742 (quoteAuthority): Implemented.
17743 (quote(String,String)): New method.
17744 (quotePath): Implemented.
17745 (getRawSchemeSpecificPart): Return new rawSchemeSpecificPart field.
17746 (getSchemeSpecificPart): Removed FIXME comment.
17747 (getRawAuthority): Return new rawAuthority field.
17748 (getAuthority): Removed FIXME comment.
17749 (getRawUserInfo): Return new rawUserInfo field.
17750 (getUserInfo): Removed FIXME comment.
17751 (getRawPath): Return new rawPath field.
17752 (getPath): Removed FIXME comment.
17753 (getRawQuery): Return new rawQuery field.
17754 (getQuery): Removed FIXME comment.
17755 (getRawFragment): Return new rawFragment field.
17756 (getFragment): Removed FIXME comment.
17758 2004-03-20 Michael Koch <konqueror@gmx.de>
17760 * java/net/URLConnection.java: Merged copyright year with classpath.
17762 2004-03-20 Norbert Frese <postfach@nfrese.net>
17764 * gnu/java/rmi/server/RMIIncomingThread.java: New file.
17765 * gcc/libjava/gnu/java/rmi/server/UnicastConnection.java:
17766 Create a new RMIObjectOuputStream/RMIObjectInputStream for every
17768 (getObjectInputStream): Return object reference, throw IOException if null.
17769 (startObjectInputStream): Create new RMIObjectInputStream on top of 'din'.
17770 (getObjectOutputStream): Return object reference, throw IOException if null.
17771 (startObjectOutputStream): Create new RMIObjectOutputStream on top of 'dout'.
17772 * gcc/libjava/gnu/java/rmi/server/UnicastConnectionManager.java:
17773 (UnicastConnectionManager): Throw RemoteException if port is not available.
17774 (getInstance): Throw RemoteException.
17775 (run): Lookup client host and attach it to new RMIIncomingThread for later retrieval.
17776 * gcc/libjava/gnu/java/rmi/server/UnicastRef.java:
17777 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
17778 Collect Exceptions which are returned by a rmi-call and fix void returns.
17779 * gcc/libjava/gnu/java/rmi/server/UnicastRemoteCall.java:
17780 Start a new RMIObjectInputStream/RMIObjectOutputStream for every rmi-message.
17781 * gcc/libjava/gnu/java/rmi/server/UnicastServer.java:
17782 (dispatch): Answer ping messages which are sent by other java implementions.
17783 (incomingMessageCall): Start a new RMIObjectInputStream/RMIObjectOutputStream
17784 for every rmi-message and fix void return problems.
17785 * gcc/libjava/gnu/java/rmi/server/UnicastServerRef.java
17786 (UnicastServerRef): Throw RemoteException.
17787 (exportObject): Find the class up the class hierarchy which has a _Stub generated by rmic.
17788 In some situations it is necessary to export a subclass of the class which has the _Stub.
17789 For instance when the class with has the _Stub is abstract.
17790 (findStubSkelClass): New method which looks for the class which has the _Stub.
17791 (getClientHost): Implementated.
17792 * gcc/libjava/java/rmi/server/RemoteServer.java
17793 (getClientHost): Implementated.
17794 * gcc/libjava/Makefile.am (rmi_java_source_files):
17795 Added gnu/java/rmi/server/RMIIncomingThread.java.
17796 * Makefile.in: Regenerated.
17798 2004-03-20 Michael Koch <konqueror@gmx.de>
17800 * java/net/InetAddress.java
17801 (getLocalHostname): Added javadoc.
17803 2004-03-19 Per Bothner <per@bothner.com>
17805 * configure.in: FILE variable overrides FLATFORM when linking
17806 natFileChannelXXX.cc.
17808 * gnu/java/nio/channels/natFileChannelEcos.cc (diag_write): Restored.
17809 (write): Call diag_write, as in old natFileDescriptorEcos.cc.
17811 2004-03-19 Per Bothner <per@bothner.com>
17813 * gnu/gcj/convert/Input_UnicodeBig.java: New class..
17814 * gnu/gcj/convert/Input_UnicodeLittle.java: New class.
17815 * Makefile.am: Update accordingly.
17816 * gnu/gcj/convert/IOConverter.java: Define "utf-16le" and "utf16be"
17817 as aliases for UnicodeLittle and UnicodeBig.
17819 2004-03-20 Mark Wielaard <mark@klomp.org>
17821 * native/jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
17822 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getVScrollbarWidth):
17823 Don't access ws when it is null.
17824 (Java_gnu_java_awt_peer_gtk_GtkTextAreaPeer_getHScrollbarHeight):
17827 2004-03-19 Jeroen Frijters <jeroen@frijters.net>
17829 * java/lang/ThreadGroup.java (list): Changed print to println.
17831 2004-03-19 Mark Wielaard <mark@klomp.org>
17833 * java/io/BufferedReader.java: Use <=, not <&eq; to make gjdoc
17836 2004-02-10 Randolph Chung <tausq@debian.org>
17838 * configure.in: Build java for hppa target.
17839 * configure: Regenerate.
17840 * libjava/configure.host (hppa-*): Add target.
17841 * libjava/sysdeps/pa/lock.h: New file.
17843 2004-03-19 Mark Wielaard <mark@klomp.org>
17845 Reported by Stephen Crawley
17846 * java/io/FilePermission.java (implies): Use String.length() -1 to
17847 access last char of String.
17849 2004-03-19 Michael Koch <konqueror@gmx.de>
17851 * java/awt/image/AffineTransformOp.java
17852 (AffineTransformOp): Made public.
17853 * javax/swing/JComponent.java
17854 (listenerList): Made protected.
17855 (accessibleContext): Likewise.
17856 * javax/swing/JList.java
17857 (valueChanged): Dont use internal fields of ListSelectionEvent.
17858 * javax/swing/JViewport.java
17859 (getView): Dont use internal fields of Component.
17860 (addImpl): Likewise.
17861 * javax/swing/Timer.java
17862 (isRunning): Made public.
17865 * javax/swing/UIDefaults.java
17866 (getInt): Made public.
17867 * javax/swing/plaf/basic/BasicListUI.java
17868 (mousePressed): Dont use internal fields of MouseEvent.
17869 (propertyChanged): Dont use internal fields of PropertyChangeEvent.
17870 * javax/swing/plaf/basic/BasicScrollBarUI.java
17871 (arrowIcon): Made static.
17872 * javax/swing/plaf/basic/BasicViewportUI.java
17873 (stateChanged): Dont use internal field on ChangeEvent.
17874 * javax/swing/text/JTextComponent.java
17875 (getUI): Call UIManager.getUI().
17876 (updateUI): Use getUI().
17878 2004-03-19 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17880 * verify.cc: Undef PC.
17882 2004-03-18 Michael Koch <konqueror@gmx.de>
17884 * java/nio/channels/spi/AbstractSelectableChannel.java
17885 (keys): Initialize at declaration.
17886 (locate): keys cant be null.
17888 (addSelectionKey): New method.
17889 (removeSelectionKey): New method.
17890 * java/nio/channels/spi/AbstractSelectionKey.java
17891 (cancel): Call AbstractSelector.cancelKey(SelectionKey key).
17892 * java/nio/channels/spi/AbstractSelector.java
17893 (provider): Javadoc added.
17894 (cancelledKeys): Javadoc added.
17895 (cancelKey): Javadoc added, add key to cancelledKeys.
17896 (deregister): Implemented.
17898 2004-03-18 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
17900 * gnu/java/nio/channels/natFileChannelPosix.cc (mapImpl): Cast
17901 MAP_FAILED to void *.
17903 2004-03-12 Graydon Hoare <graydon@redhat.com>
17905 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Clipping fixes.
17906 * javax/swing/JComponent.java (paint): Use persistent double buffer.
17907 * javax/swing/JList.java (ListListener): Revalidate on changes.
17908 * javax/swing/JScrollPane.java: Reimplement.
17909 * javax/swing/JViewport.java: Reimplement.
17910 * javax/swing/ScrollPaneLayout.java: Reimplement.
17911 * javax/swing/ViewportLayout.java: Tidy up.
17912 * javax/swing/plaf/basic/BasicButtonListener.java: Remove printlns.
17913 * javax/swing/plaf/basic/BasicScrollPaneUI.java: Reimplement.
17914 * javax/swing/plaf/basic/BasicSliderUI.java: Handle missing labels.
17915 * javax/swing/plaf/basic/BasicViewportUI.java: Implement in terms of
17916 backing store only.
17918 2004-03-11 Thomas Fitzsimmons <fitzsim@redhat.com>
17920 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
17921 (window_wm_protocols_filter): New function.
17922 (window_focus_in_cb): Remove function.
17923 (window_focus_out_cb): Likewise.
17924 (window_focus_or_active_state_change_cb): New function.
17925 (create): Add filter that removes WM_TAKE_FOCUS client messages.
17926 (connectSignals): Don't attach handlers to focus-in-event or
17927 focus-out-event signals. Handle notify signal.
17929 2004-03-11 David Jee <djee@redhat.com>
17931 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
17932 (gtkSetLabel): New native method declaration.
17933 (setLabel): Use gtkSetLabel.
17934 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
17935 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetLabel): New method.
17937 2004-03-10 Thomas Fitzsimmons <fitzsim@redhat.com>
17939 * gnu/java/awt/peer/gtk/GdkGraphics.java (setColor): Default to
17940 black when color argument is null.
17942 2004-03-10 Kim Ho <kho@redhat.com>
17944 * java/awt/Container.java: Remove check
17947 2004-03-10 Kim Ho <kho@redhat.com>
17949 * java/awt/Container.java: (visitChild):
17950 Remove candidate clip. Use the component
17952 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
17953 (handleEvent): Use the PaintEvent's clip.
17955 2004-03-10 Kim Ho <kho@redhat.com>
17957 * gnu/java/awt/peer/gtk/GtkComponentPeer.java:
17958 (handleEvent): Don't set the clip for the
17961 2004-03-09 Graydon Hoare <graydon@redhat.com>
17963 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGlyphVector.c:
17964 Fix double <-> fixed macros, reset font transform.
17965 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkClasspathFontPeerMetrics.c:
17968 2004-03-09Â Kim Ho <kho@redhat.com>
17970 * java/awt/Container.java: (visitChild): Move
17971 the x and y coordinate of the component rectangle
17972 to correct position.
17973 (handleEvent): Forward drag events to the pressed
17975 * javax/swing/plaf/basic/BasicScrollBarUI.java:
17977 (ArrowButtonListener::mousePressed): Stop the
17979 (mouseDragged): Implement.
17980 (TrackListener::mousePressed): Only react if
17981 the press doesn't occur on the thumb, otherwise
17982 just set the offset.
17983 (TrackListener::mouseReleased): Unset the isAdjusting
17985 (createIncreaseIcon): Switch icon.
17986 (createDecreaseIcon): Switch icon.
17987 (calculatePreferredSize): Use width.
17988 (getThumbBounds): Use the top as the lower value.
17989 (layoutVScrollBar): Switch the button locations.
17990 (paintIncreaseHighlight): Paint correct side of thumb.
17991 (paintDecreaseHighlight): ditto.
17992 (valueForYPosition): Use top as the lower value.
17993 * javax/swing/plaf/basic/BasicSliderUI.java:
17995 (mouseDragged): Implement.
17996 (mousePressed): Only react when the thumb isn't
17997 pressed, otherwise just set offset.
17998 (mouseReleased): Handle a release of the thumb.
17999 (scrollDueToClickInTrack): Stop the timer first.
18000 * javax/swing/JProgressBar.java:
18001 (setString): Fix change condition.
18002 * javax/swing/JSeparator.java:
18005 2004-03-08 David Jee <djee@redhat.com>
18007 * java/awt/image/AffineTransformOp.java:
18008 (filter): Use Graphics2D interface instead of directly using the
18009 GdkGraphics2D peer.
18011 2004-03-05 David Jee <djee@redhat.com>
18013 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
18014 (handleEvent): Action events are generated upon MOUSE_RELEASED.
18015 * java/awt/Container.java
18016 (acquireComponentForMouseEvent): Fixed.
18017 (handleEvent): Fixed.
18018 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
18019 (state_to_awt_mods_with_button_states): New method.
18020 (pre_event_handler): Fixed mouse event generation.
18022 2004-03-05 Olga Rodimina <rodimina@redhat.com>
18024 gnu/java/awt/peer/gtk/GdkGraphics2D.java
18025 (GdkGraphics2D (BufferedImage)): Initialize
18026 pixmap associated with specified BufferedImage.
18027 (setPaint): Changed implementation of Texture
18028 Paint to use AffineTransformOp.
18029 * java/awt/image/AffineTransformOp.java
18030 (createCompatibleDestRaster): Throw RasterFormatException
18031 if resulting width or height of raster is 0.
18033 2004-03-04 Olga Rodimina <rodimina@redhat.com>
18035 * java/awt/image/AffineTransformOp.java:
18036 Removed unnecessary field interpolationType.
18037 Formatted some of the lines to be consistent with
18039 (AffineTransformOp): Create new RenderingHints
18040 containing specified interpolation type.
18041 (createCompatibleDestImage): Implemented.
18042 (createCompatibleDestRaster): Implemented.
18043 (filter): Implemented.
18044 (getBounds2D(BufferedImage)): Implemented.
18045 (getBounds2D(Raster)): Implemented.
18046 (getInterpolationType): Get interpolation value from
18049 2004-03-04 David Jee <djee@redhat.com>
18051 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
18052 (setFont): Check if child peers are null.
18054 2004-03-04 Graydon Hoare <graydon@redhat.com>
18056 * testsuite/lib/libjava.exp (libjava_find_lib): Don't include
18057 .libs in -L option.
18058 (libjava_arguments): Add new libraries to argument list.
18060 2004-03-02 Olga Rodimina <rodimina@redhat.com>
18062 * Makefile.am: Added java/awt/image/AffineTransformOp.java
18063 * Makefile.in: Re-generated.
18064 * java/awt/image/AffineTransformOp.java: New Class.
18066 2004-03-01 Olga Rodimina <rodimina@redhat.com>
18068 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18069 (setPaint): Interpret correctly TexturePaint's
18071 (drawImage): Fixed scale factors of the affine
18074 2004-02-27 David Jee <djee@redhat.com>
18076 * gnu/java/awt/peer/gtk/GdkGraphics.java
18077 (GdkGraphics(Component)): Inherit font from component.
18078 (drawString): Use font style.
18079 * gnu/java/awt/peer/gtk/GtkCheckboxPeer.java
18080 (gtkSetFont): New native method declaration.
18081 (setFont): New method.
18082 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
18083 (gtkSetFont): New native method declaration.
18084 (setFont): Call new native method gtkSetFont.
18085 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
18086 (setFont): For all child components who do not their fonts set,
18087 set their peers' fonts with this container's font.
18088 * gnu/java/awt/peer/gtk/GtkLabelPeer.java:
18089 Move all native method declarations to the top for readability.
18090 (gtkSetFont): New native method declaration.
18091 (setFont): New method.
18092 * java/awt/Component.java
18093 (setFont): Invalidate after setting the font.
18094 * java/awt/Container.java
18095 (invalidateTree): New method.
18096 (setFont): Invalidate the container tree after setting the font.
18097 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
18098 (Java_gnu_java_awt_peer_gtk_GdkGraphics_drawString): Use font style.
18099 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkCheckboxPeer.c
18100 (Java_gnu_java_awt_peer_gtk_GtkCheckboxPeer_gtkSetFont): New method.
18101 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18102 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkSetFont): New method.
18103 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkLabelPeer.c
18104 (Java_gnu_java_awt_peer_gtk_GtkLabelPeer_gtkSetFont): New method.
18106 2004-02-27 Olga Rodimina <rodimina@redhat.com>
18108 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18109 (updateBufferedImage): New helper function.
18110 Updates BufferedImage in memory if it was changed.
18111 (draw): changed to update BufferedImage in memory after
18112 this drawing operation
18114 (draw3DRect): Ditto.
18115 (fill3DRect): Ditto.
18116 (clearRect): Ditto.
18117 (drawRaster): Ditto.
18118 (drawImage) : Ditto. Update only in case of GtkOffScreenImage with
18119 no affine transformation.
18120 (drawGlyphVector): Ditto.
18122 2004-02-26 Olga Rodimina <rodimina@redhat.com>
18124 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18125 (isBufferedImageGraphics): New Helper function.
18126 Returns true if this graphics2d can be used to draw
18127 into buffered image and false otherwise.
18128 (updateImagePixels): New Helper function.
18129 Updates pixels in the BufferedImage.
18130 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c
18131 (getImagePixels): New function. Returns pixels
18132 of the buffered image associated with
18135 2004-02-26 David Jee <djee@redhat.com>
18137 * java/awt/BorderLayout.java
18138 (layoutContainer): Fix width and height calculations to ensure
18139 that they're non-negative.
18140 * java/awt/Component.java
18141 (setBackground): If c is null, inherit from closest ancestor whose
18142 background color is set.
18144 2004-02-26 Kim Ho <kho@redhat.com>
18146 * Makefile.am: Add new files.
18147 * Makefile.in: Re-generate.
18148 * javax/swing/JProgressBar.java:
18149 (JProgressBar(int, int int)): Throw
18150 IllegalArgumentException if orientation is
18152 (JProgressBar(BoundedRangeModel)): Create
18153 ChangeListener and register it. UpdateUI.
18154 (getChangeListeners): Implement.
18155 (setModel): Reset ChangeListener.
18156 * javax/swing/JScrollBar.java: Implement.
18157 * javax/swing/JSeparator.java: Implement.
18158 * javax/swing/JSlider.java:
18159 (JSlider(int, int, int, int)): Throw
18160 IllegalArgumentException if orientation
18162 (getChangeListeners): Fix method name.
18163 * javax/swing/SwingUtilities.java:
18164 (layoutCompoundLabel): If there is no text,
18165 set the text rectangle dimensions to 0.
18166 * javax/swing/plaf/basic/BasicButtonUI.java:
18167 (paint): If there is no text, don't paint it.
18168 * javax/swing/plaf/basic/BasicScrollBarUI.java:
18170 * javax/swing/plaf/basic/BasicSeparatorUI.java:
18172 * javax/swing/plaf/basic/BasicSliderUI.java:
18173 (propertyChange): If the model changes, change
18174 the listeners accordingly.
18176 2004-02-25 Graydon Hoare <graydon@redhat.com>
18178 * javax/swing/AbstractButton.java: Add "final" qualifiers.
18179 * javax/swing/JList.java: Reimplement.
18180 * javax/swing/DefaultListSelectionModel.java: Reimplement.
18181 * javax/swing/plaf/basic/BasicListUI.java: Reimplement.
18182 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add "purple" values.
18183 * javax/swing/ListModel.java: Javadoc.
18184 * javax/swing/ListSelectionModel.java: Add missing methods.
18185 * javax/swing/AbstractListModel.java: Javadoc and corrections.
18186 * javax/swing/DefaultListModel.java: Javadoc and corrections.
18187 * javax/swing/ListModel.java: Javadoc and corrections.
18188 * javax/swing/DefaultListCellRenderer.java: Minor tidying.
18190 2004-02-25 David Jee <djee@redhat.com>
18192 * gnu/java/awt/peer/gtk/GtkFontPeer.java
18193 (GtkFontPeer): Change default size to 12.
18194 * gnu/java/awt/peer/gtk/GtkToolkit.java
18195 (getFontPeer): Change default size to 12.
18196 (getClasspathFontPeer): Likewise. Set default name to "Default".
18197 * java/awt/Font.java
18198 (Font(Map)): Call Font(String,Map).
18199 (Font(String,Map)): If attrs is null, initialize it as an empty
18200 HashMap, which will ensure that the Font will get default attributes.
18202 2004-02-25 David Jee <djee@redhat.com>
18204 * gnu/java/awt/peer/gtk/GtkFontPeer.java
18205 (GtkFontPeer(String,int)): Call the new constructor with size 1.
18206 (GtkFontPeer(String,int,int)): New constructor with size attribute.
18207 * gnu/java/awt/peer/gtk/GtkToolkit.java
18208 (getFontPeer(String,int)): Call the new overload method with size 1.
18209 (getFontPeer(String,int,int)): New method. Overloaded with size
18211 (getClasspathFontPeer): Set the size of the font.
18213 2004-02-24 Olga Rodimina <rodimina@redhat.com>
18215 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18216 (bimage): New field.
18217 (GdkGraphics2D): New Constructor. Constructs Graphics
18218 object that can be used to draw into the Buffered Image.
18219 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18220 (GdkGraphicsEnvironment): Fixed to include public
18222 (createGraphics): Implemented.
18223 * gnu/java/awt/peer/gtk/GtkToolkit.java
18224 (getLocalGraphicsEnvironment): Implemented.
18225 * java/awt/GraphicsEnvironment.java:
18226 (getLocalGraphicsEnvironment): Implemented.
18227 * java/awt/image/BufferedImage.java:
18228 (createGraphics): Implemented.
18230 2004-02-24 David Jee <djee@redhat.com>
18232 * java/awt/Component.java
18233 (eventTypeEnabled): Add MOUSE_MOVED and MOUSE_DRAGGED event types.
18234 * java/awt/Container.java
18235 (addNotifyContainerChildren): Fix event enabling.
18237 2004-02-23 Olga Rodimina <rodimina@redhat.com>
18239 * Makefile.am: Added
18240 gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java
18241 * Makefile.in: Re-generated.
18242 * gnu/java/awt/peer/gtk/GdkGraphicsEnvironment.java:
18245 2004-02-19 Kim Ho <kho@redhat.com>
18247 * Makefile.am: Add BasicProgressBarUI
18248 * Makefile.in: Regenerate.
18249 * javax/swing/JProgressBar.java:
18251 * javax/swing/plaf/basic/BasicLookAndFeel.java
18252 Add constants for JProgressBar.
18253 * javax/swing/plaf/basic/BasicProgressBarUI.java
18255 * javax/swing/plaf/basic/BasicSliderUI.java
18257 (calculateGeometry): New method
18258 (paint): Remove unnecessary size calculations.
18260 2004-02-18 Olga Rodimina <rodimina@redhat.com>
18262 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
18263 (drawRaster): Fixed small error that caused
18264 imageToUser transformation to be set incorrectly.
18265 (toString): Implemented.
18267 2004-02-18 David Jee <djee@redhat.com>
18269 * java/awt/CardLayout.java
18270 (addLayoutComponent): Show the first component added as the default.
18271 (removeLayoutComponent): After removing, show the next component.
18272 (gotoComponent): If there is only one component, show it and return.
18274 2004-02-18 Kim Ho <kho@redhat.com>
18276 * javax/swing/JSlider.java: Re-order
18278 * javax/swing/JLabel.java: Re-order
18280 * javax/swing/JComponent.java:
18281 (addPropertyChangeListener):
18283 (removePropertyChangeListener):
18285 (firePropertyChangeEvent):
18288 2004-02-17 David Jee <djee@redhat.com>
18290 * java/awt/Component.java
18291 (show): Dispatch ComponentEvent via system event queue.
18294 (resize): Likewise.
18295 (reshape): Likewise.
18296 * java/awt/Window.java
18297 (setBoundsCallback): Likewise.
18299 2004-02-17 David Jee <djee@redhat.com>
18301 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
18302 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_setNativeBounds):
18303 Use gtk_widget_set_size_request() instead of the deprecated
18304 gtk_widget_set_usize().
18306 2004-02-17 Kim Ho <kho@redhat.com>
18308 * javax/swing/JSlider.java: Fix comments and
18309 make property strings constants.
18310 (createStandardLabels): Use the labels
18311 preferred size as bounds.
18312 * javax/swing/plaf/basic/BasicSliderUI.java
18314 (ScrollHandler::actionPerformed): Don't
18315 calculate the timer stop value. Let the
18316 MouseListeners find the stop location.
18317 (getPreferredHorizontalSize): Re-implement.
18318 (getPreferredVerticalSize): ditto.
18319 (getMinimumHorizontalSize): ditto.
18320 (getMinimumVerticalSize): ditto.
18321 (getPreferredSize): ditto.
18322 (getMinimumSize): ditto.
18323 (getMaximumSize): ditto.
18324 (paintTicks): Use doubles to find the
18326 (paintHorizontalLabel):Â Use preferredSize
18327 as initial width and height.
18328 (paintVerticalLabel): ditto.
18330 2004-02-17 Kim Ho <kho@redhat.com>
18332 * javax/swing/JLabel.java: Changed
18333 property strings to constants.
18334 (DISPLAYED_MNEMONIC_INDEX_CHANGED_PROPERTY):
18336 (setText): Change mnemonic index if
18338 (setDisplayedMnemonicIndex): Fire property
18340 (getDisplayedMnemonicIndex): Remove check
18341 against short text.
18343 2004-02-17 Olga Rodimina <rodimina@redhat.com>
18345 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18346 (drawImage(img,xform,obs)): Invert xform before
18347 passing the xform to cairo.
18348 (drawImage(img,x,y,bgcolor,obs)): Implemented.
18349 (drawImage (img,x,y,w,h,bgcolor,obs)): Partly
18351 (drawImage (img,x,y,w,h,obs)): Implemented.
18352 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,
18353 bgcolor,obs)): Partly implemented.
18354 (drawImage (img,dx1,dy1,dx2,dy2,sx1,sy1,sx2,sy2,obs)):
18356 * java/awt/image/BufferedImage.java:
18357 (copyData): if dest is null, create raster with same
18358 dimensions as the current image.
18360 2004-02-16 Graydon Hoare <graydon@redhat.com>
18362 * javax/swing/plaf/basic/BasicLabelUI.java
18363 (getPreferredSize): Use layoutCL.
18364 * javax/swing/plaf/basic/BasicGraphicsUtils.java
18365 (getPreferredButtonSize): Start with empty view rect, layout using
18366 component's preferred alignment.
18367 * javax/swing/plaf/basic/BasicLookAndFeel.java: Add some Label and
18370 2004-02-16 David Jee <djee@redhat.com>
18372 * java/awt/Component.java
18373 (show): Dispatch COMPONENT_SHOWN ComponentEvent.
18374 (hide): Dispatch COMPONENT_HIDDEN ComponentEvent.
18375 (move): Erase old bounds and repaint new bounds. Dispatch
18376 COMPONENT_MOVED ComponentEvent.
18377 (resize): Erase old bounds and repaint new bounds. Dispatch
18378 COMPONENT_RESIZED ComponentEvent.
18379 (reshape): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
18381 * java/awt/Window.java
18382 (setBoundsCallback): Dispatch COMPONENT_RESIZED and COMPONENT_MOVED
18385 2004-02-16 Olga Rodimina <rodimina@redhat.com>
18387 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
18388 (setRenderingHint): Added implementation of
18389 Interpolation rendering hints.
18390 (setRenderingHints): Ditto.
18391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics2D.c:
18392 (drawPixels): fixed to allow user to choose type
18393 of filtering that should be used when displaying images.
18394 (cairoSurfaceSetFilter): New method. Sets filter type for
18395 interpolation of pixel values.
18397 2004-02-16 David Jee <djee@redhat.com>
18399 * java/awt/GridBagLayout.java
18400 (calcCellSizes): Rows or columns with zero sizes should still be
18401 considered for extra space distribution.
18403 2004-02-16 Kim Ho <kho@redhat.com>
18405 * javax/swing/JLabel.java: Re-implement.
18406 * javax/swing/plaf/basic/BasicLabelUI.java
18408 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18411 2004-02-16 Kim Ho <kho@redhat.com>
18413 * javax/swing/JSlider.java: Fix indentation and comments.
18414 (setModel): Remove null check to conform with Sun's.
18415 (setOrientation): Throw exception if not
18416 HORIZONTAL or VERTICAL.
18417 (getInverted): Use private variable instead of
18418 ComponentOrientation.
18419 (setInverted): ditto.
18420 * javax/swing/plaf/basic/BasicSliderUI.java:
18421 Fix indentation and comments.
18422 (propertyChange): Remove check for inverted slider, handle
18424 (getMinimumSize): Return preferred size.
18425 (getMaximumSize): ditto.
18426 (calculateFocusRect): Don't relocate rectangle.
18427 (drawInverted): Return XOR of the slider's inversion and
18428 the component's orientation.
18429 (paint): Update leftToRightCache
18431 2004-02-13 David Jee <djee@redhat.com>
18433 * java/awt/GridBagLayout.java
18434 (GetLayoutInfo): Fix weight and size distribution. Relocate repeated
18435 code to helper methods.
18436 (sortBySpan): New helper method.
18437 (distributeSizeAndWeight): Likewise.
18438 (calcCellWeights): Likewise.
18439 (calcCellSizes): Add comments.
18441 2004-02-13 David Jee <djee@redhat.com>
18443 * java/awt/Component.java
18444 (show): Only do something if component is invisible at the moment.
18445 (hide): Only do something if component is visible at the moment.
18446 (reshape): If lightweight, erase old bounds and repaint new bounds.
18448 2004-02-13 Kim Ho <kho@redhat.com>
18450 * Makefile.am: Updated for new file.
18451 * Makefile.in: Regenerated.
18452 * javax/swing/JSlider.java: Reimplement.
18453 * javax/swing/SwingUtilities.java
18454 (layoutCompoundLabel): Use icon height
18456 (paintComponent): Implement.
18457 * javax/swing/plaf/basic/BasicLookAndFeel.java:
18458 Add JSlider defaults.
18459 * javax/swing/plaf/basic/BasicSliderUI.java:
18460 Implement. New file.
18462 2004-03-17 Michael Koch <konqueror@gmx.de>
18464 * gnu/java/net/PlainDatagramSocketImpl.java
18465 (RECEIVE_LOCK): New member field.
18466 (SEND_LOCK): New member field.
18467 (send0): New method.
18468 (send): Synchronize on SEND_LOCK.
18469 (receive0): New method.
18470 (receive): Synchronize on RECEIVE_LOCK.
18471 * gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
18472 gnu/java/net/natPlainDatagramSocketImplPosix.cc,
18473 gnu/java/net/natPlainDatagramSocketImplWin32.cc
18474 (send0): Renamed from send.
18475 (receive0): Renamed from receive.
18476 2004-03-17 Michael Koch <konqueror@gmx.de>
18478 * gnu/java/net/natPlainSocketImplPosix.cc
18479 (write): Just call write(jbyteArray, offset, len).
18480 (read): Just call read(jbyteArray, offset, len).
18482 2004-03-16 Michael Koch <konqueror@gmx.de>
18484 * javax/swing/JTabbedPane.java
18485 (serialVersionUID): New field.
18487 2004-03-16 Norbert Frese <postfach@nfrese.net>
18489 * java/net/InetAddress.java
18490 (getByName): Handle hostname == "" case.
18492 2004-03-16 Dalibor Topic <robilad@kaffe.org>
18494 Reported by: Adam Heath <doogie@debian.org>
18495 * gnu/javax/rmi/CORBA/DelegateFactory.java (getInstance): Use context
18498 2004-03-15 Michael Koch <konqueror@gmx.de>
18500 * java/util/Locale.java: Reverting my last patch
18501 and add a comment why the original version was okay.
18503 2004-03-14 Andreas Tobler <a.tobler@schweiz.ch>
18505 * gnu/java/nio/channels/natFileChannelPosix.cc: Implement
18506 munmap_adaptor and msync_adaptor for older POSIX_C_SOURCES specs.
18507 (MappedByteBufferImpl::unmapImpl): Use munmap_adaptor.
18508 (MappedByteBufferImpl::forceImpl): Use msync_adptor.
18510 2004-03-12 Michael Koch <konqueror@gmx.de>
18512 * java/text/DateFormatSymbols.java: Fixed file name in copyright.
18514 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
18516 * java/net/URI.java (toURL): Implemented.
18518 2004-03-12 Ito Kazumitsu <ito.kazumitsu@hitachi-cable.co.jp>
18520 * java/net/URI.java
18521 (URI_REGEXP) updated to contain scheme specific part.
18522 (SCHEME_SPEC_PART_GROUP) new constant.
18523 (AUTHORITY_GROUP, PATH_GROUP, QUERY_GROUP, FRAGMENT_GROUP)
18524 updated to make room for SCHEME_SPEC_PART_GROUP.
18525 (parseURI) parse scheme specific part.
18526 (resolve, isAbsolute, isOpaque, getRawSchemeSpecificPart,
18527 getSchemeSpecificPart, getAuthority, getUserInfo, getPath,
18528 getQuery, getFragment) implemented.
18530 2004-03-12 Dalibor Topic <robilad@kaffe.org>
18532 * libraries/javalib/java/net/URI.java
18533 partially implemented using java.util.regex.
18534 (URI_REGEXP) new constant. Used to parse URIs.
18535 (SCHEME_GROUP) new constant representing index of scheme group
18537 (AUTHORITY_GROUP) new constant representing index of authority
18538 group in parsed URI.
18539 (PATH_GROUP) new constant representing index of path group in
18541 (QUERY_GROUP) new constant representing index of query group in
18543 (FRAGMENT_GROUP) new constant representing index of fragment
18544 group in parsed URI.
18545 (getURIGroup) new static utility method.
18546 (parseURI) implemented.
18547 (quote) stub for new static utility method.
18548 (quoteAuthority) stub for new static utility method.
18549 (quoteHost) stub for new static utility method.
18550 (quotePath) stub for new static utility method.
18551 (quoteUserInfo) stub for new static utility method.
18553 (create) don't throw URISyntaxException. Implemented.
18554 (toString) implemented.
18556 2004-03-12 Michael Koch <konqueror@gmx.de>
18558 * java/net/HttpURLConnection.java
18559 (getResponseCode): Fix another typo in javadoc.
18561 2004-03-11 Michael Koch <konqueror@gmx.de>
18563 * java/util/logging/Level.java
18564 (parse): Use String.equals() instead of ==.
18566 2004-03-11 Michael Koch <konqueror@gmx.de>
18568 * gnu/java/net/protocol/jar/Connection.java
18569 (getContentLength): New method.
18571 2004-03-11 Michael Koch <konqueror@gmx.de>
18573 * gnu/java/net/PlainSocketImpl.java:
18574 Reformated to merge better with classpath's version.
18576 2004-03-11 Michael Koch <konqueror@gmx.de>
18578 * java/util/Locale.java
18579 (getISO3Language): Use String.equals() instead of ==.
18580 (getISO3Country): Likewise.
18582 2004-03-11 Dalibor Topic <robilad@kaffe.org>
18584 * java/text/AttributedString.java
18585 (addAttribute(AttributedCharacterIterator.Attribute,Object,int,int)):
18586 Use HashMap instead of Hashtable since value can be null, and
18587 you can not store a null value in a Hashtable.
18589 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
18591 * java/text/AttributedStringIterator.java
18592 (getAllAttributesKey): Return only keys concerned
18593 by the current iterator.
18594 (getAttributes): Use strict inequality for
18597 2004-03-11 Michael Koch <konqueror@gmx.de>
18599 * java/net/HttpURLConnection.java:
18600 Fixed typo in javadoc.
18602 2004-03-11 Guilhem Lavaux <guilhem@kaffe.org>
18604 * java/io/BufferedInputStream.java (marktarget): New field for max
18606 (CHUNKSIZE): New constant for incremental mark buffer allocation.
18607 (mark): Use new fields.
18609 (read(byte[],int,int)): Likewise.
18611 (refill): Likewise.
18613 2004-03-11 Mark Wielaard <mark@klomp.org>
18615 * java/beans/BeanDescriptor.java (BeanDescriptor):
18616 Set the FeatureDescriptor programmatic name.
18618 2004-03-11 Michael Koch <konqueror@gmx.de>
18620 * gnu/java/nio/channels/natFileChannelEcos.cc: Totally reworked.
18621 This file was was just copied form java/io/natFileDescriptorEcos.cc
18622 and never changed to compile correctly.
18624 2004-03-11 Michael Koch <konqueror@gmx.de>
18626 * gnu/java/nio/PipeImpl.java
18627 (SourceChannelImpl): Made final.
18628 (read): Implemented.
18629 (SinkChannelImpl): Made final.
18630 (write): Implemented.
18632 2004-03-11 Michael Koch <konqueror@gmx.de>
18634 * gnu/java/net/PlainDatagramSocketImpl.java:
18635 Reformated to match classpath's version more.
18637 2004-03-11 Michael Koch <konqueror@gmx.de>
18639 * gnu/java/awt/peer/ClasspathFontPeer.java:
18640 Fixed javadoc to be correct xhtml.
18641 * gnu/java/awt/peer/gtk/GtkArgList.java
18642 (add): Use Boolean.valueOf() instead of new Boolean().
18644 2004-03-09 Michael Koch <konqueror@gmx.de>
18646 * java/lang/Thread.java
18647 (runnable): Moved around.
18648 (daemon): Renamed from daemon_flag.
18649 (contextClassLoader): Renamed from context_class_loader.
18650 (Thread): Reordered constructors.
18651 (activeCount): Use group directly.
18652 (destroy): Make it a java method. Throw NoSuchMethodError like Sun does.
18653 (holdsLock): Reworked javadoc.
18654 (setDaemon): Reworked.
18655 * java/lang/natThread.cc
18656 (destroy): Removed.
18658 2004-03-08 Anthony Green <green@redhat.com>
18660 * Makefile.am: Build property resource files into libgcj.
18661 * Makefile.in: Rebuilt.
18662 * java/util/regex/Matcher.java, java/util/regex/Pattern.java,
18663 java/util/regex/PatternSyntaxException.java,
18664 gnu/regexp/CharIndexed.java,
18665 gnu/regexp/CharIndexedCharArray.java,
18666 gnu/regexp/CharIndexedInputStream.java,
18667 gnu/regexp/CharIndexedReader.java,
18668 gnu/regexp/CharIndexedString.java,
18669 gnu/regexp/CharIndexedStringBuffer.java, gnu/regexp/RE.java,
18670 gnu/regexp/REException.java,
18671 gnu/regexp/REFilterInputStream.java,
18672 gnu/regexp/REFilterReader.java, gnu/regexp/REMatch.java,
18673 gnu/regexp/REMatchEnumeration.java, gnu/regexp/RESyntax.java,
18674 gnu/regexp/REToken.java, gnu/regexp/RETokenAny.java,
18675 gnu/regexp/RETokenBackRef.java, gnu/regexp/RETokenChar.java,
18676 gnu/regexp/RETokenEnd.java, gnu/regexp/RETokenEndSub.java,
18677 gnu/regexp/RETokenLookAhead.java,
18678 gnu/regexp/RETokenOneOf.java, gnu/regexp/RETokenPOSIX.java,
18679 gnu/regexp/RETokenRange.java, gnu/regexp/RETokenRepeated.java,
18680 gnu/regexp/RETokenStart.java,
18681 gnu/regexp/RETokenWordBoundary.java,
18682 gnu/regexp/UncheckedRE.java: Files merged from GNU Classpath.
18684 2004-03-03 Per Bothner <per@bothner.com>
18686 * java/nio/channels/Channels.java (newInputStream, newOutputStream):
18687 Optimize when argument is a FileChannelImpl.
18688 (newInputStream(FileChannelImpl), newOutputStream(FileChannelImpl)):
18689 New native methods.
18690 * java/nio/channels/natChannels.cc: New file for new native methods.
18691 * Makefile.am: Update accordingly.
18693 2004-03-02 Jan Hubicka <jh@suse.cz>
18695 * configure.host: Pass -fno-omit-frame-pointer for i386.
18696 * configure.in: Likewise.
18697 * configure: Regenerate.
18699 2004-03-01 Per Bothner <per@bothner.com>
18701 * java/lang/natPosixProcess.cc (startProcess): Fix thinko.
18703 2004-02-29 Per Bothner <per@bothner.com>
18705 * java/nio/channels/FileChannelImpl.java: Moved to package
18706 gnu/java/nio/channels, since we need to refer to it from java.io.
18707 * java/nio/channels/natFileChannelImpl.cc: Removed file.
18708 * gnu/java/nio/channels/FileChannelImpl.java: New class, renamed
18709 from java/nio/channels. Don't depend on FileDescriptor.
18710 (in, out, err): New static fields.
18712 (SET, CUR, READ, WRITE, APPEND, EXCL, SYNC, DSYNC): Moved constants
18713 from FileDescriptor.
18714 (by): Removed MappedByteBuffer field.
18715 (map): New working implementation.
18716 * gnu/java/nio/channels/natFileChannelPosix.cc: New file, though
18717 some code "ported" from natFileDescriptoPosix.cc.
18718 * gnu/java/nio/channels/natFileChannelEcos.cc: Likewise.
18719 * gnu/java/nio/channels/natFileChannelWin32.cc Likewise.
18720 * java/io/FileDescriptor.java: Implement on top of FileChannel.
18721 Remove native methods.
18722 * Makefile.am, configure.in: Updated accordingly.
18724 * gnu/java/nio/FileLockImpl.java (fd): Remove field, replacing it by:
18725 (ch): New FileChannelImpl field. Update constructor to match.
18726 (releaseImpl): Remove native method. Instead ...
18727 (release): Call unlock on channel.
18728 * gnu/java/nio/natFileLockImpl.cc: Removed file.
18730 * java/io/natFileDescriptorEcos.cc: Remove file.
18731 * java/io/natFileDescriptorPosix.cc: Remove file.
18732 * java/io/natFileDescriptorWin32.cc: Remove file.
18733 * java/io/FileInputStream.java (ch): Change type to FileChannelImpl.
18734 (<init>(File)): Allocate a FileChannelImpl, not a FileDescriptor.
18735 (<init>(FileChannelImpl)): New package-private constructor.
18736 (<init>(FileDescriptor)): Extract FileChannelImpl from arg.
18737 (available, close, read, skip): Implement using FileChannelImpl.
18738 (getFD): Allocate FileDescriptor if needed.
18739 (getChannel): Is now trivial.
18740 * java/io/FileOutputStream.java: Corresponding changes.
18741 * java/io/RandomAccessFile.java: Corresponding changes.
18743 * java/nio/MappedByteBuffer.java: (forceImpl, isLoadedImpl, loadImpl,
18744 unmapImpl): New dummy methods, to be overridden by subclass.
18745 (finalize, isLoaded, load, force): New methods.
18746 * java/nio/MappedByteBufferImpl.java: More-or-less rewrite.
18747 Now works, at least for read mapping.
18749 * java/lang/natPosixProcess.cc (startProcess): Implement standard
18750 streams using FileChannelImpl, not FileDescriptor.
18751 * java/lang/natWin32Process.cc (startProcess): Likewise.
18753 2004-02-28 Michael Koch <konqueror@gmx.de>
18755 * java/io/ObjectInputStream.java: Compile fix, damn I commited the
18758 2004-02-28 Guilhem Lavaux <guilhem@kaffe.org>
18760 * java/io/ObjectInputStream.java
18761 (readClassDescriptor): Keep elements of the mapping non null.
18762 (checkTypeConsistency): New method.
18763 (readFields): Fixed main loop and base logic. Small reindentation.
18764 * java/io/ObjectStreamField.java
18765 (lookupField): New method to update the field reference.
18766 (checkFieldType): New method.
18767 * java/io/ObjectStreamClass.java
18768 (setClass, setFields): Call lookupField when building the field
18769 database. Check the real field type.
18771 2004-02-28 Michael Koch <konqueror@gmx.de>
18773 * java/nio/ByteOrder.java
18774 (nativeOrder): Use equals() to compare strings.
18776 2004-02-26 Michael Koch <konqueror@gmx.de>
18778 * gnu/java/nio/FileLockImpl.java
18779 (finalize): Made protected.
18780 * java/nio/channels/FileChannel.java
18781 (MapMode.READ_ONLY): Made final.
18782 (MapMode.READ_WRITE): Made final.
18783 (MapMode.PRIVATE): Made final.
18784 * java/nio/channels/SocketChannel.java
18785 (open): Simplified code.
18786 * java/nio/channels/spi/AbstractSelectableChannel.java
18787 (registered): Unused, removed.
18788 (keyFor): Check channel is open, only locate key
18789 and not add a new one.
18790 (register): Don't delete attachments.
18792 2004-02-26 Michael Koch <konqueror@gmx.de>
18794 * gnu/java/awt/ComponentDataBlitOp.java
18795 (INSTANCE): Made final.
18796 * gnu/java/awt/image/ImageDecoder.java:
18798 (cm): Unused, removed.
18800 2004-02-26 Michael Koch <konqueror@gmx.de>
18802 * gnu/java/nio/DatagramChannelImpl.java
18803 (send): Check if target address is resolved.
18805 2004-02-26 Michael Koch <konqueror@gmx.de>
18807 * Makefile.am: Generate and install headers for inner classes in
18808 java.nio.channels.Pipe and gnu.java.nio.PipeImpl.
18809 * Makefile.in: Regenerated.
18811 2004-02-24 Anthony Green <green@redhat.com>
18813 * java/lang/StringBuffer.java: No need to NULL out remainder of
18814 buffer since ensureCapacity_unsynchronized will have done this for
18817 2004-02-20 Michael Koch <konqueror@gmx.de>
18819 * gnu/java/net/protocol/jar/Handler.java
18820 (): Removed unneeded check for file != null. java.net.URL.getFile()
18821 returns an empty string but never null.
18823 2004-02-20 Michael Koch <konqueror@gmx.de>
18825 * gnu/gcj/convert/Convert.java
18826 (main): Use equals() to compare strings.
18828 2004-02-20 Michael Koch <konqueror@gmx.de>
18830 * javax/swing/AbstractButton.java: Made several constants final.
18831 (getRolloverSelectedIcon): Made public.
18832 (getSelectedIcon): Made public.
18834 2004-02-16 Per Bothner <per@bothner.com>
18836 * java/nio/CharBufferImpl.java: Inline super constructor.
18837 * java/nio/DoubleBufferImpl.java: Likewise.
18838 * java/nio/FloatBufferImpl.java: Likewise.
18839 * java/nio/IntBufferImpl.java: Likewise.
18840 * java/nio/LongBufferImpl.java: Likewise.
18841 * java/nio/ShortBufferImpl.java: Likewise.
18842 * java/nio/CharBuffer.java: Remove unused constructor.
18843 * java/nio/DoubleBuffer.java: Likewise.
18844 * java/nio/FloatBuffer.java: Likewise.
18845 * java/nio/IntBuffer.java: Likewise.
18846 * java/nio/LongBuffer.java: Likewise.
18847 * java/nio/ShortBuffer.java: Likewise.
18848 * java/nio/CharViewBufferImpl.java: New convenience constructor.
18849 Fix buggy call to super constructor.
18850 * java/nio/DoubleViewBufferImpl.java: Likewise.
18851 * java/nio/FloatViewBufferImpl.java: Likewise.
18852 * java/nio/IntViewBufferImpl.java: Likewise.
18853 * java/nio/LongViewBufferImpl.java: Likewise.
18854 * java/nio/ShortViewBufferImpl.java: Likewise.
18856 * java/nio/ByteBuffer.java (endian): Make non-private so other
18857 java.nio classes can inherit it.
18858 (<init>): Don't bother clearing array_offset.
18859 * java/nio/ByteBuffer.java (allocate): Re-implement using wrap.
18860 * java/nio/ByteBuffer.java (get(byte[],int,int)): Check underflow.
18861 Remove redundant test.
18863 * java/nio/ByteBufferImpl.java (asCharBuffer, asShortBuffer,
18864 asIntBuffer, asLongBuffer, asFloatBuffer, asDoubleBuffer):
18865 Use new XxxViewBufferImpl constructors.
18866 * java/nio/MappedByteBufferImpl.java: Likewise.
18867 * java/nio/DirectByteBufferImpl.java: Likewise.
18869 * java/nio/ByteBufferImpl.java: Remove one constructor.
18870 Inline super in remaining constructor.
18871 * java/nio/ByteBuffer.java: Remove unused constructor.
18873 * java/nio/ByteBufferImpl.java (shiftDown): New optimized method.
18875 * java/nio/ByteBufferImpl.java (get, put): Add array_offset.
18876 * java/nio/DirectByteBufferImpl.java (owner): New field.
18877 (offset): Remove unused field.
18878 (<init>): Modify one and add another constructor. Change callers.
18879 (allocateDirect): Removed - not used.
18880 (getImpl, putImpl): Make static and pass address explicitly,
18881 to make them useful for MappedByteBufferImpl.
18882 (get, put): Check for underflow. Modify for new getImpl.
18883 (getImpl): New native method where target is array.
18884 (get(byte[],int,int)): Use the above.
18885 (adjustAddress): New static native method.
18886 (slice, duplicate, asReadOnly): New implementations.
18887 * java/nio/natDirectByteBufferImpl.cc (getImpl, putImpl, shiftDown,
18888 adjustAddress): New or updated native methods.
18890 2004-02-15 Ito Kazumitsu <kaz@maczuka.gcd.org>
18892 * java/io/ObjectInputStream.java (readClassDescriptor): Avoid the
18893 overflow of fieldmapping.
18895 2004-02-14 Sascha Brawer <brawer@dandelis.ch>
18897 * javax/swing/undo/UndoManager.java: Re-written from scratch.
18899 2004-02-14 Per Bothner <per@bothner.com>
18901 * java/nio/channels/spi/AbstractInterruptibleChannel.java (close):
18902 Set closed before calling implCloseChannel, as in the spec.
18904 2004-02-09 Graydon Hoare <graydon@redhat.com>
18906 * javax/swing/ToggleButtonModel.java: Remove dead class.
18907 * javax/swing/plaf/basic/BasicDefaults.java: Remove dead class.
18908 * javax/swing/plaf/basic/BasicButtonListener.java: New class.
18909 * javax/swing/plaf/basic/BasicRootPaneUI.java: New class.
18910 * Makefile.am: Update for new and removed files.
18911 * Makefile.in: Regenerate.
18913 * gnu/java/awt/peer/gtk/GdkGraphics2D.java: Initialize default hints.
18914 * javax/swing/AbstractButton.java
18915 (AbstractButton): Initialize fields correctly in ctor.
18916 * javax/swing/JCheckbox.java
18917 (JCheckBox): Override painting flags.
18918 * javax/swing/DefaultButtonModel.java: Conform to sun.
18919 * javax/swing/JComponent.java (paint): Fill with background color
18921 (processComponentKeyEvent)
18922 (processFocusEvent)
18924 (processMouseMotionEvent): Remove event-consuming empty methods.
18925 (getUIClassID): Return "ComponentUI" not "JComponent"
18926 * javax/swing/JFrame.java: Remove some debugging chatter.
18927 (JFrame): Subscribe to window events.
18928 * javax/swing/JRadioButton.java
18929 (JRadioButton): Override painting flags.
18930 * javax/swing/JRootPane.java
18931 (JRootPane): Set background from UIDefaults.
18932 * javax/swing/JToggleButton.java
18933 (ToggleButtonModel): New inner class.
18934 (JToggleButton): Override layout alighment.
18935 * javax/swing/SwingUtilities.java:
18936 (getLocalBounds): Return width and height, not x and y.
18937 (calculateInnerArea): Use local bounds, not bounds.
18938 (layoutCompoundLabel): Provide overridden form.
18939 (layoutCompoundLabel): Correct bugs.
18940 * javax/swing/UIDefaults.java: Correct comment.
18941 * javax/swing/plaf/basic/BasicButtonUI.java:
18942 Move most logic into defaults, external listener.
18943 (paintIcon): Implement icon painting.
18944 (paint): Fix state painting to conform to changes in model.
18945 * javax/swing/plaf/basic/BasicCheckBoxUI.java:
18946 Remove most dead/wrong methods.
18947 (getDefaultIcon): Return defaults.getIcon("CheckBox.icon").
18948 * javax/swing/plaf/basic/BasicIconFactory.java:
18949 (DummyIcon): New class.
18950 (getMenuItemCheckIcon)
18951 (getMenuItemArrowIcon)
18953 (getCheckBoxMenuItemIcon)
18954 (getRadioButtonMenuItemIcon)
18955 (createEmptyFrameIcon): Return DummyIcons, not null.
18956 (getCheckBoxIcon): Implement an icon that looks like sun's.
18957 (getRadioButtonIcon): Implement an icon that looks like sun's.
18958 * javax/swing/plaf/basic/BasicLookAndFeel.java
18959 (initComponentDefaults): Fix impossible values, add some missing.
18960 * javax/swing/plaf/basic/BasicPanelUI.java (gap): Remove field.
18961 * javax/swing/plaf/basic/BasicRadioButtonUI.java:
18962 Remove most dead/wrong methods.
18964 (getDefaultIcon): New method.
18965 * javax/swing/plaf/basic/BasicToggleButtonUI.java:
18966 Remove most dead/wrong methods.
18967 * javax/swing/plaf/metal/MetalLookAndFeel.java
18968 (getDefaults): Return super.getDefaults(), not BasicDefaults.
18969 * jni/gtk-peer/gnu_java_awt_peer_gtk_GdkGraphics.c
18970 (Java_gnu_java_awt_peer_gtk_GdkGraphics_clearRect):
18971 Implement "clearing" as drawing, when on pixmap drawables.
18973 * javax/swing/JButton.java (getUIClassID):
18974 * javax/swing/JCheckBox.java (getUIClassID):
18975 * javax/swing/JEditorPane.java (getUIClassID):
18976 * javax/swing/JLabel.java (getUIClassID):
18977 * javax/swing/JList.java (getUIClassID):
18978 * javax/swing/JOptionPane.java (getUIClassID):
18979 * javax/swing/JPanel.java (getUIClassID):
18980 * javax/swing/JPasswordField.java (uiClassID):
18981 * javax/swing/JRadioButton.java (getUIClassID):
18982 * javax/swing/JRootPane.java (getUIClassID):
18983 * javax/swing/JScrollPane.java (getUIClassID):
18984 * javax/swing/JTabbedPane.java (getUIClassID):
18985 * javax/swing/JToggleButton.java (getUIClassID):
18986 * javax/swing/JTree.java (getUIClassID):
18987 * javax/swing/JViewport.java (getUIClassID):
18988 * javax/swing/text/JTextComponent.java (getUIClassID):
18989 Return "fooUI" not "Jfoo"
18991 2004-02-11 Michael Koch <konqueror@gmx.de>
18993 * java/net/DatagramSocket.java
18994 (setReuseAddress): Use Boolean.valueOf() instead of creating a new
18996 (setBroadcast): Likewise.
18997 * java/net/MulticastSocket.java
18998 (setLoopbackMode): Likewise.
18999 * java/net/ServerSocket.java
19000 (setReuseAddress): Likewise.
19001 * java/net/Socket.java
19002 (setTcpNoDelay): Likewise.
19003 (setSoLinger): Likewise.
19004 (setOOBInline): Likewise.
19005 (setKeepAlive): Likewise.
19006 (setReuseAddress): Likewise.
19007 * java/net/URLConnection.java
19008 (setContentHandler): Replace == with equals().
19009 * java/net/URLStreamHandler.java
19010 (hostSEquals): Fix checking host addresses.
19011 (toExternalForm): Dont check protocol for null. We know already its
19014 2004-02-10 David Jee <djee@redhat.com>
19016 * java/awt/BorderLayout.java
19017 (calcCompSize): Invisible components get zero dimensions.
19018 * java/awt/Button.java
19019 (setLabel): Set actionCommand.
19020 * java/awt/Component.java
19021 (show): Invalidate component and parent container.
19024 2004-02-10 David Jee <djee@redhat.com>
19026 * java/awt/GridBagLayout.java
19027 (GridBagLayout): New private field, internalcomptable.
19028 (lookupInternalConstraints): New method.
19029 (ArrangeGrid): Use components' MINSIZE. Use internalcomptable.
19030 (GetLayoutInfo): Reimplement.
19031 (calcCellSizes): Ignore rows/columns with size 0.
19033 2004-02-10 Michael Koch <konqueror@gmx.de>
19035 * gnu/java/awt/EmbeddedWindow.java
19036 (setHandle): Use java.awt.Component.getPeer() instead of
19037 java.awt.Component.peer directly.
19039 2004-02-10 David Jee <djee@redhat.com>
19041 * gnu/java/awt/peer/gtk/GtkButtonPeer.java
19042 (gtkSetLabel): New native method definition.
19043 (setLabel): Use gtkSetLabel.
19044 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkButtonPeer.c
19045 (Java_gnu_java_awt_peer_gtk_GtkButtonPeer_gtkSetLabel): New method.
19047 2004-02-10 Alan Modra <amodra@bigpond.net.au>
19049 * include/powerpc-signal.h: Revert 2004-01-21 change.
19050 (INIT_SEGV, INIT_FPE): Provide powerpc64 versions. Check return
19051 from syscall for ppc32 versions.
19053 2004-02-08 Per Bothner <per@bothner.com>
19055 * java/nio/ByteBuffer.java (shiftDown): New helper method.
19056 * java/nio/natDirectByteBufferImpl.cc (shiftDown): New implementation.
19057 * java/nio/ByteBufferImpl.java (compact): Use new shiftDown method.
19058 * sava/nio/ByteBufferHelper.java: Remove redundant 'final' specifiers.
19059 Pass ByteOrder parameter to most methods, since the underlying
19060 ByteBuffer's order isn't always what we should use.
19061 * java/nio/ByteBufferImpl.java: Pass byte-order various places.
19062 * java/nio/DirectByteBufferImpl.java: Likewise.
19063 Use ByteBufferHelper methods.
19064 * java/nio/MappedByteBufferImpl.java: Likewise.
19065 (compact): Use shiftDown.
19066 * java/nio/CharViewBufferImpl.java (<init>): Pass byte-order.
19067 (get, put): Use ByteBufferHelper.
19068 (compact): Use new shiftDown method.
19069 (duplicate(boolean)): New helper method.
19070 (duplicate, asReadOnlyBuffer): Use it.
19071 (order): Return endian field.
19072 * java/nio/DoubleViewBufferImpl.java: Likewise.
19073 * java/nio/FloatViewBufferImpl.java: Likewise.
19074 * java/nio/IntViewBufferImpl.java: Likewise.
19075 * java/nio/LongViewBufferImpl.java: Likewise.
19076 * java/nio/ShortViewBufferImpl.java: Likewise.
19077 * java/nio/CharViewBufferImpl.java (subsequence): Redundant test.
19078 * java/nio/DirectByteBufferImpl.java (shiftDown): New native method.
19079 (compact): Re-implement using shiftDown.
19081 2004-02-08 Andreas Jaeger <aj@suse.de>
19083 * include/x86_64-signal.h: Fix typo.
19085 2004-02-08 Diego Novillo <dnovillo@redhat.com>
19087 * include/i386-signal.h (MAKE_THROW_FRAME): Add volatile
19088 qualifier to _regs.
19089 (HANDLE_DIVIDE_OVERFLOW): Likewise.
19091 2004-02-06 Michael Koch <konqueror@gmx.de>
19093 * java/io/ObjectInputStream.java
19094 (currentClassLoader): Reverted to old version of this method.
19096 2004-02-06 Jeroen Frijters <jeroen@frijters.net>
19098 * java/io/ObjectInputStream.java: Made all calls
19099 to dumpElement[ln] conditional on dump flag. (readObject): Changed to
19100 use cached info from ObjectStreamClass. (readClassDescriptor):
19101 Cache more information in ObjectStreamClass. (processResolution,
19102 readFields): Use cached info from ObjectStreamClass.
19103 (newObject): Throw exception instead of returning null for failure.
19104 (getField, getMethod, callReadMethod, setBooleanField, setByteField,
19105 setCharField, setDoubleField, setFloatField, setIntField,
19106 setLongField, setShortField, setObjectField, readObjectParams):
19107 Removed. (dumpElement, dumpElementln): Removed dump flag condition
19109 * java/io/ObjectStreamField.java (hasReadMethod): Removed.
19110 (setClass): Added call to cacheMethods() (findMethod): New method.
19111 (cacheMethods): New method. (ObjectStreamClass): Added call to
19112 cacheMethods(). (setFields): Cache fields. (getClassUID): Use
19113 AccessController.doPrivileged to invoke setAccessible.
19114 (readObjectMethod, readResolveMethod, realClassIsSerializable,
19115 realClassIsExternalizable, fieldMapping, firstNonSerializableParent):
19117 * java/io/ObjectStreamField.java (ObjectStreamField): New constructor.
19118 (ObjectStreamField): Removed FIXME workaround. (getTypeString,
19119 isPrimitive): Made safe for cases where type == null.
19120 (setBooleanField, setByteField, setCharField, setShortField,
19121 setIntField, setLongField, setFloatField, setDoubleField,
19122 setObjectField): New methods.
19124 2004-02-05 Thomas Fitzsimmons <fitzsim@redhat.com>
19126 * java/awt/Component.java (getFont): Return a default font
19129 * java/awt/Scrollbar.java (next_scrollbar_number): New field.
19130 (Scrollbar (int, int, int, int, int)): Make default page
19132 (setValues): Only call peer.setValues if one of the values has
19134 (generateName): New method.
19135 (getUniqueLong): New method.
19136 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollBarPeer.c
19137 (range_scrollbar): Remove structure.
19138 (post_adjustment_event): Remove function.
19139 (post_change_event): Accept jobject argument.
19140 (create): Cast jints to gdoubles. Round scrollbar values to the
19141 nearest integer. Clamp min, max and value settings.
19142 (connectJObject): Connect hook to widget->window.
19143 (connectSignals): Remove range_scrollbar structure variables.
19144 Remove "move-slider" connection. Pass global peer reference to
19145 "value-changed" callback.
19146 (setLineIncrement): Cast jint value to gdouble.
19147 (setPageIncrement): Likewise.
19148 (setValues): Likewise. Clamp min, max and value settings.
19150 2004-02-05 Michael Koch <konqueror@gmx.de>
19152 * javax/swing/AbstractCellEditor.java
19153 (getCellEditorValue): Removed.
19154 * javax/swing/Box.java: Reformated.
19155 (serialVersionUID): New field.
19156 * javax/swing/ButtonGroup.java:
19157 Removed some weird whitespace.
19158 * javax/swing/CellEditor.java: Reformated.
19159 * javax/swing/CellRendererPane.java
19160 (serialVersionUID): New field.
19161 (AccessibleCellRendererPaneserialVersionUID): New field.
19162 * javax/swing/DefaultListModel.java
19163 (serialVersionUID): New field.
19164 * javax/swing/JEditorPane.java
19165 (serialVersionUID): New field.
19166 (setPage): Throws IOException.
19167 (addHyperlinkListener): Implemented.
19168 (removeHyperlinkListener): Implemented.
19169 (getHyperlinkListener): New method.
19170 * javax/swing/JFileChooser.java
19171 (serialVersionUID): New field.
19172 (AccessibleJFileChooser.serialVersionUID): New field.
19173 (addActionListener): Implemented.
19174 (removeActionListener): Implemented.
19175 (getActionListeners): New method.
19176 * javax/swing/JFormattedTextField.java
19177 (serialVersionUID): New field.
19178 (AbstractFormatter.serialVersionUID): New field.
19179 (clone): Throws CloneNotSupportedException
19180 (setEditValid): Add missing argument.
19181 (stringToValue): Throws ParseExcpetion.
19182 (valueToString): Throws ParseException.
19183 (commitEdit): Throws ParseException.
19184 * javax/swing/JLabel.java
19185 (serialVersionUID): New field.
19186 * javax/swing/JList.java
19187 (serialVersionUID): New field.
19188 (addListSelectionListener): Reformated.
19189 (removeListSelectionListener): Reformated.
19190 (getListSelectionListeners): New method.
19191 * javax/swing/colorchooser/AbstractColorChooserPanel.java:
19193 (serialVersionUID): New field.
19194 * javax/swing/table/AbstractTableModel.java
19195 (getValueAt): Removed.
19196 (getColumnCount): Removed.
19197 (getRowCount): Removed.
19199 2004-02-05 Michael Koch <konqueror@gmx.de>
19201 * java/awt/datatransfer/DataFlavor.java
19202 (imageFlavor): Javadoc added.
19203 (javaJVMLocalObjectType): Fixed.
19205 2004-02-05 Michael Koch <konqueror@gmx.de>
19207 * java/lang/Thread.java
19208 (Thread): Reordered.
19209 (setContextClassLoader): Fixed javadoc comment.
19210 (setPriority): Reordered.
19211 (yield): Reordered.
19212 (initialize_native): Reordered.
19213 (gen_name): Reordered.
19215 2004-02-05 Michael Koch <konqueror@gmx.de>
19217 * java/lang/Thread.java: Reordered fields, reformated much code,
19218 no functional changes, some variables renamed, javadoc comments
19221 2004-02-05 Michael Koch <konqueror@gmx.de>
19223 * java/util/zip/Deflater.java,
19224 java/util/zip/DeflaterOutputStream.java,
19225 java/util/zip/GZIPInputStream.java:
19226 Reformated and javadoc comments merged from classpath.
19228 2004-02-05 Michael Koch <konqueror@gmx.de>
19230 * gnu/java/nio/NIOServerSocket.java
19231 (impl): Unused, removed.
19232 * gnu/java/nio/SocketChannelImpl.java
19233 (finnishConnect): Don't throw NoConnectionPendingException if not
19234 connected or no connection pending.
19236 2004-02-02 Graydon Hoare <graydon@redhat.com>
19238 * javax/swing/SwingUtilities.java: Many new functions.
19239 * java/awt/Container.java (LightweightDispatcher): Reimplement.
19240 * javax/swing/basic/BasicGraphicsUtils.java
19241 (getPreferredButtonSize): Start layout from top-left corner.
19243 2004-02-04 Olga Rodimina <rodimina@redhat.com>
19245 * java/awt/geom/AffineTransform.java:
19246 Corrected comments on the field definitions for
19248 (shear): Fixed few errors that caused shear
19249 transformation to be performed incorrectly.
19250 (createInverse): Fixed to return correct
19251 inverse of the given matrix.
19253 2004-02-03 Tom Tromey <tromey@redhat.com>
19255 * java/lang/natPosixProcess.cc (startProcess): Handle case where
19256 PATH or LD_LIBRARY_PATH is not set in parent environment.
19258 2004-02-03 Thomas Fitzsimmons <fitzsim@redhat.com>
19260 * gnu/java/awt/peer/gtk/GtkListPeer.java,
19261 java/awt/BorderLayout.java, java/awt/CardLayout.java,
19262 java/awt/CheckboxGroup.java, java/awt/Choice.java,
19263 java/awt/Component.java, java/awt/Container.java,
19264 java/awt/FontMetrics.java, java/awt/GridBagLayout.java,
19265 java/awt/LayoutManager2.java, java/awt/List.java,
19266 java/awt/Menu.java, java/awt/MenuBar.java,
19267 java/awt/MenuItem.java, java/awt/Polygon.java,
19268 java/awt/Rectangle.java, java/awt/ScrollPane.java,
19269 java/awt/Scrollbar.java, java/awt/TextArea.java,
19270 java/awt/TextField.java,
19271 java/awt/image/renderable/RenderContext.java,
19272 javax/swing/JApplet.java: Fix handling of alias methods, where a
19273 method has been deprecated in favour of a new one with the same
19274 funtion but a different name. Put the method implementation in
19275 the deprecated method and have the new method call the
19276 deprecated one. Make all other code call the new method.
19278 2004-02-03 Mohan Embar <gnustuff@thisiscool.com>
19280 * gnu/java/nio/DatagramChannelImpl.java
19281 (inChannelOperation): New field.
19282 (isInChannelOperation): New accessor.
19283 (setInChannelOperation): New modifier.
19284 (receive): Use capacity() - position() of destination
19285 buffer instead of remaining(). Set and reset our "in
19286 channel operation indicator" before and after delegating
19287 the receive to our datagram socket. Removed testing code.
19288 Update destination buffer's current position if it is
19289 backed by a byte array (hasArray() is true).
19290 (send): Set and reset our "in channel operation indicator"
19291 before and after delegating the send to our datagram socket.
19292 Removed testing code. Update source buffer's current position
19293 if it is backed by a byte array (hasArray() is true).
19294 * gnu/java/nio/SocketChannelImpl.java (read(ByteBuffer)):
19295 Use capacity() - position() of destination buffer instead
19297 * java/net/DatagramSocket.java (receive): Don't throw an
19298 IllegalBlockingModeException if we have a non-blocking
19299 channel which initiated this operation.
19302 2004-02-01 Thomas Fitzsimmons <fitzsim@redhat.com>
19304 * configure.in: Add pkgconfig check for glib and gthread.
19305 * configure: Regenerate.
19307 2004-02-01 Michael Koch <konqueror@gmx.de>
19309 * include/jvm.h (MAYBE_UNUSED): New macro tp mark probably unused
19311 * jni.cc (_Jv_LookupJNIMethod): Mark 'args_size' unused.
19312 * verify.cc (debug_print): Mark 'fmt' unused.
19314 2004-01-30 Michael Koch <konqueror@gmx.de>
19316 * configure.in: Use pkg-config to check for GTK 2.2 and libart 2.1.
19317 * configure: Regenerated.
19318 * glib-2.0.m4: Removed.
19319 * gtk-2.0.m4: Removed.
19320 * libart.m4: Removed.
19321 * pkg.m4: New file.
19323 2004-01-30 Mohan Embar <gnustuff@thisiscool.com>
19325 * gnu/java/net/PlainSocketImpl.java
19326 (inChannelOperation): New field.
19327 (isInChannelOperation): New accessor.
19328 (setInChannelOperation): New modifier.
19329 * gnu/java/nio/ServerSocketChannelImpl.java
19330 (accept): Set and reset our server socket's PlainSocketImpl's
19331 "in channel operation" indicator before and after delegating
19332 the accept to our server socket.
19333 * gnu/java/nio/SocketChannelImpl.java
19334 (connect): Set and reset our socket's PlainSocketImpl's "in channel
19335 operation" indicator before and after delegating the operation to
19339 * java/net/ServerSocket.java (implAccept): Don't throw an
19340 IllegalBlockingModeException if we have a non-blocking
19341 channel which initiated this accept operation.
19342 * java/net/Socket.java (connect): Don't throw an
19343 IllegalBlockingModeException if we have a non-blocking
19344 channel which initiated this connect operation.
19345 * java/nio/channels/spi/AbstractSelectableChannel.java
19346 (configureBlocking): Only call implConfigureBlocking() if
19347 the desired blocking mode is different from our current one.
19349 2004-01-29 Mohan Embar <gnustuff@thisiscool.com>
19351 * java/io/BufferedReader.java (sbuf): New field.
19352 (readLine): Use String.valueOf instead of new String() as per
19353 Per Bothner's suggestion. Use instance sbuf field instead of a
19354 local StringBuffer instance.
19355 * java/io/InputStreamReader.java (read(char[],int,int)): Pass the
19356 caller's buffer to refill().
19357 (read(void)): Pass our internal work buffer to refill if our
19358 input queue is empty.
19359 (refill): Changed return type to int. Use the specified buffer
19360 instead of our work buffer as per Bryce McKinlay's suggestion.
19361 Return the number of characters read or -1 for EOF.
19363 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
19365 * gnu/awt/xlib/XCanvasPeer.java (handleEvent): Implemented.
19367 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
19369 * Makefile.am: Added gnu/awt/xlib/XFontPeer.java.
19370 * Makefile.in: Re-generated.
19371 * gnu/awt/xlib/XFontPeer.java: New file.
19372 * gnu/awt/xlib/XGraphics.java (setFont): Test for null font.
19373 (setClip): Commented out debug printout.
19374 * gnu/awt/xlib/XToolkit.java: Change superclass to ClasspathToolkit.
19375 (getFontPeer): Return XFontPeer.
19376 (getLocalGraphicsEnvironment): New method.
19377 (getClasspathFontPeer): New method.
19378 (createFont): New method.
19380 2004-01-29 Scott Gilbertson <scottg@mantatest.com>
19382 * gnu/java/awt/peer/ClasspathFontPeer.java (getTransform): Never
19385 2004-01-29 Kim Ho <kho@redhat.com>
19387 * gnu/java/awt/peer/gtk/GtkFramePeer.java
19388 (gtkLayoutSetVisible): New method
19389 (setMenuBar): Hide layout before setting MenuBar
19390 and reshow it after.
19391 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19392 (gtkLayoutSetVisible): Hide or show the Gtk Layout.
19394 2004-01-28 Michael Koch <konqueror@gmx.de>
19396 * gnu/java/lang/ClassHelper.java
19397 (getPackagePortion): Removed.
19399 2004-01-28 Michael Koch <konqueror@gmx.de>
19401 * javax/swing/JComponent.java
19402 (listenerList): Initalize globally.
19403 (ancestor_list): Removed.
19404 (veto_list): Removed.
19405 (change_list): Removed.
19406 (get_veto_list): Removed.
19407 (get_change_list): Removed.
19408 (get_ancestor_list): Removed.
19409 (removeAncestorListener): Reimplemented.
19410 (removePropertyChangeListener): Likewise.
19411 (removeVetoableChangeListener): Likewise.
19412 (addAncestorListener): Likewise.
19413 (addPropertyChangeListener): Likewise.
19414 (addVetoableChangeListener): Likewise.
19415 (getListeners): New method.
19416 (getAncestorListeners): Likewise.
19417 (getVetoableChangeListeners): Likewise.
19418 (fireVetoableChange): Throws PropertyVetoException.
19419 * javax/swing/JEditorPane.java
19420 (JEditorPane): Throws IOException.
19422 2004-01-28 David Jee <djee@redhat.com>
19424 * gnu/java/awt/peer/gtk/GtkFramePeer.java
19425 (create): Set the default foreground color to
19426 java.awt.SystemColor.windowText.
19428 2004-01-27 Michael Koch <konqueror@gmx.de>
19430 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java,
19431 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
19432 Reindented to merge with classpath.
19434 2004-01-27 David Jee <djee@redhat.com>
19436 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19437 (addExposeFilter): Handle GtkFramePeer separately.
19438 (removeExposeFilter): Likewise.
19440 2004-01-27 Michael Koch <konqueror@gmx.de>
19442 * gnu/java/net/protocol/http/Connection.java
19443 (getOutputStream): Fixed typo.
19445 2004-01-27 Michael Koch <konqueror@gmx.de>
19447 * java/lang/Class.java
19448 (getConstructor): Removed SecurityException from throws clause.
19449 (_getConstructors): Likewise.
19450 (getConstructors): Likewise.
19451 (getDeclaredConstructor): Likewise.
19452 (getDeclaredClasses): Likewise.
19453 (getDeclaredConstructors): Likewise.
19454 (getDeclaredField): Likewise.
19455 (getDeclaredMethod): Likewise.
19456 (getDeclaredMethods): Likewise.
19457 (getField): Likewise.
19458 (getMethod): Likewise.
19459 (getMethods): Likewise.
19461 2004-01-27 Kim Ho <kho@redhat.com>
19463 * gnu/java/awt/peer/gtk/GtkFramePeer.java
19464 (removeMenuBarPeer): Remove MenuBarPeer argument.
19465 * gnu/java/awt/peer/gtk/GtkMenuComponentPeer.java
19466 (dispose): Call native method.
19467 * java/awt/Frame.java (setMenuBar): Create and remove
19468 MenuBar peers only if the Frame has a peer.
19469 (addNotify): Create the MenuBar peer if one exists.
19470 (removeNotify): Remove MenuBar peer if one exists.
19471 * java/awt/Menu.java: Fix imports.
19472 (addNotify): Don't use full class name.
19473 (removeNotify): Call removeNotify on all children.
19474 * java/awt/MenuBar.java (removeNotify): Call
19475 removeNotify on all children.
19476 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19477 (removeMenuBarPeer): Remove MenuBarPeer argument.
19478 Iterate through children to find the Frame's MenuBar.
19479 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMenuComponentPeer.c
19481 (dispose): Remove references to the MenuComponent.
19483 2004-01-27 Michael Koch <konqueror@gmx.de>
19485 * javax/swing/AbstractCellEditor.java: Reformated.
19486 * javax/swing/DefaultListSelectionModel.java
19487 (listenerList): Made protected.
19488 (addListSelectionListener): Javadoc added.
19489 (removeListSelectionListener): Likewise.
19490 (getListeners): Likewise.
19491 (getListSelectionListeners): Likewise.
19492 * javax/swing/JComboBox.java: Merged copyright year.
19493 * javax/swing/plaf/basic/BasicGraphicsUtils.java: Merged empty line.
19495 2004-01-26 Andrew Haley <aph@redhat.com>
19497 * javax/swing/table/JTableHeader.java: Extend JComponent
19499 2004-01-26 Kim Ho <kho@redhat.com>
19501 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar):
19504 2004-01-26 Kim Ho <kho@redhat.com>
19506 * gnu/java/awt/peer/gtk/GtkFramePeer.java (moveLayout): New
19508 (setMenuBar): Shift the Gtk layout up/down by the MenuBar
19509 height and let the Layout Managers readjust anything that
19511 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19512 (moveLayout): New method. Shift everything in the Gtk
19513 layout in the Y direction by an offset.
19515 2004-01-26 David Jee <djee@redhat.com>
19517 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
19518 (handleEvent): Implemented. Handles PaintEvents.
19519 (paint): Implemented. Use GTK native methods to queue updates
19520 for this heavyweight peer.
19521 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
19522 (handleEvent): Removed.
19523 * java/awt/Component.java
19524 (paint): Implemented. Explictly paint the heavyweight peer.
19525 (update): Clear the background for heavyweight components.
19526 (paintAll): No need to call peer.paint() anymore.
19527 (processEvent): Don't process PaintEvents here. It's now done in
19528 the peer's handleEvent().
19529 (processPaintEvent): Removed.
19530 * java/awt/Container.java
19531 (paint): No need to call super.paint(). Visit heavyweight
19533 (update): Don't clear the background here. It's done in
19534 Component.update().
19535 (visitChildren): Added check to not recurse into Containers.
19536 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19537 (filter_expose_event_handler): New method. Filter unwanted
19538 expose events while painting heavyweight peers.
19539 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_addExposeFilter):
19540 New method. Connect filter and block pre_event_handler.
19541 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_removeExposeFilter):
19542 New method. Disconnect filter and unblock pre_event_handler.
19543 (Java_gnu_java_awt_peer_gtk_GtkComponentPeer_gtkWidgetQueueDrawArea):
19544 New method. Invalidate and update given area.
19545 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
19546 (pre_event_handler): Add checks for unwanted expose events.
19548 2004-01-26 David Jee <djee@redhat.com>
19550 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
19551 (find_bg_color_widget): For GtkButton, return its child.
19553 2004-01-26 Kim Ho <kho@redhat.com>
19555 * gnu/java/awt/peer/gtk/GtkFramePeer.java (menuBarHeight): Mark
19557 (setMenuBar): Grab MenuBar height and change insets.
19558 (setBounds): Account for MenuBar height.
19559 (postInsetsChangedEvent): Ditto.
19560 (postSizeAllocateEvent): Remove.
19561 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19562 (menubar_resize_cb): Remove
19563 (setMenuBarPeer): Remove callback.
19564 (getMenuBarHeight): Use size requisition instead of
19567 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
19569 * java/awt/TextArea.java: Fix indentation. Flesh out javadocs.
19570 (getMinimumSize (int, int)): Fix FIXME -- return Dimension (0,0)
19572 (setColumns): Remove FIXME -- peer will retrieve number of
19573 columns by calling getColumns.
19574 (setRows): Likewise for number of rows.
19575 (next_text_number): New field.
19576 (paramString): Fix param string.
19577 (generateName): New method.
19578 (getUniqueLong): New method.
19580 2004-01-25 Thomas Fitzsimmons <fitzsim@redhat.com>
19582 * gnu/java/awt/peer/gtk/GtkToolkit.java (checkImage): Inform
19583 image observer of image loading status.
19584 (getImage (String)): Start image production.
19585 (getImage (URL)): Likewise.
19587 2004-01-25 Michael Koch <konqueror@gmx.de>
19589 * java/lang/Class.java: Imports reworked, reformated.
19590 (Class): Javadoc added.
19591 (forName): Likewise.
19592 (getClasses): Likewise.
19593 (getClassLoader): Likewise.
19594 (getComponentType): Likewise.
19595 (getConstructor): Likewise.
19596 (getConstructors): Likewise.
19597 (getDeclaredConstructor): Likewise.
19598 (getDeclaredClasses): Likewise.
19599 (getDeclaredConstructors): Likewise.
19600 (getDeclaredField): Likewise.
19601 (getDeclaredMethod): Likewise.
19602 (getDeclaredMethods): Likewise.
19603 (getDeclaringClass): Likewise.
19604 (getField): Likewise.
19605 (getInterfaces): Likewise.
19606 (getMethod): Likewise.
19607 (getMethods): Likewise.
19608 (getModifiers): Likewise.
19609 (getName): Likewise.
19610 (getResource): Likewise.
19611 (getResourceAsStream): Likewise.
19612 (getSigners): Likewise.
19613 (setSigners): Likewise.
19614 (getSuperclass): Likewise.
19615 (isArray): Likewise.
19616 (isAssignableFrom): Likewise.
19617 (isInstance): Likewise.
19618 (isInterface): Likewise.
19619 (isPrimitive): Likewise.
19620 (newInstance): Likewise.
19621 (getProtectionDomain): Likewise.
19622 (toString): Likewise.
19624 (initializeClass): Likewise.
19625 (finalize): Likewise.
19627 2004-01-24 Michael Koch <konqueror@gmx.de>
19629 * gnu/java/net/protocol/jar/Connection.java
19630 (hdrHash): Removed.
19632 (gotHeaders): Removed.
19633 (getHeaderField): Removed.
19634 (getHeaderFields): Removed.
19635 (getHeaderFieldKey): Removed.
19637 (getField): Removed.
19638 (getHeaders): Removed.
19640 2004-01-24 Michael Koch <konqueror@gmx.de>
19642 * Makefile.am: Added library version to gtk peer lib.
19643 * Makefile.in: Regenerated.
19645 2004-01-24 Michael Koch <konqueror@gmx.de>
19647 * java/util/zip/InflaterInputStream.java: Merged class documentation
19650 2004-01-21 Jakub Jelinek <jakub@redhat.com>
19652 * include/powerpc-signal.h: Add #ifndef __powerpc64__ around the
19653 header. For __powerpc64__ provide the default-signal.h definitions
19655 * include/x86_64-signal.h [!__x86_64__]: Include java-signal-aux.h
19656 instead of the dummy definitions.
19657 * configure.host (x86_64-*): Remove CHECKREFSPEC, add DIVIDESPEC.
19658 (powerpc64*-*): Remove with_libffi_default.
19659 Only add -mminimal-toc for 64-bit compilations.
19660 * configure.in: Use powerpc-signal.h on powerpc64 as well.
19661 (x86_64-*-linux*): Set SIGNAL_HANDLER_AUX.
19662 Link SIGNAL_HANDLER_AUX to include/java-signal-aux.h.
19663 * configure: Rebuilt.
19665 2004-01-23 Michael Koch <konqueror@gmx.de>
19667 * gnu/java/nio/FileLockImpl.java: Compile fixes.
19669 2004-01-23 Michael Koch <konqueror@gmx.de>
19671 * java/lang/VMClassLoader.java: Reworked imports.
19673 2004-01-23 Michael Koch <konqueror@gmx.de>
19675 * javax/swing/AbstractAction.java: Reformated.
19677 2004-01-23 Michael Koch <konqueror@gmx.de>
19679 * java/text/CollationElementIterator.java:
19680 (setText): New method.
19682 2004-01-23 Michael Koch <konqueror@gmx.de>
19684 * gnu/java/nio/FileLockImpl.java:
19685 Fixed filename in copyright.
19686 (released): Removed.
19687 (finalize): New method.
19688 * gnu/java/nio/natFileLockImpl.cc
19689 (releaseImpl): Implemented.
19690 * java/nio/channels/FileChannelImpl.java:
19692 (lock): Implemented.
19693 (lockImpl): New method.
19694 (tryLock): Implemented.
19695 (tryLockImpl): New method.
19696 * java/nio/channels/natFileChannelImpl.cc
19697 (lockImpl): New method.
19698 (tryLockImpl): New method.
19700 2004-01-23 Michael Koch <konqueror@gmx.de>
19702 * java/io/FileDescriptor.java
19703 (lock): New method.
19704 (tryLock): New method.
19705 (unlock): New method.
19706 * java/io/natFileDescriptorEcos.cc
19707 (lock): New method.
19708 (tryLock): New method.
19709 (unlock): New method.
19710 * java/io/natFileDescriptorPosix.cc
19711 (lock): New method.
19712 (tryLock): New method.
19713 (unlock): New method.
19714 * java/io/natFileDescriptorWin32.cc
19715 (lock): New method.
19716 (tryLock): New method.
19717 (unlock): New method.
19719 2004-01-23 Michael Koch <konqueror@gmx.de>
19721 * java/io/FileDescriptor.java
19722 (sync): Moved around, added javadoc.
19727 (setLength): Likewise.
19729 (getLength): Likewise.
19730 (getFilePointer): Likewise.
19732 (available): Likewise.
19733 (finalize): Likewise.
19735 2004-01-23 Michael Koch <konqueror@gmx.de>
19737 * javax/swing/AbstractAction.java: Reformated.
19738 (getPropertyChangeListeners): New method.
19739 * javax/swing/AbstractCellEditor.java: Reformated.
19740 (getCellEditorListeners): New method.
19741 * javax/swing/DefaultListSelectionModel.java
19742 (listenerList): New field.
19743 (listeners): Removed.
19744 (get_listeners): Removed.
19745 (addListSelectionListener): Rewritten.
19746 (removeListSelectionListener): Rewritten.
19747 (getListSelectionListeners): New method.
19748 (getListeners): New method.
19749 * javax/swing/JComboBox.java: Imports reworked.
19750 (addActionListener): Implemented.
19751 (removeActionListener): Implemented.
19752 (addItemListener): Implemented.
19753 (removeItemListener): Implemented.
19754 (addPopupMenuListener): Implemented.
19755 (removePopupMenuListener): Implemented.
19756 (getActionListeners): New method.
19757 (getItemListeners): New method.
19758 (getPopupMenuListeners): New method.
19760 2004-01-23 Michael Koch <konqueror@gmx.de>
19762 * gnu/java/net/protocol/http/Connection.java
19763 (connect): Don't initialize bufferedOutputStream if not needed.
19764 (sendRequest): Set property for content length if content is present.
19765 Write content only if present.
19766 (getOutputStream): Check if already connected, dont connect,
19767 initalize bufferedOutputStream if needed.
19769 2004-01-23 Michael Koch <konqueror@gmx.de>
19771 * java/io/FileDescriptor.java
19772 (in, out, err): Added javadoc.
19773 (static): Merged loading code.
19774 (fd, position): Moved around.
19776 2004-01-23 Michael Koch <konqueror@gmx.de>
19778 * gnu/java/awt/doc-files/BitwiseXORComposite-1.png:
19781 2004-01-23 Michael Koch <konqueror@gmx.de>
19783 * java/lang/Class.java,
19784 java/lang/Object.java,
19785 java/lang/Thread.java: Merged copyright with classpath.
19787 2004-01-23 Michael Koch <konqueror@gmx.de>
19789 * java/io/FileDescriptor.java: Merged copyright with classpath to
19790 start merging this class.
19792 2004-01-22 Tom Tromey <tromey@redhat.com>
19795 * testsuite/libjava.lang/pr13107_2.xfail: New file.
19796 * testsuite/libjava.lang/pr13107_3.xfail: New file.
19797 * testsuite/libjava.lang/pr13107_3.java: New file.
19798 * testsuite/libjava.lang/pr13107_3.out: New file.
19799 * testsuite/libjava.lang/pr13107_2.java: New file.
19800 * testsuite/libjava.lang/pr13107_2.out: New file.
19801 * testsuite/libjava.lang/pr13107.java: New file.
19802 * testsuite/libjava.lang/pr13107.out: New file.
19803 * verify.cc (jsr_ptrs): Removed.
19804 (entry_points): Likewise.
19805 (struct subr_info): Likewise.
19806 (struct subr_entry_info): Likewise.
19807 (type_val::unused_by_subroutine_type): Likewise.
19808 (type::merge): Don't handle unused_by_subroutine_type.
19809 (type::print): Likewise.
19810 (state::flags): Removed.
19811 (state::subroutine): Likewise.
19812 (state::seen_subrs): Likewise.
19813 (state::NO_STACK): Likewise.
19814 (state::FLAG_CHANGED, state::FLAG_UNUSED): Likewise.
19815 (state): Updated all methods.
19816 (state::clean_subrs): Removed.
19817 (state::state): Removed `ret_semantics' flag.
19818 (state::copy): Likewise.
19819 (state::add_subr): Removed.
19820 (state::enter_subroutine): Likewise.
19821 (type::set_return_address): New method.
19822 (handle_jsr_insn): Set return address on the type. Always
19823 invalidate PC after call.
19824 (check_nonrecursive_call): Removed.
19825 (~_Jv_BytecodeVerifier): Updated.
19826 (branch_prepass): Removed special handling of jsr.
19827 (note_branch_target): Likewise.
19828 (get_subroutine): Removed.
19829 (state::merge): Don't merge subroutines and don't handle
19830 NO_STACK. Removed ret_semantics and jsr_semantics arguments.
19831 (state::note_variable): Removed.
19832 (state::is_unmerged_ret_state): Likewise.
19833 (state::print): Updated.
19834 (set_variable): Likewise.
19835 (merge_into): Renamed from push_jump_merge. Removed ret_semantics
19836 and jsr_semantics arguments. Updated for new reverification
19838 (pop_jump): Rewrote.
19839 (construct_primitive_array_type): Updated.
19840 (state::next): Removed.
19841 (INVALID_STATE): New define.
19842 (state::INVALID): Removed.
19843 (state::NO_NEXT): New value.
19844 (state::pc, state::next): New fields.
19845 (state::get_pc): New method.
19846 (next_verify_pc): Removed.
19847 (next_verify_state): New field.
19848 (verify_instructions_0): Always check for falling off end.
19849 (linked): New type.
19850 (linked_utf8): Removed.
19851 (states): Changed type.
19852 (type::state_mergeable_p): New method.
19853 (state::state_mergeable_p): Likewise.
19854 (handle_ret_insn): Removed most code.
19855 (state::reverify): New method.
19856 (add_new_state): Likewise.
19857 (state::set_pc): Likewise.
19859 2004-01-22 Jeff Sturm <jsturm@one-point.com>
19862 * testsuite/libjava.compile/PR13733.java: New file.
19863 * testsuite/libjava.compile/PR13733.xfail: New file.
19865 2004-01-22 Arnaud Vandyck <arnaud.vandyck@ulg.ac.be>
19866 Michael Koch <konqueror@gmx.de>
19868 * javax/swing/table/DefaultTableCellRenderer.java
19869 (DefaultTableCellRenderer): Added javadoc for the class and for
19870 the constructor, Border instance, create an EmptyBorder.
19871 (UIResource): Removed the comment at the end of the class
19872 (setForeground): New method.
19873 (setBackground): New method.
19874 (updateUI): New method.
19875 (getTableCellRendererComponent): Rewritten with the help of
19876 dvholten and Stephane Meslin-Weber.
19877 (validate): New method.
19878 (repaint): New method.
19879 (firePropertyChange): New method.
19880 (setValue): New method.
19882 2004-01-22 Thomas Fitzsimmons <fitzsim@redhat.com>
19884 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19885 (connectJObject): Replace printf calls with g_assert statements.
19886 Move property-notify-event signal connection to ...
19887 (connectSignals): Connect property-notify-event signal. Iterate
19888 through the vbox's children to find layout.
19890 2004-01-22 Graydon Hoare <graydon@redhat.com>
19892 * gnu/java/awt/peer/gtk/GdkClasspathFontPeer.java:
19893 * gnu/java/awt/peer/gtk/GdkGlyphVector.java:
19894 Predicate static initialization on GtkToolkit.useGraphics2D().
19895 * java/awt/Component.java (processPaintEvent): Consume event.
19896 * javax/swing/AbstractButton.java: Reimplement, document.
19897 * javax/swing/DefaultButtonModel.java: Reimplement, document.
19898 * javax/swing/JComponent.java (paint): Use double buffer.
19899 (listenerList): Enable member.
19900 * javax/swing/ToggleButtonModel.java: Remove incorrect constructor.
19901 * javax/swing/JToggleButton.java
19902 (JToggleButton): Modify model constructor.
19903 * javax/swing/SwingUtilities.java
19904 (layoutCompoundLabel): Adjust arithmetic.
19905 * javax/swing/plaf/basic/BasicButtonUI.java: Reimplement, document.
19906 * javax/swing/plaf/basic/BasicGraphicsUtils.java
19907 (getPreferredButtonSize): Include margins in calculation.
19908 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19909 (Java_gnu_java_awt_peer_gtk_GtkWindowPeer_connectSignals):
19910 Receive up events from subordinate layout component.
19912 2004-01-21 Thomas Fitzsimmons <fitzsim@redhat.com>
19914 * java/awt/Component.java (show): Set visible to true before
19917 2004-01-21 Kim Ho <kho@redhat.com>
19919 * gnu/java/awt/peer/gtk/GtkFramePeer.java (postConfigureEvent):
19921 (removeMenuBarPeer): Make package private.
19922 (setMenuBarPeer): Make package private.
19923 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19924 (menubar_resize_cb): Mark attributes unused.
19925 (getMenuBarHeight): ditto.
19927 2004-01-21 David Jee <djee@redhat.com>
19929 * java/awt/Container.java
19930 (LightweightDispatcher.handleEvent): Add an extra check to avoid
19931 dispatching MOUSE_ENTERED event twice. Translate the point for
19932 the mouse event target before dispatching the event.
19934 2004-01-20 Jakub Jelinek <jakub@redhat.com>
19936 * Makefile.am (lib_org_w3c_dom_la_LIBADD,
19937 lib_org_w3c_dom_la_LDFLAGS): New.
19938 (lib_org_xml_sax_la_LIBADD, lib_org_xml_sax_la_LDFLAGS): New.
19939 * Makefile.in: Rebuilt.
19941 2004-01-20 Thomas Fitzsimmons <fitzsim@redhat.com>
19943 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (setBounds):
19944 Calculate proper offsets for heavyweight components packed in
19945 lightweight containers.
19947 * gnu/java/awt/peer/gtk/GtkTextFieldPeer.java,
19948 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextFieldPeer.c
19949 (native create): Add width parameter.
19950 (create): Calculate text entry width based on current font's
19951 metrics and number of columns. Set TextField's font if not
19952 already set. Call native create.
19953 (gtkEntryGetBorderWidth): New native method.
19954 (gtkEntryGetSize): Remove method.
19955 (getMinimumSize): Call minimumSize.
19956 (getPreferredSize): Call preferredSize.
19957 (minimumSize): Calculate minimum size based on backing
19958 GtkEntry's borders, font metrics and number of columns.
19959 (preferredSize): Likewise for preferred size.
19960 (get_border_width): New static function.
19962 * gnu/java/awt/peer/gtk/GtkFramePeer.java (setResizable):
19963 Override GtkWindowPeer's setResizable method to account for menu
19964 bar height when setting the frame's size.
19966 2004-01-19 Matthias Klose <doko@debian.org>
19968 * libtool-version: Increased `current' to 6.
19970 2004-01-19 Kim Ho <kho@redhat.com>
19972 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
19973 (connectJObject): Iterate through the vbox's children to find layout.
19975 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19977 * java/awt/EventQueue.java (invokeAndWait): Use list-aware
19978 isDispatchThread method to replace wrong test condition.
19980 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19982 * java/awt/EventQueue.java (pop): Prevent racing condition to add
19983 events to the queue out of order by acquiring locks in the proper
19984 order and not by releasing one before acquiring the other.
19986 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19988 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Make text not
19989 visible so that dialog can be reused.
19991 2004-01-19 Fernando Nasser <fnasser@redhat.com>
19993 * java/awt/EventQueue.java (getCurrentEvent): Consider that system
19994 events may be handled by any queue in the stack.
19996 2004-01-19 Kim Ho <kho@redhat.com>
19998 * gnu/java/awt/peer/gtk/GtkFramePeer.java (getMenuBarHeight): Added
19999 MenuBarPeer parameter.
20000 (removeMenuBarPeer): New native method.
20001 (setMenuBar): Call remove if menu bar is null. Adjust insets
20003 (postSizeAllocateEvent): New method. Called when menu bar size is
20004 allocated. Adjust insets and redo layout.
20005 (GtkFramePeer): Set menu bar during frame creation.
20006 (postConfigureEvent): Adjust position and size to accomodate
20008 * java/awt/Frame.java (setMenuBar): addNotify to create menu bar.
20009 * java/awt/Menu.java (addSeparator): Use peer's addSeparator.
20010 (addNotify): Create the peer if it doesn't exist and call addNotify
20011 for the menu's items.
20012 * java/awt/MenuBar.java (addNotify): Create this menu bar's menus.
20013 * java/awt/MenuItem.java (addNotify): Create the peer if it
20015 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20016 (removeMenuBarPeer): New method. Remove menu bar on the current
20018 (setMenuBarPeer): Add the menu bar to the current frame and the
20019 callback for size-allocate events on the menu bar.
20020 (getMenuBarHeight): Add menu bar parameter.
20021 (menubar_resize_cb): New callback method for postSizeAllocate events.
20023 Also: Fix indentation on last ChangeLog entry.
20025 2004-01-16 Kim Ho <kho@redhat.com>
20027 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
20028 (gtkWidgetGetDimensions): Remove.
20029 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20030 (gtkWidgetGetDimensions): Remove.
20032 2004-01-16 Tom Tromey <tromey@redhat.com>
20034 * java/awt/Container.java: Typo and indentation fixes.
20036 * java/lang/natClassLoader.cc: Moved VMClassLoader methods...
20037 * java/lang/natVMClassLoader.cc: ...here. New file.
20038 * Makefile.in: Rebuilt.
20039 * Makefile.am (nat_source_files): Added natVMClassLoader.cc.
20041 2004-01-16 Fernando Nasser <fnasser@redhat.com>
20043 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c (pre_event_handler):
20044 Discard GDK_ENTER_NOTIFY related to ungrabs.
20046 2004-01-16 Fernando Nasser <fnasser@redhat.com>
20048 * java/awt/EventQueue.java (pop): Prevent breaking the chain if pop
20049 is called for an intermediate queue.
20051 2004-01-16 Thomas Fitzsimmons <fitzsim@redhat.com>
20053 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20054 (window_property_changed_cb): Set id_set.
20056 2004-01-16 Kim Ho <kho@redhat.com>
20058 * gnu/java/awt/peer/gtk/GtkComponentPeer.java (GtkComponentPeer): If
20059 it is a FileDialog and has dimensions of 0 by 0, then the initial
20060 size is set to size request plus insets.
20061 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java
20062 (gtkWidgetGetDimensions): Override method.
20063 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c
20064 (gtkWidgetGetDimensions): Override method. Returns size request plus
20067 2004-01-16 Andrew Haley <aph@redhat.com>
20069 * sysdep/x86-64/locks.h: Don't use in/out memory constraints.
20070 * sysdep/i386/locks.h: Likewise.
20072 2004-01-16 Fernando Nasser <fnasser@redhat.com>
20074 * java/awt/EventDispatchThread.java (run): Stop running when
20076 * java/awt/EventQueue.java (pop): Stop dispatch thread when done.
20077 Reset the queue after transferring its contents.
20078 (push): Start a new dispatch thread if none is running.
20080 2004-01-16 Olga Rodimina <rodimina@redhat.com>
20082 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20083 (doPolygon): set fill rule of polygon to
20084 WIND_EVEN_ODD by default.
20086 2004-01-15 Olga Rodimina <rodimina@redhat.com>
20088 * gnu/java/awt/peer/gtk/GdkGraphics2D.java:
20089 Implemented rendering hints related methods.
20090 (getDefaultHints): New helper method. Returns
20091 default rendering hints.
20092 (walkPath): changed to normalize path if
20093 the KEY_STROKE_CONTROL key is in "normalize" mode.
20094 (draw3DRect): changed coordinates of rectangle by +0.5
20095 if in "normalize" mode.
20097 2004-01-15 Tom Tromey <tromey@redhat.com>
20099 * Makefile.in: Rebuilt.
20100 * Makefile.am (gnu/gcj/runtime/StackTrace.lo): New rule.
20101 (%.lo: %.java) Filter out StackTrace.lo.
20103 2004-01-14 Kelley Cook <kcook@gcc.gnu.org>
20105 * configure.in: Add in AC_PREREQ(2.13)
20106 * libltdl/configure.ac: Update to AC_PREREQ(2.57). Delete
20109 2004-01-14 Nathan Bryant <nbryant@optonline.net>
20110 Tom Tromey <tromey@redhat.com>
20113 * gnu/gcj/runtime/VMClassLoader.java (VMClassLoader): Pass empty
20114 array to superclass.
20115 (init): Changed interface; add URLs here.
20116 (initialize): New static method.
20117 * prims.cc (_Jv_CreateJavaVM): Initialize ClassLoader here...
20118 (_Jv_RunMain): ... not here.
20120 2004-01-14 Michael Koch <konqueror@gmx.de>
20122 * java/text/MessageFormat.java:
20123 Added descriptions to exceptions.
20124 This fixes PR libgcj/2429.
20126 2004-01-13 Fernando Nasser <fnasser@redhat.com>
20128 * java/awt/EventQueue.java (isDispatchThread): Do check on top of stack.
20129 (push): Make sure push is performed at the top of the thread stack.
20131 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
20133 * gnu/java/awt/peer/gtk/GtkTextAreaPeer.java,
20134 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkTextAreaPeer.c
20135 (native create): Add width and height parameters. Set text
20136 view's size request according to new parameters.
20137 (create): Calculate text view size based on current font's
20138 metrics and number of rows and columns. Set TextArea's font if
20139 not already set. Call native create.
20140 (getMinimumSize): Call minimumSize.
20141 (getPreferredSize): Call preferredSize.
20142 (getHScrollbarHeight): New method.
20143 (getVScrollbarWidth): New method.
20144 (minimumSize): Calculate minimum size based on scrollbar
20145 visibility, scrollbar sizes, font metrics and number of rows and
20147 (preferredSize): Likewise for preferred size.
20148 (gtkTextGetSize): Remove method.
20150 2004-01-13 Thomas Fitzsimmons <fitzsim@redhat.com>
20152 * gnu/java/awt/peer/gtk/GtkComponentPeer.java
20153 (initializeInsets): Remove method.
20154 (GtkComponentPeer): Initialize insets field. Remove call to
20156 * gnu/java/awt/peer/gtk/GtkDialogPeer.java (initializeInsets):
20158 * gnu/java/awt/peer/gtk/GtkFramePeer.java (initializeInsets):
20160 * gnu/java/awt/peer/gtk/GtkWindowPeer.java,
20161 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkWindowPeer.c:
20162 (latestInsets): Remove field.
20163 (native create): Add insets parameter. Call
20164 window_get_frame_extents. Set the window's default size and
20165 size request based on its frame extents.
20166 (create): Initialize insets.
20167 (postInsetsChangedEvent): New method.
20168 (postConfigureEvent): Remove parameters top, left, bottom,
20169 right. Remove insets-related logic.
20170 (connectJObject): Handle property-notify-event.
20171 (window_get_frame_extents, request_frame_extents,
20172 property_notify_predicate, window_property_changed_cb): New
20174 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20175 (pre_event_handler): Remove insets-related logic for configure
20177 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkMainThread.c (gtkInit):
20178 Update postConfigureEvent signature.
20180 2004-01-13 Fernando Nasser <fnasser@redhat.com>
20182 * gnu/java/awt/peer/gtk/TestAWT.java (DialogWindow): Add WindowAdapter
20183 to handle Window "Closing" events.
20185 2004-01-13 David Jee <djee@redhat.com>
20187 * gnu/java/awt/peer/gtk/GtkContainerPeer.java
20188 (setBackground): New method. Children with no explicitly-set
20189 background will be repainted with the parent container's new
20192 2004-01-13 David Jee <djee@redhat.com>
20194 * Makefile.am: Add BitwiseXORComposite.java.
20195 * Makefile.in: Regenerated.
20196 * gcj/Makefile.in: Regenerated.
20197 * include/Makefile.in: Regenerated.
20198 * testsuite/Makefile.in: Regenerated.
20200 2004-01-12 Fernando Nasser <fnasser@redhat.com>
20202 * gnu/java/awt/peer/gtk/TestAWT.java: Fix test program so that it does
20203 not show modal dialogs twice and so that it allows showing a modal
20204 dialog from another modal dialog.
20206 2004-01-12 Fernando Nasser <fnasser@redhat.com>
20208 * java/awt/Dialog.java (show): Enable blocking for all modal dialogs
20209 and run secondary dispatch thread to process event queue while this
20212 2004-01-12 Graydon Hoare <graydon@redhat.com>
20214 * gnu/java/awt/gtk/GdkGraphics2D.java
20215 (static): Check GtkToolkit before initializing static state.
20216 (Graphics2D): Don't construct transform with 0.5 unit offset.
20218 2003-11-06 Sascha Brawer <brawer@dandelis.ch>
20220 * gnu/java/awt/BitwiseXORComposite.java: Add.
20221 * gnu/java/awt/peer/gtk/GdkGraphics2D.java
20222 (setXORMode): Switch to gnu.java.awt.BitwiseXORComposite.
20223 (BitwiseXORComposite): Remove inner class.
20225 2004-01-11 Michael Koch <konqueror@gmx.de>
20227 * gnu/java/lang/reflect/TypeSignature.java
20228 (getEncodingOfClass): Documentation fixed.
20229 (getClassForEncoding): Give class loader to Class.forName().
20230 Documentation fixed.
20232 2004-01-11 Sascha Brawer <brawer@dandelis.ch>
20234 * javax/swing/undo/CompoundEdit.java (serialVersionUID): Added.
20236 2004-01-11 Michael Koch <konqueror@gmx.de>
20238 * javax/swing/undo/StateEditable.java
20239 (RCSID): Removed redundant modifiers.
20241 2004-01-10 Michael Koch <konqueror@gmx.de>
20243 * javax/print/attribute/EnumSyntax.java
20244 (getStringTable): Made protected.
20245 (getEnumValueTable): Likewise.
20246 * javax/print/attribute/standard/JobKOctetsProcessed.java
20247 (JobKOctetsProcessed): Don't implement PrintRequestAttribute.
20248 * javax/print/attribute/standard/JobMediaSheetsCompleted.java
20249 (JobMediaSheetsCompleted): Made class final.
20250 * javax/print/attribute/standard/OutputDeviceAssigned.java
20251 (getName): Fixed typo.
20252 * javax/print/attribute/standard/RequestingUserName.java
20253 (serialVersionUID): Fixed value.
20255 2004-01-10 Michael Koch <konqueror@gmx.de>
20257 * javax/swing/plaf/basic/BasicButtonUI.java,
20258 javax/swing/plaf/basic/BasicCheckBoxUI.java,
20259 javax/swing/plaf/basic/BasicListUI.java,
20260 javax/swing/plaf/basic/BasicOptionPaneUI.java,
20261 javax/swing/plaf/basic/BasicPanelUI.java,
20262 javax/swing/plaf/basic/BasicRadioButtonUI.java,
20263 javax/swing/plaf/basic/BasicScrollPaneUI.java,
20264 javax/swing/plaf/basic/BasicToggleButtonUI.java,
20265 javax/swing/plaf/basic/BasicViewportUI.java:
20266 Fixed import statements.
20268 2004-01-10 Michael Koch <konqueror@gmx.de>
20270 * gnu/java/awt/image/ImageDecoder.java
20271 (produce): Made public.
20272 * gnu/java/awt/peer/GLightweightPeer.java,
20273 gnu/java/awt/peer/gtk/GtkToolkit.java:
20276 2004-01-10 Michael Koch <konqueror@gmx.de>
20278 * javax/swing/JRadioButtonMenuItem.java,
20279 javax/swing/JSeparator.java,
20280 javax/swing/JSplitPane.java,
20281 javax/swing/JTextPane.java,
20282 javax/swing/JToolBar.java,
20283 javax/swing/ListCellRenderer.java,
20284 javax/swing/ListModel.java,
20285 javax/swing/MenuElement.java,
20286 javax/swing/OverlayLayout.java,
20287 javax/swing/ProgressMonitor.java,
20288 javax/swing/ProgressMonitorInputStream.java,
20289 javax/swing/Renderer.java,
20290 javax/swing/RootPaneContainer.java,
20291 javax/swing/Scrollable.java,
20292 javax/swing/SingleSelectionModel.java,
20293 javax/swing/ToolTipManager.java,
20294 javax/swing/ViewportLayout.java,
20295 javax/swing/event/DocumentEvent.java,
20296 javax/swing/event/SwingPropertyChangeSupport.java,
20297 javax/swing/event/TreeSelectionEvent.java,
20298 javax/swing/event/UndoableEditEvent.java,
20299 javax/swing/text/AbstractDocument.java,
20300 javax/swing/text/AttributeSet.java,
20301 javax/swing/text/Caret.java,
20302 javax/swing/text/ComponentView.java,
20303 javax/swing/text/DefaultCaret.java,
20304 javax/swing/text/DefaultEditorKit.java,
20305 javax/swing/text/Document.java,
20306 javax/swing/text/EditorKit.java,
20307 javax/swing/text/GapContent.java,
20308 javax/swing/text/Keymap.java,
20309 javax/swing/text/MutableAttributeSet.java,
20310 javax/swing/text/PlainEditorKit.java,
20311 javax/swing/text/Segment.java,
20312 javax/swing/text/Style.java,
20313 javax/swing/text/StyledDocument.java,
20314 javax/swing/text/StyledEditorKit.java,
20315 javax/swing/text/TextAction.java,
20316 javax/swing/text/View.java: Fixed import statements.
20318 2004-01-08 Graydon Hoare <graydon@redhat.com>
20320 * javax/swing/JLayeredPane.java: Rewrite to accomodate
20321 djee@redhat.com's recent inverse ordering of Container elements.
20323 2004-01-09 Michael Koch <konqueror@gmx.de>
20325 * gnu/java/lang/ArrayHelper.java
20326 (equalsArray): Removed.
20328 2004-01-09 Andrew Haley <aph@redhat.com>
20330 * java/lang/natClassLoader.cc (_Jv_PrepareCompiledClass): Resolve
20331 a Utf8Const field before looking at its class.
20333 2004-01-09 Michael Koch <konqueror@gmx.de>
20335 * javax/print/attribute/standard/DocumentName.java,
20336 javax/print/attribute/standard/JobHoldUntil.java,
20337 javax/print/attribute/standard/JobMessageFromOperator.java,
20338 javax/print/attribute/standard/JobName.java,
20339 javax/print/attribute/standard/JobOriginatingUserName.java,
20340 javax/print/attribute/standard/OutputDeviceAssigned.java,
20341 javax/print/attribute/standard/PrinterInfo.java,
20342 javax/print/attribute/standard/PrinterLocation.java,
20343 javax/print/attribute/standard/PrinterMakeAndModel.java,
20344 javax/print/attribute/standard/PrinterMessageFromOperator.java,
20345 javax/print/attribute/standard/PrinterName.java,
20346 javax/print/attribute/standard/RequestingUserName.java: New files.
20347 * Makefile.am (javax_source_files): Added new files.
20348 * Makefile.in: Regenerated.
20350 2004-01-09 Michael Koch <konqueror@gmx.de>
20352 * javax/swing/AbstractAction.java,
20353 javax/swing/AbstractSet.java,
20354 javax/swing/Action.java,
20355 javax/swing/ActionMap.java,
20356 javax/swing/BoundedRangeModel.java,
20357 javax/swing/ButtonModel.java,
20358 javax/swing/CellEditor.java,
20359 javax/swing/CellRendererPane.java,
20360 javax/swing/ComboBoxEditor.java,
20361 javax/swing/DebugGraphics.java,
20362 javax/swing/DefaultCellEditor.java,
20363 javax/swing/DefaultCellRenderer.java,
20364 javax/swing/DefaultComboBoxModel.java,
20365 javax/swing/DefaultDesktopManager.java,
20366 javax/swing/DefaultFocusManager.java,
20367 javax/swing/DefaultListCellRenderer.java,
20368 javax/swing/Icon.java,
20369 javax/swing/JButton.java,
20370 javax/swing/JCheckBoxMenuItem.java,
20371 javax/swing/JDesktopPane.java,
20372 javax/swing/JEditorPane.java,
20373 javax/swing/JMenu.java,
20374 javax/swing/JPanel.java,
20375 javax/swing/JPasswordField.java,
20376 javax/swing/JPopupMenu.java,
20377 javax/swing/JProgressBar.java: Reworked imports.
20379 2004-01-09 Michael Koch <konqueror@gmx.de>
20381 * java/awt/geom/PathIterator.java
20382 (WIND_EVEN_ODD): Removed redundant modifiers.
20383 (WIND_NON_ZERO): Likewise.
20384 (SEG_MOVETO): Likewise.
20385 (SEG_LINETO): Likewise.
20386 (SEG_QUADTO): Likewise.
20387 (SEG_CUBICTO): Likewise.
20388 (SEG_CLOSE): Likewise.
20389 * java/awt/image/SinglePixelPackedSampleModel.java:
20390 Removed redundant semicolon.
20391 * java/io/ObjectInputStream.java
20392 (inputGetObjectStreamClasses): Removed unused variable "ret_val".
20393 * java/util/logging/Filter.java
20394 (isLoggable): Removed redundant modifier.
20395 * java/util/logging/LogManager.java:
20396 Removed redundant semicolon.
20397 * java/util/logging/XMLFormatter.java
20398 (format): Removed unused variable "key".
20400 2004-01-08 Fernando Nasser <fnasser@redhat.com>
20402 * gnu/java/awt/peer/gtk/GtkFileDialogPeer.java (nativeSetFile):
20403 New name for the former setFile native method.
20404 (setFile): New method.
20405 (setDirectory): Implemented.
20406 (connectSignals): New native method.
20407 (setFilenameFilter): Improve comment.
20408 (getGraphics): Comment.
20409 (gtkHideFileDialog): New method.
20410 (gtkDisposeFileDialog): New method.
20411 (gtkSetFilename): New method.
20412 * java/awt/Dialog.java (show): Block on modal dialogs, but only
20413 for FileDialog for now.
20414 (hide): New method.
20415 (dispose): New method.
20416 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkFileDialogPeer.c
20417 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_create): Replace
20418 deprecated creation functions. Make dialog modal. Add it to the
20420 (Java_gnu_java_awt_peer_gtk_GtkFileDialog_connectSignals): New
20422 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_gtkFileSelectionSetFilename):
20424 (Java_gnu_java_awt_peer_gtk_GtkFileDialogPeer_nativeSetFile): New
20426 (window_closed): New function.
20427 (ok_clicked): New function.
20428 (cancel_clicked): New function.
20430 2004-01-08 Michael Koch <konqueror@gmx.de>
20432 * javax/swing/JLayeredPane.java: Revert changes to standard
20433 boilerplate, reworked imports.
20435 2004-01-07 Tom Tromey <tromey@redhat.com>
20438 * verify.cc (state::merge): Copy changed locals out of subroutine
20440 (state::FLAG_CHANGED): New const.
20441 (state::FLAG_UNUSED): Likewise.
20442 (state::local_changed): Removed. Updated all users.
20443 (state::flags): New field.
20444 (state::merge): Added jsr_semantics argument, more logic.
20445 (push_jump_merge): Added jsr_semantics argument.
20446 (handle_jsr_insn): Set jsr_semantics on push_jump_merge when
20447 merging through the jsr instruction.
20449 2004-01-07 Tom Tromey <tromey@redhat.com>
20451 * scripts/MakeDefaultMimeTypes.java: Use \n, not
20454 2004-01-07 Graydon Hoare <graydon@redhat.com>
20456 * java/awt/Container.java (LightweightDispatcher): Implement.
20457 (visitChild): Reuse graphics object.
20458 (dispatchEventImpl): Optionally dispatch to lightweight.
20459 (addNotifyContainerChildren): Build LightweightDispatcher.
20461 2004-01-07 David Jee <djee@redhat.com>
20463 * java/awt/Container.java
20464 (update): Clear only the clipped region, instead of clearing the
20466 (visitChildren): Visit children in descending order.
20468 2004-01-07 Michael Koch <konqueror@gmx.de>
20470 * java/lang/reflect/Array.java: Merged documentation with classpath.
20472 2004-01-07 Michael Koch <konqueror@gmx.de>
20474 * java/text/CollationElementIterator.java
20475 (textIndex): Renamed from index.
20476 * java/text/CollationKey.java
20477 (collator): New member.
20478 (CollationKey): New argument for parent collator.
20479 (equals): Check for same collator, source string and key array.
20480 * java/text/RuleBasedCollator.java:
20482 (RuleBasedCollator): Don't re-initialize frenchAccents with default
20484 (getCollationElementIterator): Rewritten.
20485 (getCollationKey): Added new argument to CollationKey constructor.
20487 2004-01-07 Michael Koch <konqueror@gmx.de>
20489 * gnu/java/nio/DatagramChannelImpl.java
20490 (blocking): Removed.
20491 (DatagramChannelImpl): Call configureBlocking().
20492 (implConfigureBlocking): Dont initialize blocking.
20493 * gnu/java/nio/ServerSocketChannelImpl.java
20494 (blocking): Removed.
20495 (ServerSocketChannelImpl): Call configureBlocking().
20496 (implConfigureBlocking): Dont initialize blocking.
20497 * gnu/java/nio/SocketChannelImpl.java
20498 (blocking): Removed.
20499 (SocketChannelImpl): Call configureBlocking().
20500 (implConfigureBlocking): Dont initialize blocking.
20501 (connect): Use isBlocking().
20502 * java/nio/channels/spi/AbstractSelectableChannel.java
20503 (configureBlocking): Use blockingLock() instead of LOCK.
20504 Set blocking after successfully called implConfigureBlocking().
20505 (register): Use blockingLock() instead of LOCK.
20507 2004-01-07 Michael Koch <konqueror@gmx.de>
20509 * java/net/ServerSocket.java (isBound): Fixed documentation.
20511 2004-01-07 Sascha Brawer <brawer@dandelis.ch>
20513 * javax/swing/DefaultBoundedRangeModel.java: Documented API.
20514 (changeEvent): Create event object on demand.
20515 (DefaultBoundedRangeModel, toString, setValue, setExtent,
20516 setMinimum, setMaximum, setValueIsAdjusting, setRangeProperties,
20517 fireStateChanged): Re-written.
20518 * javax/swing/event/EventListenerList.java: Reformatted, document
20520 (toString): Implemented.
20521 (getListeners): Re-written.
20522 (remove): Re-written.
20524 (NO_LISTENERS): New singleton field.
20525 (listenerList): Declare as transient; document.
20526 (serialVersionUID): Document.
20527 (getListenerCount(Class)): More efficient implementation,
20528 also accepts null argument. Improve Javadoc.
20529 (getListenerCount()): Remove unnecessary cast; docfix.
20530 * javax/swing/undo/UndoableEditSupport.java:
20531 Re-format, document.
20532 (UndoableEditSupport): Set realSource field. Improve documentation.
20533 (_postEdit): Iterate over cloned listener vector.
20534 (toString): Don't emit realSource.
20535 (beginUpdate, endUpdate): Support nested updates.
20536 (postEdit): Use compound edit if present.
20538 2004-01-06 Graydon Hoare <graydon@redhat.com>
20540 * java/awt/Container.java (swapComponents): Add forgotten
20541 function, required for JLayeredPane change.
20543 2004-01-06 Michael Koch <konqueror@gmx.de>
20545 * java/text/CollationElementIterator.java: Reformated.
20546 (CollationElementIterator): Changed order of arguments.
20547 * java/text/RuleBasedCollator.java
20548 (RuleBasedCollator): Merged class documentation.
20549 (CollationElement): Added documentation.
20550 (compare): Reformated, renamed arguments.
20551 (equals): Likewise.
20552 (getCollationElementIterator): Likewise.
20553 (getCollationKey): Likewise.
20555 2004-01-06 Graydon Hoare <graydon@redhat.com>
20557 * javax/swing/JLayeredPane.java: Fix semantics, add javadocs.
20559 2004-01-06 Michael Koch <konqueror@gmx.de>
20561 * gnu/java/net/protocol/file/Connection.java:
20562 Reformated copyright.
20563 (hdrHash): Removed.
20565 (gotHeaders): Removed.
20566 (getHeaderField): Removed.
20567 (getHeaderField): Removed.
20568 (getHeaderFieldKey): Removed.
20570 (getField): Removed.
20571 (getHeaders): Removed.
20573 2004-01-06 Michael Koch <konqueror@gmx.de>
20575 * javax/print/attribute/standard/DateTimeAtCompleted.java,
20576 javax/print/attribute/standard/DateTimeAtCreation.java,
20577 javax/print/attribute/standard/DateTimeAtProcessing.java,
20578 javax/print/attribute/standard/JobImpressionsCompleted.java,
20579 javax/print/attribute/standard/JobKOctets.java,
20580 javax/print/attribute/standard/JobKOctetsProcessed.java,
20581 javax/print/attribute/standard/JobMediaSheetsCompleted.java,
20582 javax/print/attribute/standard/JobPrioritySupported.java: New files.
20583 * Makefile.am (javax_source_files): Added new files.
20584 * Makefile.in: Regenerated.
20586 2004-01-06 Michael Koch <konqueror@gmx.de>
20588 * java/net/URLConnection.java
20589 (contentHandler): Removed.
20591 (getHeaderFields): Return an empty map instead of null.
20592 (getContent): Connect if needed, renamed "cType" to "type" and
20593 "contentHandler" to "ch" and made it a local variable.
20594 (getPermission): Don't use package in class name.
20595 (setDefaultRequestProperty): Fixed typo in documentation.
20596 (initializeDateFormats): Made locale a local variable.
20598 2004-01-06 Michael Koch <konqueror@gmx.de>
20600 * java/lang/Package.java
20601 (getPackage): Get the current class loader directly.
20602 * java/lang/SecurityManager.java
20603 (currentLoadedClass): Dont iterate over class contexts.
20604 (classLoaderDepth): Don't check class loaders if everything is allowed.
20606 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
20608 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEvents.c
20609 (pre_event_handler): Set all insets to 0 when a Configure event
20610 is received for a GtkPlug.
20611 * gnu/java/awt/EmbeddedWindow.java (window_id): Rename handle.
20612 Make handle long, not int.
20613 (EmbeddedWindow()): New constructor.
20614 (EmbeddedWindow(int)): Rename window_id to handle. Make handle
20616 (setHandle): New method.
20617 (getHandle): Return long, not int.
20618 * gnu/java/awt/peer/EmbeddedWindowPeer.java (embed): New method
20620 * gnu/java/awt/peer/gtk/GtkEmbeddedWindowPeer.java,
20621 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkEmbeddedWindowPeer.c:
20622 (create(long)): Take long parameter, not int. Cast gtk_plug_new
20623 argument to GdkNativeWindow.
20624 (construct): New method.
20625 (embed): New method.
20627 * gnu/java/awt/peer/gtk/GtkScrollPanePeer.java,
20628 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkScrollPanePeer.c
20629 (create(int, int)): New method.
20630 (create): Call new create method.
20631 (gtkScrolledWindowNew, gtkScrolledWindowSetSize): Remove
20633 (childResized): Remove native implementation. Implement in
20635 (getHScrollbarHeight, getVScrollbarWidth): Call
20636 gtk_widget_size_request to get scrollbar dimensions.
20637 * java/awt/ScrollPane.java (getViewportSize): Reimplement. Only
20638 call getVScrollbarWidth and getHScrollbarHeight when vertical
20639 and horizontal scrollbars respectively are needed.
20640 (doLayout): Enlarge child if it is smaller than the viewport.
20642 2004-01-05 Fernando Nasser <fnasser@redhat.com>
20644 * java/awt/Dialog.java (constructor): Accept null title as per spec.
20645 * java/awt/FileDialog.java (constructor): Throw exception on invalid
20646 argument as per spec.
20648 2004-01-05 Fernando Nasser <fnasser@redhat.com>
20650 * java/awt/Choice.java (add): Leave posting of ItemEvents to peer.
20652 (remove): Ditto. Also, Check for valid argument.
20653 (removeAll): Use peer interface method.
20654 * gnu/java/awt/peer/gtk/GtkChoicePeer.java (nativeAdd): New name for
20655 native add function.
20656 (nativeRemove): New name for native remove function.
20657 (getHistory): New native function.
20658 (constructor): Generate ItemEvent.
20659 (add): Ditto, if selection is changed.
20660 (remove): Ditto, ditto.
20661 (removeAll): Add implementation.
20662 (handleEvent): Remove. Dead code.
20663 (choicePostItemEvent): Add comment.
20664 * jni/gtk-peer/gnu_java_awt_peer_gtk_GtkChoicePeer.c
20665 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_append): Add comments.
20666 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_add): Rename to...
20667 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeAdd): New name. Add
20668 comments and fix condition to change selection.
20669 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_remove): Rename to...
20670 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_nativeRemove): New name. Add
20671 remove all capability.
20672 (Java_gnu_java_awt_peer_gtk_GtkChoicePeer_getHistory): New function.
20673 (item_activate): Add cast to remove compiler warning.
20675 2004-01-05 Thomas Fitzsimmons <fitzsim@redhat.com>
20677 * gnu/java/awt/peer/gtk/GtkComponentPeer.java,
20678 jni/gtk-peer/gnu_java_awt_peer_gtk_GtkComponentPeer.c
20679 (getPreferredSize): Call preferredSize.
20680 (preferredSize): Call gtkWidgetGetPreferredDimensions.
20681 (getMinimumSize): Call minimumSize.
20682 (minimumSize): Call gtkWidgetGetPreferredDimensions.
20683 (gtkWidgetGetDimensions): Return the peer widget's current size
20685 (gtkWidgetGetPreferredDimensions): Return the peer widget's
20686 natural size request.
20688 2004-01-05 Sascha Brawer <brawer@dandelis.ch>
20690 Thanks to Brian Gough <bjg@network-theory.com>
20691 * java/awt/geom/CubicCurve2D.java (solveCubic): Implemented.
20692 * java/awt/geom/QuadCurve2D.java (solveQuadratic): Re-written.
20694 2004-01-04 Matthias Klose <doko@debian.org>
20696 * aclocal.m4: Rebuilt using "aclocal -I .".
20697 * configure: Rebuilt.
20699 2004-01-03 Per Bothner <per@bothner.com>
20701 * java/util/Date.java (parse): Fix a number of problems.
20702 (skipParens): Remove no-longer-needed method.